/* ===== FAQ SECTION ===== */
#faq {
  background-color: #f5f5f5;
  padding: 4rem 0;
  text-align: center;
  font-family: "Poppins", sans-serif;
  scroll-margin-top: 120px;
}

/* Title & Subtitle */
.faq-title {
  font-weight: 700;
  font-size: 48px;
  color: #203147;
  margin-bottom: 0.5rem;
  text-shadow: rgba(128, 128, 128, 0.4) 2px 2px 4px;
  margin-top: 4rem;
}

.faq-title span {
  color: #f7a600;
}

.faq-subtitle {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Accordion Styles */
.accordion-item {
  background-color: #ffffff;
  border: 2px solid #203147;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* subtle base shadow */
}

.accordion-item:hover {
  border-color: #f7a600;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(32, 49, 71, 0.2); /* lift effect */
}

/* Accordion Button */
.accordion-button {
  background: linear-gradient(to bottom, #fafafa, #e9e9e9);
  color: #203147;
  font-weight: 600;
  font-size: 1rem;
  padding: 1.1rem 1.3rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.8),
              inset 0 -2px 2px rgba(0, 0, 0, 0.05);
  border: none;
  border-top: 2px solid #203147;
  border-bottom: 1px solid rgba(32, 49, 71, 0.2);
  border-radius: 0;
  position: relative;
  text-align: left;
}

/* Hover Effect - adds shine and depth */
.accordion-button:hover {
  background: linear-gradient(to bottom, #203147, #1b2b3f);
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(32, 49, 71, 0.3),
              inset 0 2px 3px rgba(255, 255, 255, 0.15);
}

/* When Active / Expanded */
.accordion-button:not(.collapsed) {
  background: linear-gradient(to bottom, #f7a600, #e89600);
  color: #ffffff;
  border-bottom: 2px solid #f7a600;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
}

/* Focus Outline */
.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(247, 166, 0, 0.3);
}

/* Accordion Body */
.accordion-body {
  background: #ffffff;
  color: #203147;
  padding: 1rem 1.3rem;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid rgba(32, 49, 71, 0.15);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 992px) {
  .faq-title {
    font-size: 2rem;
  }

  .faq-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .accordion-button {
    font-size: 0.95rem;
    padding: 1rem 1.2rem;
  }

  .accordion-body {
    font-size: 0.9rem;
    padding: 0.9rem 1.2rem;
  }
}

@media (max-width: 768px) {
  #faq {
    padding: 3rem 1rem;
  }

  .faq-title {
    font-size: 1.6rem;
  }

  .faq-subtitle {
    font-size: 0.9rem;
  }

  .accordion-button {
    font-size: 0.9rem;
    padding: 0.9rem 1rem;
  }

  .accordion-body {
    font-size: 0.88rem;
    padding: 0.8rem 1rem;
  }
}

@media (max-width: 480px) {
  .accordion-button {
    font-size: 0.85rem;
    padding: 0.75rem 0.9rem;
  }

  .accordion-body {
    font-size: 0.85rem;
    padding: 0.75rem 0.9rem;
  }
}