/* ===========================
   RESPONSIVE STYLES
   =========================== */

/* --- XL (≥1200px) --- */
@media (min-width: 1200px) {
  .hero-content h1 {
    font-size: 48px;
  }
}

/* --- LG (992px–1199px) --- */
@media (max-width: 1199px) {
  .hero-content h1 {
    font-size: 38px;
  }

  .hero-bg-img {
    width: 55%;
  }

  .hero-price-badge {
    right: 12%;
    top: 58%;
    width: 120px;
    height: 120px;
  }

  .hero-price-badge .price-big {
    font-size: 34px;
  }
}

/* --- MD (768px–991px) --- */
@media (max-width: 991px) {

  /* Navbar collapse */
  .main-nav .navbar-collapse {
    background: var(--bg-white);
    padding: 20px 20px 25px 20px;
    border-top: 1px solid var(--border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }

  .header-right-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
  }

  .header-phone {
    width: auto;
    justify-content: center;
    margin-bottom: 4px;
  }

  .btn-start-course {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  /* Hero Section */
  .hero-section {
    min-height: 400px;
    padding: 40px 0;
  }

  .hero-bg-img {
    width: 52%;
    opacity: 0.95;
  }

  .hero-section::before {
    width: 58%;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-price-badge {
    right: 12%;
    top: 58%;
    width: 110px;
    height: 110px;
  }

  .hero-price-badge .price-big {
    font-size: 30px;
  }

  /* Trust Bar */
  .trust-bar-inner {
    flex-wrap: wrap;
  }

  .trust-item {
    flex: 0 0 50%;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 12px;
  }

  .trust-item:nth-child(2n) {
    border-right: none;
  }

  .trust-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

/* --- SM (576px–767px) --- */
@media (max-width: 767px) {

  /* Hero Section Mobile */
  .hero-section {
    min-height: auto;
    padding: 30px 0;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-bg-img {
    position: relative;
    width: 100%;
    height: 240px;
    display: block;
    margin-top: 20px;
    order: 2;
  }

  .hero-section::before {
    display: none;
  }

  .hero-content {
    order: 1;
  }

  .hero-content h1 {
    font-size: 28px;
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
  }

  .hero-checks {
    display: inline-block;
    width: 100%;
    padding-left: 10%;
  }

  .hero-checks li {
    font-size: 13.5px;
  }

  .btn-start-now {
    display: flex;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
  }

  .hero-trust-line {
    justify-content: center;
  }

  .hero-price-badge {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 20px auto 0;
    order: 3;
    display: flex;
  }

  /* Trust Bar Mobile */
  .trust-bar-inner {
    flex-direction: column;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    padding: 12px 0;
  }

  .trust-item:last-child {
    border-bottom: none;
  }

  /* Section title */
  .section-title {
    font-size: 20px;
  }

  /* Why cards */
  .why-card {
    margin-bottom: 16px;
  }

  /* Insurance logos */
  .insurance-logo {
    padding: 8px 14px;
  }

  .insurance-logo img {
    max-height: 38px;
  }

  /* Comparison table scroll */
  .table-responsive-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Testimonials */
  .testimonials-section .owl-carousel .owl-item {
    padding: 0 6px;
  }

  /* Footer */
  .site-footer .footer-col {
    margin-bottom: 24px;
  }
}

/* --- XS (<576px) --- */
@media (max-width: 575px) {
  body {
    font-size: 14px;
  }

  .top-bar {
    font-size: 12px;
  }

  .top-bar .phone-number {
    font-size: 13px;
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .btn-start-now {
    font-size: 13px;
    padding: 11px 20px;
  }

  .hero-trust-bar .trust-item {
    margin: 0 6px;
    font-size: 11px;
  }

  .savings-amount {
    font-size: 34px;
  }

  .savings-buttons {
    gap: 6px;
  }

  .savings-btn {
    padding: 6px 12px;
    font-size: 13px;
  }

  .step-circle {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .cta-section {
    padding: 32px 24px;
    background: linear-gradient(90deg, rgba(9, 14, 84, 0.97) 0%, rgba(9, 14, 84, 0.92) 100%), url('../images/other-images/coastal-highway.png') no-repeat right center;
    background-size: cover;
  }

  .cta-section h3 {
    font-size: 22px;
  }

  .cta-section .cta-sub {
    font-size: 14.5px;
    margin-bottom: 18px;
  }

  .cta-price-amount {
    font-size: 42px;
  }

  .cta-currency,
  .cta-decimals {
    font-size: 18px;
  }

  .cta-trust-items {
    margin-top: 18px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .comparison-table {
    font-size: 11.5px;
  }

  .footer-bottom {
    text-align: center;
  }
}

.preview-screenshots {
  flex-direction: column;
  align-items: center;
}

.preview-screenshot-item {
  flex: none;
  width: 80%;
}

.cta-box-content h3 {
  font-size: 20px;
}

.cta-box-content .cta-price {
  font-size: 38px;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom .text-md-end {
  text-align: center !important;
  margin-top: 6px;
}