/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Logo Color Palette */
    --logo-charcoal-dark: #333333;
    --logo-charcoal-medium: #4A4A4A;
    --logo-silver-light: #E0E0E0;
    --logo-silver-bright: #F5F5F5;
    --logo-slate-light: #BDBDBD;
    --logo-slate-soft: #CCCCCC;
    
    /* Gold Colors from Logo */
    --logo-gold-primary: #D4AF37;
    --logo-gold-light: #E0C27F;
    --logo-gold-dark: #B8860B;
    
    /* Brand Colors */
    --primary-green: #86BC24; /* Kept for some accents */
    --pure-white: #FFFFFF;
    --accent-red: #dc2626; /* For buttons - kept as requested */
    
    /* Additional Colors */
    --medium-gray: #666666;
    --smoky-black: #1a1a1a;
    --functional-blue: #1e40af;
    
    /* Typography Scale */
    --font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    --font-size-h1: clamp(2.5rem, 5vw, 3.5rem);
    --font-size-h2: clamp(2rem, 4vw, 2.5rem);
    --font-size-h3: clamp(1.5rem, 3vw, 2rem);
    --font-size-h4: clamp(1.25rem, 2.5vw, 1.5rem);
    --font-size-body: 1.125rem;
    --font-size-small: 1rem;
    
    /* Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 1rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-medium: 0.4s ease;
}

/* Base Typography */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    line-height: 1.6;
    color: var(--logo-charcoal-dark);
    background-color: var(--pure-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

/* Links */
a {
    color: var(--logo-charcoal-medium);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--logo-charcoal-dark);
}

a:focus {
    outline: 2px solid var(--logo-charcoal-medium);
    outline-offset: 2px;
}

/* Container System */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: 500;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    min-height: 44px;
    min-width: 44px;
}

.btn-primary {
    background-color: var(--logo-silver-light);
    color: var(--logo-charcoal-dark);
    border-color: var(--logo-silver-light);
}

.btn-primary:hover {
    background-color: var(--logo-silver-bright);
    border-color: var(--logo-silver-bright);
    color: var(--logo-charcoal-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--logo-charcoal-dark);
    border-color: var(--logo-charcoal-dark);
}

.btn-secondary:hover {
    background-color: var(--logo-charcoal-dark);
    color: var(--pure-white);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.25rem;
}

/* Navigation Bar Styles - Fixed the missing navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all var(--transition-normal);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-brand {
    flex-shrink: 0;
}

.nav-brand a {
    display: block;
}

/* Brand text styling for company name */
.brand-text {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--pure-white) !important;
    text-decoration: none !important;
    transition: all var(--transition-normal) !important;
    line-height: 1 !important;
}

.brand-text:hover {
    color: var(--logo-gold-primary) !important;
}

/* Legacy logo styles (kept for other pages) */
.nav-brand .logo-img {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.nav {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--pure-white);
    font-weight: 500;
    font-size: 1rem;
    padding: var(--spacing-sm) 0;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--logo-gold-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.nav-link.active {
    color: var(--pure-white);
    font-weight: 600;
}

/* Navigation CTA Button */
.nav-cta {
    background: linear-gradient(135deg, var(--logo-gold-primary) 0%, var(--logo-gold-light) 100%);
    color: var(--smoky-black) !important;
    padding: var(--spacing-xs) var(--spacing-md) !important;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: none !important;
    transition: all var(--transition-normal);
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--logo-gold-light) 0%, var(--logo-gold-primary) 100%);
    color: var(--smoky-black) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--pure-white);
    margin: 3px 0;
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* FIXED Hero Section - BRIGHT VIDEO, NO OVERLAY! */
.hero-section-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -10;
    overflow: hidden;
}

/* Watermark cover for bottom-right V03 text */
.hero-section-fixed::after {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 25px;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: -5;
    border-radius: 3px;
    backdrop-filter: blur(1px);
}

.hero-video-container-fixed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -12;
}

.hero-video-container-fixed video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* REMOVED - NO MORE OVERLAY! Let the logo show bright and clear! */
/* .hero-overlay-fixed - DELETED COMPLETELY */

/* Hero Content Section - SLIM TRANSPARENT BANNER that scrolls over video */
.hero-content-section-parallax {
    position: relative;
    z-index: 10;
    margin-top: 100vh; /* START BELOW the full-height video */
    /* FIXED: Made slim like a banner, not a tall square section */
    min-height: auto; /* Removed full viewport height */
    padding: var(--spacing-xl) 0; /* Reduced from 3xl (6rem) to xl (3rem) */
    /* Smoky glass banner background */
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.6) 30%, 
        rgba(0, 0, 0, 0.5) 70%, 
        rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(3px);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--pure-white); /* Keep main title white */
    /* Enhanced text shadow for readability over transparent background */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.hero-title-line {
    display: block;
}

/* CLIENT FIX: Make "Grow with AI" same color as "Helping Columbus Businesses" */
.hero-title-emphasis {
    display: block;
    color: var(--pure-white); /* Keep main title white */
    /* Same text shadow as parent .hero-title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: var(--spacing-xl);
    color: var(--pure-white);
    opacity: 0.95;
    /* Strong text shadow for readability over moving video background */
    text-shadow: 
        2px 2px 6px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(0, 0, 0, 0.6),
        1px 1px 2px rgba(0, 0, 0, 1);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl); /* Reduced from 2xl to xl */
}

/* Hero Section Button Styles */
.hero-content-section-parallax .btn-primary {
    background: linear-gradient(135deg, var(--logo-gold-primary) 0%, var(--logo-gold-light) 100%);
    color: var(--smoky-black);
    border-color: var(--logo-gold-primary);
    font-weight: 600;
    text-shadow: none;
}

.hero-content-section-parallax .btn-primary:hover {
    background: linear-gradient(135deg, var(--logo-gold-light) 0%, var(--logo-gold-primary) 100%);
    color: var(--smoky-black);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.hero-content-section-parallax .btn-secondary {
    background-color: transparent;
    color: var(--pure-white);
    border-color: var(--pure-white);
    /* Enhanced text shadow for button readability */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-content-section-parallax .btn-secondary:hover {
    background-color: var(--pure-white);
    color: var(--smoky-black);
    transform: translateY(-3px);
    text-shadow: none;
}

/* Mouse Wheel Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse-scroll {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mouse {
    width: 28px;
    height: 45px;
    border: 3px solid var(--pure-white);
    border-radius: 18px;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.wheel {
    width: 6px;
    height: 6px;
    background: var(--pure-white);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel-scroll 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

@keyframes wheel-scroll {
    0% {
        top: 10px;
        opacity: 1;
    }
    50% {
        top: 25px;
        opacity: 1;
    }
    100% {
        top: 10px;
        opacity: 1;
    }
}

/* Clean SVG scroll indicator */
.scroll-indicator svg {
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.8));
}

.scroll-indicator:hover svg {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
}

/* Hide scroll indicator on small mobile only */
@media (max-width: 480px) {
    .scroll-indicator {
        display: none;
    }
}

/* Legacy Hero Section (Hidden by default) */
.hero-section {
    display: none;
}

/* Hero Content Section - Legacy (now transparent with parallax) */
.hero-content-section {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: var(--spacing-3xl) 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: var(--spacing-xl) 0;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: -1;
}

/* Header Styles (kept for backwards compatibility) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    box-shadow: none;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

/* Logo Scaling CSS */

/* Header Logo */
.logo .logo-img {
    height: 50px; /* Set a fixed height for consistent header sizing */
    width: auto; /* Maintain aspect ratio */
    max-width: 200px; /* Prevent logo from getting too wide */
    object-fit: contain; /* Ensure logo fits within dimensions without distortion */
    display: block;
}

/* Footer Logo */
footer .logo-img {
    height: 40px; /* Slightly smaller for footer */
    width: auto; /* Maintain aspect ratio */
    max-width: 180px; /* Prevent footer logo from getting too wide */
    object-fit: contain; /* Ensure logo fits within dimensions without distortion */
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo .logo-img {
        height: 40px; /* Smaller on mobile */
        max-width: 150px;
    }
    
    footer .logo-img {
        height: 35px; /* Smaller footer logo on mobile */
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .logo .logo-img {
        height: 35px; /* Even smaller on very small screens */
        max-width: 120px;
    }
    
    footer .logo-img {
        height: 30px;
        max-width: 110px;
    }
}

/* Navigation - Legacy styles */
.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    margin: 0;
}

/* Header button specific styles - Gold/Silver */
.header .btn-primary {
    background: linear-gradient(135deg, var(--logo-gold-primary) 0%, var(--logo-gold-light) 100%);
    color: var(--pure-white);
    border-color: var(--logo-gold-primary);
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.9rem;
    min-height: 34px;
    font-weight: 600;
}

.header .btn-primary:hover {
    background: linear-gradient(135deg, var(--logo-gold-light) 0%, var(--logo-gold-primary) 100%);
    border-color: var(--logo-gold-primary);
    color: var(--pure-white);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    transform: translateY(-1px);
}

/* Mobile Navigation Responsive Styles */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-brand .logo-img {
        height: 40px;
        max-width: 150px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Move video to the back */
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-section {
    position: relative;
    z-index: 2;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
    background: var(--pure-white);
}

/* Dual Video Background for Hero Text Section */
.hero-text-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -2;
}

.hero-text-video-left,
.hero-text-video-right {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.hero-text-video-left video,
.hero-text-video-right video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark Overlay for Text Readability */
.hero-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 11, 11, 0.3);
    z-index: -1;
}

.hero-headline {
    font-size: var(--font-size-h1);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--pure-white);
}

.hero-subheadline {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: var(--pure-white);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero text section specific button styles */
.hero-text-section .btn-primary {
    background-color: #dc2626;
    border-color: #dc2626;
    color: var(--pure-white);
}

.hero-text-section .btn-primary:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
    color: var(--pure-white);
}

.hero-text-section .btn-secondary {
    background-color: #dc2626;
    border-color: #dc2626;
    color: var(--pure-white);
}

.hero-text-section .btn-secondary:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
    color: var(--pure-white);
}

/* Social Proof Section */
.social-proof {
    padding: var(--spacing-xl) 0;
    background-color: var(--logo-silver-light);
    text-align: center;
}

.social-proof-headline {
    margin-bottom: var(--spacing-xl);
    color: var(--logo-charcoal-dark);
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.client-logo-placeholder {
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--pure-white);
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: var(--medium-gray);
    font-size: var(--font-size-small);
}

/* Section Styles */
.section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    z-index: 5;
    background: var(--pure-white);
}

.section-headline {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subheadline {
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: var(--spacing-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Components */
.card {
    background-color: var(--pure-white);
    border-radius: 8px;
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px rgba(15, 11, 11, 0.1);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(15, 11, 11, 0.15);
}

/* Luxury Card Styles */
.luxury-card:hover {
    border-color: var(--logo-gold-primary) !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.luxury-card img {
    transition: all 0.4s ease;
}

.luxury-card:hover img {
    filter: grayscale(0%) !important;
    transform: scale(1.05);
}

/* Service Card Metal Styles */
.service-card-metal:hover {
    border-color: var(--logo-gold-primary) !important;
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), inset 0 -1px 0 rgba(0,0,0,0.2), 0 8px 25px rgba(0,0,0,0.3) !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(224,194,127,0.3) 50%, rgba(169,169,169,0.9) 100%) !important;
}

.btn-services-luxury:hover {
    background: linear-gradient(135deg, #E0C27F 0%, var(--logo-gold-primary) 100%) !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 5px 20px rgba(212, 175, 55, 0.4) !important;
}

.btn-waitlist-luxury:hover {
    background: linear-gradient(135deg, #E0C27F 0%, var(--logo-gold-primary) 100%) !important;
    color: #0f3460 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5) !important;
}

.btn-footer-luxury:hover {
    background: linear-gradient(135deg, #E0C27F 0%, var(--logo-gold-primary) 100%) !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4) !important;
}

/* Luxury Service Card Styles */
.luxury-service-card:hover {
    border-color: var(--logo-gold-primary) !important;
    transform: translateY(-5px);
    box-shadow: inset 0 2px 0 rgba(255,255,255,1), inset 0 -1px 0 rgba(0,0,0,0.1), 0 15px 40px rgba(212,175,55,0.15) !important;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(240,240,240,0.95) 50%, rgba(255,255,255,1) 100%) !important;
}

/* Business Card Styles */
.business-card-section {
    position: relative;
}

.business-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    perspective: 1200px;
    padding: 2rem 1rem;
}

.business-card {
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    aspect-ratio: 1.586; /* Standard business card aspect ratio (86mm x 54mm) */
    max-width: 350px;
    margin: 0 auto;
}

.business-card:focus {
    outline: 3px solid var(--logo-gold-primary);
    outline-offset: 4px;
    border-radius: 12px;
}

.card-face {
    /* Premium business card styling with luxury materials */
    background: linear-gradient(135deg, 
        #fafafa 0%, 
        #f8f8f8 25%, 
        #f5f5f5 50%, 
        #f8f8f8 75%, 
        #fafafa 100%);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.12),
        0 3px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transform: rotateX(0deg) rotateY(0deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Premium texture overlay */
.card-face::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
    pointer-events: none;
    border-radius: 10px;
}

/* Gold foil accent */
.card-face::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--logo-gold-primary) 20%, 
        var(--logo-gold-light) 50%, 
        var(--logo-gold-primary) 80%, 
        transparent 100%);
    border-radius: 12px 12px 0 0;
    opacity: 0.8;
}

/* Business card header styling */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.company-logo {
    flex-shrink: 0;
}

.logo-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--logo-gold-primary), var(--logo-gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    position: relative;
}

.logo-badge::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--logo-gold-primary), var(--logo-gold-light));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.company-info {
    flex: 1;
}

.company-name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #2F1B14;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.company-tagline {
    margin: 0;
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 0.3px;
    opacity: 0.9;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2F1B14;
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.service-description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    flex: 1;
}

.expanded-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(-10px);
}

.service-highlights {
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.highlight-item {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    padding-left: 0.5rem;
    position: relative;
}

.highlight-item::before {
    content: '•';
    color: var(--logo-gold-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Flat state - business cards laying on table */
.business-card:not(.picked-up) .card-face {
    transform: rotateX(8deg) rotateY(-3deg);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

/* Hover effect - slight lift indicating interactivity */
.business-card:not(.picked-up):hover .card-face {
    transform: rotateX(4deg) rotateY(-1deg) translateY(-8px);
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.2),
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Picked up state - card appears to be held up to view */
.business-card.picked-up .card-face {
    transform: rotateX(0deg) rotateY(0deg) translateY(-25px) scale(1.08);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.25),
        0 12px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    z-index: 10;
    border-color: rgba(212, 175, 55, 0.6);
}

/* Show expanded content when picked up */
.business-card.picked-up .expanded-content {
    opacity: 1;
    max-height: 150px;
    transform: translateY(0);
}

/* Stagger animation for business cards - natural scattered effect */
.business-card:nth-child(1) .card-face {
    transform: rotateX(6deg) rotateY(-4deg);
}

.business-card:nth-child(2) .card-face {
    transform: rotateX(9deg) rotateY(2deg);
}

.business-card:nth-child(3) .card-face {
    transform: rotateX(7deg) rotateY(-1deg);
}

.business-card:nth-child(4) .card-face {
    transform: rotateX(8deg) rotateY(3deg);
}

/* Responsive adjustments for business cards */
@media (max-width: 768px) {
    .business-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 320px;
        padding: 1rem;
    }
    
    .business-card {
        max-width: 300px;
    }
    
    .card-face {
        padding: 1.5rem;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .logo-badge {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .company-name {
        font-size: 0.85rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 0.85rem;
    }
    
    /* Reduce 3D effects on mobile for better performance */
    .business-card:not(.picked-up) .card-face {
        transform: translateY(0) rotateX(3deg);
    }
    
    .business-card.picked-up .card-face {
        transform: translateY(-15px) scale(1.04);
    }
    
    .business-card:nth-child(1) .card-face,
    .business-card:nth-child(2) .card-face,
    .business-card:nth-child(3) .card-face,
    .business-card:nth-child(4) .card-face {
        transform: rotateX(3deg) rotateY(0deg);
    }
}

/* Accessibility Features */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-green);
    color: var(--pure-white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 6px;
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Scroll State */
.header-scrolled {
    background-color: transparent;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

/* Header for non-homepage pages */
body:not(.homepage) .header {
    background-color: var(--logo-charcoal-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body:not(.homepage) .header .nav-link {
    color: var(--pure-white);
}

body:not(.homepage) .header .nav-link:hover {
    color: var(--logo-gold-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    transition: all var(--transition-fast);
}

body:not(.homepage) .mobile-menu-toggle span {
    background-color: var(--pure-white);
}

/* Form Error States */
.error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-lg { margin-top: var(--spacing-lg); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.pt-lg { padding-top: var(--spacing-lg); }
.pb-lg { padding-bottom: var(--spacing-lg); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-3xl { margin-bottom: var(--spacing-3xl); }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-lg { font-size: 1.125rem; }
.font-bold { font-weight: 700; }
.text-primary-green { color: var(--primary-green); }
.text-medium-gray { color: var(--medium-gray); }

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .client-logos {
        gap: var(--spacing-md);
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-section {
        min-height: 500px;
    }
    
    .hero-section-fixed {
        height: 70vh;
    }
    
    .hero-content-section-parallax {
        margin-top: 70vh; /* Adjust for smaller mobile hero video */
        padding: var(--spacing-lg) 0; /* Even more compact on mobile */
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    /* Mobile responsive hero text videos */
    .hero-text-video-container {
        flex-direction: column;
    }
    
    .hero-text-video-left,
    .hero-text-video-right {
        height: 50%;
    }
    
    .nav-brand .logo-img {
        height: 35px;
        max-width: 130px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
}

/* Extra small mobile responsive hero text videos */
@media (max-width: 768px) {
    .hero-text-video-container {
        flex-direction: column;
    }
    
    .hero-text-video-left,
    .hero-text-video-right {
        height: 50%;
    }
}

/* Sticky Stacking Cards Effect */
.sticky-cards-container {
    height: 80vh;
    overflow-y: auto;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: transparent;
    border-radius: 20px;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.sticky-cards-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.sticky-card {
    position: sticky;
    width: 100%;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

/* Fixed z-index - make sure last card is on top */
.sticky-card:nth-child(1) {
    top: 0;
    z-index: 1;
}

.sticky-card:nth-child(2) {
    top: 20px;
    z-index: 2;
}

.sticky-card:nth-child(3) {
    top: 40px;
    z-index: 3;
}

.sticky-card:nth-child(4) {
    top: 60px;
    z-index: 4;
}

.sticky-card:nth-child(5) {
    top: 80px;
    z-index: 100;
}

/* Add extra content to force scrolling within container */
.sticky-cards-container::after {
    content: '';
    display: block;
    height: 100vh;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    color: var(--logo-gold-primary);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}


.card-content {
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Black gradient background like contact page */
.sticky-card .card-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
    opacity: 1 !important;
}

/* Gold left border accent */
.sticky-card .card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--logo-gold-primary), #B8860B);
    box-shadow: 1px 0 3px rgba(0,0,0,0.3);
}

.sticky-card .stat-number {
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    color: #333;
}

.sticky-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--logo-gold-primary);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.sticky-card .stat-impact {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Card list styling */
.sticky-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.sticky-card li {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #C0C0C0;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
    justify-content: center;
}

.sticky-card li:before {
    content: "✓";
    color: var(--logo-gold-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sticky-card h3 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Fix dark text on CTA and center card content */
.sticky-card .card-cta-text {
    color: #C0C0C0 !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

/* Center all card content */
.sticky-card .card-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}

.stat-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.detail-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.card-cta {
    text-align: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.sticky-card-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sticky-card-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Hover effects for cards */
.sticky-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.sticky-card.is-sticking {
    transform: scale(0.95);
}

.sticky-card.is-active {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sticky-cards-container {
        min-height: 250vh;
        padding: 30px 0 60px;
    }
    
    .sticky-card {
        width: 95%;
        margin-bottom: 30px;
    }
    
    .sticky-card:nth-child(1) { top: 80px; }
    .sticky-card:nth-child(2) { top: 100px; }
    .sticky-card:nth-child(3) { top: 120px; }
    .sticky-card:nth-child(4) { top: 140px; }
    
    .card-content {
        padding: 2rem;
    }
    
    .card-number {
        font-size: 80px;
        top: -10px;
        right: 20px;
    }
    
    .sticky-card .stat-number {
        font-size: 3.5rem;
    }
    
    .sticky-card .stat-title {
        font-size: 1.8rem;
    }
    
    .sticky-card .stat-impact {
        font-size: 1.1rem;
    }
    
    .stat-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .detail-item {
        padding: 0.75rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .navbar,
    .hero-video,
    .hero-video-container,
    .hero-video-container-fixed,
    .hero-section-fixed,
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero,
    .hero-section {
        height: auto;
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .hero-content-section-parallax {
        background: var(--pure-white);
        color: var(--smoky-black);
        min-height: auto;
        margin-top: 0;
    }
    
    .hero-overlay,
    .hero-overlay-fixed {
        display: none;
    }
    
    .hero-content {
        color: var(--smoky-black);
    }
    
    .hero-title {
        color: var(--smoky-black);
    }
    
    .hero-subtitle {
        color: var(--smoky-black);
    }
}

/* Animated 3D Cube Background */
.animated-cube-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
    opacity: 0.3;
    perspective: 1000px;
    pointer-events: none;
}

.cube-grid {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(10, 1fr);
    gap: 10px;
    animation: gridRotate 30s linear infinite;
}

.animated-cube {
    width: 60px;
    height: 60px;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeFloat 4s ease-in-out infinite;
}

.animated-cube:nth-child(2n) {
    animation-delay: -1s;
    animation-duration: 5s;
}

.animated-cube:nth-child(3n) {
    animation-delay: -2s;
    animation-duration: 3.5s;
}

.animated-cube:nth-child(5n) {
    animation-delay: -1.5s;
    animation-duration: 4.5s;
}

.animated-cube:nth-child(7n) {
    animation-delay: -0.5s;
    animation-duration: 6s;
}

.cube-face {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(147, 112, 219, 0.3);
    backdrop-filter: blur(2px);
}

.cube-face.front {
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.4), rgba(75, 0, 130, 0.6));
    transform: rotateY(0deg) translateZ(30px);
}

.cube-face.back {
    background: linear-gradient(45deg, rgba(72, 61, 139, 0.4), rgba(106, 90, 205, 0.6));
    transform: rotateY(180deg) translateZ(30px);
}

.cube-face.right {
    background: linear-gradient(45deg, rgba(123, 104, 238, 0.4), rgba(147, 112, 219, 0.6));
    transform: rotateY(90deg) translateZ(30px);
}

.cube-face.left {
    background: linear-gradient(45deg, rgba(106, 90, 205, 0.4), rgba(138, 43, 226, 0.6));
    transform: rotateY(-90deg) translateZ(30px);
}

.cube-face.top {
    background: linear-gradient(45deg, rgba(147, 112, 219, 0.5), rgba(75, 0, 130, 0.7));
    transform: rotateX(90deg) translateZ(30px);
}

.cube-face.bottom {
    background: linear-gradient(45deg, rgba(25, 25, 112, 0.5), rgba(72, 61, 139, 0.7));
    transform: rotateX(-90deg) translateZ(30px);
}

/* Cube Animations */
@keyframes cubeFloat {
    0%, 100% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateY(0px);
    }
    25% {
        transform: rotateX(90deg) rotateY(45deg) rotateZ(15deg) translateY(-20px);
    }
    50% {
        transform: rotateX(180deg) rotateY(90deg) rotateZ(30deg) translateY(10px);
    }
    75% {
        transform: rotateX(270deg) rotateY(135deg) rotateZ(45deg) translateY(-10px);
    }
}

@keyframes gridRotate {
    0% {
        transform: rotateZ(0deg) translateX(0px) translateY(0px);
    }
    25% {
        transform: rotateZ(90deg) translateX(50px) translateY(-30px);
    }
    50% {
        transform: rotateZ(180deg) translateX(0px) translateY(50px);
    }
    75% {
        transform: rotateZ(270deg) translateX(-50px) translateY(-30px);
    }
    100% {
        transform: rotateZ(360deg) translateX(0px) translateY(0px);
    }
}

/* Glowing effect for random cubes */
.animated-cube:nth-child(7n) .cube-face {
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.6), 
                inset 0 0 15px rgba(255, 255, 255, 0.1);
    animation: glow 3s ease-in-out infinite alternate;
}

.animated-cube:nth-child(11n) .cube-face {
    box-shadow: 0 0 15px rgba(123, 104, 238, 0.6), 
                inset 0 0 15px rgba(255, 255, 255, 0.1);
    animation: glow 2.5s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .animated-cube {
        width: 40px;
        height: 40px;
    }
    
    .cube-face {
        width: 40px;
        height: 40px;
    }
    
    .cube-face.front,
    .cube-face.back {
        transform: rotateY(0deg) translateZ(20px);
    }
    
    .cube-face.back {
        transform: rotateY(180deg) translateZ(20px);
    }
    
    .cube-face.right {
        transform: rotateY(90deg) translateZ(20px);
    }
    
    .cube-face.left {
        transform: rotateY(-90deg) translateZ(20px);
    }
    
    .cube-face.top {
        transform: rotateX(90deg) translateZ(20px);
    }
    
    .cube-face.bottom {
        transform: rotateX(-90deg) translateZ(20px);
    }
    
    .cube-grid {
        grid-template-columns: repeat(15, 1fr);
        grid-template-rows: repeat(8, 1fr);
    }
}