/* ============================================================================
   CDOT DATABASE - MODERN DESIGN SYSTEM V2.0
   Fortune 500 Meets Futuristic Data-Driven Marketing
   ============================================================================ */

/* Ensure Inter is available (used by home) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* ===== BRAND COLOR PALETTE ===== */
    --cdot-primary: #007bff;
    --cdot-primary-dark: #0056b3;
    --cdot-primary-light: #3395ff;
    --cdot-primary-alpha-10: rgba(0, 123, 255, 0.1);
    --cdot-primary-alpha-20: rgba(0, 123, 255, 0.2);
    
    --cdot-accent: #ffc107;
    --cdot-accent-dark: #f59e0b;
    --cdot-accent-light: #ffd54f;
    
    --cdot-dark: #0f172a;
    --cdot-gray-900: #1e293b;
    --cdot-gray-800: #334155;
    --cdot-gray-700: #475569;
    --cdot-gray-600: #64748b;
    --cdot-gray-500: #94a3b8;
    --cdot-gray-400: #cbd5e0;
    --cdot-gray-300: #e2e8f0;
    --cdot-gray-200: #f1f5f9;
    --cdot-gray-100: #f8fafc;
    --cdot-white: #ffffff;
    
    /* ===== GRADIENTS ===== */
    --gradient-primary: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    --gradient-primary-radial: radial-gradient(circle at top right, #007bff 0%, #0056b3 100%);
    --gradient-accent: linear-gradient(135deg, #ffc107 0%, #f59e0b 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-mesh: 
        radial-gradient(at 0% 0%, rgba(0, 123, 255, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(255, 193, 7, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 123, 255, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(255, 193, 7, 0.1) 0px, transparent 50%);
    
    /* ===== TYPOGRAPHY SCALE (Consistent) ===== */
    --font-display: clamp(3.5rem, 8vw, 5.5rem);
    --font-h1: clamp(2.5rem, 5vw, 3.5rem);
    --font-h2: clamp(2rem, 4vw, 2.75rem);
    --font-h3: clamp(1.75rem, 3vw, 2.25rem);
    --font-h4: clamp(1.5rem, 2.5vw, 1.875rem);
    --font-h5: clamp(1.25rem, 2vw, 1.5rem);
    --font-h6: clamp(1.125rem, 1.5vw, 1.25rem);
    --font-body: 1rem;
    --font-small: 0.875rem;
    --font-tiny: 0.75rem;
    
    /* ===== SPACING SYSTEM ===== */
    --section-padding-lg: 120px;
    --section-padding-md: 80px;
    --section-padding-sm: 60px;
    --card-padding: 2.5rem;
    --gap-lg: 4rem;
    --gap-md: 2rem;
    --gap-sm: 1rem;
    
    /* ===== EFFECTS & TRANSITIONS ===== */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 24px 64px rgba(15, 23, 42, 0.16);
    --shadow-primary: 0 12px 32px rgba(0, 123, 255, 0.25);
    --shadow-accent: 0 12px 32px rgba(255, 193, 7, 0.25);
    
    /* ===== GLASSMORPHISM ===== */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-dark: rgba(15, 23, 42, 0.3);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: 20px;
}

/* ============================================================================
   TYPOGRAPHY SYSTEM - CONSISTENT HIERARCHY
   ============================================================================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: var(--cdot-gray-800);
    font-size: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.display-text, .display-1 {
    font-size: var(--font-display);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--cdot-dark);
}

h1, .h1 { 
    font-size: var(--font-h1); 
    font-weight: 700; 
    line-height: 1.15; 
    letter-spacing: -0.02em;
    color: var(--cdot-dark);
}

h2, .h2 { 
    font-size: var(--font-h2); 
    font-weight: 700; 
    line-height: 1.25; 
    letter-spacing: -0.015em;
    color: var(--cdot-dark);
}

h3, .h3 { 
    font-size: var(--font-h3); 
    font-weight: 600; 
    line-height: 1.3; 
    color: var(--cdot-gray-900);
}

h4, .h4 { 
    font-size: var(--font-h4); 
    font-weight: 600; 
    line-height: 1.4; 
    color: var(--cdot-gray-900);
}

h5, .h5 { 
    font-size: var(--font-h5); 
    font-weight: 600; 
    line-height: 1.5; 
    color: var(--cdot-gray-800);
}

h6, .h6 { 
    font-size: var(--font-h6); 
    font-weight: 600; 
    line-height: 1.5; 
    color: var(--cdot-gray-800);
}

p, .body-text { 
    font-size: var(--font-body); 
    line-height: 1.7; 
    color: var(--cdot-gray-700);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--cdot-gray-600);
    font-weight: 400;
}

.small-text { 
    font-size: var(--font-small); 
    line-height: 1.6; 
    color: var(--cdot-gray-600);
}

/* ============================================================================
   PARALLAX SECTION SYSTEM
   ============================================================================ */
.parallax-wrapper {
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.parallax-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.parallax-layer-back {
    transform: translateZ(-2px) scale(3);
}

.parallax-layer-base {
    transform: translateZ(0);
}

/* Section Color Variants */
.section-primary {
    background: var(--gradient-primary);
    color: var(--cdot-white);
}

.section-primary h1, .section-primary h2, .section-primary h3,
.section-primary h4, .section-primary h5, .section-primary h6 {
    color: var(--cdot-white);
}

.section-primary p, .section-primary .lead {
    color: rgba(255, 255, 255, 0.9);
}

.section-dark {
    background: var(--gradient-dark);
    color: var(--cdot-white);
}

.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5, .section-dark h6 {
    color: var(--cdot-white);
}

.section-dark p, .section-dark .lead {
    color: var(--cdot-gray-400);
}

.section-light {
    background: var(--cdot-gray-100);
    color: var(--cdot-dark);
}

.section-white {
    background: var(--cdot-white);
    color: var(--cdot-dark);
}

.section-mesh {
    background: var(--gradient-mesh), var(--cdot-white);
    color: var(--cdot-dark);
}

/* ============================================================================
   GLASSMORPHISM COMPONENTS
   ============================================================================ */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    border-radius: 24px;
}

.glass-panel-dark {
    background: var(--glass-bg-dark);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
    border-radius: 24px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
    border-radius: 20px;
    padding: var(--card-padding);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

/* ============================================================================
   EXPANDABLE INTERACTIVE CARDS
   ============================================================================ */
.expand-card-wrapper {
    position: relative;
    margin-bottom: var(--gap-md);
}

.expand-card {
    background: var(--cdot-white);
    border: 2px solid var(--cdot-gray-300);
    border-radius: 20px;
    padding: var(--card-padding);
    cursor: pointer;
    transition: var(--transition-smooth);
    overflow: hidden;
    position: relative;
}

.expand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.expand-card.active::before,
.expand-card:hover::before {
    transform: scaleX(1);
}

.expand-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap-md);
}

.expand-card-icon {
    width: 64px;
    height: 64px;
    background: var(--cdot-primary-alpha-10);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cdot-primary);
    font-size: 2rem;
    flex-shrink: 0;
    transition: var(--transition-spring);
}

.expand-card:hover .expand-card-icon {
    background: var(--cdot-primary);
    color: var(--cdot-white);
    transform: rotate(10deg) scale(1.1);
}

.expand-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                margin-top 0.3s ease;
    opacity: 0;
}

.expand-card.active .expand-card-content {
    max-height: 1000px;
    opacity: 1;
    margin-top: var(--gap-md);
}

.expand-card.active {
    border-color: var(--cdot-primary);
    box-shadow: var(--shadow-primary);
}

.expand-toggle {
    width: 36px;
    height: 36px;
    background: var(--cdot-gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: var(--cdot-gray-700);
}

.expand-card.active .expand-toggle {
    background: var(--cdot-primary);
    color: var(--cdot-white);
    transform: rotate(180deg);
}

/* ============================================================================
   FLOATING DATA VISUALIZATIONS
   ============================================================================ */
.floating-stat {
    position: absolute;
    background: var(--cdot-white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    animation: float-gentle 4s ease-in-out infinite;
    z-index: 10;
}

.floating-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.floating-stat-label {
    font-size: var(--font-small);
    color: var(--cdot-gray-600);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    75% { transform: translateY(-5px) rotate(-1deg); }
}

/* Data Graph Bars */
.data-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    height: 200px;
    padding: 1rem;
    background: var(--cdot-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.data-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: all 0.3s ease;
    min-height: 20px;
    animation: bar-grow 1s ease-out backwards;
}

.data-bar:hover {
    background: var(--gradient-accent);
    transform: scaleY(1.05);
}

.data-bar::after {
    content: attr(data-value);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--font-small);
    font-weight: 700;
    color: var(--cdot-gray-800);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.data-bar:hover::after {
    opacity: 1;
}

@keyframes bar-grow {
    from {
        height: 0;
        opacity: 0;
    }
}

/* ============================================================================
   ELEVATED MODERN CARDS
   ============================================================================ */
.elevated-card {
    background: var(--cdot-white);
    border-radius: 24px;
    padding: var(--card-padding);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cdot-gray-300);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.elevated-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.elevated-card:hover::before {
    transform: scaleX(1);
}

.elevated-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--cdot-primary-alpha-20);
}

.elevated-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

/* ============================================================================
   LAYERED IMAGE EFFECTS
   ============================================================================ */
.image-layer-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
}

.image-layer-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: blur(8px) brightness(0.7);
    transform: scale(1.1);
}

.image-layer-main {
    position: relative;
    z-index: 2;
    width: 80%;
    height: 80%;
    margin: 10%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.image-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 60%);
    z-index: 3;
}

.image-overlay-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 4;
    color: var(--cdot-white);
}

/* ============================================================================
   ANIMATION UTILITIES
   ============================================================================ */
.fade-up-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-up-element.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in-element {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease,
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scale-in-element.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s ease,
                transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s ease,
                transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays for sequential animations */
[data-delay="0.1s"] { transition-delay: 0.1s; }
[data-delay="0.2s"] { transition-delay: 0.2s; }
[data-delay="0.3s"] { transition-delay: 0.3s; }
[data-delay="0.4s"] { transition-delay: 0.4s; }
[data-delay="0.5s"] { transition-delay: 0.5s; }

/* ============================================================================
   FLOATING BACKGROUND ELEMENTS
   ============================================================================ */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    animation: float-bg 20s infinite ease-in-out;
    pointer-events: none;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--cdot-primary-alpha-20);
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(255, 193, 7, 0.2);
    bottom: -100px;
    left: -100px;
    animation-delay: -10s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: var(--cdot-primary-alpha-10);
    top: 50%;
    left: 50%;
    animation-delay: -15s;
}

@keyframes float-bg {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-30px, 30px) rotate(-5deg); }
}

/* ============================================================================
   Disable Floating/Aurora Shapes for Dashboard Page
   ============================================================================ */
/* When the body has the `dashboard-page` class (added by dashboard JS),
   hide the floating shapes and disable animation so the dashboard hero
   background appears static. Also hide shapes inside preview/dashboard
   containers (dashboard-preview) to avoid showing aurora shapes there. */
body.dashboard-page .floating-shape,
.dashboard-hero .floating-shape,
.dashboard-preview .floating-shape {
    display: none !important;
    animation: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ============================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ============================================================================ */
.btn {
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    font-size: var(--font-body);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--cdot-white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(0, 123, 255, 0.35);
    color: var(--cdot-white);
}

.btn-accent {
    background: var(--gradient-accent);
    border: none;
    color: var(--cdot-dark);
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(255, 193, 7, 0.35);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--cdot-primary);
    color: var(--cdot-primary);
}

.btn-outline-primary:hover {
    background: var(--cdot-primary);
    color: var(--cdot-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.hover-lift {
    transition: var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */
@media (max-width: 768px) {
    :root {
        --section-padding-lg: 80px;
        --section-padding-md: 60px;
        --section-padding-sm: 40px;
        --card-padding: 1.5rem;
    }
    
    .parallax-section {
        min-height: auto;
        padding: var(--section-padding-md) 0;
    }
    
    .floating-stat {
        position: static;
        margin: 1rem 0;
        animation: none;
    }
    
    .image-layer-container {
        height: 400px;
    }
    
    .shape-1, .shape-2, .shape-3 {
        width: 250px;
        height: 250px;
    }
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-3 { z-index: 3; }
.z-10 { z-index: 10; }

.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============================================================================
   PARALLAX EFFECT FOR ALL HERO SECTIONS ACROSS PAGES
   ============================================================================ */

/* About Page - Hero About Section */
.hero-about-section {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    padding: 0 !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 123, 255, 0.15) 0%,
            rgba(0, 123, 255, 0.05) 50%,
            transparent 100%);
    animation: gradientShift 8s ease infinite;
    z-index: 1;
    pointer-events: none;
}

.hero-about-section .floating-shape {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
}

.hero-about-section .glass-panel {
    position: relative;
    z-index: 2;
}

.hero-about-section h1,
.hero-about-section h2,
.hero-about-section h3,
.hero-about-section h4,
.hero-about-section h5,
.hero-about-section h6 {
    color: #1e293b !important;
}

.hero-about-section p,
.hero-about-section .text-muted {
    color: #475569 !important;
}

.hero-about-section .hero-info-overlay {
    position: absolute;
    bottom: 40px;
    right: 40px;
    max-width: 300px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 25px;
}

/* PEA Program Page - Hero Section */
.pea-hero {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    padding: 0 !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.pea-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 123, 255, 0.15) 0%,
            rgba(0, 123, 255, 0.05) 50%,
            transparent 100%);
    animation: gradientShift 8s ease infinite;
    z-index: 1;
    pointer-events: none;
}

.pea-hero .floating-shape,
.pea-hero .floating-elements {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
}

.pea-hero .glass-panel {
    position: relative;
    z-index: 2;
}

.pea-hero h1,
.pea-hero h2,
.pea-hero h3,
.pea-hero h4,
.pea-hero h5,
.pea-hero h6 {
    color: #fff !important;
}

.pea-hero p,
.pea-hero .text-muted {
    color: #e5e7eb !important;
}
.pea-hero h2,
.pea-hero h3,
.pea-hero h4,
.pea-hero h5,
.pea-hero h6 {
    color: #1e293b !important;
}

.pea-hero p,
.pea-hero .text-muted {
    color: #475569 !important;
}

/* Membership/Access Page - Innovative Features Hero */
.innovative-features-hero {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    padding: 0 !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.innovative-features-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 123, 255, 0.1) 0%,
            rgba(0, 123, 255, 0.05) 50%,
            transparent 100%);
    animation: gradientShift 8s ease infinite;
    z-index: 1;
    pointer-events: none;
}

.innovative-features-hero .floating-shape {
    position: absolute;
    opacity: 0.08;
    z-index: 0;
}

.innovative-features-hero .container {
    position: relative;
    z-index: 2;
}

.innovative-features-hero h1,
.innovative-features-hero h2,
.innovative-features-hero h3,
.innovative-features-hero h4,
.innovative-features-hero h5,
.innovative-features-hero h6 {
    color: #1e293b !important;
}

.innovative-features-hero p,
.innovative-features-hero .text-muted {
    color: #475569 !important;
}


/* Insights Page - Hero Section */
.hero-section {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    padding: 0 !important;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 123, 255, 0.15) 0%,
            rgba(0, 123, 255, 0.05) 50%,
            transparent 100%);
    animation: gradientShift 8s ease infinite;
    z-index: 1;
    pointer-events: none;
}

.hero-section .floating-shape {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6 {
    color: #1e293b !important;
}

.hero-section p,
.hero-section .lead,
.hero-section .text-muted {
    color: #475569 !important;
}



/* Careers Page - Hero Split Layout */
.careers-hero {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    padding: 0 !important;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-split {
    display: flex;
    width: 100%;
    height: 100vh;
}

.hero-left {
    flex: 1;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    padding: 60px;
    position: relative;
    z-index: 2;
}

.hero-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 123, 255, 0.1) 0%,
            rgba(0, 123, 255, 0.05) 50%,
            transparent 100%);
    animation: gradientShift 8s ease infinite;
    z-index: -1;
    pointer-events: none;
}

.hero-right {
    flex: 1;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 123, 255, 0.08) 0%,
            rgba(0, 123, 255, 0.02) 50%,
            transparent 100%);
    animation: gradientShift 8s ease infinite;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.careers-hero h1,
.careers-hero h2,
.careers-hero h3,
.careers-hero h4,
.careers-hero h5,
.careers-hero h6 {
    color: #1e293b !important;
}

.careers-hero p,
.careers-hero .text-muted {
    color: #475569 !important;
}

/* Contact Page - Contact Hero Section */
.contact-hero-section {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    padding: 0 !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 123, 255, 0.15) 0%, transparent 50%);
    animation: gradientShift 8s ease infinite;
    z-index: 1;
    pointer-events: none;
}

.contact-hero-section .container {
    position: relative;
    z-index: 2;
}

.contact-hero-section h1,
.contact-hero-section h2,
.contact-hero-section h3,
.contact-hero-section h4,
.contact-hero-section h5,
.contact-hero-section h6 {
    color: #1e293b !important;
}

.contact-hero-section p,
.contact-hero-section .lead,
.contact-hero-section .text-muted {
    color: #475569 !important;
}

.contact-hero-section .highlight-pink {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animation for fade-up elements on hero sections */
@media (prefers-reduced-motion: no-preference) {
    .hero-about-section .fade-up-element,
    .pea-hero .fade-up-element,
    .innovative-features-hero .fade-up-element,
    .hero-section .fade-up-element,
    .careers-hero .fade-up-element,
    .contact-hero-section .fade-up-element {
        opacity: 0;
        transform: translateY(40px);
        animation: slideUp 0.8s ease forwards;
    }

    .hero-about-section .fade-up-element:nth-child(1),
    .pea-hero .fade-up-element:nth-child(1),
    .innovative-features-hero .fade-up-element:nth-child(1),
    .hero-section .fade-up-element:nth-child(1),
    .careers-hero .fade-up-element:nth-child(1),
    .contact-hero-section .fade-up-element:nth-child(1) {
        animation-delay: 0.2s;
    }

    .hero-about-section .fade-up-element:nth-child(2),
    .pea-hero .fade-up-element:nth-child(2),
    .innovative-features-hero .fade-up-element:nth-child(2),
    .hero-section .fade-up-element:nth-child(2),
    .careers-hero .fade-up-element:nth-child(2),
    .contact-hero-section .fade-up-element:nth-child(2) {
        animation-delay: 0.4s;
    }

    .hero-about-section .fade-up-element:nth-child(3),
    .pea-hero .fade-up-element:nth-child(3),
    .innovative-features-hero .fade-up-element:nth-child(3),
    .hero-section .fade-up-element:nth-child(3),
    .careers-hero .fade-up-element:nth-child(3),
    .contact-hero-section .fade-up-element:nth-child(3) {
        animation-delay: 0.6s;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0%,
    100% {
        transform: translateX(-50%) translateY(-50%) rotate(0deg);
    }

    50% {
        transform: translateX(50%) translateY(50%) rotate(180deg);
    }
}

/* Mobile Responsiveness for Hero Sections */
@media (max-width: 768px) {
    .hero-about-section,
    .pea-hero,
    .innovative-features-hero,
    .hero-section,
    .contact-hero-section {
        min-height: auto;
        padding: 80px 0 60px;
    }

    .hero-split {
        flex-direction: column;
        height: auto;
    }

    .hero-left,
    .hero-right {
        padding: 60px 20px;
    }

    .hero-about-section .hero-info-overlay {
        position: static;
        max-width: 100%;
        margin-top: 20px;
        bottom: auto;
        right: auto;
    }

    @media (prefers-reduced-motion: no-preference) {
        .hero-about-section .fade-up-element,
        .pea-hero .fade-up-element,
        .innovative-features-hero .fade-up-element,
        .hero-section .fade-up-element,
        .careers-hero .fade-up-element,
        .contact-hero-section .fade-up-element {
            animation: slideUp 0.8s ease forwards;
        }
    }
}

/* Content Wrapper - Parallax Scroll */
.content-wrapper {
    position: relative;
    z-index: 1;
    margin-top: 100vh;
    background: white;
}

