/* CSS Variables for Easy Color Management */
:root {
    /* Primary Brand Colors */
    --color-primary: #a855f7;
    --color-primary-dark: #9333ea;
    --color-secondary: #6366f1;
    --color-secondary-dark: #4f46e5;

    /* Background Colors */
    --color-bg-dark: #000;
    --color-bg-medium: #111;
    --color-bg-light: #222;
    --color-bg-lighter: #333;

    /* Text Colors */
    --color-text-primary: #fff;
    --color-text-secondary: #ccc;
    --color-text-muted: #888;

    /* Border Colors */
    --color-border-dark: #333;
    --color-border-light: #444;

    /* Accent Colors */
    --color-error: #ff4444;
    --color-error-dark: #cc3333;

    /* Opacity Values for Overlays */
    --overlay-primary: rgba(168, 85, 247, 0.3);
    --overlay-primary-light: rgba(168, 85, 247, 0.2);
    --overlay-primary-glow: rgba(168, 85, 247, 0.4);

    /* Chromatic Aberration RGB Offset - Prismatic */
    --chroma-offset: 2.5px;
}

/* Film Grain Overlay */
@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

/* Chromatic Aberration with Warping and Animated Film Grain */
@keyframes chromatic-aberration {
    0% {
        text-shadow:
            /* Red - warping right */
            3px -0.5px 3px rgba(255, 0, 0, 0.35),
            3.5px 0 4px rgba(255, 50, 50, 0.3),
            /* Orange - right */
            2.8px 0.5px 3px rgba(255, 127, 0, 0.3),
            /* Yellow - bottom right */
            2.5px 1px 3px rgba(255, 255, 0, 0.28),
            /* Cyan - bottom left */
            -2.5px 1px 3px rgba(0, 255, 255, 0.3),
            /* Blue - warping left */
            -3px 0 4px rgba(80, 180, 255, 0.35),
            -3.5px -0.5px 3px rgba(80, 180, 255, 0.3),
            /* Violet - top left */
            -2.8px -1px 3px rgba(150, 50, 255, 0.28),
            /* Film grain (animated) */
            0.3px 0.4px 1px rgba(255, 255, 255, 0.08),
            -0.4px -0.3px 1px rgba(0, 0, 0, 0.1);
    }
    25% {
        text-shadow:
            /* Warping intensifies */
            4px -1px 4px rgba(255, 0, 0, 0.4),
            4.5px 0.5px 5px rgba(255, 50, 50, 0.35),
            3.2px 1px 4px rgba(255, 127, 0, 0.32),
            3px 1.5px 4px rgba(255, 255, 0, 0.3),
            -3px 1.5px 4px rgba(0, 255, 255, 0.32),
            -4px 0.5px 5px rgba(80, 180, 255, 0.4),
            -4.5px -1px 4px rgba(80, 180, 255, 0.35),
            -3.2px -1.5px 4px rgba(150, 50, 255, 0.3),
            /* Film grain shifted */
            -0.3px 0.5px 1px rgba(255, 255, 255, 0.06),
            0.5px -0.3px 1px rgba(0, 0, 0, 0.08);
    }
    50% {
        text-shadow:
            /* Maximum warp */
            4.5px -1.5px 5px rgba(255, 0, 0, 0.42),
            5px 0 6px rgba(255, 50, 50, 0.38),
            3.5px 1.5px 5px rgba(255, 127, 0, 0.35),
            3.2px 2px 5px rgba(255, 255, 0, 0.32),
            -3.2px 2px 5px rgba(0, 255, 255, 0.35),
            -4.5px 0 6px rgba(80, 180, 255, 0.42),
            -5px -1.5px 5px rgba(80, 180, 255, 0.38),
            -3.5px -2px 5px rgba(150, 50, 255, 0.32),
            /* Film grain */
            0.4px -0.3px 1px rgba(255, 255, 255, 0.07),
            -0.3px 0.4px 1px rgba(0, 0, 0, 0.09);
    }
    75% {
        text-shadow:
            /* Warping decreasing */
            3.5px -1px 4px rgba(255, 0, 0, 0.38),
            4px 0.5px 5px rgba(255, 50, 50, 0.33),
            3px 1px 4px rgba(255, 127, 0, 0.3),
            2.8px 1.5px 4px rgba(255, 255, 0, 0.28),
            -2.8px 1.5px 4px rgba(0, 255, 255, 0.3),
            -3.5px 0.5px 5px rgba(80, 180, 255, 0.38),
            -4px -1px 4px rgba(80, 180, 255, 0.33),
            -3px -1.5px 4px rgba(150, 50, 255, 0.28),
            /* Film grain shifted */
            -0.4px -0.4px 1px rgba(255, 255, 255, 0.065),
            0.4px 0.3px 1px rgba(0, 0, 0, 0.085);
    }
    100% {
        text-shadow:
            /* Back to start */
            3px -0.5px 3px rgba(255, 0, 0, 0.35),
            3.5px 0 4px rgba(255, 50, 50, 0.3),
            2.8px 0.5px 3px rgba(255, 127, 0, 0.3),
            2.5px 1px 3px rgba(255, 255, 0, 0.28),
            -2.5px 1px 3px rgba(0, 255, 255, 0.3),
            -3px 0 4px rgba(80, 180, 255, 0.35),
            -3.5px -0.5px 3px rgba(80, 180, 255, 0.3),
            -2.8px -1px 3px rgba(150, 50, 255, 0.28),
            /* Film grain */
            0.3px 0.4px 1px rgba(255, 255, 255, 0.08),
            -0.4px -0.3px 1px rgba(0, 0, 0, 0.1);
    }
}

@keyframes chromatic-glow {
    0% {
        box-shadow:
            /* Red - warping right */
            4px -1px 7px rgba(255, 80, 80, 0.25),
            5px 0 8px rgba(255, 80, 80, 0.22),
            /* Orange - right */
            4.5px 1px 7px rgba(255, 165, 80, 0.23),
            /* Yellow - bottom right */
            4px 2px 6px rgba(255, 200, 50, 0.2),
            /* Cyan - bottom left */
            -4px 2px 6px rgba(80, 255, 255, 0.23),
            /* Blue - warping left */
            -5px 0 8px rgba(80, 180, 255, 0.25),
            -4px -1px 7px rgba(80, 180, 255, 0.22),
            /* Violet - top left */
            -4.5px -2px 7px rgba(150, 50, 255, 0.2),
            /* Film grain (animated) */
            0.8px 0.8px 2px rgba(255, 255, 255, 0.04),
            -0.8px -0.8px 2px rgba(0, 0, 0, 0.05),
            0 0 35px var(--overlay-primary-glow),
            inset 0 0 100px rgba(0, 0, 0, 0.1);
    }
    25% {
        box-shadow:
            /* Warping intensifies */
            5px -2px 9px rgba(255, 80, 80, 0.3),
            6px 0.5px 10px rgba(255, 80, 80, 0.27),
            5.5px 1.5px 9px rgba(255, 165, 80, 0.28),
            5px 3px 8px rgba(255, 200, 50, 0.25),
            -5px 3px 8px rgba(80, 255, 255, 0.28),
            -6px 0.5px 10px rgba(80, 180, 255, 0.3),
            -5px -2px 9px rgba(80, 180, 255, 0.27),
            -5.5px -3px 9px rgba(150, 50, 255, 0.25),
            /* Film grain shifted */
            -0.7px 0.9px 2px rgba(255, 255, 255, 0.03),
            0.9px -0.7px 2px rgba(0, 0, 0, 0.04),
            0 0 38px var(--overlay-primary-glow),
            inset 0 0 100px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow:
            /* Maximum warp */
            6px -3px 11px rgba(255, 80, 80, 0.32),
            7px 0 12px rgba(255, 80, 80, 0.3),
            6px 2px 10px rgba(255, 165, 80, 0.3),
            5.5px 4px 9px rgba(255, 200, 50, 0.28),
            -5.5px 4px 9px rgba(80, 255, 255, 0.3),
            -7px 0 12px rgba(80, 180, 255, 0.32),
            -6px -3px 11px rgba(80, 180, 255, 0.3),
            -6px -4px 10px rgba(150, 50, 255, 0.28),
            /* Film grain */
            0.9px -0.8px 2px rgba(255, 255, 255, 0.035),
            -0.8px 0.9px 2px rgba(0, 0, 0, 0.045),
            0 0 42px var(--overlay-primary-glow),
            inset 0 0 100px rgba(0, 0, 0, 0.1);
    }
    75% {
        box-shadow:
            /* Warping decreasing */
            5px -2px 9px rgba(255, 80, 80, 0.28),
            6px 0.5px 10px rgba(255, 80, 80, 0.25),
            5.5px 1.5px 9px rgba(255, 165, 80, 0.26),
            5px 3px 8px rgba(255, 200, 50, 0.23),
            -5px 3px 8px rgba(80, 255, 255, 0.26),
            -6px 0.5px 10px rgba(80, 180, 255, 0.28),
            -5px -2px 9px rgba(80, 180, 255, 0.25),
            -5.5px -3px 9px rgba(150, 50, 255, 0.23),
            /* Film grain shifted */
            -0.9px -0.9px 2px rgba(255, 255, 255, 0.033),
            0.8px 0.8px 2px rgba(0, 0, 0, 0.043),
            0 0 38px var(--overlay-primary-glow),
            inset 0 0 100px rgba(0, 0, 0, 0.1);
    }
    100% {
        box-shadow:
            /* Back to start */
            4px -1px 7px rgba(255, 80, 80, 0.25),
            5px 0 8px rgba(255, 80, 80, 0.22),
            4.5px 1px 7px rgba(255, 165, 80, 0.23),
            4px 2px 6px rgba(255, 200, 50, 0.2),
            -4px 2px 6px rgba(80, 255, 255, 0.23),
            -5px 0 8px rgba(80, 180, 255, 0.25),
            -4px -1px 7px rgba(80, 180, 255, 0.22),
            -4.5px -2px 7px rgba(150, 50, 255, 0.2),
            /* Film grain */
            0.8px 0.8px 2px rgba(255, 255, 255, 0.04),
            -0.8px -0.8px 2px rgba(0, 0, 0, 0.05),
            0 0 35px var(--overlay-primary-glow),
            inset 0 0 100px rgba(0, 0, 0, 0.1);
    }
}

/* Unified Hover Effects - Full Spectrum Prismatic */
.chroma-text-hover:hover {
    text-shadow:
        2.5px 0 2px rgba(255, 0, 0, 0.7),
        2px 0 2px rgba(255, 127, 0, 0.6),
        1.2px 0 2px rgba(255, 255, 0, 0.5),
        0.5px 0 2px rgba(0, 255, 0, 0.4),
        -0.5px 0 2px rgba(0, 255, 255, 0.5),
        -1.2px 0 2px rgba(0, 127, 255, 0.6),
        -2px 0 2px rgba(127, 0, 255, 0.6),
        -2.5px 0 2px rgba(255, 0, 255, 0.5);
}

.chroma-box-hover:hover {
    box-shadow:
        0 10px 30px var(--overlay-primary-glow),
        3px 0 4px rgba(255, 0, 0, 0.6),
        2.5px 0 4px rgba(255, 127, 0, 0.5),
        1.5px 0 3px rgba(255, 255, 0, 0.45),
        0.5px 0 3px rgba(0, 255, 0, 0.4),
        -0.5px 0 3px rgba(0, 255, 255, 0.45),
        -1.5px 0 3px rgba(0, 127, 255, 0.5),
        -2.5px 0 4px rgba(127, 0, 255, 0.5),
        -3px 0 4px rgba(255, 0, 255, 0.45);
}

.chroma-border-hover:hover {
    border-color: var(--color-primary);
    box-shadow:
        3px 0 4px rgba(255, 0, 0, 0.6),
        2.5px 0 4px rgba(255, 127, 0, 0.5),
        1.5px 0 3px rgba(255, 255, 0, 0.45),
        0.5px 0 3px rgba(0, 255, 0, 0.4),
        -0.5px 0 3px rgba(0, 255, 255, 0.45),
        -1.5px 0 3px rgba(0, 127, 255, 0.5),
        -2.5px 0 4px rgba(127, 0, 255, 0.5),
        -3px 0 4px rgba(255, 0, 255, 0.45);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--color-bg-dark);
    position: relative;
}

/* Film Grain Effect */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200vh;
    background: transparent url('data:image/svg+xml;utf8,<svg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>') repeat;
    background-size: 200px 200px;
    opacity: 0.03;
    pointer-events: none;
    animation: grain 8s steps(10) infinite;
    z-index: 9999;
    mix-blend-mode: overlay;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo a {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.nav-logo .logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary);
    text-shadow:
        /* Red - top right */
        1.5px -0.5px 1px rgba(255, 80, 80, 0.22),
        /* Orange - right */
        2px 0 1px rgba(255, 165, 80, 0.2),
        /* Yellow - bottom right */
        1.5px 0.5px 1px rgba(255, 200, 50, 0.2),
        /* Green - bottom */
        0 1px 1px rgba(80, 255, 80, 0.18),
        /* Cyan - bottom left */
        -1.5px 0.5px 1px rgba(80, 255, 255, 0.2),
        /* Blue - left */
        -2px 0 1px rgba(80, 180, 255, 0.22),
        /* Violet - top left */
        -1.5px -0.5px 1px rgba(150, 50, 255, 0.2),
        /* Magenta - top */
        0 -1px 1px rgba(255, 80, 200, 0.18),
        /* Film grain */
        0.3px 0.3px 0.5px rgba(255, 255, 255, 0.04),
        -0.3px -0.3px 0.5px rgba(0, 0, 0, 0.05);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    list-style: none;
    padding: 1rem 0;
    min-width: 200px;
    border-radius: 5px;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid var(--color-primary);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--color-primary);
    color: var(--color-text-primary);
    padding-left: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-bg-dark);
    margin-top: 80px;
}

@media (max-width: 768px) {
    .hero {
        height: 40vh;
        min-height: auto;
        aspect-ratio: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 35vh;
        min-height: auto;
        aspect-ratio: auto;
    }
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-dark);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.hero-fallback-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-overlay-content {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    width: 100%;
    padding: 0 20px;
    pointer-events: none;
}

.hero-overlay-content .btn {
    pointer-events: auto;
}

.hero-logo-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text-primary);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.hero-logo-title:hover {
    animation: chromatic-aberration 0.3s ease-in-out;
}

.hero-logo-img {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.8));
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Legacy hero styles for backwards compatibility */
.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-text-primary);
    position: relative;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary-dark));
    transform: translateY(-2px);
    animation: chromatic-glow 2s ease-in-out infinite;
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-text-primary);
}

.btn-secondary:hover {
    background: var(--color-text-primary);
    color: var(--color-bg-dark);
}

/* Unmute Button */
.unmute-btn {
    position: relative;
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-text-primary);
    border: 2px solid var(--color-primary);
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    margin-top: 2rem;
}

.unmute-btn svg {
    width: 24px;
    height: 24px;
}

.unmute-btn:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

/* Hero Buttons Section Below Reel */
.hero-buttons-section {
    padding: 40px 0;
    background: var(--color-bg-dark);
    text-align: center;
}

.hero-buttons-section .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


/* Services Section */
.services {
    padding: 100px 0;
    background: var(--color-bg-medium);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
    grid-auto-rows: 1fr;
}

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

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

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

.service-card {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border-dark);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    height: 100%;
    min-width: 0;
    width: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 10px 30px var(--overlay-primary-glow),
        /* Red - top right */
        4px -2px 6px rgba(255, 80, 80, 0.25),
        /* Orange - right */
        5px 0 6px rgba(255, 165, 80, 0.22),
        /* Yellow - bottom right */
        4px 2px 5px rgba(255, 200, 50, 0.2),
        /* Green - bottom */
        0 4px 5px rgba(80, 255, 80, 0.18),
        /* Cyan - bottom left */
        -4px 2px 5px rgba(80, 255, 255, 0.2),
        /* Blue - left */
        -5px 0 6px rgba(80, 180, 255, 0.25),
        /* Violet - top left */
        -4px -2px 6px rgba(150, 50, 255, 0.22),
        /* Magenta - top */
        0 -4px 5px rgba(255, 80, 200, 0.2),
        /* Film grain texture */
        1px 1px 2px rgba(255, 255, 255, 0.03),
        -1px -1px 2px rgba(0, 0, 0, 0.04);
}

.service-card:hover h3 {
    text-shadow:
        /* Red - top right */
        3px -1px 2px rgba(255, 80, 80, 0.3),
        /* Orange - right */
        3.5px 0 2px rgba(255, 165, 80, 0.28),
        /* Yellow - bottom right */
        3px 1px 2px rgba(255, 200, 50, 0.28),
        /* Green - bottom */
        0 2px 2px rgba(80, 255, 80, 0.25),
        /* Cyan - bottom left */
        -3px 1px 2px rgba(80, 255, 255, 0.28),
        /* Blue - left */
        -3.5px 0 2px rgba(80, 180, 255, 0.3),
        /* Violet - top left */
        -3px -1px 2px rgba(150, 50, 255, 0.28),
        /* Magenta - top */
        0 -2px 2px rgba(255, 80, 200, 0.25),
        /* Film grain */
        0.5px 0.5px 1px rgba(255, 255, 255, 0.05),
        -0.5px -0.5px 1px rgba(0, 0, 0, 0.06);
}

.service-icon {
    width: 100%;
    flex-shrink: 0;
}

.service-icon img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--color-text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.service-card p {
    flex-grow: 1;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.services-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-detail {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--color-primary);
}

.service-detail-link {
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-detail-link:hover {
    background: #222;
    transform: translateX(5px);
    box-shadow:
        3px 0 4px rgba(255, 80, 80, 0.5),
        -3px 0 4px rgba(80, 180, 255, 0.45),
        1.5px 0 3px rgba(255, 200, 50, 0.35),
        -1.5px 0 3px rgba(150, 50, 255, 0.35);
}

.service-detail-link:hover h4 {
    text-shadow:
        2px 0 2px rgba(255, 80, 80, 0.6),
        -2px 0 2px rgba(80, 180, 255, 0.5),
        1px 0 2px rgba(255, 200, 50, 0.4),
        -1px 0 2px rgba(150, 50, 255, 0.4);
}

.service-detail h4 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.service-detail p {
    color: var(--color-text-secondary);
}

/* Work Section - Scrolling Grid Carousel */
.work {
    padding: 100px 0;
    background: var(--color-bg-dark);
    overflow: hidden;
}

.work-carousel-container {
    position: relative;
    margin: 0 auto;
}

.work-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 1fr);
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-light);
    padding: 1rem 0 2rem 0;
    scroll-snap-type: x mandatory;
}

/* BTS Carousel - Center Focus Style */
.bts-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
    overflow-x: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.bts-carousel .work-item {
    flex-shrink: 0;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.6);
    filter: blur(3px);
    display: none;
}

.bts-carousel .work-item.center {
    display: block;
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 10;
    width: 500px;
    max-width: 50%;
}

.bts-carousel .work-item.side {
    display: block;
    opacity: 0.4;
    transform: scale(0.65);
    filter: blur(2px);
    width: 320px;
    max-width: 30%;
    cursor: pointer;
}

.bts-carousel .work-item.center {
    cursor: zoom-in;
}

/* Terra Carousel - Center Focus Style */
.terra-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    overflow-x: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

.terra-carousel .work-item {
    flex-shrink: 0;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.6);
    filter: blur(3px);
    display: none;
}

.terra-carousel .work-item.center {
    display: block;
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 10;
    width: 700px;
    max-width: 60%;
}

.terra-carousel .work-item.side {
    display: block;
    opacity: 0.4;
    transform: scale(0.6);
    filter: blur(2px);
    width: 250px;
    max-width: 20%;
    cursor: pointer;
}

.terra-carousel .work-item.center {
    cursor: zoom-in;
}

/* Meadowlark Carousel - Center Focus Style */
.meadowlark-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    overflow-x: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

.meadowlark-carousel .work-item {
    flex-shrink: 0;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.6);
    filter: blur(3px);
    display: none;
}

.meadowlark-carousel .work-item.center {
    display: block;
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 10;
    width: 700px;
    max-width: 60%;
}

.meadowlark-carousel .work-item.side {
    display: block;
    opacity: 0.4;
    transform: scale(0.6);
    filter: blur(2px);
    width: 250px;
    max-width: 20%;
    cursor: pointer;
}

.meadowlark-carousel .work-item.center {
    cursor: zoom-in;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 40px;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--color-primary);
}

.work-carousel::-webkit-scrollbar {
    height: 8px;
}

.work-carousel::-webkit-scrollbar-track {
    background: var(--color-bg-light);
    border-radius: 10px;
}

.work-carousel::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

.work-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16/9;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow:
        0 10px 30px var(--overlay-primary-glow),
        /* Red - top right */
        4px -2px 6px rgba(255, 80, 80, 0.25),
        /* Orange - right */
        5px 0 6px rgba(255, 165, 80, 0.22),
        /* Yellow - bottom right */
        4px 2px 5px rgba(255, 200, 50, 0.2),
        /* Green - bottom */
        0 4px 5px rgba(80, 255, 80, 0.18),
        /* Cyan - bottom left */
        -4px 2px 5px rgba(80, 255, 255, 0.2),
        /* Blue - left */
        -5px 0 6px rgba(80, 180, 255, 0.25),
        /* Violet - top left */
        -4px -2px 6px rgba(150, 50, 255, 0.22),
        /* Magenta - top */
        0 -4px 5px rgba(255, 80, 200, 0.2),
        /* Film grain texture */
        1px 1px 2px rgba(255, 255, 255, 0.03),
        -1px -1px 2px rgba(0, 0, 0, 0.04);
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: var(--color-text-primary);
    padding: 2rem;
    transform: translateY(0);
    transition: opacity 0.3s ease;
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: text-shadow 0.3s ease;
}

.work-item:hover .work-overlay h3 {
    text-shadow:
        /* Red - top right */
        3px -1px 2px rgba(255, 80, 80, 0.3),
        /* Orange - right */
        3.5px 0 2px rgba(255, 165, 80, 0.28),
        /* Yellow - bottom right */
        3px 1px 2px rgba(255, 200, 50, 0.28),
        /* Green - bottom */
        0 2px 2px rgba(80, 255, 80, 0.25),
        /* Cyan - bottom left */
        -3px 1px 2px rgba(80, 255, 255, 0.28),
        /* Blue - left */
        -3.5px 0 2px rgba(80, 180, 255, 0.3),
        /* Violet - top left */
        -3px -1px 2px rgba(150, 50, 255, 0.28),
        /* Magenta - top */
        0 -2px 2px rgba(255, 80, 200, 0.25),
        /* Film grain */
        0.5px 0.5px 1px rgba(255, 255, 255, 0.05),
        -0.5px -0.5px 1px rgba(0, 0, 0, 0.06);
}

.work-overlay p {
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--color-text-primary);
    border: 2px solid var(--color-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-btn:hover {
    background: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow:
        /* Red - top right */
        4px -2px 6px rgba(255, 80, 80, 0.25),
        /* Orange - right */
        5px 0 6px rgba(255, 165, 80, 0.22),
        /* Yellow - bottom right */
        4px 2px 5px rgba(255, 200, 50, 0.2),
        /* Green - bottom */
        0 4px 5px rgba(80, 255, 80, 0.18),
        /* Cyan - bottom left */
        -4px 2px 5px rgba(80, 255, 255, 0.2),
        /* Blue - left */
        -5px 0 6px rgba(80, 180, 255, 0.25),
        /* Violet - top left */
        -4px -2px 6px rgba(150, 50, 255, 0.22),
        /* Magenta - top */
        0 -4px 5px rgba(255, 80, 200, 0.2),
        /* Film grain texture */
        1px 1px 2px rgba(255, 255, 255, 0.03),
        -1px -1px 2px rgba(0, 0, 0, 0.04),
        0 0 35px var(--overlay-primary-glow);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Carousel Dots - Hidden for scrolling grid */
.carousel-dots {
    display: none;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--color-bg-medium);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-description {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    color: var(--color-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--color-text-secondary);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--color-bg-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--color-text-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border-dark);
}

.contact-item strong {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border-dark);
    border-radius: 5px;
    transition: all 0.3s ease;
}

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

.contact-form {
    background: var(--color-bg-medium);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border-dark);
    border-radius: 5px;
    color: var(--color-text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

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

/* Footer */
.footer {
    padding: 2rem 0;
    background: var(--color-bg-medium);
    border-top: 1px solid var(--color-border-dark);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-text-secondary);
}

.footer-logo img {
    height: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .work-carousel {
        grid-auto-columns: minmax(280px, 1fr);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-prev {
        left: 5px;
    }

    .carousel-next {
        right: 5px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-logo-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }

    .hero-overlay-content {
        bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-text .btn {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: fit-content;
    }

    .about-stats {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .services-details {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-logo-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .hero-overlay-content {
        bottom: 20px;
    }

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

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Page Hero (for individual service pages) */
.page-hero {
    position: relative;
    width: 100vw;
    height: auto;
    aspect-ratio: 1920 / 816;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

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

.page-hero iframe.hero-video {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, var(--overlay-primary) 100%);
    z-index: -1;
}

.page-hero .hero-content {
    text-align: center;
    color: var(--color-text-primary);
    z-index: 1;
    padding: 0 20px;
}

.page-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero .hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    display: none;
}

/* Page Content Section */
.page-content {
    padding: 100px 0;
    background: var(--color-bg-dark);
}

.content-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.content-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Vimeo Video Showcase Styles */
.work-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.video-showcase {
    background: var(--color-bg-light);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--color-border-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-showcase:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 30px var(--overlay-primary-glow),
        /* Red - top right */
        4px -2px 6px rgba(255, 80, 80, 0.25),
        /* Orange - right */
        5px 0 6px rgba(255, 165, 80, 0.22),
        /* Yellow - bottom right */
        4px 2px 5px rgba(255, 200, 50, 0.2),
        /* Green - bottom */
        0 4px 5px rgba(80, 255, 80, 0.18),
        /* Cyan - bottom left */
        -4px 2px 5px rgba(80, 255, 255, 0.2),
        /* Blue - left */
        -5px 0 6px rgba(80, 180, 255, 0.25),
        /* Violet - top left */
        -4px -2px 6px rgba(150, 50, 255, 0.22),
        /* Magenta - top */
        0 -4px 5px rgba(255, 80, 200, 0.2),
        /* Film grain texture */
        1px 1px 2px rgba(255, 255, 255, 0.03),
        -1px -1px 2px rgba(0, 0, 0, 0.04);
}

.video-container {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
}

.vimeo-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Default 16:9, will be overridden by JS */
}

.vimeo-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-info {
    padding: 2rem;
}

.video-info h3 {
    color: var(--color-text-primary);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-info p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive adjustments for video grid */
@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.content-intro p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--color-bg-medium);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments for page hero */
@media (max-width: 768px) {
    .page-hero {
        height: 250px;
        aspect-ratio: auto;
        padding-top: 0;
        margin-top: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .page-hero iframe.hero-video {
        top: 0;
        height: 100%;
    }

    .page-hero .hero-content {
        padding: 0 20px;
    }

    .page-hero .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .page-hero .hero-subtitle {
        font-size: 1rem;
    }

    .content-intro h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        height: 200px;
        aspect-ratio: auto;
        padding-top: 0;
        margin-top: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .page-hero iframe.hero-video {
        top: 0;
        height: 100%;
    }

    .page-hero .hero-content {
        padding: 0 20px;
    }

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

    .content-intro h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }
}
/* About Page Styles */
.about-philosophy {
    max-width: 900px;
    margin: 4rem auto;
    text-align: center;
}

.about-philosophy h3 {
    font-size: 2rem;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-philosophy p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

/* Team Section */
.team-section {
    margin-top: 6rem;
}

.team-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    background: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--color-border-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 30px var(--overlay-primary-glow),
        4px -2px 6px rgba(255, 80, 80, 0.25),
        5px 0 6px rgba(255, 165, 80, 0.22),
        4px 2px 5px rgba(255, 200, 50, 0.2),
        0 4px 5px rgba(80, 255, 80, 0.18),
        -4px 2px 5px rgba(80, 255, 255, 0.2),
        -5px 0 6px rgba(80, 180, 255, 0.25),
        -4px -2px 6px rgba(150, 50, 255, 0.22),
        0 -4px 5px rgba(255, 80, 200, 0.2);
}

.team-member-image {
    flex-shrink: 0;
    width: 400px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-member-info {
    flex: 1;
}

.team-member-info h3 {
    font-size: 1.8rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-role {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.team-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* About Services Section */
.about-services {
    margin-top: 6rem;
}

.about-services h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--color-border-dark);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--overlay-primary-glow);
}

.service-item h4 {
    font-size: 1.3rem;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-item p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* About Contact Section */
.about-contact {
    margin-top: 6rem;
    text-align: center;
}

.about-contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-detail-item {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--color-border-dark);
}

.contact-detail-item h4 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail-item p {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.contact-detail-item a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail-item a:hover {
    color: var(--color-primary);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .team-member {
        flex-direction: column;
        gap: 2rem;
    }

    .team-member-image {
        width: 100%;
        height: 300px;
        margin: 0 auto;
    }

    .team-section h2,
    .about-services h2,
    .about-contact h2 {
        font-size: 2rem;
    }

    .services-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .team-member {
        padding: 1.5rem;
    }

    .team-member-info h3 {
        font-size: 1.5rem;
    }

    .about-philosophy h3 {
        font-size: 1.6rem;
    }
}

/* Constructive Interference Carousel */
.constructive-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 2rem;
    overflow: visible;
}

.constructive-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    overflow: visible;
}

.constructive-carousel .work-item {
    display: none;
    flex-shrink: 0;
    transition: all 0.5s ease;
    border-radius: 8px;
    overflow: hidden;
}

.constructive-carousel .work-item.center {
    display: block;
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 10;
    width: 700px;
    max-width: 60%;
}

.constructive-carousel .work-item.side {
    display: block;
    opacity: 0.4;
    transform: scale(0.6);
    filter: blur(2px);
    width: 250px;
    max-width: 20%;
    cursor: pointer;
}

.constructive-carousel .work-item.side:hover {
    opacity: 0.7;
    transform: scale(0.65);
}

.constructive-carousel .work-item img {
    width: 100%;
    height: auto;
    display: block;
}

.constructive-carousel .work-item.center img {
    cursor: zoom-in;
}
