/* ========================================
   INSURANCE PAGES - SHARED STYLES
   ======================================== */

/* ================= HERO SECTION ================= */
.insurance-hero-section {
  min-height: 65vh;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.insurance-hero-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 193, 7, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.insurance-hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.insurance-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: white;
}

.insurance-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  line-height: 1.7;
}

.insurance-hero-badge {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.insurance-hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: block;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ================= INTRO SECTION ================= */
.intro-section {
  padding: 80px 0;
}

.intro-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.intro-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--neutral-color);
  margin-bottom: 15px;
}

.intro-image-wrapper {
  position: relative;
}

.intro-image {
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 500px;
  transition: transform 0.4s ease;
}

.intro-image:hover {
  transform: scale(1.02);
}

/* ================= TYPE CARDS ================= */
.type-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  border: 1px solid #eee;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.type-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--secondary-color);
  transition: height 0.35s ease;
}

.type-card:hover::before {
  height: 100%;
}

.type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.type-icon {
  width: 65px;
  height: 65px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.35s ease;
}

.type-card:hover .type-icon {
  background: var(--secondary-color);
  transform: scale(1.1) rotate(5deg);
}

.type-icon i {
  font-size: 30px;
  color: var(--primary-color);
  transition: color 0.35s ease;
}

.type-card:hover .type-icon i {
  color: white;
}

.type-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.type-desc {
  color: var(--neutral-color);
  line-height: 1.7;
  margin-bottom: 15px;
}

.type-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.type-features li {
  padding: 8px 0;
  color: var(--neutral-color);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.type-features li i {
  color: var(--secondary-color);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ================= BENEFIT CARDS ================= */
.benefit-icon-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  border: 1px solid #eee;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
  height: 100%;
}

.benefit-icon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  border-color: var(--secondary-color);
}

.benefit-icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: all 0.35s ease;
}

.benefit-icon-card:hover .benefit-icon-wrapper {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--secondary-dark)
  );
  transform: scale(1.15);
}

.benefit-icon-wrapper i {
  font-size: 32px;
  color: white;
}

.benefit-icon-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.benefit-icon-card p {
  color: var(--neutral-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ================= PROCESS STEPS ================= */
.process-steps {
  position: relative;
  padding: 20px 0;
}

.step-item {
  background: white;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #eee;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
  position: relative;
  margin-bottom: 30px;
}

.step-item:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.step-desc {
  color: var(--neutral-color);
  line-height: 1.7;
  margin: 0;
}

/* ================= FAQ SECTION ================= */
.faq-accordion .faq-item {
  background: white;
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 18px 20px;
  cursor: pointer;
  border: 1px solid #eee;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}

.faq-accordion .faq-item:hover {
  transform: translateX(6px);
}

.faq-accordion .faq-question {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-color);
}

.faq-accordion .faq-icon {
  font-size: 20px;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-accordion .faq-answer {
  /* height/opacity/transition managed by JS (initFaqAccordions) */
  color: var(--neutral-color);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-accordion .faq-item.active {
  border-left: 4px solid var(--secondary-color);
}

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

/* ================= CTA SECTION ================= */
.insurance-cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  color: white;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.insurance-cta-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.insurance-cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-get-quote {
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.35s ease;
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.btn-get-quote:hover {
  background: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 193, 7, 0.4);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .insurance-hero-section {
    min-height: 50vh;
    padding: 140px 0 50px;
  }

  .intro-section {
    padding: 60px 0;
  }

  .intro-image {
    height: 300px;
  }

  .insurance-cta-section {
    padding: 45px 35px;
  }

  .hero-stat-value {
    font-size: 1.9rem;
  }

  .type-card,
  .benefit-icon-card {
    padding: 28px;
  }
}

@media (max-width: 768px) {
  /* ================= HERO SECTION MOBILE ================= */
  .insurance-hero-section {
    min-height: auto;
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d1b4d 100%);
  }

  .insurance-hero-section::before {
    width: 100%;
    opacity: 0.15;
  }

  .insurance-hero-title {
    font-size: 1.85rem;
    margin-bottom: 1rem;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }

  .insurance-hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 28px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
  }

  .insurance-hero-badge {
    font-size: 0.85rem;
    padding: 6px 16px;
    margin-bottom: 18px;
  }

  .insurance-hero-stats {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: space-between;
    margin-top: 25px;
  }

  .hero-stat-item {
    flex: 1;
    text-align: center;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    border: none;
    transition: none;
  }

  .hero-stat-item:hover {
    background: transparent;
    transform: none;
  }

  .hero-stat-value {
    font-size: 1.4rem;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
  }

  .hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
  }

  /* ================= INTRO SECTION MOBILE ================= */
  .intro-section {
    padding: 45px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
  }

  .intro-content h2 {
    font-size: 1.65rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 12px;
  }

  .intro-content h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    border-radius: 2px;
  }

  .intro-content p {
    font-size: 0.98rem;
    margin-bottom: 14px;
    line-height: 1.7;
    text-align: justify;
  }

  .intro-image-wrapper {
    margin-top: 35px;
  }

  .intro-image {
    border-radius: 16px;
    height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }

  /* ================= TYPE CARDS MOBILE ================= */
  .type-card {
    padding: 24px 20px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(25, 25, 112, 0.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  }

  .type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  }

  .type-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: linear-gradient(
      135deg,
      var(--primary-light) 0%,
      rgba(25, 25, 112, 0.05) 100%
    );
  }

  .type-icon i {
    font-size: 28px;
  }

  .type-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .type-desc {
    font-size: 0.93rem;
    margin-bottom: 14px;
    line-height: 1.65;
    color: #5a5a5a;
  }

  .type-features {
    margin-top: 12px;
  }

  .type-features li {
    font-size: 0.88rem;
    padding: 6px 0;
    line-height: 1.5;
  }

  .type-features li i {
    font-size: 0.9rem;
    margin-top: 2px;
  }

  /* ================= BENEFIT CARDS MOBILE ================= */
  .benefit-icon-card {
    padding: 24px 18px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: white;
    border: 1px solid rgba(25, 25, 112, 0.08);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

  .benefit-icon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 193, 7, 0.3);
  }

  .benefit-icon-wrapper {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(25, 25, 112, 0.15);
  }

  .benefit-icon-wrapper i {
    font-size: 26px;
  }

  .benefit-icon-card h4 {
    font-size: 1.08rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .benefit-icon-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #5a5a5a;
  }

  /* ================= PROCESS STEPS MOBILE ================= */
  .step-item {
    padding: 22px 18px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid var(--secondary-color);
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.25);
  }

  .step-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .step-desc {
    font-size: 0.93rem;
    line-height: 1.65;
    color: #5a5a5a;
  }

  /* ================= FAQ MOBILE ================= */
  .faq-accordion .faq-item {
    padding: 16px 18px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: white;
    border: 1px solid rgba(25, 25, 112, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  }

  .faq-accordion .faq-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  }

  .faq-accordion .faq-item.active {
    border-left: 4px solid var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, #fffef8 100%);
  }

  .faq-accordion .faq-question {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
  }

  .faq-accordion .faq-answer {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #5a5a5a;
  }

  .faq-accordion .faq-icon {
    font-size: 18px;
    font-weight: 600;
  }

  /* ================= CTA SECTION MOBILE ================= */
  .insurance-cta-section {
    padding: 38px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d1b4d 100%);
    box-shadow: 0 12px 35px rgba(25, 25, 112, 0.2);
    position: relative;
    overflow: hidden;
  }

  .insurance-cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
      circle,
      rgba(255, 193, 7, 0.1) 0%,
      transparent 70%
    );
    animation: pulse 4s ease-in-out infinite;
  }

  @keyframes pulse {
    0%,
    100% {
      transform: scale(1);
      opacity: 0.5;
    }
    50% {
      transform: scale(1.1);
      opacity: 0.8;
    }
  }

  .insurance-cta-section h2 {
    font-size: 1.55rem;
    margin-bottom: 14px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
  }

  .insurance-cta-section p {
    font-size: 0.98rem;
    margin-bottom: 26px;
    line-height: 1.65;
    position: relative;
    z-index: 1;
  }

  .btn-get-quote {
    padding: 14px 36px;
    font-size: 1rem;
    border-radius: 25px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.35);
    transition: all 0.3s ease;
  }

  .btn-get-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.45);
  }

  /* ================= SECTION BACKGROUNDS ================= */
  .bg-light {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%) !important;
  }

  /* ================= SPACING ADJUSTMENTS ================= */
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .mb-5 {
    margin-bottom: 2rem !important;
  }

  .g-4 {
    --bs-gutter-y: 1rem;
    --bs-gutter-x: 1rem;
  }

  /* ================= SECTION TITLES ================= */
  section .text-center h2 {
    font-size: 1.65rem !important;
    margin-bottom: 10px;
    font-weight: 700;
  }

  section .text-center p.text-muted {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }
}

@media (max-width: 576px) {
  /* ================= EXTRA SMALL MOBILE ================= */
  .insurance-hero-section {
    padding: 130px 0 50px;
  }

  .insurance-hero-title {
    font-size: 1.65rem;
  }

  .insurance-hero-subtitle {
    font-size: 0.92rem;
    margin-bottom: 24px;
  }

  .insurance-hero-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  .hero-stat-value {
    font-size: 1.2rem;
  }

  .hero-stat-label {
    font-size: 0.65rem;
  }

  .intro-content h2 {
    font-size: 1.45rem;
  }

  .intro-content p {
    font-size: 0.95rem;
  }

  .intro-image {
    height: 250px;
  }

  .type-card,
  .benefit-icon-card,
  .step-item {
    padding: 20px 16px;
  }

  .type-title,
  .benefit-icon-card h4,
  .step-title {
    font-size: 1.1rem;
  }

  .insurance-cta-section {
    padding: 32px 20px;
  }

  .insurance-cta-section h2 {
    font-size: 1.4rem;
  }

  .insurance-cta-section p {
    font-size: 0.95rem;
  }

  .btn-get-quote {
    padding: 13px 32px;
    font-size: 0.96rem;
  }

  section .text-center h2 {
    font-size: 1.5rem !important;
  }
}
