@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
}

.bg-dark {
  background-color: #020912c7 !important;
}

.navbar-brand {
  font-size: 2em;
  font-weight: 600;
}

.nav-link {
  font-size: 0.8em;
  font-weight: 500;
  letter-spacing: 1px;
  transition: 0.5s;
}

.nav-link:hover,
.nav-link.active {
  color: #333 !important;
  background: #fff !important;
  border-radius: 8px;
}

.parallax {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: url("exp_image/background.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#heading {
  position: absolute;
  top: 20%;
  font-size: 4em;
  color: #fff;
  text-shadow: 2px 4px 5px #232121;
}

.parallax img {
  position: absolute;
  width: 100%;
  pointer-events: none;
}

.parallax img#moon {
  width: 300px;
  top: 40%;
  right: 20%;
}

.parallax img#mountain {
  position: fixed;
  bottom: 0;
}

.parallax img#grass {
  bottom: -40%;
}

section {
  position: relative;
  background-color: #020912;
  padding: 30px 100px;
}

h2 {
  color: #fff;
  font-size: 3em;
  margin-bottom: 25px;
}

p {
  color: #fff;
  font-size: 1em;
  font-weight: 300;
}

/* carousel section */
.carousel {
  aspect-ratio: 4 / 4;
  height: 70vh;
  overflow: hidden;
  margin: 10px auto;
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.7);
}

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  padding: 0px;
  border-radius: 30px;
  z-index: 1;
  min-width: 100%;
}

/* voice controlled wheelchair */
#voice-controlled-wheelchair,
#tini-militia-game {
  background-color: #1a1a1a; /* Dark background */
  color: #f8f9fa; /* Light text color */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); /* White shadow */
  margin-bottom: 20px;
}

#voice-controlled-wheelchair h1,
#voice-controlled-wheelchair h2,
#voice-controlled-wheelchair h3,
#tini-militia-game h1,
#tini-militia-game h2,
#tini-militia-game h3 {
  color: #17a2b8; /* Light blue color for headings */
}

#voice-controlled-wheelchair p,
#tini-militia-game p {
  color: #ced4da; /* Light gray color for paragraphs */
}

#voice-controlled-wheelchair .card,
#tini-militia-game .card {
  border: none;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); /* White shadow */
  background-color: #2c2c2c; /* Slightly lighter dark background for cards */
}

#voice-controlled-wheelchair .card-title,
#tini-militia-game .card-title {
  color: #17a2b8; /* Light blue color for card titles */
}

#voice-controlled-wheelchair .img-fluid,
#tini-militia-game .img-fluid {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  border-radius: 8px; /* Rounded corners for images */
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); /* White shadow for images */
}

#tini-militia-game ul {
  padding-left: 20px;
}

#tini-militia-game ul li {
  margin-bottom: 10px;
  color: #ced4da; /* Light gray color for list items */
}

#tini-militia-game .card-body ul {
  padding-left: 0;
}

#tini-militia-game .card-body ul li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

#tini-militia-game .card-body ul li::before {
  content: "•";
  color: #17a2b8; /* Light blue color for bullet points */
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* footer */
.footer p {
  text-align: center;
  color: blue;
}

/* Mobile Friendly Styles */
@media (max-width: 768px) {
  section {
    padding: 30px 10px;
  }

  #voice-controlled-wheelchair,
  #tini-militia-game {
    padding: 15px;
    margin-bottom: 15px;
  }

  #voice-controlled-wheelchair h1,
  #voice-controlled-wheelchair h2,
  #voice-controlled-wheelchair h3,
  #tini-militia-game h1,
  #tini-militia-game h2,
  #tini-militia-game h3 {
    font-size: 1.5em; /* Adjust font size for mobile */
  }

  .parallax {
    height: 30vh;
  }

  #voice-controlled-wheelchair p,
  #tini-militia-game p {
    font-size: 1em; /* Adjust font size for mobile */
  }

  #voice-controlled-wheelchair .img-fluid,
  #tini-militia-game .img-fluid {
    margin-top: 5px;
  }
}

/* making website mobile friendly */
@media (max-width: 768px) {
  header {
    padding: 30px 50px;
  }

  #heading {
    font-size: 3em;
  }

  .carousel {
    width: auto;
    height: auto;
    aspect-ratio: auto;
  }

  section {
    margin-top: -60px;
    padding: 30px 10px;
  }

  section h2 {
    font-size: 2em;
  }
}

@media (max-width: 468px) {
  header {
    padding: 30px 50px;
  }

  #logo {
    font-size: 1.5em;
  }

  .menu {
    display: none;
  }

  #heading {
    font-size: 3em;
  }

  .parallax {
    height: 30vh;
  }

  section {
    margin-top: -60px;
    padding: 30px 10px;
  }

  section h2 {
    font-size: 2em;
  }
}
