/* =========================
   FAQ Section
========================= */
.faq-section {
  /* background-color: #fff; */
  background: #f3f3f3 !important;
  padding: 46px 0;
  font-family: "Poppins", sans-serif;
}

.faq_heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #000;
  margin-bottom: 10px;
}

.faq_heading h4 {
  font-size: 1.2rem;
  text-align: center;
  color: #555;
  margin-bottom: 40px;
}

/* Accordion Cards */
.custom-accordion-style-1 > .card {
  border: none; /* Remove borders */
  box-shadow: none; /* Remove shadows */
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Card Header */
.custom-accordion-style-1 > .card .card-headerf a {
  display: block;
  width: 100%;
  padding: 20px 33px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--grey-500);
  /* background-color: #f4f4f4; */
  border-radius: 10px;
  text-decoration: none;
  position: relative;
  transition: background-color 0.3s, color 0.3s;
}

/* 🔹 Arrow PNG Icon */
.custom-accordion-style-1 > .card .card-headerf a:after {
  content: "";
  position: absolute;
  right: 7px;
  top: 50%;
  width: 18px; /* Adjust size */
  height: 18px; /* Adjust size */
  background-image: url("/img/arrow.svg"); /* 🔹 Your PNG path */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: translateY(-50%) rotate(264deg);
  transition: transform 0.3s ease;
}

.custom-accordion-style-1 > .card .card-headerf a[aria-expanded="true"]:after {
  background-image: url("/img/download.svg"); /* open arrow */
  transform: translateY(-50%) rotate(180deg);
}

/* 🔹 Rotate arrow when expanded */
.custom-accordion-style-1 > .card .card-headerf a:not(.collapsed):after {
  transform: translateY(-50%) rotate(359deg); /* Downward arrow */
}

/* Expanded State */
.custom-accordion-style-1 > .card .card-headerf a:not(.collapsed) {
  background-color: #001f5c;
  color: white;
}

/* Hover effect */
.custom-accordion-style-1 > .card:hover .card-headerf a.collapsed {
  color: var(--primary);
}

/* Card Body */
.custom-accordion-style-1 > .card .card-body-anchor {
  padding: 15px 25px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  border: 1px solid #001f5c;
}

/* Spacing between cards */
.custom-accordion-style-1 > .card + .card {
  margin-top: 15px;
}

/* Responsive layout */
@media (max-width: 991px) {
  .faq-section .row {
    flex-direction: column;
  }

  .faq-section .col-lg-6 {
    margin-bottom: 30px;
  }
}

@media (max-width: 575px) {
  .faq_heading h2 {
    font-size: 2rem;
  }

  .faq_heading h4 {
    font-size: 1rem;
  }

  .custom-accordion-style-1 > .card .card-headerf a {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  .custom-accordion-style-1 > .card .card-body-anchor {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

.card-header {
  padding: 0px;
  background-color: transparent;
  border-bottom: none;
}
