/* responsive.css - Custom viewport overrides for HSN Hair Transplant Centre */

@media (max-width: 991.98px) {
  body {
    padding-bottom: 60px !important;
  }

  /* Mobile Navbar - Solid Luxury Dark Bar for 100% Logo & Toggle Visibility across all pages */
  #main-navbar {
    height: 74px !important;
    display: flex !important;
    align-items: center !important;
    background: #121214 !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(201, 164, 106, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s ease !important;
  }

  .navbar-brand .logo-emblem-svg {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
  }

  .navbar-brand .logo-text-top {
    color: #FFFFFF !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.1 !important;
  }

  .navbar-brand .logo-text-bottom {
    color: #C9A46A !important;
    font-size: 9.5px !important;
    letter-spacing: 0.05em !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
  }

  /* Mobile Side Panel Drawer Header Logo Styling — Dark Text on Light Drawer Background */
  #drawer-logo-link .logo-text-top {
    color: #121214 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  #drawer-logo-link .logo-text-bottom {
    color: #C9A46A !important;
    font-size: 9px !important;
    font-weight: 600 !important;
  }

  /* Mobile Toggle Button - High Contrast Gold Container & Icon */
  #mobile-menu-toggle {
    width: 42px !important;
    height: 42px !important;
    border-radius: 8px !important;
    background: rgba(201, 164, 106, 0.18) !important;
    border: 1px solid rgba(201, 164, 106, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    cursor: pointer !important;
  }

  #mobile-menu-toggle i,
  #mobile-menu-toggle svg {
    color: #C9A46A !important;
    stroke: #C9A46A !important;
    width: 22px !important;
    height: 22px !important;
  }

  /* Hero Overrides — Stacked Mobile Layout (Clean Visible Image on Top, Content Card Below) */
  .hero-section {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    margin-top: 74px !important;
    padding: 0 0 2.5rem 0 !important;
    position: relative !important;
    background-color: #0c0f14 !important;
    display: block !important;
    overflow: hidden !important;
  }

  /* Image Slide Showcase at top */
  .hero-bg-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: clamp(300px, 44vh, 380px) !important;
    background-size: cover !important;
    background-position: center 15% !important;
  }

  .hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: clamp(300px, 44vh, 380px) !important;
    background: linear-gradient(180deg, rgba(12, 15, 20, 0.2) 0%, transparent 60%, rgba(12, 15, 20, 0.85) 100%) !important;
    pointer-events: none !important;
  }

  .hero-gold-divider {
    display: none !important;
  }

  /* Slider Navigation Arrows positioned over image */
  .hero-side-btn {
    display: flex !important;
    position: absolute !important;
    top: calc(clamp(300px, 44vh, 380px) / 2) !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
    background: rgba(12, 15, 20, 0.65) !important;
    border: 1px solid rgba(201, 164, 106, 0.5) !important;
    color: #FFFFFF !important;
    z-index: 15 !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
  }

  .hero-side-prev {
    left: 12px !important;
  }

  .hero-side-next {
    right: 12px !important;
  }

  /* Content Wrapper sits cleanly AFTER / below image */
  .hero-content-wrap {
    position: relative !important;
    margin-top: calc(clamp(300px, 44vh, 380px) - 20px) !important;
    z-index: 20 !important;
    padding: 0 1rem !important;
    height: auto !important;
    display: block !important;
  }

  /* Luxury Card Block */
  .hero-text-block {
    width: 100% !important;
    max-width: 100% !important;
    background: linear-gradient(180deg, #161b24 0%, #0d1117 100%) !important;
    border: 1px solid rgba(201, 164, 106, 0.35) !important;
    border-radius: 20px !important;
    padding: 1.5rem 1.25rem !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    margin: 0 auto !important;
  }

  .hero-headline {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.6rem !important;
  }

  .hero-headline .black {
    font-size: 1.25rem !important;
    padding: 2px 10px !important;
    border-radius: 6px !important;
    display: inline-block !important;
    margin-top: 4px !important;
  }

  .hero-sub {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 1.1rem !important;
  }

  .hero-cta-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 1.1rem !important;
    width: 100% !important;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
    letter-spacing: 0.05em !important;
  }

  .hero-trust-strip {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    width: 100% !important;
    padding: 10px 8px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(201, 164, 106, 0.22) !important;
    border-radius: 10px !important;
    gap: 4px !important;
  }

  .hero-trust-item {
    text-align: center !important;
    padding: 0 4px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  .hero-trust-item:last-child {
    border-right: none !important;
  }

  .hero-trust-num {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #C9A46A !important;
  }

  .hero-trust-label {
    font-size: 0.62rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
  }

  .hero-points-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px 6px !important;
    margin-bottom: 1rem !important;
  }

  .hero-point-chip {
    font-size: 0.74rem !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    line-height: 1.3 !important;
    align-items: flex-start !important;
  }

  .hero-point-chip i {
    font-size: 0.75rem !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
  }

  .hero-indicators {
    display: none !important;
  }

  /* Hide floating social bar on mobile to avoid covering content */
  .floating-social-bar {
    display: none !important;
  }

  /* Sections Padding */
  .py-16,
  .py-20,
  .py-24,
  .py-32 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  /* Gallery buttons on mobile */
  .gallery-filter-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.75rem;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-tab-btn {
    padding: 0.75rem 1rem !important;
    font-size: 8px !important;
  }
}

/* Global Mobile Typography Standardization */
@media (max-width: 767.98px) {

  h1,
  .h1,
  .hr-hero-title,
  .about-hero-title,
  .text-4xl,
  .text-5xl,
  .text-6xl,
  .text-7xl {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    color: var(--color-primary);
  }

  h2,
  .h2,
  .hr-heading-lg,
  .editorial-title,
  .hr-heading-md,
  .about-intro-title,
  .our-story-title,
  .who-we-are-title,
  .mission-vision-title,
  .core-values-title,
  .wc-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
    color: var(--color-primary);
  }

  h3,
  .h3,
  .hr-card-title,
  .hr-feature-title {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    color: var(--color-primary);
  }

  h4,
  .h4,
  .hr-small-title {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
    color: var(--color-primary);
  }

  h5,
  .h5 {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    color: var(--color-primary);
  }

  h6,
  .h6 {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    color: var(--color-primary);
  }

  p,
  .text-body,
  .hr-text-body,
  .editorial-desc {
    font-size: 1rem !important;
    /* 16px */
    line-height: 1.6 !important;
    color: #3f3f46;
  }

  /* Reduce letter spacing on mobile to prevent ugly wrapping of badges */
  .tracking-widest {
    letter-spacing: 0.05em !important;
  }

  .tracking-wider {
    letter-spacing: 0.025em !important;
  }

  .tracking-wide {
    letter-spacing: 0.01em !important;
  }

  /* Before After Slider aspect-ratio adjustment */
  .ba-slider-outer {
    aspect-ratio: 1/1 !important;
    /* Square aspect ratio for mobile screens */
  }

  .metric-card {
    text-align: center;
    padding: 1.5rem 1rem !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .metric-card:last-child {
    border-bottom: none !important;
  }

  .metric-num {
    font-size: 2.75rem !important;
  }

  /* Services */
  .service-card {
    height: 400px !important;
  }

  .service-card-title {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {

  /* Small screen fine-tuning */
  .hero-text-block {
    padding: 1.1rem 0.85rem !important;
  }

  .hero-point-chip {
    font-size: 0.71rem !important;
    padding: 3px 7px !important;
  }

  .hero-title {
    font-size: 1.75rem !important;
  }

  .navbar-brand .logo-emblem-svg {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
  }

  .navbar-brand .logo-text-top {
    font-size: 14px !important;
  }

  .navbar-brand .logo-text-bottom {
    font-size: 8.5px !important;
    letter-spacing: 0.05em !important;
  }

  .btn-gold-outline,
  .btn-gold-solid {
    width: 100%;
    margin-bottom: 0.5rem;
    text-align: center;
    justify-content: center;
  }

  .doc-tab-btn {
    padding: 0.75rem 1rem !important;
    font-size: 8px !important;
  }
}

/* Extra-small mobile screen optimizations */
@media (max-width: 399.98px) {
  .navbar-brand .logo-emblem-svg {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }

  .navbar-brand .logo-text-top {
    font-size: 13px !important;
  }

  .navbar-brand .logo-text-bottom {
    font-size: 8px !important;
    letter-spacing: 0.05em !important;
  }
}

/* ── Ensure banner page labels are visible on mobile ── */
@media (max-width: 768px) {

  .hr-hero-label,
  .about-hero-label,
  .hero-label-v2 {
    display: inline-flex !important;
    font-size: 15px !important;
    letter-spacing: 1.5px !important;
  }

  /* ── All inner-page heroes (testimonials, before-after, etc.): center image on mobile ── */
  /* Remove the desktop left-to-right fade mask and center the subject cleanly at top 0px */
  .hr-hero::before {
    background-position: center center !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    -webkit-mask: none !important;
    mask: none !important;
  }

  /* ── Home Page Hero Statistics (Mobile Only Visibility Fix) ── */
  .hero-content .border-top.border-secondary .col-4 span.text-primary {
    color: #ffffff !important;
    /* Make the numbers stark white */
    font-weight: 800 !important;
    /* Extra bold */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 4px 20px rgba(0, 0, 0, 0.6) !important;
  }

  .hero-content .border-top.border-secondary .col-4 span.text-secondary {
    color: #C9A46A !important;
    /* Keep the luxury gold color but brighten it */
    font-weight: 700 !important;
    /* Bold */
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9) !important;
    font-size: 10px !important;
    /* Slightly larger for mobile readability */
  }

  .section-subtitle,
  .section-eyebrow,
  .hr-label,
  .editorial-label,
  .about-intro-label,
  .our-story-label,
  .who-we-are-label,
  .mission-vision-label,
  .core-values-label,
  .wc-label {
    font-size: 16px !important;
    letter-spacing: 1.5px !important;
  }
}

/* ==========================================================================
   UNIFIED SECTION SUBTITLE / EYEBROW - RESPONSIVE ENFORCEMENT
   Preserves 15px font size, 600 weight, 2px letter-spacing across all viewports
   ========================================================================== */
.section-subtitle,
.section-eyebrow,
.hr-label,
.hr-hero-label,
.editorial-label,
.about-hero-label,
.about-intro-label,
.our-story-label,
.who-we-are-label,
.mission-vision-label,
.core-values-label,
.wc-label {
  font-family: var(--font-sans, "Outfit", sans-serif) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 2.5px !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
  color: var(--color-secondary, #C9A46A) !important;
}

/* ==========================================================================
   DESKTOP & LAPTOP NAVBAR RESPONSIVENESS (992px to 1280px)
   Prevents nav link text wrapping and overflow on MacBook / Laptop screens
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1280px) {
  #main-navbar .nav-link {
    font-size: 11.5px !important;
    letter-spacing: 0.06em !important;
    padding: 0.4rem 0.45rem !important;
    white-space: nowrap !important;
  }

  #main-navbar .navbar-brand .logo-text-top {
    font-size: 13px !important;
  }

  #main-navbar .navbar-brand .logo-text-bottom {
    font-size: 8px !important;
    letter-spacing: 0.08em !important;
  }

  #main-navbar .btn-gold-outline {
    padding: 0.55rem 1rem !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }

  #main-navbar .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #main-navbar .navbar-nav {
    gap: 2px !important;
  }

  /* Hero Section MacBook / Laptop Optimizations */
  .hero-section {
    height: 520px !important;
    min-height: 500px !important;
    max-height: 540px !important;
  }

  .hero-text-block {
    max-width: 470px !important;
    padding: 18px 20px !important;
  }

  .hero-headline {
    font-size: 1.3rem !important;
  }

  .hero-headline .black {
    font-size: 1.15rem !important;
  }

  .hero-sub {
    font-size: 0.82rem !important;
    margin-bottom: 0.75rem !important;
  }

  .hero-side-prev {
    left: 10px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }

  .hero-side-next {
    right: 70px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }
}

@media (min-width: 1281px) and (max-width: 1440px) {
  .hero-section {
    height: 580px !important;
    min-height: 560px !important;
    max-height: 600px !important;
  }

  .hero-text-block {
    max-width: 490px !important;
    padding: 20px 22px !important;
  }
}

/* ==========================================================================
   SERVICE PAGES RESPONSIVENESS (Hair Restoration, Facial, Scalp, Dermatology)
   ========================================================================== */
@media (max-width: 991.98px) {
  .hr-hero,
  .about-hero,
  #hr-hero,
  #about-hero {
    min-height: auto !important;
    margin-top: 74px !important;
    padding-top: 2.5rem !important;
    padding-bottom: 3.5rem !important;
    background-position: center center !important;
  }

  body.vg-page .about-hero,
  body.vg-page #about-hero {
    background-image: url('../images/hsn-images/hsn-hair-restore-videos-mobile.jpg') !important;
  }

  .hr-hero-container,
  .about-hero-container {
    position: relative !important;
    z-index: 3 !important;
    padding-top: 1.5rem !important;
  }

  /* Lightened dark overlay so background doctor & patient images remain 100% visible */
  #about-hero::before,
  .about-hero::before {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.30) 50%, rgba(15, 23, 42, 0.55) 100%) !important;
  }

  .hr-hero-content {
    max-width: 100% !important;
    text-align: center;
  }

  .about-hero-motto {
    margin-top: 14px !important;
    padding: 7px 16px !important;
    background: rgba(12, 15, 20, 0.7) !important;
    border: 1px solid rgba(201, 164, 106, 0.45) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35) !important;
  }

  .about-hero-motto .motto-text-dark {
    color: #FFFFFF !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.08em !important;
  }

  .about-hero-motto .motto-text-gold {
    color: #C9A46A !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.08em !important;
  }

  .about-hero-motto i {
    color: #C9A46A !important;
    font-size: 0.95rem !important;
  }

  .hr-highlight-list {
    text-align: left;
    display: inline-block;
    margin: 1.5rem auto !important;
  }

  .hr-hero-actions {
    justify-content: center;
  }

  .premium-treatments-section {
    padding-top: 2rem !important;
  }

  .hr-features {
    padding: 50px 0 35px !important;
  }

  .hr-features-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 24px !important;
  }

  .hr-feature-item {
    padding: 24px 18px !important;
  }
}

/* ==========================================================================
   CONTACT PAGE & CLINIC CARDS RESPONSIVENESS
   ========================================================================== */
.section-title-contact {
  font-size: clamp(26px, 4.5vw, 46px) !important;
  line-height: 1.25 !important;
}

@media (max-width: 991.98px) {
  .contact-booking-container {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
  }

  .clinic-card {
    padding: 26px 18px !important;
  }
}

@media (max-width: 575.98px) {
  .clinic-card {
    padding: 22px 16px !important;
    border-radius: 16px !important;
  }

  .clinic-name {
    font-size: 20px !important;
  }

  .clinic-address {
    font-size: 13.5px !important;
    margin-bottom: 16px !important;
  }

  .clinic-actions .btn {
    font-size: 11.5px !important;
    padding: 0.6rem 0.8rem !important;
    margin-bottom: 0 !important;
  }

  .map-card {
    padding: 22px 16px !important;
    border-radius: 16px !important;
  }

  .map-card .d-flex.mt-auto {
    gap: 8px !important;
  }

  .map-card .d-flex.mt-auto .btn {
    flex: 1 1 0 !important;
    width: auto !important;
    margin-bottom: 0 !important;
    padding: 0.65rem 0.5rem !important;
    font-size: 11px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   CUSTOM CTA BANNER SECTION RESPONSIVENESS
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1280px) {
  .cta-action-glass-card {
    padding: 26px 18px !important;
  }

  .cta-action-glass-card .btn-gold-solid,
  .cta-action-glass-card .btn-gold-outline {
    font-size: 11px !important;
    padding: 0.65rem 0.75rem !important;
  }
}

@media (max-width: 991.98px) {
  .cta-banner-section {
    padding: 60px 0 !important;
  }

  .cta-modern-title {
    font-size: clamp(1.8rem, 5vw, 2.4rem) !important;
  }

  .cta-action-glass-card {
    margin-top: 24px !important;
    padding: 26px 20px !important;
  }

  .cta-action-glass-card .btn-gold-solid,
  .cta-action-glass-card .btn-gold-outline {
    font-size: 12px !important;
    padding: 0.75rem 1rem !important;
  }
}

/* ==========================================================================
   WHY HSN SECTION RESPONSIVENESS
   ========================================================================== */
@media (max-width: 991.98px) {
  #why-hsn {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  #why-hsn .position-sticky {
    position: static !important;
    top: auto !important;
  }

  #why-hsn .row.g-5 {
    --bs-gutter-y: 2.25rem !important;
  }
}

@media (max-width: 767.98px) {
  #why-hsn {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  #why-hsn .section-subtitle {
    font-size: 11.5px !important;
    letter-spacing: 1.2px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  #why-hsn .hr-heading-lg {
    font-size: 1.85rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.85rem !important;
  }

  #why-hsn p.font-sans {
    margin-bottom: 1.5rem !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  #why-hsn .col-lg-8 .row.g-4 {
    --bs-gutter-y: 12px !important;
    --bs-gutter-x: 12px !important;
  }

  .hsn-feature-card {
    padding: 14px 16px !important;
    gap: 14px !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  }

  .hsn-feature-icon-box {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 10px !important;
  }

  .hsn-feature-icon-box svg,
  .hsn-feature-icon-box i {
    width: 20px !important;
    height: 20px !important;
  }

  .hsn-feature-title,
  .hsn-feature-card h6 {
    font-size: 14.5px !important;
    line-height: 1.35 !important;
    letter-spacing: 0.15px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    white-space: normal !important;
  }
}

@media (max-width: 575.98px) {
  #why-hsn {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  #why-hsn .btn-gold-solid {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.25rem !important;
  }

  #why-hsn .col-lg-8 .row.g-4 {
    --bs-gutter-y: 10px !important;
    --bs-gutter-x: 10px !important;
  }

  .hsn-feature-card {
    padding: 12px 14px !important;
    gap: 12px !important;
    border-radius: 12px !important;
  }

  .hsn-feature-icon-box {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 10px !important;
  }

  .hsn-feature-icon-box svg,
  .hsn-feature-icon-box i {
    width: 19px !important;
    height: 19px !important;
  }

  .hsn-feature-title,
  .hsn-feature-card h6 {
    font-size: 13.5px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 380px) {
  .hsn-feature-card {
    padding: 11px 12px !important;
    gap: 10px !important;
  }

  .hsn-feature-icon-box {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 8px !important;
  }

  .hsn-feature-icon-box svg,
  .hsn-feature-icon-box i {
    width: 17px !important;
    height: 17px !important;
  }

  .hsn-feature-title,
  .hsn-feature-card h6 {
    font-size: 12.5px !important;
  }
}

/* ==========================================================================
   BEFORE & AFTER MARQUEE SECTION RESPONSIVENESS
   ========================================================================== */
@media (max-width: 991.98px) {
  #before-after {
    padding-top: 60px !important;
    padding-bottom: 50px !important;
  }

  .ba-marquee-container::before,
  .ba-marquee-container::after {
    width: 60px !important;
  }

  .ba-marquee-track {
    gap: 1.5rem !important;
    padding: 0.5rem 1rem 2rem 1rem !important;
  }

  .ba-card {
    min-width: 260px !important;
    width: 260px !important;
    border-radius: 14px !important;
  }

  .ba-img-container {
    border-radius: 14px !important;
  }
}

@media (max-width: 767.98px) {
  #before-after {
    padding-top: 48px !important;
    padding-bottom: 40px !important;
  }

  .ba-marquee-container {
    padding: 0.25rem 0 !important;
  }

  /* Reduce gradient mask so cards in view are fully visible and crisp */
  .ba-marquee-container::before,
  .ba-marquee-container::after {
    width: 28px !important;
  }

  .ba-marquee-track {
    gap: 14px !important;
    padding: 0.25rem 0.75rem 1.25rem 0.75rem !important;
  }

  /* Mobile card size: perfectly proportioned so 1 full card + next card peek is visible */
  .ba-card {
    min-width: clamp(210px, 60vw, 240px) !important;
    width: clamp(210px, 60vw, 240px) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
  }

  .ba-img-container {
    border-radius: 14px !important;
  }
}

@media (max-width: 575.98px) {
  #before-after {
    padding-top: 38px !important;
    padding-bottom: 32px !important;
  }

  .ba-marquee-container::before,
  .ba-marquee-container::after {
    width: 18px !important;
  }

  .ba-marquee-track {
    gap: 12px !important;
    padding: 0.25rem 0.5rem 1rem 0.5rem !important;
  }

  .ba-card {
    min-width: clamp(190px, 64vw, 220px) !important;
    width: clamp(190px, 64vw, 220px) !important;
    border-radius: 12px !important;
  }

  .ba-img-container {
    border-radius: 12px !important;
  }
}

@media (max-width: 380px) {
  .ba-marquee-container::before,
  .ba-marquee-container::after {
    width: 12px !important;
  }

  .ba-marquee-track {
    gap: 10px !important;
    padding: 0.2rem 0.35rem 0.75rem 0.35rem !important;
  }

  .ba-card {
    min-width: 180px !important;
    width: 180px !important;
    border-radius: 10px !important;
  }

  .ba-img-container {
    border-radius: 10px !important;
  }
}