/* ==========================================================================
   Symbol VFX Studios - Premium Design System & Stylesheet
   ========================================================================== */

/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* CSS Variables for Clean Customization */
:root {
    --bg-primary: #050608; /* Deeper obsidian black */
    --bg-secondary: #0c0e12; /* Sleek slate grey suite color */
    --bg-tertiary: #141720;
    --accent-primary: #ffd700; /* Brighter Gold */
    --accent-secondary: #ff9f00; /* Vibrant Amber */
    --accent-glow: rgba(255, 215, 0, 0.12);
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #050608;
    --border-color: #1a1e27;
    --border-glow: rgba(255, 215, 0, 0.25);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1280px;
    --header-height: 80px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Typography & Big Premium VFX Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons & CTA */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-dark);
    border: none;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.25);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.45);
}

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

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
}

.btn-outline:hover {
    border-color: transparent;
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-outline:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--accent-primary);
    padding: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.btn-link:hover::after {
    transform: translateX(5px);
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 14px;
    background: linear-gradient(to right, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 16px;
    position: relative;
    background: linear-gradient(135deg, #ffffff 60%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.25;
}

.section-title span {
    background: linear-gradient(to right, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    white-space: nowrap;
}

/* Navigation Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1000;
    border-bottom: none;
    transition: background var(--transition-normal), height var(--transition-normal), border var(--transition-normal), backdrop-filter var(--transition-normal), -webkit-backdrop-filter var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background: rgba(10, 12, 16, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: transform var(--transition-normal);
}

.logo:hover .logo-img {
    transform: rotate(360deg);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 750;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #ffffff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    color: var(--accent-primary);
    -webkit-text-fill-color: initial;
}

.logo-subtext {
    font-family: var(--font-heading);
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    font-weight: 600;
}

.footer .logo-text {
    font-size: 18px;
}

.footer .logo-subtext {
    font-size: 9px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent-primary);
}

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

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    position: absolute;
    left: 0;
    transition: all var(--transition-fast);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Hero Section with Video Background */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    filter: brightness(1.1) contrast(1.05); /* Increase exposure/pop */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: radial-gradient(circle at center, transparent 45%, rgba(5, 6, 8, 0.7) 90%),
                linear-gradient(to bottom, rgba(5, 6, 8, 0.15) 0%, var(--bg-primary) 98%);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    padding: 0 24px;
    margin-top: calc(var(--header-height) / 2);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpHero 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

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

.hero-title {
    font-size: clamp(40px, 7vw, 90px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 40%, var(--text-muted) 80%, rgba(255,255,255,0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: linear-gradient(to right, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
    font-weight: 800;
}

.hero-desc {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-showreel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-showreel-btn .icon-play {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* About Us Section */
.about-grid {
    display: block;
    max-width: 860px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-badge {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-secondary);
    border: 1px solid var(--accent-secondary);
    background: rgba(0, 255, 135, 0.05);
    padding: 6px 16px;
    border-radius: 50px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--accent-secondary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.about-lead {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.about-text {
    font-size: 16px;
    color: var(--text-muted);
}

.about-nda-box {
    background: rgba(25, 30, 40, 0.4);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 4px;
    border-left: 4px solid var(--accent-primary);
}

.about-nda-title {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-visual {
    position: relative;
}

.about-img-container {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    aspect-ratio: 4 / 5;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-visual:hover .about-img {
    transform: scale(1.05);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.about-stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 20px 16px;
    border-radius: 6px;
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.about-stat-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.05);
}

.about-stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}

.about-stat-card .stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Why Us / Interactive Timeline Section */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.why-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.why-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 4px;
    transition: all var(--transition-normal);
}

.why-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.05);
}

.why-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.why-card-title {
    font-size: 20px;
    margin-bottom: 12px;
}

/* Timeline Components */
.timeline {
    position: relative;
    padding-left: 45px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 8px;
    width: 2px;
    height: calc(100% - 60px);
    background: linear-gradient(to bottom, var(--accent-primary) 0%, var(--border-color) 100%);
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 24px 30px;
    border-radius: 8px;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px) translateX(4px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.05);
}

.timeline-dot {
    position: absolute;
    top: 30px;
    left: -43px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    z-index: 2;
    transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-primary);
    box-shadow: 0 0 12px var(--accent-primary);
    transform: scale(1.2);
}

.timeline-meta {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.timeline-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* What We Do / Services Section (Cinematic Movie Poster Styling) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    height: 440px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    transition: all var(--transition-normal);
}

.service-poster-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: brightness(0.8); /* 80% static brightness to prevent dullness */
    transition: transform var(--transition-slow);
}

.service-poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 6, 8, 0.1) 0%, rgba(5, 6, 8, 0.6) 45%, rgba(5, 6, 8, 0.98) 95%);
    z-index: 2;
    transition: background var(--transition-normal);
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    padding: 30px;
    transform: translateY(115px); /* hide list initially */
    transition: transform var(--transition-normal);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 12px;
    display: block;
    letter-spacing: 0.1em;
}

.service-title {
    font-size: 26px;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 700;
}

.service-desc {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-list-item {
    font-size: 13.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list-item::before {
    content: '➤';
    color: var(--accent-primary);
    font-size: 11px;
    margin-right: 4px;
    display: inline-block;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* Hover States for Services Posters */
.service-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.08);
}

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

.service-card:hover .service-poster-overlay {
    background: linear-gradient(to bottom, rgba(5, 6, 8, 0.05) 0%, rgba(5, 6, 8, 0.5) 40%, rgba(5, 6, 8, 0.98) 98%);
}

.service-card:hover .service-content {
    transform: translateY(0);
}

.service-card:hover .service-list {
    opacity: 1;
}

.service-card:hover .service-list-item {
    color: var(--text-primary);
}

/* VFX Projects Portfolio Grid */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-primary);
    color: var(--text-dark);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.25);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.portfolio-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border-color);
    cursor: pointer;
    background: linear-gradient(110deg, #0a0b0e 8%, #141720 18%, #0a0b0e 33%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite linear;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75; /* visible by default for reliable lazy loading */
    transition: transform var(--transition-slow), opacity var(--transition-normal);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
    opacity: 1;
}

@keyframes shimmer {
    to {
        background-position-x: -200%;
    }
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(10,12,16,0.9) 0%, rgba(10,12,16,0.4) 60%, transparent 100%);
    z-index: 2;
    transform: translateY(10px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.portfolio-tag {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    display: inline-block;
}

.portfolio-title {
    font-size: 18px;
    color: #fff;
}


.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 10, 14, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

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

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

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border: 2px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
    border-radius: 4px;
    transform: scale(0.95);
    transition: transform var(--transition-normal);
}

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

.lightbox-caption {
    margin-top: 20px;
    text-align: center;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.lightbox-category {
    font-size: 13px;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}

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

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(25, 30, 40, 0.5);
    border: 1px solid var(--border-color);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all var(--transition-fast);
    user-select: none;
}

.lightbox-nav:hover {
    background: var(--accent-primary);
    color: var(--text-dark);
    border-color: var(--accent-primary);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

/* Contact Us Section & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item-value {
    font-size: 14px;
    color: var(--text-muted);
}

.contact-map-container {
    width: 100%;
    margin-top: 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: border-color var(--transition-normal);
}

.contact-map-container:hover {
    border-color: var(--border-glow);
}

.contact-map-container iframe {
    display: block;
    width: 100%;
}

/* Form Styling */
.contact-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--accent-primary);
}

.form-label {
    position: absolute;
    top: 12px;
    left: 0;
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
    transition: all var(--transition-fast);
}

/* Floating Label Logic */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -12px;
    font-size: 12px;
    color: var(--accent-primary);
}

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

/* Hidden Honeypot field for anti-spam */
.hidden-field {
    display: none !important;
    visibility: hidden;
}

.form-status {
    margin-top: 20px;
    font-size: 14px;
    border-radius: 4px;
    padding: 12px 16px;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

/* Footer Section */
.footer {
    background: #060709;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-desc {
    font-size: 14px;
    max-width: 350px;
}

.footer-links-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-link:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-policy-links {
    display: flex;
    gap: 24px;
}

/* Scroll Animation Reveal Styles (Fail-safe: only hide when JavaScript is enabled) */
.js-enabled .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.js-enabled .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.js-enabled .reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.js-enabled .reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.js-enabled .reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.js-enabled .reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Helper Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    100% { transform: scale(1); opacity: 0.8; }
}

/* Project Flow Cards Grid */
.flow-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.flow-card {
    position: relative;
    height: 250px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--bg-secondary);
    transition: all var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.flow-card-content {
    position: relative;
    width: 100%;
    z-index: 3;
    transition: transform var(--transition-normal);
}

.flow-card-number {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 10px;
    opacity: 0.85;
    transition: all var(--transition-normal);
}

.flow-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.flow-card-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Hover effects for Flow Cards */
.flow-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.08);
    transform: translateY(-5px);
}

.flow-card:hover .flow-card-bg {
    transform: scale(1.08);
}

.flow-card:hover .flow-card-number {
    opacity: 1;
    transform: scale(1.05) translateY(-2px);
    text-shadow: 0 0 10px rgba(255,215,0,0.3);
}

.flow-card:hover .flow-card-overlay {
    background: linear-gradient(to bottom, rgba(5, 6, 8, 0.05) 0%, rgba(5, 6, 8, 0.5) 40%, rgba(5, 6, 8, 0.98) 98%);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet (1024px and under) */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    
    .about-grid, .why-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-visual {
        max-width: 600px;
        margin: 30px auto 0 auto;
    }
    
    .about-stat-overlay {
        bottom: -20px;
        left: 20px;
    }
    
    .lightbox-prev {
        left: -50px;
    }
    
    .lightbox-next {
        right: -50px;
    }
}

/* Mobile (768px and under) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .header.scrolled {
        height: 70px;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(5, 6, 8, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px; /* Reduced vertical gap to fit all menus on mobile */
        transition: left var(--transition-normal);
        border-top: 1px solid var(--border-color);
        z-index: 1050;
    }

    #about {
        padding-bottom: 30px !important;
    }
    
    #project-flow {
        padding-top: 30px !important;
    }
    
    .why-us-title {
        white-space: nowrap !important;
        font-size: clamp(18px, 4.8vw, 26px) !important;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline {
        padding-left: 35px;
    }

    .timeline-dot {
        left: -33px;
        top: 24px;
    }

    .timeline::before {
        left: 8px;
        top: 24px;
        height: calc(100% - 48px);
    }

    .timeline-item {
        padding: 20px;
        margin-bottom: 20px;
    }

    /* Mobile Project Flow Stacking */
    .flow-cards-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding: 10px 24px 30px 24px;
        margin-left: -24px;
        margin-right: -24px;
        scrollbar-width: none; /* Hide scrollbar Firefox */
    }
    
    .flow-cards-grid::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }
    
    .flow-card {
        flex: 0 0 290px;
        height: 245px;
        scroll-snap-align: center;
    }
    
    /* Responsive Lightbox buttons for tap accuracy on mobile */
    .lightbox-nav {
        width: 44px;
        height: 44px;
        background: rgba(12, 14, 18, 0.85);
        border: 1px solid var(--border-color);
        color: #fff;
        font-size: 16px;
        top: auto;
        bottom: 20px;
        transform: none;
        z-index: 2100;
    }
    
    .lightbox-prev {
        left: 20px;
    }
    
    .lightbox-next {
        right: 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Force stats grid to remain in 2x2 layout on mobile and scale down padding and fonts */
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .about-stat-card {
        padding: 12px 6px !important;
    }
    
    .about-stat-card .stat-number {
        font-size: clamp(18px, 4.5vw, 24px) !important;
    }
    
    .about-stat-card .stat-label {
        font-size: clamp(8px, 2.2vw, 10px) !important;
        letter-spacing: 0.02em !important;
    }
}

/* Project Flow Dots Navigation (Mobile) */
.flow-dots-container {
    display: none;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    width: 100%;
}

.flow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.flow-dot.active {
    background: var(--accent-primary);
    transform: scale(1.3);
    box-shadow: 0 0 8px var(--accent-primary);
}

@media (max-width: 768px) {
    .flow-dots-container {
        display: flex;
    }
}

/* Desktop 6-in-Row Project Flow layout (min-width: 1024px) */
@media (min-width: 1024px) {
    .flow-cards-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
        margin-top: 55px;
    }
    
    .flow-card {
        height: 210px !important;
        padding: 20px 15px !important;
    }
    
    .flow-card-content {
        padding: 0 !important;
    }
    
    .flow-card-number {
        font-size: 38px !important;
        margin-bottom: 8px !important;
    }
    
    .flow-card-title {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }
    
    .flow-card-desc {
        font-size: 11.5px !important;
        line-height: 1.4 !important;
    }
}

/* Reviews Card Grid Styles */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: 6px;
    position: relative;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.review-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.05);
}

.review-stars {
    color: var(--accent-primary);
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-style: italic;
}

.review-author {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.review-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.review-role {
    font-size: 13px;
    color: var(--accent-primary);
}


/* Dynamic Timeline Scroll Progress Bar */
.timeline-progress {
    position: absolute;
    top: 30px;
    left: 8px;
    width: 2px;
    height: 0%; /* Filled dynamically by JS */
    background: linear-gradient(to bottom, #00d2ff 0%, #0066ff 100%);
    z-index: 2;
    transition: height 0.1s ease-out;
}

/* Reviews Carousel Slider on Mobile */
.reviews-slider-container {
    position: relative;
    width: 100%;
}

.reviews-nav {
    display: none;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    width: 100%;
}

.reviews-btn {
    background: rgba(25, 30, 40, 0.6);
    border: 1px solid var(--border-color);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    font-size: 16px;
    user-select: none;
}

.reviews-btn:hover {
    background: var(--accent-primary);
    color: var(--text-dark);
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

@media (max-width: 768px) {
    .reviews-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 20px !important;
        padding: 10px 24px 30px 24px !important;
        margin-left: -24px !important;
        margin-right: -24px !important;
        scrollbar-width: none !important;
    }
    
    .reviews-grid::-webkit-scrollbar {
        display: none !important;
    }
    
    .review-card {
        flex: 0 0 calc(100vw - 48px) !important;
        scroll-snap-align: center !important;
    }
    
    .reviews-nav {
        display: flex !important;
    }
}

/* Logo Preloader Overlay Screen */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050608;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    height: 80px;
    width: auto;
    animation: pulseLogo 1.5s infinite ease-in-out;
}

.preloader-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 215, 0, 0.1);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spinPreloader 1s infinite linear;
}

@keyframes spinPreloader {
    to { transform: rotate(360deg); }
}

@keyframes pulseLogo {
    0% { transform: scale(1); opacity: 0.8; filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0)); }
    50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6)); }
    100% { transform: scale(1); opacity: 0.8; filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0)); }
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Showreel Hover Effects */
.showreel-container {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.showreel-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.45) !important;
}

/* Footer Social Icon Hover Glow */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
    transition: all var(--transition-fast) !important;
}

.social-link:hover {
    color: var(--accent-primary) !important;
    border-color: var(--accent-primary) !important;
    background-color: rgba(255, 215, 0, 0.08) !important;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

/* Studio Ticking Clock (3-box premium style) */
.studio-clock-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 24px 30px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.studio-clock-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.05);
}

.clock-card-title {
    font-family: var(--font-heading);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 18px;
    font-weight: 600;
}

.clock-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.clock-box {
    background: rgba(5, 6, 8, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
}

.clock-box span:first-child {
    font-family: monospace;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-primary);
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
    line-height: 1;
}

.clock-box .clock-label {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-top: 5px;
    font-weight: 600;
}

.clock-colon {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    animation: blinkColon 1s infinite;
}

.clock-ampm-box {
    margin-left: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

#clockAmPm {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    line-height: 1;
}

.clock-timezone {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    font-weight: bold;
}

@keyframes blinkColon {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}


