/* Sandsell Eco-Friendly Commerce Platform Styles */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Sandsell Color Palette */
    --primary-green: #2C5F2D;
    --secondary-green: #97BC62;
    --accent-orange: #F4A259;
    --neutral-light: #F7F7F7;
    --neutral-white: #FFFFFF;
    
    /* Extended Colors */
    --dark-green: #1B3F1D;
    --light-green: #A8C86A;
    --cream: #FDF6E3;
    --text-primary: #2C3E2F;
    --text-secondary: #5A6B5C;
    --text-muted: #8A9B8C;
    --border-light: #E5EBE6;
    --shadow-light: rgba(44, 95, 45, 0.1);
    --shadow-medium: rgba(44, 95, 45, 0.15);
    
    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--neutral-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-6);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-6);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-primary { color: var(--primary-green); }
.text-secondary { color: var(--secondary-green); }
.text-accent { color: var(--accent-orange); }
.text-muted { color: var(--text-muted); }

.bg-primary { background-color: var(--primary-green); }
.bg-secondary { background-color: var(--secondary-green); }
.bg-accent { background-color: var(--accent-orange); }
.bg-light { background-color: var(--neutral-light); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3) var(--spacing-6);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

/* Button icon spacing */
.btn i {
    margin-right: var(--spacing-2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--neutral-white);
    box-shadow: 
        0 4px 14px var(--shadow-light),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background-color: var(--secondary-green);
    color: var(--neutral-white);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    transform: translateY(-1px);
}

.btn-outline-primary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline-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 ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--neutral-white);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-outline-primary:hover::before {
    left: 100%;
}

.btn-accent {
    background-color: var(--accent-orange);
    color: var(--neutral-white);
}

.btn-accent:hover {
    background-color: #E6924E;
    transform: translateY(-1px);
}

.btn-lg {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-base);
}

.btn-sm {
    padding: var(--spacing-2) var(--spacing-4);
    font-size: var(--font-size-xs);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    will-change: transform, background;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.header:hover::before {
    opacity: 1;
}

.header.scrolled {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(35px) saturate(250%);
    -webkit-backdrop-filter: blur(35px) saturate(250%);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    border-bottom-color: rgba(0, 0, 0, 0.15);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-4) 0;
    position: relative;
    z-index: 2;
}

.navbar-brand .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-green);
    position: relative;
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-lg);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.navbar-brand .logo::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 ease;
}

.navbar-brand .logo:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-brand .logo:hover::before {
    left: 100%;
}

.logo-icon {
    font-size: var(--font-size-2xl);
    margin-right: var(--spacing-2);
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--primary-green);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-8);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: var(--spacing-6);
    margin: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border-radius: var(--radius-md);
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), #4ade80);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.navbar-actions {
    display: flex;
    gap: var(--spacing-3);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: var(--spacing-1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.navbar-toggle:hover {
    transform: scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
    transform-origin: center;
}

/* ===== HERO SECTION ===== */
/* New Hero Section - Independent from Header */
.hero-section {
    position: relative;
    padding-top: 12rem; /* pt-48 */
    padding-bottom: 3rem; /* pb-12 */
    background-color: #000000;
    overflow: hidden;
}

/* Video Background */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Increased background opacity (darker) */
}

/* Fallback for video load errors */
.hero-section.hero-fallback {
    background: linear-gradient(135deg, #2c5f2d 0%, #97bc62 50%, #2c5f2d 100%);
}

.hero-section.hero-fallback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/hero/sandsell_cover.JPG');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
}

/* Hero Content Container */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem; /* max-w-7xl */
}

.hero-content {
    width: 100%;
}

/* Hero Typography */
.hero-subtitle {
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -0.025em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.hero-main-title {
    margin-top: 1.5rem;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.hero-title-line1 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 4.5rem; /* text-7xl */
    line-height: 1;
}

.hero-title-line2 {
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 400;
    font-size: 6rem; /* text-8xl */
    line-height: 1;
}

.hero-description {
    margin-top: 3rem;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
}

.hero-price {
    margin-top: 2rem;
    font-family: var(--font-family);
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff;
}

/* Hero Buttons */
.hero-actions {
    margin-top: 3rem;
    gap: 0.75rem;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s;
    border: 2px solid transparent;
    border-radius: 9999px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
}

.hero-btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #000000;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s;
    background-color: transparent;
    border: 2px solid var(--primary-green);
    border-radius: 9999px;
    color: #ffffff;
    text-decoration: none;
}

.hero-btn-secondary:hover {
    background-color: #ffffff;
    color: #000000;
}

.hero-btn-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-section {
        padding-bottom: 4rem; /* sm:pb-16 */
    }
    
    .hero-content-wrapper {
        padding-left: 2rem; /* sm:px-8 */
        padding-right: 2rem;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        line-height: 2rem; /* sm:leading-8 */
        font-size: 1.125rem; /* sm:text-lg */
    }
    
    .hero-actions {
        gap: 1rem; /* sm:space-x-4 */
    }
}

@media (min-width: 768px) {
    .hero-mobile-menu {
        display: none; /* md:hidden */
    }
    
    .hero-desktop-nav {
        display: flex; /* md:flex */
        align-items: center;
        gap: 2.5rem; /* md:space-x-10 */
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding-bottom: 8rem; /* lg:pb-32 */
    }
    
    .hero-content-wrapper {
        padding-left: 3rem; /* lg:px-12 */
        padding-right: 3rem;
    }
    
    .hero-content {
        width: 66.666667%; /* lg:w-2/3 */
    }
    
    .hero-desktop-nav {
        margin-left: 7rem; /* lg:ml-28 */
    }
}

@media (min-width: 1280px) {
    .hero-section {
        padding-top: 15rem; /* xl:pt-60 */
        padding-bottom: 12rem; /* xl:pb-48 */
    }
    
    .hero-content {
        width: 50%; /* xl:w-1/2 */
    }
}

@media (min-width: 1536px) {
    .hero-section {
        padding-bottom: 14rem; /* 2xl:pb-56 */
    }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .hero-title-line1 {
        font-size: 2.5rem;
    }
    
    .hero-title-line2 {
        font-size: 3rem;
    }
    
    .hero-actions {
        margin-top: 2rem;
        gap: 1rem;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        text-align: center;
        width: 100%;
    }
}

/* Legacy Hero Styles (keeping for compatibility) */
.hero {
    position: relative;
    overflow: hidden;
}

/* Navigation and Indicators for New Hero Section */
.hero-section .hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 15;
}

.hero-section .hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hero-section .hero-indicator.active {
    background: #ff6b35;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
}

.hero-section .hero-indicator:hover:not(.active) {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Navigation Arrows for New Hero Section */
.hero-section .hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 15;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-section .hero-nav-prev {
    left: 2rem;
}

.hero-section .hero-nav-next {
    right: 2rem;
}

.hero-section .hero-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-section .hero-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-section .hero-nav:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* Animated Headlines for New Hero Section */
.hero-section .hero-headlines {
    position: relative;
    min-height: 400px;
    margin-bottom: 2rem;
}

.hero-section .hero-headline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-section .hero-headline.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments for hero navigation */
@media (max-width: 768px) {
    .hero-section .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .hero-section .hero-nav-prev {
        left: 1rem;
    }
    
    .hero-section .hero-nav-next {
        right: 1rem;
    }
    
    .hero-section .hero-indicators {
        bottom: 1.5rem;
    }
    
    .hero-section .hero-indicator {
        width: 10px;
        height: 10px;
    }
    
    .hero-section .hero-headlines {
        min-height: 300px;
        margin-bottom: 1.5rem;
    }
}

/* ===== MODERN HERO SECTION ===== */
.modern-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: 
        linear-gradient(135deg, 
            rgba(28, 63, 29, 0.75) 0%, 
            rgba(44, 95, 45, 0.65) 40%, 
            rgba(151, 188, 98, 0.55) 100%
        ),
        url('images/hero/sandsell_cover.JPG') center/cover no-repeat;
    background-attachment: fixed;
    transition: background-image 1s ease-in-out;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero/DSC04090.jpg') center/cover no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.modern-hero.slide-0::before {
    background-image: url('images/hero/sandsell_cover.JPG');
    opacity: 0.3;
}

.modern-hero.slide-1::before {
    background-image: url('images/hero/DSC04146.jpg');
    opacity: 0.4;
}

.modern-hero.slide-2::before {
    background-image: url('images/hero/DSC04265.jpg');
    opacity: 0.4;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(28, 63, 29, 0.5) 0%,
        rgba(44, 95, 45, 0.3) 40%,
        rgba(151, 188, 98, 0.2) 100%
    );
    z-index: 2;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(244, 162, 89, 0.1), rgba(151, 188, 98, 0.1));
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
}

.floating-element.element-1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.floating-element.element-2 {
    bottom: 20%;
    left: 8%;
    width: 80px;
    height: 80px;
    animation-delay: 2s;
}

.floating-element.element-3 {
    top: 35%;
    right: 15%;
    width: 60px;
    height: 60px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-6);
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: var(--spacing-16);
    align-items: center;
    min-height: 80vh;
}

.hero-content-main {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: var(--spacing-2) var(--spacing-4);
    margin-bottom: var(--spacing-6);
    font-size: var(--font-size-sm);
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.badge-icon {
    font-size: 1.2em;
}

.badge-pulse {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: var(--accent-orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-eyebrow {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--accent-orange);
    margin-bottom: var(--spacing-3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-6);
}

.title-highlight {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--accent-orange);
    line-height: 1.2;
}

.title-main {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-accent {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--light-green);
    line-height: 1.2;
}

.hero-description {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-8);
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-8);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--accent-orange);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stats .stat-label {
    color: white;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-8);
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-4) var(--spacing-8);
    background: linear-gradient(135deg, var(--accent-orange) 0%, #e8913d 100%);
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    font-size: var(--font-size-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(244, 162, 89, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(244, 162, 89, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-4) var(--spacing-6);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    color: white;
    font-size: var(--font-size-lg);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.hero-trust {
    display: flex;
    gap: var(--spacing-6);
    opacity: 0.9;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

.trust-icon {
    width: 20px;
    height: 20px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-6);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 280px;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-4);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.delivery-info h4 {
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-2);
}

.delivery-info p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-4);
}

.progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--spacing-3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), var(--secondary-green));
    border-radius: var(--radius-full);
    width: 75%;
    animation: progress 2s ease-out;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 75%; }
}

.eta {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.visual-stats {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.stat-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-bubble.stat-1 {
    top: 20%;
    right: -20px;
}

.stat-bubble.stat-2 {
    bottom: 30%;
    left: -30px;
}

.stat-bubble.stat-3 {
    top: 60%;
    right: 20px;
}

.bubble-number {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--accent-orange);
}

.bubble-label {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.page-indicator {
    position: relative;
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-indicator.active {
    background: rgba(255, 255, 255, 0.5);
}

.indicator-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-orange);
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}


.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-6);
    right: var(--spacing-8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-2);
    color: rgba(255, 255, 255, 0.7);
    z-index: 4;
    opacity: 0;
    animation: fadeInUp 1s ease 2s forwards;
}

.scroll-text {
    font-size: var(--font-size-sm);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

.scroll-arrow svg {
    width: 20px;
    height: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.modern-hero .hero-headlines {
    position: relative;
    min-height: 400px;
}

.modern-hero .hero-headline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-hero .hero-headline.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.animate-in {
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Modern Hero */
@media (max-width: 1024px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
        height: 300px;
    }
    
    .title-main {
        font-size: var(--font-size-4xl);
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .modern-hero {
        min-height: 100vh;
    }
    
    .hero-container {
        padding: 0 var(--spacing-4);
    }
    
    .hero-content-grid {
        gap: var(--spacing-6);
        min-height: 90vh;
    }
    
    .modern-hero .hero-headlines {
        min-height: 350px;
    }
    
    .title-highlight {
        font-size: var(--font-size-lg);
    }
    
    .title-main {
        font-size: var(--font-size-3xl);
    }
    
    .title-accent {
        font-size: var(--font-size-xl);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: var(--spacing-3);
    }
    
    .btn-primary,
    .btn-secondary {
        justify-content: center;
        width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--spacing-4);
    }
    
    .hero-trust {
        flex-direction: column;
        gap: var(--spacing-3);
        align-items: center;
    }
    
    .visual-card {
        min-width: 250px;
        padding: var(--spacing-4);
    }
    
    .stat-bubble {
        padding: var(--spacing-2);
    }
    
    .floating-element {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: var(--font-size-base);
        max-width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stat-item {
        font-size: var(--font-size-sm);
    }
    
    
    .page-indicator {
        width: 40px;
        height: 3px;
    }
}

/* Default hero without video */
.hero:not(.hero-video) {
    background: linear-gradient(135deg, var(--cream) 0%, var(--neutral-light) 100%);
    min-height: auto;
    display: flex;
    align-items: center;
    padding: var(--spacing-20) 0 var(--spacing-16);
}

/* Hero with video background (home page only) */
.hero.hero-video {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fallback for video load errors */
.hero.hero-fallback {
    background: linear-gradient(135deg, #2c5f2d 0%, #97bc62 50%, #2c5f2d 100%);
    min-height: 100vh;
}

/* Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.2) 20%,
        rgba(0, 0, 0, 0.6) 60%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 2;
}

.hero-video-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        transparent 100%
    );
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="leaf-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 2C14 6 14 14 10 18C6 14 6 6 10 2Z" fill="rgba(151,188,98,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23leaf-pattern)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: var(--spacing-8);
    max-width: 1200px;
    margin: 0 auto;
}

/* Non-video hero content (grid layout) */
.hero:not(.hero-video) .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-12);
    align-items: center;
    height: auto;
    z-index: 2;
}

/* Hero main content */
.hero-main {
    max-width: 700px;
    z-index: 3;
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-8) var(--spacing-10);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Non-video hero text styling */
.hero:not(.hero-video) .hero-text {
    max-width: 600px;
}

/* Hero Main Title */
.hero-main-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: var(--spacing-6);
    letter-spacing: -0.02em;
}

/* Orange Accent Underline */
.hero-accent-underline {
    position: relative;
    display: inline-block;
}

.hero-accent-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

/* Hero Main Description */
.hero-main-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-8);
    max-width: 600px;
}

/* Hero Main Actions */
.hero-main-actions {
    margin-bottom: var(--spacing-8);
}

/* Purple Button */
.btn-purple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 
        0 8px 25px rgba(139, 92, 246, 0.4),
        0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.btn-purple:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 
        0 12px 35px rgba(139, 92, 246, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-purple:hover::before {
    left: 100%;
}

.btn-purple:active {
    transform: translateY(0);
}

/* Hero Navigation */
.hero-navigation {
    position: absolute;
    top: 50%;
    right: var(--spacing-8);
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    z-index: 4;
}

.hero-nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-nav-arrow:hover {
    transform: scale(1.1);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 100%
    );
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-nav-arrow:active {
    transform: scale(0.95);
}

/* Page Indicator */
.hero-page-indicator {
    position: absolute;
    bottom: var(--spacing-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-3);
    z-index: 4;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-dot.active {
    background: #ff6b35;
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.hero-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-6);
}

/* Video hero badge styling */
.hero.hero-video .hero-badge {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 100%
    );
    color: var(--neutral-white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Non-video hero badge styling */
.hero:not(.hero-video) .hero-badge {
    background-color: rgba(151, 188, 98, 0.1);
    color: var(--primary-green);
    padding: var(--spacing-2) var(--spacing-4);
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-6);
    letter-spacing: -0.02em;
}

/* Video hero title styling */
.hero.hero-video .hero-title {
    color: var(--neutral-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Non-video hero title styling */
.hero:not(.hero-video) .hero-title {
    color: var(--primary-green);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    line-height: 1.6;
}

/* Video hero subtitle styling */
.hero.hero-video .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Non-video hero subtitle styling */
.hero:not(.hero-video) .hero-subtitle {
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-10);
    padding-top:40px;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-8);
}

/* Video hero stats styling */
.hero.hero-video .hero-stats {
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(15px);
    padding: var(--spacing-6) var(--spacing-8);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Non-video hero stats styling */
.hero:not(.hero-video) .hero-stats {
    justify-content: flex-start;
}

.hero-stat {
    text-align: center;
    position: relative;
}

/* Video hero stats divider */
.hero.hero-video .hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(-1 * var(--spacing-4));
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
}

.hero-stat-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
}

/* Video hero stat numbers */
.hero.hero-video .hero-stat-number {
    color: var(--neutral-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Non-video hero stat numbers */
.hero:not(.hero-video) .hero-stat-number {
    color: var(--primary-green);
}

.hero-stat-label {
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-1);
}

/* Video hero stat labels */
.hero.hero-video .hero-stat-label {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Non-video hero stat labels */
.hero:not(.hero-video) .hero-stat-label {
    color: var(--text-muted);
}

/* Hide video elements on non-video heroes */
.hero:not(.hero-video) .hero-video-bg {
    display: none;
}

/* ===== ANIMATED SLIDING TEXT STYLES ===== */

/* Text Container */
.hero-text-container {
    max-width: 700px;
    margin: 0;
}

/* Headlines Container */
.hero-headlines {
    position: relative;
    min-height: 300px;
    margin-bottom: var(--spacing-10);
}

/* Individual Headlines */
.hero-headline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-headline.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Title */
.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: var(--spacing-6);
    letter-spacing: -0.02em;
}

/* Hero Accent */
.hero-accent {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 600px;
    padding-bottom: 30px;
    margin: 0;
}

/* Call to Action */
.hero-cta {
    margin-top: var(--spacing-10);
}

/* Hero Button */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: 20px 40px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 10px 30px rgba(139, 92, 246, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 
        0 15px 40px rgba(139, 92, 246, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:active {
    transform: translateY(-1px);
}

.hero-btn i {
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(5px);
}

/* CTA Note */
.hero-cta-note {
    margin-top: var(--spacing-6);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Progress Indicators */
.hero-indicators {
    position: absolute;
    bottom: var(--spacing-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-3);
    z-index: 15;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hero-indicator.active {
    background: #ff6b35;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
}

.hero-indicator:hover:not(.active) {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Navigation Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 15;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-nav-prev {
    left: var(--spacing-8);
}

.hero-nav-next {
    right: var(--spacing-8);
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-nav:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .hero-headline {
        transition: opacity 0.3s ease;
        transform: none;
    }
    
    .hero-headline.active {
        transform: none;
    }
    
    .hero-btn {
        transition: background-color 0.3s ease;
    }
    
    .hero-btn:hover {
        transform: none;
    }
    
    .hero-nav:hover {
        transform: translateY(-50%);
    }
    
    .hero-indicator {
        transition: background-color 0.3s ease;
    }
    
    .hero-indicator:hover {
        transform: none;
    }
    
    .hero-indicator.active {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-video-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .hero-title {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    }
    
    .hero-subtitle {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
    }
    
    .hero-nav {
        background: rgba(0, 0, 0, 0.8);
        border: 2px solid #ffffff;
    }
    
    .hero-indicator {
        border: 2px solid #ffffff;
    }
}

/* Mobile fallback for limited bandwidth */
@media (max-width: 768px) and (max-resolution: 150dpi) {
    .hero-video-bg {
        display: none;
    }
    
    .hero.hero-video {
        background: linear-gradient(135deg, #2c5f2d 0%, #1a4c2e 50%, #0f2d17 100%);
    }
    
    .hero.hero-video::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('images/hero/sandsell_cover.JPG');
        background-size: cover;
        background-position: center;
        opacity: 0.3;
        z-index: 1;
    }
}

/* Hero Visual for non-video pages */
.hero:not(.hero-video) .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*.hero:not(.hero-video)::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="leaf-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 2C14 6 14 14 10 18C6 14 6 6 10 2Z" fill="rgba(151,188,98,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23leaf-pattern)"/></svg>') repeat;*/
/*    opacity: 0.3;*/
/*    z-index: 1;*/
/*}*/

/* ===== METRICS CARDS ===== */
.metrics-section {
    padding: var(--spacing-16) 0;
    background-color: var(--neutral-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-12);
}

.section-badge {
    display: inline-block;
    background-color: rgba(244, 162, 89, 0.1);
    color: var(--accent-orange);
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-4);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: var(--spacing-4);
    line-height: 1.2;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-8);
    margin-top: var(--spacing-12);
}

.metric-card {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--light-green) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-8);
    position: relative;
    overflow: hidden;
    color: var(--neutral-white);
    transition: transform var(--transition-medium);
}

.metric-card:hover {
    transform: translateY(-4px);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-6);
}

.metric-icon {
    font-size: var(--font-size-3xl);
    opacity: 0.9;
}

.metric-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--neutral-white);
    padding: var(--spacing-1) var(--spacing-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.metric-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-2);
}

.metric-description {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    margin-bottom: var(--spacing-6);
    line-height: 1.5;
}

.metric-value {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-4);
}

.metric-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    line-height: 1;
}

.metric-unit {
    font-size: var(--font-size-lg);
    opacity: 0.8;
}

.metric-progress {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.progress-icon {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== CARD VARIATIONS ===== */
.metric-card.carbon {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
}

.metric-card.plastic {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #E6924E 100%);
}

.metric-card.points {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: var(--spacing-16) 0;
    background-color: var(--neutral-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-8);
    margin-top: var(--spacing-12);
}

/* How It Works Grid - Specific styling for single row layout */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-6);
    margin-top: var(--spacing-12);
}

.feature-card {
    background-color: var(--neutral-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-8);
    text-align: center;
    transition: all var(--transition-medium);
    border: 1px solid var(--border-light);
}

/* Form styling overrides */
.feature-card form label {
    text-align: left !important;
    display: block;
}

.feature-card form h3 {
    text-align: left !important;
}

.feature-card form #orderForm {
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px var(--shadow-light);
}

.feature-icon {
    font-size: var(--font-size-4xl);
    color: var(--secondary-green);
    margin-bottom: var(--spacing-6);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: var(--spacing-4);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== COMMUNITY SECTION ===== */
.community-section {
    padding: var(--spacing-16) 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--neutral-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="eco-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23eco-pattern)"/></svg>') repeat;
}

.community-content {
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.community-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    line-height: 1.2;
}

.community-description {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: var(--spacing-8);
    line-height: 1.6;
}

.community-action {
    margin-bottom: var(--spacing-8);
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-6);
    margin-top: var(--spacing-12);
}

.community-stat {
    text-align: center;
}

.community-stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-2);
}

.community-stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-primary);
    color: var(--neutral-white);
    padding: var(--spacing-16) 0 var(--spacing-8);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: var(--secondary-green);
    text-decoration: none;
    margin-bottom: var(--spacing-4);
}

.footer-logo .logo-text {
    color: #ffffff;
}

.footer-copyright {
    color: var(--neutral-white);
    font-size: var(--font-size-sm);
}

.footer-copyright p {
    margin: 0;
}

.footer-description {
    color: var(--neutral-white);
    margin-bottom: var(--spacing-6);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: var(--spacing-3);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(151, 188, 98, 0.1);
    color: var(--secondary-green);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-medium);
}

.social-link:hover {
    background-color: var(--secondary-green);
    color: var(--neutral-white);
    transform: translateY(-2px);
}

.footer-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--neutral-white);
    margin-bottom: var(--spacing-6);
}

.footer-links {
    list-style: none;
}

.footer-link {
    color: var(--neutral-white);
    text-decoration: none;
    display: block;
    padding: var(--spacing-2) 0;
    transition: color var(--transition-medium);
}

.footer-link:hover {
    color: var(--secondary-green);
}

.newsletter-form {
    margin-bottom: var(--spacing-6);
}

.input-group {
    display: flex;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--neutral-white);
}

.newsletter-input {
    flex: 1;
    padding: var(--spacing-3) var(--spacing-4);
    border: none;
    outline: none;
    font-family: var(--font-family);
}

.newsletter-btn {
    background-color: var(--secondary-green);
    color: var(--neutral-white);
    border: none;
    padding: var(--spacing-3) var(--spacing-4);
    cursor: pointer;
    transition: background-color var(--transition-medium);
}

.newsletter-btn:hover {
    background-color: var(--primary-green);
}

.sustainability-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4);
    margin-top: var(--spacing-6);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-3);
    background-color: rgba(151, 188, 98, 0.1);
    border-radius: var(--radius-md);
}

.stat-number {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--secondary-green);
}

.stat-label {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: var(--spacing-1);
}

.footer-bottom {
    border-top: 1px solid rgba(151, 188, 98, 0.2);
    padding-top: var(--spacing-8);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--neutral-white);
    font-size: var(--font-size-sm);
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-6);
}

.footer-bottom-link {
    color: var(--neutral-white);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-medium);
}

.footer-bottom-link:hover {
    color: var(--secondary-green);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero.hero-video {
        min-height: 100vh;
        height: 100vh;
    }
    
    .hero:not(.hero-video) .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-8);
    }
    
    .hero-content {
        padding: var(--spacing-6);
        justify-content: flex-start;
        text-align: left;
    }
    
    .hero-headlines {
        min-height: 250px;
        margin-bottom: var(--spacing-8);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-nav {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .hero-nav-prev {
        left: var(--spacing-6);
    }
    
    .hero-nav-next {
        right: var(--spacing-6);
    }
    
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-6);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 0px;
    }
    
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 100%
        );
        backdrop-filter: blur(25px) saturate(200%);
        -webkit-backdrop-filter: blur(25px) saturate(200%);
        flex-direction: column;
        padding: var(--spacing-6);
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-top: none;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        transform: translateY(-10px) scale(0.95);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .navbar-menu.active {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        margin-bottom: var(--spacing-4);
    }
    
    .navbar-actions {
        width: 100%;
        justify-content: center;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .hero.hero-video {
        min-height: 100vh;
        height: 100vh;
    }
    
    .hero-content {
        padding: var(--spacing-4);
        justify-content: flex-start;
        text-align: left;
    }
    
    .hero-text-container {
        max-width: 95%;
    }
    
    .hero-headlines {
        min-height: 200px;
        margin-bottom: var(--spacing-6);
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-4);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-6);
    }
    
    .hero-btn {
        padding: 16px 32px;
        font-size: 1rem;
        width: auto;
        max-width: 300px;
    }
    
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .hero-nav-prev {
        left: var(--spacing-4);
    }
    
    .hero-nav-next {
        right: var(--spacing-4);
    }
    
    .hero-indicators {
        bottom: var(--spacing-6);
    }
    
    .hero-indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Mobile video optimization */
    .hero-video-bg video {
        transform: translate(-50%, -50%) scale(1.1);
    }
    
    
    /* Reduce video blur on mobile for performance */
    .hero-video-bg video {
        transform: translate(-50%, -50%) scale(1.1);
    }
    
    .hero-video-overlay {
        backdrop-filter: blur(0.5px);
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-4);
    }
    
    .community-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--spacing-4);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .community-title {
        font-size: var(--font-size-3xl);
    }
    
    .metric-card {
        padding: var(--spacing-6);
    }
    
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
    }
    
    .community-stats {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-stats {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== ENHANCED MOBILE RESPONSIVENESS ===== */

/* Mobile First Approach - Base Mobile Styles */
@media (max-width: 639px) {
    .container {
        padding: 0 var(--spacing-4);
    }

    /* Modern Hero Mobile Optimizations */
    .modern-hero {
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero-container {
        padding: var(--spacing-4);
    }

    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }

    .hero-content-main {
        text-align: center;
    }

    .hero-badge {
        padding: var(--spacing-2) var(--spacing-4);
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-4);
    }

    .hero-eyebrow {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-2);
    }

    .hero-title {
        margin-bottom: var(--spacing-4);
    }

    .title-highlight {
        font-size: 1.5rem;
        display: block;
    }

    .title-main {
        font-size: 2rem;
        display: block;
        margin: var(--spacing-1) 0;
    }

    .title-accent {
        font-size: 1.75rem;
        display: block;
    }

    .hero-description {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-6);
        line-height: 1.6;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-3);
        margin-bottom: var(--spacing-6);
    }

    .stat-item {
        text-align: center;
    }

    .stat-number {
        font-size: var(--font-size-xl);
    }

    .stat-label {
        font-size: var(--font-size-sm);
    }

    .hero-stats .stat-number {
        color: var(--accent-orange);
    }

    .hero-stats .stat-label {
        color: white;
    }

    .btn-secondary {
        color: white;
    }


    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-4);
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--spacing-3);
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: var(--spacing-4) var(--spacing-6);
        font-size: var(--font-size-base);
    }

    .hero-trust {
        flex-direction: column;
        gap: var(--spacing-3);
        align-items: center;
        margin-top: var(--spacing-6);
    }

    .trust-item {
        width: 100%;
        max-width: 200px;
    }

    /* Visual Elements Mobile */
    .modern-hero .hero-visual {
        display: none;
    }

    .visual-card {
        max-width: 300px;
        margin: 0 auto var(--spacing-4);
    }

    .visual-stats {
        justify-content: center;
        gap: var(--spacing-3);
    }

    .stat-bubble {
        width: 80px;
        height: 80px;
        font-size: var(--font-size-sm);
    }

    .bubble-number {
        font-size: var(--font-size-base);
    }

    .bubble-label {
        font-size: var(--font-size-xs);
    }

    .page-indicator {
        width: 40px;
        height: 6px;
    }

    /* Video Background Mobile */
    .hero-video-background video {
        object-fit: cover;
        object-position: center;
    }

    /* Floating Elements Mobile */
    .hero-floating-elements {
        display: none; /* Hide on mobile for performance */
    }
}

/* Tablet Portrait Styles */
@media (min-width: 640px) and (max-width: 767px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-4);
    }

    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: var(--spacing-6);
    }

    .title-main {
        font-size: 2.5rem;
    }

    .hero-trust {
        flex-direction: row;
        justify-content: space-around;
    }
}

/* Hamburger Menu Styles */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    transform-origin: center;
}

.navbar-toggle:hover .hamburger-line {
    background-color: var(--secondary-green);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(44, 95, 45, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    box-shadow: 0 4px 20px rgba(44, 95, 45, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-4) 0;
}

.navbar-brand .logo {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-8);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-6);
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
    background-color: rgba(44, 95, 45, 0.05);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

/* General Mobile Improvements for All Sections */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: var(--spacing-3) 0;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--neutral-white);
        flex-direction: column;
        justify-content: center;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-menu.active .navbar-toggle .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .navbar-menu.active .navbar-toggle .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .navbar-menu.active .navbar-toggle .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .navbar-nav {
        flex-direction: column;
        gap: var(--spacing-6);
        text-align: center;
        margin-bottom: var(--spacing-8);
    }

    .nav-link {
        font-size: var(--font-size-lg);
        padding: var(--spacing-4);
    }

    .navbar-actions {
        flex-direction: column;
        gap: var(--spacing-4);
    }

    .navbar-actions .btn {
        width: 200px;
        text-align: center;
        justify-content: center;
    }

    /* Sections */
    .section {
        padding: var(--spacing-12) 0;
    }

    .section-header {
        margin-bottom: var(--spacing-10);
        text-align: center;
    }

    .section-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-4);
    }

    .section-description {
        font-size: var(--font-size-base);
    }

    /* Metrics Section */
    .metrics-section {
        padding: var(--spacing-12) 0;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }

    /* Features Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }

    .feature-card {
        padding: var(--spacing-6);
    }

    .feature-title {
        font-size: var(--font-size-lg);
    }

    /* How It Works Grid */
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }

    /* Community Section */
    .community-section {
        padding: var(--spacing-12) 0;
        text-align: center;
    }

    .community-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-6);
    }

    .community-description {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-8);
    }

    .community-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-4);
    }

    .community-stat {
        text-align: center;
    }

    .community-stat-number {
        font-size: var(--font-size-xl);
    }

    .community-stat-label {
        font-size: var(--font-size-sm);
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-3);
    }

    .modern-hero {
        padding-top: 60px;
    }

    .title-highlight {
        font-size: 1.25rem;
    }

    .title-main {
        font-size: 1.75rem;
    }

    .title-accent {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: var(--font-size-sm);
    }

    .btn-primary, .btn-secondary {
        padding: var(--spacing-3) var(--spacing-5);
        font-size: var(--font-size-sm);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .community-title {
        font-size: var(--font-size-2xl);
    }

    .community-stats {
        grid-template-columns: fr;
        gap: var(--spacing-4);
    }

    .metric-card {
        padding: var(--spacing-5);
    }

    .feature-card {
        padding: var(--spacing-5);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .nav-link:hover {
        transform: none;
    }

    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.98);
    }

    /* Increase touch target sizes */
    .page-indicator {
        min-width: 44px;
        min-height: 44px;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-video-background video {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Landscape Mobile Optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .modern-hero {
        min-height: 100vh;
        padding-top: 60px;
    }

    .hero-container {
        padding: var(--spacing-3) var(--spacing-4);
    }

    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: var(--spacing-4);
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-4);
    }
}

/* ===== FORMS MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
    /* Form Styles */
    .form-group {
        margin-bottom: var(--spacing-4);
    }

    .form-control,
    .form-input,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    textarea,
    select {
        width: 100%;
        padding: var(--spacing-4);
        font-size: var(--font-size-base);
        border: 2px solid var(--border-light);
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
        background: var(--neutral-white);
        min-height: 48px;
    }

    .form-control:focus,
    .form-input:focus,
    input:focus,
    textarea:focus,
    select:focus {
        border-color: var(--primary-green);
        box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
        outline: none;
    }

    .form-label {
        display: block;
        margin-bottom: var(--spacing-2);
        font-weight: 500;
        color: var(--text-primary);
        font-size: var(--font-size-sm);
    }

    /* Button Mobile Styles */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: var(--spacing-4) var(--spacing-6);
        font-size: var(--font-size-base);
        font-weight: 500;
        text-decoration: none;
        border-radius: var(--radius-md);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        min-height: 48px;
        gap: var(--spacing-2);
    }

    .btn-primary {
        background: var(--primary-green);
        color: var(--neutral-white);
        width: 100%;
        margin-bottom: var(--spacing-3);
    }

    .btn-secondary,
    .btn-outline-primary {
        background: transparent;
        color: var(--primary-green);
        border: 2px solid var(--primary-green);
        width: 100%;
        margin-bottom: var(--spacing-3);
    }

    .btn:active {
        transform: scale(0.98);
    }

    /* Card Mobile Styles */
    .card {
        background: var(--neutral-white);
        border-radius: var(--radius-lg);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: var(--spacing-6);
        margin-bottom: var(--spacing-6);
        width: 100%;
        max-width: none;
    }

    .card-header {
        padding-bottom: var(--spacing-4);
        border-bottom: 1px solid var(--border-light);
        margin-bottom: var(--spacing-4);
    }

    .card-title {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-2);
        color: var(--text-primary);
    }

    .card-body {
        padding: 0;
    }

    /* Grid Mobile Styles */
    .row {
        display: flex;
        flex-wrap: wrap;
        margin: 0;
    }

    .col,
    .col-md-6,
    .col-lg-4,
    .col-lg-6,
    .col-xl-3,
    .col-xl-4,
    .col-xl-6 {
        width: 100%;
        padding: 0;
        margin-bottom: var(--spacing-4);
    }

    /* Table Mobile Styles */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: var(--spacing-6);
    }

    table {
        width: 100%;
        font-size: var(--font-size-sm);
    }

    table th,
    table td {
        padding: var(--spacing-3);
        text-align: left;
        border-bottom: 1px solid var(--border-light);
        white-space: nowrap;
    }

    table th {
        background: var(--neutral-light);
        font-weight: 600;
        color: var(--text-primary);
        position: sticky;
        top: 0;
        z-index: 10;
    }

    /* Dashboard Mobile Styles */
    .dashboard-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
        margin-bottom: var(--spacing-8);
    }

    .stat-card {
        background: var(--neutral-white);
        padding: var(--spacing-6);
        border-radius: var(--radius-lg);
        text-align: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .stat-number {
        font-size: var(--font-size-2xl);
        font-weight: 700;
        color: var(--primary-green);
        display: block;
    }

    .stat-label {
        font-size: var(--font-size-sm);
        color: var(--text-secondary);
        margin-top: var(--spacing-1);
    }

    /* Modal Mobile Styles */
    .modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: var(--spacing-4);
    }

    .modal-dialog {
        background: var(--neutral-white);
        border-radius: var(--radius-lg);
        padding: var(--spacing-6);
        width: 100%;
        max-width: 500px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: var(--spacing-4);
        border-bottom: 1px solid var(--border-light);
        margin-bottom: var(--spacing-4);
    }

    .modal-title {
        font-size: var(--font-size-lg);
        margin: 0;
        color: var(--text-primary);
    }

    .modal-close {
        background: none;
        border: none;
        font-size: var(--font-size-xl);
        color: var(--text-secondary);
        cursor: pointer;
        padding: var(--spacing-2);
        border-radius: var(--radius-sm);
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Alert Mobile Styles */
    .alert {
        padding: var(--spacing-4);
        border-radius: var(--radius-md);
        margin-bottom: var(--spacing-4);
        font-size: var(--font-size-sm);
    }

    .alert-success {
        background: rgba(151, 188, 98, 0.1);
        color: var(--primary-green);
        border: 1px solid rgba(151, 188, 98, 0.3);
    }

    .alert-error,
    .alert-danger {
        background: rgba(239, 68, 68, 0.1);
        color: #dc2626;
        border: 1px solid rgba(239, 68, 68, 0.3);
    }

    /* Order Tracking Mobile Styles */
    .tracking-card {
        background: var(--neutral-white);
        border-radius: var(--radius-lg);
        padding: var(--spacing-6);
        margin-bottom: var(--spacing-6);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .tracking-status {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-4);
    }

    .status-item {
        display: flex;
        align-items: center;
        gap: var(--spacing-3);
        padding: var(--spacing-3);
        border-radius: var(--radius-md);
        background: var(--neutral-light);
    }

    .status-item.active {
        background: rgba(44, 95, 45, 0.1);
        border: 1px solid var(--primary-green);
    }

    .status-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--secondary-green);
        color: var(--neutral-white);
        font-size: var(--font-size-sm);
        flex-shrink: 0;
    }

    .status-content h4 {
        margin: 0 0 var(--spacing-1) 0;
        font-size: var(--font-size-base);
        color: var(--text-primary);
    }

    .status-content p {
        margin: 0;
        font-size: var(--font-size-sm);
        color: var(--text-secondary);
    }

    /* Loading States */
    .loading {
        text-align: center;
        padding: var(--spacing-8);
        color: var(--text-secondary);
    }

    .loading-spinner {
        width: 40px;
        height: 40px;
        border: 4px solid var(--border-light);
        border-top: 4px solid var(--primary-green);
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 0 auto var(--spacing-4);
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
}

/* ===== ADDITIONAL MOBILE OPTIMIZATIONS ===== */

/* Small Screen Improvements */
@media (max-width: 360px) {
    .container {
        padding: 0 var(--spacing-2);
    }

    .hero-container {
        padding: var(--spacing-3);
    }

    .title-main {
        font-size: 1.5rem;
    }

    .title-accent {
        font-size: 1.25rem;
    }

    .btn-primary, .btn-secondary {
        padding: var(--spacing-3) var(--spacing-4);
        font-size: var(--font-size-sm);
    }

    .card {
        padding: var(--spacing-4);
    }

    .modal-dialog {
        padding: var(--spacing-4);
        margin: var(--spacing-2);
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    /* Reduce animations on mobile for performance */
    .hero-floating-elements,
    .floating-element {
        animation: none;
        transform: none;
    }

    /* Optimize video for mobile */
    .hero-video-background video {
        object-fit: cover;
        will-change: transform;
    }

    /* Improve scrolling performance */
    body {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    /* Improve input focus on mobile */
    input:focus,
    textarea:focus,
    select:focus {
        zoom: 1;
        -webkit-user-select: text;
    }
}

/* PWA-like fullscreen support */
@media (display-mode: fullscreen) {
    .modern-hero {
        padding-top: 0;
    }
}

/* Print styles for mobile compatibility */
@media print {
    .navbar-toggle,
    .hero-floating-elements,
    .hero-video-background {
        display: none !important;
    }

    .modern-hero {
        background: white !important;
        min-height: auto !important;
    }

    .hero-title,
    .hero-description {
        color: black !important;
    }
}

/* ===== PAGE-SPECIFIC HERO STYLES ===== */

/* Preview Hero */
.preview-hero {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--neutral-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="sand-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="rgba(151,188,98,0.1)" /><circle cx="15" cy="15" r="1.5" fill="rgba(151,188,98,0.08)" /><circle cx="10" cy="18" r="0.5" fill="rgba(151,188,98,0.12)" /></pattern></defs><rect width="100" height="100" fill="url(%23sand-pattern)" /></svg>') repeat;
    opacity: 0.4;
    z-index: 1;
}

.sand-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4);
    width: 100%;
    max-width: 500px;
    height: 400px;
}

.sand-card {
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background-size: cover;
    background-position: center;
}

.sand-card:hover {
    transform: scale(1.05);
}

.sand-card-main {
    grid-column: span 2;
    height: 180px;
    background-image: url('images/hero/sandsell_cover.JPG');
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.sand-card-sharp {
    height: 100px;
    background-image: url('images/RIVER-SHARP-SAND.jpg');
}

.sand-card-plaster {
    height: 100px;
    background-image: url('images/plaster-sand.png');
}

.sand-card-three-eight {
    height: 80px;
    background-image: url('images/Three-Eight-Sand.gif');
}

.sand-card-red {
    height: 80px;
    background-image: url('images/red-sand.jpg');
}

.sand-card-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(44, 95, 45, 0.95);
    color: white;
    padding: var(--spacing-4);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.sand-card-label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    margin-bottom: var(--spacing-1);
}

.sand-card-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.sand-card-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(44, 95, 45, 0.9);
    color: white;
    padding: var(--spacing-1) var(--spacing-2);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.sand-tag-orange {
    background: rgba(244, 162, 89, 0.9);
}

.sand-card-tag-small {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(151, 188, 98, 0.9);
    color: white;
    padding: var(--spacing-1) var(--spacing-2);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
}

.sand-tag-brown {
    background: rgba(139, 69, 19, 0.9);
}

/* Tracking Hero */
.tracking-hero {
    padding: var(--spacing-16) 0;
    background: linear-gradient(135deg, var(--neutral-white) 0%, var(--neutral-light) 100%);
    position: relative;
}

.tracking-mockup {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.1), rgba(44, 95, 45, 0.05));
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tracking-pattern {
    position: absolute;
    inset: 0;
    background: rgba(44, 95, 45, 0.05);
    background-image: radial-gradient(circle at 25% 25%, rgba(44, 95, 45, 0.1) 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, rgba(44, 95, 45, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.tracking-device-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.tracking-device {
    width: 280px;
    height: 280px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    margin: 0 auto;
}

.tracking-screen {
    margin: 20px;
    height: 240px;
    background: linear-gradient(135deg, #2c5f2d, #4ade80);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.tracking-map-bg {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    background-size: cover;
}

.tracking-truck-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.tracking-truck-icon i {
    font-size: 24px;
    color: #2c5f2d;
}

.tracking-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid white;
    border-radius: 50%;
    opacity: 0.6;
    animation: trackingPulse 2s infinite;
}

@keyframes trackingPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
}

.tracking-home-btn {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
}

.tracking-info-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(44, 95, 45, 0.9);
    color: white;
    padding: var(--spacing-4);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    z-index: 99;
}

.tracking-info-label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    margin-bottom: var(--spacing-1);
}

.tracking-info-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

/* Contact Hero */
.contact-hero {
    padding: var(--spacing-16) 0;
    background: linear-gradient(135deg, var(--neutral-white) 0%, var(--cream) 100%);
    position: relative;
}

.contact-mockup {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.1), rgba(44, 95, 45, 0.05));
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-pattern {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%232c5f2d" fill-opacity="0.05"%3E%3Cpath d="m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E') repeat;
}

.contact-service-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-support-circle {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-service-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #2c5f2d, #4ade80);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-service-icon i {
    font-size: 50px;
    color: white;
}

.contact-float-phone {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: contactFloat 3s ease-in-out infinite;
}

.contact-float-phone i {
    font-size: 16px;
    color: white;
}

.contact-float-email {
    position: absolute;
    bottom: -10px;
    left: -20px;
    width: 35px;
    height: 35px;
    background: #00b4d8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: contactFloat 3s ease-in-out infinite 1s;
}

.contact-float-email i {
    font-size: 14px;
    color: white;
}

.contact-float-chat {
    position: absolute;
    top: 20px;
    left: -25px;
    width: 30px;
    height: 30px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: contactFloat 3s ease-in-out infinite 0.5s;
}

.contact-float-chat i {
    font-size: 12px;
    color: white;
}

@keyframes contactFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}


.contact-info-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(44, 95, 45, 0.9);
    color: white;
    padding: var(--spacing-4);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.contact-info-label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    margin-bottom: var(--spacing-1);
}

.contact-info-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

/* ===== MOBILE STYLES FOR NEW HERO SECTIONS ===== */
@media (max-width: 768px) {
    /* Preview Hero Mobile */
    .preview-hero {
        padding: var(--spacing-12) 0;
    }

    .preview-hero .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
        text-align: center;
    }

    .preview-hero .hero-text {
        order: 2;
        margin-top: var(--spacing-6);
    }

    /* Preview Hero Mobile - Completely rewritten for reliability */
    .preview-hero .hero-visual {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        order: 1;
        margin: 0 auto var(--spacing-4);
        position: relative;
        width: 100%;
        max-width: 100%;
    }

    .preview-hero .hero-actions {
        flex-direction: column;
        gap: var(--spacing-3);
        margin-bottom: var(--spacing-6);
    }

    .preview-hero .hero-stats {
        flex-direction: column;
        gap: var(--spacing-4);
        text-align: center;
    }

    .preview-hero .hero-stat {
        margin: 0 auto;
    }

    /* Show only main sand card on mobile */
    .preview-hero .sand-types-grid {
        display: block !important;
        width: 100%;
        height: auto;
        margin: 0;
    }

    .preview-hero .sand-card-main {
        display: block !important;
        width: 100%;
        height: 280px;
        background-image: url('images/hero/sandsell_cover.JPG') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        border-radius: var(--radius-lg);
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        position: relative;
        overflow: hidden;
        margin: 0;
    }

    /* Hide all other sand cards on mobile */
    .preview-hero .sand-card-sharp,
    .preview-hero .sand-card-plaster,
    .preview-hero .sand-card-three-eight,
    .preview-hero .sand-card-red {
        display: none !important;
    }

    /* Mobile overlay styling for preview hero */
    .preview-hero .sand-card-overlay {
        position: absolute;
        bottom: var(--spacing-3);
        left: var(--spacing-3);
        right: var(--spacing-3);
        background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
        backdrop-filter: blur(10px);
        padding: var(--spacing-3);
        border-radius: var(--radius-md);
    }

    .preview-hero .sand-card-label {
        font-size: var(--font-size-xs);
        color: var(--accent-orange);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: var(--spacing-1);
    }

    .preview-hero .sand-card-title {
        font-size: var(--font-size-sm);
        color: white;
        font-weight: 600;
        line-height: 1.2;
    }

    /* Hide floating badge on mobile */
    .preview-hero .hero-visual > div[style*="position: absolute"] {
        display: none;
    }

    .sand-card-label {
        font-size: var(--font-size-xs);
    }

    .sand-card-title {
        font-size: var(--font-size-base);
    }

    /* Tracking Hero Mobile */
    .tracking-hero {
        padding: var(--spacing-12) 0;
    }

    .tracking-mockup {
        max-width: 350px;
        height: 300px;
    }

    .tracking-device {
        width: 220px;
        height: 220px;
    }

    .tracking-screen {
        margin: 15px;
        height: 190px;
    }

    .tracking-truck-icon {
        width: 50px;
        height: 50px;
    }

    .tracking-truck-icon i {
        font-size: 20px;
    }

    .tracking-pulse {
        width: 80px;
        height: 80px;
    }

    .tracking-info-overlay {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: var(--spacing-3);
    }

    /* Contact Hero Mobile - Fixed Layout */
    .contact-hero {
        padding: var(--spacing-12) 0;
    }

    .contact-hero .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
        text-align: center;
    }

    .contact-hero .hero-text {
        order: 1;
        margin-bottom: var(--spacing-6);
    }

    .contact-hero .hero-visual {
        display: none;
    }

    /* Contact form mobile fixes */
    .contact-hero .hero-actions {
        flex-direction: column;
        gap: var(--spacing-3);
        margin-bottom: var(--spacing-6);
    }

    .contact-hero .hero-stats {
        flex-direction: column;
        gap: var(--spacing-4);
        text-align: center;
    }

    .contact-hero .hero-stat {
        margin: 0 auto;
    }
    }

    .contact-float-phone {
        width: 30px;
        height: 30px;
        top: -10px;
        right: -10px;
    }

    .contact-float-phone i {
        font-size: 12px;
    }

    .contact-float-email {
        width: 28px;
        height: 28px;
        bottom: -8px;
        left: -15px;
    }

    .contact-float-email i {
        font-size: 11px;
    }

    .contact-float-chat {
        width: 25px;
        height: 25px;
        top: 15px;
        left: -18px;
    }

    .contact-float-chat i {
        font-size: 10px;
    }


    .contact-badge {
        padding: 8px 12px;
        font-size: 12px;
    }

    .contact-info-overlay {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: var(--spacing-3);
    }
}

@media (max-width: 480px) {
    .sand-types-grid {
        max-width: 300px;
    }

    .sand-card-main {
        height: 150px;
    }

    .sand-card-sharp,
    .sand-card-plaster,
    .sand-card-three-eight,
    .sand-card-red {
        height: 80px;
    }

    .tracking-mockup,
    .contact-mockup {
        max-width: 300px;
        height: 250px;
    }

    .tracking-device {
        width: 180px;
        height: 180px;
    }

    .tracking-screen {
        margin: 12px;
        height: 156px;
    }

    .contact-support-circle {
        width: 120px;
        height: 120px;
    }

    .contact-service-icon {
        width: 70px;
        height: 70px;
    }

    .contact-service-icon i {
        font-size: 25px;
    }
}

/* ===== ORDER HERO STYLES ===== */

/* Order Hero */
.order-hero {
    padding: var(--spacing-16) 0;
    background: linear-gradient(135deg, var(--neutral-white) 0%, var(--neutral-light) 100%);
    position: relative;
}

.order-mockup {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.1), rgba(44, 95, 45, 0.05));
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.order-pattern {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%232c5f2d" fill-opacity="0.05"%3E%3Cpath d="m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E') repeat;
}

.order-visual-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.sand-bags {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 30px;
    justify-content: center;
}

.sand-bag {
    border-radius: 10px 10px 40px 40px;
    position: relative;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.sand-bag-1 {
    width: 80px;
    height: 100px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
}

.sand-bag-2 {
    width: 80px;
    height: 120px;
    background: linear-gradient(135deg, #D2691E, #CD853F);
}

.sand-bag-3 {
    width: 80px;
    height: 90px;
    background: linear-gradient(135deg, #F4A460, #DEB887);
}

.sand-bag-top {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 15px;
    border-radius: 8px;
}

.sand-bag-1 .sand-bag-top {
    background: #654321;
}

.sand-bag-2 .sand-bag-top {
    background: #8B4513;
}

.sand-bag-3 .sand-bag-top {
    background: #D2691E;
}

.order-cta-visual {
    background: #2c5f2d;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(44, 95, 45, 0.3);
    transform: translateY(10px);
    animation: orderPulse 3s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@keyframes orderPulse {
    0%, 100% { transform: translateY(10px) scale(1); }
    50% { transform: translateY(5px) scale(1.05); }
}

.order-info-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(44, 95, 45, 0.9);
    color: white;
    padding: 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.order-info-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.order-info-title {
    font-size: 18px;
    font-weight: 700;
}

/* ===== ORDER FORM STYLES ===== */

.order-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.order-form-card {
    background: var(--neutral-white);
    border-radius: var(--radius-2xl);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-12);
}

.form-section {
    margin-bottom: var(--spacing-12);
}

.form-section-title {
    margin-bottom: var(--spacing-6);
    color: var(--text-primary);
    font-size: var(--font-size-xl);
    font-weight: 600;
}

.no-sand-types {
    text-align: center;
    padding: var(--spacing-12);
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: var(--radius-xl);
}

.no-sand-icon {
    font-size: var(--spacing-12);
    color: #9ca3af;
    margin-bottom: var(--spacing-4);
}

.no-sand-title {
    margin: 0 0 var(--spacing-2) 0;
    color: #374151;
}

.no-sand-text {
    margin: 0;
    color: #6b7280;
    font-size: var(--font-size-sm);
}

.select-wrapper {
    position: relative;
}

.form-select {
    width: 100%;
    padding: var(--spacing-4);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-xl);
    font-size: var(--font-size-base);
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDE0IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDFMNyA3TDEzIDEiIHN0cm9rZT0iIzZCNzI4MCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHN2Zz4K');
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 50px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
    outline: none;
}

.sand-details {
    display: none;
    margin-top: var(--spacing-4);
    padding: var(--spacing-4);
    background: #f0fdf4;
    border: 1px solid #d1fae5;
    border-radius: var(--radius-lg);
}

.sand-details-name {
    margin: 0 0 var(--spacing-2) 0;
    color: #065f46;
    font-size: var(--font-size-base);
    font-weight: 600;
}

.sand-details-description {
    margin: 0 0 var(--spacing-3) 0;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.sand-details-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
}

.price-highlight {
    color: var(--primary-green);
    font-weight: 600;
}

.quantity-cost-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-5);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-2);
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-base);
}

.form-input {
    width: 100%;
    padding: var(--spacing-3);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    box-sizing: border-box;
    transition: all 0.3s ease;
    min-height: 48px;
}

.form-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
    outline: none;
}

.form-help {
    color: #6b7280;
    font-size: var(--font-size-xs);
    display: block;
    margin-top: var(--spacing-1);
}

.cost-breakdown {
    padding: var(--spacing-4);
    background: #f9fafb;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
}

.cost-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-2);
}

.cost-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    border-top: 1px solid #e5e7eb;
    padding-top: var(--spacing-2);
}

.customer-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-5);
    margin-bottom: var(--spacing-5);
}

.form-group {
    display: flex;
    flex-direction: column;
}

/* ===== ORDER FORM MOBILE STYLES ===== */
@media (max-width: 768px) {
    /* Order Hero Mobile */
    .order-hero {
        padding: var(--spacing-12) 0;
    }

    .order-mockup {
        max-width: 350px;
        height: 300px;
    }

    .sand-bags {
        gap: 15px;
    }

    .sand-bag-1, .sand-bag-2, .sand-bag-3 {
        width: 60px;
    }

    .sand-bag-1 {
        height: 80px;
    }

    .sand-bag-2 {
        height: 100px;
    }

    .sand-bag-3 {
        height: 70px;
    }

    .sand-bag-top {
        width: 45px;
        height: 12px;
    }

    .order-cta-visual {
        padding: 12px 20px;
        font-size: var(--font-size-sm);
    }

    .order-info-overlay {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: var(--spacing-3);
    }

    .order-info-label {
        font-size: var(--font-size-xs);
    }

    .order-info-title {
        font-size: var(--font-size-base);
    }

    /* Order Form Mobile */
    .order-form-card {
        padding: var(--spacing-6);
        margin: 0 var(--spacing-4);
        border-radius: var(--radius-lg);
    }

    .form-section {
        margin-bottom: var(--spacing-8);
    }

    .form-section-title {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-4);
    }

    .quantity-cost-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
    }

    .customer-details-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
        margin-bottom: var(--spacing-4);
    }

    .sand-details-info {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-2);
    }
}

@media (max-width: 480px) {
    .order-form-card {
        padding: var(--spacing-4);
        margin: 0 var(--spacing-2);
    }

    .sand-bags {
        gap: 10px;
    }

    .sand-bag-1, .sand-bag-2, .sand-bag-3 {
        width: 45px;
    }

    .sand-bag-1 {
        height: 60px;
    }

    .sand-bag-2 {
        height: 75px;
    }

    .sand-bag-3 {
        height: 50px;
    }

    .sand-bag-top {
        width: 35px;
        height: 10px;
    }

    .order-mockup {
        max-width: 300px;
        height: 250px;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-green);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}

/* ===== PRIVACY POLICY & TERMS PAGE STYLES ===== */
.page-section {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #2E2E57;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 16px;
    color: #666;
    font-style: italic;
}

.page-content {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 32px;
    font-weight: 600;
    color: #2E2E57;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8B9DC3;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #3b5998;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content h4 {
    font-size: 20px;
    font-weight: 500;
    color: #2E2E57;
    margin-top: 25px;
    margin-bottom: 12px;
}

.page-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.page-content ul {
    margin: 20px 0;
    padding-left: 0;
}

.page-content ul li {
    list-style: none;
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    line-height: 1.8;
    color: #333;
}

.page-content ul li::before {
    content: "•";
    color: #3b5998;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 10px;
}

.page-content a {
    color: #3b5998;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.page-content a:hover {
    color: #2E2E57;
    border-bottom-color: #2E2E57;
}

.page-content strong {
    color: #2E2E57;
    font-weight: 600;
}

/* Responsive styles for privacy and terms pages */
@media (max-width: 768px) {
    .page-section {
        padding: 80px 0 60px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .page-content {
        padding: 30px 20px;
        border-radius: 10px;
    }

    .page-content h2 {
        font-size: 26px;
    }

    .page-content h3 {
        font-size: 20px;
    }

    .page-content h4 {
        font-size: 18px;
    }

    .page-content p,
    .page-content ul li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 28px;
    }

    .page-content {
        padding: 20px 15px;
    }

    .page-content h2 {
        font-size: 22px;
        margin-top: 30px;
    }

    .page-content h3 {
        font-size: 18px;
    }

    .page-content p,
    .page-content ul li {
        font-size: 14px;
    }
}