/* ============================================
   TIME2OWNIT - COMPLETE CSS STYLESHEET
   ============================================
   
   STRUCTURE:
   1. CSS Variables (Colors, Spacing, Fonts)
   2. Reset & Base Styles
   3. Typography
   4. Components (Buttons, Cards, etc.)
   5. Header & Navigation
   6. Sections
   7. Modal
   8. Animations
   9. Responsive Design
   ============================================ */


/* ============================================
   1. CSS VARIABLES (Design System)
   ============================================ */

:root {
    /* ---- COLORS (HEX - Professional Medical Palette) ---- */
    
    /* Primary: Deep Blue (#1F3A5F) - Headers, Navigation, Footer */
    --primary: #1F3A5F;
    --primary-foreground: #F2F8FF;
    
    /* Secondary: Teal Green (#2FA4A9) - Buttons, Highlights, Icons */
    --accent: #2FA4A9;
    --accent-light: #E8F5F6;
    
    /* Tertiary: Warm Sand (#F2E9E4) - Section Backgrounds, Cards */
    --warm-sand: #F2E9E4;
    --warm-sand-dark: #E8DFD8;
    
    /* Neutral Background - Light cream */
    --background: #FAFAF8;
    --foreground: #2C2C2C;
    
    /* Card Surfaces */
    --card: #FFFFFF;
    --card-foreground: #2C2C2C;
    
    /* Secondary - Soft Blue */
    --secondary: #EBF4F9;
    --secondary-foreground: #1F3A5F;
    
    /* Muted */
    --muted: #F0EBE7;
    --muted-foreground: #666666;
    
    /* Warm Cream Variants */
    --cream: #F2E9E4;
    --cream-dark: #E8DFD8;
    
    /* Status Colors */
    --coral: #D84D42;
    --coral-light: #FBF0EE;
    
    /* Border Color */
    --border: #E8E3DE;
    
    /* Success Green */
    --success: #4A9B6F;
    --success-light: #E8F3EE;
    
    /* WCAG AA High Contrast Text Colors */
    --text-primary: #1F3A5F; /* Primary dark text - 12.6:1 contrast on white */
    --text-secondary: #2C2C2C; /* Secondary text - high contrast dark */
    --text-muted: #5A5A5A; /* Muted text - 6.4:1 contrast on white */
    --text-light: #FFFFFF; /* Light text on dark backgrounds */
    
    /* ---- SPACING ---- */
    --radius: 1rem;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* ---- TYPOGRAPHY ---- */
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* ---- TRANSITIONS ---- */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}


/* ============================================
   2. RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--foreground);
    background: linear-gradient(135deg, var(--primary) 0%, #2d5080 50%, var(--primary) 100%);
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Remove default link styles */
a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */

/* Headings */
/* H1 (Hero): 44–48px Semibold */
.heading-xl {
    font-family: var(--font-heading);
    font-size: clamp(44px, 6vw, 48px);
    line-height: 1.4;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.5px;
}

/* H2 (Section): 32–36px Semibold */
.heading-lg {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 36px);
    line-height: 1.4;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
}

/* H3 (Subsection): 22–24px Medium */
.heading-md {
    font-family: var(--font-heading);
    font-size: clamp(22px, 4vw, 24px);
    line-height: 1.5;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

/* Body Text: 16–18px Regular */
.body-lg {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
    font-weight: 400;
}

.body-md {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
    font-weight: 400;
}

p {
    margin-bottom: var(--spacing-md);
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
    font-weight: 400;
}

p.mission-statement {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    font-style: italic !important;
    color: var(--accent) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    letter-spacing: 0.5px !important;
}

/* Highlight text in headings */
.highlight {
    color: var(--accent);
    font-weight: 600;
}

.navy-highlight {
    color: var(--primary);
    font-weight: 600;
}

.teal-gradient-highlight {
    background: linear-gradient(135deg, #8FE0DC 0%, #A8E9E5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Small / Helper Text: 14px Regular */
.small-text,
.helper-text,
small,
.form-hint,
.modal-subtitle {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

/* ============================================
   4. COMPONENTS
   ============================================ */

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    line-height: 1.5;
}

.btn:hover {
    transform: translateY(-2px);
}

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

/* Primary Button */
.btn-primary {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: #2a92a0;
    border-color: #2a92a0;
}

/* Secondary Button */
.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(31, 58, 95, 0.1);
}

/* Large Button */
.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 18px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .modal-footer {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        padding: 8px 0;
        align-items: stretch;
    }
    .modal-footer .btn {
        width: 100%;
        font-size: 1rem;
        padding: 0.7rem 0.5rem;
        box-sizing: border-box;
    }
    .modal-content {
        padding: 16px !important;
        max-width: 98vw !important;
        font-size: 15px;
    }
    .modal-content h2, .modal-content h3, .modal-content h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    .form-group label, .form-hint, .step-subtitle {
        font-size: 14px !important;
        word-break: break-word;
    }
    .form-group input, .form-group select, .form-group textarea {
        font-size: 14px !important;
        width: 100%;
        box-sizing: border-box;
    }
}
    .btn-large {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 16px;
        line-height: 1.5;
    }
}

/* ---- CARDS ---- */
.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(47, 164, 169, 0.1);
    border-radius: var(--radius);
    color: var(--accent);
    margin-bottom: var(--spacing-md);
}

/* ---- CONTAINER ---- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

/* ============================================
   5. HEADER & NAVIGATION
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(to right, rgba(20, 40, 70, 0.98), rgba(50, 100, 150, 0.98));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
    will-change: box-shadow;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem var(--spacing-lg) 2.5rem var(--spacing-lg);
    /* ⭐ ADJUST HEADER SIZE HERE ⭐ */
    min-height: 90px; /* Header height */
    /* ⭐ ADJUST HEADER SIZE HERE ⭐ */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    position: relative;
}

/* Header Language Switcher - Top Right */
.header-language-switcher {
    position: absolute;
    top: 8px;
    right: 0px;
    padding: 14px 20px;
    font-size: 36px;
    background-color: transparent !important;
    color: white;
    border: none !important;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-base);
    font-family: var(--font-body);
    z-index: 5;
    pointer-events: auto;
    min-width: auto;
    width: auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none !important;
    box-shadow: none !important;
    max-width: 80px;
}

.header-language-switcher:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    box-shadow: none !important;
}

.header-language-switcher:focus {
    outline: none !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    box-shadow: none !important;
}

.header-language-switcher option {
    background-color: var(--bg-secondary);
    color: white;
}

@media (max-width: 768px) {
    .header-language-switcher {
        top: 6px;
        right: 50px;
        padding: 4px 8px;
        font-size: 14px;
    }
}

/* Logo */
.logo {
    position: absolute;
    top: -16px;
    left: 0px;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
    text-decoration: none;
    transition: transform var(--transition-base);
    z-index: 10;
    pointer-events: auto;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.logo-image {
    height: 150px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    transition: transform var(--transition-base), filter var(--transition-base);
    filter: brightness(1.05);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .logo {
        top: -10px;
        left: 0px;
    }
    .logo-image {
        height: 120px;
        max-width: 280px;
    }
}

.logo-text-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo-text-primary {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: white;
    margin: 0;
    padding: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.logo-text-secondary {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: white;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase;
    word-spacing: 0.1em;
}

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

.logo:hover .logo-image {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.logo-box {
    display: none;
}

.logo-text {
    display: none;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    max-width: 400px;
    justify-content: center;
    position: relative;
    z-index: 100;
    pointer-events: auto;
    flex-shrink: 0;
}

@media (min-width: 750px) {
    .nav-desktop {
        display: flex !important;
        visibility: visible;
    }
}

/* Header CTA styling */
.header .header-cta {
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.5rem 1rem;
    font-size: 14px;
    border-radius: calc(var(--radius) * 0.6);
    line-height: 1.5;
    font-weight: 600;
}

@media (min-width: 750px) {
    .header .header-cta {
        display: inline-flex;
        margin-left: var(--spacing-lg);
    }
}

/* Language Switcher */
.language-switcher {
    padding: 8px 10px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition-base);
    font-family: var(--font-body);
}

.language-switcher:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.language-switcher:focus {
    outline: none;
    background-color: rgba(47, 164, 169, 0.2);
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(47, 164, 169, 0.2);
}

.language-switcher option {
    background-color: var(--bg-secondary);
    color: white;
}

@media (max-width: 768px) {
    .language-switcher {
        padding: 6px 8px;
        font-size: 12px;
    }
    .hamburger {
        position: absolute;
        right: 16px;
        top: 16px;
    }
}

.nav-link {
    font-weight: 500;
    color: white;
    transition: color var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.nav-link:hover {
    color: var(--accent);
}

/* Mobile Menu Button */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 32px;
    height: 32px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
}

.hamburger:hover {
    opacity: 0.8;
}

.hamburger:active {
    transform: scale(0.95);
}

@media (min-width: 750px) {
    .hamburger {
        display: none !important;
        pointer-events: none;
    }
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Language Switcher */
.language-switcher {
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-base);
    font-family: var(--font-body);
}

.language-switcher:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.language-switcher:focus {
    outline: none;
    background-color: rgba(47, 164, 169, 0.2);
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(47, 164, 169, 0.2);
}

.language-switcher option {
    background-color: var(--bg-secondary);
    color: white;
}

@media (max-width: 768px) {
    .language-switcher {
        padding: 6px 10px;
        font-size: 13px;
    }
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(31, 58, 95, 0.95);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.nav-mobile.active {
    display: flex;
}

@media (min-width: 750px) {
    .nav-mobile {
        display: none !important;
        pointer-events: none;
    }
}

/* Sticky Header on Scroll */
.header.scrolled {
    background-color: rgba(31, 58, 95, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================
   6. HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--spacing-3xl) var(--spacing-md);
    background-color: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    width: 300px;
    height: 300px;
    background-image: url('assets/images/logo-main.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

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

@media (max-width: 640px) {
    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 40vh;
        min-height: 180px;
        object-fit: cover;
        z-index: 0;
    }
    .hero-content {
        padding-top: 48px;
        padding-bottom: 24px;
        font-size: 15px;
    }
    .heading-xl {
        font-size: 2rem;
        line-height: 1.2;
    }
    .btn-large {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }
    .footer-title {
        font-size: 12px !important;
    }
    .footer-wrapper {
        min-height: 60px !important;
        padding: 6px 4px 2px 4px !important;
    }
}

/* ============================================
   MOBILE IMAGE REPLACEMENT FOR VIDEOS
   ============================================ */
@media (max-width: 768px) {
    /* Hide all videos on mobile view */
    .hero-video,
    .hero-video-background {
        display: none !important;
    }
    
    /* Show mobile images on mobile view */
    .hero-mobile-image {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }
    
    /* Adjust hero overlay z-index for mobile */
    .hero-overlay {
        z-index: 2;
    }
    
    /* Ensure hero shapes are visible on top */
    .hero-shapes {
        z-index: 1;
    }
}

/* Override for about page where hero-video is used as gradient overlay */
#about-hero .hero-video {
    z-index: 1 !important;
    opacity: 1 !important;
}

#about-hero .hero-video-background {
    z-index: 0 !important;
    opacity: 1 !important;
}

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

.hero-video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: none;
}

/* Mobile Hero Image - Replaces video on mobile view */
.hero-mobile-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: none; /* Hidden by default on desktop */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 2;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    filter: blur(40px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    border-radius: 50%;
    top: 10%;
    right: 5%;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: float 25s ease-in-out infinite 2s;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    text-align: center;
    color: white;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content .heading-xl {
    color: white;
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 18px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    align-items: center;
}

@media (min-width: 640px) {
    .trust-badges {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-lg);
    }
}

.badge-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.12) 100%);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    line-height: 1.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.badge-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.badge-item:hover::before {
    left: 100%;
}

.badge-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.18) 100%);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(47, 164, 169, 0.2);
    transform: translateY(-2px);
}

.badge-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: white;
}


/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-2xl);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: white;
}

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

/* ============================================
   7. SECTION STYLES
   ============================================ */

.section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background-color: white;
    margin: var(--spacing-2xl) 0;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

@media (max-width: 640px) {
    .section {
        padding: var(--spacing-2xl) var(--spacing-sm);
        margin: var(--spacing-lg) 0;
    }
}

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

@media (min-width: 768px) {
    .section {
        padding: var(--spacing-3xl) var(--spacing-md);
    }
}

/* ---- TRUST CARDS SECTION ---- */
.trust-cards-section {
    background-color: var(--warm-sand);
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-card {
    text-align: center;
}

.trust-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
    line-height: 1.5;
}

.trust-card p {
    color: #666666;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

/* ---- STATS SECTION ---- */
.stats-section {
    background: linear-gradient(135deg, #e8f5f6, var(--warm-sand));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    width: 100%;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 245, 246, 0.1));
    padding: var(--spacing-xl);
    border-radius: 12px;
    text-align: left;
    border: 1px solid rgba(47, 164, 169, 0.15);
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
    border-color: rgba(47, 164, 169, 0.3);
    box-shadow: 0 8px 20px rgba(47, 164, 169, 0.12);
    transform: translateY(-2px);
}

.stat-icon {
    width: 0;
    height: 0;
    display: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.stat-desc {
    color: #666666;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.stat-label {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.stat-secondary-label {
    color: #666666;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 6px;
}

/* ---- INEQUALITY SECTION ---- */
.inequality-section {
    background-color: #e8f5f6;
}

.inequality-card {
    background-color: var(--card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.inequality-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.inequality-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.inequality-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    color: var(--foreground);
}

.inequality-list svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---- WHO FOR SECTION ---- */
.who-for-section {
    background-color: var(--background);
}

.who-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
    line-height: 1.5;
}

.who-card p {
    font-size: 14px;
    color: #1f6b73;
    font-weight: 400;
    line-height: 1.6;
}

/* ---- DO/DON'T SECTION ---- */
.do-dont-section {
    background: linear-gradient(135deg, var(--warm-sand), #EBF4F9);
}

.do-dont-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .do-dont-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.do-card,
.dont-card {
    background-color: var(--card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius);
    border-left: 4px solid;
}

.do-card {
    border-left-color: var(--success);
}

.dont-card {
    border-left-color: var(--coral);
}

.do-list,
.dont-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.do-list li,
.dont-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.do-list svg {
    color: var(--success);
}

.dont-list svg {
    color: var(--coral);
}

/* ---- HOW WORKS SECTION ---- */
.how-works-section {
    background-color: var(--background);
}

.timeline {
    margin-top: var(--spacing-2xl);
    position: relative;
}

@media (min-width: 768px) {
    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 100%;
        background-color: var(--border);
        top: 0;
    }
}

.timeline-step {
    margin-bottom: var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .timeline-step:nth-child(even) .timeline-content {
        margin-left: auto;
        margin-right: 0;
        text-align: right;
    }

    .timeline-step:nth-child(odd) .timeline-content {
        margin-left: 0;
        margin-right: auto;
    }

    .timeline-step {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-2xl);
        align-items: center;
    }

    .timeline-step:nth-child(even) {
        direction: rtl;
    }
}

.timeline-badge {
    width: 48px;
    height: 48px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    z-index: 2;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .timeline-badge {
        margin: 0 auto;
    }
}

.timeline-content {
    background-color: var(--card);
    padding: var(--spacing-xl);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.step-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(47, 164, 169, 0.1);
    border-radius: var(--radius);
    color: var(--accent);
    margin-bottom: var(--spacing-md);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
    line-height: 1.5;
}

.timeline-content p {
    color: #1f6b73;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

/* ---- EARLY DETECTION SECTION ---- */
.early-detection-section {
    background: linear-gradient(135deg, #e8f5f6, var(--warm-sand));
}

.early-detection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin: var(--spacing-2xl) 0;
}

@media (min-width: 768px) {
    .early-detection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.prognosis-card {
    background-color: var(--card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius);
    text-align: center;
    border-left: 4px solid;
}

.prognosis-card.good {
    border-left-color: var(--success);
}

.prognosis-card.poor {
    border-left-color: var(--coral);
}

.prognosis-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: white;
    margin: 0 auto var(--spacing-lg);
}

.prognosis-icon.good {
    background-color: var(--success);
}

.prognosis-icon.poor {
    background-color: var(--coral);
}

.prognosis-percent {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
    line-height: 1.4;
}

.prognosis-label {
    color: #1f6b73;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.barriers-card {
    background-color: var(--card);
    padding: var(--spacing-xl);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    max-width: 800px;
    margin: var(--spacing-2xl) auto 0;
}

.barriers-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.barriers-list li {
    color: var(--foreground);
    padding-left: var(--spacing-lg);
}

/* ---- GOVERNANCE SECTION ---- */
.governance-section {
    background-color: var(--background);
}

.governance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .governance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.governance-card {
    background-color: var(--card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.governance-list,
.advisory-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.governance-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--foreground);
}

.advisory-list li {
    color: #1f6b73;
    padding-left: var(--spacing-lg);
    position: relative;
}

.advisory-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ---- TEAM SECTION ---- */
.team-section {
    background: linear-gradient(135deg, var(--warm-sand), #f5f0eb);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.01) 2px, transparent 2px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px, 120px 120px, 100px 100px;
    pointer-events: none;
    z-index: 1;
}

.team-section .container {
    position: relative;
    z-index: 2;
}

/* Centered Headings for About Page */
.section .heading-lg,
.section .heading-md {
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.team-grid .team-card:last-child {
    grid-column: 1 / -1;
    max-width: 350px;
    justify-self: center;
}

.team-card {
    background-color: var(--card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: white;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.4;
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.team-card p {
    color: #1f6b73;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.team-description {
    font-size: 13px !important;
    color: #666 !important;
    font-weight: 400 !important;
    line-height: 1.5;
    margin-bottom: 0 !important;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background-color: rgba(31, 58, 95, 0.1);
    border-radius: 50%;
    color: var(--primary);
    transition: all var(--transition-base);
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
}

/* ---- MAIN CONTENT SECTION ---- */
.main-section {
    width: 100%;
    padding: var(--spacing-4xl) var(--spacing-lg);
    background: white;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    overflow: hidden;
    margin: var(--spacing-2xl) 0;
    border-radius: var(--radius);
}

.main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 2px, transparent 2px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.01) 10px, rgba(255, 255, 255, 0.01) 20px);
    background-size: 80px 80px, 120px 120px, 100px 100px, 100% 100%;
    pointer-events: none;
    z-index: 1;
}

.main-section .content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2xl);
    text-align: center;
    max-width: 100%;
    width: 100%;
}
}

.mission-statement {
    font-size: 0.85rem !important;
    line-height: 0.9 !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin: 0 0 0 0 !important;
    padding: 0 !important;
    max-width: 650px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    letter-spacing: 0.3px !important;
    font-family: var(--font-body) !important;
    text-transform: uppercase !important;
    background: linear-gradient(135deg, #2FA4A9 0%, #0d7a81 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 6px rgba(47, 164, 169, 0.3)) drop-shadow(0 0 3px rgba(47, 164, 169, 0.4)) !important;
}

.learn-link {
    font-size: 16px;
    color: #1f6b73;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-block;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 8px rgba(47, 164, 169, 0.15);
}

.learn-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(47, 164, 169, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(47, 164, 169, 0.02) 2px, transparent 2px);
    background-size: 80px 80px, 120px 120px;
    pointer-events: none;
    z-index: 1;
}

.learn-link:hover {
    color: #1f6b73;
    transform: translateY(-2px);
}

.trust-heading {
    font-size: 36px;
    font-weight: 600;
    color: #1f6b73;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 0 20px rgba(47, 164, 169, 0.3), 0 0 40px rgba(47, 164, 169, 0.15);
    text-align: center;
}

.trust-heading strong {
    font-weight: 700;
}

.trust-stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.trust-stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: #1f6b73;
    font-weight: 500;
    text-shadow: 0 0 15px rgba(47, 164, 169, 0.25);
}

.stat-icon {
    width: 24px;
    height: 24px;
    color: #1f6b73;
    flex-shrink: 0;
    animation: fadeInScale 0.6s ease-out;
    filter: drop-shadow(0 0 8px rgba(47, 164, 169, 0.3));
}

.stat-divider {
    color: rgba(31, 107, 115, 0.4);
    font-size: 18px;
    line-height: 1.5;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Impact Stats Block */
.impact-stats-block {
    background: linear-gradient(135deg, rgba(47, 164, 169, 0.08) 0%, rgba(150, 200, 180, 0.05) 100%);
    border: 1px solid rgba(47, 164, 169, 0.1);
    padding: var(--spacing-2xl) var(--spacing-xl);
    border-radius: var(--radius);
    margin-bottom: var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    align-items: center;
    text-align: center;
}

.impact-mission-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
}

.impact-numbers {
    display: flex;
    gap: var(--spacing-2xl);
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.impact-stat {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.impact-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

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

.impact-trust-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
}

@media (max-width: 768px) {
    .main-section {
        padding: var(--spacing-2xl) var(--spacing-md);
        min-height: auto;
    }

    .main-section .content-wrapper {
        max-width: 100%;
    }

    .trust-heading {
        font-size: 28px;
        line-height: 1.4;
    }

    .trust-stats {
        font-size: 14px;
        line-height: 1.5;
    }

    .mission-statement {
        font-size: 0.7rem !important;
        line-height: 0.9 !important;
        font-weight: 700 !important;
        margin: 0 !important;
        padding: 0 !important;
        filter: drop-shadow(0 0 6px rgba(47, 164, 169, 0.3)) drop-shadow(0 0 3px rgba(47, 164, 169, 0.4)) !important;
    }

    .impact-stats-block {
        padding: var(--spacing-xl) var(--spacing-md);
        margin-bottom: var(--spacing-xl);
    }

    .impact-mission-text {
        font-size: 1rem;
    }

    .impact-numbers {
        gap: var(--spacing-xl);
    }

    .impact-number {
        font-size: 1.5rem;
    }

    .impact-label {
        font-size: 0.9rem;
    }
}

/* ---- MAIN CONTENT & FOOTER TO BE REBUILT ---- */

/* ---- CTA SECTION ---- */
.cta-section {
    width: 100%;
    padding: var(--spacing-4xl) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary) 0%, #162847 50%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    margin: var(--spacing-2xl) 0;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(47, 164, 169, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(47, 164, 169, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2xl);
    text-align: center;
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.cta-heading {
    font-size: 44px;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -1px;
}

.cta-section .btn {
    margin-top: var(--spacing-lg);
}

/* Enhanced Button Hover States */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.btn-primary {
    box-shadow: 0 4px 15px rgba(47, 164, 169, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(47, 164, 169, 0.35);
    background: linear-gradient(135deg, var(--accent), #2a92a0);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(47, 164, 169, 0.25);
}

.check-risk-btn {
    position: relative;
    overflow: hidden;
}

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

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

@media (max-width: 768px) {
    .cta-section {
        padding: var(--spacing-3xl) var(--spacing-lg);
        min-height: auto;
    }

    .cta-heading {
        font-size: 2rem;
    }
}

/* ---- FOOTER ---- */
.footer {
    width: 100%;
    padding: 1.8rem var(--spacing-lg); /* header is 1.5rem, footer is just a bit thicker */
    background: linear-gradient(135deg, var(--primary), #162847);
    color: white;
    position: relative;
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 8px 4px 8px;
    background: var(--primary);
    gap: var(--spacing-md);
    text-align: center;
    min-height: 60px;
}

.footer-title {
    font-size: 13px;
    text-transform: none;
    color: #fff;
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-align: center;
    background: none;
}

.footer-nav {
    font-size: 13px;
    margin-bottom: 8px;
    text-align: center;
}

.footer-link {
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: inline;
    padding: 0 4px;
}

.footer-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-fine-print {
    font-size: 10px;
    color: #888;
    font-style: italic;
    margin-bottom: 6px;
    line-height: 1.5;
    text-align: center;
    max-width: 600px;
}

.footer-safe-use-statement {
    font-size: 9px;
    color: #999;
    margin: 6px 0 0 0;
    line-height: 1.6;
    text-align: center;
    max-width: 600px;
    font-style: normal;
}

.footer-copyright {
    font-size: 9px;
    color: #bbb;
    margin-top: 4px;
    line-height: 1.6;
    text-align: center;
    font-style: normal;
}

/* Language Switcher Styling */
/* Language Switcher Styling */
.footer .language-switcher {
    padding: 6px 10px;
    font-size: 20px;
    background-color: transparent;
    border: 1px solid rgba(47, 164, 169, 0.3);
    border-radius: 2px;
    cursor: pointer;
    font-family: var(--font-body);
    color: white;
    width: 60px;
    height: 45px;
    transition: all var(--transition-base);
    line-height: 1.2;
    overflow: visible;
    position: absolute;
    top: var(--spacing-lg);
    right: calc(var(--spacing-lg) + var(--spacing-md));
}

.footer .language-switcher:hover {
    background-color: rgba(47, 164, 169, 0.12);
    border-color: var(--accent);
}

.footer .language-switcher:focus {
    outline: none;
    background-color: rgba(47, 164, 169, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(47, 164, 169, 0.1);
}

.footer .language-switcher option {
    background-color: var(--bg-secondary);
    color: white;
}

@media (max-width: 768px) {
    .footer .language-switcher {
        padding: 5px 9px;
        font-size: 18px;
        height: 42px;
        width: 56px;
        top: var(--spacing-md);
        right: calc(var(--spacing-md) + var(--spacing-sm));
    }

    .footer {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }

    .footer-links {
        gap: var(--spacing-md);
        font-size: 14px;
        line-height: 1.5;
    }
}

.final-cta-section {
    background: linear-gradient(135deg, var(--primary), #162847);
    color: white;
}

.final-cta-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.final-cta-card .heading-lg {
    color: white;
}

.cta-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
    font-weight: 400;
}

/* ---- SERVICES PAGE ---- */
.services-intro-section {
    background-color: white;
    text-align: center;
}

.services-list-section {
    background: linear-gradient(135deg, #e8f5f6, var(--warm-sand));
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .service-card:nth-child(-n+3) {
        grid-column: span 2;
    }
    
    .service-card:nth-child(4) {
        grid-column: 2 / 4;
    }
    
    .service-card:nth-child(5) {
        grid-column: 4 / 6;
    }
}

.service-card {
    background-color: var(--card);
    padding: var(--spacing-lg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(47, 164, 169, 0.15);
    border-color: var(--accent);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(47, 164, 169, 0.1);
    border-radius: var(--radius);
    color: var(--accent);
    margin: 0 auto var(--spacing-md);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background-color: rgba(47, 164, 169, 0.2);
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
    line-height: 1.4;
}

.service-card p {
    font-size: 13px;
    color: #1f6b73;
    font-weight: 400;
    line-height: 1.5;
}

.services-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #162847 50%, var(--accent) 100%);
    color: white;
    margin: var(--spacing-3xl) 0 0 0;
    padding: var(--spacing-4xl) var(--spacing-lg) !important;
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(47, 164, 169, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(47, 164, 169, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

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

.services-cta .cta-heading {
    color: white;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.services-cta .cta-description {
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta .btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #24858b 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 14px 36px;
    transition: all var(--transition-base);
    box-shadow: 0 8px 32px rgba(47, 164, 169, 0.3);
    position: relative;
    overflow: hidden;
}

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

.services-cta .btn-primary:hover::before {
    left: 100%;
}

.services-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(47, 164, 169, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, #2a92a0 0%, #1f7a83 100%);
}

.services-cta .btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(47, 164, 169, 0.25);
}

.logo-box-footer {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: calc(var(--radius) * 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-badges-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-badges-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    font-size: 14px;
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-weight: 400;
}

/* ============================================
   8. MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: var(--spacing-lg);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background-color: white;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.35s ease-out;
    border: 1px solid rgba(232, 227, 222, 0.3);
    overflow: hidden;
    margin: 0 var(--spacing-md);
}

@media (max-width: 640px) {
    .modal-content {
        max-width: 100%;
        max-height: 95vh;
    }
}

.modal-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid rgba(232, 227, 222, 0.3);
    position: relative;
    background-color: white;
    flex-shrink: 0;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--primary);
    line-height: 1.4;
}

.modal-subtitle {
    margin: 0;
    font-size: 14px;
    color: #1f6b73;
    font-weight: 400;
    line-height: 1.5;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 2px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--primary);
    font-size: 24px;
    line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    outline: none;
}

/* Progress Section */
.modal-progress-section {
    padding: 20px 32px;
    background-color: white;
    border-bottom: 1px solid rgba(232, 227, 222, 0.3);
    flex-shrink: 0;
}

.step-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.step-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.step-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
    line-height: 1.5;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background-color: #F0EBE7;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary) 50%, var(--accent));
    transition: width 0.4s ease-out;
}

/* Modal Body & Form */
.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
    background-color: white;
    min-height: 0;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(232, 227, 222, 0.7);
}

/* Modal Errors Container */
.modal-errors-container {
    background: linear-gradient(135deg, #FEF2F2 0%, #FDE8E8 100%);
    border-left: 4px solid #EF4444;
    border-radius: 8px;
    padding: 16px;
    margin: 0 32px 20px 32px;
    animation: slideDown 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.modal-errors-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.errors-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    position: relative;
}

.errors-icon {
    width: 20px;
    height: 20px;
    color: #DC2626;
    flex-shrink: 0;
}

.errors-title {
    font-size: 14px;
    font-weight: 600;
    color: #991B1B;
    flex: 1;
}

.errors-close {
    background: none;
    border: none;
    color: #DC2626;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.errors-close:hover {
    color: #991B1B;
}

.errors-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.error-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #7F1D1D;
    line-height: 1.4;
    padding: 4px 0;
}

.error-dot {
    width: 6px;
    height: 6px;
    background-color: #DC2626;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.error-text {
    font-weight: 500;
}

.modal-footer {
    padding: 20px 32px;
    border-top: 1px solid rgba(232, 227, 222, 0.3);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
    background-color: white;
}

.modal-footer .btn {
    min-width: 130px;
    padding: 11px 20px;
}

/* Modal Message Display */
.modal-message {
    margin: -8px -32px 20px -32px;
    padding: 16px 32px;
    border-radius: 0;
    animation: slideDown 0.3s ease-out;
}

.modal-message-success {
    background: linear-gradient(135deg, #E8F9F5 0%, #D1F0E8 100%);
    border-bottom: 2px solid #10B981;
    color: #047857;
}

.modal-message-error {
    background: linear-gradient(135deg, #FEF2F2 0%, #FDE8E8 100%);
    border-bottom: 2px solid #EF4444;
    color: #991B1B;
}

.modal-message-warning {
    background: linear-gradient(135deg, #FEFCE8 0%, #FEF3C7 100%);
    border-bottom: 2px solid #F59E0B;
    color: #92400E;
}

.modal-message-info {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-bottom: 2px solid #3B82F6;
    color: #1E40AF;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.message-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.message-text {
    flex: 1;
}

.message-close {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.6;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.message-close:hover {
    opacity: 1;
}

/* Summary Display Styling */
.review-summary {
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    border: 1px solid rgba(232, 227, 222, 0.4);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.review-summary::-webkit-scrollbar {
    width: 6px;
}

.review-summary::-webkit-scrollbar-track {
    background: transparent;
}

.review-summary::-webkit-scrollbar-thumb {
    background: rgba(47, 164, 169, 0.3);
    border-radius: 3px;
}

.review-summary::-webkit-scrollbar-thumb:hover {
    background: rgba(47, 164, 169, 0.5);
}

.summary-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(232, 227, 222, 0.3);
}

.summary-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-category {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.5;
}

.summary-label {
    font-weight: 600;
    color: #4B5563;
    flex: 0 0 35%;
    padding-right: 12px;
}

.summary-value {
    color: var(--foreground);
    flex: 1;
    text-align: right;
    padding: 4px 8px;
    background: rgba(47, 164, 169, 0.05);
    border-radius: 6px;
    border-left: 3px solid var(--accent);
    padding-left: 12px;
}

.summary-notes {
    background: rgba(242, 233, 228, 0.5);
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    font-style: italic;
    margin: 0;
    color: #4B5563;
    line-height: 1.6;
}

.review-note {
    background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%);
    border: 1px solid #93C5FD;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
}

.review-note p {
    margin: 0;
    font-size: 13px;
    color: #1E40AF;
    line-height: 1.5;
}

#assessmentForm {
    width: 100%;
}

.form-step {
    animation: fadeInUp 0.3s ease-out;
}

.form-step h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--primary);
    line-height: 1.5;
}

.form-step .step-subtitle {
    margin: 0 0 28px 0;
    font-size: 14px;
    color: #999999;
    font-weight: 400;
    line-height: 1.6;
}

/* Form Groups in Modal */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--foreground);
    font-size: 16px;
    line-height: 1.5;
}

.form-group small {
    display: block;
    font-size: 14px;
    color: #999999;
    margin-top: 6px;
    font-weight: 400;
    line-height: 1.5;
}

.form-hint {
    font-size: 14px;
    color: #999999;
    margin: 8px 0 12px 0 !important;
    font-weight: 400;
    line-height: 1.6;
}

.required {
    color: var(--coral);
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background-color: white;
    font-size: 16px;
    font-family: inherit;
    transition: all var(--transition-base);
    line-height: 1.5;
    font-weight: 400;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="date"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(47, 164, 169, 0.08);
}

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

/* Radio & Checkbox Options */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent);
    flex-shrink: 0;
}

/* Tooltip styling for radio options */
.tooltip-label {
    position: relative;
}

.tooltip-trigger {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: rgba(100, 100, 100, 0.3);
    color: #666;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    cursor: help;
    margin-left: 4px;
    position: relative;
}

.tooltip-text {
    visibility: hidden;
    position: absolute;
    background-color: #555;
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #555;
}

.tooltip-trigger:hover + .tooltip-text,
.tooltip-text:hover {
    visibility: visible;
    opacity: 1;
}

/* Inline tooltip styling for labels */
.tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.tooltip-trigger-inline {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: rgba(100, 100, 100, 0.3);
    color: #666;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    line-height: 18px;
    text-align: center;
    cursor: help;
    margin: 0 4px;
}

.tooltip-text-inline {
    visibility: hidden;
    position: absolute;
    background-color: #555;
    color: white;
    text-align: left;
    border-radius: 6px;
    padding: 10px 12px;
    z-index: 1000;
    max-width: 280px;
    width: calc(100vw - 40px);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: normal;
    bottom: auto;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
}

.tooltip-text-inline::after {
    content: '';
    position: absolute;
    border: 6px solid transparent;
    border-bottom-color: #555;
    bottom: auto;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.tooltip-wrapper:hover .tooltip-trigger-inline,
.tooltip-wrapper:hover .tooltip-text-inline {
    visibility: visible;
    opacity: 1;
}

/* Mobile tooltip adjustments */
@media (max-width: 640px) {
    .tooltip-text-inline {
        max-width: 260px;
        width: calc(100vw - 30px);
        padding: 8px 10px;
        font-size: 12px;
        line-height: 1.3;
        margin-top: 6px;
    }
    
    .tooltip-text-inline::after {
        border-width: 5px;
        top: -10px;
    }
}

/* Error message styling */
.form-error {
    background-color: rgba(216, 77, 66, 0.1);
    border-left: 4px solid var(--coral);
    color: var(--coral);
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 14px;
    animation: slideUp 0.3s ease-out;
    line-height: 1.6;
}

/* Review Box */
.review-box {
    background-color: rgba(31, 58, 95, 0.05);
    border: 2px solid rgba(31, 58, 95, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.review-box h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
    line-height: 1.5;
}

.review-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(31, 58, 95, 0.1);
    line-height: 1.6;
    font-weight: 400;
}

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

.review-label {
    font-weight: 600;
    color: var(--foreground);
    flex-shrink: 0;
    max-width: 40%;
}

.review-value {
    color: #1f6b73;
    text-align: right;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
}

.required::after {
    content: ' *';
    color: var(--coral);
}

/* Radio Card Options */
.radio-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 640px) {
    .radio-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.radio-card {
    position: relative;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-card-label {
    display: block;
    padding: var(--spacing-lg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    font-weight: 500;
}

.radio-card input[type="radio"]:checked + .radio-card-label {
    border-color: var(--accent);
    background-color: rgba(47, 164, 169, 0.05);
}

/* Checkbox Options */
.checkbox-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.checkbox-card {
    position: relative;
}

.checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkbox-card-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition-base);
    background-color: var(--card);
}

.checkbox-card input[type="checkbox"]:checked + .checkbox-card-label {
    border-color: var(--accent);
    background-color: rgba(47, 164, 169, 0.05);
}

.checkbox-card-label::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkbox-card input[type="checkbox"]:checked + .checkbox-card-label::before {
    background-color: var(--accent);
    content: '✓';
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Text Inputs */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--card);
    transition: all var(--transition-base);
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(47, 164, 169, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   9. ANIMATIONS
   ============================================ */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -15px) rotate(2deg);
    }
    50% {
        transform: translate(-5px, 10px) rotate(-1deg);
    }
    75% {
        transform: translate(-15px, -5px) rotate(1deg);
    }
}

/* Scroll Animation */
[data-animate] {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out forwards;
}

[data-animate].visible {
    animation: fadeInUp 0.8s ease-out;
}

/* Stagger animation delay */
[data-animate]:nth-child(1) { animation-delay: 0.1s; }
[data-animate]:nth-child(2) { animation-delay: 0.2s; }
[data-animate]:nth-child(3) { animation-delay: 0.3s; }
[data-animate]:nth-child(4) { animation-delay: 0.4s; }
[data-animate]:nth-child(5) { animation-delay: 0.5s; }
[data-animate]:nth-child(n+6) { animation-delay: 0.6s; }

/* ============================================
   10. RESPONSIVE DESIGN
   ============================================ */

/* Mobile First - Already done above */

/* Tablet */
@media (min-width: 640px) {
    .section {
        padding: var(--spacing-3xl) var(--spacing-lg);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .section {
        padding: var(--spacing-3xl) var(--spacing-xl);
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .section {
        padding: var(--spacing-3xl) var(--spacing-2xl);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .scroll-indicator,
    .btn {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }

    .hero-video {
        display: none;
    }
}

/* ============================================
   ABOUT PAGE SPECIFIC STYLES
   ============================================ */

.section-intro {
    font-size: 16px;
    color: #5A5A5A;
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.stat-card {
    background-color: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(47, 164, 169, 0.1);
}

.stat-number {
    font-size: clamp(24px, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.stat-label {
    font-size: 14px;
    color: #1f6b73;
    font-weight: 500;
    line-height: 1.5;
}

.inequality-grid,
.serve-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

@media (max-width: 1024px) {
    .inequality-grid,
    .serve-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .inequality-grid,
    .serve-grid {
        grid-template-columns: 1fr;
    }
}

.inequality-card,
.serve-card {
    background-color: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
}

.inequality-card:hover,
.serve-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.inequality-card h4,
.serve-card h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.inequality-card p,
.serve-card p {
    color: #1f6b73;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 400;
}

.do-dont-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.do-card,
.dont-card {
    background-color: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
}

.do-card h3,
.dont-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
}

.do-list,
.dont-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.do-list li,
.dont-list li {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border);
    color: #1f6b73;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.6;
}

.do-list li:last-child,
.dont-list li:last-child {
    border-bottom: none;
}

.do-list li:before {
    content: "✓ ";
    color: var(--success);
    font-weight: 700;
    margin-right: var(--spacing-sm);
}

.dont-list li:before {
    content: "✗ ";
    color: var(--coral);
    font-weight: 700;
    margin-right: var(--spacing-sm);
}

.important-notice {
    background-color: rgba(216, 77, 66, 0.1);
    border-left: 4px solid var(--coral);
    padding: var(--spacing-lg);
    border-radius: var(--radius);
    margin-top: var(--spacing-2xl);
    color: var(--coral);
    font-weight: 500;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 100%;
}

@media (max-width: 1200px) {
    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.process-step {
    background: linear-gradient(135deg, white 0%, rgba(232, 245, 246, 0.3) 100%);
    border: 1px solid rgba(47, 164, 169, 0.2);
    border-radius: 12px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(47, 164, 169, 0.12);
    border-color: rgba(47, 164, 169, 0.4);
}

.process-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.process-step h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.process-step p {
    color: #1f6b73;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
}

.critical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.critical-card {
    background: linear-gradient(135deg, rgba(31, 58, 95, 0.1), rgba(47, 164, 169, 0.1));
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    text-align: center;
}

.critical-number {
    font-size: clamp(22px, 5vw, 28px);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.critical-card p {
    color: #1f6b73;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.6;
}

.barriers-list {
    list-style: none;
    padding: 0;
    margin-top: var(--spacing-2xl);
    display: grid;
    gap: var(--spacing-md);
}

.barriers-list li {
    background-color: var(--background);
    padding: var(--spacing-md) var(--spacing-lg);
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    color: #1f6b73;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.6;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.compliance-card {
    background-color: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
}

.compliance-card h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.compliance-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compliance-list li {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border);
    color: #1f6b73;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.6;
}

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

/* Early Detection Detail - Styling for critical information paragraph */
.early-detection-detail {
    font-size: 14px;
    font-weight: 700;
    color: #1f6b73;
    text-shadow: 0 0 10px rgba(47, 164, 169, 0.4), 0 0 20px rgba(47, 164, 169, 0.2);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   VERIFICATION PAGE STYLES
   ============================================ */

.verification-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: var(--spacing-lg);
    margin-top: calc(-1 * var(--spacing-3xl));
    position: relative;
    z-index: 1;
}

.verification-content {
    background: white;
    border-radius: var(--radius);
    padding: var(--spacing-3xl) var(--spacing-xl);
    max-width: 700px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(232, 227, 222, 0.3);
    animation: slideUp 0.5s ease-out;
    text-align: center;
}

.verification-icon {
    margin-bottom: var(--spacing-2xl);
    display: flex;
    justify-content: center;
}

.checkmark-svg {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 4px 12px rgba(74, 155, 111, 0.2));
}

.verification-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 6vw, 36px);
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
    font-weight: 600;
}

.verification-subtitle {
    font-size: 18px;
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

.verification-details {
    background: linear-gradient(135deg, var(--accent-light) 0%, #F0FAFB 100%);
    border-radius: 12px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    text-align: left;
}

.verification-details p.verification-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    margin-top: 0;
}

.verification-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.verification-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-sm);
    line-height: 1.6;
}

.list-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.verification-list li span:last-child {
    font-size: 15px;
    color: #1f6b73;
}

.verification-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-direction: column;
    margin-bottom: var(--spacing-2xl);
}

.verification-cta a {
    display: inline-block;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 12px 28px;
    font-weight: 600;
    transition: all var(--transition-base);
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--accent-light);
    color: var(--accent);
}

.verification-disclaimer {
    font-size: 12px;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin: var(--spacing-xl) 0 0 0;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border);
}

@keyframes checkmarkDraw {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@media (max-width: 640px) {
    .verification-container {
        padding: var(--spacing-md);
        min-height: auto;
        margin-top: 0;
    }

    .verification-content {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .verification-title {
        font-size: 24px;
    }

    .verification-subtitle {
        font-size: 16px;
    }

    .verification-cta {
        flex-direction: column;
    }

    .checkmark-svg {
        width: 100px;
        height: 100px;
    }

    .verification-details {
        padding: var(--spacing-lg);
    }
}

/* ============================================
   RESULTS PAGE STYLES
   ============================================ */

.results-container {
    display: flex;
    -webkit-display: flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    min-height: 100vh;
    padding: var(--spacing-lg);
    background-color: #f8f6f3;
    position: relative;
    z-index: 1;
}

.results-content {
    background: white;
    border-radius: var(--radius);
    padding: var(--spacing-3xl) var(--spacing-xl);
    max-width: 700px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(232, 227, 222, 0.3);
    animation: slideUp 0.5s ease-out;
    text-align: center;
    -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 5px rgba(0, 0, 0, 0.04);
    -webkit-border-radius: var(--radius);
    box-sizing: border-box;
}

.results-icon {
    margin-bottom: var(--spacing-2xl);
    display: flex;
    -webkit-display: flex;
    justify-content: center;
    -webkit-justify-content: center;
}

.results-svg {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 4px 12px rgba(74, 155, 111, 0.2));
    -webkit-filter: drop-shadow(0 4px 12px rgba(74, 155, 111, 0.2));
}

.results-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 6vw, 36px);
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
    font-weight: 600;
    -webkit-margin-bottom: var(--spacing-md);
}

.results-subtitle {
    font-size: 18px;
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

/* Risk Badge */
.risk-badge {
    display: inline-block;
    padding: var(--spacing-lg) var(--spacing-2xl);
    border-radius: 12px;
    margin-bottom: var(--spacing-2xl);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideUp 0.6s ease-out 0.1s backwards;
    -webkit-border-radius: 12px;
    -webkit-animation: slideUp 0.6s ease-out 0.1s backwards;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.risk-badge.low-risk {
    background: linear-gradient(135deg, #E8F9F5 0%, #D1F0E8 100%);
    background: -webkit-gradient(linear, left top, right bottom, from(#E8F9F5), to(#D1F0E8));
    color: #047857;
    border: 2px solid #10B981;
    -webkit-background-clip: padding-box;
}

.risk-badge.moderate-risk {
    background: linear-gradient(135deg, #FEFCE8 0%, #FEF3C7 100%);
    background: -webkit-gradient(linear, left top, right bottom, from(#FEFCE8), to(#FEF3C7));
    color: #92400E;
    border: 2px solid #F59E0B;
    -webkit-background-clip: padding-box;
}

.risk-badge.high-risk {
    background: linear-gradient(135deg, #FEF2F2 0%, #FDE8E8 100%);
    background: -webkit-gradient(linear, left top, right bottom, from(#FEF2F2), to(#FDE8E8));
    color: #991B1B;
    border: 2px solid #EF4444;
    -webkit-background-clip: padding-box;
}

.risk-level-text {
    display: block;
}

.results-details {
    background: linear-gradient(135deg, var(--accent-light) 0%, #F0FAFB 100%);
    background: -webkit-gradient(linear, left top, right bottom, from(var(--accent-light)), to(#F0FAFB));
    border-radius: 12px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    text-align: left;
    -webkit-border-radius: 12px;
}

.results-summary-box {
    background: white;
    border-radius: 8px;
    padding: var(--spacing-lg);
    margin-top: var(--spacing-md);
    line-height: 1.8;
    color: #444;
    border-left: 4px solid var(--accent);
    -webkit-border-radius: 8px;
    box-sizing: border-box;
}

.results-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    margin-top: 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: var(--spacing-md);
}

.results-recommendations {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    text-align: left;
    border: 1px solid rgba(232, 227, 222, 0.3);
    -webkit-border-radius: 12px;
    box-sizing: border-box;
}

.results-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    -webkit-display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    gap: var(--spacing-md);
}

.results-list li {
    display: flex;
    -webkit-display: flex;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-sm);
    line-height: 1.6;
}

.results-list li span:last-child {
    font-size: 15px;
    color: #1f6b73;
}

.results-cta {
    display: flex;
    -webkit-display: flex;
    gap: var(--spacing-md);
    flex-direction: column;
    -webkit-flex-direction: column;
    margin-bottom: var(--spacing-2xl);
}

.results-cta a {
    display: inline-block;
}

.results-disclaimer {
    font-size: 12px;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin: var(--spacing-xl) 0 0 0;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border);
    -webkit-margin-top: var(--spacing-xl);
    -webkit-padding-top: var(--spacing-xl);
}

@media (max-width: 640px) {
    .results-container {
        padding: var(--spacing-md);
        min-height: auto;
    }

    .results-content {
        padding: var(--spacing-xl) var(--spacing-lg);
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }

    .results-title {
        font-size: 24px;
    }

    .results-subtitle {
        font-size: 16px;
    }

    .results-cta {
        flex-direction: column;
    }

    .results-svg {
        width: 100px;
        height: 100px;
    }

    .results-details {
        padding: var(--spacing-lg);
    }

    .risk-badge {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 16px;
        letter-spacing: 0.5px;
    }
}

/* ============================================
   PRIVACY POLICY PAGE STYLES
   ============================================ */

/* Generic policy page styles - used by privacy-policy.html, cookie-policy.html, etc. */
.policy-container,
.privacy-policy-container {
    background-color: #f8f6f3;
    padding: var(--spacing-3xl) var(--spacing-lg);
    min-height: 100vh;
}

.policy-content,
.privacy-policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: var(--spacing-3xl) var(--spacing-2xl);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(232, 227, 222, 0.3);
    -webkit-border-radius: 12px;
    -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    animation: slideUp 0.5s ease-out;
    -webkit-animation: slideUp 0.5s ease-out;
}

.policy-title {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.policy-subtitle {
    font-size: 18px;
    color: var(--accent);
    margin-bottom: var(--spacing-2xl);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.policy-meta {
    display: flex;
    -webkit-display: flex;
    gap: var(--spacing-3xl);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--accent-light) 0%, #F0FAFB 100%);
    background: -webkit-gradient(linear, left top, right bottom, from(var(--accent-light)), to(#F0FAFB));
    border-radius: 8px;
    -webkit-border-radius: 8px;
    margin-bottom: var(--spacing-2xl);
    border-left: 4px solid var(--accent);
}

.policy-meta p {
    margin: 0;
    font-size: 14px;
    color: var(--foreground);
    line-height: 1.6;
}

.policy-meta strong {
    color: var(--primary);
    font-weight: 600;
}

.policy-intro {
    padding: var(--spacing-xl) 0;
    margin-bottom: var(--spacing-2xl);
    border-bottom: 2px solid rgba(232, 227, 222, 0.3);
}

.policy-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--foreground);
    margin-bottom: var(--spacing-md);
}

.policy-intro strong {
    color: var(--primary);
    font-weight: 600;
}

.policy-note {
    background: #fffbf8;
    border-left: 4px solid var(--accent);
    padding: var(--spacing-lg);
    border-radius: 6px;
    -webkit-border-radius: 6px;
    margin: var(--spacing-xl) 0 0 0;
}

.policy-note p {
    margin: var(--spacing-sm) 0;
    font-size: 14px;
    color: #5a4a42;
    line-height: 1.7;
}

.policy-note p:first-child {
    margin-top: 0;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.policy-list li {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
    position: relative;
    font-size: 15px;
    color: var(--foreground);
    line-height: 1.7;
}

.policy-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 16px;
}

.nested-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0 var(--spacing-md) var(--spacing-2xl);
}

.nested-list li {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-lg);
    position: relative;
    font-size: 15px;
    color: var(--foreground);
    line-height: 1.7;
}

.nested-list li::before {
    content: "○";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 14px;
}

.policy-section {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid rgba(232, 227, 222, 0.3);
}

.policy-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.section-title::before {
    content: "";
    display: block;
    position: absolute;
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 2px;
    margin-left: -24px;
    margin-top: 4px;
}

.policy-section > p {
    font-size: 15px;
    color: var(--foreground);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.subsection-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.policy-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}

.policy-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.policy-footer-note {
    background: linear-gradient(135deg, var(--accent-light) 0%, #F0FAFB 100%);
    background: -webkit-gradient(linear, left top, right bottom, from(var(--accent-light)), to(#F0FAFB));
    border-radius: 8px;
    -webkit-border-radius: 8px;
    padding: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    text-align: center;
    border-top: 2px solid var(--accent);
}

.policy-footer-note p {
    font-size: 15px;
    color: var(--foreground);
    margin: 0;
    line-height: 1.7;
}

.policy-quote {
    background: linear-gradient(135deg, #F0FAFB 0%, #FFFFFF 100%);
    background: -webkit-gradient(linear, left top, right bottom, from(#F0FAFB), to(#FFFFFF));
    border-left: 4px solid var(--accent);
    padding: var(--spacing-lg);
    border-radius: 6px;
    -webkit-border-radius: 6px;
    margin: var(--spacing-lg) 0;
    font-size: 15px;
    font-style: italic;
    color: var(--foreground);
    line-height: 1.8;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

@media (max-width: 768px) {
    .privacy-policy-container,
    .policy-container {
        padding: var(--spacing-2xl) var(--spacing-md);
    }

    .privacy-policy-content,
    .policy-content {
        padding: var(--spacing-2xl) var(--spacing-lg);
        border-radius: 8px;
        -webkit-border-radius: 8px;
    }

    .policy-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 18px;
    }

    .policy-meta {
        flex-direction: column;
        -webkit-flex-direction: column;
        gap: var(--spacing-md);
    }

    .policy-list li {
        padding-left: var(--spacing-md);
        font-size: 14px;
    }

    .subsection-title {
        font-size: 13px;
    }
}

/* ============================================
   CROSS-BROWSER COMPATIBILITY FIXES
   ============================================ */

/* Global font smoothing for all browsers */
html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Footer links - Safari, Firefox, Chrome, and mobile compatibility */
.footer-link,
.footer-nav a {
    display: inline-block;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
}

.footer-link:active,
.footer-link:focus,
.footer-nav a:active,
.footer-nav a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* All anchor tags - ensure they work properly */
a {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    color: inherit;
}

/* Button compatibility */
button, [type="button"], [type="submit"], [type="reset"] {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

/* Form input compatibility */
input, textarea, select {
    border-radius: 4px;
    -webkit-border-radius: 4px;
}

/* Mobile viewport fix */
@media (max-width: 768px) {
    /* Prevent zoom on input focus in iOS */
    input,
    textarea,
    select {
        font-size: 16px;
    }
    
    /* Ensure touch targets are at least 44x44px for accessibility */
    a, button, input[type="button"], input[type="submit"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Fix footer link tappability */
    .footer-link,
    .footer-nav a {
        display: inline-block;
        min-padding: 12px;
        min-width: 44px;
        min-height: 44px;
        line-height: 1.5;
    }
}

/* Webkit animation compatibility */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
        -webkit-transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Fix for Firefox rendering */
@-moz-document url-prefix() {
    * {
        -moz-user-select: none;
        -moz-user-drag: none;
    }
    
    a {
        cursor: pointer;
    }
    
    button {
        cursor: pointer;
    }
}

/* Microsoft Edge compatibility */
@supports (-ms-ime-align: auto) {
    * {
        -ms-user-select: none;
    }
    
    .footer-link,
    .footer-nav a {
        -ms-touch-action: manipulation;
        touch-action: manipulation;
    }
}