/* ==========================================================================
   FAQ Page Styles (faq.css)
   Compact Height & 100% Matching Responsive Design
   ========================================================================== */

/* Main Container Override */
.faq-page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ==========================================================================
   1. FAQ Hero Section (Compact Height)
   ========================================================================== */
.faq-hero {
  background-image: url('/images/faq-image/faq_hero_background.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  min-height: 350px;
  padding: 95px 0 35px 0;
  position: relative;
  display: flex;
  align-items: center;
}

.faq-hero-left-wrapper {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.faq-hero-content {
  max-width: 440px;
  text-align: left;
}

/* Hero Badge */
.faq-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eff6ff;
  color: #1b63fb;
  border: 1px solid #bfdbfe;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(27, 99, 251, 0.06);
}

.faq-hero-badge i {
  font-size: 12px;
  color: #1b63fb;
}

/* Title & Description */
.faq-hero-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  color: #06193e;
  margin: 0 0 10px 0;
  letter-spacing: -0.4px;
  text-align: left;
}

.faq-hero-title .text-blue {
  color: #1b63fb;
  display: block;
}

.faq-hero-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
  max-width: 420px;
  text-align: left;
}


/* ==========================================================================
   2. Shared Section Header Component (Compact)
   ========================================================================== */
.section-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
  text-align: center;
}

.title-dash {
  width: 24px;
  height: 2px;
  background: #1b63fb;
  border-radius: 2px;
}

.section-main-title {
  font-size: 22px;
  font-weight: 800;
  color: #06193e;
  margin: 0;
  letter-spacing: -0.3px;
}


/* ==========================================================================
   3. Frequently Asked Questions Accordion List (Compact)
   ========================================================================== */
.faq-accordion-section {
  padding: 30px 0;
}

.faq-cards-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 2px 10px rgba(6, 25, 62, 0.02);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-card-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(6, 25, 62, 0.05);
}

.faq-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}

.faq-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Icon Box & Number Badge Alignment */
.faq-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.faq-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eff6ff;
  color: #1b63fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.faq-num-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1b63fb;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(27, 99, 251, 0.2);
  flex-shrink: 0;
}

.faq-question-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #06193e;
  margin: 0;
}

.faq-toggle-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 13px;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.faq-card-item.active .faq-toggle-arrow {
  transform: rotate(180deg);
  color: #1b63fb;
}

.faq-answer-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding-left: 100px;
}

.faq-card-item.active .faq-answer-body {
  max-height: 180px;
  padding-top: 8px;
  padding-bottom: 4px;
}

.faq-answer-p {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.faq-answer-p a {
  color: #1b63fb;
  font-weight: 600;
  text-decoration: underline;
}


/* ==========================================================================
   4. Still Have Questions? Banner Section (Compact)
   ========================================================================== */
.still-have-questions-section {
  padding: 15px 0 40px 0;
}

.still-questions-card {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(27, 99, 251, 0.05);
  position: relative;
  overflow: hidden;
}

/* Dotted Paper Plane Path Graphic */
.still-questions-card::after {
  content: '\f072';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 54px;
  color: rgba(27, 99, 251, 0.07);
  transform: rotate(-15deg);
  pointer-events: none;
}

.still-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.still-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #1b63fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 3px 10px rgba(27, 99, 251, 0.1);
  flex-shrink: 0;
}

.still-info h3 {
  font-size: 20px;
  font-weight: 800;
  color: #06193e;
  margin: 0 0 3px 0;
  letter-spacing: -0.2px;
}

.still-info p {
  font-size: 13px;
  color: #475569;
  margin: 0;
}

.still-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.contact-pill-btn {
  background: #ffffff;
  color: #06193e;
  border-radius: 10px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.contact-pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.contact-pill-btn i {
  font-size: 15px;
}

.text-green { color: #16a34a !important; }
.text-blue { color: #1b63fb !important; }


/* ==========================================================================
   5. 100% Full Responsive Layout for All Devices
   ========================================================================== */
@media (max-width: 850px) {
  .faq-hero {
    padding-top: 85px;
    padding-bottom: 25px;
    min-height: 300px;
    background-position: 75% center;
  }

  .faq-hero-left-wrapper {
    justify-content: center;
  }

  .faq-hero-content {
    max-width: 100%;
    text-align: center;
  }

  .faq-hero-badge {
    justify-content: center;
  }

  .faq-hero-title,
  .faq-hero-desc {
    text-align: center;
  }

  .faq-hero-desc {
    margin: 0 auto;
  }

  .still-questions-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    gap: 16px;
  }

  .still-left {
    flex-direction: column;
    gap: 10px;
  }

  .still-right {
    width: 100%;
  }

  .contact-pill-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .faq-card-item {
    padding: 12px 14px;
  }

  .faq-card-left {
    gap: 10px;
  }

  .faq-icon-circle {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .faq-num-badge {
    width: 22px;
    height: 22px;
    font-size: 10.5px;
  }

  .faq-question-title {
    font-size: 14px;
  }

  .faq-answer-body {
    padding-left: 0;
    margin-top: 6px;
  }

  .faq-hero-title {
    font-size: 28px;
  }

  .section-main-title {
    font-size: 19px;
  }
}
