@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

:root {
  --green: #40916c;
  --white: #ffffff;
  --black: #1e1e1e;
}

body {
  margin: 0;
  background: #f1f3f4;
  font-family: 'Open Sans', sans-serif;
}

/* Navbar (copied from QA.css) */
.navbar {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.logo img {
  width: 50px;
}
.NavBrandName {
  display: none;
  color: var(--green);
  font-size: large;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--green);
  font-weight: 600;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--black);
}
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* FAQ Section */
.faq-section {
    padding: 2rem;
    max-width: 900px;
    margin: auto;
    font-family: 'Open Sans', sans-serif;
  }
  
  .faq-section h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 2rem;
    color: var(--black);
  }
  
  .faq-box {
    border: 1px solid var(--green);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background: var(--white);
    transition: all 0.3s ease;
  }
  
  .faq-question {
    padding: 15px 20px;
    color: var(--black);
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
  }
  
  .faq-question:hover {
    background: #f2fff8;
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    padding: 0 20px;
    font-size: 15px;
    color: #333;
    transition: max-height 0.4s ease, padding 0.3s ease;
  }
  
  .faq-answer.open {
    padding: 15px 20px;
    max-height: 500px;
  }
  
  .faq-question i {
    transition: transform 0.3s ease;
  }
  
  .faq-question.active i {
    transform: rotate(180deg);
  }
  

/* Responsive */
@media screen and (max-width: 768px) {
  .navbar {
    justify-content: space-between;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: absolute;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    top: 65px;
    right: 0;
    width: 50%;
    padding: 4rem 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .logo img {
    width: 90px;
  }

  .NavBrandName {
    display: block;
  }

  .menu-toggle {
    display: block;
  }
}
