* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    z-index: 1000;
}

nav .navbar-brand {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav ul li {
    position: relative; /* Needed for dropdown positioning */
}

nav ul li a {
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    color: #fff;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: gray;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* right below parent */
    left: 0;
    background: #000;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 6px;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    color: gray;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #000;
    color: white;
}

/* Show dropdown on hover (desktop) */
nav ul li.dropdown:hover .dropdown-menu {
    display: block;
}

/* Hamburger Button (hidden by default) */
.navbar-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    /* Show hamburger button */
    .navbar-toggle {
        display: block;
    }

    /* Hide the menu by default */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        padding: 1rem 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    /* Show menu when active */
    nav ul.active {
        display: flex;
    }

    /* Center menu items vertically */
    nav ul li {
        text-align: center;
        margin: 0.5rem 0;
    }

    /* Dropdowns inside mobile menu */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: transparent;
        padding: 0;
    }

    .dropdown-menu li a {
        padding: 0.6rem 1rem;
    }

    /* Show dropdown when parent is tapped/clicked */
    nav ul li.dropdown .dropdown-menu {
        display: none;
    }

    nav ul li.dropdown.active .dropdown-menu {
        display: block;
    }
}

/* Section Base */
    section {
      padding: 60px 10%;
    }

    h2 {
      font-size: 2.5rem;
      margin-bottom: 20px;
      color: #fff;
    }

    p {
      color: #ccc;
      line-height: 1.7;
    }
    section {
      padding: 60px 10%;
    }

    h2 {
      font-size: 2.5rem;
      margin-bottom: 20px;
      color: #fff;
    }

    p {
      color: #ccc;
      line-height: 1.7;
    }

    /* --- Slanted FAQ Section --- */
    .faq-section {
      display: flex;
      align-items: stretch;
      position: relative;
      overflow: hidden;
      margin-bottom: 40px;
    }

    .faq-image {
      flex: 1;
    }

.faq-image img {
  width: 70%;       /* smaller width */
  height: auto;     /* keeps natural aspect ratio */
  max-width: 400px; /* optional: put a cap so it never gets too big */
  object-fit: cover;
  display: block;   /* removes any inline spacing */
  margin: 0 auto;   /* centers it if inside flex */
}

.faq-text {
  flex: 1;
  padding: 50px 40px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  display: flex;
  text-align: left;
  flex-direction: column;
  justify-content: center;
}

    .faq-text h3 {
      font-size: 1.5rem;
      color: #fff;
      margin-bottom: 10px;
    }

    .faq-text h2 {
      font-size: 1.5rem;
      margin-bottom: 20px;
    }

/* FAQ Section */
.faq-section {
  padding: 4rem 5%;
  background: #000; /* dark background */
  color: #fff;
  text-align: center;
}

.faq-section h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #fff;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
}

/* Question button */
.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-arrow {
  font-size: 1.5rem;
  color: #fff;
  transition: transform 0.3s ease;
}

/* Answer content */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #1a1a1a;
  padding: 0 1.5rem;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
  margin: 1rem 0;
  line-height: 1.6;
  font-size: 0.95rem;
  color: #ddd;
}

/* Active (when expanded) */
.faq-item.active .faq-answer {
  max-height: 500px; /* large enough for long answers */
  padding: 1rem 1.5rem;
}

.faq-item.active .faq-arrow {
  transform: rotate(45deg); /* changes + to x */
  color: #fff;
}

        /* Footer Styles */
.footer {
    background-color: #000; /* Black background for the footer */
    padding: 20px 0;
    border-top: 1px solid #111; /* Light gray border at the top */
}

.footer-content {
    display: flex;
    justify-content: space-between; /* Space between logo, nav, and social icons */
    align-items: center; /* Vertically center the content */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Add padding on the sides */
}

.footer-content .logo {
    font-family: "Playfair Display", serif;
    font-size: 1.5em;
    font-weight: bold;
}

.footer-nav, .social-icons, .footer-bottom-nav {
    display: flex;
    gap: 20px; /* Space between each list item */
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav a, .footer-bottom-nav a {
    text-decoration: none;
    color: #fff;
}

.footer-nav a:hover, .footer-bottom-nav a:hover {
    color: #444; /* Add hover effect for links */
}

.social-icons {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  margin-top: 20px;
}

.social-icons li a {
  color: #fff;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons li a:hover {
  color: #444; 
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 20px auto 0; /* Center align and space above */
    padding: 0 20px; /* Add padding on the sides */
    border-top: 1px solid #ddd; /* Light gray border on top */
    padding-top: 10px; /* Add padding on top after the border */
    font-size: 0.9em; /* Slightly smaller text for the bottom section */
    color: #fff;
}

.footer-bottom-nav {
    gap: 15px; /* Smaller gap for the bottom nav links */
}

    /* Responsive */
    @media(max-width: 900px) {
      .faq-section {
        flex-direction: column;
      }
      .faq-text {
        clip-path: none;
        border-radius: 0 0 15px 15px;
      }
      .vision-mission {
        flex-direction: column;
      }
    }

/* Responsive Styles */
@media (max-width: 768px) {
      .footer-content {
        flex-direction: column; /* Stack footer items vertically */
        text-align: center; /* Center text */
    }

    .footer-nav, .social-icons, .footer-bottom-nav {
        flex-direction: column; /* Stack items vertically */
        gap: 8px; /* Reduced space between footer items */
    }

    .footer-bottom-nav {
        margin-top: 15px; /* Add space above bottom navigation */
    }
}

/* === FADE & SLIDE ANIMATIONS === */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Initial state for scroll animations --- */
section,
.faq-section,
.footer,
nav {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* --- When the element is visible --- */
.show {
  animation: fadeInUp 1s ease forwards;
}

/* Navbar enters from top */
nav.show {
  animation: fadeInDown 1s ease forwards;
}

/* FAQ items staggered */
.faq-item {
  opacity: 0;
  transform: translateY(40px);
}
.faq-item.show {
  animation: fadeInUp 0.8s ease forwards;
}

/* Footer fade in */
.footer.show {
  animation: fadeIn 1.2s ease forwards;
}
