@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

 :root {
      --navy: #000038;
      --orange: #ff6f00;
      --white: #fff;
      --lightgray: #f4f4f4;
    }

    body {
      margin: 0;
        font-family: 'Montserrat';
      background: var(--lightgray);
      color: var(--navy);
    }

    /* Hero */
    .walsh-faq-hero {
  position: relative;
  background: linear-gradient(to bottom right, #000038, #14145a), url('https://images.unsplash.com/photo-1604152135912-04a382f6cbd4?auto=format&fit=crop&w=1400&q=80') no-repeat center center;
  background-size: cover;
  color: white;
  height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.walsh-faq-overlay {
  background-color: rgba(0, 0, 56, 0.7);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.walsh-faq-hero-content {
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.walsh-faq-hero h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: #fff;
}

.walsh-faq-hero h1 span {
  color: var(--orange);
}

.walsh-faq-hero p {
  font-size: 1.1rem;
  color: #f0f0f0;
  max-width: 700px;
  margin: auto;
  margin-bottom: 20px;
}


/* Animations */
@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  } 
}

@media (max-width: 768px) {
  .walsh-faq-hero {
    height: auto;
    padding: 80px 20px;
  }

  .walsh-faq-hero h1 {
    font-size: 2rem;
  }

  .scroll-down-icon {
    font-size: 1.5rem;
  }
}
@media (max-width: 1024px) {
  .walsh-faq-hero {
    height: auto;
    padding: 80px 30px;
  }

  .walsh-faq-hero h1 {
    font-size: 2.5rem;
  }

  .walsh-faq-hero p {
    font-size: 1rem;
  }

  .walsh-faq-hero-content {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .walsh-faq-hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .walsh-faq-hero p {
    font-size: 0.95rem;
  }

  .scroll-down-icon {
    font-size: 1.5rem;
    margin-top: 15px;
  }

  .walsh-faq-overlay {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .walsh-faq-hero h1 {
    font-size: 1.7rem;
  }

  .walsh-faq-hero p {
    font-size: 0.9rem;
  }

  .scroll-down-icon {
    font-size: 1.3rem;
  }
}

/*--------------------------------------------*/
    /* Filter Buttons */
    .faq-filters {
      text-align: center;
      padding: 40px 20px;
    }

    .faq-filters h2 {
      margin-bottom: 20px;
      font-size: 2.5rem;
    }

    .filter-buttons {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 15px;
    }

    .filter-buttons button {
      padding: 10px 20px;
      border: none;
      background: var(--navy);
      color: var(--white);
      cursor: pointer;
      transition: background 0.3s;
    }

    .filter-buttons button:hover {
      background: var(--orange);
    }

    /* FAQ Section */
   .faq-list {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 20px;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.faq-question {
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fa;
}
.faq-question h3{
  color: #000038;
}
.faq-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: #fafafa;
  font-weight: normal;
}

.faq-item.open .faq-answer {
  padding: 20px;
  max-height: 300px;
}

.faq-item .chevron {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.open .chevron {
  transform: rotate(45deg);
}
/*-------------------------------------*/

    @media (max-width: 768px) {
      .faq-hero h1 {
        font-size: 2rem;
      }

      .cta-card {
        padding: 25px;
      }
    }

    @media (max-width: 1024px) {
  .faq-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 600px) {
  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-question {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-item .chevron {
    align-self: flex-end;
  }
}
