/* Reset and layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(90deg, #b8baba 7%, #ddeeee 50%, #92b2e7 100%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navbar */

nav {
  background-color: rgb(146, 178, 231);
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #4169e1;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #4169e1;
}

nav ul li a:hover::after {
  width: 100%;
}



/* Main Container */
.container {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-left: 15vw;
}

.hero-text {
  flex: 1;
  color: #889de0;
  text-align: left;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #6d7eb7;
  font-family: cursive;
}

.hero-text h4 {
  font-family: cursive;
  font-size: 1.3rem;
  margin-top: 0.5rem;
  color: #444;
  width: 100%;
}

.hero-text p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #323237;
  line-height: 1.5;
  justify-content: center;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Button */
.btn {
  margin-top: 1.5rem;
  background-color: #889de0;
  color: white;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn a {
  color: white;
  text-decoration: none;
}

.btn:hover {
  background-color: #6d7eb7;
}

/* Video */
.video-container {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background: transparent;
  margin-top: auto;
}

footer a {
  color: #4169e1;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }}

  /* Media Queries */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 1rem;
  }
}
/* Add inside style.css */

/* Navbar container and hamburger button */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hide hamburger by default */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}
.logo {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: cursive;
}
/* Navigation list default styles */
#nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* Mobile view */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    color: #23282c;
  }
  .logo {
    display: block;
    color: #23282c;
  }
  body.dark .hamburger {
    color: #ddd;
  }
  body.dark .logo {
    color: #ddd;
  }
  #nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  #nav-links.show {
    display: flex;
  }
}
.slider-bg {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
        }
.slider-reveal {
            animation: fadeInUp 1.5s ease-in-out;
        }
@keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translate3d(0, 40px, 0);
            }
            to {
                opacity: 1;
                transform: none;
            }
        }
        
        @media (max-width: 768px) {
            .slider-title {
                font-size: 1.5rem;
            }
            .slider-subtitle,
            .slider-text {
                font-size: 1rem;
            }
            .carousel-caption {
                padding-bottom: 3rem;
            }
        }

body.dark {
  background: linear-gradient(90deg, #1257bf 7%, #1b0574 50%, #361186 100%);
  color: white;
}
body.dark nav {
  background-color: #041e56;
}

body.dark a {
  color: #ddd;
}

body.dark nav ul li a:hover {
  color: #7aaaff;
}

body.dark .hero-text h1{
  color: #889de0;
}
body.dark .hero-text h4{
  color: #d0d0d0;
}
body.dark .hero-text p{
  color: #d0d0d0;
}

