/**
 * FAQ Section Component Styles
 * Modern two-column FAQ layout with accordion
 */

/* FAQ Section Container */
.faq-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

/* Left Column - Heading a
nd CTA */
.faq-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 600px;
  position: sticky;
  top: 80px;
}

.faq-left h2 {
  font-size: 42px;
  font-weight: 700;
  max-width: 500px;
  margin-bottom: 16px;
  line-height: 3.8rem;
}

.faq-left p {
  font-size: 18px;
  font-weight: 400;
  max-width: 400px;
  color: #606060;
  margin-bottom: 24px;
}

/* Label Pill */
.label-pill {
  background: linear-gradient(to right, #e0f0ff, #ffe0e0);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  display: inline-block;
}

.label-pill span {
  background: linear-gradient(to right, #0057d9, #d40000);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 20px;
}
/* Gradient Button */
.btn-gradient {
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(90deg, rgba(24, 92, 183, 1) 0%, rgba(205, 48, 77, 1) 100%);
  padding: 15px 45px;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.btn-gradient:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #FFFFFF;
}

/* Right Column - Accordion */
.faq-right {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  top: 150px;
}

/* Accordion Styles */
.accordion-item {
  border: 1px solid #B6CCE8;
  border-radius: 20px !important;
  width: 700px;
  margin-bottom: 1px;
  padding: 10px;
  background: white;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 0 20px 20px 20px;
  opacity: 1;
}

.accordion-item.active .faq-icon {
  transform: rotate(180deg);
}

.accordion-header {
  padding: 15px;
  font-size: 18px;
  font-weight: 500;
  color: #021015;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  opacity: 0;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.faq-icon {
  background-color: #185CB6;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Tablet - 992px and below */
@media (max-width: 992px) {
  .faq-section {
    flex-direction: column;
    align-items: center;
    gap: 0px !important;
    padding: 40px 0px;
  }

  .faq-left {
    align-items: center;
    position: initial;
  }

  .faq-left h2 {
    font-size: 30px;
    font-weight: 700;
    max-width: 500px;
    margin-bottom: 8px;
    line-height: 3.8rem;
    text-align: center;
  }

  .faq-left p {
    text-align: center;
  }

  .btn-gradient {
    font-size: 16px;
  }

  .accordion-item {
    width: 100%;
    max-width: 600px;
  }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
  .faq-left h2 {
    font-size: 24px;
    line-height: 28px;
    text-align: center;
  }

  .faq-left p {
    font-size: 16px;
    max-width: 100%;
  }

  .accordion-header {
    font-size: 16px;
    padding: 12px;
  }

  .accordion-content {
    font-size: 14px;
  }

  .faq-icon {
    width: 35px;
    height: 35px;
  }

  .btn-gradient {
    padding: 12px 30px;
    font-size: 14px;
  }
}

/* Small Mobile - 576px and below */
@media (max-width: 576px) {
  .faq-section {
    padding: 20px 0;
  }

  .faq-left h2 {
    font-size: 22px;
    line-height: 1.4;
  }

  .faq-left p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .accordion-item {
    border-radius: 12px !important;
    padding: 5px;
  }

  .accordion-header {
    font-size: 14px;
    padding: 10px;
  }

  .accordion-content {
    font-size: 13px;
    padding: 0 15px;
  }

  .accordion-item.active .accordion-content {
    padding: 0 15px 15px 15px;
  }

  .faq-icon {
    width: 30px;
    height: 30px;
  }

  .faq-icon i {
    font-size: 14px !important;
  }
}
