:root {
    --primary: #4F7FE0;
    --primary-dark: #3A6BC9;
    --primary-light: #6B94E8;
    --primary-glow: rgba(79, 127, 224, 0.3);
    --secondary: #1A2B4A;
    --secondary-light: #2A3B5A;
    --accent: #00B4A8;
    --accent-dark: #00A294;
    --accent-light: #33C4BA;
    --accent-glow: rgba(0, 180, 168, 0.3);
    --warm: #F5F6F7;
    --warm-dark: #E5E7EB;
    --text: #1A2B4A;
    --text-light: #64748B;
    --text-muted: #9CA3AF;
    --white: #ffffff;
    --teal: #00B4A8;
    --teal-dark: #00A294;
    --teal-light: #33C4BA;
    --teal-glow: rgba(0, 180, 168, 0.2);
    --soft-blue: #4F7FE0;
    --soft-blue-light: #F0F7FF;
    --navy: #1A2B4A;
    --border: #E5E7EB;
    --border-light: #D1D5DB;
    --section-alt: #F5F6F7;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-dark: rgba(30, 41, 59, 0.8);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 32px rgba(0,0,0,0.15);
    --shadow-glow-primary: 0 0 20px rgba(79, 127, 224, 0.2);
    --shadow-glow-accent: 0 0 20px rgba(0, 180, 168, 0.2);
    --shadow-elevation: 0 10px 30px -10px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --gradient-primary: linear-gradient(135deg, var(--soft-blue) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    --gradient-hero: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    --gradient-dark: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(79, 127, 224, 0.08) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(0, 180, 168, 0.08) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(79, 127, 224, 0.04) 0px, transparent 50%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    background: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
    color: var(--navy);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 2px 8px var(--teal-glow);
}

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--teal-glow);
}

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

.btn-nav {
    background: var(--teal);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--teal-glow);
    font-size: 0.9rem;
}

.btn-nav.btn-rounded {
    border-radius: 50px;
    padding: 10px 24px;
}

.btn-nav:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--teal-glow);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.btn-secondary {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 2px 8px var(--teal-glow);
}

.btn-secondary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--teal-glow);
}

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

.btn-outline {
    background: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
    padding: 12px 30px;
}

.btn-outline:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-danger {
    background: #dc2626;
    color: var(--white);
    border: 2px solid #dc2626;
    padding: 12px 24px;
}

.btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.btn-logout {
    margin-left: 10px;
}

.btn-glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--secondary);
    box-shadow: var(--shadow);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

.nav-wrapper.scrolled {
    box-shadow: var(--shadow);
}

.utility-bar {
    background: var(--warm);
    color: var(--text);
    padding: 8px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--warm-dark);
}

.utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.utility-trust {
    display: flex;
    align-items: center;
    gap: 24px;
}

.utility-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
}

.utility-trust svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.utility-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.utility-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.utility-phone:hover {
    color: var(--primary);
}

.utility-cta {
    background: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all var(--transition-base);
}

.utility-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    padding: 14px 0;
    transition: all var(--transition-base);
    box-shadow: var(--shadow);
}

.header.scrolled {
    padding: 10px 0;
}

.header.header-hidden {
    transform: translateY(-100%);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
    max-width: 1400px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    filter: drop-shadow(0 2px 8px var(--accent-glow));
}

.logo-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
}

.logo-icon svg {
    width: 36px;
    height: 36px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.4;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: var(--warm);
}

.mobile-menu-btn span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: nowrap;
}

.nav .btn,
.nav .btn-nav,
.nav .btn-danger,
.nav .btn-logout,
.nav button {
    white-space: nowrap;
    flex-shrink: 0;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: all var(--transition-base);
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav a:not(.btn):hover,
.nav a:not(.btn).active {
    color: var(--teal);
}

.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav a:not(.btn):hover::after,
.nav a:not(.btn).active::after {
    width: 100%;
}

/* ===================================
   CLOUD HERO SECTION
   =================================== */

.hero-cloud {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sky gradient background - heavenly atmosphere */
.sky-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        #87CEEB 0%,
        #B0E0E6 15%,
        #E0F4FF 30%,
        #F5FAFF 50%,
        #FFFFFF 70%,
        rgba(255, 255, 255, 0.9) 100%
    );
    z-index: 0;
}

/* Sun rays emanating from center */
.sun-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 215, 0, 0.3) 30%,
        rgba(255, 215, 0, 0.6) 50%,
        rgba(255, 215, 0, 0.3) 70%,
        transparent 100%
    );
    transform-origin: center center;
    animation: rayPulse 4s ease-in-out infinite;
}

.ray:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg); animation-delay: 0s; }
.ray:nth-child(2) { transform: translate(-50%, -50%) rotate(30deg); animation-delay: 0.5s; }
.ray:nth-child(3) { transform: translate(-50%, -50%) rotate(60deg); animation-delay: 1s; }
.ray:nth-child(4) { transform: translate(-50%, -50%) rotate(90deg); animation-delay: 1.5s; }
.ray:nth-child(5) { transform: translate(-50%, -50%) rotate(120deg); animation-delay: 2s; }
.ray:nth-child(6) { transform: translate(-50%, -50%) rotate(150deg); animation-delay: 2.5s; }

@keyframes rayPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Cloud layers */
.cloud-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.95) 40%,
        rgba(240, 248, 255, 0.9) 100%
    );
    border-radius: 50%;
    box-shadow:
        0 20px 60px rgba(135, 206, 235, 0.3),
        0 40px 100px rgba(135, 206, 235, 0.2),
        inset 0 -20px 40px rgba(135, 206, 235, 0.1);
}

/* Layer 1 - Closest clouds (bottom of viewport) */
.cloud-layer-1 { z-index: 5; }

.cloud-1 {
    width: 400px;
    height: 120px;
    bottom: -20px;
    left: -50px;
    animation: cloudFloat1 25s ease-in-out infinite;
}

.cloud-2 {
    width: 350px;
    height: 100px;
    bottom: 30px;
    right: -30px;
    animation: cloudFloat2 30s ease-in-out infinite;
}

.cloud-3 {
    width: 500px;
    height: 150px;
    bottom: -40px;
    left: 30%;
    animation: cloudFloat3 28s ease-in-out infinite;
}

.cloud-4 {
    width: 300px;
    height: 90px;
    bottom: 60px;
    left: 60%;
    animation: cloudFloat1 22s ease-in-out infinite reverse;
}

.cloud-5 {
    width: 450px;
    height: 130px;
    bottom: -10px;
    right: 20%;
    animation: cloudFloat2 26s ease-in-out infinite;
}

/* Layer 2 - Mid clouds */
.cloud-layer-2 { z-index: 4; }

.cloud-6 {
    width: 300px;
    height: 80px;
    bottom: 15%;
    left: -20px;
    opacity: 0.85;
    animation: cloudFloat3 35s ease-in-out infinite;
}

.cloud-7 {
    width: 350px;
    height: 90px;
    bottom: 12%;
    right: 5%;
    opacity: 0.8;
    animation: cloudFloat1 32s ease-in-out infinite;
}

.cloud-8 {
    width: 280px;
    height: 70px;
    bottom: 20%;
    left: 40%;
    opacity: 0.75;
    animation: cloudFloat2 38s ease-in-out infinite reverse;
}

.cloud-9 {
    width: 320px;
    height: 85px;
    bottom: 18%;
    right: 35%;
    opacity: 0.8;
    animation: cloudFloat3 30s ease-in-out infinite;
}

/* Layer 3 - Distant clouds */
.cloud-layer-3 { z-index: 3; }

.cloud-10 {
    width: 250px;
    height: 60px;
    bottom: 28%;
    left: 10%;
    opacity: 0.6;
    animation: cloudFloat1 45s ease-in-out infinite;
}

.cloud-11 {
    width: 280px;
    height: 65px;
    bottom: 32%;
    right: 15%;
    opacity: 0.55;
    animation: cloudFloat2 40s ease-in-out infinite reverse;
}

.cloud-12 {
    width: 220px;
    height: 55px;
    bottom: 35%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
    animation: cloudFloat3 42s ease-in-out infinite;
}

@keyframes cloudFloat1 {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(30px) translateY(-10px); }
    50% { transform: translateX(15px) translateY(5px); }
    75% { transform: translateX(-20px) translateY(-5px); }
}

@keyframes cloudFloat2 {
    0%, 100% { transform: translateX(0) translateY(0); }
    33% { transform: translateX(-25px) translateY(8px); }
    66% { transform: translateX(20px) translateY(-8px); }
}

@keyframes cloudFloat3 {
    0%, 100% { transform: translateX(0) translateY(0); }
    20% { transform: translateX(15px) translateY(10px); }
    40% { transform: translateX(-10px) translateY(-5px); }
    60% { transform: translateX(25px) translateY(5px); }
    80% { transform: translateX(-15px) translateY(-10px); }
}

/* Floating particles (light specks) */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 6;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8), transparent);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 30%; left: 80%; animation-delay: 1s; width: 8px; height: 8px; }
.particle:nth-child(3) { top: 50%; left: 20%; animation-delay: 2s; }
.particle:nth-child(4) { top: 40%; left: 70%; animation-delay: 3s; width: 4px; height: 4px; }
.particle:nth-child(5) { top: 60%; left: 30%; animation-delay: 4s; }
.particle:nth-child(6) { top: 25%; left: 60%; animation-delay: 5s; width: 5px; height: 5px; }
.particle:nth-child(7) { top: 45%; left: 85%; animation-delay: 6s; }
.particle:nth-child(8) { top: 35%; left: 40%; animation-delay: 7s; width: 7px; height: 7px; }

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
}

/* Hero logo container */
.hero-logo-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
}

/* Logo glow effect */
.logo-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.6) 30%,
        rgba(135, 206, 235, 0.3) 60%,
        transparent 70%
    );
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
    z-index: -1;
}

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

/* Logo reveal animation container */
.logo-reveal {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: logoReveal 1.5s ease-out forwards;
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(50px);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

/* Main logo SVG */
.hero-main-logo {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 30px rgba(30, 58, 95, 0.3));
}

/* Logo hands animation */
.hand {
    animation: handReveal 2s ease-out forwards;
    opacity: 0;
}

.hand-1 { animation-delay: 0.3s; }
.hand-2 { animation-delay: 0.5s; }
.hand-3 { animation-delay: 0.4s; }
.hand-4 { animation-delay: 0.6s; }

@keyframes handReveal {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Person figures animation */
.person {
    animation: personReveal 1.5s ease-out forwards;
    opacity: 0;
}

.person-head-1, .person-body-1 { animation-delay: 0.8s; }
.person-head-2, .person-body-2 { animation-delay: 1s; }

@keyframes personReveal {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Leaf/drop animation */
.leaf {
    animation: leafGrow 1.8s ease-out forwards;
    opacity: 0;
    transform-origin: center bottom;
}

.leaf:first-of-type { animation-delay: 1.2s; }
.leaf-side { animation-delay: 1.4s; }

@keyframes leafGrow {
    0% {
        opacity: 0;
        transform: scaleY(0);
    }
    100% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Hero text container */
.hero-text-container {
    text-align: center;
    animation: textReveal 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.title-main {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e3a5f;
    letter-spacing: 4px;
    text-shadow: 0 2px 20px rgba(30, 58, 95, 0.2);
}

.title-sub {
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #4CAF50;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #1e3a5f;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Hero CTA button */
.btn-hero {
    margin-top: 40px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #ffffff;
    padding: 18px 48px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow:
        0 10px 40px rgba(30, 58, 95, 0.3),
        0 5px 20px rgba(30, 58, 95, 0.2);
    transition: all 0.4s ease;
    animation: btnReveal 1.5s ease-out 1.5s forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

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

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 50px rgba(30, 58, 95, 0.4),
        0 8px 25px rgba(30, 58, 95, 0.3);
    background: linear-gradient(135deg, #2d5a87 0%, #3d7ab7 100%);
}

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

@keyframes btnReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    animation: scrollFade 2s ease-in-out 3s forwards, scrollBounce 2s ease-in-out infinite 3s;
    opacity: 0;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid #1e3a5f;
    border-bottom: 2px solid #1e3a5f;
    transform: rotate(45deg);
    opacity: 0.6;
}

.scroll-indicator span {
    font-size: 0.85rem;
    color: #1e3a5f;
    opacity: 0.7;
    font-weight: 500;
    letter-spacing: 1px;
}

@keyframes scrollFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Original hero styles (kept for backwards compatibility) */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--warm) 0%, var(--warm-dark) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    color: var(--secondary);
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.family-visual svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Cloud hero responsive styles */
@media (max-width: 1024px) {
    .hero-main-logo {
        width: 150px;
        height: 150px;
    }

    .title-main {
        font-size: 2.8rem;
        letter-spacing: 3px;
    }

    .title-sub {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .logo-glow {
        width: 280px;
        height: 280px;
    }

    .cloud-1, .cloud-3, .cloud-5 {
        width: 300px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .hero-cloud {
        min-height: 100vh;
        padding: 80px 20px;
    }

    .hero-main-logo {
        width: 120px;
        height: 120px;
    }

    .title-main {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .title-sub {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .hero-tagline {
        font-size: 1rem;
        padding: 0 20px;
    }

    .btn-hero {
        padding: 14px 36px;
        font-size: 1rem;
    }

    .logo-glow {
        width: 200px;
        height: 200px;
    }

    .cloud {
        transform: scale(0.6);
    }

    .scroll-indicator {
        display: none;
    }

    .sun-rays {
        opacity: 0.5;
    }
}

/* ===================================
   THREE.JS CLOUD HERO SECTION
   =================================== */

.hero-cloud-3d {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(180deg, #4a90d9 0%, #87CEEB 30%, #fff5e6 70%, #ffffff 100%);
}

#cloud-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#cloud-canvas-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-overlay .hero-logo-container {
    pointer-events: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.hero-overlay .hero-logo-container.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 3D Logo glow effect */
.logo-glow-3d {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.8) 20%,
        rgba(255, 250, 240, 0.5) 40%,
        rgba(135, 206, 235, 0.2) 60%,
        transparent 70%
    );
    border-radius: 50%;
    animation: glowPulse3d 4s ease-in-out infinite;
    z-index: -1;
    filter: blur(20px);
}

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

/* Logo reveal animation */
.logo-reveal-3d {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: logoReveal3d 2s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes logoReveal3d {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(80px);
        filter: blur(20px) brightness(2);
    }
    40% {
        filter: blur(5px) brightness(1.5);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0) brightness(1);
    }
}

/* Main logo - 3D version */
.hero-main-logo-3d {
    max-width: 400px;
    width: 90%;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 15px 40px rgba(30, 58, 95, 0.4))
            drop-shadow(0 5px 15px rgba(30, 58, 95, 0.2));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Logo element animations - 3D */
.hand-3d {
    animation: handReveal3d 1.5s ease-out forwards;
    opacity: 0;
    transform-origin: center;
}

.hand-1 { animation-delay: 0.8s; }
.hand-2 { animation-delay: 1.0s; }
.hand-3 { animation-delay: 0.9s; }
.hand-4 { animation-delay: 1.1s; }

@keyframes handReveal3d {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-20deg);
    }
    60% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.person-3d {
    animation: personReveal3d 1.2s ease-out forwards;
    opacity: 0;
}

.person-head-1, .person-body-1 { animation-delay: 1.3s; }
.person-head-2, .person-body-2 { animation-delay: 1.5s; }

@keyframes personReveal3d {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.leaf-3d {
    animation: leafGrow3d 1.5s ease-out forwards;
    opacity: 0;
    transform-origin: center bottom;
}

.leaf-3d:first-of-type { animation-delay: 1.7s; }
.leaf-side { animation-delay: 1.9s; }

@keyframes leafGrow3d {
    0% {
        opacity: 0;
        transform: scaleY(0) scaleX(0.5);
    }
    60% {
        transform: scaleY(1.2) scaleX(1);
    }
    100% {
        opacity: 1;
        transform: scaleY(1) scaleX(1);
    }
}

/* Hero text container - 3D */
.hero-text-container-3d {
    text-align: center;
    animation: textReveal3d 1.5s ease-out 1s forwards;
    opacity: 0;
}

@keyframes textReveal3d {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-title-3d {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.title-main-3d {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #1e3a5f;
    letter-spacing: 6px;
    text-shadow:
        0 2px 10px rgba(255, 255, 255, 0.8),
        0 4px 30px rgba(30, 58, 95, 0.3);
    animation: titleShimmer 3s ease-in-out infinite;
}

@keyframes titleShimmer {
    0%, 100% {
        text-shadow:
            0 2px 10px rgba(255, 255, 255, 0.8),
            0 4px 30px rgba(30, 58, 95, 0.3);
    }
    50% {
        text-shadow:
            0 2px 20px rgba(255, 255, 255, 1),
            0 4px 40px rgba(30, 58, 95, 0.5);
    }
}

.title-sub-3d {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4CAF50;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.7), 0 2px 15px rgba(76, 175, 80, 0.3);
}

.hero-tagline-3d {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #1e3a5f;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

/* Hero CTA button - 3D */
.btn-hero-3d {
    margin-top: 48px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #3d7ab7 100%);
    color: #ffffff;
    padding: 20px 56px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 60px;
    text-decoration: none;
    letter-spacing: 1px;
    box-shadow:
        0 15px 50px rgba(30, 58, 95, 0.4),
        0 5px 20px rgba(30, 58, 95, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: btnReveal3d 1.5s ease-out 2s forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

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

.btn-hero-3d:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(30, 58, 95, 0.5),
        0 10px 30px rgba(30, 58, 95, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-hero-3d:hover::before {
    left: 100%;
}

@keyframes btnReveal3d {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Scroll indicator - 3D */
.scroll-indicator-3d {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    animation: scrollFade3d 1.5s ease-out 3s forwards;
    opacity: 0;
    pointer-events: auto;
}

.scroll-arrow-3d {
    width: 28px;
    height: 28px;
    border-right: 3px solid rgba(30, 58, 95, 0.6);
    border-bottom: 3px solid rgba(30, 58, 95, 0.6);
    transform: rotate(45deg);
    animation: scrollBounce3d 2s ease-in-out infinite;
}

.scroll-indicator-3d span {
    font-size: 0.9rem;
    color: #1e3a5f;
    opacity: 0.7;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.5);
}

@keyframes scrollFade3d {
    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes scrollBounce3d {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(8px); }
}

/* 3D Hero Responsive Styles */
@media (max-width: 1024px) {
    .hero-main-logo-3d {
        max-width: 320px;
    }

    .title-main-3d {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .title-sub-3d {
        font-size: 1.2rem;
        letter-spacing: 5px;
    }

    .hero-tagline-3d {
        font-size: 1.2rem;
    }

    .logo-glow-3d {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-cloud-3d {
        min-height: 100vh;
    }

    .hero-main-logo-3d {
        max-width: 280px;
    }

    .title-main-3d {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .title-sub-3d {
        font-size: 0.95rem;
        letter-spacing: 4px;
    }

    .hero-tagline-3d {
        font-size: 1rem;
        padding: 0 20px;
    }

    .btn-hero-3d {
        padding: 16px 40px;
        font-size: 1rem;
    }

    .logo-glow-3d {
        width: 220px;
        height: 220px;
    }

    .scroll-indicator-3d {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-main-logo-3d {
        max-width: 200px;
    }

    .title-main-3d {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .title-sub-3d {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }

    .btn-hero-3d {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    .approach-card-image {
        height: 220px;
    }

    .approach-card-content {
        padding: 12px;
    }

    .approach-card h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .approach-card p {
        font-size: 0.85rem;
    }

    .value-card-image {
        height: 180px;
    }

    .value-card-content {
        padding: 12px;
    }

    .family-secure-image img {
        height: 280px;
    }

    .contact-sidebar-image {
        height: 260px;
    }
}

.page-hero {
    padding: 166px 0 60px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.page-hero h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--teal);
    margin: 20px auto 0;
    border-radius: 2px;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--teal);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

.problem-section {
    padding: 80px 0;
    background: var(--section-alt);
    color: var(--navy);
    position: relative;
    overflow: hidden;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.problem-stat {
    text-align: center;
    padding: 32px 28px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--teal);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.problem-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.problem-message h2 {
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.problem-message p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.approach-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

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

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.approach-card {
    background: var(--white);
    border-radius: 12px;
    padding: 0;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.approach-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.approach-card-content {
    padding: 24px;
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--teal-light);
}

.approach-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.approach-icon svg,
.approach-icon > * {
    width: 64px;
    height: 64px;
    padding: 16px;
    background: var(--soft-blue-light);
    border-radius: 12px;
    color: var(--soft-blue);
    transition: all var(--transition-base);
}

.approach-card:hover .approach-icon svg,
.approach-card:hover .approach-icon > * {
    background: var(--teal);
    color: var(--white);
}

.approach-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--navy);
}

.approach-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.trust-section {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    max-width: 180px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--soft-blue-light);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.trust-badge:hover .badge-icon {
    background: var(--teal);
}

.trust-badge:hover .badge-icon svg {
    color: var(--white);
}

.badge-icon svg {
    width: 36px;
    height: 36px;
    color: var(--soft-blue);
    transition: color 0.3s ease;
}

.badge-icon.primerica {
    background: var(--gradient-dark);
    padding: 16px 28px;
    border-radius: 12px;
    width: auto;
    height: auto;
}

.primerica-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    letter-spacing: 2px;
}

.badge-label {
    font-size: 0.9rem;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.4;
}

.family-secure-section {
    padding: 80px 0;
    background: var(--section-alt);
}

.family-secure-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.family-secure-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.family-secure-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.family-secure-content h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.family-secure-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .family-secure-grid {
        grid-template-columns: 1fr;
    }
    .family-secure-image img {
        height: 280px;
    }
}

.cta-section {
    padding: 80px 0;
    background: var(--soft-blue);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section.with-image {
    background: linear-gradient(rgba(79, 127, 224, 0.85), rgba(79, 127, 224, 0.9));
    background-size: cover;
    background-position: center;
}

.cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(79, 127, 224, 0.5), rgba(79, 127, 224, 0.6));
    z-index: 1;
}

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

.cta-content h2 {
    font-size: 2.25rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--soft-blue);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    padding: 16px 40px;
    font-size: 1.05rem;
    border: 2px solid var(--white);
}

.cta-section .btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
}

.story-section {
    padding: 80px 0;
    background: var(--white);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    text-align: center;
}

.story-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.mission-section {
    padding: 60px 0;
    background: var(--warm);
}

.mission-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.mission-box h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.mission-statement {
    font-size: 1.3rem;
    color: var(--text);
    font-style: italic;
}

.values-section {
    padding: 100px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.value-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.value-card-content {
    padding: 24px;
}

.value-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.page-hero.with-image {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-hero.with-image .container {
    position: relative;
    z-index: 2;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 43, 74, 0.7), rgba(26, 43, 74, 0.8));
    z-index: 1;
}

.page-hero.with-image h1,
.page-hero.with-image p {
    color: var(--white);
}

.service-highlight-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
}

.contact-sidebar-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    margin-bottom: 24px;
}

.partnership-section {
    padding: 100px 0;
    background: var(--warm);
}

.partnership-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.stat-item .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-item .stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.partnership-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.partnership-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.primary-service {
    padding: 100px 0;
    background: var(--white);
}

.service-highlight {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.service-highlight h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.service-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.service-details {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

.detail-item h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.detail-item p {
    color: var(--text-light);
}

.detail-item ul {
    list-style: none;
    color: var(--text-light);
}

.detail-item ul li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
}

.detail-item ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.detail-item.highlight {
    background: var(--warm);
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
}

.service-highlight-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
}

.service-highlight-visual svg {
    width: 100%;
    max-width: 300px;
}

.term-life-section {
    padding: 100px 0;
    background: var(--warm);
}

.term-life-content {
    max-width: 900px;
    margin: 0 auto;
}

.term-life-content .service-tag {
    display: block;
    width: fit-content;
    margin: 0 auto 16px;
}

.term-life-content h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.term-life-content .service-intro {
    text-align: center;
    margin-bottom: 48px;
}

.term-life-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.term-benefit {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.term-benefit h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.term-benefit p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.additional-services {
    padding: 100px 0;
    background: var(--white);
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.additional-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--warm);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.additional-item:hover {
    background: var(--warm-dark);
}

.additional-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 12px;
    flex-shrink: 0;
}

.additional-item h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.additional-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.difference-section {
    padding: 100px 0;
    background: var(--white);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    padding: 40px;
    border-radius: var(--radius-xl);
    background: var(--warm);
}

.comparison-card.featured {
    background: var(--white);
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    color: var(--text-light);
}

.comparison-card.featured .comparison-header {
    color: var(--accent);
}

.comparison-header h3 {
    font-size: 1.4rem;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--warm-dark);
    font-size: 0.95rem;
    color: var(--text);
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.comparison-icon.negative {
    color: #ef4444;
}

.comparison-icon.positive {
    color: var(--accent);
}

.who-we-serve {
    padding: 100px 0;
    background: var(--warm);
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.serve-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.serve-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-bottom: 3px solid var(--accent);
}

.serve-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.serve-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.serve-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.what-sets-apart {
    padding: 100px 0;
    background: var(--white);
}

.apart-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.apart-item {
    text-align: center;
}

.apart-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 16px;
}

.apart-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.apart-item p {
    color: var(--text-light);
}

.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-category {
    max-width: 800px;
    margin: 0 auto 60px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-title {
    font-size: 1.6rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent);
}

.faq-item {
    border-bottom: 1px solid var(--warm-dark);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: left;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.3;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.contact-form {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 48px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.5);
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 22px;
    border: 2px solid var(--warm-dark);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15), var(--shadow);
    background: var(--white);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--text-muted);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    margin-top: 16px;
    padding: 20px 36px;
    font-size: 1.1rem;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--warm);
    padding: 32px;
    border-radius: var(--radius-lg);
}

.contact-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.expect-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.expect-item {
    display: flex;
    gap: 12px;
}

.expect-icon {
    flex-shrink: 0;
    color: var(--accent);
}

.expect-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--primary);
}

.contact-detail div {
    display: flex;
    flex-direction: column;
}

.contact-detail strong {
    color: var(--secondary);
    font-size: 0.9rem;
}

.contact-detail span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.trust-reminder {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.open {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 500px;
    width: 100%;
    animation: modalSlide 0.3s ease;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--section-alt);
    color: var(--text);
}

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

.modal-icon {
    margin-bottom: 24px;
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.modal-note {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 24px;
}

.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.success-modal-content {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 500px;
    width: 100%;
    animation: modalSlide 0.3s ease;
    position: relative;
}

.success-modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text);
}

.success-modal-content p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.footer {
    background: #1F2937;
    color: var(--white);
    padding: 64px 0 32px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    color: var(--accent-light);
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-about p {
    color: #D1D5DB;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: var(--white);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-links h4,
.footer-contact h4,
.footer-services h4 {
    margin-bottom: 24px;
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-services h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #D1D5DB;
    text-decoration: none;
    padding: 10px 0;
    transition: all var(--transition-base);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--teal-light);
    transform: translateX(6px);
}

.footer-contact p {
    color: #D1D5DB;
    padding: 10px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--accent-light);
    flex-shrink: 0;
}

.footer-newsletter h4 {
    margin-bottom: 16px;
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 700;
}

.footer-newsletter p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-newsletter-form {
    display: flex;
    gap: 12px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.footer-newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.footer-newsletter-form input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.footer-newsletter-form button {
    padding: 14px 24px;
    background: var(--gradient-accent);
    border: none;
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
}

.footer-newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

.footer-disclosure {
    padding: 28px 32px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 1;
}

.footer-disclosure p {
    font-size: 0.85rem;
    opacity: 0.75;
    line-height: 1.7;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 28px;
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        display: none;
    }

    .problem-grid {
        grid-template-columns: 1fr 1fr;
    }

    .problem-message {
        grid-column: 1 / -1;
        text-align: center;
    }

    .approach-grid,
    .term-life-grid,
    .additional-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .partnership-stats,
    .serve-grid,
    .apart-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .service-highlight {
        grid-template-columns: 1fr;
    }

    .service-highlight-visual {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 1000px) {
    .utility-bar {
        display: none;
    }

    .header .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 24px;
        z-index: 999;
        animation: navSlideIn 0.3s ease;
    }

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

    .nav.open {
        display: flex;
    }

    .nav a {
        font-size: 1.2rem;
        padding: 16px 0;
        border-bottom: 1px solid var(--warm-dark);
    }

    .nav a::after {
        display: none;
    }

    .nav .btn-nav {
        margin-top: 16px;
        text-align: center;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .partnership-stats,
    .serve-grid,
    .apart-grid {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        gap: 40px;
    }

    .contact-form {
        padding: 28px;
    }

    .modal-content {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links h4::after,
    .footer-contact h4::after,
    .footer-services h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-newsletter-form {
        flex-direction: column;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-scale,
    .reveal-left,
    .reveal-right {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

.problem-image {
    margin-top: 48px;
    text-align: center;
}

.problem-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.approach-card.has-image {
    padding: 0;
    overflow: hidden;
}

.approach-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.approach-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.approach-card.has-image:hover .approach-card-image img {
    transform: scale(1.05);
}

.approach-card-content {
    padding: 24px;
}

.cta-section.has-bg-image {
    position: relative;
    overflow: hidden;
}

.cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cta-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.cta-section.has-bg-image .container {
    position: relative;
    z-index: 1;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.story-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

.mission-section.has-bg-image {
    position: relative;
    overflow: hidden;
}

.mission-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.mission-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.mission-section.has-bg-image .container {
    position: relative;
    z-index: 1;
}

.value-card.has-image {
    padding: 0;
    overflow: hidden;
}

.value-card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.value-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.value-card.has-image:hover .value-card-image img {
    transform: scale(1.05);
}

.value-card-content {
    padding: 24px;
}

.service-highlight-visual img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.term-life-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.term-life-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.term-life-image img {
    width: 100%;
    height: auto;
    display: block;
}

.comparison-card.has-image {
    overflow: hidden;
}

.comparison-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin: -24px -24px 24px -24px;
    width: calc(100% + 48px);
}

.comparison-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.serve-card.has-image {
    padding: 0;
    overflow: hidden;
}

.serve-card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.serve-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.serve-card.has-image:hover .serve-card-image img {
    transform: scale(1.05);
}

.serve-card-content {
    padding: 24px;
}

.contact-info-card.has-image {
    padding: 0;
    overflow: hidden;
}

.contact-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.contact-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info-card.has-image h3 {
    padding: 24px 24px 0 24px;
}

.contact-info-card.has-image .expect-list {
    padding: 16px 24px 24px 24px;
}

@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-image {
        order: -1;
    }

    .term-life-wrapper {
        grid-template-columns: 1fr;
    }

    .term-life-image {
        order: -1;
    }

    .approach-card-image {
        height: 240px;
    }

    .approach-card-content {
        padding: 16px;
    }

    .approach-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .approach-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .value-card-image {
        height: 200px;
    }

    .value-card-content {
        padding: 16px;
    }

    .contact-sidebar-image {
        height: 280px;
    }

    .comparison-card-image {
        height: 150px;
    }
}

.lang-slider {
    position: fixed;
    left: 0;
    top: 120px;
    z-index: 999;
    display: flex;
    align-items: stretch;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.lang-slider.hidden {
    transform: translateX(-100%);
    opacity: 0;
}

.lang-slider-tab {
    width: 40px;
    min-height: 88px;
    background: linear-gradient(135deg, #4a90a4 0%, #2d5a6b 100%);
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.2);
    transition: background 0.2s ease, border-radius 0.2s ease;
    flex-shrink: 0;
}

.lang-slider-tab:hover {
    background: linear-gradient(135deg, #5ba0b4 0%, #3d6a7b 100%);
}

.lang-slider-tab svg {
    width: 22px;
    height: 22px;
}

.lang-slider-panel {
    background: white;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 0;
    opacity: 0;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.lang-slider:hover .lang-slider-panel,
.lang-slider.open .lang-slider-panel {
    width: 100px;
    opacity: 1;
}

.lang-slider:hover .lang-slider-tab,
.lang-slider.open .lang-slider-tab {
    border-radius: 0;
}

.lang-slider-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.lang-slider-option:hover {
    background: #f0f7f9;
}

.lang-slider-option.active {
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.15) 0%, rgba(45, 90, 107, 0.15) 100%);
    color: #2d5a6b;
    font-weight: 600;
}

.lang-slider-option:first-child {
    border-bottom: 1px solid #eee;
}

.lang-flag {
    font-size: 18px;
    line-height: 1;
}
