/* Modern 2026 Design System - Teal Insurance */
:root {
  /* Primary Blue Colors - Modern & Vibrant */
  --color-primary: #2563eb;
  --color-primary-light: #3b82f6;
  --color-primary-lighter: #60a5fa;
  --color-primary-lightest: #93c5fd;
  --color-primary-bright: #dbeafe;
  
  /* Dark Blue Shades - Sophisticated & Deep */
  --color-dark-blue: #001f53;
  --color-dark-blue-2: #1e3a8a;
  --color-dark-blue-3: #1e293b;
  --color-dark-blue-4: #0f172a;
  --color-dark-blue-5: #020617;
  --color-dark-blue-6: #0c1220;
  --color-dark-blue-7: #050a14;
  --color-dark-blue-8: #1e3a8a;
  
  /* Light Blue Shades - Soft & Airy */
  --color-light-blue: #7dd3fc;
  --color-light-blue-2: #38bdf8;
  --color-light-blue-3: #0ea5e9;
  --color-light-blue-4: #0284c7;
  --color-light-blue-5: #0369a1;
  --color-light-blue-6: #eff6ff;
  --color-light-blue-7: #dbeafe;
  --color-light-blue-8: #bfdbfe;
  --color-light-blue-9: #93c5fd;
  --color-light-blue-10: #60a5fa;
  
  /* Modern Gradients */
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
  --gradient-primary-dark: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #2563eb 30%, #3b82f6 70%, #60a5fa 100%);
  --gradient-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  
  /* Modern Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-primary: 0 10px 25px -5px rgba(37, 99, 235, 0.3), 0 4px 10px -2px rgba(37, 99, 235, 0.2);
  --shadow-primary-lg: 0 20px 40px -10px rgba(37, 99, 235, 0.4), 0 8px 16px -4px rgba(37, 99, 235, 0.3);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  
  /* Modern Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;

  /* Header alignment (index) */
  --header-padding-x: 1.25rem;
  --header-padding-x-left: 0.5rem;
  --header-item-padding: 1rem;
  --header-gap: 0.75rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-pill: 9999px;
  
  /* Legacy color mappings for compatibility */
  --color-blue: var(--color-primary);
  --color-blue2: var(--color-primary-light);
  --color-blue3: var(--color-primary-lighter);
  --color-blue4: var(--color-primary-lightest);
  --color-blue5: var(--color-primary-bright);
  --color-lblue: var(--color-light-blue-8);
  --color-lblue2: var(--color-light-blue-7);
  --color-dBlue: var(--color-dark-blue);
  --color-dBlue1: var(--color-dark-blue-3);
  --color-dBlue2: var(--color-dark-blue-2);
  --color-dBlue3: var(--color-dark-blue-3);
  --color-lBlue: var(--color-light-blue);
  --color-lBlue2: var(--color-light-blue-2);
  --color-lBlue3: var(--color-light-blue-3);
  --color-lBlue4: var(--color-light-blue-4);
  --color-lBlue5: var(--color-light-blue-5);
  
  /* Replace green colors with blue equivalents */
  --color-green: var(--color-primary);
  --color-green2: var(--color-light-blue-7);
  --color-green3: var(--color-primary-light);
  --color-green4: var(--color-primary-lighter);
  --color-green5: var(--color-primary-lightest);
  --color-greenC: var(--color-primary);
  --color-lgreen: var(--color-light-blue);
  --color-dGreen: var(--color-dark-blue);
  --color-dGreen2: var(--color-dark-blue-2);
  --color-dGreen3: var(--color-dark-blue-3);
  --color-dGreen4: var(--color-dark-blue-4);
  --color-dGreen5: var(--color-dark-blue-5);
  --color-dGreen6: var(--color-dark-blue-6);
  --color-dGreen7: var(--color-dark-blue-7);
  --color-dGreen8: var(--color-dark-blue-8);

  /* Accent Colors - Modern & Refined */
  --progressive-blue: #2563eb;
  --progressive-light-blue: #60a5fa;
  --progressive-dark-blue: #1e40af;
  --progressive-orange: #f97316;
  --progressive-light-orange: #fb923c;
  --progressive-green: #10b981;
  --progressive-purple: #8b5cf6;
  --progressive-pink: #ec4899;
  
  /* Legacy Gradient Support */
  --color-bluGradient: var(--gradient-primary);
}

.heading-shadow{
    text-shadow: #474747 3px 5px 2px;
}
/* Blue theme utility classes */
.bg-blue {
  background-color: var(--color-primary) !important;
}

.blue-text {
  color: var(--color-primary) !important;
}

.bg-blue-light {
  background-color: var(--color-primary-light) !important;
}

.blue-light-text {
  color: var(--color-primary-light) !important;
}

.bg-blue-dark {
  background-color: var(--color-dark-blue) !important;
}

.blue-dark-text {
  color: var(--color-dark-blue) !important;
}

/* Override green classes to use blue */
.bg-green {
  background-color: var(--color-primary) !important;
}

.green-text {
  color: var(--color-primary) !important;
}

/* Extended navy blue background for entire header (top + sub nav) */
.personal-homepage.modern-design .site-header,
.business-homepage.modern-design .site-header,
.contact-page.modern-design .site-header,
.contact-center-page.modern-design .site-header,
.sign-up-page.modern-design .site-header,
.create-account-page.modern-design .site-header,
.get-quote-page.modern-design .site-header,
.account-success-page.modern-design .site-header,
.sign-in-page.modern-design .site-header,
.account-page.modern-design .site-header,
.legal-notices-page.modern-design .site-header {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}

/* Never clip header content – let blue background extend when nav wraps */
.site-header {
    overflow: visible !important;
}

/* Header and nav always visible on smaller screens – never hide; just scale down (logo + links stay visible) */
.personal-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav,
.business-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav,
.contact-page.modern-design .site-header .menu-bar.v8.sub-level-nav,
.contact-center-page.modern-design .site-header .menu-bar.v8.sub-level-nav,
.sign-up-page.modern-design .site-header .menu-bar.v8.sub-level-nav,
.create-account-page.modern-design .site-header .menu-bar.v8.sub-level-nav,
.get-quote-page.modern-design .site-header .menu-bar.v8.sub-level-nav,
.account-success-page.modern-design .site-header .menu-bar.v8.sub-level-nav,
.personal-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
.business-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
.contact-page.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
.contact-center-page.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
.sign-up-page.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
.create-account-page.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
.get-quote-page.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
.account-success-page.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
.legal-notices-page.modern-design .site-header .menu-bar.v8.sub-level-nav,
.legal-notices-page.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
.sign-in-page.modern-design .site-header .menu-bar.v8.sub-level-nav,
.sign-in-page.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
.account-page.modern-design .site-header .menu-bar.v8.sub-level-nav,
.account-page.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu {
    display: flex !important;
    visibility: visible !important;
}

.personal-homepage.modern-design .site-header .menu-bar.v8.bg-green,
.personal-homepage.modern-design .site-header .menu-bar.v8.top-level-nav,
.business-homepage.modern-design .site-header .menu-bar.v8.bg-green,
.business-homepage.modern-design .site-header .menu-bar.v8.top-level-nav,
.contact-page.modern-design .site-header .menu-bar.v8.bg-green,
.contact-page.modern-design .site-header .menu-bar.v8.top-level-nav,
.contact-center-page.modern-design .site-header .menu-bar.v8.bg-green,
.contact-center-page.modern-design .site-header .menu-bar.v8.top-level-nav,
.sign-up-page.modern-design .site-header .menu-bar.v8.bg-green,
.sign-up-page.modern-design .site-header .menu-bar.v8.top-level-nav,
.create-account-page.modern-design .site-header .menu-bar.v8.bg-green,
.create-account-page.modern-design .site-header .menu-bar.v8.top-level-nav,
.get-quote-page.modern-design .site-header .menu-bar.v8.bg-green,
.get-quote-page.modern-design .site-header .menu-bar.v8.top-level-nav,
.account-success-page.modern-design .site-header .menu-bar.v8.bg-green,
.account-success-page.modern-design .site-header .menu-bar.v8.top-level-nav,
.legal-notices-page.modern-design .site-header .menu-bar.v8.bg-green,
.legal-notices-page.modern-design .site-header .menu-bar.v8.top-level-nav {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
}

.personal-homepage.modern-design .site-header .sub-level-nav,
.business-homepage.modern-design .site-header .sub-level-nav,
.contact-page.modern-design .site-header .sub-level-nav,
.contact-center-page.modern-design .site-header .sub-level-nav,
.sign-up-page.modern-design .site-header .sub-level-nav,
.create-account-page.modern-design .site-header .sub-level-nav,
.get-quote-page.modern-design .site-header .sub-level-nav,
.account-success-page.modern-design .site-header .sub-level-nav,
.sign-in-page.modern-design .site-header .sub-level-nav,
.account-page.modern-design .site-header .sub-level-nav,
.legal-notices-page.modern-design .site-header .sub-level-nav {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

/* Compact header - less white space */
.personal-homepage .site-header .menu-bar.v8,
.personal-homepage.modern-design .menu-bar.v8,
.business-homepage .site-header .menu-bar.v8,
.business-homepage.modern-design .menu-bar.v8 {
    height: 48px;
    transition: all 0.3s ease;
}

.personal-homepage .site-header .menu-content,
.personal-homepage .site-header .top-level-nav,
.personal-homepage .site-header .top-level-nav ul,
.personal-homepage .site-header .menu-logo,
.business-homepage .site-header .menu-content,
.business-homepage .site-header .top-level-nav,
.business-homepage .site-header .top-level-nav ul,
.business-homepage .site-header .menu-logo {
    height: 48px !important;
    min-height: 48px !important;
}

.personal-homepage .site-header .top-level-nav ul li,
.business-homepage .site-header .top-level-nav ul li {
    height: 44px !important;
    margin-bottom: 0 !important;
}

/* Fixed heights only at desktop – below 1200px responsive rules use height: auto */
@media (min-width: 1200px) {
    .personal-homepage .site-header .sub-level-nav,
    .personal-homepage.modern-design .site-header .sub-level-nav,
    .business-homepage .site-header .sub-level-nav,
    .business-homepage.modern-design .site-header .sub-level-nav,
    .contact-page .site-header .sub-level-nav,
    .contact-page.modern-design .site-header .sub-level-nav,
.sign-up-page.modern-design .site-header .sub-level-nav,
.create-account-page.modern-design .site-header .sub-level-nav,
.get-quote-page.modern-design .site-header .sub-level-nav,
.account-success-page.modern-design .site-header .sub-level-nav,
.legal-notices-page.modern-design .site-header .sub-level-nav,
.sign-in-page.modern-design .site-header .sub-level-nav {
        height: 56px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .personal-homepage .site-header .sub-level-nav .menu-content,
    .personal-homepage .site-header .sub-level-nav ul,
    .personal-homepage.modern-design .site-header .sub-level-nav .menu-content,
    .personal-homepage.modern-design .site-header .sub-level-nav ul,
    .business-homepage .site-header .sub-level-nav .menu-content,
    .business-homepage .site-header .sub-level-nav ul,
    .contact-page .site-header .sub-level-nav .menu-content,
    .contact-page .site-header .sub-level-nav ul,
    .sign-up-page.modern-design .site-header .sub-level-nav .menu-content,
    .sign-up-page.modern-design .site-header .sub-level-nav ul,
    .create-account-page.modern-design .site-header .sub-level-nav .menu-content,
    .create-account-page.modern-design .site-header .sub-level-nav ul,
    .get-quote-page.modern-design .site-header .sub-level-nav .menu-content,
    .get-quote-page.modern-design .site-header .sub-level-nav ul,
    .account-success-page.modern-design .site-header .sub-level-nav .menu-content,
    .account-success-page.modern-design .site-header .sub-level-nav ul,
    .legal-notices-page.modern-design .site-header .sub-level-nav .menu-content,
    .legal-notices-page.modern-design .site-header .sub-level-nav ul,
    .sign-in-page.modern-design .site-header .sub-level-nav .menu-content,
    .sign-in-page.modern-design .site-header .sub-level-nav ul {
        height: 56px !important;
    }
    .personal-homepage .site-header .sub-level-nav ul li,
    .personal-homepage.modern-design .site-header .sub-level-nav ul li,
    .business-homepage .site-header .sub-level-nav ul li,
    .contact-page .site-header .sub-level-nav ul li,
    .sign-up-page.modern-design .site-header .sub-level-nav ul li,
    .create-account-page.modern-design .site-header .sub-level-nav ul li,
    .get-quote-page.modern-design .site-header .sub-level-nav ul li,
    .account-success-page.modern-design .site-header .sub-level-nav ul li,
    .legal-notices-page.modern-design .site-header .sub-level-nav ul li,
    .sign-in-page.modern-design .site-header .sub-level-nav ul li {
        height: 56px !important;
    }
}

.personal-homepage .site-header .menu-logo a img {
    padding: 6px;
    max-height: 36px;
    width: auto;
}

.personal-homepage .site-header .menu-bar.v8.sticky-header {
    height: 48px !important;
}

/* When user scrolls: keep navy background (no white/clear) and keep logo + toggle + nav visible.
   On modern-design pages the JS no longer adds .sticky-header, so the header stays fixed and navy. */
.site-header .menu-bar.v8.sub-level-nav.sticky-header,
.personal-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header,
.business-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header,
.contact-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header,
.contact-center-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header,
.account-success-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header,
.legal-notices-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2) !important;
    -webkit-box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2) !important;
    overflow: visible !important;
}
.site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-left,
.site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-sublogo,
.site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-sublogo-link,
.site-header .menu-bar.v8.sub-level-nav.sticky-header .main-menu,
.personal-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-left,
.personal-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-sublogo,
.personal-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .main-menu,
.business-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-left,
.business-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .main-menu,
.contact-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-left,
.contact-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .main-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-sublogo-link img,
.personal-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-sublogo-link img,
.contact-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-sublogo-link img {
    opacity: 1 !important;
    visibility: visible !important;
}
/* Keep nav links and toggle readable on sticky – same as default nav */
.site-header .menu-bar.v8.sub-level-nav.sticky-header .main-menu ul li a,
.site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-segment,
.personal-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .main-menu ul li a,
.contact-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .main-menu ul li a,
.contact-center-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .main-menu ul li a,
.sign-in-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-segment,
.account-success-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .main-menu ul li a,
.legal-notices-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .main-menu ul li a {
    color: #ffffff !important;
    background: transparent !important;
}
.site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-segmented,
.personal-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-segmented,
.contact-center-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-segmented,
.sign-in-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-segmented,
.account-success-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-segmented,
.legal-notices-page.modern-design .site-header .menu-bar.v8.sub-level-nav.sticky-header .nav-segmented {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.menu-bar.v8 {
    height: 60px;
    transition: all 0.3s ease;
}

.menu-bar.v8.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Modern-design: header ALWAYS stays blue with logo + toggle visible when scrolling (override theme’s white sticky header) */
.personal-homepage.modern-design .site-header .menu-bar.v8.sticky-header,
.business-homepage.modern-design .site-header .menu-bar.v8.sticky-header,
.contact-page.modern-design .site-header .menu-bar.v8.sticky-header {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    -webkit-box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.personal-homepage.modern-design .site-header .menu-bar.v8.sticky-header .nav-left,
.personal-homepage.modern-design .site-header .menu-bar.v8.sticky-header .nav-sublogo,
.personal-homepage.modern-design .site-header .menu-bar.v8.sticky-header .nav-sublogo-link,
.personal-homepage.modern-design .site-header .menu-bar.v8.sticky-header .main-menu,
.personal-homepage.modern-design .site-header .menu-bar.v8.sticky-header .nav-segmented-wrap,
.personal-homepage.modern-design .site-header .menu-bar.v8.sticky-header .nav-segmented,
.business-homepage.modern-design .site-header .menu-bar.v8.sticky-header .nav-left,
.business-homepage.modern-design .site-header .menu-bar.v8.sticky-header .main-menu,
.contact-page.modern-design .site-header .menu-bar.v8.sticky-header .nav-left,
.contact-page.modern-design .site-header .menu-bar.v8.sticky-header .main-menu,
.contact-page.modern-design .site-header .menu-bar.v8.sticky-header .nav-segmented-wrap,
.contact-page.modern-design .site-header .menu-bar.v8.sticky-header .nav-segmented {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.personal-homepage.modern-design .site-header .menu-bar.v8.sticky-header .nav-sublogo-link img,
.business-homepage.modern-design .site-header .menu-bar.v8.sticky-header .nav-sublogo-link img,
.contact-page.modern-design .site-header .menu-bar.v8.sticky-header .nav-sublogo-link img {
    opacity: 1 !important;
    visibility: visible !important;
}
.personal-homepage.modern-design .site-header .menu-bar.v8.sticky-header .main-menu ul li a,
.personal-homepage.modern-design .site-header .menu-bar.v8.sticky-header .nav-segment,
.business-homepage.modern-design .site-header .menu-bar.v8.sticky-header .main-menu ul li a,
.contact-page.modern-design .site-header .menu-bar.v8.sticky-header .main-menu ul li a,
.contact-page.modern-design .site-header .menu-bar.v8.sticky-header .nav-segment {
    color: #ffffff !important;
}
.personal-homepage.modern-design .site-header .menu-bar.v8.sticky-header .nav-segmented,
.business-homepage.modern-design .site-header .menu-bar.v8.sticky-header .nav-segmented,
.contact-page.modern-design .site-header .menu-bar.v8.sticky-header .nav-segmented {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.menu-bar.v8.sticky-header .menu-content {
    height: 60px;
}

.menu-bar.v8.sticky-header .top-level-nav {
    height: 60px;
}

.menu-bar.v8.sticky-header .top-level-nav ul {
    height: 60px;
}

.menu-bar.v8.sticky-header .top-level-nav ul li {
    height: 56px;
}

.menu-bar.v8.sticky-header .menu-right {
    height: 60px;
    display: flex;
    align-items: center;
}

.menu-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60px;
}

.menu-logo {
    margin-right: 0;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
    height: 60px;
    display: flex;
    align-items: center;
}
.menu-logo a img{
    padding: 10px;
}
.top-level-nav {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
    animation-delay: 0.2s;
    height: 60px;
    display: flex;
    align-items: center;
}

.top-level-nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 60px;
}

.top-level-nav ul li {
    height: 56px; /* 60px - 4px border */
    display: flex;
    align-items: center;
    margin-bottom: 4px; /* Account for border */
}

.top-level-nav ul li.active {
    border-bottom: 4px solid hsl(217, 100%, 85%);
    margin-bottom: 0;
}

.menu-right {
    margin-left: auto;
}

.menu-right .right-menur-btns li a {
    padding: 4px 20px;
}

.business-homepage .top-level-nav ul li a, .business-page .top-level-nav ul li a{
    color: #013830 !important;
}

.top-level-nav ul li a{
    color: #fff !important;
}
.top-level-nav ul li.active a{
    color: hsl(217, 100%, 85%) !important;
}

.sub-level-nav {
    height: 60px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.personal-homepage.modern-design .sub-level-nav,
.business-homepage.modern-design .sub-level-nav {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.sub-level-nav .menu-content {
    height: 60px;
}

.sub-level-nav ul {
    height: 60px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.sub-level-nav ul li {
    height: 60px;
    display: flex;
    align-items: center;
    position: relative;
}

.sub-level-nav ul li.has-dropdown {
    position: relative;
}

/* Ensure parent containers don't clip dropdowns */
.sub-level-nav,
.sub-level-nav .menu-content,
.sub-level-nav .main-menu,
.sub-level-nav ul {
    overflow: visible !important;
}

.sub-level-nav ul li.has-dropdown ul {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    background: #ffffff !important;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    display: none;
    flex-direction: column;
    height: auto;
    z-index: 1100;
    list-style: none;
    margin: 0;
    padding: 0.375rem 0;
    white-space: nowrap;
    gap: 0;
}

/* Enhanced dropdown styling for homepage - white panel, no gaps to prevent glitching */
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown ul,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown ul {
    background: #ffffff !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 0.375rem 0;
    min-width: 220px;
    top: calc(100% + 0.25rem);
    margin-bottom: 0;
    gap: 0;
    display: flex;
    flex-direction: column;
}

/* Keep dropdown visible when hovering over parent OR dropdown - ensure all dropdowns work */
.sub-level-nav ul li.has-dropdown:hover ul,
.sub-level-nav ul li.has-dropdown ul:hover {
    display: flex !important;
}

/* Ensure dropdown stays open when hovering over any item or link */
.sub-level-nav ul li.has-dropdown ul li:hover ~ *,
.sub-level-nav ul li.has-dropdown:hover ul {
    display: flex !important;
}

/* Ensure each dropdown parent maintains its own hover state independently */
.sub-level-nav ul li.has-dropdown {
    position: relative;
    z-index: 1;
}

/* When hovering, bring this dropdown to front and ensure it's clickable */
.sub-level-nav ul li.has-dropdown:hover {
    z-index: 1101 !important;
}

.sub-level-nav ul li.has-dropdown:hover ul {
    z-index: 1102 !important;
    display: flex !important;
    pointer-events: auto !important;
}

/* Ensure dropdown itself maintains hover and is clickable */
.sub-level-nav ul li.has-dropdown ul:hover {
    z-index: 1102 !important;
    display: flex !important;
    pointer-events: auto !important;
}

/* Ensure dropdown items are always clickable when visible */
.sub-level-nav ul li.has-dropdown:hover ul li,
.sub-level-nav ul li.has-dropdown ul:hover li {
    pointer-events: auto !important;
}

.sub-level-nav ul li.has-dropdown:hover ul li a,
.sub-level-nav ul li.has-dropdown ul:hover li a {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Fixed height per row so first and second (and all) dropdown items are identical boxes */
.sub-level-nav ul li.has-dropdown ul li {
    height: 2.75rem !important;
    min-height: 2.75rem !important;
    max-height: 2.75rem !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    display: block !important;
    position: relative;
    list-style: none;
    z-index: auto;
    box-sizing: border-box;
}

.sub-level-nav ul li.has-dropdown ul li a {
    color: #003a99 !important;
    display: flex !important;
    align-items: center;
    width: 100% !important;
    height: 100% !important;
    min-height: 2.75rem !important;
    box-sizing: border-box;
    text-decoration: none;
    font-weight: normal;
    font-size: 0.9375rem !important;
    line-height: 1.4;
    text-shadow: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none;
    border: none;
    padding: 0 1rem !important;
    border-radius: 0.25rem;
    margin: 0 !important;
    transition: background-color 0.15s ease, color 0.15s ease;
    position: relative;
    z-index: 1;
}

.sub-level-nav ul li.has-dropdown ul li a:hover {
    background: #e8e8e8 !important;
    color: #1a1a1a !important;
    transform: none;
    border: none;
    box-shadow: none;
    font-weight: 500;
}

/* Identical box dimensions for every dropdown item - fixed height, flex center */
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li {
    height: 2.75rem !important;
    min-height: 2.75rem !important;
    max-height: 2.75rem !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    position: relative !important;
    z-index: auto !important;
    box-sizing: border-box;
}

.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li a,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li a {
    color: var(--color-dark-blue) !important;
    padding: 0 1rem !important;
    margin: 0 !important;
    height: 100% !important;
    min-height: 2.75rem !important;
    font-size: 0.9375rem !important;
    line-height: 1.4;
    border-radius: 0.25rem;
    border: none;
    transition: background-color 0.15s ease, color 0.15s ease;
    font-weight: 500;
    display: flex !important;
    align-items: center;
    width: 100% !important;
    box-sizing: border-box;
    white-space: nowrap;
    text-shadow: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 1;
}

/* Hover: solid gray background, dark gray text - no transparent, no blue */
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li a:hover,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li a:hover {
    background: #e8e8e8 !important;
    color: #1a1a1a !important;
    transform: none;
    border: none;
    box-shadow: none;
    font-weight: 500;
}

/* Override base style.css: solid background, no blue text, no padding shift */
.menu-bar.v8.sub-level-nav .main-menu li.has-dropdown ul li:hover > a,
.personal-homepage.modern-design .menu-bar.v8.sub-level-nav .main-menu li.has-dropdown ul li:hover > a,
.business-homepage.modern-design .menu-bar.v8.sub-level-nav .main-menu li.has-dropdown ul li:hover > a {
    color: #1a1a1a !important;
    background: #e8e8e8 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Force second (and last) dropdown item to match first */
.sub-level-nav ul li.has-dropdown ul li:last-child a:hover,
.sub-level-nav ul li.has-dropdown ul li:last-child:hover a,
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li:last-child a:hover,
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li:last-child:hover a,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li:last-child a:hover,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li:last-child:hover a {
    background: #e8e8e8 !important;
    color: #1a1a1a !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    transform: none;
    border: none;
    box-shadow: none;
}

/* Ensure dropdown maintains hover and is clickable */
.sub-level-nav ul li.has-dropdown ul {
    pointer-events: auto !important;
}

.sub-level-nav ul li.has-dropdown:hover ul {
    pointer-events: auto !important;
}

.sub-level-nav ul li.has-dropdown.active a {
    color: #00FFF2 !important;
}

/* Override active state for dropdown parents – light blue */
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown.active a,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown.active a,
.contact-page.modern-design .sub-level-nav ul li.has-dropdown.active a {
    color: #00FFF2 !important;
    background: transparent !important;
}

/* Same hover for both li and link - solid gray, dark gray text, no transparent, no blue */
.sub-level-nav ul li.has-dropdown ul li:hover,
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li:hover,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li:hover {
    background: #e8e8e8 !important;
    transform: none;
}

.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li:hover a,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li:hover a {
    background: #e8e8e8 !important;
    color: #1a1a1a !important;
    transform: none;
    border: none;
    box-shadow: none;
}

/* Ensure dropdown parent link doesn't interfere with dropdown */
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown > a,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown > a {
    position: relative;
    z-index: 1;
}

/* Extend hover area to include the gap and ensure smooth transition */
.sub-level-nav ul li.has-dropdown {
    padding-bottom: 0.5rem;
}

/* Ensure dropdown maintains hover when mouse moves to it */
.sub-level-nav ul li.has-dropdown:hover::after {
    pointer-events: auto;
}

/* Prevent dropdown from inheriting parent flex styles – always vertical list */
.sub-level-nav ul li.has-dropdown ul {
    display: none;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    justify-content: flex-start;
    min-width: 200px;
    width: auto;
}

.sub-level-nav ul li.has-dropdown:hover ul,
.sub-level-nav ul li.has-dropdown ul:hover {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

/* Reset dropdown list items to block display – stay vertical */
.sub-level-nav ul li.has-dropdown ul li {
    display: block !important;
    flex: none !important;
    width: 100% !important;
    align-self: stretch !important;
}

.sub-level-nav ul li a {
    color: #013830 !important;
}

/* Enhanced sub-level nav styling for homepage - visible over video */
.personal-homepage.modern-design .sub-level-nav ul li a,
.business-homepage.modern-design .sub-level-nav ul li a,
.contact-page.modern-design .sub-level-nav ul li a,
.sign-up-page.modern-design .sub-level-nav ul li a,
.create-account-page.modern-design .sub-level-nav ul li a,
.get-quote-page.modern-design .sub-level-nav ul li a,
.account-success-page.modern-design .sub-level-nav ul li a,
.contact-center-page.modern-design .sub-level-nav ul li a,
.legal-notices-page.modern-design .sub-level-nav ul li a,
.sign-in-page.modern-design .sub-level-nav ul li a,
.account-page.modern-design .sub-level-nav ul li a {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0 var(--header-item-padding, 1rem);
    border-radius: 0;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
    white-space: nowrap;
    background: transparent !important;
}

/* Ensure dropdown items don't inherit parent nav link styles – same color/font for all dropdowns */
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li a,
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li.active a,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li a,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li.active a,
.personal-homepage.modern-design .menu-bar.v8.sub-level-nav .main-menu ul li.has-dropdown ul li a,
.personal-homepage.modern-design .menu-bar.v8.sub-level-nav .main-menu ul li.has-dropdown ul li.active a {
    color: #001f53 !important;
    font-weight: 500 !important;
    text-shadow: none !important;
    background: #ffffff !important;
    font-size: 0.9375rem !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Current page link inside dropdown: same color as other items, slightly bolder only */
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li.active a,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown ul li.active a,
.menu-bar.v8.sub-level-nav .main-menu ul li.has-dropdown ul li.active > a {
    font-weight: 600 !important;
    color: #001f53 !important;
}

/* Nav link hover: color only, no background/shadow/lines */
.personal-homepage.modern-design .sub-level-nav ul li a:hover,
.business-homepage.modern-design .sub-level-nav ul li a:hover,
.contact-page.modern-design .sub-level-nav ul li a:hover,
.sign-up-page.modern-design .sub-level-nav ul li a:hover,
.create-account-page.modern-design .sub-level-nav ul li a:hover,
.get-quote-page.modern-design .sub-level-nav ul li a:hover,
.account-success-page.modern-design .sub-level-nav ul li a:hover,
.contact-center-page.modern-design .sub-level-nav ul li a:hover,
.legal-notices-page.modern-design .sub-level-nav ul li a:hover,
.sign-in-page.modern-design .sub-level-nav ul li a:hover,
.account-page.modern-design .sub-level-nav ul li a:hover {
    color: #ffffff !important;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-shadow: none !important;
    box-shadow: none !important;
    border: none !important;
    transform: none;
}

.personal-homepage.modern-design .sub-level-nav ul li.active a,
.business-homepage.modern-design .sub-level-nav ul li.active a,
.contact-page.modern-design .sub-level-nav ul li.active a,
.contact-center-page.modern-design .sub-level-nav ul li.active a,
.legal-notices-page.modern-design .sub-level-nav ul li.active a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* All personal pages: same nav/dropdown look – active section (e.g. Property on renters) matches others */
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown > a,
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown.active > a,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown > a,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown.active > a {
    color: rgba(255, 255, 255, 0.95) !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
}

.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown > a:hover,
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown.active > a:hover,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown > a:hover,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown.active > a:hover {
    color: #ffffff !important;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-shadow: none !important;
}

.personal-homepage.modern-design .sub-level-nav ul,
.business-homepage.modern-design .sub-level-nav ul {
    gap: 0;
    justify-content: center;
    padding: 0;
    align-items: center;
    flex: 1;
}

.personal-homepage.modern-design .sub-level-nav .main-menu,
.business-homepage.modern-design .sub-level-nav .main-menu,
.contact-page.modern-design .sub-level-nav .main-menu,
.sign-up-page.modern-design .sub-level-nav .main-menu,
.create-account-page.modern-design .sub-level-nav .main-menu,
.get-quote-page.modern-design .sub-level-nav .main-menu,
.account-success-page.modern-design .sub-level-nav .main-menu,
.contact-center-page.modern-design .sub-level-nav .main-menu,
.legal-notices-page.modern-design .sub-level-nav .main-menu,
.sign-in-page.modern-design .sub-level-nav .main-menu,
.account-page.modern-design .sub-level-nav .main-menu {
    width: 100%;
}

.personal-homepage.modern-design .sub-level-nav ul,
.business-homepage.modern-design .sub-level-nav ul,
.contact-page.modern-design .sub-level-nav ul,
.sign-up-page.modern-design .sub-level-nav ul,
.create-account-page.modern-design .sub-level-nav ul,
.get-quote-page.modern-design .sub-level-nav ul,
.account-success-page.modern-design .sub-level-nav ul,
.contact-center-page.modern-design .sub-level-nav ul,
.legal-notices-page.modern-design .sub-level-nav ul,
.sign-in-page.modern-design .sub-level-nav ul,
.account-page.modern-design .sub-level-nav ul {
    width: 100%;
}

/* Header layout: logo at edge, Personal/Business next to it; center nav; Contact + Sign In far right */
.personal-homepage.modern-design .sub-level-nav ul > li.nav-left,
.business-homepage.modern-design .sub-level-nav ul > li.nav-left,
.contact-page.modern-design .sub-level-nav ul > li.nav-left,
.sign-up-page.modern-design .sub-level-nav ul > li.nav-left,
.create-account-page.modern-design .sub-level-nav ul > li.nav-left,
.get-quote-page.modern-design .sub-level-nav ul > li.nav-left,
.account-success-page.modern-design .sub-level-nav ul > li.nav-left,
.contact-center-page.modern-design .sub-level-nav ul > li.nav-left,
.legal-notices-page.modern-design .sub-level-nav ul > li.nav-left,
.sign-in-page.modern-design .sub-level-nav ul > li.nav-left,
.account-page.modern-design .sub-level-nav ul > li.nav-left {
    display: inline-flex !important;
    align-items: center;
    gap: var(--header-gap, 0.75rem);
    flex-shrink: 0;
    margin-right: auto;
    margin-left: 0;
    padding-left: 0;
}

/* Center the three nav items (Property, Vehicle, Personal) in the middle of the bar */
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown:first-of-type,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown:first-of-type {
    margin-left: auto;
}

.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown:last-of-type,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown:last-of-type {
    margin-right: auto;
}

/* Contact + Sign In: consistent padding and margins (right side of header) */
.personal-homepage.modern-design .sub-level-nav ul > li.nav-contact,
.business-homepage.modern-design .sub-level-nav ul > li.nav-contact,
.sign-up-page.modern-design .sub-level-nav ul > li.nav-contact,
.create-account-page.modern-design .sub-level-nav ul > li.nav-contact,
.get-quote-page.modern-design .sub-level-nav ul > li.nav-contact,
.account-success-page.modern-design .sub-level-nav ul > li.nav-contact,
.account-page.modern-design .sub-level-nav ul > li.nav-contact,
.legal-notices-page.modern-design .sub-level-nav ul > li.nav-contact {
    margin-left: auto;
    margin-right: 0;
    padding-left: var(--header-item-padding, 1rem);
    padding-right: var(--header-gap, 0.5rem);
}

.personal-homepage.modern-design .sub-level-nav ul > li.nav-signin,
.business-homepage.modern-design .sub-level-nav ul > li.nav-signin,
.sign-up-page.modern-design .sub-level-nav ul > li.nav-signin,
.create-account-page.modern-design .sub-level-nav ul > li.nav-signin,
.get-quote-page.modern-design .sub-level-nav ul > li.nav-signin,
.account-success-page.modern-design .sub-level-nav ul > li.nav-signin,
.account-page.modern-design .sub-level-nav ul > li.nav-signin,
.legal-notices-page.modern-design .sub-level-nav ul > li.nav-signin {
    margin-left: 0;
    margin-right: 0;
    padding-left: var(--header-gap, 0.5rem);
    padding-right: var(--header-item-padding, 1rem);
}

/* Contact page: Sign In all the way to the right (no Contact link before it) */
.contact-page.modern-design .sub-level-nav ul > li.nav-signin {
    margin-left: auto !important;
    padding-right: 0;
}

/* Contact Center: Sign In and Start now grouped on the right (Sign In left of Start now) – same padding/margins as index */
.contact-center-page.modern-design .sub-level-nav ul > li.nav-signin {
    margin-left: auto !important;
    padding-left: var(--header-gap, 0.5rem);
    padding-right: 0;
}
.contact-center-page.modern-design .sub-level-nav ul > li.nav-start-now {
    margin-left: 0;
    padding-left: var(--header-item-padding, 1rem);
    padding-right: 0;
}

.personal-homepage.modern-design .sub-level-nav ul li,
.business-homepage.modern-design .sub-level-nav ul li,
.contact-page.modern-design .sub-level-nav ul li,
.sign-up-page.modern-design .sub-level-nav ul li,
.create-account-page.modern-design .sub-level-nav ul li,
.get-quote-page.modern-design .sub-level-nav ul li,
.account-success-page.modern-design .sub-level-nav ul li,
.contact-center-page.modern-design .sub-level-nav ul li,
.legal-notices-page.modern-design .sub-level-nav ul li,
.sign-in-page.modern-design .sub-level-nav ul li,
.account-page.modern-design .sub-level-nav ul li {
    display: flex;
    align-items: center;
}
@media (min-width: 1200px) {
    .personal-homepage.modern-design .sub-level-nav ul li,
    .business-homepage.modern-design .sub-level-nav ul li,
    .contact-page.modern-design .sub-level-nav ul li,
    .sign-up-page.modern-design .sub-level-nav ul li,
    .create-account-page.modern-design .sub-level-nav ul li,
    .get-quote-page.modern-design .sub-level-nav ul li,
    .account-success-page.modern-design .sub-level-nav ul li,
    .contact-center-page.modern-design .sub-level-nav ul li,
    .legal-notices-page.modern-design .sub-level-nav ul li,
    .sign-in-page.modern-design .sub-level-nav ul li {
        height: 56px !important;
    }
}

/* Logo at edge: minimal left padding; right padding for alignment */
.personal-homepage.modern-design .site-header .sub-level-nav .container-fluid,
.business-homepage.modern-design .site-header .sub-level-nav .container-fluid,
.contact-page.modern-design .site-header .sub-level-nav .container-fluid,
.get-quote-page.modern-design .site-header .sub-level-nav .container-fluid,
.account-success-page.modern-design .site-header .sub-level-nav .container-fluid,
.contact-center-page.modern-design .site-header .sub-level-nav .container-fluid,
.legal-notices-page.modern-design .site-header .sub-level-nav .container-fluid,
.sign-in-page.modern-design .site-header .sub-level-nav .container-fluid,
.account-page.modern-design .site-header .sub-level-nav .container-fluid {
    padding-left: var(--header-padding-x-left, 0.5rem);
    padding-right: var(--header-padding-x, 1.25rem);
    max-width: 100%;
}

.personal-homepage.modern-design .sub-level-nav .menu-content,
.business-homepage.modern-design .sub-level-nav .menu-content,
.contact-page.modern-design .sub-level-nav .menu-content,
.contact-center-page.modern-design .sub-level-nav .menu-content,
.sign-up-page.modern-design .sub-level-nav .menu-content,
.create-account-page.modern-design .sub-level-nav .menu-content,
.get-quote-page.modern-design .sub-level-nav .menu-content,
.account-success-page.modern-design .sub-level-nav .menu-content,
.legal-notices-page.modern-design .sub-level-nav .menu-content,
.sign-in-page.modern-design .sub-level-nav .menu-content,
.account-page.modern-design .sub-level-nav .menu-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    width: 100%;
}

/* Top-right Personal/Business segmented control – compact, dark blue above/below pills */
.nav-segmented-wrap {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    height: 56px;
}

.nav-segmented-subnav {
    margin-right: var(--header-gap, 0.75rem);
}

/* Same padding for all nav items (Property, Vehicle, Personal, etc.) */
.personal-homepage.modern-design .sub-level-nav ul li.has-dropdown > a,
.personal-homepage.modern-design .sub-level-nav ul > li.nav-contact > a,
.business-homepage.modern-design .sub-level-nav ul li.has-dropdown > a,
.business-homepage.modern-design .sub-level-nav ul > li.nav-contact > a {
    padding-left: var(--header-item-padding, 1rem);
    padding-right: var(--header-item-padding, 1rem);
}

/* Sub-nav: logo (far left) + Personal/Business next to it – gap so segments don’t cover logo */
.personal-homepage.modern-design .nav-sublogo,
.business-homepage.modern-design .nav-sublogo,
.contact-page.modern-design .nav-sublogo,
.sign-up-page.modern-design .nav-sublogo,
.create-account-page.modern-design .nav-sublogo,
.get-quote-page.modern-design .nav-sublogo,
.account-success-page.modern-design .nav-sublogo,
.contact-center-page.modern-design .nav-sublogo,
.legal-notices-page.modern-design .nav-sublogo,
.sign-in-page.modern-design .nav-sublogo,
.account-page.modern-design .nav-sublogo {
    display: flex;
    align-items: center;
    height: 56px;
    flex-shrink: 0;
    margin-right: var(--header-gap, 0.75rem);
    margin-left: 0;
}

/* Account page: extra spacing so pill does not cover logo */
.account-page.modern-design .site-header .sub-level-nav ul > li.nav-left {
    gap: 1rem;
}
.account-page.modern-design .site-header .nav-sublogo {
    margin-right: 1rem;
}

.nav-sublogo {
    display: flex;
    align-items: center;
    height: 56px;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.nav-sublogo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 44px;
    border-radius: 12px;
    background: transparent !important;
    border: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none !important;
    padding: 6px;
    transition: none;
}

/* No grey/shadow box on logo hover */
/* No shadow/box on logo hover - override sub-level-nav ul li a:hover */
.nav-sublogo-link:hover,
.personal-homepage.modern-design .nav-sublogo-link:hover,
.business-homepage.modern-design .nav-sublogo-link:hover,
.personal-homepage.modern-design .sub-level-nav ul li .nav-sublogo-link:hover,
.business-homepage.modern-design .sub-level-nav ul li .nav-sublogo-link:hover {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.nav-sublogo-link img {
    max-height: 32px;
    width: auto;
    height: auto;
    object-fit: contain;
}
/* Logo and nav-left never shrink – always visible at any screen size */
.sub-level-nav .nav-sublogo,
.sub-level-nav .nav-sublogo-link {
    flex-shrink: 0 !important;
}

.nav-signin {
    margin-left: 0;
    display: flex;
    align-items: center;
    height: 56px;
    padding-left: var(--header-gap, 0.5rem);
    padding-right: 0;
}

/* Sign In: plain text link style – no box, no border */
.nav-signin-btn {
    white-space: nowrap;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #ffffff !important;
    padding-left: var(--header-item-padding, 1rem);
    padding-right: var(--header-item-padding, 1rem);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: color 0.25s ease, background 0.25s ease;
}
.nav-signin-btn::before {
    display: none !important;
}

/* Contact + Sign In: light blue on hover/active (header) */
/* Contact link: teal only on hover/focus/active; default is white from .sub-level-nav ul li a */
.personal-homepage.modern-design .sub-level-nav ul > li.nav-contact a:hover,
.personal-homepage.modern-design .sub-level-nav ul > li.nav-contact a:focus,
.business-homepage.modern-design .sub-level-nav ul > li.nav-contact a:hover,
.business-homepage.modern-design .sub-level-nav ul > li.nav-contact a:focus,
.contact-page.modern-design .sub-level-nav ul > li.nav-contact a:hover,
.contact-page.modern-design .sub-level-nav ul > li.nav-contact a:focus,
.contact-page.modern-design .sub-level-nav ul > li.nav-contact a.active,
.sign-up-page.modern-design .sub-level-nav ul > li.nav-contact a:hover,
.sign-up-page.modern-design .sub-level-nav ul > li.nav-contact a:focus,
.sign-up-page.modern-design .sub-level-nav ul > li.nav-contact a.active,
.create-account-page.modern-design .sub-level-nav ul > li.nav-contact a:hover,
.create-account-page.modern-design .sub-level-nav ul > li.nav-contact a:focus,
.create-account-page.modern-design .sub-level-nav ul > li.nav-contact a.active,
.get-quote-page.modern-design .sub-level-nav ul > li.nav-contact a:hover,
.get-quote-page.modern-design .sub-level-nav ul > li.nav-contact a:focus,
.get-quote-page.modern-design .sub-level-nav ul > li.nav-contact a.active,
.account-success-page.modern-design .sub-level-nav ul > li.nav-contact a:hover,
.account-success-page.modern-design .sub-level-nav ul > li.nav-contact a:focus,
.account-success-page.modern-design .sub-level-nav ul > li.nav-contact a.active,
.account-page.modern-design .sub-level-nav ul > li.nav-contact a:hover,
.account-page.modern-design .sub-level-nav ul > li.nav-contact a:focus,
.account-page.modern-design .sub-level-nav ul > li.nav-contact a.active,
.legal-notices-page.modern-design .sub-level-nav ul > li.nav-contact a:hover,
.legal-notices-page.modern-design .sub-level-nav ul > li.nav-contact a:focus,
.legal-notices-page.modern-design .sub-level-nav ul > li.nav-contact a.active {
    color: #00FFF2 !important;
    background: transparent !important;
}

/* Sign In: light blue on hover/active – still no box or border */
.personal-homepage.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover,
.personal-homepage.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:focus,
.business-homepage.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover,
.business-homepage.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:focus,
.contact-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover,
.contact-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:focus,
.sign-up-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover,
.sign-up-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:focus,
.create-account-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover,
.create-account-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:focus,
.get-quote-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover,
.get-quote-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:focus,
.account-success-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover,
.account-success-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:focus,
.contact-center-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover,
.contact-center-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:focus,
.legal-notices-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover,
.legal-notices-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:focus,
.account-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover,
.account-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:focus {
    color: #00FFF2 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
/* Prevent .btn-outline gradient/bar on Sign In hover */
.personal-homepage.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover::before,
.business-homepage.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover::before,
.contact-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover::before,
.contact-center-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover::before,
.legal-notices-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover::before,
.sign-in-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover::before,
.account-success-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover::before,
.account-page.modern-design .sub-level-nav ul > li.nav-signin a.nav-signin-btn:hover::before {
    width: 0 !important;
    background: transparent !important;
}

/* Contact Center: Start now pill – same style as Sign In (white, teal hover) */
.nav-start-now {
    display: flex;
    align-items: center;
    height: 56px;
    padding-left: var(--header-gap, 0.5rem);
    padding-right: 0;
}
.nav-start-now-btn {
    white-space: nowrap;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #ffffff !important;
    padding-left: var(--header-item-padding, 1rem);
    padding-right: var(--header-item-padding, 1rem);
    transition: color 0.25s ease, background 0.25s ease;
}
.nav-start-now-btn::before {
    display: none !important;
}
.contact-center-page.modern-design .sub-level-nav ul > li.nav-start-now a.nav-start-now-btn:hover,
.contact-center-page.modern-design .sub-level-nav ul > li.nav-start-now a.nav-start-now-btn:focus {
    color: #00FFF2 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Outer pill (cylinder) – compact; sits inside dark blue bar with space above/below */
.nav-segmented {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Inner segments – smaller pills */
.nav-segment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
    box-shadow: none;
}

.nav-segment:hover {
    background: rgba(20, 184, 166, 0.35);
    color: #ffffff;
    border: 1px solid rgba(20, 184, 166, 0.5);
    box-shadow: none;
    transform: translateY(-1px);
}

/* Selected: light blue text, pill shape – override sub-level-nav ul li a */
.nav-segment.is-active,
.nav-segment[aria-current='page'] {
    background: rgba(255, 255, 255, 0.28) !important;
    color: #00FFF2 !important;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px !important;
    box-shadow: none !important;
    overflow: hidden;
}

/* Win over .sub-level-nav ul li a so segment stays light blue and pill-shaped */
.personal-homepage.modern-design .sub-level-nav .nav-segment.is-active,
.personal-homepage.modern-design .sub-level-nav .nav-segment[aria-current='page'],
.business-homepage.modern-design .sub-level-nav .nav-segment.is-active,
.business-homepage.modern-design .sub-level-nav .nav-segment[aria-current='page'],
.contact-page.modern-design .sub-level-nav .nav-segment.is-active,
.contact-page.modern-design .sub-level-nav .nav-segment[aria-current='page'],
.sign-up-page.modern-design .sub-level-nav .nav-segment.is-active,
.sign-up-page.modern-design .sub-level-nav .nav-segment[aria-current='page'],
.create-account-page.modern-design .sub-level-nav .nav-segment.is-active,
.create-account-page.modern-design .sub-level-nav .nav-segment[aria-current='page'],
.get-quote-page.modern-design .sub-level-nav .nav-segment.is-active,
.get-quote-page.modern-design .sub-level-nav .nav-segment[aria-current='page'],
.account-success-page.modern-design .sub-level-nav .nav-segment.is-active,
.account-success-page.modern-design .sub-level-nav .nav-segment[aria-current='page'],
.contact-center-page.modern-design .sub-level-nav .nav-segment.is-active,
.contact-center-page.modern-design .sub-level-nav .nav-segment[aria-current='page'],
.legal-notices-page.modern-design .sub-level-nav .nav-segment.is-active,
.legal-notices-page.modern-design .sub-level-nav .nav-segment[aria-current='page'],
.sign-in-page.modern-design .sub-level-nav .nav-segment.is-active,
.sign-in-page.modern-design .sub-level-nav .nav-segment[aria-current='page'] {
    color: #00FFF2 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.28) !important;
    box-shadow: none !important;
}

/* All segments: round edges, override ul li a border-radius: 0 */
.personal-homepage.modern-design .sub-level-nav .nav-segment,
.business-homepage.modern-design .sub-level-nav .nav-segment,
.contact-page.modern-design .sub-level-nav .nav-segment,
.sign-up-page.modern-design .sub-level-nav .nav-segment,
.create-account-page.modern-design .sub-level-nav .nav-segment,
.get-quote-page.modern-design .sub-level-nav .nav-segment,
.account-success-page.modern-design .sub-level-nav .nav-segment,
.contact-center-page.modern-design .sub-level-nav .nav-segment,
.legal-notices-page.modern-design .sub-level-nav .nav-segment,
.sign-in-page.modern-design .sub-level-nav .nav-segment {
    border-radius: 999px !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    /* Logo stays a good size; row gap between nav rows is reduced below */
    .nav-sublogo {
        height: 46px;
        min-height: 46px;
        margin-right: 0.4rem;
        flex-shrink: 0;
    }
    .nav-sublogo-link {
        height: 40px;
        width: 40px;
        flex-shrink: 0;
    }
    .nav-sublogo-link img {
        max-height: 28px;
        width: auto;
    }
    .nav-segmented {
        padding: 2px;
        flex-shrink: 0;
    }
    .nav-segment {
        height: 26px;
        padding: 0 10px;
        font-size: 0.75rem;
    }
    .nav-segmented-subnav {
        margin-right: 0.4rem;
    }
    .nav-signin {
        min-height: 44px;
        margin-left: 0;
        width: auto;
        flex-shrink: 0;
    }
    .personal-homepage.modern-design .sub-level-nav ul li a {
        padding: 0.4rem 0.6rem;
        font-size: 0.8125rem;
    }
}

/* Keep sub-level nav visible below 1200px; let it grow when items wrap so blue background extends */
@media (max-width: 1199px) {
    .personal-homepage.modern-design,
    .contact-page.modern-design,
    .sign-up-page.modern-design,
    .create-account-page.modern-design,
    .get-quote-page.modern-design,
    .business-homepage.modern-design {
        --header-stack-height: 120px;
    }
    .site-header .menu-bar.v8.sub-level-nav .main-menu {
        display: flex !important;
        width: 100%;
    }
    .site-header .sub-level-nav .menu-content {
        display: flex !important;
        align-items: center;
        width: 100%;
        min-height: 56px;
    }
    .site-header .sub-level-nav .container-fluid {
        overflow: visible !important;
        width: 100%;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    /* Logo never shrinks – always visible */
    .site-header .sub-level-nav ul > li.nav-left {
        flex-shrink: 0;
        min-width: 0;
    }
    .site-header .sub-level-nav .nav-sublogo-link,
    .site-header .sub-level-nav .nav-sublogo-link img {
        flex-shrink: 0;
    }
    .nav-segmented-wrap {
        height: auto;
        min-height: 44px;
    }
    /* Allow sub-level nav to grow when items stack – blue background fills expanded area */
    .site-header .menu-bar.v8.sub-level-nav,
    .personal-homepage .site-header .sub-level-nav,
    .personal-homepage.modern-design .site-header .sub-level-nav,
    .business-homepage .site-header .sub-level-nav,
    .business-homepage.modern-design .site-header .sub-level-nav,
    .contact-page .site-header .sub-level-nav,
    .contact-page.modern-design .site-header .sub-level-nav,
    .sign-up-page.modern-design .site-header .sub-level-nav,
    .create-account-page.modern-design .site-header .sub-level-nav,
    .get-quote-page.modern-design .site-header .sub-level-nav,
    .account-success-page.modern-design .site-header .sub-level-nav,
    .legal-notices-page.modern-design .site-header .sub-level-nav {
        height: auto !important;
        min-height: 56px;
        padding: 0.5rem 0;
        overflow: visible !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .site-header .sub-level-nav .menu-content,
    .site-header .sub-level-nav .main-menu > ul,
    .personal-homepage .site-header .sub-level-nav .menu-content,
    .personal-homepage .site-header .sub-level-nav ul,
    .personal-homepage.modern-design .site-header .sub-level-nav .menu-content,
    .personal-homepage.modern-design .site-header .sub-level-nav ul,
    .business-homepage .site-header .sub-level-nav .menu-content,
    .business-homepage .site-header .sub-level-nav ul,
    .contact-page .site-header .sub-level-nav .menu-content,
    .contact-page .site-header .sub-level-nav ul,
    .contact-page.modern-design .site-header .sub-level-nav .menu-content,
    .contact-page.modern-design .site-header .sub-level-nav ul {
        height: auto !important;
        min-height: 56px;
    }
    /* flex-start keeps logo on the left and visible; items wrap after it */
    .site-header .sub-level-nav .main-menu > ul {
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 0.12rem 0.5rem;
        padding: 0 0.5rem;
    }
    .site-header .sub-level-nav ul > li.nav-left,
    .personal-homepage .site-header .sub-level-nav ul > li.nav-left,
    .business-homepage .site-header .sub-level-nav ul > li.nav-left,
    .contact-page .site-header .sub-level-nav ul > li.nav-left {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        margin-right: 0.5rem;
        margin-left: 0;
    }
    .site-header .sub-level-nav ul li,
    .personal-homepage .site-header .sub-level-nav ul li,
    .personal-homepage.modern-design .site-header .sub-level-nav ul li,
    .business-homepage .site-header .sub-level-nav ul li,
    .contact-page .site-header .sub-level-nav ul li,
    .contact-page.modern-design .site-header .sub-level-nav ul li {
        height: auto !important;
        min-height: 56px;
        display: flex;
        align-items: center;
    }
    .site-header .sub-level-nav ul li a {
        padding: 0.6rem 0.75rem;
        font-size: 0.875rem;
    }
    /* Dropdowns stay vertical when nav wraps */
    .site-header .sub-level-nav ul li.has-dropdown ul {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        min-width: 200px;
    }
    .site-header .sub-level-nav ul li.has-dropdown ul li {
        display: block !important;
        width: 100% !important;
    }
    /* At narrow widths, don’t push nav items with auto margins – keep flow after logo */
    .site-header .sub-level-nav ul li.has-dropdown:first-of-type,
    .site-header .sub-level-nav ul li.has-dropdown:last-of-type,
    .site-header .sub-level-nav ul > li.nav-contact,
    .site-header .sub-level-nav ul > li.nav-signin,
    .personal-homepage .site-header .sub-level-nav ul li.has-dropdown:first-of-type,
    .business-homepage .site-header .sub-level-nav ul li.has-dropdown:last-of-type,
    .personal-homepage .site-header .sub-level-nav ul > li.nav-contact,
    .business-homepage .site-header .sub-level-nav ul > li.nav-contact {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 992px) {
    .site-header .menu-bar.v8.sub-level-nav .main-menu,
    .personal-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
    .contact-page.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu {
        display: flex !important;
        visibility: visible !important;
    }
    .site-header .sub-level-nav .main-menu > ul,
    .personal-homepage.modern-design .sub-level-nav .main-menu > ul,
    .contact-page.modern-design .sub-level-nav .main-menu > ul {
        gap: 0.1rem 0.4rem;
    }
    .site-header .sub-level-nav ul li a,
    .personal-homepage.modern-design .sub-level-nav ul li a,
    .contact-page.modern-design .sub-level-nav ul li a,
    .sign-up-page.modern-design .sub-level-nav ul li a,
    .create-account-page.modern-design .sub-level-nav ul li a,
    .get-quote-page.modern-design .sub-level-nav ul li a,
    .contact-center-page.modern-design .sub-level-nav ul li a {
        padding: 0.5rem 0.6rem;
        font-size: 0.8125rem;
    }
    .site-header .sub-level-nav ul li.has-dropdown ul,
    .personal-homepage.modern-design .sub-level-nav ul li.has-dropdown ul,
    .contact-page.modern-design .sub-level-nav ul li.has-dropdown ul {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .personal-homepage.modern-design,
    .contact-page.modern-design,
    .business-homepage.modern-design {
        --header-stack-height: 125px;
    }
    /* Header stays visible on small screens – condensed to use less space */
    .site-header .menu-bar.v8.sub-level-nav .main-menu,
    .personal-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
    .contact-page.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu {
        display: flex !important;
        visibility: visible !important;
    }
    /* Sub-level nav condensed – smaller min-height and padding */
    .site-header .menu-bar.v8.sub-level-nav,
    .personal-homepage .site-header .sub-level-nav,
    .personal-homepage.modern-design .site-header .sub-level-nav,
    .business-homepage .site-header .sub-level-nav,
    .business-homepage.modern-design .site-header .sub-level-nav,
    .contact-page .site-header .sub-level-nav,
    .contact-page.modern-design .site-header .sub-level-nav {
        height: auto !important;
        min-height: 42px;
        padding: 0.35rem 0;
        overflow: visible !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .site-header .sub-level-nav .menu-content,
    .site-header .sub-level-nav .main-menu > ul,
    .personal-homepage .site-header .sub-level-nav .menu-content,
    .personal-homepage .site-header .sub-level-nav ul,
    .personal-homepage.modern-design .site-header .sub-level-nav .menu-content,
    .personal-homepage.modern-design .site-header .sub-level-nav ul,
    .business-homepage .site-header .sub-level-nav .menu-content,
    .business-homepage .site-header .sub-level-nav ul,
    .contact-page .site-header .sub-level-nav .menu-content,
    .contact-page .site-header .sub-level-nav ul,
    .contact-page.modern-design .site-header .sub-level-nav .menu-content,
    .contact-page.modern-design .site-header .sub-level-nav ul {
        height: auto !important;
        min-height: 42px;
    }
    /* Small row gap so when nav wraps, first and second row are close together */
    .site-header .sub-level-nav .main-menu > ul {
        justify-content: flex-start;
        align-items: center;
        padding: 0 0.4rem;
        gap: 0.1rem 0.35rem;
    }
    .site-header .sub-level-nav ul > li.nav-left,
    .personal-homepage.modern-design .site-header .sub-level-nav ul > li.nav-left,
    .contact-page.modern-design .site-header .sub-level-nav ul > li.nav-left {
        flex-shrink: 0;
        margin-right: 0.2rem;
    }
    .site-header .sub-level-nav ul li,
    .personal-homepage.modern-design .site-header .sub-level-nav ul li,
    .contact-page.modern-design .site-header .sub-level-nav ul li {
        min-height: 42px;
    }
    .site-header .sub-level-nav ul li a {
        padding: 0.35rem 0.45rem;
        font-size: 0.75rem;
    }
    .site-header .sub-level-nav ul li.has-dropdown ul {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        min-width: 180px;
    }
    .site-header .sub-level-nav ul li.has-dropdown ul li {
        display: block !important;
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    .personal-homepage.modern-design,
    .contact-page.modern-design,
    .business-homepage.modern-design {
        --header-stack-height: 112px;
    }
    .site-header .menu-bar.v8.sub-level-nav .main-menu,
    .personal-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
    .business-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
    .contact-page.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu {
        display: flex !important;
        visibility: visible !important;
    }
    .site-header .menu-bar.v8.sub-level-nav,
    .personal-homepage.modern-design .site-header .sub-level-nav,
    .business-homepage.modern-design .site-header .sub-level-nav,
    .contact-page.modern-design .site-header .sub-level-nav {
        min-height: 38px;
        padding: 0.25rem 0;
    }
    .site-header .sub-level-nav .menu-content,
    .site-header .sub-level-nav .main-menu > ul,
    .personal-homepage.modern-design .site-header .sub-level-nav .menu-content,
    .personal-homepage.modern-design .site-header .sub-level-nav ul,
    .business-homepage.modern-design .site-header .sub-level-nav .menu-content,
    .business-homepage.modern-design .site-header .sub-level-nav ul,
    .contact-page.modern-design .site-header .sub-level-nav .menu-content,
    .contact-page.modern-design .site-header .sub-level-nav ul {
        min-height: 38px;
    }
    .site-header .sub-level-nav ul li,
    .personal-homepage.modern-design .site-header .sub-level-nav ul li,
    .business-homepage.modern-design .site-header .sub-level-nav ul li,
    .contact-page.modern-design .site-header .sub-level-nav ul li {
        min-height: 38px;
    }
    .site-header .sub-level-nav .container-fluid,
    .personal-homepage.modern-design .site-header .sub-level-nav .container-fluid,
    .business-homepage.modern-design .site-header .sub-level-nav .container-fluid,
    .contact-page.modern-design .site-header .sub-level-nav .container-fluid {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }
    .site-header .sub-level-nav .main-menu > ul,
    .personal-homepage.modern-design .sub-level-nav .main-menu > ul,
    .business-homepage.modern-design .sub-level-nav .main-menu > ul,
    .contact-page.modern-design .sub-level-nav .main-menu > ul {
        gap: 0.08rem 0.3rem;
        padding: 0 0.25rem;
    }
    .site-header .sub-level-nav ul li a,
    .personal-homepage.modern-design .sub-level-nav ul li a,
    .business-homepage.modern-design .sub-level-nav ul li a,
    .contact-page.modern-design .sub-level-nav ul li a,
    .sign-up-page.modern-design .sub-level-nav ul li a,
    .create-account-page.modern-design .sub-level-nav ul li a,
    .get-quote-page.modern-design .sub-level-nav ul li a,
    .account-success-page.modern-design .sub-level-nav ul li a,
    .contact-center-page.modern-design .sub-level-nav ul li a,
    .legal-notices-page.modern-design .sub-level-nav ul li a {
        padding: 0.3rem 0.4rem;
        font-size: 0.75rem;
    }
    .nav-sublogo { height: 44px; min-height: 44px; margin-right: 0.35rem; }
    .nav-sublogo-link { height: 38px; width: 38px; }
    .nav-sublogo-link img { max-height: 26px; }
    .nav-segment { height: 24px; padding: 0 8px; font-size: 0.7rem; }
    .nav-signin { min-height: 40px; }
}

@media (max-width: 480px) {
    .personal-homepage.modern-design,
    .contact-page.modern-design,
    .business-homepage.modern-design {
        --header-stack-height: 100px;
    }
    .site-header .menu-bar.v8.sub-level-nav .main-menu,
    .personal-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
    .business-homepage.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu,
    .contact-page.modern-design .site-header .menu-bar.v8.sub-level-nav .main-menu {
        display: flex !important;
        visibility: visible !important;
    }
    .site-header .menu-bar.v8.sub-level-nav,
    .personal-homepage.modern-design .site-header .sub-level-nav,
    .business-homepage.modern-design .site-header .sub-level-nav,
    .contact-page.modern-design .site-header .sub-level-nav {
        min-height: 36px;
        padding: 0.2rem 0;
    }
    .site-header .sub-level-nav .menu-content,
    .site-header .sub-level-nav .main-menu > ul,
    .personal-homepage.modern-design .site-header .sub-level-nav .menu-content,
    .personal-homepage.modern-design .site-header .sub-level-nav ul,
    .business-homepage.modern-design .site-header .sub-level-nav .menu-content,
    .business-homepage.modern-design .site-header .sub-level-nav ul,
    .contact-page.modern-design .site-header .sub-level-nav .menu-content,
    .contact-page.modern-design .site-header .sub-level-nav ul {
        min-height: 36px;
    }
    .site-header .sub-level-nav ul li,
    .personal-homepage.modern-design .site-header .sub-level-nav ul li,
    .business-homepage.modern-design .site-header .sub-level-nav ul li,
    .contact-page.modern-design .site-header .sub-level-nav ul li {
        min-height: 36px;
    }
    .site-header .sub-level-nav .container-fluid,
    .personal-homepage.modern-design .site-header .sub-level-nav .container-fluid,
    .business-homepage.modern-design .site-header .sub-level-nav .container-fluid,
    .contact-page.modern-design .site-header .sub-level-nav .container-fluid {
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }
    .site-header .sub-level-nav ul li a,
    .personal-homepage.modern-design .sub-level-nav ul li a,
    .business-homepage.modern-design .sub-level-nav ul li a,
    .contact-page.modern-design .sub-level-nav ul li a,
    .sign-up-page.modern-design .sub-level-nav ul li a,
    .create-account-page.modern-design .sub-level-nav ul li a,
    .get-quote-page.modern-design .sub-level-nav ul li a,
    .account-success-page.modern-design .sub-level-nav ul li a,
    .contact-center-page.modern-design .sub-level-nav ul li a,
    .legal-notices-page.modern-design .sub-level-nav ul li a {
        padding: 0.25rem 0.35rem;
        font-size: 0.6875rem;
    }
    .site-header .sub-level-nav .main-menu > ul {
        gap: 0.06rem 0.25rem;
        padding: 0 0.2rem;
        justify-content: flex-start;
    }
    /* Logo stays visible and readable on very small screens */
    .site-header .sub-level-nav ul > li.nav-left {
        flex-shrink: 0;
    }
    .nav-sublogo { height: 42px; min-height: 42px; margin-right: 0.3rem; }
    .nav-sublogo-link {
        height: 36px;
        min-width: 36px;
        width: 36px;
        flex-shrink: 0;
    }
    .nav-sublogo-link img {
        max-height: 24px;
        width: auto;
        height: auto;
        object-fit: contain;
    }
    .nav-segment { height: 22px; padding: 0 6px; font-size: 0.6875rem; }
    .nav-signin { min-height: 38px; }
}

.dark-blue{
    color: #000b21 !important;
}

.progressive-header {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--progressive-blue);
}

.progressive-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.progressive-logo {
    height: 45px;
    transition: transform 0.3s ease;
}

.progressive-logo:hover {
    transform: scale(1.05);
}

.progressive-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}

.progressive-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.progressive-menu a:hover {
    color: var(--progressive-blue);
    transform: translateY(-2px);
}

.progressive-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--progressive-blue);
    transition: width 0.3s ease;
}

.progressive-menu a:hover::after {
    width: 100%;
}

.progressive-btn {
    background: linear-gradient(135deg, var(--progressive-blue) 0%, var(--progressive-light-blue) 100%);
    color: var(--white);
    padding: 0.875rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,102,204,0.3);
    border: none;
    cursor: pointer;
}

.progressive-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,102,204,0.4);
    background: linear-gradient(135deg, var(--progressive-dark-blue) 0%, var(--progressive-blue) 100%);
}

.hero-section {
    background: linear-gradient(135deg, var(--progressive-blue) 0%, var(--progressive-light-blue) 50%, var(--progressive-purple) 100%);
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Disable hero-section background and overlay for modern design homepage - video shows through */
.personal-homepage.modern-design .hero-section {
    background: transparent !important;
}

.personal-homepage.modern-design .hero-section::before {
    display: none;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
}

.hp-banner-bg{
    background-repeat: no-repeat;
    background-position: center center;
}

.bundle-builder {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    padding: 3rem;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.bundle-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark-gray);
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-card {
    border: 3px solid #e0e0e0;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    border-color: var(--progressive-blue);
    transform: translateY(-8px) scale(1.02);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 20px 40px rgba(0,102,204,0.2);
    background: linear-gradient(135deg, rgba(0, 71, 187, 0.5) 0%, rgba(0, 71, 187, 0.25) 100%);
}

.product-card.selected {
    border-color: var(--progressive-blue);
    background: linear-gradient(135deg, rgba(0,102,204,0.05) 0%, rgba(77,148,255,0.05) 100%);
    transform: translateY(-4px);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.product-icon.auto { background: linear-gradient(135deg, var(--progressive-blue), var(--progressive-light-blue)); }
.product-icon.home { background: linear-gradient(135deg, var(--progressive-green), #33cc99); }
.product-icon.life { background: linear-gradient(135deg, var(--progressive-purple), #b366ff); }
.product-icon.bundle { background: linear-gradient(135deg, var(--progressive-orange), var(--progressive-light-orange)); }

.product-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.product-card:hover .product-icon::after {
    transform: translateX(100%);
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
}

.product-description {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--progressive-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.zip-input {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.zip-input input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border: 3px solid var(--border-color);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: var(--white);
}

.zip-input input:focus {
    outline: none;
    border-color: var(--progressive-blue);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
    transform: translateY(-2px);
}

.zip-input input::placeholder {
    color: var(--text-gray);
    font-weight: 400;
}

.quote-btn {
    background: linear-gradient(135deg, var(--progressive-orange) 0%, var(--progressive-light-orange) 100%);
    color: var(--white);
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255,102,0,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,102,0,0.4);
    background: linear-gradient(135deg, #e55a00, var(--progressive-orange));
}

.quote-links {
    text-align: center;
    margin-top: 1.5rem;
}

.quote-links a {
    color: var(--progressive-blue);
    text-decoration: none;
    font-weight: 600;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.quote-links a:hover {
    color: var(--progressive-dark-blue);
    text-decoration: underline;
}

.stats-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, #f0f8ff 100%);
    padding: 6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--progressive-blue), var(--progressive-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--dark-gray);
    font-weight: 600;
    line-height: 1.4;
}

.features-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-title {
    text-align: left;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--progressive-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin: 0;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
}

.feature-icon.fast { background: linear-gradient(135deg, var(--progressive-green), #33cc99); }
.feature-icon.coverage { background: linear-gradient(135deg, var(--progressive-blue), var(--progressive-light-blue)); }
.feature-icon.support { background: linear-gradient(135deg, var(--progressive-purple), #b366ff); }

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1.1rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--progressive-blue) 0%, var(--progressive-purple) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
}

.cta-btn {
    background: var(--white);
    color: var(--progressive-blue);
    padding: 1.5rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,255,255,0.4);
    background: var(--light-gray);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .zip-input {
        flex-direction: column;
    }

    .progressive-menu {
        display: none;
    }

    .bundle-builder {
        margin: 2rem 1rem -2rem;
        padding: 2rem 1.5rem;
    }
}

/* Fun animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.product-card:hover .product-icon {
    animation: pulse 0.6s ease;
}

.stat-item:hover .stat-number {
    animation: float 2s ease-in-out infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typewriter {
    display: inline-block;
    position: relative;
    color: #fff;
    text-shadow: 0 0 10px rgb(0,176,17),
                 0 0 20px rgb(0,176,17),
                 0 0 30px rgb(0,176,17);
    min-width: 120px; /* Adjust based on longest word */
    text-align: left;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Make radio buttons and checkboxes round */
.form-check-input[type="radio"] {
    border-radius: 50%;
    width: 1em;
    height: 1em;
}

.form-check-input[type="checkbox"] {
    border-radius: 0.25rem;
}

/* Improve the appearance of radio buttons and checkboxes */
.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

.form-check-input:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

/* Specific styles for create-account-page */
body.create-account-page .form-check-input[type="radio"] {
    width: 22px;
    height: 22px;
    margin-top: 0.3em;
    border-radius: 50%;
    padding: 0;
    border-width: 1px;
}

body.create-account-page .form-check {
    padding-left: 0;
    margin-bottom: 0;
}

body.create-account-page .form-check-label {
    padding-left: 2em;
    margin-bottom: 0;
    line-height: 30px;
}

body.create-account-page .d-flex.gap-4 {
    gap: 2rem !important;
}

#productSubcategory {
    display: block !important;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#productSubcategory:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

/* Radio button right alignment styles */
.form-check {
    position: relative;
    padding: 0.5rem 0;
}

.form-check-input {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.form-check-label {
    padding-right: 2rem;
}

/* Adjust spacing for radio button groups */
.d-flex.gap-4 {
    gap: 0.5rem !important;
}

/* Modern Radio Button Styles */
.modern-radio {
    position: relative;
    padding: 0;
    margin: 0;
    min-width: 120px;
}

.modern-radio .form-check-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.modern-radio .form-check-label {
    display: block;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #495057;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    margin: 0;
}

.modern-radio .form-check-input:checked + .form-check-label {
    background: #198754;
    border-color: #198754;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.2);
    transform: translateY(-1px);
}

.modern-radio .form-check-input:hover + .form-check-label {
    border-color: #198754;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.1);
}

.modern-radio .form-check-input:focus + .form-check-label {
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.25);
}

/* Get-quote page: Life type (Whole life / Term) and form controls use theme blue, not green */
.get-quote-page .form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.get-quote-page .form-check-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}
/* Unchecked: dark text on white for contrast */
.get-quote-page .modern-radio .form-check-label {
    color: #1e293b !important;
    background: #ffffff !important;
}
.get-quote-page .modern-radio .form-check-input:checked + .form-check-label {
    background: var(--color-primary) !important;
    border-color: var(--color-primary);
    color: #ffffff !important;
}
.get-quote-page .modern-radio .form-check-input:hover + .form-check-label {
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}
.get-quote-page .modern-radio .form-check-input:focus + .form-check-label {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}
.get-quote-page .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

/* Get-quote: Vehicle / Property / Life details – compact layout, input height matches select */
.get-quote-page .primary-details-block .row,
.get-quote-page .bundle-extra-fields .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    align-items: flex-end;
}
.get-quote-page .primary-details-block .row > [class*="col-"],
.get-quote-page .bundle-extra-fields .row > [class*="col-"] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.get-quote-page .primary-details-block .form-input,
.get-quote-page .bundle-extra-fields .form-input {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}
.get-quote-page .primary-details-block .form-input label,
.get-quote-page .bundle-extra-fields .form-input label {
    flex-shrink: 0;
}
.get-quote-page .primary-details-block .form-input input,
.get-quote-page .primary-details-block .form-input select,
.get-quote-page .bundle-extra-fields .form-input input,
.get-quote-page .bundle-extra-fields .form-input select {
    flex: 0 0 38px;
}
.get-quote-page .primary-details-block .form-input:last-child,
.get-quote-page .bundle-extra-fields .form-input:last-child {
    margin-bottom: 0;
}
.get-quote-page .primary-details-block .form-input input[type="text"],
.get-quote-page .primary-details-block .form-input input[type="tel"],
.get-quote-page .bundle-extra-fields .form-input input[type="text"],
.get-quote-page .bundle-extra-fields .form-input input[type="tel"] {
    height: 38px !important;
    min-height: 38px;
    padding: 0.375rem 0.75rem !important;
    font-size: 0.9375rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #fff;
    color: #212529;
}
.get-quote-page .primary-details-block .form-select,
.get-quote-page .bundle-extra-fields .form-select {
    height: 38px !important;
    padding: 0.375rem 0.75rem;
    font-size: 0.9375rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}
.get-quote-page .primary-details-block .form-input label,
.get-quote-page .bundle-extra-fields .form-input label {
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
}

/* Adjust spacing for radio button groups */
.d-flex.gap-4 {
    gap: 1rem !important;
}

.ml-0{
    margin-left: 0px !important;
}

.pt-40{
    padding-top: 40px;
}

/* White Paper Widget Styles */
.whitepaper-widget {
    background: linear-gradient(135deg, #001f53 0%, #003385 50%, #00153a 100%);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #025a4a;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.whitepaper-header {
    text-align: center;
    margin-bottom: 30px;
}

.whitepaper-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.whitepaper-icon i {
    font-size: 24px;
    color: #013830;
}

.whitepaper-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.whitepaper-subtitle {
    font-size: 14px;
    color: #e9ecef;
    line-height: 1.5;
    margin: 0;
}

.whitepaper-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

/* More space between email and consent in guide widget */
.whitepaper-form .form-group:first-child {
    margin-bottom: 28px;
}

.form-group input[type="email"] {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    color: #013830;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group input[type="email"]::placeholder {
    color: #6c757d;
    font-weight: 400;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3), 0 8px 32px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* Consent row: more space from email above and button below */
.whitepaper-widget .checkbox-group {
    margin-top: 20px;
    margin-bottom: 28px;
}

.whitepaper-error {
    color: #ffb3b3;
    font-size: 13px;
    margin-bottom: 12px;
    padding: 8px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: #e9ecef;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #00b011;
    border-color: #00b011;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.whitepaper-submit-btn {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(0, 71, 187, 0.7) 0%, rgba(0, 71, 187, 0.35) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0,58,153, 0.3); 

    position: relative;
    overflow: hidden;
}

.whitepaper-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.whitepaper-submit-btn:hover::before {
    left: 100%;
}

.whitepaper-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,58,153, 0.8);
}

.whitepaper-submit-btn:active {
    transform: translateY(-1px);
}

.whitepaper-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading i {
    animation: spin 1s linear infinite;
}

/* Loading State with Modern Animation */
.loading-state {
    text-align: center;
    padding: 40px 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-spinner {
    margin-bottom: 24px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.loading-text {
    color: #e9ecef;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Success State with Modern Animations */
.success-state {
    text-align: center;
    opacity: 0;
    transform: scale(0.95);
    animation: successFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes successFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ebook-mockup {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    opacity: 0;
    transform: scale(0.8) translateY(30px);
    animation: fadeInGrow 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.4s;
}

@keyframes fadeInGrow {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

.success-row {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-row:last-child {
    margin-bottom: 0;
}

.success-message {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: messageSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.6s;
}

@keyframes messageSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message h4 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.success-message p {
    color: #ffffff;
    font-size: 15px;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
}

.ebook-cover {
    width: 90px;
    height: 110px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #013830;
    text-align: center;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.4), 0 4px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.ebook-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #013830, #025a4a);
}

.ebook-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.ebook-subtitle {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 500;
}

.download-btn {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #00b011 0%, #009a0f 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    animation: downloadBtnAppear 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.8s;
    box-shadow: 0 8px 32px rgba(0, 176, 17, 0.3);
    position: relative;
    overflow: hidden;
}

@keyframes downloadBtnAppear {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 176, 17, 0.4);
}

.download-btn:active {
    transform: translateY(-1px);
}

.download-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .whitepaper-widget {
        padding: 20px;
    }
    .whitepaper-title {
        font-size: 24px;
    }
    .success-message {
        padding: 15px;
    }
}

/* Call Center Styles */
.lookup-section {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.lookup-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}
.results-section {
    display: none;
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.results-section.show {
    opacity: 1;
    transform: translateY(0);
}
.results-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.results-section.show .results-table {
    opacity: 1;
    transform: scale(1);
}
.results-table th {
    background: #f8f9fa;
    padding: 15px;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
}
.results-table td {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
}
.results-table tr:last-child td {
    border-bottom: none;
}
#lookup-form .form-control {
    height: 50px;
}
#lookup-form .btn {
    height: 50px;
}

/* Contact Center page – new theme (blue) matching header */
.contact-center-page.modern-design .big-title.v3,
.contact-center-page.modern-design .section-title .big-title {
    color: var(--color-dark-blue, #001f53) !important;
}
.contact-center-page.modern-design .title-pera {
    color: #475569 !important;
}
.contact-center-page.modern-design .lookup-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 31, 83, 0.12);
    box-shadow: 0 4px 20px rgba(0, 31, 83, 0.08);
}
.contact-center-page.modern-design .lookup-section h3 {
    color: var(--color-dark-blue, #001f53) !important;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}
.contact-center-page.modern-design #lookup-form .form-control {
    border: 2px solid rgba(0, 31, 83, 0.2);
    border-radius: 8px;
    color: var(--color-dark-blue-3, #1e293b);
}
.contact-center-page.modern-design #lookup-form .form-control:focus {
    border-color: var(--color-primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    outline: none;
}
.contact-center-page.modern-design #lookup-form .btn-primary,
.contact-center-page.modern-design .lookup-section .btn {
    background: linear-gradient(135deg, var(--color-dark-blue, #001f53) 0%, var(--color-primary, #2563eb) 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    color: #fff;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-center-page.modern-design #lookup-form .btn-primary:hover,
.contact-center-page.modern-design .lookup-section .btn:hover {
    background: linear-gradient(135deg, #000b21 0%, var(--color-dark-blue, #001f53) 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 31, 83, 0.3);
}
.contact-center-page.modern-design .results-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-top: 1.5rem;
    border: 1px solid rgba(0, 31, 83, 0.12);
    box-shadow: 0 4px 20px rgba(0, 31, 83, 0.08);
}
.contact-center-page.modern-design .results-section h3 {
    color: var(--color-dark-blue, #001f53) !important;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}
.contact-center-page.modern-design .results-table th {
    background: rgba(0, 31, 83, 0.08);
    color: var(--color-dark-blue, #001f53);
    border-bottom-color: rgba(0, 31, 83, 0.15);
}
.contact-center-page.modern-design .results-table td {
    color: var(--color-dark-blue-3, #1e293b);
    border-bottom-color: rgba(0, 31, 83, 0.08);
}
.contact-center-page.modern-design .results-output {
    background: linear-gradient(135deg, #f8fafc 0%, #fff 50%, #f8fafc 100%);
    border: 1px solid rgba(0, 31, 83, 0.1);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 31, 83, 0.06);
}
.contact-center-page.modern-design #no-results.alert-warning {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.25);
    color: var(--color-dark-blue-3, #1e293b);
}
.contact-center-page.modern-design .loading-container {
    color: var(--color-dark-blue, #001f53);
}
.contact-center-page.modern-design .loading-spinner::before {
    background: linear-gradient(45deg, var(--color-dark-blue, #001f53), var(--color-primary, #2563eb));
}
.contact-center-page.modern-design .loading-spinner::after {
    background: linear-gradient(45deg, var(--color-primary, #2563eb), var(--color-dark-blue, #001f53));
}
.contact-center-page.modern-design .spinner {
    border-top-color: var(--color-primary, #2563eb);
}

/* Contact Center – user-info-card theme (blue) */
.contact-center-page.modern-design .user-info-card {
    background: linear-gradient(135deg, var(--color-dark-blue, #001f53) 0%, var(--color-primary, #2563eb) 100%);
    box-shadow: 0 8px 32px rgba(0, 31, 83, 0.25);
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}
.contact-center-page.modern-design .user-avatar {
    background: linear-gradient(145deg, #fff, #eef4ff);
    color: var(--color-dark-blue, #001f53);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 31, 83, 0.15);
}
.contact-center-page.modern-design .user-status {
    background: rgba(255, 255, 255, 0.18);
}
.contact-center-page.modern-design .status-indicator.status-active {
    background: #60a5fa;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.6);
}
.contact-center-page.modern-design .metric-item {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 31, 83, 0.25) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 31, 83, 0.2);
}
.contact-center-page.modern-design .metric-item::before {
    background: linear-gradient(90deg, var(--color-primary, #2563eb), #60a5fa);
}
.contact-center-page.modern-design .metric-item:hover {
    background: linear-gradient(135deg, rgba(0, 31, 83, 0.4) 0%, rgba(37, 99, 235, 0.3) 100%);
    box-shadow: 0 8px 28px rgba(0, 31, 83, 0.35);
}
.contact-center-page.modern-design .metric-label i {
    color: #93c5fd;
}
.contact-center-page.modern-design .page-item {
    background: rgba(0, 31, 83, 0.25);
    border-left-color: var(--color-primary, #2563eb);
}
.contact-center-page.modern-design .page-item:hover {
    background: rgba(0, 31, 83, 0.4);
    border-left-color: #60a5fa;
}
.contact-center-page.modern-design .call-btn-no-conversion {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    box-shadow: 0 4px 16px rgba(185, 28, 28, 0.3);
}
.contact-center-page.modern-design .call-btn-no-conversion:hover {
    box-shadow: 0 6px 24px rgba(185, 28, 28, 0.4);
}
.contact-center-page.modern-design .call-btn-conversion {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}
.contact-center-page.modern-design .call-btn-conversion:hover {
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.45);
}

/* Modern Loading Animation */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    min-height: 200px;
}

.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.loading-spinner::before,
.loading-spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.loading-spinner::before {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #013830, #00b011);
    animation: spin 1.5s linear infinite, pulse 2s ease-in-out infinite;
}

.loading-spinner::after {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    background: linear-gradient(45deg, #00b011, #013830);
    animation: spin 1.5s linear infinite reverse, pulse 2s ease-in-out infinite 0.5s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.loading-text {
    font-size: 18px;
    font-weight: 500;
    color: #013830;
    text-align: center;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
}

.loading-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #013830;
    animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }
.loading-dot:nth-child(3) { animation-delay: 0s; }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth table row animations */
.results-table tbody tr {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRow 0.6s ease-out forwards;
}

.results-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.results-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.results-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.results-table tbody tr:nth-child(4) { animation-delay: 0.4s; }
.results-table tbody tr:nth-child(5) { animation-delay: 0.5s; }
.results-table tbody tr:nth-child(6) { animation-delay: 0.6s; }
.results-table tbody tr:nth-child(7) { animation-delay: 0.7s; }

@keyframes slideInRow {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form button loading state */
#lookup-button.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

#lookup-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: buttonSpin 1s linear infinite;
}

@keyframes buttonSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade out animation for hiding elements */
.fade-out {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* User Information Card Styles */
.user-info-card {
    background: linear-gradient(135deg, #013830 0%, #00b011 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 176, 17, 0.15);
    color: white;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.user-info-card.show {
    opacity: 1;
    transform: translateY(0);
}
.user-info-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #013830;
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    margin: 0 auto;
}
.user-details{
    margin:0 auto;
}
.user-details h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.user-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}
.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 8px rgba(0,255,136,0.5);
    animation: pulse 2s ease-in-out infinite;
}
.status-indicator.status-active {
    background: #00ff88;
    box-shadow: 0 0 8px rgba(0,255,136,0.5);
}
.status-indicator.status-inactive {
    background: #ff4444;
    box-shadow: 0 0 8px rgba(255,68,68,0.5);
}
.user-info-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
}
.metric-item {
    height: 100%;
    text-align: left;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.15) 100%);
    border-radius: 18px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
}
.metric-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00bfae, #7b1fa2);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.metric-item:hover {
    background: linear-gradient(135deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.25) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.metric-item:hover::before {
    opacity: 1;
}
.metric-value {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    letter-spacing: -0.5px;
    line-height: 1.2;
    border: none;
    background: none;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}
.metric-label {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.metric-label i {
    font-size: 1rem;
    color: #00bfae;
    opacity: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}
.recent-pages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}
.page-item {
    font-size: 0.85rem;
    color: #ffffff;
    padding: 10px 14px;
    margin-bottom: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    border-left: 3px solid #00bfae;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.page-item:hover {
    background: rgba(0,0,0,0.3);
    transform: translateX(3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    border-left-color: #7b1fa2;
}
@media (max-width: 768px) {
    .user-info-card {
        padding: 20px;
    }
    .user-info-left {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }
    .user-info-right {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .user-avatar {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    .user-details h4 {
        font-size: 1.5rem;
    }
}

/* Call Completion Buttons Row */
.call-completion-row {
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.call-completion-row.show {
    opacity: 1;
    transform: translateY(0);
}

.call-completion-row .row {
    align-items: center;
}

.call-btn {
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
}

.call-btn-no-conversion {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.3);
}

.call-btn-no-conversion:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(220, 53, 69, 0.4);
}

.call-btn-conversion {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);

}

.call-btn-conversion:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(40, 167, 69, 0.4);
}

.call-btn:active {
    transform: translateY(0);
}

.call-btn i {
    font-size: 1.2rem;
}

/* Responsive adjustments for call buttons */
@media (max-width: 768px) {
    .call-completion-row {
        padding: 20px;
    }
    
    .call-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .call-completion-row .row {
        gap: 10px;
    }
}

/* Credit Card Comparison Styles */
.card-comparison .card {
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
    box-shadow: 0 2px 12px rgba(123,31,162,0.08);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.card-comparison .card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(0,191,174,0.18);
    z-index: 2;
}

.card-comparison .card-body .icon-emoji {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.card-comparison .card .link-anime {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-comparison .card:hover .link-anime {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 4px 16px #7b1fa2a0;
}

.compare-cta-btn {
    background: linear-gradient(90deg, #00bfae 0%, #7b1fa2 100%);
    color: #fff !important;
    font-weight: 700;
    border-radius: 16px;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    box-shadow: 0 2px 12px #7b1fa233;
    border: none;
    transition: transform 0.18s cubic-bezier(.4,2,.6,1);
    cursor: pointer;
    margin-top: 1.5rem;
}

.compare-cta-btn:hover {
    animation: bounce 0.5s;
    transform: scale(1.07) translateY(-2px);
    box-shadow: 0 8px 32px #00bfae33;
}

/* Modal styles */
.modal-compare-bg {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0; 
    top: 0; 
    width: 100vw; 
    height: 100vh;
    background: rgba(0,0,0,0.35); 
    align-items: center; 
    justify-content: center;
}

.modal-compare-bg.active { 
    display: flex; 
}

.modal-compare {
    background: #fff; 
    border-radius: 24px; 
    max-width: 700px; 
    width: 95vw; 
    padding: 2.5rem 2rem 2rem 2rem;
    box-shadow: 0 8px 32px rgba(123,31,162,0.18);
    position: relative;
    animation: modalIn 0.3s cubic-bezier(.4,2,.6,1);
}

@keyframes modalIn {
    from { 
        transform: scale(0.92) translateY(40px); 
        opacity: 0; 
    }
    to { 
        transform: scale(1) translateY(0); 
        opacity: 1; 
    }
}

.modal-compare-close {
    position: absolute; 
    top: 18px; 
    right: 22px; 
    font-size: 2rem; 
    color: #7b1fa2; 
    background: none; 
    border: none; 
    cursor: pointer; 
    font-weight: 700; 
    line-height: 1;
}

.modal-compare-table th, 
.modal-compare-table td {
    padding: 0.7em 1em; 
    text-align: center; 
    border-bottom: 1px solid #e0e0e0;
}

.modal-compare-table th {
    background: #f3e5f5; 
    color: #7b1fa2; 
    font-weight: 700;
}

.modal-compare-table tr:last-child td { 
    border-bottom: none; 
}

/* Modern Compare Table Styles */
.modern-compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 rgba(0,191,174,0.10);
    margin-bottom: 0;
}

.modern-compare-table th, 
.modern-compare-table td {
    padding: 1.1em 1.2em;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.08em;
}

.modern-compare-table th {
    background: #e0f7fa;
    color: #00bfae;
    font-weight: 800;
    font-size: 1.15em;
}

.modern-compare-table tr:last-child td {
    border-bottom: none;
}

.modern-compare-table .check {
    color: #00bfae;
    font-size: 1.5em;
    font-weight: bold;
}

.modern-compare-table .cross {
    color: #e53935;
    font-size: 1.5em;
    font-weight: bold;
}

/* Credit Card SVG Wobble Animation */
.card-offer-click {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.card-offer-click:hover {
    transform: scale(1.02);
}

.card-offer-click.wobble {
    animation: cardWobble 0.6s ease-in-out;
}

@keyframes cardWobble {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-1deg); }
    75% { transform: translateX(5px) rotate(1deg); }
}

/* ========== Flow progress (Create Account → Quote Details → Account Success) ========== */
.flow-progress {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 1.5rem 0;
    border-bottom: 1px solid #cbd5e1;
    margin-bottom: 0;
}

.flow-progress-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Single progress bar behind circles */
.flow-progress-inner::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: #cbd5e1;
    z-index: 1;
}

.flow-progress-at-1::before {
    background: linear-gradient(to right, var(--color-dark-blue, #001f53) 0%, var(--color-dark-blue, #001f53) 25%, #cbd5e1 25%, #cbd5e1 100%);
}

.flow-progress-at-2::before {
    background: linear-gradient(to right, var(--color-dark-blue, #001f53) 0%, var(--color-dark-blue, #001f53) 50%, #cbd5e1 50%, #cbd5e1 100%);
}

.flow-progress-at-3::before {
    background: var(--color-dark-blue, #001f53);
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

.flow-step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid #94a3b8;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 31, 83, 0.08);
}

/* Completed: checkmark visible, number hidden; filled circle with high contrast */
.flow-step.completed .flow-step-circle {
    border-color: var(--color-dark-blue, #001f53);
    background: var(--color-dark-blue, #001f53);
    box-shadow: 0 4px 12px rgba(0, 31, 83, 0.25);
}

.flow-step.completed .flow-step-num {
    display: none !important;
}

.flow-step.completed .flow-step-check {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
}

.flow-step.completed .flow-step-check i {
    font-size: inherit;
}

/* Active (current step): number visible, check hidden; strong emphasis */
.flow-step.active .flow-step-circle {
    border-width: 2px;
    border-color: var(--color-dark-blue, #001f53);
    background: var(--color-dark-blue, #001f53);
    box-shadow: 0 4px 16px rgba(0, 31, 83, 0.35);
}

.flow-step.active .flow-step-num {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
}

.flow-step.active .flow-step-check {
    display: none !important;
}

/* Upcoming: number visible, check hidden; muted circle */
.flow-step:not(.completed):not(.active) .flow-step-num {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
}

.flow-step:not(.completed):not(.active) .flow-step-check {
    display: none !important;
}

.flow-step:not(.completed):not(.active) .flow-step-circle {
    background: #fff;
    border-color: #cbd5e1;
}

/* Default: hide check, show number (for active/upcoming) */
.flow-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-step-check {
    display: none;
}

.flow-step-label {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    text-align: center;
    max-width: 90px;
    line-height: 1.25;
    color: #64748b;
}

.flow-step.completed .flow-step-label {
    color: var(--color-dark-blue, #001f53);
    font-weight: 600;
}

.flow-step.active .flow-step-label {
    color: var(--color-dark-blue, #001f53);
    font-weight: 700;
}

/* Connector (visual only; progress bar is .flow-progress-inner::before) */
.flow-step-connector {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .flow-progress-inner {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .flow-step-circle {
        width: 42px;
        height: 42px;
    }

    .flow-step-label {
        font-size: 0.75rem;
        max-width: 72px;
    }
}

@media (max-width: 480px) {
    .flow-progress-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem;
        padding: 0.5rem 0;
    }

    .flow-progress-inner::before {
        display: none;
    }

    .flow-step {
        flex: 0 0 auto;
    }
}

/* ========== Account success (quote amount, account details, coverage) ========== */
.account-success-section-wrap {
    padding-top: 2rem;
}

.account-success-intro {
    margin-bottom: 2rem;
}

.account-success-intro .big-title {
    color: var(--color-dark-blue, #001f53);
}

.account-success-quote-amount {
    background: linear-gradient(135deg, var(--color-dark-blue, #001f53) 0%, #002a6e 100%);
    color: #fff;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 24px rgba(0, 31, 83, 0.25);
}

.account-success-quote-amount .quote-amount-label {
    font-size: 0.9375rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.account-success-quote-amount .quote-amount-value {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.account-success-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

.account-success-insurance-summary {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.account-success-insurance-summary .label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.account-success-insurance-summary .value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark-blue, #001f53);
}

.account-success-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark-blue, #001f53);
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.account-success-section-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0 0 1rem 0;
}

.account-success-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.account-success-shared .account-success-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem 1.25rem;
}

.account-success-shared .account-success-item {
    padding: 0.65rem 1rem;
}

@media (max-width: 768px) {
    .account-success-shared .account-success-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .account-success-shared .account-success-items {
        grid-template-columns: 1fr;
    }
}

.account-success-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.account-success-item-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.account-success-item-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark-blue-3, #1e293b);
}

.account-success-item-none .account-success-item-value {
    font-style: italic;
    color: #94a3b8;
}

.account-success-bundle-category {
    margin-top: 1.25rem;
}

.account-success-bundle-category:first-of-type {
    margin-top: 0;
}

.account-success-bundle-category-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark-blue-3, #1e293b);
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e2e8f0;
}

.account-success-bundle-category .account-success-items {
    margin-top: 0.5rem;
}

.account-success-detail-full {
    margin-bottom: 0.5rem;
}

.account-success-detail-full .value {
    font-weight: 600;
}

.account-success-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark-blue-3, #1e293b);
    margin: 0 0 0.75rem 0;
}

.account-success-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem 2rem;
}

.account-success-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.account-success-detail .label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.account-success-detail .value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark-blue-3, #1e293b);
}

.account-success-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding-top: 1rem;
}

.account-success-actions .btn {
    min-width: 180px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.account-success-actions .btn-primary {
    background: var(--color-dark-blue, #001f53);
    color: #fff;
    border: 2px solid var(--color-dark-blue, #001f53);
}

.account-success-actions .btn-primary:hover {
    background: #002a6e;
    color: #fff;
    border-color: #002a6e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 31, 83, 0.35);
}

.account-success-actions .btn-outline-primary {
    background: #fff;
    color: var(--color-dark-blue, #001f53);
    border: 2px solid var(--color-dark-blue, #001f53);
}

.account-success-actions .btn-outline-primary:hover {
    background: var(--color-dark-blue, #001f53);
    color: #fff;
    border-color: var(--color-dark-blue, #001f53);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 31, 83, 0.25);
}

/* Accepted quote popup (modal) on account page */
.accepted-quote-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.accepted-quote-popup {
    background: #fff;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    max-width: 540px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 31, 83, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.accepted-quote-popup-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark-blue-3, #1e293b);
    margin: 0 0 0.5rem 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.accepted-quote-popup-title .my-icon {
    color: var(--color-primary, #2563eb);
}

.accepted-quote-popup-list {
    list-style: none;
    margin: 0 0 0.5rem 0;
    padding: 0;
}

.accepted-quote-popup-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
}

.accepted-quote-popup-list li:last-child {
    border-bottom: none;
}

.accepted-quote-popup-list .label {
    font-weight: 600;
    color: #64748b;
    min-width: 10ch;
    font-size: 0.85rem;
}

.accepted-quote-popup-list .value {
    color: var(--color-dark-blue-3, #1e293b);
    font-weight: 500;
}

.accepted-quote-popup-includes {
    flex-direction: column;
    align-items: stretch;
    padding: 0.2rem 0;
    width: 100%;
    min-width: 0;
}

.accepted-quote-popup-includes .label {
    margin-bottom: 0.25rem;
}

.accepted-quote-popup-includes-content {
    font-size: 0.8rem;
    color: var(--color-dark-blue-3, #1e293b);
    width: 100%;
    min-width: 0;
}

.accepted-quote-popup .accepted-quote-includes-block {
    margin-bottom: 0.4rem;
    padding: 0.35rem 0.6rem;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    width: 100%;
    box-sizing: border-box;
}

.accepted-quote-popup .accepted-quote-includes-block:last-child {
    margin-bottom: 0;
}

.accepted-quote-popup .accepted-quote-includes-subtitle {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-dark-blue-3, #1e293b);
    margin: 0 0 0.2rem 0;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.15);
}

.accepted-quote-popup .accepted-quote-includes-product {
    font-size: 0.7rem;
    color: #64748b;
    margin: 0 0 0.25rem 0;
}

.accepted-quote-popup .accepted-quote-includes-items {
    gap: 0;
}

.accepted-quote-popup .accepted-quote-includes-item {
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.12rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.accepted-quote-popup .accepted-quote-includes-item:last-child {
    border-bottom: none;
}

.accepted-quote-popup .accepted-quote-includes-item .label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
}

.accepted-quote-popup .accepted-quote-includes-item .value {
    font-weight: 600;
    color: var(--color-dark-blue-3, #1e293b);
    text-align: right;
}

.accepted-quote-popup-done {
    flex-shrink: 0;
    margin-top: 0.5rem;
    display: block;
    width: 100%;
    padding: 0.65rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-primary, #2563eb);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.accepted-quote-popup-price {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
    padding: 0.5rem 0.75rem;
    margin: 0 0 0.35rem 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.02) 100%);
    border-radius: 8px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.accepted-quote-popup-price .label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.accepted-quote-popup-price .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary, #2563eb);
    letter-spacing: -0.02em;
}

.accepted-quote-popup-done:hover,
.accepted-quote-popup-done:focus {
    background: var(--color-dark-blue, #001f53);
    color: #fff;
    transform: translateY(-1px);
}

/* Accepted quote widget under Welcome Back on account page */
.accepted-quote-widget {
    background: linear-gradient(135deg, var(--color-light-blue-6, #eef4ff) 0%, rgba(37, 99, 235, 0.06) 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 31, 83, 0.06);
}

.accepted-quote-widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark-blue-3, #1e293b);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.accepted-quote-widget-title .my-icon {
    color: var(--color-primary, #2563eb);
}

.accepted-quote-widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accepted-quote-widget-item {
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 1px 6px rgba(0, 31, 83, 0.04);
}

.accepted-quote-widget-item-price {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary, #2563eb);
    margin-bottom: 0.25rem;
}

.accepted-quote-widget-item-meta {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.accepted-quote-widget-item-includes {
    margin: 1rem 0 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(37, 99, 235, 0.12);
    font-size: 0.95rem;
    color: var(--color-dark-blue-3, #1e293b);
    line-height: 1.5;
}

.accepted-quote-widget-item-includes .accepted-quote-includes-block {
    margin-bottom: 1.25rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.accepted-quote-widget-item-includes .accepted-quote-includes-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.accepted-quote-widget-item-includes .accepted-quote-includes-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-dark-blue, #001f53);
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.35rem;
}

.accepted-quote-widget-item-includes .accepted-quote-includes-product {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 0.5rem 0;
}

.accepted-quote-widget-item-includes .accepted-quote-includes-items {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.accepted-quote-widget-item-includes .accepted-quote-includes-item {
    font-size: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.accepted-quote-widget-item-includes .accepted-quote-includes-item:last-child {
    border-bottom: none;
}

.accepted-quote-widget-item-includes .accepted-quote-includes-item .label {
    font-weight: 600;
    color: #475569;
    flex-shrink: 0;
}

.accepted-quote-widget-item-includes .accepted-quote-includes-item .value {
    font-weight: 600;
    color: var(--color-dark-blue-3, #1e293b);
    text-align: right;
}

@media (max-width: 768px) {
    .account-success-quote-amount .quote-amount-value {
        font-size: 2rem;
    }
    .account-success-details-grid {
        grid-template-columns: 1fr;
    }
    .account-success-actions {
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
        gap: 1rem;
    }
    .account-success-actions .btn {
        width: 100%;
        max-width: 300px;
        min-width: 0;
    }
}

/* ========== Primary product details (Your quote details – get-quote) ========== */
.primary-details-header {
    margin-bottom: 20px;
}

.primary-details-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-dark-blue-3);
    margin: 0 0 6px 0;
}

.primary-details-subtitle {
    font-size: 0.95rem;
    color: var(--color-dark-blue-3);
    margin: 0;
    opacity: 0.85;
}

.primary-details-error {
    color: #c00;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    padding: 0;
}

/* ========== Bundle and Save (get-quote) – theme colors (no green) ========== */
.bundle-prompt {
    background: linear-gradient(135deg, var(--color-light-blue-6) 0%, var(--color-light-blue-7) 50%, #fff 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
    text-align: center;
    animation: bundleSectionFadeIn 0.5s ease-out;
}

.bundle-choice-error {
    color: #c00;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    padding: 0;
}

.bundle-prompt-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark-blue-3);
    margin: 0 0 18px 0;
    line-height: 1.4;
}

.bundle-prompt-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.bundle-prompt-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
}

.bundle-prompt-yes {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.bundle-prompt-yes:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.bundle-prompt-no {
    background: #fff;
    color: var(--color-dark-blue-3);
    border-color: #dee2e6;
}

.bundle-prompt-no:hover {
    background: #f8f9fa;
    border-color: var(--color-primary-lighter);
    color: var(--color-primary);
}

.bundle-and-save-section {
    background: linear-gradient(135deg, var(--color-light-blue-6) 0%, var(--color-light-blue-7) 50%, #fff 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
    animation: bundleSectionFadeIn 0.5s ease-out;
}

@keyframes bundleSectionFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.bundle-header {
    margin-bottom: 24px;
    text-align: center;
}

.bundle-header-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 16px;
    margin-bottom: 8px;
}

.bundle-set-up-later-btn {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    background: transparent;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bundle-set-up-later-btn:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
}

.bundle-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark-blue-3);
    margin: 0 0 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.bundle-title .my-icon {
    font-size: 1.4rem;
    color: var(--color-primary);
    animation: bundleIconPulse 2s ease-in-out infinite;
}

@keyframes bundleIconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.9; }
}

.bundle-subtitle {
    color: var(--color-dark-blue-3);
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.85;
}

.bundle-cards-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 8px;
}

.bundle-card {
    flex: 0 0 auto;
    min-width: 120px;
    max-width: 160px;
    background: #fff;
    border: 2px solid #dee2e6;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    animation: bundleCardReveal 0.4s ease-out backwards;
}

.bundle-card:nth-child(1) { animation-delay: 0.1s; }
.bundle-card:nth-child(3) { animation-delay: 0.2s; }
.bundle-card:nth-child(4) { animation-delay: 0.25s; }

@keyframes bundleCardReveal {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.bundle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

/* Primary and added cards: identical look (Your selection) */
.bundle-card.bundle-card-primary,
.bundle-card.bundle-card-added {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, #fff 0%, var(--color-light-blue-6) 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

.bundle-card.bundle-card-added {
    animation: bundleCardSlideIn 0.4s ease-out;
}

.bundle-card-primary .bundle-card-icon,
.bundle-card-added .bundle-card-icon {
    background: var(--gradient-primary);
    color: #fff;
}

@keyframes bundleCardSlideIn {
    from {
        transform: translateX(24px);
        opacity: 0.85;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.bundle-card-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-light-blue-7) 0%, var(--color-light-blue-8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.6rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.bundle-card:hover .bundle-card-icon {
    transform: scale(1.08);
}

.bundle-card-label {
    font-weight: 600;
    color: var(--color-dark-blue-3);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.bundle-card-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-primary);
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 4px;
}

.bundle-plus {
    color: var(--color-primary);
    font-size: 1.25rem;
    opacity: 0.8;
    flex-shrink: 0;
    animation: bundlePlusBounce 1.5s ease-in-out infinite;
}

.bundle-plus .my-icon {
    font-size: 1.2rem;
}

@keyframes bundlePlusBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.bundle-card-checkbox-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.bundle-card:not(.bundle-card-primary):not(.bundle-card-added) {
    cursor: pointer;
}

.bundle-add-toggle {
    display: block;
    cursor: pointer;
    margin: 0;
}

.bundle-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    padding: 6px 12px;
    border: 2px dashed var(--color-primary);
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bundle-add-toggle:hover .bundle-add-btn {
    background: rgba(37, 99, 235, 0.12);
    border-color: var(--color-primary-light);
}

.bundle-add-toggle input:checked + .bundle-add-btn {
    background: rgba(37, 99, 235, 0.15);
    border-style: solid;
    color: var(--color-primary);
}

.bundle-extra-fields {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    animation: bundleFieldsSlideIn 0.35s ease-out;
}

@keyframes bundleFieldsSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.bundle-fields-header {
    font-weight: 700;
    color: var(--color-dark-blue-3);
    margin-bottom: 16px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bundle-fields-header .my-icon {
    color: var(--color-primary);
}

/* Health stars (Rate your health) – horizontal, theme blue */
.health-stars {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-top: 6px;
}

.health-star {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #d1d5db;
    transition: color 0.2s ease, transform 0.2s ease;
}

.health-star .my-icon {
    font-size: 1.75rem;
}

.health-star:hover {
    color: var(--color-primary-lighter);
    transform: scale(1.1);
}

.health-star.filled,
.health-star.active {
    color: var(--color-primary);
}

.health-stars-label {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--color-dark-blue-3);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .bundle-cards-row {
        flex-direction: column;
        align-items: stretch;
    }
    .bundle-plus {
        transform: rotate(90deg);
    }
    .bundle-card {
        max-width: none;
    }
}

.custom-lazy-img {
    display: block;
    width: 100%;
    height: auto;
    background: #f3f3f3;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.custom-lazy-img.loaded {
    opacity: 1;
    background: none;
}

/* Specific heights for known images on index.html for above-the-fold stability */
.banner.v8 img.custom-lazy-img {
    min-height: 320px;
}
.cash-out-img img.custom-lazy-img {
    min-height: 200px;
    max-width: 100%;
}
.grow-with-peace-img img.custom-lazy-img,
.stay-control-img img.custom-lazy-img {
    min-height: 200px;
    max-width: 100%;
}
.bg-slide img.custom-lazy-img,
.bg-slider img.custom-lazy-img {
    min-height: 80px;
    max-width: 100%;
}
.partners-logo .swiper-slide img.custom-lazy-img {
    min-height: 60px;
    max-width: 100%;
}
.payment-under-left img.custom-lazy-img,
.pay img.custom-lazy-img {
    min-height: 150px;
    max-width: 100%;
}
.calculateGrowth img.custom-lazy-img {
    min-height: 100px;
    max-width: 100%;
}
.mask-img-2 img.custom-lazy-img {
    min-height: 120px;
    max-width: 100%;
}
.slide-1 img.custom-lazy-img,
.slide-2 img.custom-lazy-img,
.slide-3 img.custom-lazy-img {
    min-height: 100px;
    max-width: 100%;
}

/* Ensure images maintain their natural aspect ratio */
.custom-lazy-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.admin-section {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.admin-section .section-title {
    color: #013830;
    font-weight: 600;
    border-bottom: 2px solid #00b011;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

/* Admin Buttons */
.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.admin-btn:active {
    transform: translateY(0);
}

.admin-btn-primary {
    background: linear-gradient(135deg, #013830 0%, #00b011 100%);
    color: #fff;
}

.admin-btn-primary:hover {
    background: linear-gradient(135deg, #00b011 0%, #013830 100%);
    color: #fff;
}

.admin-btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
}

.admin-btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
    color: #fff;
}

/* Lookup Section */
.lookup-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.lookup-section h4 {
    color: #013830;
    font-weight: 600;
    margin-bottom: 20px;
}

.lookup-section .form-group {
    margin-bottom: 15px;
}

.lookup-section .form-control {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lookup-section .form-control:focus {
    border-color: #00b011;
    box-shadow: 0 0 0 0.2rem rgba(0, 176, 17, 0.25);
}

.lookup-section .btn {
    background: linear-gradient(135deg, #013830 0%, #00b011 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
}

.lookup-section .btn:hover {
    background: linear-gradient(135deg, #00b011 0%, #013830 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Results Section */
.results-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.results-section.show {
    opacity: 1;
    transform: translateY(0);
}

.results-section h4 {
    color: #013830;
    font-weight: 600;
    margin-bottom: 20px;
}

.results-output {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.6;
    max-height: 400px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    animation: subtleBackgroundShift 8s ease-in-out infinite;
}

.results-output::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes subtleBackgroundShift {
    0%, 100% {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    }
    50% {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Moments Events Section */
.moments-events-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.moments-events-section h4 {
    color: #013830;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Event Type Selection */
.event-type-selection .btn-group {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-type-selection .btn {
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 0;
}

.event-type-selection .btn:first-child {
    border-radius: 8px 0 0 8px;
}

.event-type-selection .btn:last-child {
    border-radius: 0 8px 8px 0;
}

.event-type-selection .btn-outline-primary {
    color: #013830;
    background: #fff;
    border: 2px solid #013830;
}

.event-type-selection .btn-outline-primary:hover,
.event-type-selection .btn-outline-primary:focus {
    background: #013830;
    color: #fff;
    border-color: #013830;
}

.event-type-selection .btn-check:checked + .btn-outline-primary {
    background: #013830;
    color: #fff;
    border-color: #013830;
}

/* Event Fields */
.event-fields .form-group {
    margin-bottom: 20px;
}

.event-fields label {
    font-weight: 600;
    color: #013830;
    margin-bottom: 8px;
    display: block;
}

.event-fields .form-control {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.event-fields .form-control:focus {
    border-color: #00b011;
    box-shadow: 0 0 0 0.2rem rgba(0, 176, 17, 0.25);
}

.event-fields .form-control:disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

/* Loading States */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #00b011;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loading-text {
    font-size: 16px;
    color: #013830;
    font-weight: 600;
    margin-bottom: 10px;
}

.loading-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.loading-dot {
    width: 8px;
    height: 8px;
    background: #00b011;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }
.loading-dot:nth-child(3) { animation-delay: 0s; }

/* Success/Error Messages */
.alert {
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .admin-btn {
        min-width: 150px;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .lookup-section,
    .moments-events-section {
        padding: 20px;
    }
    
    .event-type-selection .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .results-output {
        font-size: 11px;
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .admin-section {
        padding: 15px;
    }
    
    .admin-btn {
        min-width: 120px;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .lookup-section,
    .moments-events-section {
        padding: 15px;
    }
    
    .event-fields .row {
        flex-direction: column;
    }
    
    .event-fields .col-md-6 {
        width: 100%;
    }
}

/* Email Lookup Section */
.email-lookup-section {
    margin-bottom: 20px;
}

.email-lookup-section label {
    font-weight: 600;
    color: #013830;
    margin-bottom: 8px;
    display: block;
}

.email-lookup-section .input-group {
    display: flex;
    gap: 0;
}

.email-lookup-section .form-control {
    border: 2px solid #dee2e6;
    border-radius: 8px 0 0 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    flex: 1;
}

.email-lookup-section .form-control:focus {
    border-color: #00b011;
    box-shadow: 0 0 0 0.2rem rgba(0, 176, 17, 0.25);
    z-index: 2;
}

.email-lookup-section .btn {
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 12px 20px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #013830 0%, #00b011 100%);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.email-lookup-section .btn:hover {
    background: linear-gradient(135deg, #00b011 0%, #013830 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.email-lookup-section .btn.loading {
    pointer-events: none;
}

.email-lookup-section .btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: buttonSpin 1s linear infinite;
}

/* Event Fields Input Group */
.event-fields .input-group {
    display: flex;
    gap: 0;
}

.event-fields .input-group .form-control {
    border: 2px solid #dee2e6;
    border-radius: 8px 0 0 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    flex: 1;
    border-right: none;
}

.event-fields .input-group .form-control:focus {
    border-color: #00b011;
    box-shadow: 0 0 0 0.2rem rgba(0, 176, 17, 0.25);
    z-index: 2;
}

.event-fields .input-group .btn {
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 12px 20px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #013830 0%, #00b011 100%);
    transition: all 0.3s ease;
    white-space: nowrap;
    border-left: none;
}

.event-fields .input-group .btn:hover {
    background: linear-gradient(135deg, #00b011 0%, #013830 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.event-fields .input-group .btn.loading {
    pointer-events: none;
}

.event-fields .input-group .btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: buttonSpin 1s linear infinite;
}

@keyframes buttonSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Light Blue Background Variations based on #0047bb */

/* Very Light Blue - 10% opacity */
.bg-light-blue-10 {
    background-color: rgba(0, 71, 187, 0.1);
}

/* Light Blue - 20% opacity */
.bg-light-blue-20 {
    background-color: rgba(0, 71, 187, 0.2);
}

/* Medium Light Blue - 30% opacity */
.bg-light-blue-30 {
    background-color: rgba(0, 71, 187, 0.3);
}

/* Light Blue - 40% opacity */
.bg-light-blue-40 {
    background-color: rgba(0, 71, 187, 0.4);
}

/* Medium Blue - 50% opacity */
.bg-light-blue-50 {
    background-color: rgba(0, 71, 187, 0.5);
}

/* Alternative Light Blue using HSL */
.bg-light-blue-hsl {
    background-color: hsl(217, 100%, 37%);
}

/* Very Light Blue using HSL with high lightness */
.bg-light-blue-very-light {
    background-color: hsl(217, 100%, 95%);
}

/* Light Blue using HSL with medium lightness */
.bg-light-blue-medium {
    background-color: hsl(217, 100%, 85%);
}

/* Light Blue using HSL with light saturation */
.bg-light-blue-soft {
    background-color: hsl(217, 50%, 90%);
}

/* Gradient Light Blue Background */
.bg-light-blue-gradient {
    background: linear-gradient(135deg, rgba(0, 71, 187, 0.1) 0%, rgba(0, 71, 187, 0.05) 100%);
}

/* Light Blue Gradient with Different Opacities */
.bg-light-blue-gradient-30 {
    background: linear-gradient(135deg, rgba(0, 71, 187, 0.3) 0%, rgba(0, 71, 187, 0.15) 100%);
}

.bg-light-blue-gradient-50 {
    background: linear-gradient(135deg, rgba(0, 71, 187, 0.5) 0%, rgba(0, 71, 187, 0.25) 100%);
}

.bg-light-blue-gradient-70 {
    background: linear-gradient(135deg, rgba(0, 71, 187, 0.7) 0%, rgba(0, 71, 187, 0.35) 100%);
}

.bg-light-blue-gradient-mixed {
    background: linear-gradient(135deg, rgba(0, 71, 187, 0.8) 0%, rgba(0, 71, 187, 0.2) 100%);
}

/* Radial Light Blue Background */
.bg-light-blue-radial {
    background: radial-gradient(circle, rgba(0, 71, 187, 0.15) 0%, rgba(0, 71, 187, 0.05) 70%) !important;
}

/* Light Blue with White Blend */
.bg-light-blue-white {
    background-color: #e6f0ff;
}

/* Light Blue with Gray Blend */
.bg-light-blue-gray {
    background-color: #f0f4fa;
}

/* Light Blue with Cream Blend */
.bg-light-blue-cream {
    background-color: #f5f8ff;
}

/* Utility Classes for Different Use Cases */
.bg-hero-light-blue {
    background: linear-gradient(135deg, rgba(0, 71, 187, 0.08) 0%, rgba(0, 71, 187, 0.03) 100%);
}

.bg-section-light-blue {
    background-color: rgba(0, 71, 187, 0.05);
}

.bg-card-light-blue {
    background-color: rgba(0, 71, 187, 0.02);
    border: 1px solid rgba(0, 71, 187, 0.1);
}

.bg-alert-light-blue {
    background-color: rgba(0, 71, 187, 0.1);
    border-left: 4px solid #0047bb;
}

/* Hover Effects */
.bg-light-blue-hover:hover {
    background-color: rgba(0, 71, 187, 0.15);
    transition: background-color 0.3s ease;
}

/* Text Colors for Light Blue Backgrounds */
.text-on-light-blue {
    color: #0047bb;
}

.text-on-light-blue-dark {
    color: #003a99;
}

.text-on-light-blue-light {
    color: #1a5ccc;
}

/* Border Colors for Light Blue Backgrounds */
.border-light-blue {
    border-color: rgba(0, 71, 187, 0.2);
}

.border-light-blue-solid {
    border-color: #0047bb;
}

/* Shadow for Light Blue Backgrounds */
.shadow-light-blue {
    box-shadow: 0 4px 12px rgba(0, 71, 187, 0.15);
}

.shadow-light-blue-soft {
    box-shadow: 0 2px 8px rgba(0, 71, 187, 0.1);
}

/* Darker Blue Footer Styles */
.bg-footer-dark-blue {
    background-color: #001f53;
}

.bg-footer-dark-blue-2 {
    background-color: #00153a;
}

.bg-footer-dark-blue-3 {
    background-color: #000b21;
}

.bg-footer-dark-blue-4 {
    background-color: #000108;
}

/* Footer Gradient Variations */
.bg-footer-gradient-dark {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%);
}

.bg-footer-gradient-darker {
    background: linear-gradient(135deg, #00153a 0%, #000108 100%);
}

/* Footer Gradient with Opacity Variations */
.bg-footer-gradient-darker-80 {
    background: linear-gradient(135deg, rgba(0, 21, 58, 0.8) 0%, rgba(0, 1, 8, 0.8) 100%);
}

.bg-footer-gradient-darker-60 {
    background: linear-gradient(135deg, rgba(0, 21, 58, 0.6) 0%, rgba(0, 1, 8, 0.6) 100%);
}

.bg-footer-gradient-darker-40 {
    background: linear-gradient(135deg, rgba(0, 21, 58, 0.4) 0%, rgba(0, 1, 8, 0.4) 100%);
}

.bg-footer-gradient-darker-mixed {
    background: linear-gradient(135deg, rgba(0, 21, 58, 0.9) 0%, rgba(0, 1, 8, 0.5) 100%);
}

.bg-footer-gradient-blue {
    background: linear-gradient(135deg, #001f53 0%, #003385 50%, #00153a 100%);
}

/* Footer Text Colors */
.text-footer-light {
    color: #e6f0ff;
}

.text-footer-lighter {
    color: #f0f4fa;
}

.text-footer-white {
    color: #ffffff;
}

/* Footer Border Colors */
.border-footer-dark {
    border-color: #00153a;
}

.border-footer-darker {
    border-color: #000b21;
}

/* Footer Shadow */
.shadow-footer-dark {
    box-shadow: 0 4px 12px rgba(0, 31, 83, 0.3);
}

.shadow-footer-darker {
    box-shadow: 0 4px 12px rgba(0, 21, 58, 0.4);
}

/* Homeowners Insurance Page Styles */

/* Hero Image Container */
.hero-image-container {
    position: relative;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
    color: white;
}

.overlay-content h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.overlay-content p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Coverage Images */
.coverage-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.coverage-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Large Coverage Image */
.coverage-image-large {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.large-coverage-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px;
    color: white;
}

.image-overlay-content h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
}

.image-overlay-content p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

/* Coverage Options */
.coverage-options {
    /* margin-top: 30px; */
}

.coverage-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.coverage-option:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
}

.option-icon {
    margin:8px 15px 0px 0px;
    flex-shrink: 0;
}

.option-icon i {
    font-size: 24px;
    color: #1976d2;
}

.option-content h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.option-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Claims Process Steps - Modern Design */
.process-step {
    text-align: center;
    padding: 30px 25px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #1976d2 0%, #42a5f5 50%, #1976d2 100%);
    border-radius: 20px 20px 0 0;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(25, 118, 210, 0.1), 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: rgba(25, 118, 210, 0.2);
}

.step-image {
    margin-bottom: 25px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.1) 0%, rgba(66, 165, 245, 0.05) 100%);
    pointer-events: none;
}

.step-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.process-step:hover .step-img {
    transform: scale(1.02);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 20px;
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.3);
    position: relative;
    z-index: 2;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #1976d2, #42a5f5, #1976d2);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.15s ease;
}

.process-step:hover .step-number::before {
    opacity: 0.6;
}

.process-step h4 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.process-step p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
}

/* Process Step Animation - Removed for performance */

/* Claims Process Section Background */
.claims-process {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 50%, #f8f9fa 100%);
    position: relative;
}

.claims-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(25,118,210,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

/* Responsive adjustments for process steps */
@media (max-width: 768px) {
    .process-step {
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    
    .step-img {
        height: 140px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .process-step h4 {
        font-size: 18px;
    }
    
    .process-step p {
        font-size: 14px;
    }
}

/* Enhanced hover effects for process steps */
.process-step:hover .step-number {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.3);
}

.process-step:hover h4 {
    background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Additional Coverage Section */
.additional-coverage {
    background: #f8f9fa;
}

.coverage-details {
    /* padding: 40px 0; */
}

/* Blue Theme Overrides */
.bg-green, .bg-blue {
    background: #1976d2 !important;
}

.green-text {
    color: #1976d2 !important;
}

.link-anime.v24.round-border-sm.green-text {
    color: #1976d2 !important;
    border-color: #1976d2 !important;
}

.link-anime.v24.round-border-sm.green-text:hover {
    background: #1976d2 !important;
    color: white !important;
}

/* Button Styles */
.open-account.link-anime.v1.icon-1.round-border-sm {
    background: #001f53 !important;
    border-color: #001f53 !important;
    color: white !important;
}

.open-account.link-anime.v1.icon-1.round-border-sm:hover {
    background: #002f6c !important;
    border-color: #002f6c !important;
}

.start-now.link-anime.v24.round-border-sm {
    background: #1976d2 !important;
    border-color: #1976d2 !important;
    color: white !important;
}

.start-now.link-anime.v24.round-border-sm:hover {
    background: #1565c0 !important;
    border-color: #1565c0 !important;
}

/* Section Backgrounds */
.team-testimonial {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%) !important;
}

/* Card Hover Effects */
.perks-and-benefits-item:hover {
    border-color: #1976d2 !important;
}

.perks-and-benefits-item .perks-icon i {
    color: #1976d2 !important;
}

/* Success Cards */
.success-card {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.success-card:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Whitepaper Widget */
.whitepaper-widget {
    border: 2px solid #1976d2 !important;
}

.whitepaper-header {
    /* background: #1976d2 !important; */
    color: white !important;
}

.whitepaper-title {
    color: white !important;
}

.whitepaper-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

.whitepaper-form input[type="email"] {
    color: #333 !important;
    background: white !important;
    border: 1px solid #ddd !important;
}

.whitepaper-form input[type="email"]::placeholder {
    color: #666 !important;
}

.checkbox-label {
    color: #fff !important;
}

.checkbox-label input[type="checkbox"] + .checkmark {
    border: 2px solid #1976d2 !important;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #1976d2 !important;
}

.whitepaper-submit-btn {
    background: #1976d2 !important;
    border-color: #1976d2 !important;
    color: white !important;
}

.whitepaper-submit-btn:hover {
    background: #1565c0 !important;
    border-color: #1565c0 !important;
}

.loading-text {
    color: #333 !important;
}

/* Guide success confirmation – white text on all pages */
.success-state .success-message h4,
.whitepaper-widget .success-message h4 {
    color: #ffffff !important;
}

.success-state .success-message p,
.whitepaper-widget .success-message p {
    color: #ffffff !important;
}

.download-btn {
    background: #1976d2 !important;
    border-color: #1976d2 !important;
    color: white !important;
}

.download-btn:hover {
    background: #1565c0 !important;
    border-color: #1565c0 !important;
}

/* Ensure all text on light backgrounds is dark */
.section-title .big-title {
    color: #333 !important;
}

.section-title .title-para {
    color: #666 !important;
}

.list-card .card-head {
    color: #333 !important;
}

.list-card .card-para {
    color: #666 !important;
}

.perks-and-benefits-item .card-title {
    color: #333 !important;
}

.perks-and-benefits-item .card-para {
    color: #666 !important;
}

.coverage-details .big-title {
    color: #333 !important;
}

.coverage-details .title-para {
    color: #666 !important;
}

.coverage-option .option-content h4 {
    color: #333 !important;
}

.coverage-option .option-content p {
    color: #666 !important;
}

.process-step h4 {
    color: #333 !important;
}

.process-step p {
    color: #666 !important;
}

/* Additional Coverage Section - ensure dark text */
.additional-coverage .big-title {
    color: #333 !important;
}

.additional-coverage .title-para {
    color: #666 !important;
}

/* Claims Process Section - ensure dark text */
.claims-process .big-title {
    color: #333 !important;
}

.claims-process .title-para {
    color: #666 !important;
}

/* Footer CTA */
.cta {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-image {
        height: 200px;
    }
    
    .large-coverage-img {
        height: 250px;
    }
    
    .coverage-img {
        height: 150px;
    }
    
    .step-img {
        height: 120px;
    }
    
    .coverage-option {
        flex-direction: column;
        text-align: center;
    }
    
    .option-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Animation for process steps */
.process-step {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced hover effects */
.perks-and-benefits-item:hover .coverage-image {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.coverage-image-large:hover .large-coverage-img {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Features Cards – horizontal under header, next to widget; stack only on small screens */
.aboutTheTeam .aboutTheTeam-left-contant .features-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
}

.aboutTheTeam .aboutTheTeam-left-contant .features-cards .list-card {
    flex: 0 1 calc(50% - 0.5rem);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
}

/* Ensure card content stretches to fill available space */
.aboutTheTeam .aboutTheTeam-left-contant .features-cards .list-card .card-para {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

/* Stack cards vertically only on small screens */
@media (max-width: 576px) {
    .aboutTheTeam .aboutTheTeam-left-contant .features-cards .list-card {
        flex: 0 1 100%;
        width: 100%;
        min-width: 0;
        margin-bottom: 30px;
    }
    .aboutTheTeam .aboutTheTeam-left-contant .features-cards {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .aboutTheTeam .aboutTheTeam-left-contant .features-cards {
        gap: 20px;
    }
    .aboutTheTeam .aboutTheTeam-left-contant .features-cards .list-card {
        margin-bottom: 20px;
    }
}

/* Renters Insurance Page – theme match header/footer (brand blue #001f53) */

/* Hero section: same as header (dark blue gradient + white text/icons) */
.renters-insurance-page .renters-hero {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}

.renters-insurance-page .renters-hero .sub-title.v13 {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 1.0625rem !important;
}

.renters-insurance-page .renters-hero .big-title {
    color: #ffffff !important;
    font-weight: 700;
    font-size: clamp(2.25rem, 5.5vw, 3.25rem) !important;
    line-height: 1.2 !important;
}

.renters-insurance-page .renters-hero .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
    font-size: 1.25rem !important;
}

.renters-insurance-page .renters-hero .card-head {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.5rem !important;
}

.renters-insurance-page .renters-hero .card-para {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.55;
    font-size: 1.125rem !important;
}

/* Other sections on page: brand blue text on light background */
.renters-insurance-page .renters-section .sub-title.v13 {
    color: rgba(0, 47, 108, 0.95);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.renters-insurance-page .renters-section .big-title,
.renters-insurance-page .section-title .big-title,
.renters-insurance-page .section-title-center .big-title {
    color: rgba(0, 31, 83, 1);
    font-weight: 700;
}

.renters-insurance-page .renters-section .title-para,
.renters-insurance-page .section-title-center .title-para {
    color: rgba(0, 47, 108, 0.88);
    line-height: 1.6;
}

.renters-insurance-page .perks-and-benefits-item .card-title,
.renters-insurance-page .coverage-option h4,
.renters-insurance-page .process-step h4 {
    color: rgba(0, 31, 83, 1);
    font-weight: 600;
}

.renters-insurance-page .perks-and-benefits-item .card-para,
.renters-insurance-page .coverage-option p,
.renters-insurance-page .process-step p {
    color: rgba(0, 47, 108, 0.85);
    line-height: 1.55;
}

.renters-insurance-page .renters-hero .list-card i,
.renters-insurance-page .whitepaper-widget .whitepaper-icon i,
.renters-insurance-page .perks-and-benefits-item .perks-icon i,
.renters-insurance-page .coverage-option .option-icon i {
    color: #ffffff !important;
}

/* What's Covered section: white background, theme blue icons and text */
.renters-insurance-page .perks-and-benefits.renters-section {
    background: #ffffff !important;
}
.renters-insurance-page .perks-and-benefits.renters-section .perks-and-benefits-item {
    background: #ffffff !important;
    border-color: rgba(0, 31, 83, 0.12) !important;
}
.renters-insurance-page .perks-and-benefits.renters-section .perks-and-benefits-item .perks-icon i {
    color: #001f53 !important;
}
.renters-insurance-page .perks-and-benefits.renters-section .perks-and-benefits-item .perks-icon {
    background: transparent !important;
    border-color: transparent !important;
}
/* Override template’s teal (#79f4e4) circle – use theme blue */
.renters-insurance-page .perks-and-benefits.renters-section .perks-and-benefits-item .perks-icon::before,
.renters-insurance-page .perks-and-benefits.renters-section .perks-and-benefits-item .perks-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}
.renters-insurance-page .perks-and-benefits.renters-section .perks-and-benefits-item .perks-icon::after {
    opacity: 0.25 !important;
}
.renters-insurance-page .perks-and-benefits.renters-section .perks-and-benefits-item .card-title {
    color: #001f53 !important;
}
.renters-insurance-page .perks-and-benefits.renters-section .perks-and-benefits-item .card-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.renters-insurance-page .perks-and-benefits.renters-section .section-title-center .big-title {
    color: #001f53 !important;
}
.renters-insurance-page .perks-and-benefits.renters-section .section-title-center .title-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.renters-insurance-page .perks-and-benefits.renters-section .perks-and-benefits-item:hover {
    border-color: rgba(0, 31, 83, 0.35) !important;
}

.renters-insurance-page .whitepaper-widget .whitepaper-icon {
    background: rgba(0, 31, 83, 0.08);
    border-color: rgba(0, 63, 143, 0.2);
}

.renters-insurance-page .process-step .step-number {
    background: linear-gradient(135deg, #001f53 0%, #002f6c 100%);
    color: #ffffff;
}

/* Claims Process section: match header theme (dark blue + white text/icons) */
.renters-insurance-page .claims-process.renters-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.renters-insurance-page .claims-process.renters-section::before {
    display: none;
}
.renters-insurance-page .claims-process .section-title-center .big-title {
    color: #ffffff !important;
}
.renters-insurance-page .claims-process .section-title-center .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
}
.renters-insurance-page .claims-process .process-step {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none;
}
.renters-insurance-page .claims-process .process-step:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.renters-insurance-page .claims-process .process-step h4 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}
.renters-insurance-page .claims-process .process-step p {
    color: #ffffff !important;
    font-size: 1.0625rem !important;
    line-height: 1.55 !important;
}
.renters-insurance-page .claims-process .process-step .step-number {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.renters-insurance-page .claims-process .process-step:hover .step-number {
    background: rgba(255, 255, 255, 0.28) !important;
}
.renters-insurance-page .claims-process .process-step:hover h4 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    background: none;
}

.renters-insurance-page .interested-our-team.renters-section .interested-team-card {
    background: #001f53 !important;
    color: #001f53 !important;
    border: 1px solid rgba(0, 31, 83, 0.12);
    box-shadow: 0 4px 20px rgba(0, 31, 83, 0.08);
}

/* Frame text: white on dark blue card (match header theme) */
.renters-insurance-page .interested-our-team .interested-team-card .big-title,
.renters-insurance-page .interested-our-team .interested-team-card .section-title .big-title {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.75rem, 4.5vw, 2.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
}

.renters-insurance-page .interested-our-team .interested-team-card .title-para,
.renters-insurance-page .interested-our-team .interested-team-card .section-title .title-para {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 1.1875rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}

.renters-insurance-page .interested-our-team .interested-team-card .open-account {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.3) !important;
    font-weight: 600;
}

.renters-insurance-page .interested-our-team .interested-team-card .open-account:hover {
    background: linear-gradient(135deg, #002f6c 0%, #001f53 100%) !important;
    color: #ffffff !important;
}

.renters-insurance-page main .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    box-sizing: border-box;
}

.renters-insurance-page .team-testimonial.renters-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}

.renters-insurance-page .team-testimonial .section-title-white .big-title,
.renters-insurance-page .team-testimonial .section-title-white .title-para {
    color: #ffffff !important;
}

.renters-insurance-page .team-testimonial .section-title-white .title-para {
    opacity: 0.9;
}

/* Renters page: globe icon white (e.g. on dark sections) */
.renters-insurance-page .my-icon.icon-global {
    color: #ffffff !important;
}

/* ========== Homeowners Insurance Page – same theme/colors/fonts/padding as renters ========== */

/* Hero: dark blue gradient + white text/icons */
.homeowners-insurance-page .homeowners-hero {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.homeowners-insurance-page .homeowners-hero .sub-title.v13 {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 1.0625rem !important;
}
.homeowners-insurance-page .homeowners-hero .big-title {
    color: #ffffff !important;
    font-weight: 700;
    font-size: clamp(2.25rem, 5.5vw, 3.25rem) !important;
    line-height: 1.2 !important;
}
.homeowners-insurance-page .homeowners-hero .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
    font-size: 1.25rem !important;
}
.homeowners-insurance-page .homeowners-hero .card-head {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.5rem !important;
}
.homeowners-insurance-page .homeowners-hero .card-para {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.55;
    font-size: 1.125rem !important;
}

/* Other sections: brand blue text */
.homeowners-insurance-page .homeowners-section .sub-title.v13 {
    color: rgba(0, 47, 108, 0.95);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.homeowners-insurance-page .homeowners-section .big-title,
.homeowners-insurance-page .homeowners-section .section-title .big-title,
.homeowners-insurance-page .homeowners-section .section-title-center .big-title {
    color: rgba(0, 31, 83, 1);
    font-weight: 700;
}
.homeowners-insurance-page .homeowners-section .title-para,
.homeowners-insurance-page .homeowners-section .section-title-center .title-para {
    color: rgba(0, 47, 108, 0.88);
    line-height: 1.6;
}
.homeowners-insurance-page .perks-and-benefits-item .card-title,
.homeowners-insurance-page .coverage-option h4,
.homeowners-insurance-page .process-step h4 {
    color: rgba(0, 31, 83, 1);
    font-weight: 600;
}
.homeowners-insurance-page .perks-and-benefits-item .card-para,
.homeowners-insurance-page .coverage-option p,
.homeowners-insurance-page .process-step p {
    color: rgba(0, 47, 108, 0.85);
    line-height: 1.55;
}

/* Hero + dark sections: white icons */
.homeowners-insurance-page .homeowners-hero .list-card i,
.homeowners-insurance-page .whitepaper-widget .whitepaper-icon i,
.homeowners-insurance-page .perks-and-benefits-item .perks-icon i,
.homeowners-insurance-page .coverage-option .option-icon i {
    color: #ffffff !important;
}
.homeowners-insurance-page .my-icon.icon-global {
    color: #ffffff !important;
}

/* What's Covered: white bg, theme blue icons/text */
.homeowners-insurance-page .perks-and-benefits.homeowners-section {
    background: #ffffff !important;
}
.homeowners-insurance-page .perks-and-benefits.homeowners-section .perks-and-benefits-item {
    background: #ffffff !important;
    border-color: rgba(0, 31, 83, 0.12) !important;
}
.homeowners-insurance-page .perks-and-benefits.homeowners-section .perks-and-benefits-item .perks-icon i {
    color: #001f53 !important;
}
.homeowners-insurance-page .perks-and-benefits.homeowners-section .perks-and-benefits-item .perks-icon {
    background: transparent !important;
    border-color: transparent !important;
}
.homeowners-insurance-page .perks-and-benefits.homeowners-section .perks-and-benefits-item .perks-icon::before,
.homeowners-insurance-page .perks-and-benefits.homeowners-section .perks-and-benefits-item .perks-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}
.homeowners-insurance-page .perks-and-benefits.homeowners-section .perks-and-benefits-item .perks-icon::after {
    opacity: 0.25 !important;
}
.homeowners-insurance-page .perks-and-benefits.homeowners-section .perks-and-benefits-item .card-title {
    color: #001f53 !important;
}
.homeowners-insurance-page .perks-and-benefits.homeowners-section .perks-and-benefits-item .card-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.homeowners-insurance-page .perks-and-benefits.homeowners-section .section-title-center .big-title {
    color: #001f53 !important;
}
.homeowners-insurance-page .perks-and-benefits.homeowners-section .section-title-center .title-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.homeowners-insurance-page .perks-and-benefits.homeowners-section .perks-and-benefits-item:hover {
    border-color: rgba(0, 31, 83, 0.35) !important;
}

.homeowners-insurance-page .whitepaper-widget .whitepaper-icon {
    background: rgba(0, 31, 83, 0.08);
    border-color: rgba(0, 63, 143, 0.2);
}
.homeowners-insurance-page .process-step .step-number {
    background: linear-gradient(135deg, #001f53 0%, #002f6c 100%);
    color: #ffffff;
}

/* Claims Process: dark blue + white text */
.homeowners-insurance-page .claims-process.homeowners-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.homeowners-insurance-page .claims-process.homeowners-section::before {
    display: none;
}
.homeowners-insurance-page .claims-process .section-title-center .big-title {
    color: #ffffff !important;
}
.homeowners-insurance-page .claims-process .section-title-center .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
}
.homeowners-insurance-page .claims-process .process-step {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none;
}
.homeowners-insurance-page .claims-process .process-step:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.homeowners-insurance-page .claims-process .process-step h4 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}
.homeowners-insurance-page .claims-process .process-step p {
    color: #ffffff !important;
    font-size: 1.0625rem !important;
    line-height: 1.55 !important;
}
.homeowners-insurance-page .claims-process .process-step .step-number {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.homeowners-insurance-page .claims-process .process-step:hover .step-number {
    background: rgba(255, 255, 255, 0.28) !important;
}
.homeowners-insurance-page .claims-process .process-step:hover h4 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    background: none;
}

/* Get Quote card: dark blue bg, theme blue text */
.homeowners-insurance-page .interested-our-team.homeowners-section .interested-team-card {
    background: #001f53 !important;
    color: #001f53 !important;
    border: 1px solid rgba(0, 31, 83, 0.12);
    box-shadow: 0 4px 20px rgba(0, 31, 83, 0.08);
}
.homeowners-insurance-page .interested-our-team .interested-team-card .big-title,
.homeowners-insurance-page .interested-our-team .interested-team-card .section-title .big-title {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.75rem, 4.5vw, 2.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
}
.homeowners-insurance-page .interested-our-team .interested-team-card .title-para,
.homeowners-insurance-page .interested-our-team .interested-team-card .section-title .title-para {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 1.1875rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}
.homeowners-insurance-page .interested-our-team .interested-team-card .open-account {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.3) !important;
    font-weight: 600;
}
.homeowners-insurance-page .interested-our-team .interested-team-card .open-account:hover {
    background: linear-gradient(135deg, #002f6c 0%, #001f53 100%) !important;
    color: #ffffff !important;
}

.homeowners-insurance-page main .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    box-sizing: border-box;
}

/* Why choose / testimonial: dark blue */
.homeowners-insurance-page .team-testimonial.homeowners-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.homeowners-insurance-page .team-testimonial .section-title-white .big-title,
.homeowners-insurance-page .team-testimonial .section-title-white .title-para {
    color: #ffffff !important;
}
.homeowners-insurance-page .team-testimonial .section-title-white .title-para {
    opacity: 0.9;
}

/* Additional coverage options: theme blue text (section has light bg) */
.homeowners-insurance-page .additional-coverage.homeowners-section .big-title,
.homeowners-insurance-page .additional-coverage.homeowners-section .section-title .big-title {
    color: #001f53 !important;
}
.homeowners-insurance-page .additional-coverage.homeowners-section .coverage-option h4 {
    color: #001f53 !important;
}
.homeowners-insurance-page .additional-coverage.homeowners-section .coverage-option p {
    color: rgba(0, 47, 108, 0.9) !important;
}
.homeowners-insurance-page .additional-coverage.homeowners-section .coverage-option .option-icon i {
    color: #001f53 !important;
}
.homeowners-insurance-page .additional-coverage.homeowners-section .coverage-option .option-icon::before,
.homeowners-insurance-page .additional-coverage.homeowners-section .coverage-option .option-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}

/* ========== Auto Insurance Page – same theme/colors/fonts/padding as renters/homeowners ========== */

/* Hero: dark blue gradient + white text/icons */
.auto-insurance-page .auto-hero {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.auto-insurance-page .auto-hero .sub-title.v13 {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 1.0625rem !important;
}
.auto-insurance-page .auto-hero .big-title {
    color: #ffffff !important;
    font-weight: 700;
    font-size: clamp(2.25rem, 5.5vw, 3.25rem) !important;
    line-height: 1.2 !important;
}
.auto-insurance-page .auto-hero .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
    font-size: 1.25rem !important;
}
.auto-insurance-page .auto-hero .card-head {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.5rem !important;
}
.auto-insurance-page .auto-hero .card-para {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.55;
    font-size: 1.125rem !important;
}

/* Other sections: brand blue text */
.auto-insurance-page .auto-section .sub-title.v13 {
    color: rgba(0, 47, 108, 0.95);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.auto-insurance-page .auto-section .big-title,
.auto-insurance-page .auto-section .section-title .big-title,
.auto-insurance-page .auto-section .section-title-center .big-title {
    color: rgba(0, 31, 83, 1);
    font-weight: 700;
}
.auto-insurance-page .auto-section .title-para,
.auto-insurance-page .auto-section .section-title-center .title-para {
    color: rgba(0, 47, 108, 0.88);
    line-height: 1.6;
}
.auto-insurance-page .perks-and-benefits-item .card-title,
.auto-insurance-page .coverage-option h4,
.auto-insurance-page .process-step h4 {
    color: rgba(0, 31, 83, 1);
    font-weight: 600;
}
.auto-insurance-page .perks-and-benefits-item .card-para,
.auto-insurance-page .coverage-option p,
.auto-insurance-page .process-step p {
    color: rgba(0, 47, 108, 0.85);
    line-height: 1.55;
}

/* Hero + dark sections: white icons */
.auto-insurance-page .auto-hero .list-card i,
.auto-insurance-page .whitepaper-widget .whitepaper-icon i,
.auto-insurance-page .perks-and-benefits-item .perks-icon i,
.auto-insurance-page .coverage-option .option-icon i {
    color: #ffffff !important;
}
.auto-insurance-page .my-icon.icon-global {
    color: #ffffff !important;
}

/* What's Covered: white bg, theme blue icons/text */
.auto-insurance-page .perks-and-benefits.auto-section {
    background: #ffffff !important;
}
.auto-insurance-page .perks-and-benefits.auto-section .perks-and-benefits-item {
    background: #ffffff !important;
    border-color: rgba(0, 31, 83, 0.12) !important;
}
.auto-insurance-page .perks-and-benefits.auto-section .perks-and-benefits-item .perks-icon i {
    color: #001f53 !important;
}
.auto-insurance-page .perks-and-benefits.auto-section .perks-and-benefits-item .perks-icon {
    background: transparent !important;
    border-color: transparent !important;
}
.auto-insurance-page .perks-and-benefits.auto-section .perks-and-benefits-item .perks-icon::before,
.auto-insurance-page .perks-and-benefits.auto-section .perks-and-benefits-item .perks-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}
.auto-insurance-page .perks-and-benefits.auto-section .perks-and-benefits-item .perks-icon::after {
    opacity: 0.25 !important;
}
.auto-insurance-page .perks-and-benefits.auto-section .perks-and-benefits-item .card-title {
    color: #001f53 !important;
}
.auto-insurance-page .perks-and-benefits.auto-section .perks-and-benefits-item .card-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.auto-insurance-page .perks-and-benefits.auto-section .section-title-center .big-title {
    color: #001f53 !important;
}
.auto-insurance-page .perks-and-benefits.auto-section .section-title-center .title-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.auto-insurance-page .perks-and-benefits.auto-section .perks-and-benefits-item:hover {
    border-color: rgba(0, 31, 83, 0.35) !important;
}

.auto-insurance-page .whitepaper-widget .whitepaper-icon {
    background: rgba(0, 31, 83, 0.08);
    border-color: rgba(0, 63, 143, 0.2);
}
.auto-insurance-page .process-step .step-number {
    background: linear-gradient(135deg, #001f53 0%, #002f6c 100%);
    color: #ffffff;
}

/* Claims Process: dark blue + white text */
.auto-insurance-page .claims-process.auto-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.auto-insurance-page .claims-process.auto-section::before {
    display: none;
}
.auto-insurance-page .claims-process .section-title-center .big-title {
    color: #ffffff !important;
}
.auto-insurance-page .claims-process .section-title-center .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
}
.auto-insurance-page .claims-process .process-step {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none;
}
.auto-insurance-page .claims-process .process-step:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.auto-insurance-page .claims-process .process-step h4 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}
.auto-insurance-page .claims-process .process-step p {
    color: #ffffff !important;
    font-size: 1.0625rem !important;
    line-height: 1.55 !important;
}
.auto-insurance-page .claims-process .process-step .step-number {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.auto-insurance-page .claims-process .process-step:hover .step-number {
    background: rgba(255, 255, 255, 0.28) !important;
}
.auto-insurance-page .claims-process .process-step:hover h4 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    background: none;
}

/* Get Quote card: dark blue bg, theme blue text */
.auto-insurance-page .interested-our-team.auto-section .interested-team-card {
    background: #001f53 !important;
    color: #001f53 !important;
    border: 1px solid rgba(0, 31, 83, 0.12);
    box-shadow: 0 4px 20px rgba(0, 31, 83, 0.08);
}
.auto-insurance-page .interested-our-team .interested-team-card .big-title,
.auto-insurance-page .interested-our-team .interested-team-card .section-title .big-title {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.75rem, 4.5vw, 2.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
}
.auto-insurance-page .interested-our-team .interested-team-card .title-para,
.auto-insurance-page .interested-our-team .interested-team-card .section-title .title-para {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 1.1875rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}
.auto-insurance-page .interested-our-team .interested-team-card .open-account {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.3) !important;
    font-weight: 600;
}
.auto-insurance-page .interested-our-team .interested-team-card .open-account:hover {
    background: linear-gradient(135deg, #002f6c 0%, #001f53 100%) !important;
    color: #ffffff !important;
}

.auto-insurance-page main .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    box-sizing: border-box;
}

/* Why choose / testimonial: dark blue */
.auto-insurance-page .team-testimonial.auto-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.auto-insurance-page .team-testimonial .section-title-white .big-title,
.auto-insurance-page .team-testimonial .section-title-white .title-para {
    color: #ffffff !important;
}
.auto-insurance-page .team-testimonial .section-title-white .title-para {
    opacity: 0.9;
}

/* Additional coverage options: theme blue text */
.auto-insurance-page .additional-coverage.auto-section .big-title,
.auto-insurance-page .additional-coverage.auto-section .section-title .big-title {
    color: #001f53 !important;
}
.auto-insurance-page .additional-coverage.auto-section .coverage-option h4 {
    color: #001f53 !important;
}
.auto-insurance-page .additional-coverage.auto-section .coverage-option p {
    color: rgba(0, 47, 108, 0.9) !important;
}
.auto-insurance-page .additional-coverage.auto-section .coverage-option .option-icon i {
    color: #001f53 !important;
}
.auto-insurance-page .additional-coverage.auto-section .coverage-option .option-icon::before,
.auto-insurance-page .additional-coverage.auto-section .coverage-option .option-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}

/* ========== Term Life Insurance Page – theme/colors/icons/margins aligned with personal pages ========== */
.term-life-insurance-page .aboutTheTeam.term-life-hero {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.term-life-insurance-page .term-life-hero .section-title .big-title {
    color: #ffffff !important;
    font-weight: 700;
}
.term-life-insurance-page .term-life-hero .section-title .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
}
.term-life-insurance-page .term-life-hero .list-card .card-head {
    color: #ffffff !important;
    font-weight: 600;
}
.term-life-insurance-page .term-life-hero .list-card .card-para {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.55;
}
.term-life-insurance-page .term-life-hero .section-title .sub-title.v13 {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.term-life-insurance-page .term-life-section .section-title .sub-title.v13,
.term-life-insurance-page .term-life-section .section-title-center .sub-title.v13 {
    color: rgba(0, 47, 108, 0.95);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.term-life-insurance-page .term-life-section .section-title .big-title,
.term-life-insurance-page .term-life-section .section-title-center .big-title {
    color: rgba(0, 31, 83, 1);
    font-weight: 700;
}
.term-life-insurance-page .term-life-section .section-title-center .title-para,
.term-life-insurance-page .term-life-section .section-title .title-para {
    color: rgba(0, 47, 108, 0.88);
    line-height: 1.6;
}
.term-life-insurance-page .perks-and-benefits-item .card-title,
.term-life-insurance-page .coverage-option h4,
.term-life-insurance-page .process-step h4 {
    color: rgba(0, 31, 83, 1);
    font-weight: 600;
}
.term-life-insurance-page .perks-and-benefits-item .card-para,
.term-life-insurance-page .coverage-option p,
.term-life-insurance-page .process-step p {
    color: rgba(0, 47, 108, 0.85);
    line-height: 1.55;
}
.term-life-insurance-page .term-life-hero .list-card i,
.term-life-insurance-page .whitepaper-widget .whitepaper-icon i,
.term-life-insurance-page .perks-and-benefits-item .perks-icon i,
.term-life-insurance-page .coverage-option .option-icon i {
    color: #ffffff !important;
}
.term-life-insurance-page .perks-and-benefits.term-life-section {
    background: #ffffff !important;
}
.term-life-insurance-page .perks-and-benefits.term-life-section .perks-and-benefits-item {
    background: #ffffff !important;
    border-color: rgba(0, 31, 83, 0.12) !important;
}
.term-life-insurance-page .perks-and-benefits.term-life-section .perks-and-benefits-item .perks-icon i {
    color: #001f53 !important;
}
.term-life-insurance-page .perks-and-benefits.term-life-section .perks-and-benefits-item .perks-icon {
    background: transparent !important;
    border-color: transparent !important;
}
.term-life-insurance-page .perks-and-benefits.term-life-section .perks-and-benefits-item .perks-icon::before,
.term-life-insurance-page .perks-and-benefits.term-life-section .perks-and-benefits-item .perks-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}
.term-life-insurance-page .perks-and-benefits.term-life-section .perks-and-benefits-item .perks-icon::after {
    opacity: 0.25 !important;
}
.term-life-insurance-page .perks-and-benefits.term-life-section .perks-and-benefits-item .card-title {
    color: #001f53 !important;
}
.term-life-insurance-page .perks-and-benefits.term-life-section .perks-and-benefits-item .card-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.term-life-insurance-page .perks-and-benefits.term-life-section .section-title-center .big-title {
    color: #001f53 !important;
}
.term-life-insurance-page .perks-and-benefits.term-life-section .section-title-center .title-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.term-life-insurance-page .perks-and-benefits.term-life-section .perks-and-benefits-item:hover {
    border-color: rgba(0, 31, 83, 0.35) !important;
}
.term-life-insurance-page .whitepaper-widget .whitepaper-icon {
    background: rgba(0, 31, 83, 0.08);
    border-color: rgba(0, 63, 143, 0.2);
}
.term-life-insurance-page .team-testimonial.term-life-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.term-life-insurance-page .team-testimonial .section-title-white .big-title,
.term-life-insurance-page .team-testimonial .section-title-white .title-para {
    color: #ffffff !important;
}
.term-life-insurance-page .team-testimonial .section-title-white .title-para {
    opacity: 0.9;
}
.term-life-insurance-page .additional-coverage.term-life-section .big-title,
.term-life-insurance-page .additional-coverage.term-life-section .section-title .big-title {
    color: #001f53 !important;
}
.term-life-insurance-page .additional-coverage.term-life-section .coverage-option h4 {
    color: #001f53 !important;
}
.term-life-insurance-page .additional-coverage.term-life-section .coverage-option p {
    color: rgba(0, 47, 108, 0.9) !important;
}
.term-life-insurance-page .additional-coverage.term-life-section .coverage-option .option-icon i {
    color: #001f53 !important;
}
.term-life-insurance-page .additional-coverage.term-life-section .coverage-option .option-icon::before,
.term-life-insurance-page .additional-coverage.term-life-section .coverage-option .option-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}
.term-life-insurance-page .interested-our-team.term-life-section .interested-team-card {
    background: #001f53 !important;
    color: #001f53 !important;
    border: 1px solid rgba(0, 31, 83, 0.12);
    box-shadow: 0 4px 20px rgba(0, 31, 83, 0.08);
}
.term-life-insurance-page .interested-our-team .interested-team-card .section-title .big-title,
.term-life-insurance-page .interested-our-team .interested-team-card .big-title {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.75rem, 4.5vw, 2.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
}
.term-life-insurance-page .interested-our-team .interested-team-card .section-title .title-para,
.term-life-insurance-page .interested-our-team .interested-team-card .title-para {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 1.1875rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}
.term-life-insurance-page .interested-our-team .interested-team-card .open-account {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.3) !important;
    font-weight: 600;
}
.term-life-insurance-page .interested-our-team .interested-team-card .open-account:hover {
    background: linear-gradient(135deg, #002f6c 0%, #001f53 100%) !important;
    color: #ffffff !important;
}
.term-life-insurance-page main .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    box-sizing: border-box;
}

/* ========== Whole Life Insurance Page – theme/colors/icons/margins aligned with personal pages ========== */
.whole-life-insurance-page .aboutTheTeam.whole-life-hero {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.whole-life-insurance-page .whole-life-hero .section-title .big-title {
    color: #ffffff !important;
    font-weight: 700;
}
.whole-life-insurance-page .whole-life-hero .section-title .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
}
.whole-life-insurance-page .whole-life-hero .list-card .card-head {
    color: #ffffff !important;
    font-weight: 600;
}
.whole-life-insurance-page .whole-life-hero .list-card .card-para {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.55;
}
.whole-life-insurance-page .whole-life-hero .section-title .sub-title.v13 {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.whole-life-insurance-page .whole-life-section .section-title .sub-title.v13,
.whole-life-insurance-page .whole-life-section .section-title-center .sub-title.v13 {
    color: rgba(0, 47, 108, 0.95);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.whole-life-insurance-page .whole-life-section .section-title .big-title,
.whole-life-insurance-page .whole-life-section .section-title-center .big-title {
    color: rgba(0, 31, 83, 1);
    font-weight: 700;
}
.whole-life-insurance-page .whole-life-section .section-title-center .title-para,
.whole-life-insurance-page .whole-life-section .section-title .title-para {
    color: rgba(0, 47, 108, 0.88);
    line-height: 1.6;
}
.whole-life-insurance-page .perks-and-benefits-item .card-title,
.whole-life-insurance-page .coverage-option h4,
.whole-life-insurance-page .process-step h4 {
    color: rgba(0, 31, 83, 1);
    font-weight: 600;
}
.whole-life-insurance-page .perks-and-benefits-item .card-para,
.whole-life-insurance-page .coverage-option p,
.whole-life-insurance-page .process-step p {
    color: rgba(0, 47, 108, 0.85);
    line-height: 1.55;
}
.whole-life-insurance-page .whole-life-hero .list-card i,
.whole-life-insurance-page .whitepaper-widget .whitepaper-icon i,
.whole-life-insurance-page .perks-and-benefits-item .perks-icon i,
.whole-life-insurance-page .coverage-option .option-icon i {
    color: #ffffff !important;
}
.whole-life-insurance-page .perks-and-benefits.whole-life-section {
    background: #ffffff !important;
}
.whole-life-insurance-page .perks-and-benefits.whole-life-section .perks-and-benefits-item {
    background: #ffffff !important;
    border-color: rgba(0, 31, 83, 0.12) !important;
}
.whole-life-insurance-page .perks-and-benefits.whole-life-section .perks-and-benefits-item .perks-icon i {
    color: #001f53 !important;
}
.whole-life-insurance-page .perks-and-benefits.whole-life-section .perks-and-benefits-item .perks-icon {
    background: transparent !important;
    border-color: transparent !important;
}
.whole-life-insurance-page .perks-and-benefits.whole-life-section .perks-and-benefits-item .perks-icon::before,
.whole-life-insurance-page .perks-and-benefits.whole-life-section .perks-and-benefits-item .perks-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}
.whole-life-insurance-page .perks-and-benefits.whole-life-section .perks-and-benefits-item .perks-icon::after {
    opacity: 0.25 !important;
}
.whole-life-insurance-page .perks-and-benefits.whole-life-section .perks-and-benefits-item .card-title {
    color: #001f53 !important;
}
.whole-life-insurance-page .perks-and-benefits.whole-life-section .perks-and-benefits-item .card-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.whole-life-insurance-page .perks-and-benefits.whole-life-section .section-title-center .big-title {
    color: #001f53 !important;
}
.whole-life-insurance-page .perks-and-benefits.whole-life-section .section-title-center .title-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.whole-life-insurance-page .perks-and-benefits.whole-life-section .perks-and-benefits-item:hover {
    border-color: rgba(0, 31, 83, 0.35) !important;
}
.whole-life-insurance-page .whitepaper-widget .whitepaper-icon {
    background: rgba(0, 31, 83, 0.08);
    border-color: rgba(0, 63, 143, 0.2);
}
.whole-life-insurance-page .team-testimonial.whole-life-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.whole-life-insurance-page .team-testimonial .section-title-white .big-title,
.whole-life-insurance-page .team-testimonial .section-title-white .title-para {
    color: #ffffff !important;
}
.whole-life-insurance-page .team-testimonial .section-title-white .title-para {
    opacity: 0.9;
}
.whole-life-insurance-page .additional-coverage.whole-life-section .big-title,
.whole-life-insurance-page .additional-coverage.whole-life-section .section-title .big-title {
    color: #001f53 !important;
}
.whole-life-insurance-page .additional-coverage.whole-life-section .coverage-option h4 {
    color: #001f53 !important;
}
.whole-life-insurance-page .additional-coverage.whole-life-section .coverage-option p {
    color: rgba(0, 47, 108, 0.9) !important;
}
.whole-life-insurance-page .additional-coverage.whole-life-section .coverage-option .option-icon i {
    color: #001f53 !important;
}
.whole-life-insurance-page .additional-coverage.whole-life-section .coverage-option .option-icon::before,
.whole-life-insurance-page .additional-coverage.whole-life-section .coverage-option .option-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}
.whole-life-insurance-page .interested-our-team.whole-life-section .interested-team-card {
    background: #001f53 !important;
    color: #001f53 !important;
    border: 1px solid rgba(0, 31, 83, 0.12);
    box-shadow: 0 4px 20px rgba(0, 31, 83, 0.08);
}
.whole-life-insurance-page .interested-our-team .interested-team-card .section-title .big-title,
.whole-life-insurance-page .interested-our-team .interested-team-card .big-title {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.75rem, 4.5vw, 2.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
}
.whole-life-insurance-page .interested-our-team .interested-team-card .section-title .title-para,
.whole-life-insurance-page .interested-our-team .interested-team-card .title-para {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 1.1875rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}
.whole-life-insurance-page .interested-our-team .interested-team-card .open-account {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.3) !important;
    font-weight: 600;
}
.whole-life-insurance-page .interested-our-team .interested-team-card .open-account:hover {
    background: linear-gradient(135deg, #002f6c 0%, #001f53 100%) !important;
    color: #ffffff !important;
}
.whole-life-insurance-page main .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    box-sizing: border-box;
}

/* ========== Business General Liability Page – theme/colors/icons/margins aligned with fixed pages ========== */
.business-general-liability-page .aboutTheTeam.general-liability-hero {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.business-general-liability-page .general-liability-hero .section-title .big-title {
    color: #ffffff !important;
    font-weight: 700;
}
.business-general-liability-page .general-liability-hero .section-title .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
}
.business-general-liability-page .general-liability-hero .list-card .card-head {
    color: #ffffff !important;
    font-weight: 600;
}
.business-general-liability-page .general-liability-hero .list-card .card-para {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.55;
}
.business-general-liability-page .general-liability-hero .section-title .sub-title.v13 {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.business-general-liability-page .general-liability-section .section-title .sub-title.v13,
.business-general-liability-page .general-liability-section .section-title-center .sub-title.v13 {
    color: rgba(0, 47, 108, 0.95);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.business-general-liability-page .general-liability-section .section-title .big-title,
.business-general-liability-page .general-liability-section .section-title-center .big-title {
    color: rgba(0, 31, 83, 1);
    font-weight: 700;
}
.business-general-liability-page .general-liability-section .section-title-center .title-para,
.business-general-liability-page .general-liability-section .section-title .title-para {
    color: rgba(0, 47, 108, 0.88);
    line-height: 1.6;
}
.business-general-liability-page .perks-and-benefits-item .card-title,
.business-general-liability-page .coverage-option h4,
.business-general-liability-page .process-step h4 {
    color: rgba(0, 31, 83, 1);
    font-weight: 600;
}
.business-general-liability-page .perks-and-benefits-item .card-para,
.business-general-liability-page .coverage-option p,
.business-general-liability-page .process-step p {
    color: rgba(0, 47, 108, 0.85);
    line-height: 1.55;
}
.business-general-liability-page .general-liability-hero .list-card i,
.business-general-liability-page .whitepaper-widget .whitepaper-icon i,
.business-general-liability-page .perks-and-benefits-item .perks-icon i,
.business-general-liability-page .coverage-option .option-icon i {
    color: #ffffff !important;
}
.business-general-liability-page .perks-and-benefits.general-liability-section {
    background: #ffffff !important;
}
.business-general-liability-page .perks-and-benefits.general-liability-section .perks-and-benefits-item {
    background: #ffffff !important;
    border-color: rgba(0, 31, 83, 0.12) !important;
}
.business-general-liability-page .perks-and-benefits.general-liability-section .perks-and-benefits-item .perks-icon i {
    color: #001f53 !important;
}
.business-general-liability-page .perks-and-benefits.general-liability-section .perks-and-benefits-item .perks-icon {
    background: transparent !important;
    border-color: transparent !important;
}
.business-general-liability-page .perks-and-benefits.general-liability-section .perks-and-benefits-item .perks-icon::before,
.business-general-liability-page .perks-and-benefits.general-liability-section .perks-and-benefits-item .perks-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}
.business-general-liability-page .perks-and-benefits.general-liability-section .perks-and-benefits-item .perks-icon::after {
    opacity: 0.25 !important;
}
.business-general-liability-page .perks-and-benefits.general-liability-section .perks-and-benefits-item .card-title {
    color: #001f53 !important;
}
.business-general-liability-page .perks-and-benefits.general-liability-section .perks-and-benefits-item .card-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.business-general-liability-page .perks-and-benefits.general-liability-section .section-title-center .big-title {
    color: #001f53 !important;
}
.business-general-liability-page .perks-and-benefits.general-liability-section .section-title-center .title-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.business-general-liability-page .perks-and-benefits.general-liability-section .perks-and-benefits-item:hover {
    border-color: rgba(0, 31, 83, 0.35) !important;
}
.business-general-liability-page .whitepaper-widget .whitepaper-icon {
    background: rgba(0, 31, 83, 0.08);
    border-color: rgba(0, 63, 143, 0.2);
}
.business-general-liability-page .team-testimonial.general-liability-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
/* Uniform size for all three success cards (Why choose Teal Insurance?) */
.business-general-liability-page .team-testimonial .success-cards {
    display: flex;
    align-items: stretch;
    gap: 30px;
}
.business-general-liability-page .team-testimonial .success-cards .success-card {
    flex: 1 1 0;
    min-width: 0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.business-general-liability-page .team-testimonial .success-cards .success-card .card-number {
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
    min-height: 1em;
}
.business-general-liability-page .team-testimonial .section-title-white .big-title,
.business-general-liability-page .team-testimonial .section-title-white .title-para {
    color: #ffffff !important;
}
.business-general-liability-page .team-testimonial .section-title-white .title-para {
    opacity: 0.9;
}
.business-general-liability-page .additional-coverage.general-liability-section .big-title,
.business-general-liability-page .additional-coverage.general-liability-section .section-title .big-title {
    color: #001f53 !important;
}
.business-general-liability-page .additional-coverage.general-liability-section .coverage-option h4 {
    color: #001f53 !important;
}
.business-general-liability-page .additional-coverage.general-liability-section .coverage-option p {
    color: rgba(0, 47, 108, 0.9) !important;
}
.business-general-liability-page .additional-coverage.general-liability-section .coverage-option .option-icon i {
    color: #001f53 !important;
}
.business-general-liability-page .additional-coverage.general-liability-section .coverage-option .option-icon::before,
.business-general-liability-page .additional-coverage.general-liability-section .coverage-option .option-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}
.business-general-liability-page .claims-process.general-liability-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.business-general-liability-page .claims-process.general-liability-section .section-title-center .big-title {
    color: #ffffff !important;
}
.business-general-liability-page .claims-process.general-liability-section .section-title-center .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
}
.business-general-liability-page .claims-process .process-step {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none;
}
.business-general-liability-page .claims-process .process-step:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.business-general-liability-page .claims-process .process-step h4 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}
.business-general-liability-page .claims-process .process-step:hover h4 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}
.business-general-liability-page .claims-process .process-step p {
    color: #ffffff !important;
    line-height: 1.55;
}
.business-general-liability-page .claims-process .process-step .step-number {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.business-general-liability-page .claims-process .process-step:hover .step-number {
    background: rgba(255, 255, 255, 0.28) !important;
}
/* Uniform size for all four process-step widgets (Simple Claims Process) */
.business-general-liability-page .claims-process .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.business-general-liability-page .claims-process .process-step {
    height: 100%;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.business-general-liability-page .claims-process .process-step .step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    font-size: 20px;
    flex-shrink: 0;
}
.business-general-liability-page .interested-our-team.general-liability-section .interested-team-card {
    background: #001f53 !important;
    color: #001f53 !important;
    border: 1px solid rgba(0, 31, 83, 0.12);
    box-shadow: 0 4px 20px rgba(0, 31, 83, 0.08);
}
.business-general-liability-page .interested-our-team .interested-team-card .section-title .big-title,
.business-general-liability-page .interested-our-team .interested-team-card .big-title {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.75rem, 4.5vw, 2.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
}
.business-general-liability-page .interested-our-team .interested-team-card .section-title .title-para,
.business-general-liability-page .interested-our-team .interested-team-card .title-para {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 1.1875rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}
.business-general-liability-page .interested-our-team .interested-team-card .open-account {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.3) !important;
    font-weight: 600;
}
.business-general-liability-page .interested-our-team .interested-team-card .open-account:hover {
    background: linear-gradient(135deg, #002f6c 0%, #001f53 100%) !important;
    color: #ffffff !important;
}
.business-general-liability-page main .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    box-sizing: border-box;
}

/* Gap between header and first section – same as personal-homeowners (104px) */
.business-general-liability-page #main-wrapper {
    padding-top: 104px !important;
}

/* ========== Business Commercial Property Page – theme/colors/icons/margins aligned with general-liability ========== */
.business-commercial-property-page #main-wrapper {
    padding-top: 104px !important;
}
.business-commercial-property-page .aboutTheTeam.commercial-property-hero {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.business-commercial-property-page .commercial-property-hero .section-title .big-title {
    color: #ffffff !important;
    font-weight: 700;
}
.business-commercial-property-page .commercial-property-hero .section-title .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
}
.business-commercial-property-page .commercial-property-hero .list-card .card-head {
    color: #ffffff !important;
    font-weight: 600;
}
.business-commercial-property-page .commercial-property-hero .list-card .card-para {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.55;
}
.business-commercial-property-page .commercial-property-hero .section-title .sub-title.v13 {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.business-commercial-property-page .commercial-property-section .section-title .sub-title.v13,
.business-commercial-property-page .commercial-property-section .section-title-center .sub-title.v13 {
    color: rgba(0, 47, 108, 0.95);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.business-commercial-property-page .commercial-property-section .section-title .big-title,
.business-commercial-property-page .commercial-property-section .section-title-center .big-title {
    color: rgba(0, 31, 83, 1);
    font-weight: 700;
}
.business-commercial-property-page .commercial-property-section .section-title-center .title-para,
.business-commercial-property-page .commercial-property-section .section-title .title-para {
    color: rgba(0, 47, 108, 0.88);
    line-height: 1.6;
}
.business-commercial-property-page .perks-and-benefits-item .card-title,
.business-commercial-property-page .coverage-option h4,
.business-commercial-property-page .process-step h4 {
    color: rgba(0, 31, 83, 1);
    font-weight: 600;
}
.business-commercial-property-page .perks-and-benefits-item .card-para,
.business-commercial-property-page .coverage-option p,
.business-commercial-property-page .process-step p {
    color: rgba(0, 47, 108, 0.85);
    line-height: 1.55;
}
.business-commercial-property-page .commercial-property-hero .list-card i,
.business-commercial-property-page .whitepaper-widget .whitepaper-icon i,
.business-commercial-property-page .perks-and-benefits-item .perks-icon i,
.business-commercial-property-page .coverage-option .option-icon i {
    color: #ffffff !important;
}
.business-commercial-property-page .perks-and-benefits.commercial-property-section {
    background: #ffffff !important;
}
.business-commercial-property-page .perks-and-benefits.commercial-property-section .perks-and-benefits-item {
    background: #ffffff !important;
    border-color: rgba(0, 31, 83, 0.12) !important;
}
.business-commercial-property-page .perks-and-benefits.commercial-property-section .perks-and-benefits-item .perks-icon i {
    color: #001f53 !important;
}
.business-commercial-property-page .perks-and-benefits.commercial-property-section .perks-and-benefits-item .perks-icon {
    background: transparent !important;
    border-color: transparent !important;
}
.business-commercial-property-page .perks-and-benefits.commercial-property-section .perks-and-benefits-item .perks-icon::before,
.business-commercial-property-page .perks-and-benefits.commercial-property-section .perks-and-benefits-item .perks-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}
.business-commercial-property-page .perks-and-benefits.commercial-property-section .perks-and-benefits-item .perks-icon::after {
    opacity: 0.25 !important;
}
.business-commercial-property-page .perks-and-benefits.commercial-property-section .perks-and-benefits-item .card-title {
    color: #001f53 !important;
}
.business-commercial-property-page .perks-and-benefits.commercial-property-section .perks-and-benefits-item .card-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.business-commercial-property-page .perks-and-benefits.commercial-property-section .section-title-center .big-title {
    color: #001f53 !important;
}
.business-commercial-property-page .perks-and-benefits.commercial-property-section .section-title-center .title-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.business-commercial-property-page .perks-and-benefits.commercial-property-section .perks-and-benefits-item:hover {
    border-color: rgba(0, 31, 83, 0.35) !important;
}
.business-commercial-property-page .whitepaper-widget .whitepaper-icon {
    background: rgba(0, 31, 83, 0.08);
    border-color: rgba(0, 63, 143, 0.2);
}
.business-commercial-property-page .team-testimonial.commercial-property-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.business-commercial-property-page .team-testimonial .success-cards {
    display: flex;
    align-items: stretch;
    gap: 30px;
}
.business-commercial-property-page .team-testimonial .success-cards .success-card {
    flex: 1 1 0;
    min-width: 0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.business-commercial-property-page .team-testimonial .success-cards .success-card .card-number {
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
    min-height: 1em;
}
.business-commercial-property-page .team-testimonial .section-title-white .big-title,
.business-commercial-property-page .team-testimonial .section-title-white .title-para {
    color: #ffffff !important;
}
.business-commercial-property-page .team-testimonial .section-title-white .title-para {
    opacity: 0.9;
}
.business-commercial-property-page .additional-coverage.commercial-property-section .big-title,
.business-commercial-property-page .additional-coverage.commercial-property-section .section-title .big-title {
    color: #001f53 !important;
}
.business-commercial-property-page .additional-coverage.commercial-property-section .coverage-option h4 {
    color: #001f53 !important;
}
.business-commercial-property-page .additional-coverage.commercial-property-section .coverage-option p {
    color: rgba(0, 47, 108, 0.9) !important;
}
.business-commercial-property-page .additional-coverage.commercial-property-section .coverage-option .option-icon i {
    color: #001f53 !important;
}
.business-commercial-property-page .additional-coverage.commercial-property-section .coverage-option .option-icon::before,
.business-commercial-property-page .additional-coverage.commercial-property-section .coverage-option .option-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}
.business-commercial-property-page .claims-process.commercial-property-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.business-commercial-property-page .claims-process.commercial-property-section .section-title-center .big-title {
    color: #ffffff !important;
}
.business-commercial-property-page .claims-process.commercial-property-section .section-title-center .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
}
.business-commercial-property-page .claims-process .process-step {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none;
}
.business-commercial-property-page .claims-process .process-step:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.business-commercial-property-page .claims-process .process-step h4 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}
.business-commercial-property-page .claims-process .process-step:hover h4 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}
.business-commercial-property-page .claims-process .process-step p {
    color: #ffffff !important;
    line-height: 1.55;
}
.business-commercial-property-page .claims-process .process-step .step-number {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.business-commercial-property-page .claims-process .process-step:hover .step-number {
    background: rgba(255, 255, 255, 0.28) !important;
}
.business-commercial-property-page .claims-process .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.business-commercial-property-page .claims-process .process-step {
    height: 100%;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.business-commercial-property-page .claims-process .process-step .step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    font-size: 20px;
    flex-shrink: 0;
}
.business-commercial-property-page .interested-our-team.commercial-property-section .interested-team-card {
    background: #001f53 !important;
    color: #001f53 !important;
    border: 1px solid rgba(0, 31, 83, 0.12);
    box-shadow: 0 4px 20px rgba(0, 31, 83, 0.08);
}
.business-commercial-property-page .interested-our-team .interested-team-card .section-title .big-title,
.business-commercial-property-page .interested-our-team .interested-team-card .big-title {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.75rem, 4.5vw, 2.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
}
.business-commercial-property-page .interested-our-team .interested-team-card .section-title .title-para,
.business-commercial-property-page .interested-our-team .interested-team-card .title-para {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 1.1875rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}
.business-commercial-property-page .interested-our-team .interested-team-card .open-account {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.3) !important;
    font-weight: 600;
}
.business-commercial-property-page .interested-our-team .interested-team-card .open-account:hover {
    background: linear-gradient(135deg, #002f6c 0%, #001f53 100%) !important;
    color: #ffffff !important;
}
.business-commercial-property-page main .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    box-sizing: border-box;
}

/* ========== Business Commercial Auto Page – theme/colors/icons/margins aligned with other business pages ========== */
.business-commercial-auto-page #main-wrapper {
    padding-top: 104px !important;
}
.business-commercial-auto-page .aboutTheTeam.commercial-auto-hero {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.business-commercial-auto-page .commercial-auto-hero .section-title .big-title {
    color: #ffffff !important;
    font-weight: 700;
}
.business-commercial-auto-page .commercial-auto-hero .section-title .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
}
.business-commercial-auto-page .commercial-auto-hero .list-card .card-head {
    color: #ffffff !important;
    font-weight: 600;
}
.business-commercial-auto-page .commercial-auto-hero .list-card .card-para {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.55;
}
.business-commercial-auto-page .commercial-auto-hero .section-title .sub-title.v13 {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.business-commercial-auto-page .commercial-auto-section .section-title .sub-title.v13,
.business-commercial-auto-page .commercial-auto-section .section-title-center .sub-title.v13 {
    color: rgba(0, 47, 108, 0.95);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.business-commercial-auto-page .commercial-auto-section .section-title .big-title,
.business-commercial-auto-page .commercial-auto-section .section-title-center .big-title {
    color: rgba(0, 31, 83, 1);
    font-weight: 700;
}
.business-commercial-auto-page .commercial-auto-section .section-title-center .title-para,
.business-commercial-auto-page .commercial-auto-section .section-title .title-para {
    color: rgba(0, 47, 108, 0.88);
    line-height: 1.6;
}
.business-commercial-auto-page .perks-and-benefits-item .card-title,
.business-commercial-auto-page .coverage-option h4,
.business-commercial-auto-page .process-step h4 {
    color: rgba(0, 31, 83, 1);
    font-weight: 600;
}
.business-commercial-auto-page .perks-and-benefits-item .card-para,
.business-commercial-auto-page .coverage-option p,
.business-commercial-auto-page .process-step p {
    color: rgba(0, 47, 108, 0.85);
    line-height: 1.55;
}
.business-commercial-auto-page .commercial-auto-hero .list-card i,
.business-commercial-auto-page .whitepaper-widget .whitepaper-icon i,
.business-commercial-auto-page .perks-and-benefits-item .perks-icon i,
.business-commercial-auto-page .coverage-option .option-icon i {
    color: #ffffff !important;
}
.business-commercial-auto-page .perks-and-benefits.commercial-auto-section {
    background: #ffffff !important;
}
.business-commercial-auto-page .perks-and-benefits.commercial-auto-section .perks-and-benefits-item {
    background: #ffffff !important;
    border-color: rgba(0, 31, 83, 0.12) !important;
}
.business-commercial-auto-page .perks-and-benefits.commercial-auto-section .perks-and-benefits-item .perks-icon i {
    color: #001f53 !important;
}
.business-commercial-auto-page .perks-and-benefits.commercial-auto-section .perks-and-benefits-item .perks-icon {
    background: transparent !important;
    border-color: transparent !important;
}
.business-commercial-auto-page .perks-and-benefits.commercial-auto-section .perks-and-benefits-item .perks-icon::before,
.business-commercial-auto-page .perks-and-benefits.commercial-auto-section .perks-and-benefits-item .perks-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}
.business-commercial-auto-page .perks-and-benefits.commercial-auto-section .perks-and-benefits-item .perks-icon::after {
    opacity: 0.25 !important;
}
.business-commercial-auto-page .perks-and-benefits.commercial-auto-section .perks-and-benefits-item .card-title {
    color: #001f53 !important;
}
.business-commercial-auto-page .perks-and-benefits.commercial-auto-section .perks-and-benefits-item .card-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.business-commercial-auto-page .perks-and-benefits.commercial-auto-section .section-title-center .big-title {
    color: #001f53 !important;
}
.business-commercial-auto-page .perks-and-benefits.commercial-auto-section .section-title-center .title-para {
    color: rgba(0, 47, 108, 0.9) !important;
}
.business-commercial-auto-page .perks-and-benefits.commercial-auto-section .perks-and-benefits-item:hover {
    border-color: rgba(0, 31, 83, 0.35) !important;
}
.business-commercial-auto-page .whitepaper-widget .whitepaper-icon {
    background: rgba(0, 31, 83, 0.08);
    border-color: rgba(0, 63, 143, 0.2);
}
.business-commercial-auto-page .team-testimonial.commercial-auto-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.business-commercial-auto-page .team-testimonial .success-cards {
    display: flex;
    align-items: stretch;
    gap: 30px;
}
.business-commercial-auto-page .team-testimonial .success-cards .success-card {
    flex: 1 1 0;
    min-width: 0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.business-commercial-auto-page .team-testimonial .success-cards .success-card .card-number {
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
    min-height: 1em;
}
.business-commercial-auto-page .team-testimonial .section-title-white .big-title,
.business-commercial-auto-page .team-testimonial .section-title-white .title-para {
    color: #ffffff !important;
}
.business-commercial-auto-page .team-testimonial .section-title-white .title-para {
    opacity: 0.9;
}
.business-commercial-auto-page .additional-coverage.commercial-auto-section .big-title,
.business-commercial-auto-page .additional-coverage.commercial-auto-section .section-title .big-title {
    color: #001f53 !important;
}
.business-commercial-auto-page .additional-coverage.commercial-auto-section .coverage-option h4 {
    color: #001f53 !important;
}
.business-commercial-auto-page .additional-coverage.commercial-auto-section .coverage-option p {
    color: rgba(0, 47, 108, 0.9) !important;
}
.business-commercial-auto-page .additional-coverage.commercial-auto-section .coverage-option .option-icon i {
    color: #001f53 !important;
}
.business-commercial-auto-page .additional-coverage.commercial-auto-section .coverage-option .option-icon::before,
.business-commercial-auto-page .additional-coverage.commercial-auto-section .coverage-option .option-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}
.business-commercial-auto-page .claims-process.commercial-auto-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.business-commercial-auto-page .claims-process.commercial-auto-section .section-title-center .big-title {
    color: #ffffff !important;
}
.business-commercial-auto-page .claims-process.commercial-auto-section .section-title-center .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
}
.business-commercial-auto-page .claims-process .process-step {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none;
}
.business-commercial-auto-page .claims-process .process-step:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.business-commercial-auto-page .claims-process .process-step h4 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}
.business-commercial-auto-page .claims-process .process-step:hover h4 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}
.business-commercial-auto-page .claims-process .process-step p {
    color: #ffffff !important;
    line-height: 1.55;
}
.business-commercial-auto-page .claims-process .process-step .step-number {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.business-commercial-auto-page .claims-process .process-step:hover .step-number {
    background: rgba(255, 255, 255, 0.28) !important;
}
.business-commercial-auto-page .claims-process .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.business-commercial-auto-page .claims-process .process-step {
    height: 100%;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.business-commercial-auto-page .claims-process .process-step .step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    font-size: 20px;
    flex-shrink: 0;
}
.business-commercial-auto-page .interested-our-team.commercial-auto-section .interested-team-card {
    background: #001f53 !important;
    color: #001f53 !important;
    border: 1px solid rgba(0, 31, 83, 0.12);
    box-shadow: 0 4px 20px rgba(0, 31, 83, 0.08);
}
.business-commercial-auto-page .interested-our-team .interested-team-card .section-title .big-title,
.business-commercial-auto-page .interested-our-team .interested-team-card .big-title {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.75rem, 4.5vw, 2.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
}
.business-commercial-auto-page .interested-our-team .interested-team-card .section-title .title-para,
.business-commercial-auto-page .interested-our-team .interested-team-card .title-para {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 1.1875rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}
.business-commercial-auto-page .interested-our-team .interested-team-card .open-account {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.3) !important;
    font-weight: 600;
}
.business-commercial-auto-page .interested-our-team .interested-team-card .open-account:hover {
    background: linear-gradient(135deg, #002f6c 0%, #001f53 100%) !important;
    color: #ffffff !important;
}
.business-commercial-auto-page main .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    box-sizing: border-box;
}

/* ========== Fleet Savings Calculator (Commercial Auto) – advanced look, gradients, fonts, borders ========== */
.business-commercial-auto-page .fleet-calculator-section {
    background: linear-gradient(160deg, #ffffff 0%, #f0f7ff 18%, #dbeafe 45%, rgba(0, 31, 83, 0.06) 75%, rgba(0, 31, 83, 0.12) 100%) !important;
    position: relative;
    overflow: hidden;
}
.business-commercial-auto-page .fleet-calculator-section .section-title-center .big-title {
    color: #001f53 !important;
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    letter-spacing: -0.02em;
}
.business-commercial-auto-page .fleet-calculator-section .section-title-center .title-para {
    color: rgba(0, 31, 83, 0.85) !important;
    line-height: 1.65;
    font-size: 1.0625rem;
}
.business-commercial-auto-page .fleet-calculator-widget {
    background: linear-gradient(165deg, #ffffff 0%, #fafcff 30%, rgba(219, 234, 254, 0.4) 100%) !important;
    border-radius: 20px;
    box-shadow: 0 20px 60px -15px rgba(0, 31, 83, 0.18), 0 0 0 1px rgba(0, 31, 83, 0.06);
    padding: 3rem;
    border: 1px solid rgba(0, 31, 83, 0.1);
}
.business-commercial-auto-page .fleet-calculator-section .calculator-header {
    text-align: center;
    margin-bottom: 3rem;
}
.business-commercial-auto-page .fleet-calculator-section .calculator-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #001f53 0%, #002f6c 50%, #000b21 100%) !important;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 31, 83, 0.35);
}
.business-commercial-auto-page .fleet-calculator-section .calculator-icon svg {
    color: #ffffff !important;
    fill: #ffffff;
}
.business-commercial-auto-page .fleet-calculator-section .calculator-header h3 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: #001f53 !important;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.business-commercial-auto-page .fleet-calculator-section .calculator-header p {
    color: rgba(0, 31, 83, 0.8) !important;
    font-size: 1.0625rem;
    line-height: 1.55;
}
/* Grid: 3 rows, 2 columns – left column (3 fields) | right column (3 fields), balanced margins */
.business-commercial-auto-page .fleet-calculator-section .fleet-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 2.5rem;
    row-gap: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.business-commercial-auto-page .fleet-calculator-section .fleet-col-left {
    grid-column: 1;
}
.business-commercial-auto-page .fleet-calculator-section .fleet-col-right {
    grid-column: 2;
}
@media (max-width: 768px) {
    .business-commercial-auto-page .fleet-calculator-section .fleet-form-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 1.25rem;
        margin-bottom: 2rem;
    }
    .business-commercial-auto-page .fleet-calculator-section .fleet-col-left,
    .business-commercial-auto-page .fleet-calculator-section .fleet-col-right {
        grid-column: 1;
    }
}
.business-commercial-auto-page .fleet-calculator-section .modern-input-group {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin: 0;
}
.business-commercial-auto-page .fleet-calculator-section .modern-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #001f53 !important;
    font-size: 1rem;
}
.business-commercial-auto-page .fleet-calculator-section .required-asterisk {
    color: #b91c1c;
    font-weight: 700;
}
.business-commercial-auto-page .fleet-calculator-section .input-wrapper,
.business-commercial-auto-page .fleet-calculator-section .select-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
}
/* Bigger inputs and selects – same size, full width of grid cell */
.business-commercial-auto-page .fleet-calculator-section .modern-input,
.business-commercial-auto-page .fleet-calculator-section .modern-select {
    width: 100%;
    min-height: 62px !important;
    padding: 0 1.25rem;
    border: 1px solid rgba(0, 31, 83, 0.16);
    border-radius: 14px;
    font-size: 1.0625rem;
    font-weight: 500;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    color: #001f53;
    box-shadow: 0 1px 3px rgba(0, 31, 83, 0.06);
}
.business-commercial-auto-page .fleet-calculator-section .input-wrapper .modern-input {
    padding-left: 2.75rem;
}
/* Dropdown: room for arrow, nice open state */
.business-commercial-auto-page .fleet-calculator-section .select-wrapper .modern-select {
    padding: 0 3rem 0 1.25rem;
    cursor: pointer;
}
.business-commercial-auto-page .fleet-calculator-section .modern-select option {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #001f53;
    background: #ffffff;
}
.business-commercial-auto-page .fleet-calculator-section .modern-input:focus,
.business-commercial-auto-page .fleet-calculator-section .modern-select:focus {
    outline: none;
    border-color: #001f53;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 31, 83, 0.12), 0 2px 8px rgba(0, 31, 83, 0.08);
}
.business-commercial-auto-page .fleet-calculator-section .currency-symbol {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 31, 83, 0.75);
    font-weight: 600;
    font-size: 1.125rem;
    z-index: 2;
}
.business-commercial-auto-page .fleet-calculator-section .select-wrapper::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #001f53;
    pointer-events: none;
}
.business-commercial-auto-page .fleet-calculator-section .error-message {
    color: #b91c1c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}
.business-commercial-auto-page .fleet-calculator-section .modern-input.error,
.business-commercial-auto-page .fleet-calculator-section .modern-select.error {
    border-color: #b91c1c !important;
    background: #fef2f2 !important;
}
.business-commercial-auto-page .fleet-calculator-section .form-actions {
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0;
}
.business-commercial-auto-page .fleet-calculator-section .modern-calculate-btn {
    background: linear-gradient(135deg, #001f53 0%, #002f6c 50%, #000b21 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.4);
    padding: 1rem 2.5rem;
    min-height: 56px;
    border-radius: 14px;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 240px;
    box-shadow: 0 4px 14px rgba(0, 31, 83, 0.3);
}
.business-commercial-auto-page .fleet-calculator-section .modern-calculate-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #002f6c 0%, #001f53 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px -6px rgba(0, 31, 83, 0.4);
    transform: translateY(-2px);
}
.business-commercial-auto-page .fleet-calculator-section .modern-calculate-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}
.business-commercial-auto-page .fleet-calculator-section .btn-content,
.business-commercial-auto-page .fleet-calculator-section .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
/* Results panel: larger, more spacing, advanced look */
.business-commercial-auto-page .fleet-calculator-section .modern-results {
    background: linear-gradient(165deg, #ffffff 0%, #f8fbff 25%, #eef6ff 50%, rgba(219, 234, 254, 0.5) 75%, rgba(0, 31, 83, 0.04) 100%) !important;
    border: 1px solid rgba(0, 31, 83, 0.12);
    border-radius: 24px;
    padding: 3.25rem 3.5rem;
    margin-top: 2.5rem;
    box-shadow: 0 16px 48px -12px rgba(0, 31, 83, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.business-commercial-auto-page .fleet-calculator-section .modern-results.fade-in {
    animation: fleetFadeInUp 0.5s ease-out;
}
@keyframes fleetFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .results-header {
    text-align: center;
    margin-bottom: 2.25rem;
    padding-bottom: 0;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .results-header .success-icon {
    display: block;
    margin: 0 auto 1.25rem;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 31, 83, 0.2), 0 8px 24px rgba(0, 31, 83, 0.12);
    border-radius: 50%;
    padding: 0;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .results-header .success-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .results-header h3 {
    color: #001f53 !important;
    font-weight: 700;
    font-size: clamp(1.625rem, 4vw, 2rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .results-header p {
    color: rgba(0, 31, 83, 0.8) !important;
    font-size: 1.0625rem;
    line-height: 1.55;
    margin: 0;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .success-icon {
    color: #001f53;
    filter: drop-shadow(0 4px 12px rgba(0, 31, 83, 0.2));
    line-height: 0;
    box-sizing: border-box;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .success-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .success-icon circle {
    fill: #001f53 !important;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .success-icon path {
    stroke: #ffffff;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .results-content {
    margin-bottom: 2.5rem;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .savings-highlight {
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%) !important;
    border: 1px solid rgba(0, 31, 83, 0.1);
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0, 31, 83, 0.08);
    padding: 2.75rem 2.5rem;
    margin-bottom: 2rem;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .savings-amount {
    display: block;
    margin-bottom: 0.5rem;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .savings-amount,
.business-commercial-auto-page .fleet-calculator-section .modern-results .savings-amount .amount,
.business-commercial-auto-page .fleet-calculator-section .modern-results .savings-amount .currency {
    color: #001f53 !important;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .savings-amount .currency {
    font-size: clamp(2rem, 5vw, 2.75rem);
    vertical-align: top;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .savings-amount .amount {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .savings-amount .period {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: rgba(0, 31, 83, 0.75) !important;
    margin-left: 0.15em;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .savings-label {
    color: rgba(0, 31, 83, 0.85) !important;
    font-weight: 600;
    font-size: 1.0625rem;
    letter-spacing: 0.01em;
    margin-top: 0.25rem;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .breakdown-item {
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%) !important;
    border: 1px solid rgba(0, 31, 83, 0.08);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 31, 83, 0.06);
    padding: 1.5rem 1.25rem;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .breakdown-item.total-savings {
    background: linear-gradient(135deg, #001f53 0%, #002f6c 50%, #000b21 100%) !important;
    color: #ffffff !important;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 31, 83, 0.4);
    padding: 1.75rem 1.25rem;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .breakdown-item.total-savings .breakdown-label,
.business-commercial-auto-page .fleet-calculator-section .modern-results .breakdown-item.total-savings .breakdown-value {
    color: #ffffff !important;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .breakdown-label {
    color: rgba(0, 31, 83, 0.85) !important;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.35rem;
    display: block;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .breakdown-value,
.business-commercial-auto-page .fleet-calculator-section .modern-results .teal-price {
    color: #001f53 !important;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .annual-savings {
    margin-bottom: 0;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .annual-amount {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    border: 1px solid rgba(0, 31, 83, 0.1);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 31, 83, 0.06);
    padding: 1.75rem 2rem;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .annual-label {
    color: rgba(0, 31, 83, 0.85) !important;
    font-weight: 600;
    font-size: 1.0625rem;
    margin-right: 0.5rem;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .annual-value {
    color: #001f53 !important;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .results-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.25rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 31, 83, 0.08);
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .modern-quote-btn {
    background: linear-gradient(135deg, #001f53 0%, #002f6c 50%, #000b21 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.35);
    padding: 1.125rem 2.25rem;
    min-height: 54px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.0625rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 31, 83, 0.3);
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .modern-quote-btn:hover {
    background: linear-gradient(135deg, #002f6c 0%, #001f53 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px -4px rgba(0, 31, 83, 0.4);
    transform: translateY(-1px);
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .recalculate-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #001f53 !important;
    border: 1px solid rgba(0, 31, 83, 0.28);
    padding: 1.125rem 2.25rem;
    min-height: 54px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.0625rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.2s ease;
}
.business-commercial-auto-page .fleet-calculator-section .modern-results .recalculate-btn:hover {
    background: rgba(0, 31, 83, 0.06) !important;
    border-color: rgba(0, 31, 83, 0.45) !important;
    color: #001f53 !important;
}
@media (max-width: 768px) {
    .business-commercial-auto-page .fleet-calculator-widget {
        padding: 2rem 1.5rem;
    }
    .business-commercial-auto-page .fleet-calculator-section .modern-results {
        padding: 2.5rem 1.5rem;
    }
    .business-commercial-auto-page .fleet-calculator-section .modern-results .results-header {
        margin-bottom: 1.75rem;
    }
    .business-commercial-auto-page .fleet-calculator-section .modern-results .savings-highlight {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    .business-commercial-auto-page .fleet-calculator-section .modern-results .breakdown-grid {
        margin-bottom: 1.5rem;
    }
    .business-commercial-auto-page .fleet-calculator-section .modern-results .results-actions {
        margin-top: 1.75rem;
        padding-top: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    .business-commercial-auto-page .fleet-calculator-section .modern-results .modern-quote-btn,
    .business-commercial-auto-page .fleet-calculator-section .modern-results .recalculate-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========== Auto Savings Page – theme/colors/icons/margins aligned with fixed pages ========== */

/* Hero: dark blue gradient + white text/icons */
.auto-savings-page .savings-hero {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.auto-savings-page .savings-hero .sub-title.v13 {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 1.0625rem !important;
}
.auto-savings-page .savings-hero .big-title {
    color: #ffffff !important;
    font-weight: 700;
    font-size: clamp(2.25rem, 5.5vw, 3.25rem) !important;
    line-height: 1.2 !important;
}
.auto-savings-page .savings-hero .title-para {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
    font-size: 1.25rem !important;
}
.auto-savings-page .savings-hero .card-head {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.5rem !important;
}
.auto-savings-page .savings-hero .card-para {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.55;
    font-size: 1.125rem !important;
}
.auto-savings-page .savings-hero .list-card i,
.auto-savings-page .savings-hero .whitepaper-widget .whitepaper-icon i {
    color: #ffffff !important;
}
.auto-savings-page .savings-hero .whitepaper-widget .whitepaper-icon {
    background: rgba(0, 31, 83, 0.08);
    border-color: rgba(0, 63, 143, 0.2);
}
.auto-savings-page .my-icon.icon-global {
    color: #ffffff !important;
}

/* Other sections: brand blue text */
.auto-savings-page .savings-section .big-title,
.auto-savings-page .savings-section .section-title .big-title,
.auto-savings-page .savings-section .section-title-center .big-title {
    color: #001f53 !important;
    font-weight: 700;
}
.auto-savings-page .savings-section .title-para,
.auto-savings-page .savings-section .section-title-center .title-para {
    color: rgba(0, 47, 108, 0.9) !important;
    line-height: 1.6;
}
.auto-savings-page .coverage-option h4 {
    color: #001f53 !important;
    font-weight: 600;
}
.auto-savings-page .coverage-option p {
    color: rgba(0, 47, 108, 0.9) !important;
    line-height: 1.55;
}
.auto-savings-page .additional-coverage.savings-section .coverage-option .option-icon i {
    color: #001f53 !important;
}
.auto-savings-page .additional-coverage.savings-section .coverage-option .option-icon::before,
.auto-savings-page .additional-coverage.savings-section .coverage-option .option-icon::after {
    background: rgba(0, 31, 83, 0.12) !important;
}

/* Calculator section: clean background (no grid), theme blue headings */
.auto-savings-page .modern-calculator-section.savings-section {
    background: #f8fafc !important;
    position: relative;
}
.auto-savings-page .modern-calculator-section.savings-section::before {
    display: none !important;
}
.auto-savings-page .modern-calculator-section.savings-section .section-title-center .big-title {
    color: #001f53 !important;
}
.auto-savings-page .modern-calculator-section.savings-section .section-title-center .title-para {
    color: rgba(0, 47, 108, 0.9) !important;
}

/* Calculator icon: site theme (header blue) */
.auto-savings-page .modern-calculator-section .calculator-icon {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    color: #ffffff !important;
}
.auto-savings-page .modern-calculator-section .calculator-icon svg {
    color: #ffffff !important;
    fill: #ffffff;
}

/* Calculate My Savings button: site theme */
.auto-savings-page .modern-calculator-section .modern-calculate-btn {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.3);
}
.auto-savings-page .modern-calculator-section .modern-calculate-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #002f6c 0%, #001f53 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px -5px rgba(0, 31, 83, 0.4);
}

/* Calculator results: theme colors, fonts, backgrounds */
.auto-savings-page .modern-calculator-section .modern-results {
    background: linear-gradient(135deg, rgba(0, 31, 83, 0.06) 0%, rgba(0, 11, 33, 0.04) 100%) !important;
    border: 1px solid rgba(0, 31, 83, 0.12) !important;
    border-radius: 20px;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.auto-savings-page .modern-calculator-section .modern-results .results-header h3 {
    color: #001f53 !important;
    font-weight: 700;
    font-size: 1.75rem;
}
.auto-savings-page .modern-calculator-section .modern-results .results-header p {
    color: rgba(0, 47, 108, 0.9) !important;
    font-size: 1rem;
}
.auto-savings-page .modern-calculator-section .modern-results .success-icon {
    box-shadow: 0 8px 24px rgba(0, 31, 83, 0.3) !important;
    background: linear-gradient(135deg, rgba(0, 31, 83, 0.12) 0%, rgba(0, 11, 33, 0.08) 100%) !important;
}
.auto-savings-page .modern-calculator-section .modern-results .success-icon circle {
    fill: #001f53 !important;
}
.auto-savings-page .modern-calculator-section .modern-results .savings-highlight {
    background: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.12);
    box-shadow: 0 4px 12px rgba(0, 31, 83, 0.08);
}
.auto-savings-page .modern-calculator-section .modern-results .savings-amount,
.auto-savings-page .modern-calculator-section .modern-results .savings-amount .amount,
.auto-savings-page .modern-calculator-section .modern-results .savings-amount .currency {
    color: #001f53 !important;
    font-weight: 700;
}
.auto-savings-page .modern-calculator-section .modern-results .savings-amount .period,
.auto-savings-page .modern-calculator-section .modern-results .savings-label {
    color: rgba(0, 47, 108, 0.9) !important;
    font-weight: 600;
}
.auto-savings-page .modern-calculator-section .modern-results .breakdown-item {
    background: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.08);
    box-shadow: 0 2px 8px rgba(0, 31, 83, 0.06);
}
.auto-savings-page .modern-calculator-section .modern-results .breakdown-label {
    color: rgba(0, 47, 108, 0.9) !important;
    font-weight: 600;
}
.auto-savings-page .modern-calculator-section .modern-results .breakdown-value {
    color: #001f53 !important;
    font-weight: 700;
}
.auto-savings-page .modern-calculator-section .modern-results .breakdown-item.total-savings {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 31, 83, 0.25);
}
.auto-savings-page .modern-calculator-section .modern-results .breakdown-item.total-savings .breakdown-label,
.auto-savings-page .modern-calculator-section .modern-results .breakdown-item.total-savings .breakdown-value {
    color: #ffffff !important;
}
.auto-savings-page .modern-calculator-section .modern-results .teal-price {
    color: #001f53 !important;
}
.auto-savings-page .modern-calculator-section .modern-results .annual-amount {
    background: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.12);
    box-shadow: 0 2px 8px rgba(0, 31, 83, 0.06);
}
.auto-savings-page .modern-calculator-section .modern-results .annual-label {
    color: rgba(0, 47, 108, 0.9) !important;
    font-weight: 600;
}
.auto-savings-page .modern-calculator-section .modern-results .annual-value {
    color: #001f53 !important;
    font-weight: 700;
}
.auto-savings-page .modern-calculator-section .modern-results .modern-quote-btn {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.3);
}
.auto-savings-page .modern-calculator-section .modern-results .modern-quote-btn:hover {
    background: linear-gradient(135deg, #002f6c 0%, #001f53 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px -5px rgba(0, 31, 83, 0.4);
}
.auto-savings-page .modern-calculator-section .modern-results .recalculate-btn {
    background: transparent !important;
    color: #001f53 !important;
    border: 2px solid rgba(0, 31, 83, 0.3) !important;
    font-weight: 600;
}
.auto-savings-page .modern-calculator-section .modern-results .recalculate-btn:hover {
    background: rgba(0, 31, 83, 0.06) !important;
    border-color: rgba(0, 31, 83, 0.5) !important;
    color: #001f53 !important;
}

/* Why customers save: dark blue */
.auto-savings-page .team-testimonial.savings-section {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}
.auto-savings-page .team-testimonial .section-title-white .big-title,
.auto-savings-page .team-testimonial .section-title-white .title-para {
    color: #ffffff !important;
}
.auto-savings-page .team-testimonial .section-title-white .title-para {
    opacity: 0.9;
}

/* Tips section: theme blue */
.auto-savings-page .additional-coverage.savings-section .big-title,
.auto-savings-page .additional-coverage.savings-section .section-title .big-title {
    color: #001f53 !important;
}

/* Get Quote card: dark blue bg, theme blue text */
.auto-savings-page .interested-our-team.savings-section .interested-team-card {
    background: #001f53 !important;
    color: #001f53 !important;
    border: 1px solid rgba(0, 31, 83, 0.12);
    box-shadow: 0 4px 20px rgba(0, 31, 83, 0.08);
}
.auto-savings-page .interested-our-team .interested-team-card .big-title,
.auto-savings-page .interested-our-team .interested-team-card .section-title .big-title {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.75rem, 4.5vw, 2.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
}
.auto-savings-page .interested-our-team .interested-team-card .title-para,
.auto-savings-page .interested-our-team .interested-team-card .section-title .title-para {
    color: #001f53 !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 1.1875rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}
.auto-savings-page .interested-our-team .interested-team-card .open-account {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 31, 83, 0.3) !important;
    font-weight: 600;
}
.auto-savings-page .interested-our-team .interested-team-card .open-account:hover {
    background: linear-gradient(135deg, #002f6c 0%, #001f53 100%) !important;
    color: #ffffff !important;
}

.auto-savings-page main .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    box-sizing: border-box;
}

/* Additional Blue Theme Elements */
.interested-team-card {
    background: #001f53 !important;
    color: white !important;
}

.interested-team-card .big-title {
    color: #333 !important;
}

.interested-team-card .title-para {
    color: #333 !important;
}
.interested-team-card .section-title{
    text-align: center !important;
}
/* Navigation Updates */
.top-level-nav.bg-green, .top-level-nav.bg-blue {
    background: #1976d2 !important;
}

.main-menu ul li a:hover {
    color: #1976d2 !important;
}

.main-menu ul li.active a {
    color: #b3d0ff!important;
}

/* Footer Updates */
.site-footer .footer-widget-title,
.footer-widget-title {
    color: #ffffff !important;
}

.link-list li a:hover {
    color: #1976d2 !important;
}

.site-footer .link-list li a,
.site-footer .link-list li a:hover {
    color: #ffffff !important;
}

/* ============================================
   MODERN HOMEPAGE REDESIGN - ROUNDED EDGES UI/UX
   ============================================ */

/* Base Typography Scale */
:root {
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 9999px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
}

/* Modern Button Styles - Pill Shape */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-pill {
    border-radius: var(--radius-pill);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* Modern 2026 Button Styles */
.btn-primary {
    background: var(--color-dark-blue);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.35);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--color-dark-blue-2);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4);
    color: #ffffff;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #ffffff;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-outline:hover::before {
    width: 100%;
}

/* ========== HERO SECTION – High-end glassmorphism (overrides all prior hero styling) ========== */
.personal-homepage.modern-design,
.contact-page.modern-design {
    /* 48px top bar + 56px sub nav = 104px total; increased at smaller breakpoints when nav wraps */
    --header-stack-height: 104px;
}
.sign-up-page.modern-design,
.create-account-page.modern-design,
.get-quote-page.modern-design,
.account-success-page.modern-design,
.account-page.modern-design {
    /* Sign-up / Create account / Get quote / Account success / Account: only sub-level nav visible (top-level hidden), so one row = 56px */
    --header-stack-height: 56px;
}
.business-homepage.modern-design {
    /* Business: sub-level nav only */
    --header-stack-height: 56px;
}

.personal-homepage.modern-design .site-header,
.business-homepage.modern-design .site-header,
.contact-page.modern-design .site-header,
.sign-up-page.modern-design .site-header,
.create-account-page.modern-design .site-header,
.get-quote-page.modern-design .site-header,
.account-success-page.modern-design .site-header,
.sign-in-page.modern-design .site-header,
.account-page.modern-design .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
    margin: 0;
    padding: 0;
}

.personal-homepage.modern-design #main-wrapper,
.contact-page.modern-design #main-wrapper,
.sign-up-page.modern-design #main-wrapper,
.create-account-page.modern-design #main-wrapper,
.get-quote-page.modern-design #main-wrapper,
.account-success-page.modern-design #main-wrapper,
.account-page.modern-design #main-wrapper {
    /* keep all page content from sitting under the fixed header */
    padding-top: var(--header-stack-height);
    position: relative;
}
.business-homepage.modern-design #main-wrapper {
    padding-top: var(--header-stack-height);
    position: relative;
}

/* Prevent sticky-header script from changing main margin on scroll (keeps hero card from moving) */
.personal-homepage.modern-design main,
.contact-page.modern-design main,
.sign-up-page.modern-design main,
.create-account-page.modern-design main,
.get-quote-page.modern-design main,
.account-success-page.modern-design main,
.sign-in-page.modern-design main,
.account-page.modern-design main {
    margin-top: 0 !important;
}


.business-homepage.modern-design .site-header {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

/* Static image background for header and hero - Personal only */
.personal-homepage.modern-design .header-hero-video-bg {
    /* Important: absolute so it ONLY backgrounds header+hero (not whole page) */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(var(--header-stack-height) + 92vh);
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Static hero image (replaces video) */
.personal-homepage.modern-design .header-hero-static-bg {
    background-image: url('../img/hp-hero-insurance.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Business homepage - video only in hero section, not header */
.business-homepage.modern-design .header-hero-video-bg {
    display: none !important;
}

/* Business hero video background - only covers hero section */
.business-hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.business-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.01);
    filter: brightness(0.75);
    transition: filter 0.4s ease;
}

.business-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
    z-index: 1;
}

.business-hero-section {
    position: relative;
    overflow: hidden;
}

.business-hero-section .banner-content {
    position: relative;
    z-index: 2;
}

/* Video element no longer used on personal homepage (static image used instead) */
.personal-homepage.modern-design .header-hero-video,
.business-homepage.modern-design .header-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.01);
}

.personal-homepage.modern-design .header-hero-overlay,
.business-homepage.modern-design .header-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .personal-homepage.modern-design .header-hero-video,
    .business-homepage.modern-design .header-hero-video {
        display: none;
    }
    .personal-homepage.modern-design .header-hero-video-bg {
        background-image: url('../img/hp-hero-insurance.jpg');
        background-size: cover;
        background-position: center center;
    }
    .business-homepage.modern-design .header-hero-video-bg {
        background-image: url('../img/hp-hero-business.jpg');
        background-size: cover;
        background-position: center center;
    }
}

.personal-homepage.modern-design .site-header .sub-level-nav,
.contact-page.modern-design .site-header .sub-level-nav,
.sign-up-page.modern-design .site-header .sub-level-nav,
.create-account-page.modern-design .site-header .sub-level-nav,
.get-quote-page.modern-design .site-header .sub-level-nav,
.account-success-page.modern-design .site-header .sub-level-nav {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.personal-homepage.modern-design .site-header .top-level-nav,
.business-homepage.modern-design .site-header .top-level-nav,
.contact-page.modern-design .site-header .top-level-nav,
.sign-up-page.modern-design .site-header .top-level-nav,
.create-account-page.modern-design .site-header .top-level-nav,
.get-quote-page.modern-design .site-header .top-level-nav {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

.personal-homepage.modern-design .hero-section,
/* Business hero section - separate from header */
/* New Business Hero Section - Different from Personal */
.business-hero-section-modern {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
}

.business-hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: stretch;
}

.business-hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.business-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.4);
    transform: scale(1.05);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.business-hero-section-modern:hover .business-hero-image {
    transform: scale(1.08);
    filter: brightness(0.75);
}

.business-hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 31, 83, 0.25) 0%, rgba(0, 11, 33, 0.2) 50%, rgba(0, 31, 83, 0.25) 100%);
    z-index: 1;
}

.business-hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: var(--spacing-5xl) var(--spacing-md);
    min-height: 100vh;
}

.business-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.business-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(0, 63, 143, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 63, 143, 0.4);
    border-radius: 2rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
}

.business-hero-badge i {
    color: rgba(0, 63, 143, 0.9);
}

.business-hero-title {
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.business-hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: var(--spacing-2xl);
}

.business-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-feature-item i {
    color: rgba(0, 63, 143, 0.9);
    font-size: 1.125rem;
}

.business-hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.business-hero-btn-primary {
    background: linear-gradient(135deg, rgba(0, 63, 143, 0.95) 0%, rgba(0, 47, 108, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 1.125rem 2.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 63, 143, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.business-hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 63, 143, 0.5);
    background: linear-gradient(135deg, rgba(0, 63, 143, 1) 0%, rgba(0, 47, 108, 1) 100%);
    color: #ffffff;
    text-decoration: none;
}

.business-hero-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 1.125rem 2.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.business-hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    color: #ffffff;
    text-decoration: none;
}

/* Right Side Content - Floating Cards */
.business-hero-right-content {
    position: relative;
    height: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: var(--spacing-2xl) 0;
}

.hero-floating-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.25rem;
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    min-width: 280px;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.hero-card-1 {
    animation-delay: 0.2s;
}

.hero-card-2 {
    animation-delay: 0.4s;
}

.hero-card-3 {
    animation-delay: 0.6s;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-floating-card:hover {
    transform: translateX(-10px) translateY(-5px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.floating-card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 31, 83, 0.95) 0%, rgba(0, 11, 33, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 31, 83, 0.3);
}

.floating-card-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.floating-card-content {
    flex: 1;
}

.floating-card-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.floating-card-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Trust Badges */
.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    justify-content: flex-end;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s backwards;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.trust-badge-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.trust-badge-item i {
    color: rgba(0, 63, 143, 0.9);
    font-size: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .business-hero-content-wrapper {
        padding: var(--spacing-4xl) var(--spacing-md);
    }

    .business-hero-content {
        max-width: 100%;
    }

    .business-hero-features {
        flex-direction: column;
    }

    .business-hero-cta {
        flex-direction: column;
    }

    .business-hero-btn-primary,
    .business-hero-btn-secondary {
        width: 100%;
    }

    .business-hero-right-content {
        min-height: auto;
        align-items: center;
        margin-top: var(--spacing-3xl);
        padding: 0;
    }

    .hero-floating-card {
        min-width: 100%;
        max-width: 400px;
    }

    .hero-trust-badges {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .business-hero-section-modern {
        min-height: 100vh;
        height: 100vh;
    }

    .business-hero-container {
        min-height: 100vh;
        height: 100vh;
    }

    .business-hero-content-wrapper {
        padding: var(--spacing-3xl) var(--spacing-md);
        min-height: 100vh;
    }

    .business-hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .business-hero-description {
        font-size: 1.125rem;
    }

    .hero-floating-card {
        min-width: 100%;
        padding: var(--spacing-md);
    }

    .floating-card-number {
        font-size: 1.5rem;
    }

    .hero-trust-badges {
        flex-direction: column;
        align-items: stretch;
    }

    .trust-badge-item {
        justify-content: center;
    }
}

.business-hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-4xl);
    border-radius: var(--radius-2xl);
    width: calc(100% - 2 * var(--spacing-md));
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.business-hero-section .banner-content {
    position: relative;
    z-index: 2;
}

/* Video blur effect when hovering hero glass card (video no longer used on personal homepage) */
.header-hero-video {
    filter: brightness(0.7);
    transition: filter 0.45s ease;
}

/* Optional: slightly dim static hero image when hero glass card is hovered */
.personal-homepage.modern-design #main-wrapper:has(.hero-glass-card:hover) .header-hero-static-bg {
    filter: brightness(0.85);
    transition: filter 0.45s ease;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    padding: var(--spacing-xl);
    margin: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
}

/* Glass card – overlays hero image, centered and shifted up, static (no movement) */
.hero-glass-card {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    margin-top: -21rem;
    padding: var(--spacing-2xl);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    transition: backdrop-filter 0.45s ease, -webkit-backdrop-filter 0.45s ease, background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
    cursor: default;
    transform: none !important;
    will-change: auto;
}

.hero-glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transform: none !important;
}

/* Keep hero glass card static – no movement from any source */
.personal-homepage.modern-design .hero-glass-card,
.personal-homepage.modern-design .hero-glass-card:hover {
    transform: none !important;
    transition: backdrop-filter 0.45s ease, -webkit-backdrop-filter 0.45s ease, background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

/* All text inside glass card forced to #FFFFFF */
.hero-glass-card,
.hero-glass-card * {
    color: #FFFFFF;
}

.hero-glass-card .hero-badge-icon {
    color: #22c55e;
}

.hero-glass-card .hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    margin: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #FFFFFF;
}

.hero-badge-icon {
    color: #22c55e;
    font-size: 0.9375rem;
}

.hero-glass-card .hero-title {
    font-size: clamp(1.875rem, 4.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.02em;
}

.hero-glass-card .hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.1875rem);
    line-height: 1.6;
    color: #FFFFFF;
    margin: 0;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-glass-card .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 0;
}

/* Primary: var(--color-dark-blue), border-radius 9999px, white text */
.hero-cta-primary {
    background: var(--color-dark-blue);
    color: #FFFFFF;
    font-weight: 700;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 9999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta-primary:hover {
    color: #FFFFFF;
    background: var(--color-dark-blue-2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4);
}

/* Secondary: Transparent background, 1px solid rgba(255,255,255,0.5), white text, border-radius 9999px */
.hero-cta-secondary {
    background: transparent;
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-cta-secondary:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Hero feature boxes: Modern spacious grid */
.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-3xl);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-md);
}

.hero-section .feature-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-section .feature-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-section .feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: #ffffff;
    flex-shrink: 0;
}

.hero-section .feature-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.hero-section .feature-description {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.45;
    margin: 0;
}

/* Services Section - insurance-image.jpg background with overlay */
.services-section {
    --spacing-3xl: 0;
    padding: 4rem var(--spacing-2xl) 4rem;
    background-image: url('../img/insurance-image.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    margin: var(--spacing-3xl) var(--spacing-md);
    box-sizing: border-box;
}

.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.18) 30%,
        rgba(255, 255, 255, 0.15) 70%,
        rgba(255, 255, 255, 0.22) 100%
    );
    z-index: 0;
    border-radius: inherit;
}

.services-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.12), transparent);
    z-index: 1;
}

/* Services 3D stage – perspective and depth */
.services-3d-stage {
    perspective: 1200px;
    transform-style: preserve-3d;
    position: relative;
    z-index: 1;
}

/* Services header – rounded shape, outer border, dark-blue accent */
/* Services header – animated var(--color-dark-blue) background, centered text, stretched layout */
.services-3d-header {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: min(1200px, 96vw);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5.5rem;
    margin-top: 0;
    padding: 2.5rem var(--spacing-2xl);
    border-radius: 1.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(3, 20, 51, 0.72) 0%,
        rgba(7, 33, 84, 0.68) 35%,
        rgba(15, 23, 42, 0.72) 65%,
        rgba(7, 33, 84, 0.68) 100%
    );
    backdrop-filter: blur(20px) saturate(1.15);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 16px 48px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

/* Removed animated background - using static transparent glassmorphic background instead */

.services-3d-header::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        110deg,
        transparent 0%,
        transparent 38%,
        rgba(255, 255, 255, 0.06) 50%,
        transparent 62%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: servicesHeaderShimmer 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes servicesHeaderShimmer {
    0% { background-position: -120% 0; }
    100% { background-position: 220% 0; }
}

.services-3d-header .section-badge {
    display: block;
    margin-bottom: var(--spacing-lg);
    margin-top: 0;
    padding: 0.625rem 1.5rem;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.services-3d-header .section-title {
    position: relative;
    display: block;
    width: 100%;
    color: #ffffff;
    margin: 0;
    padding: 0 var(--spacing-sm);
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25), 0 4px 24px rgba(0, 0, 0, 0.15);
    text-align: center;
    word-spacing: 0.02em;
    box-sizing: border-box;
}

.services-3d-header .section-description {
    position: relative;
    display: block;
    width: 100%;
    max-width: 680px;
    margin: 0;
    padding: 0 var(--spacing-xl);
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
    line-height: 1.7;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
    .services-3d-header::before {
        animation: none;
    }
}

.services-3d-cards-wrap {
    transform-style: preserve-3d;
    position: relative;
    transform: translateZ(0);
    margin-top: 1.5rem;
}

/* Static service cards grid (no slider) */
.services-cards-static {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.services-cards-static .service-card {
    height: 100%;
    min-height: 280px;
}

@media (max-width: 992px) {
    .services-cards-static {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-cards-static {
        grid-template-columns: 1fr;
    }
}

/* 3D service cards – depth, tilt on hover, layered shadow, transparent glass */
.services-section .service-card-3d {
    transform-style: preserve-3d;
    transform: translateZ(0) rotateX(2deg);
    backface-visibility: hidden;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.08),
        0 10px 20px -4px rgba(0, 0, 0, 0.1),
        0 20px 40px -8px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.45s ease, background 0.45s ease, backdrop-filter 0.45s ease;
}

.services-section .service-card-3d::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
    transform: translateZ(1px);
}

.services-section .service-card-3d:hover {
    transform: translateY(-12px) translateZ(24px) rotateX(-2deg) scale(1.02);
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow:
        0 12px 24px -4px rgba(0, 0, 0, 0.15),
        0 24px 48px -8px rgba(0, 0, 0, 0.12),
        0 32px 64px -12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.services-section .service-card-3d.featured {
    transform: translateZ(8px) rotateX(1deg);
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 8px 16px -4px rgba(0, 0, 0, 0.12),
        0 20px 40px -8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.services-section .service-card-3d.featured:hover {
    transform: translateY(-12px) translateZ(28px) rotateX(-2deg) scale(1.02);
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.services-section .service-card-3d .service-icon {
    transform: translateZ(12px);
}

/* Homepage service cards have light background – keep title and description dark and readable */
.services-section .service-card-3d .service-title {
    color: var(--color-dark-blue) !important;
    text-shadow: none;
}

.services-section .service-card-3d .service-description {
    color: #333 !important;
}

.section-header {
    text-align: center;
    max-width: 1150px;
    margin: 0 auto var(--spacing-3xl);
    padding: 0 var(--spacing-md);
}

.section-header:last-child {
    margin-bottom: 0;
}

/* Better visual grouping - consistent section spacing */
main > section {
    scroll-margin-top: 5rem;
}

main > section + section {
    margin-top: 0;
}

/* Services cards slider */
.services-cards-swiper-wrapper {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 64px;
}

.services-cards-swiper {
    overflow: hidden;
}

.services-cards-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.services-cards-swiper .service-card {
    height: 100%;
    min-height: 280px;
}

/* Services cards slider arrows (left / right) */
.services-cards-swiper .swiper-button-prev,
.services-cards-swiper .swiper-button-next {
    width: 48px;
    height: 48px;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 64, 175, 0.08);
    border-radius: 50%;
    color: var(--color-dark-blue);
    border: 1px solid rgba(30, 64, 175, 0.12);
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.services-cards-swiper .swiper-button-prev::after,
.services-cards-swiper .swiper-button-next::after {
    font-size: 1.25rem;
    font-weight: 700;
}

.services-cards-swiper .swiper-button-prev {
    left: 0;
}

.services-cards-swiper .swiper-button-next {
    right: 0;
}

.services-cards-swiper .swiper-button-prev:hover,
.services-cards-swiper .swiper-button-next:hover {
    background: var(--color-dark-blue);
    color: #fff;
    border-color: var(--color-dark-blue);
}

.services-cards-swiper .swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .services-cards-swiper-wrapper {
        padding: 0 44px;
    }
    .services-cards-swiper .swiper-button-prev {
        left: 4px;
    }
    .services-cards-swiper .swiper-button-next {
        right: 4px;
    }
    /* Slightly flatten 3D on small screens for performance and clarity */
    .services-section .service-card-3d {
        transform: translateZ(0);
    }
    .services-section .service-card-3d:hover {
        transform: translateY(-10px) translateZ(12px) scale(1.02);
    }
    .services-section .service-card-3d.featured {
        transform: translateZ(0);
    }
    .services-section .service-card-3d.featured:hover {
        transform: translateY(-10px) translateZ(12px) scale(1.02);
    }
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--color-dark-blue);
    color: #ffffff;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-dark-blue);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    font-feature-settings: "kern" 1, "liga" 1;
    text-rendering: optimizeLegibility;
}

.section-title span {
    display: inline-block;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #555;
    font-weight: 400;
    letter-spacing: -0.01em;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl) var(--spacing-xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.08), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.service-card.featured {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: 0.375rem 0.875rem;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 2.5rem;
    color: #ffffff;
}

.service-icon.home {
    background: linear-gradient(135deg, #00cc66, #33cc99);
}

.service-icon.auto {
    background: linear-gradient(135deg, #0066cc, #4d94ff);
}

.service-icon.life {
    background: linear-gradient(135deg, #9933cc, #b366ff);
}

.service-icon.bundle {
    background: linear-gradient(135deg, #ff6600, #ff8533);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
    line-height: 1.3;
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.service-card:hover .service-title {
    color: var(--color-primary);
}

.service-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
    letter-spacing: -0.005em;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-dark-blue);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: gap 0.3s ease, transform 0.2s ease, background 0.3s ease, color 0.3s ease;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    align-self: center;
}

.service-link:hover {
    gap: 0.75rem;
    transform: translateX(2px);
    background: var(--color-dark-blue-2);
    color: #ffffff;
}

/* Story + Quick Benefits split: two columns side by side – compact height */
.story-benefits-split {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: linear-gradient(175deg, #fafbfd 0%, #f5f7fb 25%, #f0f4f9 50%, #f5f7fb 75%, #fafbfd 100%);
    position: relative;
    scroll-margin-top: 100px;
}

.story-benefits-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
}

.split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.split-col {
    min-width: 0;
}

/* 3D card with opacity edges – both columns stay in same row, compact padding */
.split-left,
.split-right {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 64, 175, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 0 0 1px rgba(37, 99, 235, 0.06),
        0 4px 6px -2px rgba(37, 99, 235, 0.08),
        0 10px 20px -5px rgba(37, 99, 235, 0.1),
        0 20px 40px -10px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.split-left {
    padding-right: var(--spacing-xl);
}

.split-right {
    padding-left: var(--spacing-xl);
}

/* Left column: blue accent when hovered – "Peace of Mind" comes forward */
.split-left:hover {
    transform: translateY(-8px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 0 0 1px rgba(37, 99, 235, 0.12),
        0 8px 16px -4px rgba(37, 99, 235, 0.15),
        0 20px 40px -8px rgba(37, 99, 235, 0.15),
        0 32px 64px -12px rgba(0, 0, 0, 0.12);
    border-color: rgba(37, 99, 235, 0.22);
}

/* Right column: blue accent when hovered – "Why Teal Insurance" comes forward */
.split-right:hover {
    transform: translateY(-8px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 0 0 1px rgba(37, 99, 235, 0.12),
        0 8px 16px -4px rgba(37, 99, 235, 0.15),
        0 20px 40px -8px rgba(37, 99, 235, 0.15),
        0 32px 64px -12px rgba(0, 0, 0, 0.12);
    border-color: rgba(37, 99, 235, 0.22);
}

.split-left .section-badge {
    display: inline-block;
    margin-bottom: var(--spacing-sm);
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
}

.split-left .section-title {
    text-align: left;
    margin-bottom: var(--spacing-sm);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    line-height: 1.25;
}

.split-left .story-intro {
    margin-bottom: var(--spacing-lg);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.split-left .benefits-list {
    margin: 0 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
}

/* Left column: benefit items with blue hover animation (lift + color shift) */
.split-left .benefit-item {
    transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.3s ease, background 0.25s ease, border-color 0.25s ease;
}

.split-left .benefit-item:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 6px 20px -4px rgba(37, 99, 235, 0.15), 0 2px 8px -2px rgba(0, 0, 0, 0.05);
}

.split-left .benefit-item .benefit-icon {
    transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.split-left .benefit-item:hover .benefit-icon {
    transform: scale(1.08);
}

.split-left .story-cta {
    margin-top: var(--spacing-md);
}

.split-left .benefit-item {
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.split-left .benefit-item:last-child {
    margin-bottom: 0;
}

.split-left .benefit-item .benefit-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9375rem;
    flex-shrink: 0;
    margin-bottom: 0.35rem;
}

.split-left .benefit-item .benefit-content {
    min-width: 0;
    width: 100%;
}

.split-left .benefit-item .benefit-content h4 {
    font-size: 0.875rem;
    margin-bottom: 0.2rem;
    line-height: 1.25;
}

.split-left .benefit-item .benefit-content p {
    font-size: 0.75rem;
    line-height: 1.35;
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.split-right .quick-benefits-badge {
    display: inline-block;
    margin-bottom: var(--spacing-sm);
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
}

.split-right .quick-benefits-title {
    text-align: left;
    margin-bottom: var(--spacing-sm);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    line-height: 1.25;
}

.split-right .quick-benefits-description {
    margin-bottom: var(--spacing-lg);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.benefits-grid-vertical {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 100%;
}

/* Story-benefits split: right column – 3 cards in a row (horizontal) */
.story-benefits-split .split-right .benefits-grid-vertical {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-direction: unset;
    gap: var(--spacing-sm);
}

.split-right .benefits-grid-vertical {
    gap: var(--spacing-sm);
}

.split-right .benefits-grid-vertical .benefit-card {
    padding: var(--spacing-sm) var(--spacing-md);
    gap: var(--spacing-xs, 0.5rem);
}

.story-benefits-split .split-right .benefits-grid-vertical .benefit-card {
    padding: var(--spacing-sm) var(--spacing-md);
}

.split-right .benefits-grid-vertical .benefit-icon-wrapper {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

.story-benefits-split .split-right .benefits-grid-vertical .benefit-icon-wrapper {
    width: 32px;
    height: 32px;
    font-size: 0.9375rem;
}

.split-right .benefits-grid-vertical .benefit-card-title {
    font-size: 0.9375rem;
}

.split-right .benefits-grid-vertical .benefit-card-description {
    font-size: 0.8125rem;
    line-height: 1.4;
}

.benefits-grid-vertical .benefit-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-xl);
    text-align: left;
    transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.3s ease, background 0.25s ease, border-color 0.25s ease;
}

/* Right column: blue accent – hover animation for 24/7 Support, Free Quote, Fast & Reliable */
.split-right .benefits-grid-vertical .benefit-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.2), 0 4px 12px -2px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(37, 99, 235, 0.2);
}

.split-right .benefits-grid-vertical .benefit-icon-wrapper {
    transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.split-right .benefits-grid-vertical .benefit-card:hover .benefit-icon-wrapper {
    transform: scale(1.08);
}

.benefits-grid-vertical .benefit-icon-wrapper {
    margin: 0;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 31, 83, 0.1) 0%, rgba(0, 11, 33, 0.05) 100%);
    color: #001f53;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-grid-vertical .benefit-icon-wrapper i {
    color: #001f53;
}

.benefits-grid-vertical .benefit-card-title {
    margin-bottom: 0.25rem;
}

.benefits-grid-vertical .benefit-card-description {
    margin: 0;
}

/* Story-benefits split: stay side-by-side; stack only on small screens, keep 3D cards */
@media (max-width: 768px) {
    .story-benefits-split {
        padding: var(--spacing-2xl) var(--spacing-md);
    }
    .split-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        padding: 0 var(--spacing-sm);
    }
    .split-left,
    .split-right {
        padding: var(--spacing-lg) var(--spacing-xl);
        /* keep 3D + opacity edges when stacked */
    }
    .split-left .section-title,
    .split-right .quick-benefits-title {
        font-size: clamp(1.5rem, 4vw, 1.75rem);
    }
    /* Stack benefit items/cards vertically on small screens */
    .story-benefits-split .split-left .benefits-list {
        grid-template-columns: 1fr;
    }
    .story-benefits-split .split-left .benefit-item {
        margin-bottom: var(--spacing-sm);
    }
    .story-benefits-split .split-left .benefit-item:last-child {
        margin-bottom: 0;
    }
    .story-benefits-split .split-right .benefits-grid-vertical,
    .story-benefits-split .split-right .benefits-grid.benefits-grid-vertical {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .story-benefits-split {
        padding: var(--spacing-2xl) var(--spacing-sm);
    }
    .split-row {
        gap: var(--spacing-xl);
    }
    .split-left,
    .split-right {
        padding: var(--spacing-xl);
    }
    .benefits-grid-vertical .benefit-card {
        padding: var(--spacing-md) var(--spacing-lg);
        gap: var(--spacing-md);
    }
    .benefits-grid-vertical .benefit-icon-wrapper {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* Quick Benefits Section - Clean transition with advanced gradient (kept for any other use) */
.quick-benefits-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: linear-gradient(165deg, #f8fafc 0%, #f5f8fc 35%, #f0f4f9 70%, #f5f8fc 100%);
    position: relative;
    margin-top: calc(var(--spacing-4xl) * -1);
    padding-top: var(--spacing-4xl);
}

.quick-benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

/* Quick Benefits header */
.quick-benefits-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--spacing-3xl);
    padding: 0 var(--spacing-md);
}

.quick-benefits-badge {
    display: inline-block;
    padding: 0.4375rem 1.25rem;
    background: var(--color-dark-blue);
    color: #ffffff;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.quick-benefits-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark-blue);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    font-feature-settings: "kern" 1, "liga" 1;
}

.quick-benefits-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Inside split-right 3D column: stack the three benefit cards on top of each other */
.split-right .benefits-grid.benefits-grid-vertical {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    max-width: 100%;
    margin: 0;
    padding: 0;
    gap: var(--spacing-md);
}

/* Story-benefits split: right column – 3 cards in a row (override above) */
.story-benefits-split .split-right .benefits-grid.benefits-grid-vertical {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-direction: unset;
    gap: var(--spacing-sm);
}

.benefit-card {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.15);
}

.benefit-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 31, 83, 0.1) 0%, rgba(0, 11, 33, 0.05) 100%);
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
    color: #001f53;
}

.benefit-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
}

.benefit-card-description {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Improved visual flow - section transitions */
.services-section {
    scroll-margin-top: 100px;
}

.quick-benefits-section {
    scroll-margin-top: 100px;
}

.story-section {
    scroll-margin-top: 100px;
}

.why-choose-section {
    scroll-margin-top: 100px;
}

/* Story Section - off-white */
.story-section {
    padding: var(--spacing-4xl) var(--spacing-md);
    background: linear-gradient(175deg, #fafbfd 0%, #f5f7fb 25%, #f0f4f9 50%, #f5f7fb 75%, #fafbfd 100%);
    position: relative;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.story-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-4xl);
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.story-text {
    padding-right: var(--spacing-2xl);
}

.story-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: var(--spacing-xl);
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-xl);
}

.benefit-item {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: transparent;
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.benefit-item:hover {
    background: rgba(37, 99, 235, 0.03);
    transform: translateX(6px);
    border-color: rgba(37, 99, 235, 0.1);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    font-size: 1.375rem;
    box-shadow: 0 4px 12px rgba(0, 31, 83, 0.3);
}

.benefit-icon i,
.benefit-icon .my-icon {
    color: #ffffff !important;
}

.benefit-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #001f53;
    margin-bottom: 0.25rem;
}

.benefit-content p {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.story-image {
    position: relative;
}

.image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

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

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Main - Advanced gradient background for visual flow */
.personal-homepage.modern-design main {
    background: linear-gradient(180deg, #fafbfd 0%, #f5f7fb 25%, #f0f4f9 50%, #f5f7fb 75%, #fafbfd 100%);
    padding-bottom: var(--spacing-2xl);
    overflow-x: hidden;
    max-width: 100%;
}

.personal-homepage.modern-design main .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    box-sizing: border-box;
}

.personal-homepage.modern-design .services-section {
    --spacing-3xl: 0;
    background-image: url('../img/insurance-image.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 5rem var(--spacing-2xl) 5rem;
    border-radius: 2rem;
    margin: var(--spacing-3xl) var(--spacing-md);
}

.personal-homepage.modern-design .services-section::before {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.18) 30%,
        rgba(255, 255, 255, 0.15) 70%,
        rgba(255, 255, 255, 0.22) 100%
    );
}

/* Coverage you can trust – condensed cards, full width */
.personal-homepage.modern-design .services-section .services-3d-cards-wrap {
    max-width: 100%;
}
.personal-homepage.modern-design .services-section .services-cards-static {
    max-width: 100%;
    padding: 0;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
}
.personal-homepage.modern-design .services-section .services-cards-static .service-card,
.personal-homepage.modern-design .services-section .services-cards-static .service-card-3d {
    min-height: 0;
    height: auto;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.personal-homepage.modern-design .services-section .service-card-3d .service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}
.personal-homepage.modern-design .services-section .service-card-3d .service-title {
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
}
.personal-homepage.modern-design .services-section .service-card-3d .service-description {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}
.personal-homepage.modern-design .services-section .service-card-3d .service-link {
    margin-top: auto;
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
    align-self: center;
}
@media (max-width: 992px) {
    .personal-homepage.modern-design .services-section .services-cards-static {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .personal-homepage.modern-design .services-section .services-cards-static {
        grid-template-columns: 1fr;
    }
}

.personal-homepage.modern-design .story-section {
    background: linear-gradient(175deg, #fafbfd 0%, #f5f7fb 25%, #f0f4f9 50%, #f5f7fb 75%, #fafbfd 100%);
}

/* Why Choose Us Section - Modern spacious banner */
.why-choose-section {
    position: relative;
    padding: var(--spacing-3xl) var(--spacing-md);
    background: linear-gradient(180deg, var(--color-dark-blue) 0%, var(--color-dark-blue-2) 50%, var(--color-dark-blue-3) 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin: 0 var(--spacing-md);
    border-radius: 2rem;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 4px 24px rgba(0, 0, 0, 0.2),
        0 12px 40px rgba(0, 0, 0, 0.15);
}

.why-choose-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 80px -20px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 0;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.6) 0%, rgba(30, 41, 59, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

.why-choose-section .container {
    position: relative;
    z-index: 2;
}

.why-choose-section .section-header {
    margin-bottom: var(--spacing-3xl);
}

.why-choose-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.why-choose-section .section-title {
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1280px;
    margin: 0 auto var(--spacing-3xl);
    padding: 0 var(--spacing-md);
}

.feature-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl) var(--spacing-xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

.feature-image {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.feature-box-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.section-cta {
    text-align: center;
}

/* Footer */
/* ============================================
   MODERN FOOTER DESIGN
   ============================================ */

.site-footer {
    background: #001f53;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: var(--spacing-3xl);
}

.site-footer,
.site-footer p,
.site-footer span,
.site-footer a,
.site-footer li {
    color: #ffffff;
}

.site-footer a:hover {
    color: #ffffff;
    opacity: 0.9;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    z-index: 2;
}

/* Footer CTA Section – separate band with image background, above footer */
.footer-cta-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    text-align: center;
    position: relative;
    background-image: url('../img/insurance_banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    overflow: hidden;
    border-radius: 2rem;
    margin: 0 var(--spacing-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.footer-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 31, 83, 0.32) 0%,
        rgba(0, 11, 33, 0.28) 100%
    );
    border-radius: inherit;
    z-index: 0;
}

.footer-cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
}

.footer-cta-section .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin-left: 0;
    margin-right: auto;
    padding-left: max(var(--spacing-md), 3%);
    padding-right: var(--spacing-xl);
}

@media (min-width: 1200px) {
    .footer-cta-section .container {
        padding-left: max(var(--spacing-xl), 5%);
    }
}

.footer-cta {
    padding: var(--spacing-2xl) var(--spacing-md);
    text-align: center;
    position: relative;
    margin: var(--spacing-2xl) var(--spacing-md) 0;
}

/* Modern 2026 CTA card with vibrant gradient */
.cta-content {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #fdba74 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-3xl) var(--spacing-2xl);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 8px 24px rgba(249, 115, 22, 0.3),
        0 16px 48px rgba(249, 115, 22, 0.25),
        0 24px 64px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.3),
        0 12px 32px rgba(249, 115, 22, 0.4),
        0 20px 56px rgba(249, 115, 22, 0.3),
        0 32px 80px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cta-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 60px -10px rgba(249, 115, 22, 0.25);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4), 0 4px 24px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
}

/* Footer CTA – two cards: compact horizontal layout */
.cta-cards-row {
    display: flex;
    align-items: stretch;
    gap: var(--spacing-xl);
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-card {
    border-radius: var(--radius-2xl);
    padding: var(--spacing-lg) var(--spacing-xl);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 6px 24px rgba(0, 0, 0, 0.15),
        0 12px 36px rgba(0, 0, 0, 0.1),
        0 18px 48px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.3) inset,
        0 12px 40px rgba(0, 0, 0, 0.25),
        0 20px 60px rgba(0, 0, 0, 0.18),
        0 32px 80px rgba(0, 0, 0, 0.12);
}

.cta-card-protect {
    flex: 1;
    min-width: 300px;
    max-width: 520px;
    background: linear-gradient(
        135deg,
        rgba(249, 115, 22, 0.55) 0%,
        rgba(251, 146, 60, 0.5) 50%,
        rgba(253, 186, 116, 0.58) 100%
    );
    backdrop-filter: blur(16px) saturate(1.1);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 6px 24px rgba(249, 115, 22, 0.2),
        0 12px 36px rgba(249, 115, 22, 0.15),
        0 18px 48px rgba(0, 0, 0, 0.1);
}

.cta-card-protect::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.cta-card-protect:hover {
    background: linear-gradient(
        135deg,
        rgba(249, 115, 22, 0.65) 0%,
        rgba(251, 146, 60, 0.6) 50%,
        rgba(253, 186, 116, 0.68) 100%
    );
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 8px 32px rgba(249, 115, 22, 0.25),
        0 16px 48px rgba(249, 115, 22, 0.18),
        0 24px 64px rgba(0, 0, 0, 0.15);
}

/* Compact heading row: title + subtitle on one line */
.cta-heading-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.cta-card-protect .cta-title {
    margin: 0;
    position: relative;
    z-index: 1;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-card-protect .cta-title,
.cta-card-questions .cta-title {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-card-protect .cta-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35), 0 1px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Risk | slider | Coverage row – compact horizontal */
.protect-home-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto var(--spacing-md);
    position: relative;
    z-index: 1;
}

.protect-home-risk,
.protect-home-coverage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.protect-home-shield,
.protect-home-house {
    width: 32px;
    height: 36px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.protect-home-shield:hover,
.protect-home-house:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.protect-home-house {
    width: 32px;
    height: 28px;
}

.protect-home-shield .shield-svg,
.protect-home-house .house-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.protect-home-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    margin-top: 2px;
}

.protect-home-slider-wrap {
    flex: 1;
    min-width: 100px;
    display: flex;
    align-items: center;
}

.protect-home-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 6px;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.protect-home-slider:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.protect-home-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.protect-home-slider::-webkit-slider-thumb:hover {
    transform: scale(1.12);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.35),
        0 0 0 2px rgba(255, 255, 255, 0.6) inset;
}

.protect-home-slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.2s ease;
}

.protect-home-slider::-moz-range-thumb:hover {
    transform: scale(1.12);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.35),
        0 0 0 2px rgba(255, 255, 255, 0.6) inset;
}

/* Get Quote button + trust badges – compact */
.cta-card-protect .cta-button-wrap {
    margin-bottom: var(--spacing-md);
}

.cta-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.875rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.cta-badge:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.65);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-badge .my-icon {
    font-size: 0.9375rem;
}

.cta-card-protect .btn-cta-protect {
    background: rgba(255, 255, 255, 0.95);
    color: #ea580c;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 3px 12px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

.cta-card-protect .btn-cta-protect:hover {
    background: #ffffff;
    color: #c2410c;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    border-color: rgba(255, 255, 255, 0.7);
}

/* Right card: Have Questions? – one line heading, form below */
.cta-card-questions {
    min-width: 300px;
    max-width: 520px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-md);
    overflow: visible;
    background: linear-gradient(
        135deg,
        rgba(0, 31, 83, 0.75) 0%,
        rgba(0, 11, 33, 0.7) 100%
    );
    backdrop-filter: blur(16px) saturate(1.1);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 6px 24px rgba(0, 31, 83, 0.3),
        0 12px 36px rgba(0, 31, 83, 0.2),
        0 18px 48px rgba(0, 0, 0, 0.1);
}

.cta-card-questions::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.cta-card-questions:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 31, 83, 0.85) 0%,
        rgba(0, 11, 33, 0.8) 100%
    );
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 8px 32px rgba(0, 31, 83, 0.35),
        0 16px 48px rgba(0, 31, 83, 0.25),
        0 24px 64px rgba(0, 0, 0, 0.15);
}

.cta-questions-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-card-questions .cta-title {
    color: #ffffff;
    margin: 0;
    position: relative;
    z-index: 2;
}

.cta-agent-form {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin: 0;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

.cta-agent-email {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.cta-agent-email::placeholder {
    color: #64748b;
}

.cta-agent-email:focus {
    border-color: #ffffff;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.cta-chat-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
    z-index: 1;
}

.cta-chat-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-chat-bubble:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25);
}

.cta-chat-bubble-lg {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.cta-chat-bubble-sm {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    margin-left: -8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--progressive-blue);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.cta-card-questions .btn-cta-questions {
    background: #ffffff;
    color: #001f53;
    font-weight: 700;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 31, 83, 0.15);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.cta-card-questions .btn-cta-questions:hover {
    background: #eff6ff;
    color: #001f53;
    border-color: #ffffff;
    transform: translateY(-3px) scale(1.01);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

@media (max-width: 768px) {
    .footer-cta-section {
        border-radius: 1.75rem;
        margin: var(--spacing-2xl) var(--spacing-md);
    }
    
    .footer-cta-section .container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
    
    .cta-cards-row {
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        max-width: 100%;
    }
    .cta-card-protect {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }
    .cta-card-questions {
        max-width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    .cta-agent-form {
        width: 100%;
        flex-direction: column;
    }
    .cta-agent-email,
    .cta-card-questions .btn-cta-questions {
        width: 100%;
    }
}

.cta-button-wrap {
    position: relative;
    z-index: 1;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.cta-button-protect-hidden {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    pointer-events: none;
}

.cta-button-wrap.cta-button-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    animation: buttonReveal 0.5s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
}

@keyframes buttonReveal {
    0% { opacity: 0; transform: translateY(12px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.footer-cta-section .btn,
.footer-cta .btn {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    font-weight: 700;
}

.footer-cta-section .btn:hover,
.footer-cta .btn:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

.footer-content {
    padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-column {
    position: relative;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px) saturate(1.1);
    -webkit-backdrop-filter: blur(8px) saturate(1.1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.footer-column:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.footer-column.footer-brand {
    padding-right: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px) saturate(1.15);
    -webkit-backdrop-filter: blur(12px) saturate(1.15);
}

.footer-column.footer-brand:hover {
    background: rgba(255, 255, 255, 0.06);
}

.footer-logo {
    margin-bottom: var(--spacing-sm);
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
}

.footer-tagline {
    color: #ffffff;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    max-width: 280px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-title-icon {
    position: relative;
    padding-left: 24px;
}

.footer-title-icon::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    border-radius: 4px;
    opacity: 0.8;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.footer-nav li {
    margin: 0;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9375rem;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0;
    padding-left: 0.5rem;
    border-left: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 500;
}

.footer-nav a::before {
    content: '→';
    position: absolute;
    left: -8px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s ease;
    color: var(--color-primary);
    font-weight: 700;
}

.footer-nav a:hover {
    color: #ffffff;
    border-left-color: rgba(255, 255, 255, 0.6);
    padding-left: 1rem;
    transform: translateX(4px);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.footer-nav a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    padding: var(--spacing-sm) var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px) saturate(1.1);
    -webkit-backdrop-filter: blur(10px) saturate(1.1);
    position: relative;
    z-index: 2;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.copyright {
    color: #ffffff;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }

    .footer-column.footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        margin-bottom: var(--spacing-lg);
        text-align: center;
    }

    .footer-tagline {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .story-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .personal-homepage .site-header .menu-bar.v8 {
        height: 48px !important;
    }

    /* Sub-level nav grows when items stack – blue background stays behind all nav items */
    .site-header .sub-level-nav .container-fluid,
    .site-header .sub-level-nav .menu-content,
    .personal-homepage.modern-design .site-header .sub-level-nav .container-fluid,
    .contact-page.modern-design .site-header .sub-level-nav .container-fluid {
        overflow: visible !important;
    }
    .site-header .menu-bar.v8.sub-level-nav,
    .personal-homepage .site-header .sub-level-nav,
    .personal-homepage.modern-design .site-header .sub-level-nav,
    .business-homepage .site-header .sub-level-nav,
    .contact-page .site-header .sub-level-nav,
    .contact-page.modern-design .site-header .sub-level-nav {
        height: auto !important;
        min-height: 48px;
        margin-bottom: 0;
        padding: 0.5rem 0;
        overflow: visible !important;
    }
    .personal-homepage .site-header .menu-content,
    .personal-homepage .site-header .top-level-nav ul {
        height: 48px !important;
    }
    .personal-homepage .site-header .sub-level-nav .menu-content,
    .personal-homepage .site-header .sub-level-nav ul,
    .personal-homepage.modern-design .site-header .sub-level-nav .menu-content,
    .personal-homepage.modern-design .site-header .sub-level-nav ul,
    .business-homepage .site-header .sub-level-nav .menu-content,
    .business-homepage .site-header .sub-level-nav ul,
    .contact-page .site-header .sub-level-nav .menu-content,
    .contact-page .site-header .sub-level-nav ul,
    .contact-page.modern-design .site-header .sub-level-nav .menu-content,
    .contact-page.modern-design .site-header .sub-level-nav ul {
        height: auto !important;
        min-height: 48px;
    }
    .site-header .sub-level-nav .main-menu > ul {
        align-items: center;
        justify-content: flex-start;
    }

    /* Mobile sub-level nav styling */
    .personal-homepage.modern-design .sub-level-nav ul li a {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }

    .personal-homepage.modern-design .sub-level-nav ul {
        gap: 0.25rem 0.4rem;
        padding: 0 0.5rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    /* Ensure dropdowns work properly on mobile */
    .sub-level-nav ul li.has-dropdown ul {
        top: calc(100% + 0.25rem);
        min-width: 180px;
    }

    .personal-homepage.modern-design .sub-level-nav ul li.has-dropdown ul {
        min-width: 200px;
    }

    .hero-section {
        margin: var(--spacing-md) var(--spacing-sm) var(--spacing-2xl);
        margin-left: auto;
        margin-right: auto;
        max-width: calc(100% - 2 * var(--spacing-sm));
        border-radius: 28px;
        min-height: 68vh;
    }

    .hero-glass-card {
        padding: 2.25rem;
        border-radius: 26px;
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .quick-benefits-section {
        margin-top: calc(var(--spacing-2xl) * -1);
        padding-top: var(--spacing-2xl);
        padding-bottom: var(--spacing-2xl);
    }

    .quick-benefits-header {
        margin-bottom: var(--spacing-2xl);
        padding: 0 var(--spacing-sm);
    }

    .quick-benefits-title {
        font-size: 1.5rem;
    }

    .quick-benefits-description {
        font-size: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        max-width: 400px;
    }

    .benefit-card {
        padding: var(--spacing-lg);
    }


    .services-grid {
        grid-template-columns: 1fr;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .story-text {
        padding-right: 0;
        order: 2;
    }

    .story-image {
        order: 1;
    }

    .services-section,
    .story-section,
    .why-choose-section {
        padding: var(--spacing-2xl) var(--spacing-md);
    }
    
    .services-section {
        border-radius: 1.5rem;
        margin: var(--spacing-2xl) var(--spacing-md);
    }

    .section-header {
        margin-bottom: var(--spacing-2xl);
    }

    .services-3d-header {
        padding: var(--spacing-2xl) var(--spacing-xl);
        border-radius: 1.5rem;
        max-width: min(100%, 96vw);
    }

    .services-3d-header .section-title {
        font-size: clamp(2rem, 4vw, 2.75rem);
        padding: 0 var(--spacing-xs);
    }

    .services-3d-header .section-description {
        max-width: 100%;
        padding: 0 var(--spacing-lg);
        font-size: 1.0625rem;
    }

    .why-choose-section {
        margin: var(--spacing-xl) var(--spacing-sm) var(--spacing-2xl);
        border-radius: 24px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-cta-section {
        padding: var(--spacing-2xl) var(--spacing-md);
        border-radius: 2rem;
        margin: var(--spacing-2xl) var(--spacing-md);
    }
    
    .footer-cta-section .container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }

    .cta-content {
        padding: var(--spacing-2xl) var(--spacing-lg);
        border-radius: 28px;
    }
}

@media (max-width: 480px) {
    .footer-cta-section {
        padding: var(--spacing-xl) var(--spacing-md);
        border-radius: 1.5rem;
        margin: var(--spacing-xl) var(--spacing-sm);
    }
    
    .footer-cta-section .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }

    .cta-content {
        padding: var(--spacing-xl) var(--spacing-md);
        border-radius: 24px;
    }

    .services-section {
        border-radius: 1.25rem;
        margin: var(--spacing-xl) var(--spacing-sm);
    }
    
    .services-3d-header {
        padding: var(--spacing-xl) var(--spacing-md);
        border-radius: 1.25rem;
        max-width: min(100%, 96vw);
    }

    .services-3d-header .section-title {
        font-size: clamp(1.875rem, 5vw, 2.25rem);
        line-height: 1.2;
        padding: 0 var(--spacing-xs);
    }

    .services-3d-header .section-description {
        max-width: 100%;
        padding: 0 var(--spacing-md);
        font-size: 1rem;
        line-height: 1.65;
    }

    .services-3d-header .section-badge {
        margin-bottom: var(--spacing-md);
        padding: 0.5rem 1.25rem;
        font-size: 0.75rem;
    }

    .why-choose-section {
        margin: var(--spacing-lg) var(--spacing-sm) var(--spacing-xl);
        border-radius: 20px;
    }
    .hero-section {
        margin: var(--spacing-sm);
        margin-left: auto;
        margin-right: auto;
        max-width: calc(100% - 2 * var(--spacing-sm));
        border-radius: 24px;
        min-height: 70vh;
    }

    .hero-glass-card {
        padding: 1.75rem;
        border-radius: 22px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4375rem 1rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        line-height: 1.55;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-column.footer-brand {
        text-align: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-title {
        text-align: center;
        justify-content: center;
    }

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

    .footer-nav a {
        justify-content: center;
        padding-left: 0;
        border-left: none;
        border-bottom: 2px solid transparent;
    }

    .footer-nav a::before {
        display: none;
    }

    .footer-nav a:hover {
        padding-left: 0;
        transform: none;
        border-left: none;
        border-bottom-color: var(--color-primary);
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Modern letter-by-letter animation support */
.hero-title span span,
.section-title span span {
    will-change: opacity, transform;
    backface-visibility: hidden;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}
/* Prevent fixed header from covering sections when scrolling or using anchor links */
.personal-homepage.modern-design main section,
.contact-page.modern-design main section,
.business-homepage.modern-design main section {
    scroll-margin-top: calc(var(--header-stack-height, 104px) + 0.5rem);
}
.personal-homepage.modern-design main [id],
.contact-page.modern-design main [id],
.business-homepage.modern-design main [id] {
    scroll-margin-top: calc(var(--header-stack-height, 104px) + 0.5rem);
}
/* Smoother scroll on small screens */
@media (max-width: 768px) {
    html {
        -webkit-overflow-scrolling: touch;
    }
}

/* Enhanced section transitions */
.section-header {
    opacity: 1;
}

.section-header .section-badge,
.section-header .section-description {
    will-change: opacity, transform;
}

/* Card animation support */
.service-card,
.feature-card,
.benefit-item,
.feature-box {
    will-change: opacity, transform;
    backface-visibility: hidden;
}

/* Modern button transitions */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Improved focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Performance optimizations */
.hero-section,
.services-section,
.story-section,
.why-choose-section {
    contain: layout style paint;
}

/* ========================================
   Glassmorphism Contact Form Section
   ======================================== */

/* Contact page: light page background (no blue-on-blue); only hero and offices are blue */
.contact-page {
    background: #f0f2f5;
    min-height: 100vh;
    position: relative;
}

.contact-page::before {
    display: none;
}

/* Contact: no white space above header; gap below header matches other pages */
.contact-page .site-header {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.contact-page.modern-design #main-wrapper {
    position: relative;
    z-index: 1;
    padding-top: var(--header-stack-height) !important;
}
.contact-page.modern-design main {
    padding-top: 0 !important;
}

/* Sign-up page: light background so white/light gap below header is visible (like contact + homeowners) */
.sign-up-page.modern-design,
.sign-up-page.modern-design #main-wrapper,
.sign-up-page.modern-design main,
.get-quote-page.modern-design,
.get-quote-page.modern-design #main-wrapper,
.get-quote-page.modern-design main,
.sign-in-page.modern-design,
.sign-in-page.modern-design #main-wrapper,
.sign-in-page.modern-design main,
.account-page.modern-design,
.account-page.modern-design #main-wrapper,
.account-page.modern-design main {
    background: #f0f2f5 !important;
}
/* Sign-up: gap between header and first section – visible light band like other pages */
.sign-up-page.modern-design main .sign-up-content {
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .sign-up-page.modern-design main .sign-up-content {
        margin-top: 2.5rem;
    }
}
@media (min-width: 992px) {
    .sign-up-page.modern-design main .sign-up-content {
        margin-top: 3rem;
    }
}
.sign-up-page.modern-design main .sign-up-content .content-left {
    padding-top: 0 !important;
}
/* Sign Up label: exact match to homeowners-section sub-title (navy, not template green) */
.sign-up-content .section-title.v1 .sub-title.v13 {
    color: rgba(0, 47, 108, 0.95) !important;
    -webkit-text-fill-color: rgba(0, 47, 108, 0.95) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.sign-up-content .big-title.v3 {
    color: #001f53 !important;
}
.sign-up-content .title-pera {
    color: #475569 !important;
}

/* Create-account page: same header as sign-up; colors for text and button to match site */
.create-account-page.modern-design,
.create-account-page.modern-design #main-wrapper,
.create-account-page.modern-design main {
    background: #f0f2f5 !important;
}
.create-account-page.modern-design .section-title.v1 .sub-title.v13 {
    color: rgba(0, 47, 108, 0.95) !important;
    -webkit-text-fill-color: rgba(0, 47, 108, 0.95) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.create-account-page.modern-design .big-title.v3 {
    color: #001f53 !important;
}
.create-account-page.modern-design .title-pera {
    color: #475569 !important;
}
.create-account-page.modern-design .form-input label {
    color: #1e293b !important;
}
.create-account-page.modern-design .form-btn button,
.create-account-page.modern-design .form-btn button[type="submit"] {
    background: #001f53 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.create-account-page.modern-design .form-btn button:hover,
.create-account-page.modern-design .form-btn button[type="submit"]:hover {
    background: #1e3a8a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 31, 83, 0.3);
}

/* Get-quote page: header already matches theme; align text + button colors */
.get-quote-page.modern-design .section-title.v1 .sub-title.v13 {
    color: rgba(0, 47, 108, 0.95) !important;
    -webkit-text-fill-color: rgba(0, 47, 108, 0.95) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.get-quote-page.modern-design .big-title.v3 {
    color: #001f53 !important;
}
.get-quote-page.modern-design .title-pera {
    color: #475569 !important;
}
.get-quote-page.modern-design .form-input label,
.get-quote-page.modern-design .form-label {
    color: #1e293b !important;
}
.get-quote-page.modern-design .form-btn button,
.get-quote-page.modern-design .form-btn button[type="submit"] {
    background: #001f53 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.get-quote-page.modern-design .form-btn button:hover,
.get-quote-page.modern-design .form-btn button[type="submit"]:hover {
    background: #1e3a8a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 31, 83, 0.3);
}

/* Sign-in page: spacing below header and content colors */
.sign-in-page.modern-design main .sign-in-section {
    margin-top: 7rem;
}
.sign-in-page.modern-design main .sign-in-section .content-left {
    padding-top: 0 !important;
}

.sign-in-page.modern-design .section-title.v1 .sub-title.v13 {
    color: rgba(0, 47, 108, 0.95) !important;
    -webkit-text-fill-color: rgba(0, 47, 108, 0.95) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.sign-in-page.modern-design .big-title.v3 {
    color: #001f53 !important;
}
.sign-in-page.modern-design .title-pera {
    color: #475569 !important;
}
.sign-in-page.modern-design .form-input label {
    color: #1e293b !important;
}
.sign-in-page.modern-design .form-btn button,
.sign-in-page.modern-design .form-btn button[type="submit"] {
    background: #001f53 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sign-in-page.modern-design .form-btn button:hover,
.sign-in-page.modern-design .form-btn button[type="submit"]:hover {
    background: #1e3a8a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 31, 83, 0.3);
}
.sign-in-page.modern-design .sign-in-section p {
    color: #475569;
}
.sign-in-page.modern-design .sign-in-section a {
    color: #001f53;
    font-weight: 600;
}
.sign-in-page.modern-design .sign-in-section a:hover {
    color: #1e3a8a;
}

/* Account page: section titles, sections, tables, quick actions, balance – theme colors */
.account-page.modern-design .section-title.v1 .sub-title.v13 {
    color: rgba(0, 47, 108, 0.95) !important;
    -webkit-text-fill-color: rgba(0, 47, 108, 0.95) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.account-page.modern-design .big-title.v3 {
    color: #001f53 !important;
}
.account-page.modern-design .title-pera {
    color: #475569 !important;
}

/* Legal Notices page */
.legal-notices-page.modern-design .big-title.v3 {
    color: var(--color-dark-blue, #001f53) !important;
}
.legal-notices-page.modern-design .title-pera {
    color: #475569 !important;
}
.legal-notice-card {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px rgba(0, 31, 83, 0.1);
    border: 1px solid rgba(0, 31, 83, 0.1);
    overflow: hidden;
}
.legal-notice-attention {
    background: linear-gradient(135deg, var(--color-dark-blue, #001f53) 0%, rgba(37, 99, 235, 0.9) 100%);
    color: #fff;
    padding: 1.25rem 1.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-bottom: 3px solid var(--color-primary, #2563eb);
}
.legal-notice-attention strong {
    font-weight: 700;
}
.legal-notice-body {
    padding: 1.75rem 1.75rem 2rem;
}
.legal-notice-body p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-dark-blue-3, #1e293b);
    margin: 0 0 1.25rem 0;
}
.legal-notice-body p:last-child {
    margin-bottom: 0;
}

/* Account Information section – card at top, header blue */
.account-page.modern-design .account-info-section {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 31, 83, 0.12), 0 1px 3px rgba(0, 31, 83, 0.06);
    border: 1px solid rgba(0, 31, 83, 0.1);
}
.account-page.modern-design .account-info-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0;
    padding: 1rem 1.75rem;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--color-dark-blue, #001f53) 0%, #000b21 100%);
    border-bottom: 3px solid var(--color-primary, #2563eb);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.account-page.modern-design .account-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.5rem;
    padding: 1.25rem 1.75rem;
    align-items: start;
}
.account-page.modern-design .account-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.6rem 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid var(--color-primary, #2563eb);
    min-width: 0;
}
.account-page.modern-design .account-info-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #334155;
}
.account-page.modern-design .account-info-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
}
@media (max-width: 576px) {
    .account-page.modern-design .account-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* Generic account section (if used elsewhere) */
.account-page.modern-design .account-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 31, 83, 0.1);
    box-shadow: 0 2px 12px rgba(0, 31, 83, 0.06);
}
.account-page.modern-design .account-section h3:not(.account-info-heading) {
    color: var(--color-dark-blue, #001f53) !important;
    font-weight: 700;
    font-size: 1.125rem;
}
.account-page.modern-design .account-table th {
    background: rgba(0, 31, 83, 0.06);
    color: var(--color-dark-blue, #001f53);
    border-bottom-color: rgba(0, 31, 83, 0.12);
}
.account-page.modern-design .account-table td {
    color: var(--color-dark-blue-3, #1e293b);
    border-bottom-color: rgba(0, 31, 83, 0.08);
}
.account-page.modern-design .quick-action-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 31, 83, 0.12);
    color: #001f53;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.account-page.modern-design .quick-action-btn:hover {
    background: rgba(0, 31, 83, 0.06);
    border-color: rgba(0, 31, 83, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 31, 83, 0.12);
}
.account-page.modern-design .quick-action-btn h5 {
    color: #001f53;
    font-weight: 600;
}
.account-page.modern-design .account-balance {
    color: #001f53 !important;
    font-weight: 700;
}

/* Sign-up: New Customer (primary) + Existing Customer (outline) – same size, navy/teal, pill effects */
.sign-up-content .sign-up-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.sign-up-content .sign-up-btns li {
    flex: 0 0 auto;
}
.sign-up-content .sign-up-btns a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.25;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}
.sign-up-content .sign-up-btns .btn-primary {
    background: #001f53;
    color: #ffffff !important;
    border: 2px solid transparent;
    box-shadow: 0 4px 14px rgba(0, 31, 83, 0.35);
}
.sign-up-content .sign-up-btns .btn-primary:hover {
    background: #1e3a8a;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 31, 83, 0.4);
}
.sign-up-content .sign-up-btns .btn-outline.sign-up-btn-outline {
    background: transparent;
    color: #001f53 !important;
    border: 2px solid #001f53;
}
.sign-up-content .sign-up-btns .btn-outline.sign-up-btn-outline::before {
    display: none !important;
}
.sign-up-content .sign-up-btns .btn-outline.sign-up-btn-outline:hover {
    background: #001f53 !important;
    color: #ffffff !important;
    border-color: #001f53;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 31, 83, 0.25);
}
.sign-up-content .sign-up-btns .btn-outline.sign-up-btn-outline:active {
    transform: translateY(0) scale(0.98);
}

/* Hero: only section with dark blue background on contact page */
.contact-page .contact-hero.aboutTheTeam {
    background: linear-gradient(135deg, #001f53 0%, #000b21 50%, #001f53 100%) !important;
    position: relative;
}

/* Contact hero – Teal Financial style: left = intro + details (teal accent), right = customer support image */
.contact-hero-teal .contact-hero-left {
    max-width: 540px;
}
.contact-hero-teal .contact-hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #00FFF2 !important;
    margin-bottom: 0.75rem;
    margin-top: 0;
}
.contact-hero-teal .contact-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.contact-hero-teal .contact-hero-desc {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 1.75rem;
    margin-top: 0;
}
.contact-hero-teal .contact-hero-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-hero-teal .contact-detail-item {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #00FFF2 !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.2s ease, opacity 0.2s ease;
}
.contact-hero-teal .contact-detail-item:hover,
.contact-hero-teal .contact-detail-item:focus {
    color: #ffffff !important;
    opacity: 1;
}
.contact-hero-teal .contact-detail-item i {
    color: #00FFF2 !important;
    flex-shrink: 0;
    font-size: 1.25rem;
    margin-top: 0.15rem;
}
.contact-hero-teal .contact-detail-item:hover i,
.contact-hero-teal .contact-detail-item:focus i {
    color: #ffffff !important;
}
.contact-hero-teal .contact-detail-address {
    color: rgba(255, 255, 255, 0.95) !important;
    cursor: default;
}
.contact-hero-teal .contact-detail-address i {
    color: #00FFF2 !important;
}
.contact-hero-teal .contact-detail-address span {
    line-height: 1.5;
}
.contact-hero-teal .contact-hero-right {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.contact-hero-teal .contact-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 1rem;
}
@media (max-width: 991px) {
    .contact-hero-teal .contact-hero-left {
        max-width: 100%;
    }
    .contact-hero-teal .contact-hero-right {
        margin-top: 0.5rem;
    }
}

/* Contact Form Section: light background */
.contact-form-section {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
    background: #ffffff;
}

.contact-form-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #001f53;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.contact-form-subtitle {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* Contact form container: slightly smaller so form fits; white card on light section */
.contact-form-container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.contact-page .glassmorphism-form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: var(--spacing-2xl);
    box-shadow: 0 4px 24px rgba(0, 31, 83, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

/* Fallback for glassmorphism-form outside contact (e.g. other pages) */
.glassmorphism-form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: var(--spacing-2xl);
    box-shadow: 0 4px 24px rgba(0, 31, 83, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

.glassmorphism-form.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

/* Form Layout - aligned grid, consistent spacing */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: 0;
}

.form-row + .form-row {
    margin-top: var(--spacing-lg);
}

.form-group {
    position: relative;
    margin-bottom: 0;
}

.form-group-full {
    grid-column: 1 / -1;
    margin-bottom: 0;
    margin-top: var(--spacing-lg);
}

.form-row + .form-group-full,
.form-group-full + .form-group-full {
    margin-top: var(--spacing-lg);
}

.glassmorphism-form .required {
    color: #b45309;
    margin-left: 0.125rem;
}

/* Form Labels - dark text for contrast on light background */
.glassmorphism-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: var(--spacing-sm);
}

.glassmorphism-form label i {
    font-size: 1rem;
    color: #64748b;
    width: 18px;
    text-align: center;
}

/* Form Inputs - light gray background, dark text, high contrast */
.glassmorphism-form input[type="text"],
.glassmorphism-form input[type="email"],
.glassmorphism-form input[type="tel"],
.glassmorphism-form select,
.glassmorphism-form textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 1.25rem;
    padding-left: 1.25rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.glassmorphism-form textarea {
    padding-left: 1.25rem;
    padding-top: 0.75rem;
    resize: vertical;
    min-height: 120px;
    max-height: 280px;
    font-family: inherit;
    line-height: 1.6;
}

.glassmorphism-form select {
    padding-left: 1.25rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231e293b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 12px;
}

.glassmorphism-form input::placeholder,
.glassmorphism-form textarea::placeholder {
    color: #64748b;
}

.glassmorphism-form input:hover,
.glassmorphism-form select:hover,
.glassmorphism-form textarea:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.glassmorphism-form input:focus,
.glassmorphism-form select:focus,
.glassmorphism-form textarea:focus {
    outline: none;
    background: #ffffff !important;
    border-color: #001f53;
    box-shadow: 0 0 0 3px rgba(0, 31, 83, 0.15);
}

.glassmorphism-form input:invalid:not(:placeholder-shown),
.glassmorphism-form select:invalid:not(:placeholder-shown),
.glassmorphism-form textarea:invalid:not(:placeholder-shown) {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

/* Input Icons - positioned inside inputs */
.glassmorphism-form .form-group-with-icon {
    position: relative;
}

.glassmorphism-form .form-group-with-icon input,
.glassmorphism-form .form-group-with-icon select {
    padding-left: 1.25rem;
}

.glassmorphism-form .form-group-with-icon textarea {
    padding-left: 1.25rem;
}

/* Hide icons in labels and position them inside inputs using pseudo-elements */
.glassmorphism-form .form-group-with-icon label i {
    display: none;
}

/* Icons in input boxes removed – no ::before icons */
.glassmorphism-form .form-group-with-icon::before {
    display: none !important;
}

/* Checkbox - light background, dark text */
.glassmorphism-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.glassmorphism-checkbox:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.glassmorphism-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    outline: none;
    margin: 0;
}

.glassmorphism-checkbox .checkmark {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glassmorphism-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #001f53;
    border-color: #001f53;
    box-shadow: 0 0 0 2px rgba(0, 31, 83, 0.2);
}

.glassmorphism-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.glassmorphism-checkbox .checkbox-text {
    color: #1e293b;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Submit Button - blue on white for contrast */
.glassmorphism-btn {
    width: 100%;
    padding: 1.125rem 2rem;
    background: #001f53;
    border: 1px solid #001f53;
    border-radius: 0.875rem;
    color: #ffffff;
    font-size: 1.0625rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 31, 83, 0.25);
    text-transform: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.glassmorphism-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.glassmorphism-btn:hover {
    background: #002a6e;
    border-color: #002a6e;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 31, 83, 0.35);
}

.glassmorphism-btn:hover::before {
    left: 100%;
}

.glassmorphism-btn:active {
    transform: translateY(0);
}

.glassmorphism-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-submit {
    margin-top: var(--spacing-xl);
}

/* Success Card - light card, dark text */
.glassmorphism-success {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: var(--spacing-4xl);
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 31, 83, 0.08);
    opacity: 0;
}

/* Animate success card when shown after submit */
.contact-success.contact-success-visible {
    animation: contactSuccessReveal 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes contactSuccessReveal {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(24px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.contact-success.contact-success-visible .success-icon {
    animation: successCheckBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s both;
}
@keyframes successCheckBounce {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 31, 83, 0.12);
    border: 2px solid rgba(0, 31, 83, 0.35);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 31, 83, 0.25);
}

.success-icon i {
    font-size: 2.5rem;
    color: #001f53;
    font-weight: 700;
}

.success-title {
    font-size: 2rem;
    font-weight: 800;
    color: #001f53;
    margin-bottom: var(--spacing-md);
}

.glassmorphism-success .success-message {
    font-size: 1.125rem;
    color: #001f53;
    line-height: 1.7;
    margin-bottom: var(--spacing-2xl);
}

.success-btn {
    display: inline-block;
    width: auto;
    min-width: 200px;
    padding: 1rem 2.5rem;
}

/* Contact Page Hero Section - Match index.html theme */
/* TEAL INSURANCE (and hero sub-title v13) white on all pages that have it */
.aboutTheTeam .section-title.v1 .sub-title.v13,
.aboutTheTeam .sub-title.v13 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    border: none !important;
}
.aboutTheTeam .section-title.v1 .sub-title.v13::before,
.aboutTheTeam .section-title.v1 .sub-title.v13::after,
.aboutTheTeam .sub-title.v13::before,
.aboutTheTeam .sub-title.v13::after {
    display: none !important;
}

.contact-page.modern-design .aboutTheTeam .big-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.contact-page.modern-design .aboutTheTeam .title-para {
    color: rgba(255, 255, 255, 0.85) !important;
}

.contact-page.modern-design .list-card .card-head {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.contact-page.modern-design .list-card .card-para {
    color: rgba(255, 255, 255, 0.8) !important;
}

.contact-page.modern-design .list-card i {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Contact Info Widget */
.contact-page.modern-design .contact-info-widget {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 1.5rem !important;
    padding: var(--spacing-2xl) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.contact-page.modern-design .contact-info-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.contact-page.modern-design .contact-info-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
}

.contact-page.modern-design .contact-method h4 {
    color: #ffffff !important;
}

.contact-page.modern-design .contact-method p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.contact-page.modern-design .contact-method .method-hours {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* No border/box around icons – icons only */
.contact-page.modern-design .contact-info-icon,
.contact-page.modern-design .method-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.contact-page.modern-design .method-icon i {
    color: #ffffff !important;
}

/* FAQ Section – dark blue background, white text (swapped with offices) */
.contact-page .team-testimonial.contact-faq {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%) !important;
}

.contact-page.modern-design .contact-faq .section-title-white .big-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.contact-page.modern-design .contact-faq .faq-question h4 {
    color: #ffffff !important;
}

.contact-page.modern-design .contact-faq .faq-answer p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.contact-page.modern-design .contact-faq .faq-question i,
.contact-page.modern-design .contact-faq .faq-question .faq-icon {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Office Locations – light background, dark text (swapped with FAQ) */
.contact-page .additional-coverage.contact-offices {
    background: #f8fafc !important;
}

.contact-page.modern-design .contact-offices .section-title .big-title {
    color: #001f53 !important;
    text-shadow: none !important;
}

.contact-page.modern-design .contact-offices .section-title .title-para {
    color: #475569 !important;
}

.contact-page.modern-design .contact-offices .office-location h4 {
    color: #1e293b !important;
}

.contact-page.modern-design .contact-offices .office-location p {
    color: #475569 !important;
}

.contact-page.modern-design .contact-offices .office-location strong {
    color: #1e293b !important;
}

/* FAQ accordion: collapsed by default, expand with .active */
.contact-page .faq-accordion .faq-answer {
    display: none;
}

.contact-page .faq-accordion .faq-item.active .faq-answer {
    display: block;
}

.contact-page .faq-question {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    transition: opacity 0.2s ease;
}

.contact-page .faq-question:hover {
    opacity: 0.9;
}

.contact-page .faq-question .faq-icon {
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.contact-page .faq-answer {
    padding-bottom: var(--spacing-md);
    padding-right: var(--spacing-xl);
}

/* Responsive Design */
@media (max-width: 768px) {
    .glassmorphism-form {
        padding: var(--spacing-2xl) var(--spacing-lg);
        border-radius: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .contact-form-title {
        font-size: 2rem;
    }

    .contact-form-subtitle {
        font-size: 1rem;
    }

    .glassmorphism-form input[type="text"],
    .glassmorphism-form input[type="email"],
    .glassmorphism-form input[type="tel"],
    .glassmorphism-form select,
    .glassmorphism-form textarea {
        padding: 0.875rem 1rem;
        padding-left: 2.5rem;
        font-size: 0.9375rem;
    }

    .glassmorphism-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .glassmorphism-form {
        padding: var(--spacing-xl) var(--spacing-md);
        border-radius: 1.25rem;
    }

    .contact-form-title {
        font-size: 1.75rem;
    }

    .success-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   Advanced Business Insurance Page Styles
   ======================================== */

/* Business Hero Glass Card */
.business-hero-glass-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(1.3);
    -webkit-backdrop-filter: blur(30px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    padding: var(--spacing-4xl);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.business-hero-glass-card .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.business-hero-glass-card .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.business-hero-glass-card .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: var(--spacing-2xl);
}

.business-hero-glass-card .hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.business-hero-glass-card .hero-cta-primary {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95) 0%, rgba(147, 51, 234, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.business-hero-glass-card .hero-cta-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.business-hero-glass-card .hero-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.business-hero-glass-card .hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Stats Section */
.business-stats-section {
    padding: var(--spacing-3xl) var(--spacing-3xl);
    margin: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px) saturate(1.2);
    -webkit-backdrop-filter: blur(15px) saturate(1.2);
    border: none;
    border-radius: 0;
    position: relative;
    z-index: 1;
    overflow: visible;
    box-shadow: none;
}

.business-stats-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    overflow: visible;
    padding-left: var(--spacing-2xl);
    padding-right: var(--spacing-2xl);
}

.stats-section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-md);
}

.stats-section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: rgba(0, 31, 83, 1); /* Fallback color */
    background: linear-gradient(135deg, rgba(0, 31, 83, 1) 0%, rgba(0, 63, 143, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    display: inline-block; /* Ensures gradient renders properly */
}

.stats-section-subtitle {
    font-size: 1.125rem;
    color: rgba(0, 47, 108, 0.9);
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
    justify-items: center;
    align-items: start;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-2xl);
        justify-items: center;
        max-width: 100%;
    }
}

.glassmorphism-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px) saturate(1.3);
    -webkit-backdrop-filter: blur(25px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: var(--spacing-2xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 4px 12px rgba(0, 0, 0, 0.2) inset;
    isolation: isolate;
    position: relative;
    overflow: visible;
    transform-style: preserve-3d;
    perspective: 1000px;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    flex-shrink: 0;
    box-sizing: border-box;
}

.glassmorphism-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at top, rgba(0, 63, 143, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.glassmorphism-stat::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%) translateZ(-12px);
    width: 90%;
    height: 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    filter: blur(8px);
    transition: all 0.4s ease;
    z-index: -1;
}

.glassmorphism-stat:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 8px 20px rgba(0, 0, 0, 0.3) inset,
        0 -4px 12px rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 63, 143, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.glassmorphism-stat:hover::before {
    opacity: 1;
}

.glassmorphism-stat:hover::after {
    bottom: -16px;
    height: 16px;
    background: rgba(0, 0, 0, 0.5);
    filter: blur(10px);
    width: 95%;
}

.glassmorphism-stat:hover::before {
    opacity: 1;
}

.glassmorphism-stat:hover .stat-number {
    transform: translateZ(20px) scale(1.05);
    background: linear-gradient(135deg, rgba(0, 47, 108, 1) 0%, rgba(0, 31, 83, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 31, 83, 0.95) 0%, rgba(0, 11, 33, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    box-shadow: 0 4px 16px rgba(0, 31, 83, 0.4);
}

.glassmorphism-stat:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 31, 83, 1) 0%, rgba(0, 11, 33, 1) 100%);
    box-shadow: 0 6px 20px rgba(0, 31, 83, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-icon i {
    font-size: 2.25rem;
    color: #ffffff;
}

.stat-number {
    font-size: 3.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(0, 31, 83, 1) 0%, rgba(0, 63, 143, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.02em;
    line-height: 1.1;
    display: block;
    position: relative;
    z-index: 2;
    transform: translateZ(0);
    will-change: transform;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
    transition: color 0.3s ease;
    margin-top: auto;
}

.glassmorphism-stat:hover .stat-label {
    color: rgba(0, 0, 0, 1);
}

/* Business Section Modern Styles - Rounded edges and spacing */
.business-section-modern {
    margin: var(--spacing-3xl) var(--spacing-md);
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.business-section-modern:first-of-type {
    margin-top: var(--spacing-4xl);
}

/* Business Services Section */
.business-services-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px) saturate(1.2);
    -webkit-backdrop-filter: blur(15px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}


/* Darker section headers for better separation */
.section-title-dark {
    color: rgba(0, 31, 83, 1) !important; /* Fallback color */
    background: linear-gradient(135deg, rgba(0, 31, 83, 1) 0%, rgba(0, 63, 143, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    display: inline-block; /* Ensures gradient renders properly */
}

.section-description-dark {
    color: rgba(0, 47, 108, 0.85) !important;
}

.cta-title-dark {
    color: rgba(255, 255, 255, 1) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 1) !important;
    background-clip: unset !important;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-description-dark {
    color: rgba(255, 255, 255, 0.95) !important;
}

.business-services-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Comprehensive Business Coverage – compact section, strong typography */
.business-coverage-section.business-services-section {
    padding: var(--spacing-2xl) var(--spacing-md);
}

.business-coverage-section .business-coverage-header {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-2xl);
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    text-align: center;
}

.business-coverage-section .business-coverage-header .section-title,
.business-coverage-section .business-coverage-header .section-title-dark {
    font-size: clamp(2.25rem, 5.5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: rgba(0, 31, 83, 1);
    background: linear-gradient(135deg, rgba(0, 31, 83, 1) 0%, rgba(0, 63, 143, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 var(--spacing-sm) 0;
}

.business-coverage-section .business-coverage-header .section-description,
.business-coverage-section .business-coverage-header .section-description-dark {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(0, 47, 108, 0.9);
    margin: 0;
}

.business-services-section .section-title,
.business-services-section .section-title-dark {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: rgba(0, 31, 83, 1);
    background: linear-gradient(135deg, rgba(0, 31, 83, 1) 0%, rgba(0, 63, 143, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    display: inline-block;
}

/* Prevent letter-by-letter animation spans from breaking the layout */
.business-services-section .section-title span,
.business-services-section .section-title-dark span {
    display: inline !important;
    margin-right: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.business-services-section .section-description {
    font-size: 1.25rem;
    color: rgba(0, 47, 108, 0.85);
    line-height: 1.7;
}

/* Business coverage – 3-column grid, header-matched cards */
.business-services-cards-static {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0 var(--spacing-2xl) 0;
}

/* Card: same background as site header, white text */
.business-coverage-card {
    background: linear-gradient(135deg, #001f53 0%, #000b21 100%);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 31, 83, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

.business-coverage-card:hover {
    box-shadow: 0 8px 28px rgba(0, 31, 83, 0.25);
}

.business-coverage-card-content {
    padding: var(--spacing-xl) var(--spacing-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.business-coverage-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    margin-bottom: var(--spacing-md);
}

.business-coverage-card-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.business-coverage-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.3;
}

.business-coverage-card-desc {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 var(--spacing-lg) 0;
    flex-grow: 1;
}

.business-coverage-card-cta {
    align-self: stretch;
    justify-content: center;
    margin-top: auto;
}

@media (max-width: 992px) {
    .business-services-cards-static {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .business-services-cards-static {
        grid-template-columns: 1fr;
    }
    .business-coverage-card-content {
        padding: var(--spacing-xl);
    }
}

.services-swiper-wrapper {
    position: relative;
    padding: var(--spacing-2xl) 0;
    max-width: 1400px;
    margin: 0 auto;
}

.services-swiper {
    overflow: visible;
    padding-bottom: var(--spacing-3xl);
}

.services-swiper .swiper-wrapper {
    align-items: stretch;
}

.services-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.services-swiper .swiper-slide .service-card-advanced {
    width: 100%;
    height: 100%;
}

/* Swiper Navigation Arrows */
.services-swiper-next,
.services-swiper-prev {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.services-swiper-next::after,
.services-swiper-prev::after {
    font-size: 1.25rem;
    font-weight: 700;
}

.services-swiper-next:hover,
.services-swiper-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.services-swiper-next {
    right: -28px;
}

.services-swiper-prev {
    left: -28px;
}

@media (max-width: 1200px) {
    .services-swiper-next {
        right: -20px;
    }

    .services-swiper-prev {
        left: -20px;
    }
}

/* Swiper Pagination */
.services-swiper-pagination {
    position: relative;
    margin-top: var(--spacing-2xl);
    bottom: 0 !important;
}

.services-swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 6px;
}

.services-swiper-pagination .swiper-pagination-bullet-active {
    background: rgba(0, 63, 143, 0.9);
    width: 32px;
    border-radius: 6px;
    transform: scale(1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.service-card-advanced {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 380px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.4);
    transition: all 0.5s ease;
    z-index: 0;
}

.service-card-advanced:hover .service-card-bg {
    filter: brightness(0.5);
    transform: scale(1.1);
}

.service-card-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 31, 83, 0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.5rem;
    padding: var(--spacing-xl);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-advanced:hover .service-card-content {
    background: rgba(0, 31, 83, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 31, 83, 0.95) 0%, rgba(0, 11, 33, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 31, 83, 0.3);
}

.service-card-advanced:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 31, 83, 1) 0%, rgba(0, 11, 33, 1) 100%);
    box-shadow: 0 6px 16px rgba(0, 31, 83, 0.4);
}

.service-icon-wrapper i {
    font-size: 1.75rem;
    color: #ffffff;
}

/* White title/description only on dark cards (e.g. .service-card-advanced) */
.service-card-advanced .service-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.service-card-advanced .service-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md) 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

.service-features li i {
    color: rgba(0, 63, 143, 0.9);
    font-size: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 63, 143, 0.9) 0%, rgba(0, 47, 108, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.625rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 63, 143, 0.4);
    align-self: center;
}

.service-link:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 24px rgba(0, 63, 143, 0.5);
    background: linear-gradient(135deg, rgba(0, 63, 143, 1) 0%, rgba(0, 47, 108, 1) 100%);
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(3px);
}

/* Why Choose Section - Split Layout */
.business-why-choose-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px) saturate(1.1);
    -webkit-backdrop-filter: blur(10px) saturate(1.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.business-why-choose-section.business-section-split {
    background: linear-gradient(135deg, rgba(0, 31, 83, 0.15) 0%, rgba(0, 11, 33, 0.1) 50%, rgba(255, 255, 255, 0.05) 100%);
}

.business-why-choose-section .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: rgba(0, 31, 83, 1); /* Fallback color */
    background: linear-gradient(135deg, rgba(0, 31, 83, 1) 0%, rgba(0, 63, 143, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    display: inline-block; /* Ensures gradient renders properly */
}

.business-why-choose-section .section-description {
    font-size: 1.125rem;
    color: rgba(0, 47, 108, 0.85);
    line-height: 1.7;
    margin-bottom: var(--spacing-3xl);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.glassmorphism-feature {
    display: flex;
    gap: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1.25rem;
    padding: var(--spacing-xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.glassmorphism-feature:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 31, 83, 0.95) 0%, rgba(0, 11, 33, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 31, 83, 0.3);
}

.feature-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.feature-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.9);
    margin-bottom: var(--spacing-xs);
}

.feature-content p {
    font-size: 0.9375rem;
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.6;
    margin: 0;
}

.glassmorphism-image-wrapper {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
}

.why-choose-img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    display: block;
}

/* CTA Section - Full Width */
.business-cta-section {
    position: relative;
    padding: var(--spacing-3xl) var(--spacing-md);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-left: var(--spacing-md);
    margin-right: var(--spacing-md);
}

.business-cta-section.business-section-full {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px) saturate(1.2);
    -webkit-backdrop-filter: blur(15px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.business-cta-section.business-section-full .cta-background {
    filter: brightness(0.6) saturate(1.1);
}

.business-cta-section.business-section-full .cta-overlay {
    background: linear-gradient(135deg, rgba(0, 31, 83, 0.4) 0%, rgba(0, 11, 33, 0.5) 100%);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.6) saturate(1.1);
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 31, 83, 0.4) 0%, rgba(0, 11, 33, 0.5) 100%);
    z-index: 1;
}

.glassmorphism-cta {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(30px) saturate(1.3);
    -webkit-backdrop-filter: blur(30px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 2rem;
    padding: var(--spacing-4xl);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(0, 31, 83, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    transition: all 0.3s ease;
}

.glassmorphism-cta:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 24px 72px rgba(0, 31, 83, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Remove any orange shadows from cta-content in business section */
.business-cta-section .cta-content {
    background: transparent !important;
    box-shadow: none !important;
}

.business-cta-section .cta-content::before,
.business-cta-section .cta-content::after {
    display: none !important;
}

.business-cta-section .cta-content:hover {
    box-shadow: none !important;
    transform: none !important;
}

.business-section-full .glassmorphism-cta {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.45);
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.cta-title-dark {
    color: rgba(255, 255, 255, 1) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 1) !important;
    background-clip: unset !important;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: var(--spacing-2xl);
}

.cta-description-dark {
    color: rgba(255, 255, 255, 0.95) !important;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .link-anime.v24.round-border-sm {
    border-radius: 50px !important;
    padding: 14px 48px;
    background: linear-gradient(135deg, rgba(0, 31, 83, 1) 0%, rgba(0, 63, 143, 1) 100%);
    border: 1px solid rgba(0, 31, 83, 0.3);
    color: #ffffff;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-buttons .link-anime.v24.round-border-sm:hover {
    background: linear-gradient(135deg, rgba(0, 47, 108, 1) 0%, rgba(0, 31, 83, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 31, 83, 0.4);
}

.cta-primary {
    background: linear-gradient(135deg, rgba(0, 63, 143, 0.95) 0%, rgba(0, 47, 108, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 63, 143, 0.4);
}

.cta-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 63, 143, 0.5);
    background: linear-gradient(135deg, rgba(0, 63, 143, 1) 0%, rgba(0, 47, 108, 1) 100%);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-swiper-next {
        right: -20px;
    }

    .services-swiper-prev {
        left: -20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .business-hero-glass-card .hero-cta {
        flex-direction: column;
    }

    .business-hero-glass-card .hero-cta-primary,
    .business-hero-glass-card .hero-cta-secondary {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .business-hero-glass-card {
        padding: var(--spacing-2xl);
    }

    .business-stats-section {
        padding: var(--spacing-4xl) var(--spacing-xl);
        margin-top: var(--spacing-5xl);
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }

    .business-section-modern {
        margin: var(--spacing-2xl) var(--spacing-sm);
        border-radius: 1.5rem;
    }

    .business-services-section,
    .business-why-choose-section,
    .business-cta-section {
        padding: var(--spacing-4xl) var(--spacing-xl);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        justify-items: center;
    }

    .services-swiper-next,
    .services-swiper-prev {
        width: 48px;
        height: 48px;
        right: -15px;
        left: -15px;
    }

    .services-swiper-next::after,
    .services-swiper-prev::after {
        font-size: 1rem;
    }

    .service-card-advanced {
        min-height: 360px;
    }

    .service-card-content {
        padding: var(--spacing-lg);
    }

    .glassmorphism-feature {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .business-hero-glass-card {
        padding: var(--spacing-xl);
        border-radius: 1.5rem;
    }

    .business-stats-section {
        padding: var(--spacing-3xl) var(--spacing-md);
        margin: 0;
        border-radius: 0;
    }

    .business-section-modern {
        margin: var(--spacing-xl) var(--spacing-xs);
        border-radius: 1.25rem;
    }

    .business-services-section,
    .business-why-choose-section,
    .business-cta-section {
        padding: var(--spacing-3xl) var(--spacing-md);
    }

    .glassmorphism-stat {
        width: 200px;
        height: 200px;
    }

    .service-card-advanced {
        min-height: 340px;
    }

    .service-card-content {
        padding: var(--spacing-md);
    }

    .glassmorphism-cta {
        padding: var(--spacing-2xl);
    }
}