/* ==========================================================================
   DESIGN TOKENS & RESET
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg: #06050b;
    --color-surface: rgba(15, 12, 28, 0.55);
    --color-surface-hover: rgba(25, 21, 45, 0.7);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.2);

    --color-text-primary: #f4f4f7;
    --color-text-secondary: #9aa0b0;
    --color-text-muted: #646a78;

    /* Neon Accent Colors */
    --color-blue: #2563eb;
    --color-blue-glow: rgba(37, 99, 235, 0.35);
    --color-cyan: #06b6d4;
    --color-cyan-glow: rgba(6, 182, 212, 0.35);
    --color-orange: #f97316;
    --color-orange-glow: rgba(249, 115, 22, 0.35);

    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-hero: 'Syne', sans-serif;

    /* Animations */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: auto;
    /* Handled by Lenis */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    border: 2px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-blue);
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    transition: width 0.3s var(--ease-out-expo),
        height 0.3s var(--ease-out-expo),
        background-color 0.3s var(--ease-out-expo),
        border-color 0.3s var(--ease-out-expo);
}

#custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
}

#custom-cursor .cursor-text {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #000;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}

/* Cursor States */
#custom-cursor.hovering {
    width: 56px;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

#custom-cursor.view-mode {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-color: #fff;
}

#custom-cursor.view-mode .cursor-text {
    opacity: 1;
    transform: scale(1);
}

#custom-cursor.play-mode {
    width: 85px;
    height: 85px;
    background-color: var(--color-blue);
    border-color: var(--color-blue);
    box-shadow: 0 0 20px var(--color-blue-glow);
}

#custom-cursor.play-mode .cursor-text {
    color: #fff;
    opacity: 1;
    transform: scale(1);
}

/* Hide cursor on touch devices */
@media (pointer: coarse) {

    #custom-cursor,
    #custom-cursor-dot {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }
}

/* ==========================================================================
   CANVAS BACKGROUND & UTILITIES
   ========================================================================== */
#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 50%, var(--color-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
    display: inline-block;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.floating-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2.2rem;
    background: rgba(10, 8, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s, background-color 0.3s;
}

.floating-nav:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(10, 8, 20, 0.7);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    cursor: pointer;
    user-select: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-fast);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-border-hover);
    color: #fff;
}

/* Hamburger Icon Animation */
.hamburger-bar {
    position: absolute;
    width: 18px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: transform 0.4s var(--ease-out-expo), background-color 0.3s;
}

.bar-top {
    transform: translateY(-4px);
}

.bar-bottom {
    transform: translateY(4px);
}

/* Hamburger Active State */
.menu-open .bar-top {
    transform: translateY(0) rotate(45deg);
}

.menu-open .bar-bottom {
    transform: translateY(0) rotate(-45deg);
}

/* Audio Toast */
.audio-toast {
    position: fixed;
    top: 7rem;
    right: 5%;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid var(--color-blue);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.4rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 1001;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-primary);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out-expo), opacity 0.4s;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.audio-toast.active {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   FULLSCREEN MENU OVERLAY
   ========================================================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #06050b;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: circle(0% at 90% 5%);
    transition: clip-path 0.85s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

.menu-overlay.active {
    clip-path: circle(150% at 90% 5%);
    pointer-events: auto;
}

/* Animated Menu Background Gradient */
.menu-bg-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s, background 0.8s ease;
    pointer-events: none;
}

.menu-overlay.active .menu-bg-accent {
    opacity: 0.08;
}

.menu-container {
    width: 90%;
    max-width: 1200px;
    height: 85%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    padding-top: 5rem;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.menu-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    transition: color 0.3s;
    position: relative;
    padding: 0.3rem 0;
}

.menu-link .link-num {
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    font-family: var(--font-body);
    font-weight: 400;
    margin-right: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s;
}

.menu-link .link-text {
    position: relative;
    overflow: hidden;
}

.menu-link .link-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out-expo);
}

/* Hover States for Menu Links */
.menu-link:hover {
    color: var(--color-text-primary);
}

.menu-link:hover .link-num {
    transform: translateY(-3px);
    color: var(--color-text-primary);
}

.menu-link:hover .link-text::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Specific Accent colors on link hover */
.menu-link[data-accent="blue"]:hover .link-text::after {
    background: var(--color-blue);
}

.menu-link[data-accent="cyan"]:hover .link-text::after {
    background: var(--color-cyan);
}

.menu-link[data-accent="orange"]:hover .link-text::after {
    background: var(--color-orange);
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.menu-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.menu-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.social-row {
    display: flex;
    gap: 1.5rem;
}

.social-row a,
.email-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.social-row a:hover,
.email-link:hover {
    color: #fff;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 5% 7rem 5%;
    z-index: 2;
    overflow: hidden;
}

.hero-content {
    max-width: 1100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.badge-container {
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-title {
    font-family: var(--font-body);
    font-size: clamp(2.2rem, 7.5vw, 6.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.title-row {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.3vw, 1.2rem);
    font-weight: 300;
    color: var(--color-text-secondary);
    max-width: 760px;
    line-height: 1.6;
    margin-bottom: 3.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Hero Video Grid */
.hero-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1100px;
}

.hero-video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9/16;
    border: 1px solid var(--color-border);
    background: #000;
    transition: var(--transition-smooth);
    transform: scale(.8);
}

.hero-video-wrapper iframe {
    transform: scale(1);
}


@media (max-width: 768px) {
    .hero-video-wrapper {
        transform: scale(1);
        width: 80%;
        margin: 0 auto;
        aspect-ratio: 1/1;
    }

    .hero-video-wrapper iframe {
        transform: scale(1.8);
    }

    .hero-video-grid {
        grid-template-columns: 1fr;
    }
}



.video-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(10, 8, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    pointer-events: none;
}

/* Buttons */
.btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 1.1rem 2.4rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    background: var(--color-blue);
    color: #fff;
    box-shadow: 0 10px 30px var(--color-blue-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.8rem;
}

.btn i {
    width: 16px;
    height: 16px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-text-muted);
    cursor: pointer;
    user-select: none;
}

.scroll-text {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.scroll-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
    width: 100%;
    padding: 8rem 5%;
    position: relative;
    z-index: 2;
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

.about-image-wrap {
    position: relative;
    width: 100%;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 28px;
    border: 1px solid var(--color-border);
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-image-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    background: radial-gradient(circle, var(--color-blue) 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0.22;
    z-index: -1;
    pointer-events: none;
}

.about-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-paragraphs p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   WORK / CATEGORIES SECTION
   ========================================================================== */
.work-section {
    width: 100%;
    padding: 8rem 5%;
    position: relative;
    z-index: 2;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-header.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.subtitle-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-blue);
    display: block;
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-desc {
    color: var(--color-text-secondary);
    max-width: 420px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.max-w-md {
    max-width: 550px;
}

/* Works Grid */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

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

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.work-card-wrapper {
    perspective: 1000px;
    width: 100%;
}

.work-card {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    transform-style: preserve-3d;
    transition: border-color 0.4s var(--ease-out-expo),
        box-shadow 0.4s var(--ease-out-expo);
    cursor: pointer;
}

.work-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.work-card[data-theme="blue"]:hover {
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.work-card[data-theme="cyan"]:hover {
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.15);
}

.work-card[data-theme="orange"]:hover {
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.15);
}

/* Category card background image overlay */
.work-card-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    transform: translateZ(-20px);
    transition: opacity 0.5s var(--ease-out-expo), scale 0.5s var(--ease-out-expo);
}

.work-card:hover .work-card-img-bg {
    opacity: 0.35;
    scale: 1.05;
}

.work-card-content {
    position: relative;
    z-index: 2;
    transform: translateZ(30px);
}

.card-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    color: #fff;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.2rem;
}

.card-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.card-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition-smooth);
}

.work-card:hover .card-btn {
    background: #fff;
    color: #000;
    transform: rotate(45deg);
}

/* ==========================================================================
   PHOTO SLIDER SECTION
   ========================================================================== */
.slider-section {
    width: 100%;
    padding: 6rem 5%;
    position: relative;
    z-index: 2;
}

.photo-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 3rem;
}

.photo-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE */
}

.photo-slider::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.slider-card {
    flex: 0 0 320px;
    aspect-ratio: 3/4;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid var(--color-border);
    background: #000;
    transition: border-color 0.3s;
}

.slider-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: scale 0.5s, filter 0.5s;
}

.slider-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.slider-card:hover img {
    scale: 1.05;
    filter: grayscale(0%);
}

.slider-arrows {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.slider-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* ==========================================================================
   AI YOUTUBE VIDEOS SECTION
   ========================================================================== */
.results-section {
    width: 100%;
    padding: 8rem 5%;
    position: relative;
    z-index: 2;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

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

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

.video-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.video-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.video-thumbnail-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #000;
    border-bottom: 1px solid var(--color-border);
}

.video-thumbnail-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.5s var(--ease-out-expo);
}

.video-card:hover .video-thumbnail-wrap img {
    scale: 1.05;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s var(--ease-out-expo);
}

.video-card:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay i {
    width: 20px;
    height: 20px;
    fill: currentColor;
    margin-left: 2px;
}

.video-details {
    padding: 1.8rem;
}

.video-details h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.video-category {
    font-size: 0.8rem;
    color: var(--color-blue);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Modal Styling */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 3, 8, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo);
}

.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.video-modal-close:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.video-modal-container {
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.video-iframe-wrapper {
    width: 100%;
    height: 100%;
}

.video-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   BESPOKE PRODUCTION SECTION
   ========================================================================== */
.bespoke-section {
    width: 100%;
    padding: 8rem 5%;
    position: relative;
    z-index: 2;
}

.bespoke-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

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

.bespoke-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s var(--ease-out-expo);
}

.bespoke-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.bespoke-image-wrap {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #000;
    border-bottom: 1px solid var(--color-border);
}

.bespoke-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.6s var(--ease-out-expo);
}

.bespoke-card:hover .bespoke-image-wrap img {
    scale: 1.04;
}

.bespoke-info {
    padding: 2.5rem;
}

.category-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
}

.bespoke-info h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
}

/* ==========================================================================
   INFINITE MARQUEE ROW
   ========================================================================== */
.marquee-section {
    width: 100%;
    padding: 4rem 0;
    overflow: hidden;
    background: #050409;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 2;
    position: relative;
}

.marquee-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    text-align: center;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.marquee-content {
    display: flex;
    gap: 6rem;
    animation: marquee 120s linear infinite;
}

.marquee-content img {
    height: 65px;
    object-fit: contain;
    filter: grayscale(100%) brightness(160%);
    opacity: 0.65;
    transition: opacity 0.3s, filter 0.3s;
}

.marquee-content img:hover {
    opacity: 0.95;
    filter: grayscale(0%) brightness(100%);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   INTERACTIVE PLAYGROUND SECTION
   ========================================================================== */
.playground-section {
    width: 100%;
    padding: 8rem 5%;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 8, 20, 0.4) 100%);
}

/* Synth Widget */
.synth-container {
    background: rgba(18, 16, 28, 0.4);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.synth-keyboard {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .synth-keyboard {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
}

.synth-key {
    height: 160px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-text-secondary);
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}

.synth-key::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--color-blue);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-out-expo);
}

.synth-key:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.synth-key.active {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--color-blue);
    box-shadow: inset 0 0 20px rgba(37, 99, 235, 0.2), 0 0 15px rgba(37, 99, 235, 0.25);
    color: #fff;
    transform: scale(0.96);
}

.synth-key.active::before {
    transform: scaleX(1);
}

.note-label {
    font-size: 0.95rem;
    font-weight: 600;
}

.synth-display {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    text-align: center;
}

.display-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-blue);
}

/* Physics Sandbox Widget */
.physics-sandbox {
    background: rgba(18, 16, 28, 0.4);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.sandbox-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--color-cyan);
}

.physics-sandbox canvas {
    width: 100%;
    height: 380px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    cursor: crosshair;
}

.sandbox-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    width: 100%;
    padding: 8rem 5%;
    position: relative;
    z-index: 2;
}

.contact-grid-row {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .contact-grid-row {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-details-box {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 3.5rem;
    width: 100%;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 1.2rem 1.6rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: var(--transition-fast);
}

a.contact-detail-item:hover {
    border-color: var(--color-blue);
    color: #fff;
    background: rgba(37, 99, 235, 0.06);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.05);
}

.contact-detail-item i {
    width: 22px;
    height: 22px;
    color: var(--color-blue);
    flex-shrink: 0;
}

.contact-form-wrap {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .contact-form-wrap {
        padding: 2rem 1.5rem;
    }
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
    text-transform: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 12px var(--color-blue-glow);
}

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

.w-full {
    width: 100%;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-section {
    width: 100%;
    padding: 6rem 5% 3rem 5%;
    background: #040307;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-tagline {
    color: var(--color-text-secondary);
    max-width: 320px;
    line-height: 1.6;
}

.easter-hint {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.easter-hint i {
    width: 14px;
    height: 14px;
}

.footer-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links a i {
    width: 12px;
    height: 12px;
    opacity: 0.5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.status-bar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.status-bar .divider {
    color: rgba(255, 255, 255, 0.15);
}

.status-bar strong {
    color: var(--color-text-secondary);
}

/* ==========================================================================
   HIDDEN MATRIX EASTER EGG (ACTIVATED VIA KEYBOARD)
   ========================================================================== */
body.matrix-mode {
    animation: matrixFlash 0.5s ease-out;
}

body.matrix-mode::before {
    content: 'MATRIX MODE ENGAGED';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 8vw, 8rem);
    color: rgba(34, 197, 94, 0.15);
    z-index: 1;
    pointer-events: none;
    letter-spacing: 0.1em;
}

body.matrix-mode .text-gradient {
    background: linear-gradient(135deg, #22c55e 0%, #4ade80 50%, #15803d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.matrix-mode .btn-primary {
    background: #22c55e;
    color: #000;
}

body.matrix-mode .btn-primary:hover {
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5);
}

body.matrix-mode #custom-cursor {
    border-color: #22c55e;
}

body.matrix-mode #custom-cursor.play-mode {
    background-color: #22c55e;
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

@keyframes matrixFlash {
    0% {
        background-color: #22c55e;
    }

    100% {
        background-color: var(--color-bg);
    }
}

/* ==========================================================================
   SUBPAGE LAYOUTS & STYLES (NEW STYLES)
   ========================================================================== */
.subpage-hero {
    min-height: 50vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 5% 4rem 5%;
    z-index: 2;
    overflow: hidden;
    text-align: center;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--color-blue-glow) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.subpage-title {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 6.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-top: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Services Filtering Tabs */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover,
.tab-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.tab-btn.active {
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.service-detail-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-detail-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-5px);
    background: var(--color-surface-hover);
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    color: var(--color-blue);
}

.service-detail-card:hover .service-icon-wrap {
    background: var(--color-blue);
    color: #fff;
    border-color: var(--color-blue);
    box-shadow: 0 0 20px var(--color-blue-glow);
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.6rem;
}

.service-features li i {
    width: 14px;
    height: 14px;
    color: var(--color-cyan);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 3, 7, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-out-expo);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    background: #fff;
    color: #000;
}

/* Photo Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    border: 1px solid var(--color-border);
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #fff;
}

.gallery-info span {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.gallery-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials / Feedback Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.testimonial-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    border-color: var(--color-border-hover);
    background: var(--color-surface-hover);
    transform: translateY(-5px);
}

.rating-stars {
    color: #fbbf24;
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-blue);
}

.author-meta h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.author-meta span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Dark Iframe Map Wrap */
.map-iframe-container {
    width: 100%;
    height: 450px;
    border-radius: 28px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    filter: invert(90%) hue-rotate(180deg) grayscale(80%) contrast(120%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-top: 5rem;
    z-index: 2;
    position: relative;
}

/* Quote Wizard Page */
.quote-wizard {
    max-width: 750px;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    z-index: 2;
    overflow: hidden;
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, var(--color-cyan), var(--color-blue));
    z-index: 2;
    transition: width 0.4s var(--ease-out-expo);
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #110e20;
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    position: relative;
    z-index: 3;
    transition: var(--transition-fast);
}

.progress-step.active {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.progress-step.completed {
    border-color: var(--color-blue);
    background: var(--color-blue);
    color: #fff;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.step-panel {
    display: none;
    animation: fadeSlideIn 0.5s var(--ease-out-expo);
}

.step-panel.active {
    display: block;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

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

    .quote-wizard {
        padding: 2rem 1.5rem;
    }
}

.checkbox-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.checkbox-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.checkbox-card.selected {
    border-color: var(--color-cyan);
    background: rgba(6, 182, 212, 0.06);
}

.checkbox-card input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-cyan);
    cursor: pointer;
}

.checkbox-card-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.checkbox-card-info p {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* Success Panel animation container */
.success-panel {
    text-align: center;
    padding: 2rem 0;
}

.success-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    font-size: 2rem;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    animation: successPulse 1.5s infinite alternate;
}

@keyframes successPulse {
    from {
        transform: scale(0.95);
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
    }

    to {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
    }
}

/* Navigation active link style */
.menu-link.active-page {
    color: var(--color-text-primary);
}

.menu-link.active-page .link-text::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Video Hover Cards for Services */
.case-study-card {
    display: block;
    text-decoration: none;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
    height: 100%;
}

.case-study-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-5px);
    background: var(--color-surface-hover);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.media-holder {
    position: relative;
    overflow: hidden;
    aspect-ratio: 9/16;
    background: #000;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 316.05%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.case-study-card.has-hover-video:hover .thumb-img {
    opacity: 0;
}

.case-study-card:hover .video-container {
    opacity: 1;
}

.case-study-card h6.h8 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 0.5rem;
    transition: color 0.3s;
}

.case-study-card:hover h6.h8 {
    color: var(--color-cyan);
}

/* Global AI Assistant Popup Styles */
.assistant-chat-bubble {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 99999;
    display: flex;
    gap: 1.2rem;
    max-width: 380px;
    padding: 1.5rem;
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.5s var(--ease-out-expo);
    cursor: pointer;
}

.assistant-chat-bubble.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.assistant-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: var(--transition-fast);
}

.assistant-close:hover {
    color: #fff;
}

.assistant-avatar {
    flex-shrink: 0;
}

.assistant-avatar-inner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.assistant-avatar-inner i {
    width: 24px;
    height: 24px;
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #25d366;
    border: 2px solid rgba(15, 15, 15, 0.9);
}

.assistant-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.assistant-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.assistant-message {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin: 0;
}

.assistant-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    margin-top: 0.5rem;
    transition: var(--transition-smooth);
}

.assistant-btn:hover {
    background: #128c7e;
    box-shadow: 0 5px 20px rgba(18, 140, 126, 0.5);
    transform: translateY(-2px);
}

.assistant-btn i {
    width: 14px;
    height: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .assistant-chat-bubble {
        left: 20px;
        right: 20px;
        bottom: 80px;
        /* Float above mobile bottom contact bar */
        max-width: none;
        padding: 1.2rem;
    }
}

/* Service Badges on Gallery/Video Cards */
.gallery-card,
.video-card {
    position: relative;
}

.service-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    padding: 0.4rem 0.9rem;
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-blue);
    letter-spacing: 0.05em;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
}

/* Lightbox & Video Modal Service Info Panels */
.lightbox-service-info,
.video-service-info {
    display: none;
    /* Controlled via JS */
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #fff;
    width: 100%;
}

.lightbox-service-name,
.video-service-name {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.lightbox-service-name strong,
.video-service-name strong {
    color: #fff;
    font-weight: 700;
}

.lightbox-service-btn,
.video-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem !important;
    font-size: 0.8rem !important;
    border-radius: 50px !important;
    background: var(--color-blue) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 5px 15px var(--color-blue-glow) !important;
    transition: var(--transition-smooth) !important;
    color: #f1f1f1;
    text-decoration: none;
}

.lightbox-service-btn:hover,
.video-service-btn:hover {
    background: var(--color-cyan) !important;
    color: #000 !important;
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.4) !important;
    transform: translateY(-2px);
}

/* Specific styling for video modal page alignment */
.video-service-info {
    max-width: 960px;
    box-sizing: border-box;
}

@media (max-width: 768px) {

    .lightbox-service-info,
    .video-service-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
        padding: 0.8rem;
    }
}

/* ==========================================================================
   COMBINED PAGES STYLES (EXTRACTED FROM HTML FILES)
   ========================================================================== */

/* 1. Videos Page Custom Styles */
.video-modal {
    flex-direction: column;
}

/* 2. Category Detail Custom Styles */
.hero-banner-accent {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(144, 0, 255, 0.05) 100%);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 30px;
    padding: 4rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

@media (max-width: 900px) {
    .hero-banner-accent {
        flex-direction: column;
        padding: 2.5rem;
        text-align: center;
    }

}

.hero-banner-content {
    max-width: 650px;
}

.hero-banner-visual {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

@media (max-width: 900px) {

    .hero-banner-visual {
        display: none;
    }
}


.visual-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-cyan);
    filter: blur(40px);
    opacity: 0.15;
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    from {
        transform: scale(0.9);
        opacity: 0.1;
    }

    to {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

/* 3. Services Page Custom Styles */
.hero-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.hero-video-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    aspect-ratio: 4/3;
}

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

.cat-card-anchor {
    text-decoration: none;
    display: block;
}

.cat-card-anchor figure {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    margin-bottom: 1rem;
    background: #000;
}

.cat-card-anchor figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.cat-card-anchor:hover figure img {
    transform: scale(1.08);
}

.cat-card-anchor h6.h8 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff !important;
    margin-top: 0.5rem;
    transition: color 0.3s;
}

.cat-card-anchor:hover h6.h8 {
    color: var(--color-cyan);
}

/* 4. Service Details Common Styles */
.product-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .portrait-video-wrapper {
        width: 85% !important;
        margin: 0 auto;
    }
}

.portrait-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 9/16;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    background: #000;
}

.portrait-video-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 316.05%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.benefit-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    height: 100%;
}

.benefit-card:hover {
    border-color: var(--color-cyan);
    background: var(--color-surface-hover);
    transform: translateY(-5px);
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    color: var(--color-cyan);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

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

.vertical-gallery-card {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    cursor: pointer;
    background: #111;
    width: 100%;
}

.vertical-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.vertical-gallery-card:hover img {
    transform: scale(1.08);
}

.faq-accordion-item {
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 0;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.faq-icon {
    color: var(--color-cyan);
    transition: transform 0.3s;
}

.faq-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.faq-content-inner {
    padding-top: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.faq-accordion-item.active .faq-icon {
    transform: rotate(180deg);
}

.bento-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .bento-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .bento-features {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .bento-card {
        padding: 1.6rem;
    }
}

.bento-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.bento-card:hover {
    border-color: var(--color-border-hover);
    background: var(--color-surface-hover);
}

.bento-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.bento-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Swiper Controls Custom Styling */
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-cyan) !important;
    transform: scale(0.6);
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    background: var(--color-cyan) !important;
    opacity: 1 !important;
}

/* WhatsApp & Quick Contact Grid Custom Styles */
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: #fff;
    box-shadow: 0 10px 30px rgba(18, 140, 126, 0.5);
    transform: translateY(-3px);
}

.quick-contact-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
}

.quick-contact-container .btn {
    justify-content: center;
}

@media (max-width: 480px) {
    .quick-contact-container .btn {
        width: 100% !important;
    }
}

/* Autoplay AI Results Section Video Swiper Overrides */
.video-swiper-container .video-container {
    opacity: 1 !important;
}

.video-swiper-container .thumb-img {
    opacity: 0 !important;
}

/* 5. Before/After Comparer Styles */
.image-comparer {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    background: #111;
    user-select: none;
}

.image-comparer img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    display: block;
}

.image-comparer .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    z-index: 2;
    border-right: 2px solid var(--color-cyan);
}

.image-comparer .overlay img {
    width: 100%;
    height: 100%;
    max-width: none;
}

.image-comparer .slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
    margin: 0;
}

.image-comparer .slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-cyan);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
}

/* ==========================================================================
   LANGUAGE SWITCHER
   ========================================================================== */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

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

.lang-btn {
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: 0.1rem 0.5rem;
    border-radius: 15px;
    transition: var(--transition-smooth);
    line-height: 1.4;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    color: #000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 400;
    user-select: none;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #07070a;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
}

.preloader-bar-wrap {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    opacity: 0;
}

.preloader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
    box-shadow: 0 0 10px var(--color-cyan);
}

.preloader-percentage {
    font-family: var(--font-body);
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    letter-spacing: -0.05em;
    line-height: 1;
    opacity: 0;
}

/* Prevent GSAP Flash of Unstyled Content (FOUC) */
.hero-reveal-1 {
    opacity: 0;
    transform: translateY(15px);
}

.hero-reveal-2 {
    opacity: 0;
    transform: translateY(30px);
}

.hero-reveal-3 {
    opacity: 0;
    transform: translateY(30px);
}

.hero-reveal-4 {
    opacity: 0;
    transform: translateY(30px);
}

.hero-reveal-5 {
    opacity: 0;
    transform: translateY(20px);
}

.hero-reveal-6 {
    opacity: 0;
    transform: translateY(30px);
}

.floating-nav {
    opacity: 0;
    transform: translate(-50%, -40px);
}

/* ==========================================================================
   FLOATING CONTACT DOCK (FAB) - STATIC LAYOUT
   ========================================================================== */
.contact-dock {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
}

.desktop-dock-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.dock-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(15, 12, 28, 0.85);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.dock-btn i {
    width: 24px;
    height: 24px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-btn:hover {
    transform: scale(1.15) translateY(-5px);
}

.dock-btn:hover i {
    transform: scale(1.1);
}

/* Colors & glows */
.dock-btn.whatsapp {
    border-color: #25D366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.dock-btn.whatsapp i {
    color: #25D366;
}

.dock-btn.whatsapp:hover {
    background: #25D366;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.7);
    border-color: #25D366;
}

.dock-btn.whatsapp:hover i {
    color: #fff;
}

.dock-btn.phone {
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.dock-btn.phone i {
    color: var(--color-cyan);
}

.dock-btn.phone:hover {
    background: var(--color-cyan);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.7);
    border-color: var(--color-cyan);
}

.dock-btn.phone:hover i {
    color: #000;
}

.dock-btn.mail {
    border-color: var(--color-blue);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

.dock-btn.mail i {
    color: var(--color-blue);
}

.dock-btn.mail:hover {
    background: var(--color-blue);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.7);
    border-color: var(--color-blue);
}

.dock-btn.mail:hover i {
    color: #fff;
}

/* Hide mobile widgets on desktop */
.mobile-contact-bar,
.mobile-whatsapp-fab {
    display: none !important;
}

/* ==========================================================================
   MOBILE DOCK RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {

    /* Hide desktop dock on mobile */
    .contact-dock {
        display: none !important;
    }

    /* Sticky Bottom Mobile Bar */
    .mobile-contact-bar {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: rgba(10, 8, 20, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 2000;
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
    }

    .bar-btn {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        color: #fff;
        text-decoration: none;
        font-family: var(--font-body);
        font-size: 0.95rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .bar-btn.phone {
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }

    .bar-btn.phone i {
        color: var(--color-cyan);
        width: 18px;
        height: 18px;
    }

    .bar-btn.instagram i {
        color: #ee2a7b;
        width: 18px;
        height: 18px;
    }

    .bar-btn:active {
        background: rgba(255, 255, 255, 0.05);
    }

    /* Separate Mobile WhatsApp FAB (placed above the sticky bar) */
    .mobile-whatsapp-fab {
        display: flex !important;
        position: fixed;
        bottom: 75px;
        /* Sits 15px above the 60px sticky bottom bar */
        right: 1.25rem;
        width: 54px;
        height: 54px;
        border-radius: 50%;
        background: #25D366;
        color: #fff;
        justify-content: center;
        align-items: center;
        z-index: 2000;
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
        text-decoration: none;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .mobile-whatsapp-fab i {
        width: 24px;
        height: 24px;
    }

    /* Pulsing effect for WhatsApp FAB to catch attention */
    .whatsapp-pulse {
        position: absolute;
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        border-radius: 50%;
        border: 1px solid #25D366;
        opacity: 0.8;
        animation: waPulse 2.2s infinite;
        pointer-events: none;
    }
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

/* ==========================================================================
   AI DETAY SAYFASI EKLEMELERİ (Simülatör, Süreç Timeline, Diğer Hizmetler)
   ========================================================================== */

/* 1. AI Stil Simülatörü Stilleri */
.simulator-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
}

.simulator-btn:hover {
    background: var(--color-surface-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.simulator-btn.active {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.btn-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.simulator-btn.active .btn-indicator {
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
}

.btn-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.btn-style-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    transition: var(--transition-smooth);
}

.btn-style-summary {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
}

.simulator-btn.active .btn-style-title {
    color: var(--color-cyan);
}

/* Lazer Tarama Efekti */
@keyframes scanEffect {
    0% {
        top: 0%;
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.scanner-line.scanning {
    display: block;
    animation: scanEffect 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* 2. Timeline / Nasıl Çalışır? Adım Stilleri */
.timeline-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    transition: var(--transition-smooth);
}

.timeline-step:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    background: var(--color-surface-hover);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* 3. Diğer Popüler Hizmetlerimiz Kart Stilleri */
.other-service-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 2.2rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.other-service-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    background: var(--color-surface-hover);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.other-service-card:hover .arrow-wrap {
    color: var(--color-cyan) !important;
    transform: translate(3px, -3px);
}

/* Responsive Düzenler */
@media (max-width: 900px) {
    .simulator-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .timeline-container {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .timeline-step {
        max-width: 380px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .other-services-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Portrait YouTube Videos in Fancybox Lightbox */
.fancybox__content.has-youtube {
    max-width: 450px !important;
    aspect-ratio: 9 / 16 !important;
    width: 100% !important;
    height: auto !important;
}

.has-map .fancybox__content,
.has-pdf .fancybox__content,
.has-youtube .fancybox__content,
.has-vimeo .fancybox__content,
.has-html5video .fancybox__content {
    height: 80vh !important;
}

/* ==========================================================================
   MINIMAL MOBILE STYLING OVERRIDES (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {

    /* Global Typography & Spacing */
    :root {
        --spacing-lg: 3rem;
        --spacing-md: 1.5rem;
    }

    body {
        font-size: 0.9rem !important;
    }

    section,
    .work-section,
    .about-section,
    .slider-section,
    .bespoke-section,
    .results-section,
    .contact-section {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    .section-header {
        margin-bottom: 2rem !important;
        gap: 0.5rem !important;
    }

    .section-title {
        font-size: clamp(1.4rem, 7vw, 1.8rem) !important;
        line-height: 1.25 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .subtitle-tag {
        font-size: 0.75rem !important;
        letter-spacing: 0.15em !important;
    }

    .section-desc {
        font-size: 0.9rem !important;
        margin-top: 0.5rem !important;
        max-width: 100% !important;
    }

    /* Subpage Hero Banner Adjustments */
    .subpage-hero {
        min-height: auto !important;
        padding-top: 7.5rem !important;
        padding-bottom: 2rem !important;
    }

    .subpage-title {
        font-size: clamp(1.6rem, 6.5vw, 2.2rem) !important;
        line-height: 1.2 !important;
        text-align: left !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    /* Buttons */
    .btn {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.85rem !important;
        height: auto !important;
    }

    .button-row {
        gap: 0.75rem !important;
    }

    /* Grids Conversion: 2 Columns on Mobile */
    .gallery-grid,
    .videos-grid,
    .other-services-grid,
    .checkbox-grid,
    .bespoke-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem !important;
        margin-top: 2rem !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .gallery-grid .service-detail-card {
        padding: 1rem !important;
    }

    /* Category / Case Study Cards */
    .case-study-card {
        border-radius: 16px !important;
        padding: .5rem !important;
    }

    .case-study-card .media-holder {
        border-radius: 12px !important;
    }

    .case-study-card h6,
    .case-study-card .h8 {
        font-size: 0.85rem !important;
        margin-top: 0.5rem !important;
        line-height: 1.3 !important;
        padding: 0 0.25rem !important;
    }

    /* Gallery Cards */
    .gallery-card {
        border-radius: 16px !important;
    }

    .gallery-overlay {
        padding: 0.75rem !important;
    }

    .gallery-info h4 {
        font-size: 0.8rem !important;
    }

    .gallery-info span {
        font-size: 0.7rem !important;
    }

    .gallery-icon {
        width: 28px !important;
        height: 28px !important;
    }

    .gallery-icon i {
        width: 12px !important;
        height: 12px !important;
    }

    .service-badge {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.5rem !important;
        top: 8px !important;
        left: 8px !important;
        text-wrap: nowrap;
        max-width: 87%;
        text-overflow: ellipsis;

        text-overflow: ellipsis;
        overflow: hidden;

        white-space: nowrap;

    }

    /* Video Cards */
    .video-card {
        border-radius: 16px !important;
    }

    .video-card.magnetic-tilt .video-details {
        display: none;
    }

    .video-thumbnail-wrap {
        border-radius: 12px !important;
    }


    .video-details {
        padding: 0.75rem !important;
    }

    .video-details h4 {
        font-size: 0.85rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.3 !important;
    }

    .video-category {
        font-size: 0.7rem !important;
    }

    .play-overlay i {
        width: 16px !important;
        height: 16px !important;
    }

    /* Bespoke Cards */
    .bespoke-card {
        border-radius: 18px !important;
    }

    .bespoke-info {
        padding: 1rem !important;
    }

    .bespoke-info h3 {
        font-size: 0.95rem !important;
        margin-top: 0.4rem !important;
        line-height: 1.3 !important;
    }

    .category-tag {
        font-size: 0.65rem !important;
        padding: 0.15rem 0.4rem !important;
    }

    /* Checkbox Cards */
    .checkbox-card {
        padding: 0.85rem !important;
        border-radius: 12px !important;
        gap: 0.5rem !important;
    }

    .checkbox-card span {
        font-size: 0.8rem !important;
    }

    .checkbox-custom {
        width: 16px !important;
        height: 16px !important;
    }

    /* Before/After Comparer on Mobile */
    .image-comparer {
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 4/5 !important;
    }

    .compare-swiper {
        padding: 1rem 0.5rem 3rem 0.5rem !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    /* Other Services Grid Adjustment */
    .other-service-card {
        padding: 1.25rem !important;
        border-radius: 16px !important;
    }

    .other-service-card h3 {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }

    .other-service-card p {
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
    }

    /* Contact & Form Details */
    .contact-grid-row {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .quick-contact-container {
        margin-top: 1.5rem !important;
        gap: 0.5rem !important;
    }

    .contact-form-wrap {
        padding: 2rem 1.5rem !important;
        border-radius: 20px !important;
    }
}

/* Custom Fancybox Caption & Overlap Prevention */
.fancybox__slide {
    padding-bottom: 90px !important;
}

.fancybox__caption {
    background: rgba(15, 12, 28, 0.85) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    padding: 1rem 1.5rem !important;
    color: #fff !important;
    z-index: 99 !important;
    margin-top: 14px !important;
}

.fancybox-custom-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.lightbox-service-info,
.video-service-info {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.lightbox-service-name,
.video-service-name {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

@media (max-width: 576px) {
    .fancybox__slide {
        padding-bottom: 130px !important;
    }

    .lightbox-service-info,
    .video-service-info {
        flex-direction: column !important;
        gap: 0rem !important;
        margin-top: 0 !important;
    }
}