/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - PRU BSN BRAND COLORS
   ========================================================================== */
:root {
    /* Color Palette - Prudential BSN Takaful Brand Colors */
    --primary-red: #ED1C24;
    --primary-red-hover: #D1141B;
    --primary-red-light: rgba(237, 28, 36, 0.1);
    
    --secondary-teal: #00A79D;
    --secondary-teal-hover: #008E85;
    --secondary-teal-light: rgba(0, 167, 157, 0.1);
    
    --dark-navy: #0F172A;
    --dark-navy-light: #1E293B;
    --dark-navy-dark: #090D16;
    
    /* Backgrounds */
    --bg-light: #F8FAFC;
    --pure-white: #FFFFFF;
    
    /* Gradients */
    --red-gradient: linear-gradient(135deg, #ED1C24 0%, #C91219 100%);
    --teal-gradient: linear-gradient(135deg, #00A79D 0%, #00857D 100%);
    --navy-gradient: linear-gradient(135deg, #0F172A 0%, #090D16 100%);
    --navy-glass-gradient: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(9, 13, 22, 0.9) 100%);
    
    /* Text Colors */
    --text-dark: #0F172A;
    --text-light: #F8FAFC;
    --text-muted-dark: #475569;
    --text-muted-light: #94A3B8;
    
    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-title: 'Outfit', sans-serif;
    
    /* Layout & Spacing */
    --container-max-width: 1200px;
    
    /* Shadows & Borders */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.15), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    --shadow-teal: 0 10px 20px rgba(0, 167, 157, 0.15);
    --shadow-red: 0 10px 20px rgba(237, 28, 36, 0.15);
    
    --border-red: 1px solid rgba(237, 28, 36, 0.2);
    --border-teal: 1px solid rgba(0, 167, 157, 0.2);
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    
    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Offset all anchor targets by the fixed header height (80px) + 10px breathing room */
section[id] {
    scroll-margin-top: 90px;
}


body {
    font-family: var(--font-sans);
    background-color: var(--pure-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--dark-navy);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary-teal);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-teal-hover);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Helper Classes */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-red { color: var(--primary-red); }
.text-teal { color: var(--secondary-teal); }
.accent-red { color: var(--primary-red); }
.accent-teal { color: var(--secondary-teal); }

.accent-red-gradient {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-teal-gradient {
    background: var(--teal-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.grid-2-tight {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.grid-2-3 {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
}

.hidden {
    display: none !important;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.badge-red-gradient {
    background: var(--red-gradient);
    color: var(--text-light);
}

.badge-teal-gradient {
    background: var(--teal-gradient);
    color: var(--text-light);
}

.badge-red {
    background-color: var(--primary-red-light);
    color: var(--primary-red);
    border: 1px solid rgba(237, 28, 36, 0.3);
}

.badge-teal {
    background-color: var(--secondary-teal-light);
    color: var(--secondary-teal);
    border: 1px solid rgba(0, 167, 157, 0.3);
}

.plan-label-red {
    display: inline-block;
    color: #C62828;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    white-space: nowrap;
}

.btn:focus, .btn:active {
    outline: none !important;
    box-shadow: 0 0 10px rgba(24, 211, 197, 0.5) !important;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-full {
    width: 100%;
}

/* Red Button - For important action highlights */
.btn-red {
    background: var(--red-gradient);
    color: var(--text-light);
    box-shadow: var(--shadow-red);
}

.btn-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(237, 28, 36, 0.3);
    background: var(--primary-red-hover);
}

/* Teal Button - Primary CTA such as WhatsApp */
.btn-teal {
    background: var(--teal-gradient);
    color: var(--text-light);
    box-shadow: var(--shadow-teal);
}

.btn-teal:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 167, 157, 0.3);
    background: var(--secondary-teal-hover);
}

.btn-teal-outline {
    background: transparent;
    color: var(--secondary-teal);
    border: 1.5px solid var(--secondary-teal);
}

.btn-teal-outline:hover {
    background: var(--teal-gradient);
    color: var(--text-light);
    box-shadow: var(--shadow-teal);
}

.btn-red-outline {
    background: transparent;
    color: var(--primary-red);
    border: 1.5px solid var(--primary-red);
}

.btn-red-outline:hover {
    background: var(--red-gradient);
    color: var(--text-light);
    box-shadow: var(--shadow-red);
}

.hero-cta-primary {
    padding: 0.8rem 1.6rem;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    background: #25D366 !important;
    color: white !important;
    border: 1.5px solid transparent; /* matches the border box height of secondary button */
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25) !important;
    transition: background var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.hero-cta-primary:hover {
    background: #20C05C !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4) !important;
}

.hero-cta-secondary {
    padding: 0.8rem 1.6rem;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--primary-red);
    border: 1.5px solid var(--primary-red);
    box-shadow: none !important;
    transition: background var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

.hero-cta-secondary:hover {
    background: rgba(237, 28, 36, 0.05) !important;
    color: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 992px) {
    .hero-cta-primary {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
    .hero-cta-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-cta-primary {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
    .hero-cta-secondary {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
}



.btn-outline-white {
    background: transparent;
    color: var(--text-light);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

.btn-whatsapp {
    background: var(--secondary-teal);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 167, 157, 0.25);
}

.btn-whatsapp:hover {
    background: var(--secondary-teal-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 167, 157, 0.4);
}

.btn-whatsapp-brand {
    background: #25D366 !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25) !important;
}

.btn-whatsapp-brand:hover {
    background: #20C05C !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4) !important;
}

.btn-icon {
    margin-right: 0.6rem;
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
}

/* Pulsing CTA Effect */
.pulsing-effect {
    position: relative;
    z-index: 1;
}

.pulsing-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: inherit;
    z-index: -1;
    opacity: 0.4;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.1); opacity: 0; }
}

/* Premium Subtle Pulse Animation for Get Free Quotation Buttons */
.btn-whatsapp-green {
    background: #25D366 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35) !important;
    border: none !important;
    position: relative;
    z-index: 1;
    overflow: visible !important;
    transition: background var(--transition-normal), box-shadow var(--transition-normal) !important;
}

.btn-whatsapp-green:hover {
    background: #1EBE5D !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5) !important;
    transform: none !important;
}

/* Premium Subtle Ripple Animation for Get Free Quotation Buttons */
.premium-pulse {
    position: relative;
    z-index: 1;
    overflow: visible !important;
}

.premium-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    animation: whatsapp-ripple 2.8s cubic-bezier(0.25, 0, 0, 1) infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes whatsapp-ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
        opacity: 1;
    }
    80% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
        opacity: 0;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        opacity: 0;
    }
}

.premium-pulse:hover {
    transform: none !important;
}

/* Premium Light Sweep / Shine Effect */
.shine-effect {
    position: relative;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 70%
    );
    background-size: 250% 100%;
    background-position: 200% 0;
    pointer-events: none;
    z-index: 2;
    animation: shine-sweep 4s infinite ease-in-out;
}

@keyframes shine-sweep {
    0% {
        background-position: 200% 0;
    }
    37.5% {
        background-position: -100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}


/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--border-glass);
    transition: var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(9, 13, 22, 0.95);
    box-shadow: var(--shadow-md);
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
}

.site-header.scrolled .header-container {
    height: 70px;
}

.brand-logo-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: var(--transition-normal);
}

.brand-logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    line-height: 1;
    display: inline-block;
    transition: var(--transition-normal);
}

.brand-logo-text .accent-teal {
    color: #00A79D !important;
}

@media (max-width: 992px) {
    .brand-logo-img {
        height: 40px;
    }
    .brand-logo-text {
        font-size: 18px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted-light);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    height: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-gradient);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* ==========================================================================
   DROPDOWN MENU STYLES (DESKTOP & MOBILE)
   ========================================================================== */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown-toggle-link {
    gap: 0.35rem;
}

.nav-chevron-icon {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .nav-chevron-icon {
    transform: rotate(180deg);
    color: var(--secondary-teal);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--navy-glass-gradient);
    border: var(--border-teal);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 200px;
    border-radius: var(--radius-md);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    list-style: none;
    transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
    z-index: 100;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--dark-navy-dark);
    border-left: var(--border-teal);
    border-top: var(--border-teal);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu li {
    width: 100%;
    list-style: none;
}

.dropdown-item {
    display: block;
    padding: 0.6rem 1.5rem;
    color: var(--text-muted-light);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-item:hover, .dropdown-item.active {
    color: var(--text-light);
    background: rgba(0, 167, 157, 0.15);
    padding-left: 1.75rem;
}

/* Mobile Dropdown Accordion */
.mobile-nav-item-dropdown {
    width: 100%;
}

.mobile-dropdown-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mobile-dropdown-toggle .nav-chevron-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-normal);
}

.mobile-dropdown-toggle .nav-chevron-icon.rotate {
    transform: rotate(180deg);
    color: var(--secondary-teal);
}

.mobile-submenu {
    list-style: none;
    padding-left: 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-submenu.active {
    max-height: 300px;
    margin-top: 0.5rem;
}

.mobile-submenu-link {
    display: block !important;
    padding: 0.5rem 0 !important;
    color: var(--text-muted-light) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    transition: var(--transition-fast);
}

.mobile-submenu-link:hover, .mobile-submenu-link.active {
    color: var(--text-light) !important;
    padding-left: 5px !important;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-cta .btn {
    transition: transform var(--transition-normal), background var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal);
}

.header-cta .btn:hover {
    transform: scale(1.03);
}

@media (max-width: 992px) {
    .header-cta .btn {
        padding: 0.45rem 1rem;
        font-size: 0.8rem;
    }
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Overlay Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(8px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-container {
    position: absolute;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: var(--dark-navy);
    border-left: var(--border-glass);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-overlay.active .mobile-menu-container {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.mobile-nav-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted-light);
    display: block;
    padding: 0.5rem 0;
}

.mobile-nav-link:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.mobile-cta-item {
    margin-top: 2rem;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
section, #warisangold {
    padding: 6rem 0;
    position: relative;
    scroll-margin-top: 80px;
}
#warisangold {
    padding-top: 5rem;
    padding-bottom: 0;
}

.section-header {
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-red);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--dark-navy);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-muted-dark);
    font-size: 1.05rem;
}

/* Scroll Animation Classes */
.scroll-reveal {
    opacity: 0;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scroll-reveal.fade-up {
    transform: translateY(40px);
}

.scroll-reveal.fade-left {
    transform: translateX(-40px);
}

.scroll-reveal.fade-right {
    transform: translateX(40px);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translate(0);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
    background: var(--navy-gradient);
    color: var(--text-light);
    padding-top: 8.5rem;
    padding-bottom: 8rem;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}

.hero-bg-shapes .shape-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary-red);
}

.hero-bg-shapes .shape-2 {
    bottom: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--secondary-teal);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: var(--text-muted-light);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 0;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    border-top: var(--border-glass);
    padding-top: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted-light);
    cursor: default;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    color: var(--text-light);
    text-shadow: 0 0 8px rgba(0, 167, 157, 0.6);
}

.trust-badge i {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.trust-badge:hover i {
    filter: drop-shadow(0 0 5px rgba(0, 167, 157, 0.8));
    transform: scale(1.08);
}

.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    overflow: visible; /* Ensure absolute floating cards are not clipped */
}

.hero-slider-container {
    position: relative;
    z-index: 1; /* Keep slider container at z-index 1 */
    width: 100%;
    aspect-ratio: 5 / 7; /* Matches 500px : 700px aspect ratio */
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid rgba(0, 167, 157, 0.25); /* Teal border matching landing page palette */
    box-shadow: var(--shadow-lg), 0 20px 40px rgba(0, 0, 0, 0.4);
    background-color: var(--dark-navy);
}

@media (min-width: 992px) {
    .hero-slider-container {
        width: 500px;
        height: 700px;
        aspect-ratio: auto;
    }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.6s;
    transform: translateX(30px);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

.hero-slide.exit {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-30px);
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    padding: 1.5rem 1.5rem 8.5rem 1.5rem;
    box-sizing: border-box;
}

/* Premium glassmorphism caption */
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.25rem 1.5rem 2.5rem 1.5rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 60%, rgba(15, 23, 42, 0) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 3;
}

.slide-caption h3 {
    font-size: 1.45rem;
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slide-caption h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--primary-red);
    border-radius: 2px;
}

.slide-caption p {
    font-size: 0.9rem;
    color: var(--text-muted-light);
    line-height: 1.4;
    margin: 0;
}

/* Navigation arrows removed (auto-slide only) */

/* Pagination Dots */
.slider-dots {
    position: absolute;
    bottom: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: default; /* Non-clickable */
    pointer-events: none; /* Disable manual navigation clicks */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dots .dot.active {
    width: 20px;
    border-radius: 4px;
    background: var(--secondary-teal);
    box-shadow: 0 0 8px rgba(0, 167, 157, 0.6);
}


/* Floating Cards in Hero */
.floating-card {
    position: absolute;
    z-index: 10; /* Keep badges in front of the image card */
    background: rgba(0, 167, 157, 0.75); /* PRUBSN Touch teal branding colour #00A79D with opacity */
    border: 1px solid rgba(255, 255, 255, 0.25); /* Glass border */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 10px 30px rgba(0, 167, 157, 0.25); /* Soft teal shadow */
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.floating-card:hover {
    background: rgba(0, 140, 132, 0.85); /* Hover colour #008C84 with opacity */
    transform: translateY(-5px);
}

.floating-card h4.badge-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-light) !important; /* White text */
    margin: 0;
    line-height: 1.2;
}

.floating-card p.badge-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9) !important; /* White subtext */
    margin: 0;
    line-height: 1.2;
}

.floating-card .badge-icon-wrapper i,
.floating-card .badge-icon-wrapper svg {
    color: var(--text-light) !important; /* White icons */
    width: 20px;
    height: 20px;
    display: block;
}

.floating-card-1 {
    top: 8%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 12%;
    right: -10%;
    animation-delay: 3s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   2. WHY PROTECTION MATTERS SECTION
   ========================================================================== */
.protection-section {
    background-color: var(--bg-light);
}

.stat-card {
    background: var(--pure-white);
    border-radius: var(--radius-md);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(237, 28, 36, 0.3);
}

.stat-icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(15, 23, 42, 0.05);
    color: var(--dark-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.stat-card:hover .stat-icon-box {
    background: var(--red-gradient);
    color: var(--text-light);
}

.stat-value {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 0.75rem;
}

.stat-text {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
}

/* ==========================================================================
   3. BENEFITS OF HIBAH TAKAFUL
   ========================================================================== */
.benefits-section {
    background-color: var(--pure-white);
}

.benefits-visual {
    display: flex;
    align-items: center;
}

.benefits-card-highlight {
    background: var(--dark-navy);
    border-radius: var(--radius-lg);
    border: var(--border-red);
    color: var(--text-light);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.benefits-card-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(237, 28, 36, 0.1) 0%, rgba(237, 28, 36, 0) 70%);
}

.highlight-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    border-bottom: var(--border-glass);
    padding-bottom: 1.25rem;
}

.highlight-header h3 {
    font-size: 1.35rem;
}

.highlight-header i {
    color: var(--secondary-teal);
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.comparison-list li {
    position: relative;
}

.list-item-title {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-red);
    margin-bottom: 0.35rem;
}

.list-item-desc {
    font-size: 0.85rem;
    color: var(--text-muted-light);
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-normal);
}

.benefit-item:hover {
    background: var(--pure-white);
    box-shadow: var(--shadow-md);
    border-color: rgba(237, 28, 36, 0.2);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--primary-red-light);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.benefit-item:hover .benefit-icon {
    background: var(--red-gradient);
    color: var(--text-light);
}

.benefit-text h3 {
    font-size: 1.15rem;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.benefit-text p {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
}

/* ==========================================================================
   4. FEATURED PLAN - PRUBSN WARISANGOLD
   ========================================================================== */
.plan-section {
    background-color: var(--bg-light);
}

.plan-visual {
    display: flex;
    justify-content: center;
}

.plan-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 540px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18), 0 1px 3px rgba(0, 0, 0, 0.05);
}


/* Medical Card Carousel Slider */
.medical-slider {
    position: relative;
    width: 100%;
    display: flex;
}

.medical-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.medical-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Hibah & Medical Carousel Slider */
.hibah-slider,
.medical-slider {
    position: relative;
    width: 100%;
    display: flex;
}

.hibah-slide,
.medical-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.hibah-slide.active,
.medical-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.plan-img {
    width: 100%;
    display: block;
    background-color: var(--dark-navy);
}

.badge-plan {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.85);
    color: var(--secondary-teal);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    border: var(--border-teal);
    backdrop-filter: blur(5px);
}

.plan-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plan-title {
    font-size: 2.5rem;
    color: var(--dark-navy);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.plan-description {
    color: var(--text-muted-dark);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-row {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background: var(--secondary-teal-light);
    color: var(--secondary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-info h4 {
    font-size: 1.05rem;
    color: var(--dark-navy);
    margin-bottom: 0.25rem;
}

.feature-info p {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
}

/* ==========================================================================
   5. ABOUT ME SECTION
   ========================================================================== */
.about-section {
    background-color: var(--pure-white);
    padding-top: 4.5rem; /* Reduced top spacing above the section from 6rem */
}

@media (max-width: 992px) {
    .about-section {
        padding-top: 3.5rem; /* Reduced top spacing for mobile and tablet */
    }
}

.about-section-label {
    display: inline-block;
    color: var(--primary-red); /* PruBSN brand red */
    font-size: 14px; /* Font size: 14px–16px */
    font-weight: 600; /* Font weight: 600 */
    text-transform: uppercase;
    letter-spacing: 2px; /* Letter spacing: 2px */
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Subtle divider line underneath the label */
.about-section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-red);
    border-radius: 1px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-image-card {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 167, 157, 0.15);
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: var(--navy-gradient);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 167, 157, 0.15);
}

.about-img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 768px) {
    .about-image-card {
        height: 400px;
    }
}

/* Dedicated Statistics Counter Section */
.about-stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem; /* Reduced top margin by 30% from 5rem */
    margin-bottom: 1.4rem; /* Reduced bottom margin by 30% from 2rem */
}

.about-stat-card {
    background: var(--pure-white);
    border-radius: 16px;
    padding: 0.75rem; /* Reduced padding inside cards */
    height: 130px; /* Reduced card height by 35%, maximum card height 140px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #00A79D; /* PruBSN green accent color */
    transition: height 0.3s ease;
}

.about-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 167, 157, 0.15); /* Soft premium hover shadow */
}

.about-stat-card:hover::before {
    height: 6px;
}

.stat-icon-wrapper {
    width: 40px; /* Proportional icon wrapper */
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 167, 157, 0.1);
    color: #00A79D;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem; /* Reduced icon margin */
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.about-stat-card:hover .stat-icon-wrapper {
    transform: scale(1.1);
    background: #00A79D;
    color: var(--pure-white);
}

.stat-icon-wrapper i,
.stat-icon-wrapper svg {
    width: 24px; /* Reduced icon size to 24px */
    height: 24px;
    stroke-width: 2px;
}

.stat-number {
    font-size: 36px; /* Counter number size: 36px */
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 0.15rem; /* Reduced number margin */
    font-family: var(--font-title);
    line-height: 1.1;
}

.stat-label {
    font-size: 14px; /* Label size: 14px */
    color: var(--text-muted-dark);
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 1023px) {
    .about-stats-container {
        grid-template-columns: repeat(2, 1fr); /* Tablet (768px - 1023px): Display 2 cards per row */
        gap: 1.25rem;
        margin-top: 2.5rem;
        margin-bottom: 1rem;
    }
    .about-stat-card {
        height: 130px; /* Keep balanced height */
        padding: 0.75rem;
    }
}

@media (max-width: 767px) {
    .about-stats-container {
        grid-template-columns: repeat(2, 1fr); /* Mobile (<768px): Display 2 cards per row */
        gap: 0.75rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    .about-stat-card {
        padding: 0.65rem 0.5rem;
        height: 115px; /* Mobile card height between 110px-120px */
    }
    .stat-icon-wrapper {
        width: 32px;
        height: 32px;
        margin-bottom: 0.15rem;
    }
    .stat-icon-wrapper i,
    .stat-icon-wrapper svg {
        width: 18px;
        height: 18px;
    }
    .stat-number {
        font-size: 24px; /* Mobile counter number size: 24px */
        margin-bottom: 0.1rem;
    }
    .stat-label {
        font-size: 12px; /* Mobile label size: 12px */
    }
    .about-subtitle {
        font-size: 0.95rem; /* Better scaling on mobile devices */
        line-height: 1.4;
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-title {
    font-size: 2.5rem;
    color: var(--dark-navy);
    margin-bottom: 0.25rem;
}

.about-subtitle {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: var(--font-title);
}

.subtitle-separator {
    color: var(--primary-red);
    margin-left: 8px;
    margin-right: 8px;
    font-weight: 600; /* Clearly visible separator weight */
}

.about-subtitle-item {
    display: inline;
}

.about-text {
    color: var(--text-muted-dark);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.about-highlight {
    color: #000000 !important;
    font-weight: 600 !important;
}

.about-expertise-title {
    font-size: 1.2rem;
    color: var(--dark-navy);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-red-light);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-navy);
}

.expertise-item i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ==========================================================================
   6. WHY CHOOSE ME SECTION
   ========================================================================== */
.why-me-section {
    background-color: var(--bg-light);
}

.why-me-container {
    align-items: stretch;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-normal);
}

.service-card:hover {
    background: var(--pure-white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(237, 28, 36, 0.2);
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(15, 23, 42, 0.05);
    color: var(--dark-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--red-gradient);
    color: var(--text-light);
}

.service-card h3 {
    font-size: 1.15rem;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
}

/* ==========================================================================
   7. TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    background-color: var(--pure-white);
    padding: 5rem 0;
}

.testimonials-grid {
    margin-top: 4.5rem; /* Space for the floating profile photos on the first row */
}

.testimonial-card {
    position: relative;
    background: var(--pure-white);
    border-radius: 20px;
    padding: 3rem 2.25rem 2.25rem 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 167, 157, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 167, 157, 0.15);
}

.testimonial-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    height: 35px;
}

.quote-icon-wrapper {
    color: rgba(0, 167, 157, 0.08);
    margin-top: -10px;
}

.quote-icon {
    width: 48px;
    height: 48px;
}

.client-avatar-floating {
    position: absolute;
    top: -25px;
    right: -18px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #FFFFFF;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    background: var(--bg-light);
    z-index: 5;
}

.client-avatar-floating .testimonial-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.rating i,
.rating svg {
    width: 18px !important;
    height: 18px !important;
    transition: transform 0.2s ease;
}

.rating i.fill-red {
    color: var(--primary-red);
    fill: var(--primary-red);
}

.rating i.fill-teal {
    color: var(--secondary-teal);
    fill: var(--secondary-teal);
}

.rating i.fill-blue,
.rating svg.fill-blue {
    color: var(--secondary-teal, #00A79D) !important;
    fill: var(--secondary-teal, #00A79D) !important;
    stroke: var(--secondary-teal, #00A79D) !important;
}

.rating i.fill-gold,
.rating svg.fill-gold {
    fill: #F4C542 !important;
    stroke: #000000 !important;
    stroke-width: 1.5px !important;
    filter: drop-shadow(0 0 3px rgba(244, 197, 66, 0.45));
}

.testimonial-moon-icon {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.testimonial-moon-icon i,
.testimonial-moon-icon svg {
    width: 22px !important;
    height: 22px !important;
    color: var(--secondary-teal, #00A79D) !important;
    stroke: var(--secondary-teal, #00A79D) !important;
    stroke-width: 1.5px !important;
    fill: none !important;
    opacity: 0.75;
}

.testimonial-disclaimer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted-light, #94A3B8);
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem 2rem;
    }
}

@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.client-info-new {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1.25rem;
    margin-top: auto;
}

.client-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 0.2rem;
}

.client-meta-text {
    font-size: 0.8rem;
    color: var(--text-muted-dark);
    font-weight: 500;
}

/* ==========================================================================
   8. FAQ SECTION
   ========================================================================== */
.faq-section {
    background-color: var(--bg-light);
}

.faq-accordion-container {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-navy);
    text-align: left;
    cursor: pointer;
}

.faq-question:hover {
    color: var(--primary-red);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-muted-dark);
    line-height: 1.7;
    padding-bottom: 1.5rem;
}

/* Accordion Active States */
.faq-item.active {
    background: var(--pure-white);
    border-color: rgba(237, 28, 36, 0.3);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary-red);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust as needed */
    padding: 0 1.5rem;
}

/* ==========================================================================
   8. LEAD FORM SECTION
   ========================================================================== */
.lead-form-section {
    background: var(--navy-gradient);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.lead-form-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(237, 28, 36, 0.05) 0%, rgba(237, 28, 36, 0) 70%);
    z-index: 1;
}

.form-container {
    max-width: 750px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.6);
    border: var(--border-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.form-header p {
    color: var(--text-muted-light);
    font-size: 0.95rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-group label i {
    width: 14px;
    height: 14px;
    color: var(--secondary-teal);
}

.form-group input, .form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 167, 157, 0.3);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background-color: var(--dark-navy-light);
    color: var(--text-light);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus, .form-group select:focus,
.form-group input:active, .form-group select:active {
    outline: none !important;
    border-color: #18d3c5 !important;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(24, 211, 197, 0.4) !important;
}

/* Error States */
.form-group.error input, .form-group.error select {
    border-color: #EF4444;
}

.form-group.span-2 {
    grid-column: span 2;
}

.error-msg {
    font-size: 0.75rem;
    color: #EF4444;
    display: none;
}

.form-group.error .error-msg {
    display: block;
}

.form-footer {
    display: flex;
    justify-content: center;
}

/* Success Message Box */
.success-message {
    text-align: center;
    padding: 1.5rem 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: rgba(0, 167, 157, 0.1);
    color: var(--secondary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.success-icon i {
    width: 32px;
    height: 32px;
}

.success-message h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--text-muted-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.success-sub {
    font-weight: 500;
    margin-top: 1.5rem;
}

.success-message .btn-whatsapp {
    margin-top: 1rem;
}

/* Loading Spinner */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(15, 23, 42, 0.2);
    border-top: 2.5px solid var(--text-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   9. WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--secondary-teal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 167, 157, 0.35);
    z-index: 90;
    transition: var(--transition-normal);
    animation: floating-pulse 2s infinite;
}

.whatsapp-floating:hover {
    transform: scale(1.08) rotate(5deg);
    background: var(--secondary-teal-hover);
}

.wa-svg-icon {
    width: 28px;
    height: 28px;
}

/* Tooltip on Floating Button */
.floating-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(15, 23, 42, 0.9);
    border: var(--border-teal);
    color: var(--secondary-teal);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: var(--transition-normal);
}

.whatsapp-floating:hover .floating-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes floating-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 167, 157, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(0, 167, 157, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 167, 157, 0); }
}

/* ==========================================================================
   10. FOOTER SECTION
   ========================================================================== */
.site-footer {
    background: var(--dark-navy-dark);
    color: var(--text-light);
    border-top: 2px solid var(--primary-red);
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-bio {
    color: var(--text-muted-light);
    font-size: 0.85rem;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--border-glass);
}

.social-links a:hover {
    background: var(--teal-gradient);
    color: var(--text-light);
}

.footer-grid h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-grid h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

.footer-links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1rem;
}

.footer-links a {
    color: var(--text-muted-light);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--secondary-teal);
    padding-left: 3px;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted-light);
}

.footer-contact li i {
    width: 16px;
    height: 16px;
    color: var(--secondary-teal);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.footer-contact li a:hover {
    color: var(--secondary-teal);
}

/* ==========================================================================
   ABOUT ME SOCIAL MEDIA SECTION STYLING
   ========================================================================== */
.about-social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 3.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08); /* Divider connected to About Me */
    padding-top: 3.5rem;
}

.about-social-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    text-align: center;
}

.social-btn-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px; /* 12px–16px gap */
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px; /* Desktop: 56px x 56px */
    height: 56px;
    border-radius: 14px; /* Soft rounded corners (12px–16px) */
    background: rgba(15, 23, 42, 0.95); /* Dark glassmorphism card */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 167, 157, 0.2); /* Subtle teal border */
    color: rgba(255, 255, 255, 0.75); /* Muted white icon */
    box-shadow: 0 4px 10px rgba(0, 167, 157, 0.1); /* Subtle teal glow */
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                background 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    outline: none;
}

.social-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effect: lift and scale svg */
.social-btn:hover {
    transform: translateY(-4px); /* Slight lift effect */
}

.social-btn:hover svg {
    transform: scale(1.15);
}

/* Platform specific brand colors only on hover */
.social-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(214, 36, 159, 0.35);
}

.social-btn.facebook:hover {
    background: #1877F2;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(24, 119, 242, 0.35);
}

.social-btn.tiktok:hover {
    background: #010101;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 
                0 0 8px rgba(255, 0, 80, 0.3), 
                0 0 8px rgba(0, 242, 234, 0.3);
}

.social-btn.threads:hover {
    background: #000000;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8), 
                0 0 10px rgba(255, 255, 255, 0.15);
}

/* Accessibility: proper focus state */
.social-btn:focus-visible {
    outline: none;
    border-color: var(--secondary-teal);
    box-shadow: 0 0 0 3px rgba(0, 167, 157, 0.4);
}

/* ==========================================================================
   ACHIEVEMENTS & RECOGNITIONS SECTION
   ========================================================================== */
.achievements-section {
    position: relative;
    padding: 6rem 0 7rem 0;
    background: linear-gradient(135deg, #090d16 0%, #111827 100%);
    color: var(--text-light);
    overflow: hidden;
    z-index: 1;
}

.achievement-title {
    color: #FFFFFF !important;
    font-weight: 800 !important;
}

.achievement-title .title-text {
    color: #FFFFFF !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.25);
}

.achievement-title .trophy-icon {
    text-shadow: none !important;
    margin-right: 0.5rem;
}

.achievements-section .section-desc {
    color: #FFFFFF !important;
    opacity: 0.95 !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}


/* Faint geometric pattern overlay */
.achievements-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(0, 167, 157, 0.08) 1px, transparent 0),
        radial-gradient(rgba(244, 197, 66, 0.05) 1.5px, transparent 0);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.8;
    pointer-events: none;
    z-index: -1;
}

/* Very light glow effects */
.achievements-section-glow-1 {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 167, 157, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.achievements-section-glow-2 {
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(244, 197, 66, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Achievements Section Stats */
.achievements-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3.5rem 0 4.5rem 0;
}

.achievement-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease;
}

.achievement-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(244, 197, 66, 0.3);
    box-shadow: 0 15px 35px rgba(244, 197, 66, 0.06), 0 0 1px rgba(255, 255, 255, 0.1);
}

.achievement-stat-card .stat-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 167, 157, 0.1) 0%, rgba(244, 197, 66, 0.1) 100%);
    color: #F4C542;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    border: 1px solid rgba(244, 197, 66, 0.2);
}

.achievement-stat-card .stat-icon-wrapper i {
    width: 24px;
    height: 24px;
}

.achievement-stat-card .stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: #F4C542;
    margin-bottom: 0.5rem;
    font-family: var(--font-title);
    background: linear-gradient(135deg, #FFF 60%, #F4C542 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.achievement-stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted-light);
    font-weight: 500;
}

/* Carousel Showcase Style (3D Coverflow) */
.achievements-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 480px; /* fixed height to container absolute cards */
    margin: 3rem auto 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    transform-style: preserve-3d;
    overflow: visible; /* absolute positioning needs cards to overflow container width */
}

.achievement-card-wrapper {
    position: absolute;
    width: 320px;
    height: 400px;
    transform: translateX(var(--tx)) scale(var(--scale)) rotateY(var(--rot-y));
    opacity: var(--op);
    z-index: var(--zi);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                z-index 0.6s step-end,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    cursor: pointer;
    border-radius: 16px;
    background: rgba(10, 15, 30, 0.85); /* dark luxury glassmorphic card backing */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform-style: preserve-3d;
}

/* Gold inner border/plaque line */
.achievement-card-wrapper::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1.5px solid rgba(244, 197, 66, 0.18); /* subtle gold inner line */
    border-radius: 12px;
    pointer-events: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Active Highlight & Gold/Blue Glow accents */
.achievement-card-wrapper.active-card {
    border-color: rgba(244, 197, 66, 0.4);
    box-shadow: 0 20px 45px rgba(244, 197, 66, 0.15), 
                0 0 25px rgba(0, 167, 157, 0.25), 
                0 15px 35px rgba(0, 0, 0, 0.6);
}

.achievement-card-wrapper.active-card::before {
    border-color: rgba(244, 197, 66, 0.65);
    box-shadow: inset 0 0 10px rgba(244, 197, 66, 0.1);
}

/* Hover Plaque behavior */
.achievement-card-wrapper:hover {
    box-shadow: 0 25px 50px rgba(244, 197, 66, 0.25), 
                0 0 30px rgba(0, 167, 157, 0.35), 
                0 20px 40px rgba(0, 0, 0, 0.7);
    border-color: rgba(244, 197, 66, 0.7);
}

.achievement-card-wrapper:hover::before {
    border-color: rgba(244, 197, 66, 0.95);
}

/* Inner container for achievement card content */
.achievement-card-inner-container {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.achievement-card-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #060913;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.achievement-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.achievement-card-wrapper:hover .achievement-card-img {
    transform: scale(1.06);
}

.achievements-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.achievements-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.achievements-dot.active {
    background: #F4C542;
    width: 24px;
    border-radius: 5px;
}

/* Responsiveness for 3D Achievements Carousel */
@media (max-width: 992px) {
    .achievements-carousel-container {
        height: 420px;
        max-width: 900px;
    }
    .achievement-card-wrapper {
        width: 280px;
        height: 350px;
        padding: 14px;
    }
    .achievement-card-wrapper::before {
        inset: 6px;
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    .achievements-carousel-container {
        height: 360px;
        max-width: 100%;
    }
    .achievement-card-wrapper {
        width: 240px;
        height: 300px;
        padding: 12px;
    }
    .achievement-card-wrapper::before {
        inset: 5px;
        border-radius: 8px;
    }
}


.footer-bottom {
    border-top: var(--border-glass);
    padding-top: 2rem;
}

.disclaimer-text {
    font-size: 0.75rem;
    color: var(--text-muted-light);
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.footer-copyright-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted-light);
}

.footer-policy-links a {
    color: var(--text-muted-light);
}

.footer-policy-links a:hover {
    color: var(--secondary-teal);
}

/* ==========================================================================
   MODAL - PRIVACY POLICY
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    padding: 1rem;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--dark-navy);
    border: var(--border-teal);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: var(--border-glass);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.25rem;
    color: var(--secondary-teal);
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted-light);
    cursor: pointer;
    font-size: 1.25rem;
}

.modal-close:hover {
    color: var(--text-light);
}

.modal-body h4 {
    color: var(--secondary-teal);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.modal-body p, .modal-body ul {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    margin-bottom: 1rem;
}

.modal-body ul {
    padding-left: 1.5rem;
}

.modal-body ul li {
    margin-bottom: 0.35rem;
}

/* ==========================================================================
   CUSTOM DROPDOWN / SELECT MENU STYLING
   ========================================================================== */
.custom-select-container {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 167, 157, 0.3);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
    user-select: none;
}

.custom-select-trigger:focus,
.custom-select-container.active .custom-select-trigger {
    outline: none !important;
    border-color: #18d3c5 !important;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(24, 211, 197, 0.4) !important;
}

.form-group.error .custom-select-trigger {
    border-color: #EF4444 !important;
    box-shadow: none !important;
}

.custom-select-arrow {
    width: 1.25rem;
    height: 1.25rem;
    color: #94a3b8;
    transition: transform var(--transition-fast);
}

.custom-select-container.active .custom-select-arrow {
    transform: rotate(180deg);
    color: #18d3c5;
}

.custom-select-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: #0f172a; /* Dark navy background */
    border: none !important; /* Borderless dropdown menu */
    outline: none !important;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); /* Subtle dark shadow */
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.custom-select-container.active .custom-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 0.85rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-muted-light);
    cursor: pointer;
    transition: var(--transition-fast);
    user-select: none;
}

.custom-select-option:hover {
    background: rgba(24, 211, 197, 0.1); /* Subtle theme highlight on hover */
    color: var(--text-light);
}

.custom-select-option.selected {
    background: rgba(24, 211, 197, 0.15); /* Slightly stronger theme highlight */
    color: #18d3c5; /* Theme color for selected option */
    font-weight: 500;
}

/* Hide native select visually but keep it accessible for form validation/accessibility */
.custom-select-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;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ==========================================================================
   CLIENT GALLERY SECTION STYLING
   ========================================================================== */
.gallery-section {
    background-color: var(--pure-white);
    padding: 1.5rem 0 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.gallery-section .section-header {
    margin-bottom: 2rem;
}

.gallery-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3.5rem;
}

.gallery-carousel-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.gallery-carousel-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 calc((100% - (var(--visible-slides) - 1) * 1.25rem) / var(--visible-slides));
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.gallery-image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 167, 157, 0.1);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-slide:hover .gallery-image-box {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md), 0 10px 20px rgba(0, 167, 157, 0.15);
}

.gallery-slide:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    margin-top: 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.gallery-slide:hover .gallery-caption {
    color: var(--secondary-teal);
}

/* Navigation Buttons */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--pure-white);
    border: 1px solid rgba(0, 167, 157, 0.2);
    color: var(--secondary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    transition: all 0.3s ease;
}

.gallery-nav-btn:hover {
    background: var(--secondary-teal);
    color: var(--pure-white);
    box-shadow: var(--shadow-teal);
}

.gallery-nav-btn.prev {
    left: 0.5rem;
}

.gallery-nav-btn.next {
    right: 0.5rem;
}

/* Dots Indicator */
.gallery-dots-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 167, 157, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    width: 24px;
    background: var(--secondary-teal);
    border-radius: 4px;
}

/* Lightbox Modal */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 13, 22, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    padding: 2rem;
}

.gallery-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--secondary-teal);
}

.lightbox-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
    margin-top: 1.25rem;
    color: var(--text-light);
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
}

/* CSS Variables for Slide Counts */
:root {
    --visible-slides: 6;
}

@media (max-width: 1200px) {
    .gallery-carousel-wrapper {
        padding: 0 2.5rem;
    }
}

@media (max-width: 992px) {
    :root {
        --visible-slides: 4;
    }
    .gallery-carousel-wrapper {
        padding: 0 1.5rem;
    }
    .gallery-nav-btn {
        width: 36px;
        height: 36px;
    }
    .gallery-nav-btn.prev { left: 0; }
    .gallery-nav-btn.next { right: 0; }
}

@media (max-width: 768px) {
    :root {
        --visible-slides: 2;
    }
    .gallery-section {
        padding: 0.75rem 0 2.25rem 0;
    }
    .gallery-carousel-wrapper {
        padding: 0;
    }
    .gallery-nav-btn {
        display: none !important;
    }
}

/* ==========================================================================
   JOIN US / CAREER SECTION STYLING
   ========================================================================== */
.career-photo-wrapper {
    width: 100%;
    margin-bottom: 2.5rem;
    text-align: center;
}

.career-group-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center 35%; /* Centers the people in the photo */
    border-radius: 20px;
    border: 2px solid rgba(0, 167, 157, 0.25);
    box-shadow: var(--shadow-lg), 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.career-group-img:hover {
    transform: scale(1.01);
    border-color: rgba(0, 167, 157, 0.5);
}

.career-form-wrapper {
    width: 100%;
}

.form-group.span-2 {
    display: flex;
    flex-direction: column;
}

/* Flexbox wrapper adjustment for checkbox row */
.form-group.span-2[style*="flex-direction: row"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
}

.form-group.span-2[style*="flex-direction: row"] .error-msg {
    width: 100%;
    margin-top: 0.5rem;
    margin-left: 2rem;
}

/* File upload input formatting */
input[type="file"] {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 167, 157, 0.3);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
}

input[type="file"]:focus, input[type="file"]:active {
    outline: none !important;
    border-color: #18d3c5 !important;
    box-shadow: 0 0 10px rgba(24, 211, 197, 0.4) !important;
}

/* Success Box Animation */
.success-box {
    animation: fadeIn 0.5s ease forwards;
}

@media (max-width: 992px) {
    .career-group-img {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .career-group-img {
        height: 220px;
    }
}

/* ==========================================================================
   RESPONSIVENESS / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .hero-headline {
        font-size: 2.75rem;
    }
    .footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    section {
        padding: 5rem 0;
    }
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .grid-2-3 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-container {
        text-align: center;
        gap: 3rem;
    }
    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-trust-badges {
        justify-content: center;
    }
    .image-wrapper {
        margin: 0 auto;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .why-me-container {
        flex-direction: column;
    }
    .consultant-card {
        max-width: 450px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-bio {
        max-width: 100%;
    }
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
    .social-btn {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }
    .social-btn svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero-headline {
        font-size: 2.25rem;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .main-navigation {
        display: none;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .form-container {
        padding: 2.5rem 1.5rem;
    }
    .hero-slide img {
        padding: 1rem 1rem 6.5rem 1rem;
    }
    .slide-caption {
        padding: 1.5rem 1rem 2rem 1rem;
    }
    .slide-caption h3 {
        font-size: 1.2rem;
    }
    .slide-caption p {
        font-size: 0.8rem;
    }
    .floating-card-1 {
        left: -5%;
    }
    .floating-card-2 {
        right: -5%;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-copyright-row {
        flex-direction: column;
        text-align: center;
    }
    .social-btn {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
    .social-btn svg {
        width: 20px;
        height: 20px;
    }
    .social-btn-row {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    .floating-card {
        padding: 0.6rem 0.85rem;
        gap: 0.5rem;
    }
    .floating-card h4 {
        font-size: 0.85rem;
    }
    .floating-card p {
        font-size: 0.65rem;
    }
    .floating-card-1 {
        left: -3%;
        top: 6%;
    }
    .floating-card-2 {
        right: -3%;
        bottom: 10%;
    }
    .site-header {
        padding: 0;
    }
    .header-cta .btn {
        display: none; /* Hide header cta button, only mobile menu cta remains */
    }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS AND PREMIUM UX REDESIGN (MOBILE-FIRST FEEL)
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    /* 1. Global Layout resets to Flex Column and centering */
    section {
        padding: 4.5rem 0 !important; /* Premium luxury vertical breathing space */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .hero-section {
        padding-top: 120px !important;
        padding-bottom: 3.5rem !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-headline {
        margin-top: 0 !important;
        margin-bottom: 24px !important;
        font-size: 2.25rem !important; /* Premium responsive font size */
    }

    .hero-subheadline {
        margin-top: 0 !important;
        margin-bottom: 32px !important;
    }

    .hero-actions {
        margin-bottom: 0 !important;
    }

    .hero-visual {
        margin-top: 40px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-trust-badges {
        display: none !important;
    }

    .image-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 380px !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .floating-card {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        margin: 15px auto 0 auto !important;
        width: 100% !important;
        max-width: 320px !important;
        justify-content: center !important;
        animation: none !important;
        transform: none !important;
    }

    .floating-card-1 {
        order: 7 !important;
    }

    .floating-card-2 {
        order: 8 !important;
    }
    
    .grid-2, .grid-3, .grid-4, .grid-2-3, .grid-2-tight, .form-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    /* Reset grid span items */
    .form-group.span-2, .form-footer.span-2 {
        grid-column: span 1 !important;
        width: 100% !important;
    }
    
    /* 2. Global Centering of Titles, Labels and Subtitles */
    .section-header, .section-title, .section-subtitle, .section-desc, 
    .about-section-label, .about-title, .about-subtitle, .about-expertise-title, 
    .career-form-wrapper h3, .form-header h2, .form-header p,
    .plan-label-red, .plan-title, .plan-description {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Center all body text containers */
    .about-text, .plan-description, .stat-text, .testimonial-text, .faq-answer {
        text-align: center !important;
    }
    .about-content {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .about-subtitle {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.6rem !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
    }
    .about-subtitle-item {
        display: block !important;
        text-align: center !important;
    }
    .subtitle-separator {
        display: none !important;
    }
    
    /* Center About me expertise items */
    .expertise-grid {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        width: 100% !important;
        max-width: 450px !important;
    }
    .expertise-item {
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    /* 3. Product Layout Reordering (Category ➔ Title ➔ Image ➔ Description ➔ Benefits ➔ CTA) */
    /* Applies display: contents to pull sub-children up to the parent grid-2 container */
    .plan-container,
    #critical-illness .grid-2,
    #medical-card .grid-2,
    #women-protection .grid-2,
    #retirement-plan .grid-2 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .plan-content {
        display: contents !important;
    }
    
    .plan-visual {
        display: contents !important;
    }
    
    /* Set Order to match: Category -> Title -> Image -> Description -> Benefits -> CTA */
    .plan-label-red {
        order: 1 !important;
        display: block !important;
        text-align: center !important;
        margin: 0 auto 0.5rem auto !important;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        letter-spacing: 1.5px !important;
    }
    
    .plan-title {
        order: 2 !important;
        text-align: center !important;
        font-size: 1.85rem !important;
        font-weight: 700 !important;
        margin: 0 auto 1.5rem auto !important;
        width: 100% !important;
    }
    
    .plan-image-card {
        order: 3 !important;
        margin: 0 auto 1.75rem auto !important;
        width: 100% !important;
        max-width: 420px !important; /* Premium bounds */
    }
    
    .plan-description {
        order: 4 !important;
        text-align: center !important;
        margin: 0 auto 2rem auto !important;
        width: 100% !important;
        padding: 0 1rem !important;
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    .plan-features {
        order: 5 !important;
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto 2.25rem auto !important;
        padding: 0 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
    }
    
    .plan-cta {
        order: 6 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        padding: 0 1rem !important;
    }
    
    /* 4. Plan details specific layouts: Kelebihan Hibah section */
    #hibah .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    #hibah .section-header {
        display: contents !important;
    }
    
    #hibah .benefits-grid {
        display: contents !important;
    }
    
    #hibah .section-header .plan-label-red {
        order: 1 !important;
    }
    
    #hibah .section-header .section-title {
        order: 2 !important;
        font-size: 1.85rem !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    #hibah .benefits-visual {
        order: 3 !important;
        margin: 0 auto 1.75rem auto !important;
        width: 100% !important;
        max-width: 420px !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    #hibah .section-header .section-desc {
        order: 4 !important;
        text-align: center !important;
        margin: 0 auto 2rem auto !important;
        padding: 0 1rem !important;
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        width: 100% !important;
    }
    
    #hibah .benefits-content {
        order: 5 !important;
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto 2.5rem auto !important;
        gap: 1.5rem !important;
    }

    /* 5. Career Opportunity Section (Join Us) reordering */
    #join-us .form-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 2.25rem 1.25rem !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    #join-us .grid-2 {
        display: contents !important;
    }
    
    #join-us .grid-2 > div:first-child {
        display: contents !important;
    }
    
    #join-us .badge.badge-teal-gradient {
        order: 1 !important;
        margin: 0 auto 0.5rem auto !important;
        display: inline-block !important;
        text-align: center !important;
    }
    
    #join-us .grid-2 h2 {
        order: 2 !important;
        text-align: center !important;
        font-size: 1.75rem !important;
        margin-top: 0.5rem !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
    
    #join-us .career-photo-wrapper {
        order: 3 !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
    }
    
    #join-us .grid-2 p {
        order: 4 !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        width: 100% !important;
        padding: 0 0.5rem !important;
    }
    
    #join-us .grid-2 > div:last-child {
        order: 5 !important;
        width: 100% !important;
        max-width: 480px !important;
        margin-bottom: 2.5rem !important;
        padding: 0 0.5rem !important;
    }
    
    #join-us .career-form-wrapper {
        order: 6 !important;
        width: 100% !important;
    }

    /* 6. List elements centering */
    #join-us ul {
        align-items: center !important;
    }
    #join-us li {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.5rem !important;
    }
    #join-us li i {
        margin-top: 0 !important;
    }
    
    .feature-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.5rem !important;
    }
    .feature-info {
        text-align: center !important;
    }
    .feature-icon {
        margin: 0 auto 0.5rem auto !important;
    }
    
    /* 7. Center Benefit Cards, Stats Cards and FAQ layouts */
    .benefit-item, .stat-card, .achievement-stat-card, .testimonial-card, .faq-item {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .benefit-icon, .stat-icon-box, .stat-icon-wrapper, .faq-icon {
        margin: 0 auto 1rem auto !important;
    }
    .benefit-text {
        text-align: center !important;
    }
    
    .testimonial-card {
        padding: 2.25rem 1.5rem !important;
        max-width: 450px !important;
    }
    .testimonial-top {
        justify-content: center !important;
        position: relative !important;
        width: 100% !important;
    }
    .client-avatar-floating {
        right: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: -35px !important;
    }
    .quote-icon-wrapper {
        margin: 0 auto !important;
    }
    .rating {
        justify-content: center !important;
    }
    .testimonial-profile {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin-top: 1.5rem !important;
    }
    .testimonial-meta {
        text-align: center !important;
        margin-top: 0.75rem !important;
        margin-left: 0 !important;
    }
    
    .faq-question {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 0.75rem !important;
        padding: 1.25rem !important;
    }
    .faq-icon {
        margin: 0 auto !important;
    }
    
    .achievements-stats {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 450px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .achievement-stat-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .achievements-stats .achievement-stat-card {
        grid-column: auto !important;
    }
    
    /* 8. Centering Forms & Elements */
    .form-container {
        padding: 2rem 1.25rem !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    .form-group label {
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .form-group input, .form-group select, .form-group textarea, .custom-select-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Hide desktop career divider line on mobile */
    #join-us .form-container > div[style*="border-top"] {
        display: none !important;
    }
    
    /* Make career group photo responsive */
    .career-group-img {
        height: auto !important;
        aspect-ratio: 16 / 10 !important;
    }
    
    /* 9. Centered Full-Width Buttons */
    .hero-actions, .cta-buttons, .form-footer, .plan-cta {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 1rem !important;
    }
    .btn {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* 10. Center and clean footer */
    .footer-grid {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2.5rem !important;
    }
    .footer-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .footer-links-col, .footer-contact-col {
        text-align: center !important;
        width: 100% !important;
    }
    .footer-links, .footer-contact {
        padding: 0 !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
    .footer-links li, .footer-contact li {
        text-align: center !important;
        justify-content: center !important;
    }
    .footer-contact li {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }
    .footer-contact li i {
        margin-right: 0 !important;
        margin-top: 0 !important;
    }
    .social-links {
        justify-content: center !important;
    }
    
    /* Hero Slider Captions Center Override */
    .slide-caption {
        align-items: center !important;
        text-align: center !important;
        padding: 1rem 1rem 1.25rem 1rem !important;
    }
    .slide-caption h3 {
        justify-content: center !important;
        width: 100% !important;
    }
    .slide-caption h3::before {
        display: none !important;
    }
    .slide-caption p {
        display: none !important; /* Hide slide description on mobile to prevent flyer text overlap */
    }
    .hero-slide img {
        padding: 1rem 1rem 4rem 1rem !important; /* Decreased bottom padding to align with compact caption */
    }
    
    /* Floating WhatsApp Button Mobile Optimization */
    .whatsapp-floating {
        width: 50px !important;
        height: 50px !important;
        bottom: 1.25rem !important;
        right: 1.25rem !important;
    }
    .wa-svg-icon {
        width: 24px !important;
        height: 24px !important;
    }
    .floating-tooltip {
        display: none !important; /* Disable tooltip on mobile to prevent stuck hover states */
    }
    
    /* Disable scroll reveal horizontal translations to prevent mobile overflow */
    .scroll-reveal.fade-left,
    .scroll-reveal.fade-right {
        transform: translateY(20px) !important;
    }
    .scroll-reveal.active {
        transform: translateY(0) !important;
    }
}

@media (max-width: 480px) {
    /* Limit visible slides in client gallery to 1 for readability */
    :root {
        --visible-slides: 1 !important;
    }
}

/* Tablet grid alignment for 4 achievements cards */
@media (max-width: 1024px) and (min-width: 769px) {
    .achievements-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    .achievements-stats .achievement-stat-card {
        grid-column: auto !important;
    }
}

/* ==========================================================================
   11. THANK YOU PAGE STYLES
   ========================================================================== */
.thank-you-section {
    padding: 8rem 2rem 6rem 2rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, rgba(0, 167, 157, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.05), transparent 40%),
                #0f172a;
}

.thank-you-card {
    max-width: 600px;
    width: 100%;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 167, 157, 0.25);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-teal), #00827a);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem auto;
    box-shadow: 0 8px 24px rgba(0, 167, 157, 0.4);
    position: relative;
}

.thank-you-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(0, 167, 157, 0.3);
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.thank-you-card h1 {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 2.2rem;
    background: linear-gradient(135deg, #ffffff 30%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.thank-you-card p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 320px;
    margin: 0 auto;
}

.thank-you-actions .btn {
    width: 100%;
}

.thank-you-actions .btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    transition: all 0.3s ease;
}

.thank-you-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

@media (max-width: 640px) {
    .thank-you-card {
        padding: 2rem 1.5rem;
    }
    .thank-you-card h1 {
        font-size: 1.8rem;
    }
    .thank-you-card p {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   FORM PURPOSE TOGGLE STYLES
   ========================================================================== */
.hidden-radio {
    display: none;
}

.form-purpose-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(0, 167, 157, 0.3);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 2rem;
    gap: 4px;
}

.toggle-btn {
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted-light);
    background: transparent;
    border-radius: calc(var(--radius-md) - 2px);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
}

#purpose-quotation:checked ~ .form-purpose-toggle .quotation-label {
    background-color: var(--secondary-teal, #00a79d);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 167, 157, 0.4);
}

#purpose-review:checked ~ .form-purpose-toggle .review-label {
    background-color: var(--secondary-teal, #00a79d);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 167, 157, 0.4);
}

/* Toggle Form Fields display */
#purpose-quotation:checked ~ .form-grid .purpose-quotation-only {
    display: flex !important;
    animation: slideUpFade 0.4s ease forwards;
}
#purpose-quotation:checked ~ .form-grid .purpose-review-only {
    display: none !important;
}

#purpose-review:checked ~ .form-grid .purpose-review-only {
    display: flex !important;
    animation: slideUpFade 0.4s ease forwards;
}
#purpose-review:checked ~ .form-grid .purpose-quotation-only {
    display: none !important;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        grid-column: auto !important;
    }
}

/* ==========================================================================
   11. THANK YOU PAGE STYLES
   ========================================================================== */
.thank-you-section {
    padding: 8rem 2rem 6rem 2rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, rgba(0, 167, 157, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.05), transparent 40%),
                #0f172a;
}

.thank-you-card {
    max-width: 600px;
    width: 100%;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 167, 157, 0.25);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-teal), #00827a);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem auto;
    box-shadow: 0 8px 24px rgba(0, 167, 157, 0.4);
    position: relative;
}

.thank-you-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(0, 167, 157, 0.3);
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.thank-you-card h1 {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 2.2rem;
    background: linear-gradient(135deg, #ffffff 30%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.thank-you-card p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 320px;
    margin: 0 auto;
}

.thank-you-actions .btn {
    width: 100%;
}

.thank-you-actions .btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    transition: all 0.3s ease;
}

.thank-you-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

@media (max-width: 640px) {
    .thank-you-card {
        padding: 2rem 1.5rem;
    }
    .thank-you-card h1 {
        font-size: 1.8rem;
    }
    .thank-you-card p {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   FORM PURPOSE TOGGLE STYLES
   ========================================================================== */
.hidden-radio {
    display: none;
}

.form-purpose-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(0, 167, 157, 0.3);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 2rem;
    gap: 4px;
}

.toggle-btn {
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted-light);
    background: transparent;
    border-radius: calc(var(--radius-md) - 2px);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
}

#purpose-quotation:checked ~ .form-purpose-toggle .quotation-label {
    background-color: var(--secondary-teal, #00a79d);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 167, 157, 0.4);
}

#purpose-review:checked ~ .form-purpose-toggle .review-label {
    background-color: var(--secondary-teal, #00a79d);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 167, 157, 0.4);
}

/* Toggle Form Fields display */
#purpose-quotation:checked ~ .form-grid .purpose-quotation-only {
    display: flex !important;
    animation: slideUpFade 0.4s ease forwards;
}
#purpose-quotation:checked ~ .form-grid .purpose-review-only {
    display: none !important;
}

#purpose-review:checked ~ .form-grid .purpose-review-only {
    display: flex !important;
    animation: slideUpFade 0.4s ease forwards;
}
#purpose-review:checked ~ .form-grid .purpose-quotation-only {
    display: none !important;
}

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

@media (max-width: 480px) {
    .toggle-btn {
        font-size: 0.85rem;
        padding: 0.75rem 0.5rem;
    }
    .form-purpose-toggle {
        margin-bottom: 1.5rem;
    }
}

/* ==========================================================================
   CUSTOM DROPDOWN FIXES (To resolve z-index, overlaps, and clipping issues)
   ========================================================================== */

/* Spacing and layering of form container elements */
.form-grid {
    position: relative;
    z-index: 10;
    overflow: visible !important;
    margin-bottom: 40px !important; /* Spacing: 40px on desktop */
}

.form-footer {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .form-grid {
        margin-bottom: 30px !important; /* Spacing: 30px on tablet */
    }
}

@media (max-width: 480px) {
    .form-grid {
        margin-bottom: 24px !important; /* Spacing: 24px on mobile */
    }
}

/* Adjust stacking context on parent elements to allow visibility on top of footers and other sections */
.lead-form-section {
    overflow: visible !important;
    z-index: 10 !important;
}

.form-container {
    overflow: visible !important;
    z-index: 15 !important;
}

/* Elevate the active custom select menu above the submit button and other fields */
.custom-select-container {
    position: relative;
}

.custom-select-container.active {
    z-index: 9999 !important; /* Ensure it displays on top of all page elements */
}

.custom-select-menu {
    z-index: 9999 !important; /* Ensure the menu overlays everything */
    background: #0f172a !important; /* Ensure solid background overlay */
    border: 1px solid rgba(24, 211, 197, 0.4) !important; /* Premium border */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7) !important; /* Strong shadow overlay */
}

/* Upward opening styling when space is limited below */
.custom-select-container.open-upward .custom-select-menu {
    top: auto;
    bottom: calc(100% + 0.5rem);
    transform: translateY(10px);
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.7) !important;
}

.custom-select-container.active.open-upward .custom-select-menu {
    transform: translateY(0);
}

.custom-select-container.placeholder-active .custom-select-text {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* ==========================================================================
   SELECTED PRODUCT NOTICE
   ========================================================================== */
.selected-product-notice {
    display: none;
    background: rgba(0, 167, 157, 0.1);
    border: 1px solid var(--secondary-teal);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin-bottom: 24px;
    animation: slideDownFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.selected-product-notice .notice-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.selected-product-notice .notice-text-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.selected-product-notice .notice-icon {
    color: var(--secondary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-product-notice .notice-icon svg {
    width: 18px;
    height: 18px;
}

.selected-product-notice .notice-text strong {
    color: #18d3c5;
    font-weight: 600;
}

.selected-product-notice .notice-clear-btn {
    background: none;
    border: none;
    color: var(--text-muted-light);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-product-notice .notice-clear-btn:hover {
    color: var(--primary-red);
}

/* ==========================================================================
/* ==========================================================================
   PANEL HOSPITAL SECTION WITH PREMIUM MARQUEE CAROUSEL
   ========================================================================== */
.hospital-panel-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Carousel Container with Premium Linear Fade Gradients at the edges */
.hospital-carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 2.5rem 0;
    margin: 2rem 0;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    cursor: grab;
}

.hospital-carousel-container:active {
    cursor: grabbing;
}

.hospital-carousel-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    will-change: transform;
}

/* Premium Card Design with Soft Pulsate Animation */
.hospital-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--pure-white);
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 16px;
    padding: 24px;
    width: 170px;
    height: 100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    flex-shrink: 0;
    
    /* Soft pulsating glow */
    animation: hospital-card-pulse 6s ease-in-out infinite alternate;
}

/* Staggered pulse delays to create an organic, breathing layout */
.hospital-card:nth-child(2n) {
    animation-delay: 1.5s;
}
.hospital-card:nth-child(3n) {
    animation-delay: 3s;
}
.hospital-card:nth-child(4n) {
    animation-delay: 4.5s;
}

.hospital-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    filter: grayscale(10%) contrast(95%);
    transition: filter 0.3s ease;
}

/* High-end Hover Interactions */
.hospital-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 30px -5px rgba(0, 167, 157, 0.1), 0 10px 15px -5px rgba(0, 167, 157, 0.05);
    border-color: rgba(0, 167, 157, 0.35);
}

.hospital-card:hover img {
    filter: grayscale(0%) contrast(100%);
}

@keyframes hospital-card-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
        border-color: rgba(229, 231, 235, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 167, 157, 0.05);
        border-color: rgba(0, 167, 157, 0.15);
    }
}

.hospital-note {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.6;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

/* Responsiveness Settings */
@media (max-width: 1024px) {
    .hospital-carousel-container {
        padding: 2rem 0;
    }
    .hospital-card {
        width: 150px;
        height: 90px;
        padding: 18px;
        border-radius: 14px;
    }
}

@media (max-width: 640px) {
    .hospital-carousel-container {
        padding: 1.5rem 0;
        mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    }
    .hospital-card {
        width: 130px;
        height: 80px;
        padding: 15px;
        border-radius: 12px;
    }
}

/* Combined Trust & Social Section - Mobile-First Centered */
.about-trust-social-section {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    margin: 3.5rem auto 0 auto;
    max-width: 760px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.75rem;
}

.trust-identity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.trust-name {
    font-family: var(--font-title);
    font-size: 1.5rem; /* 24px - Mobile First */
    font-weight: 800;
    color: var(--dark-navy);
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.2;
}

.trust-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 1rem; /* 16px - Mobile First */
    font-weight: 600;
    color: var(--secondary-teal);
    line-height: 1.4;
}

.trust-title-divider {
    display: none;
}

.trust-license-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9375rem; /* 15px - Mobile First */
    font-weight: 500;
    color: var(--gray);
    margin-top: 0.25rem;
}

.trust-social-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.social-label {
    font-family: var(--font-title);
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    color: var(--dark-navy);
    margin: 0;
}

.social-btn-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.875rem;
}

/* Touch targets and size for social buttons (Accessibility compliant 44x44+ target) */
.social-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.trust-disclaimer {
    font-size: 0.875rem; /* 14px - Mobile First */
    color: var(--gray);
    line-height: 1.5;
    text-align: center;
    max-width: 600px;
    margin: 0;
}

/* Tablet & Desktop Layout Adjustments (>= 600px) */
@media (min-width: 600px) {
    .trust-title-group {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .trust-title-divider {
        display: inline;
        color: rgba(15, 23, 42, 0.2);
    }
    
    .trust-license-group {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }
}

/* Desktop spacing adjustments (>= 768px) */
@media (min-width: 768px) {
    .about-trust-social-section {
        padding: 2.5rem;
        gap: 2.25rem;
    }
    
    .trust-name {
        font-size: 1.75rem; /* 28px */
    }

    .trust-title-group {
        font-size: 1.125rem; /* 18px */
    }

    .trust-license-group {
        font-size: 1rem; /* 16px */
    }

    .trust-disclaimer {
        font-size: 0.9375rem; /* 15px */
    }
}

/* Static Medical Card Image Layout */
.plan-img-static {
    width: 100%;
    height: auto;
    max-height: 540px;
    display: block;
    object-fit: contain;
    border-radius: var(--radius-lg);
    background-color: transparent;
    transition: transform 0.3s ease;
}

/* Compliance Product Section Disclaimer */
.plan-disclaimer-small {
    font-size: 0.725rem;
    color: var(--gray);
    opacity: 0.85;
    margin-top: 0.875rem;
    line-height: 1.45;
}
@media (max-width: 767px) {
    .plan-disclaimer-small {
        text-align: center;
    }
}

/* Support Hub Custom Styles */
.support-hero-section {
    padding: 7.5rem 0 3.5rem 0;
    background: radial-gradient(circle at 10% 20%, rgba(0, 167, 157, 0.04) 0%, rgba(15, 23, 42, 0.01) 90%), var(--white);
    text-align: center;
}
.support-search-wrapper {
    max-width: 600px;
    margin: 2rem auto 0 auto;
    position: relative;
    padding: 0 1rem;
}
.support-search-box {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    border: 2px solid rgba(0, 167, 157, 0.15);
    border-radius: 50px;
    font-size: 1rem;
    color: var(--dark-navy);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
    transition: all 0.3s ease;
}
.support-search-box:focus {
    outline: none;
    border-color: var(--secondary-teal);
    box-shadow: 0 10px 30px rgba(0, 167, 157, 0.12);
}
.support-search-icon {
    position: absolute;
    left: 2.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-teal);
    pointer-events: none;
    width: 20px;
    height: 20px;
}
.search-keywords-hint {
    margin-top: 0.75rem;
    font-size: 0.825rem;
    color: var(--gray);
}
.search-keyword-tag {
    display: inline-block;
    background: rgba(0, 167, 157, 0.06);
    color: var(--secondary-teal);
    padding: 0.15rem 0.6rem;
    border-radius: 30px;
    margin: 0.15rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}
.search-keyword-tag:hover {
    background: var(--secondary-teal);
    color: var(--white);
}

.support-grid-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

/* Dashboard Hub Layout */
.hub-layout {
    display: flex;
    gap: 2.5rem;
    align-items: start;
    margin-top: 1rem;
}
.hub-sidebar {
    flex: 0 0 280px;
    position: sticky;
    top: 100px;
    background: var(--pure-white);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.hub-sidebar-title {
    display: block;
    font-size: 0.725rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-muted-dark);
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}
.hub-sidebar-title:not(:first-child) {
    margin-top: 1.5rem;
}
.hub-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease;
    text-decoration: none;
    margin-bottom: 0.25rem;
}
.hub-nav-item i {
    width: 18px;
    height: 18px;
    color: var(--text-muted-dark);
    transition: color 0.25s ease;
}
.hub-nav-item:hover {
    background: rgba(0, 167, 157, 0.05);
    color: var(--secondary-teal);
}
.hub-nav-item:hover i {
    color: var(--secondary-teal);
}
.hub-nav-item.active {
    background: var(--teal-gradient);
    color: var(--pure-white);
    box-shadow: var(--shadow-teal);
}
.hub-nav-item.active i {
    color: var(--pure-white);
}
.hub-nav-external {
    font-weight: 500;
}
.hub-nav-external .external-icon {
    margin-left: auto;
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.hub-content-area {
    flex: 1;
    min-width: 0;
}

/* Tab Content Visibility */
.hub-tab-content {
    display: none;
}
.hub-tab-content.active {
    display: block;
}

/* Dashboard Frames */
.dashboard-frame {
    background: var(--pure-white);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}
.dashboard-frame-header {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: 1.25rem;
    margin-bottom: 1.75rem;
}
.dashboard-frame-header h2 {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}
.dashboard-frame-header p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Waiting Period Timeline CSS */
.date-picker-section {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.date-picker-section label {
    font-weight: 700;
    color: var(--dark-navy);
    font-size: 0.95rem;
}
.date-input-wrap {
    position: relative;
    max-width: 250px;
    width: 100%;
}
.date-input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--dark-navy);
    font-weight: 600;
}
.date-input-field:focus {
    outline: none;
    border-color: var(--secondary-teal);
}

.timeline-container {
    position: relative;
    padding: 3.5rem 1rem 2rem 1rem;
    margin-bottom: 3rem;
}
.timeline-line-bg {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e8f0;
    top: 4.5rem;
    z-index: 1;
    border-radius: 2px;
}
.timeline-line-progress {
    position: absolute;
    left: 0;
    height: 100%;
    background: var(--teal-gradient);
    width: 0%;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}
.timeline-nodes-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
}
.timeline-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    text-align: center;
    position: relative;
}
.timeline-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--pure-white);
    border: 3px solid #e2e8f0;
    color: var(--text-muted-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.875rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}
.timeline-step-node.completed .timeline-icon-circle {
    border-color: var(--secondary-teal);
    color: var(--secondary-teal);
    box-shadow: 0 0 15px rgba(0, 167, 157, 0.25);
    background: var(--pure-white);
}
.timeline-step-node.active-pending .timeline-icon-circle {
    border-color: #f59e0b;
    color: #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
    background: var(--pure-white);
}
.timeline-node-day {
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
    color: var(--text-muted-dark);
    margin-bottom: 0.25rem;
}
.timeline-node-label {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--dark-navy);
    line-height: 1.2;
}
.timeline-node-sub {
    font-size: 0.725rem;
    color: var(--gray);
    margin-top: 0.15rem;
}
.timeline-node-date {
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--secondary-teal);
    margin-top: 0.25rem;
}

/* Status Banner alerts */
.status-banner {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2.25rem;
}
.status-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.status-banner-text h3 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 750;
    margin-bottom: 0.25rem;
}
.status-banner-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}
.banner-contestable {
    background: rgba(245, 158, 11, 0.07);
    border: 1px solid rgba(245, 158, 11, 0.15);
    color: #92400e;
}
.banner-contestable .status-banner-icon {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}
.banner-secure {
    background: rgba(0, 167, 157, 0.07);
    border: 1px solid rgba(0, 167, 157, 0.15);
    color: #065f46;
}
.banner-secure .status-banner-icon {
    background: rgba(0, 167, 157, 0.12);
    color: var(--secondary-teal);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.75rem;
}
.bento-card {
    background: var(--bg-light);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-md);
    padding: 1.75rem;
}
.bento-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: 0.75rem;
}
.bento-card-title {
    font-size: 0.95rem;
    font-weight: 750;
    color: var(--dark-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bento-card-badge {
    font-size: 0.725rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 30px;
}
.badge-active {
    background: rgba(0, 167, 157, 0.1);
    color: var(--secondary-teal-hover);
}
.badge-waiting {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.details-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 0.75rem;
}
.details-col ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.details-col ul li {
    font-size: 0.85rem;
    color: var(--gray);
    position: relative;
    padding-left: 1.25rem;
}
.details-col ul li::before {
    content: "•";
    color: var(--secondary-teal);
    font-weight: bold;
    position: absolute;
    left: 0.25rem;
}

/* Daily Stats Card */
.stat-box-value {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-teal);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.stat-box-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted-dark);
}

/* Panel Hospitals State selector */
.locator-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.state-select-field {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--dark-navy);
    background-color: var(--pure-white);
    font-weight: 600;
    cursor: pointer;
}
.state-select-field:focus {
    outline: none;
    border-color: var(--secondary-teal);
}
.hospital-list-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}
.hospital-row-item {
    background: var(--bg-light);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.hospital-row-info h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 750;
    color: var(--dark-navy);
    margin-bottom: 0.25rem;
}
.hospital-row-info p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}
.hospital-row-badge {
    background: rgba(0, 167, 157, 0.08);
    color: var(--secondary-teal);
    padding: 0.25rem 0.6rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Calculator CSS */
.calc-input-group {
    margin-bottom: 1.5rem;
}
.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.calc-label-row label {
    font-weight: 700;
    color: var(--dark-navy);
    font-size: 0.95rem;
}
.calc-value-display {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 750;
    color: var(--secondary-teal);
}
.calc-slider-input {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}
.calc-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary-teal);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 167, 157, 0.3);
}

.calc-result-display {
    background: linear-gradient(135deg, rgba(0, 167, 157, 0.06) 0%, rgba(15, 23, 42, 0.01) 100%);
    border: 1px dashed rgba(0, 167, 157, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}
.calc-result-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted-dark);
    margin-bottom: 0.5rem;
}
.calc-result-value {
    font-family: var(--font-title);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--secondary-teal);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.calc-result-desc {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1.25rem;
}

/* Fund Performance Selector list */
.fund-selector-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}
.fund-selector-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease;
    width: 100%;
}
.fund-selector-itemLeft {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.fund-selector-name {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 750;
    color: var(--dark-navy);
}
.table-risk-badge {
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 30px;
    margin-top: 0.25rem;
}
.table-risk-badge.high {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.table-risk-badge.medium {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}
.table-risk-badge.low {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}
.fund-selector-itemRight {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.fund-selector-nav {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 750;
    color: var(--dark-navy);
}
.fund-selector-change {
    font-size: 0.825rem;
    font-weight: 700;
}
.fund-selector-item:hover, .fund-selector-item.active {
    background: var(--pure-white);
    border-color: var(--secondary-teal);
    box-shadow: var(--shadow-sm);
}

.details-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
.details-sub-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}
.details-sub-card h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 750;
    color: var(--dark-navy);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: 0.5rem;
}
.allocation-row {
    margin-bottom: 0.875rem;
}
.allocation-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: var(--gray);
}
.progress-track {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: var(--teal-gradient);
    border-radius: 3px;
    transition: width 0.5s ease;
}
.holdings-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.holdings-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--gray);
}
.holding-index {
    width: 20px;
    height: 20px;
    background: rgba(0, 167, 157, 0.1);
    color: var(--secondary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}
.holding-name {
    font-weight: 600;
    color: var(--dark-navy);
}

/* Daily Insights UI */
.insights-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
}
.insight-img-container {
    aspect-ratio: 1/1;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.client-avatar-floating .testimonial-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}
.testimonial-card {
    position: relative;
    background: var(--pure-white);
    border-radius: 20px;
    padding: 3rem 2.25rem 2.25rem 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.insight-info-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}
.insight-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}
.insight-tag {
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
    color: var(--secondary-teal);
    background: rgba(0, 167, 157, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
}
.insight-content-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.insight-content-subtext {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Mobile Portals grid */
.mobile-portals-container {
    display: none;
    margin-top: 1.5rem;
}
.mobile-portals-title {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-muted-dark);
    margin-bottom: 0.75rem;
}
.mobile-portals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.mobile-portal-card {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-decoration: none;
    color: var(--dark-navy);
    transition: all 0.2s ease;
}
.mobile-portal-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 167, 157, 0.08);
    color: var(--secondary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}
.mobile-portal-text {
    flex-grow: 1;
}
.mobile-portal-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.15rem 0;
}
.mobile-portal-text p {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
}
.mobile-portal-arrow {
    color: var(--text-muted-light);
}

/* Color classes forNAV價格 */
.positive {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}
.negative {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.positive-text {
    color: #10b981;
}
.negative-text {
    color: #ef4444;
}

/* Custom responsiveness for hub layout */
@media (max-width: 991px) {
    .hub-layout {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hub-sidebar {
        flex: none;
        width: 100%;
        position: relative;
        top: 0;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 0.5rem;
        padding: 0.75rem;
        white-space: nowrap;
        scrollbar-width: none;
    }
    .hub-sidebar::-webkit-scrollbar {
        display: none;
    }
    .hub-nav-item {
        width: auto;
        display: inline-flex;
        margin-bottom: 0;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    .hub-nav-external {
        display: none !important; /* Hide external on sidebar since we have mobilePortalsContainer */
    }
    .mobile-portals-container {
        display: block;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .details-row-grid {
        grid-template-columns: 1fr;
    }
    .insights-row {
        grid-template-columns: 1fr;
    }
    .insight-img-container {
        aspect-ratio: 16/9;
    }
}
@media (max-width: 767px) {
    .date-picker-section {
        flex-direction: column;
        align-items: flex-start;
    }
    .date-input-wrap {
        max-width: 100%;
    }
    .timeline-nodes-wrap {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    .timeline-line-bg {
        left: 25px;
        top: 0;
        bottom: 0;
        width: 4px;
        height: auto;
    }
    .timeline-line-progress {
        width: 100%;
        height: 0%;
        left: 0;
        top: 0;
    }
    .timeline-step-node {
        flex-direction: row;
        width: 100%;
        text-align: left;
        gap: 1.25rem;
    }
    .timeline-icon-circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .timeline-container {
        padding: 1rem 0;
    }
    .locator-controls {
        flex-direction: column;
    }
}

/* ==========================================
   MULTI-STEP WIZARD STYLES (HOMEPAGE INTEGRATION)
   ========================================== */
.wizard-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    padding: 0 1.5rem;
}

.wizard-info-panel {
    position: sticky;
    top: 100px;
    background: linear-gradient(145deg, var(--dark-navy, #0F172A) 0%, #1E293B 100%);
    border-radius: var(--radius-lg, 24px);
    padding: 2.5rem 2rem;
    color: #fff;
    box-shadow: 0 20px 60px rgba(15,23,42,0.25);
    border: 1px solid rgba(255,255,255,0.05);
}

.wizard-info-panel .panel-badge {
    display: inline-block;
    background: rgba(0,167,157,0.15);
    color: var(--secondary-teal, #00A79D);
    border: 1px solid rgba(0,167,157,0.3);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.wizard-info-panel h2 {
    font-family: var(--font-title, 'Outfit', sans-serif);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.wizard-info-panel .panel-subtitle {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.panel-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 1.75rem;
}

.panel-trust-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.panel-trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.panel-trust-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(0,167,157,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-teal, #00A79D);
    margin-top: 2px;
}

.panel-trust-icon svg {
    width: 15px;
    height: 15px;
}

.panel-trust-text strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.panel-trust-text span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.45;
}

/* ---- RIGHT WIZARD PANEL ---- */
.wizard-form-panel {
    background: var(--pure-white, #FFFFFF);
    border-radius: var(--radius-lg, 24px);
    box-shadow: 0 8px 40px rgba(15,23,42,0.08);
    overflow: visible;
    border: 1px solid rgba(15,23,42,0.05);
}

/* ---- PROGRESS BAR HEADER ---- */
.wizard-progress-header {
    padding: 2.25rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(15,23,42,0.06);
    background: #FFFFFF;
    border-radius: var(--radius-lg, 24px) var(--radius-lg, 24px) 0 0;
}

.progress-track {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
}

/* Connectors using absolute line */
.progress-line-bg {
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #E2E8F0;
    z-index: 1;
}

.progress-track-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #00A79D;
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.progress-step-bubble {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title, 'Outfit', sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748B;
    transition: all 0.3s ease;
    background-clip: padding-box;
}

.progress-step-bubble svg {
    width: 16px;
    height: 16px;
}

.progress-step.active .progress-step-bubble {
    background: #FFFFFF;
    border-color: #0F172A;
    color: #0F172A;
    box-shadow: 0 4px 14px rgba(15,23,42,0.12);
}

.progress-step.completed .progress-step-bubble {
    background: #00A79D;
    border-color: #00A79D;
    color: #fff;
}

.progress-step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94A3B8;
    margin-top: 0.6rem;
    text-align: center;
    white-space: normal;
    max-width: 120px;
    word-wrap: break-word;
    line-height: 1.3;
}

.progress-step.active .progress-step-label {
    color: #0F172A;
    font-weight: 700;
}

.progress-step.completed .progress-step-label {
    color: #00A79D;
    font-weight: 600;
}

/* ---- STEP CONTENT AREA ---- */
.wizard-steps-area {
    position: relative;
    overflow: hidden;
}

.wizard-step {
    display: none;
    padding: 2.5rem 2rem;
}

.wizard-step.active {
    display: block;
    animation: wizardSlideIn 0.3s cubic-bezier(0.16,1,0.3,1);
}

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

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

.wizard-step.slide-reverse {
    animation: wizardSlideInReverse 0.3s cubic-bezier(0.16,1,0.3,1);
}

.wizard-step-header {
    margin-bottom: 1.75rem;
}

.wizard-step-header .step-number-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-num-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FEF3C7;
    color: #92400E;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-title, 'Outfit', sans-serif);
}

.wizard-step-header h2 {
    font-family: var(--font-title, 'Outfit', sans-serif);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--dark-navy, #0F172A);
    margin: 0;
    line-height: 1.3;
}

.wizard-step-header p {
    font-size: 0.9rem;
    color: var(--gray, #64748B);
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ---- PREMIUM PROTECTION SELECTION CARDS ---- */
.protection-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.protection-card {
    grid-column: span 2;
    background: rgba(15, 23, 42, 0.7);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    pointer-events: auto !important;
    overflow: hidden;
}

/* Center Row 2 (Cards 4 & 5) on Desktop */
@media (min-width: 992px) {
    .protection-card:nth-child(4) {
        grid-column: 2 / span 2;
    }
    .protection-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

/* Tablet Layout: 2 + 2 + 1 */
@media (min-width: 641px) and (max-width: 991px) {
    .protection-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .protection-card {
        grid-column: span 1;
    }
    .protection-card:nth-child(5) {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

/* Mobile Layout: 1 card per row */
@media (max-width: 640px) {
    .protection-cards-grid {
        grid-template-columns: 1fr;
    }
    .protection-card {
        grid-column: span 1 !important;
    }
}

.protection-card * {
    pointer-events: none !important;
}

.protection-card:hover {
    border-color: rgba(0, 167, 157, 0.5);
    box-shadow: 0 10px 25px rgba(0, 167, 157, 0.2);
    transform: translateY(-3px);
    background: rgba(15, 23, 42, 0.85);
}

.protection-card.selected {
    border-color: #00A79D;
    background: linear-gradient(145deg, rgba(0, 167, 157, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
    box-shadow: 0 0 25px rgba(0, 167, 157, 0.35);
    transform: translateY(-4px) scale(1.02);
}

/* 1-Second Pulse Highlight Effect for Auto-Selected Plan */
.protection-card.pulse-highlight {
    animation: pulseHighlight 1s ease-in-out 2;
}

@keyframes pulseHighlight {
    0% { box-shadow: 0 0 0 0 rgba(0, 167, 157, 0.7); transform: scale(1.03); }
    50% { box-shadow: 0 0 30px 10px rgba(0, 167, 157, 0.8); transform: scale(1.05); }
    100% { box-shadow: 0 0 25px rgba(0, 167, 157, 0.35); transform: scale(1.02); }
}

/* Animated Checkmark Badge */
.protection-card-check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.05);
}

.protection-card.selected .protection-card-check {
    background: #00A79D;
    border-color: #00A79D;
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 0 12px rgba(0, 167, 157, 0.6);
}

.protection-card-check svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    stroke: #FFFFFF;
    stroke-width: 3;
}

.protection-card.selected .protection-card-check svg {
    opacity: 1;
    transform: scale(1);
}

/* Modern SVG Icon Container */
.protection-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(0, 167, 157, 0.12);
    color: #00A79D;
    border: 1px solid rgba(0, 167, 157, 0.25);
}

.protection-card-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.protection-card.selected .protection-card-icon {
    background: linear-gradient(135deg, #00A79D 0%, #006B67 100%);
    color: #FFFFFF;
    border-color: #00A79D;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 4px 15px rgba(0, 167, 157, 0.4);
}

.protection-card-content {
    width: 100%;
}

.protection-card h3 {
    font-family: var(--font-title, 'Outfit', sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
}

.protection-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.45;
}

.protection-error-msg {
    font-size: 0.8rem;
    color: #ef4444;
    display: none;
    margin-bottom: 1rem;
}

/* ---- FORM FIELDS ---- */
.wizard-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.wiz-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wiz-form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark-navy, #0F172A);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wiz-form-group label svg {
    width: 14px;
    height: 14px;
    color: var(--secondary-teal, #00A79D);
}

.wiz-input,
.wiz-select {
    width: 100%;
    padding: 0.85rem 1.15rem;
    border: 1.5px solid rgba(15,23,42,0.1);
    border-radius: var(--radius-sm, 12px);
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.875rem;
    color: var(--dark-navy, #0F172A);
    background: #F8FAFC;
    transition: all 0.2s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: auto !important;
    user-select: text !important;
    position: relative;
    z-index: 1;
}

.wiz-input:focus,
.wiz-select:focus {
    border-color: #22c55e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}

.wiz-input.error,
.wiz-select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.wiz-error-msg {
    font-size: 0.75rem;
    color: #ef4444;
    display: none;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.25rem;
}

.wiz-error-msg.visible {
    display: flex;
}

.wiz-select-wrap {
    position: relative;
}

.wiz-select-wrap .select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--gray, #64748B);
    display: flex;
    align-items: center;
}

.wiz-select-wrap .select-arrow svg {
    width: 16px;
    height: 16px;
}

/* ---- CONSENT CHECKBOX ---- */
.wiz-consent-group {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.5rem;
    background: rgba(34,197,94,0.03);
    border: 1.5px solid rgba(34,197,94,0.1);
    border-radius: var(--radius-md, 16px);
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.wiz-consent-group:hover {
    background: rgba(34,197,94,0.05);
}

.wiz-consent-group input[type="checkbox"] {
    min-width: 20px;
    width: 20px;
    height: 20px;
    accent-color: #22c55e;
    cursor: pointer;
    margin-top: 2px;
}

.wiz-consent-group label {
    font-size: 0.82rem;
    color: var(--dark-navy, #0F172A);
    line-height: 1.6;
    cursor: pointer;
    user-select: none;
}

.wiz-consent-error {
    font-size: 0.75rem;
    color: #ef4444;
    display: none;
    margin-bottom: 0.75rem;
}

.wiz-consent-error.visible {
    display: block;
}

/* ---- STEP NAVIGATION BUTTONS ---- */
.wizard-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.75rem 2.5rem 2.25rem;
    border-top: 1px solid rgba(15,23,42,0.06);
    background: #FAFBFD;
}

.btn-wiz-prev {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border: 2px solid rgba(15,23,42,0.12);
    border-radius: var(--radius-md, 16px);
    background: transparent;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-navy, #0F172A);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-wiz-prev:hover:not(:disabled) {
    background: #F1F5F9;
    border-color: rgba(15,23,42,0.2);
}

.btn-wiz-prev:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.btn-wiz-next {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: #22c55e;
    color: #fff;
    border: none;
    border-radius: var(--radius-md, 16px);
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 6px 20px rgba(34,197,94,0.3);
}

.btn-wiz-next:hover {
    background: #1cb053;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(34,197,94,0.4);
}

.btn-wiz-submit {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    background: #25D366;
    color: #000;
    border: none;
    border-radius: var(--radius-md, 16px);
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

.btn-wiz-submit:hover {
    background: #20BA56;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37,211,102,0.4);
}

/* Responsive Wizard Panel Layout */
@media (max-width: 992px) {
    .wizard-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    .wizard-info-panel {
        position: static;
        width: 100%;
        max-width: 100%;
        border-radius: var(--radius-md, 16px);
    }
}

@media (max-width: 600px) {
    .wizard-layout {
        padding: 0.5rem;
    }
    .protection-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
    .wizard-form-grid {
        grid-template-columns: 1fr;
    }
    .wizard-step {
        padding: 2rem 1.25rem;
    }
    .wizard-nav-row {
        padding: 1.25rem 1.25rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .protection-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   SUCCESS MODAL STYLES
   ========================================== */
.success-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,15,30,0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.success-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}
.success-modal-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    animation: scaleIn 0.4s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes scaleIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}
.success-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e22, #16a34a22);
    border: 2px solid #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #22c55e;
}
.success-modal-card h2 {
    font-family: var(--font-title, 'Outfit', sans-serif);
    font-size: 1.75rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 0.5rem;
}
.success-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.success-agent-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem 1.125rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.success-agent-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00A79D, #006B67);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    font-family: var(--font-title, 'Outfit', sans-serif);
    margin-bottom: 0.25rem;
}
.success-agent-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
}
.success-agent-info strong {
    font-size: 1rem;
    font-weight: 700;
    color: #0F172A;
}
.agent-title {
    font-size: 0.82rem;
    color: #64748b;
}
.agent-company {
    font-size: 0.78rem;
    font-weight: 600;
    color: #00A79D;
}
.success-btn-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.btn-success-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-success-wa svg { width: 18px; height: 18px; }
.btn-success-wa:hover { background: #20BA56; transform: translateY(-2px); }
.btn-success-call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0F172A;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-success-call:hover { background: #1E293B; transform: translateY(-2px); }
.btn-success-close {
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
    margin-bottom: 1.25rem;
    transition: all 0.2s ease;
}
.btn-success-close:hover { background: #f1f5f9; color: #0F172A; }
.success-trust-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}
.success-trust-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

/* Quotation wizard section - light background fix */
#quotation-wizard {
    background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%) !important;
}
#quotation-wizard .section-title,
#quotation-wizard .section-subtitle,
#quotation-wizard .section-desc {
    color: #0F172A;
}
#quotation-wizard .section-subtitle {
    color: var(--primary-maroon, #8B1A1A);
    background: rgba(139, 26, 26, 0.08);
    border-color: rgba(139, 26, 26, 0.2);
    padding: 0.3rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
}
#quotation-wizard .section-desc {
    color: #475569;
}