/* ==========================================================================
   BrandSpectra - Design System & Custom Stylesheet
   ========================================================================== */

/* 1. Design Tokens & Root Variables */
:root {
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-accent: 'Poppins', sans-serif;

    /* Curated Light Mode Palette */
    --color-bg-raw: 210, 40%, 98%; /* #f8fafc */
    --color-bg: hsl(var(--color-bg-raw));
    --color-card-raw: 0, 0%, 100%; /* #ffffff */
    --color-card: hsl(var(--color-card-raw));
    --color-text-primary: #0f1013;
    --color-text-secondary: rgba(15, 16, 19, 0.7);
    --color-text-muted: rgba(15, 16, 19, 0.4);

    /* Accents & Gradients */
    --color-primary-indigo: #2070d0; /* Exact Logo Blue */
    --color-primary-indigo-rgb: 32, 112, 208;
    --color-accent-blue: #2070d0;
    --color-accent-purple: #6366f1; /* Complementary purple accent for gradient spectrum */
    
    --grad-spectra: linear-gradient(135deg, #2070d0 0%, #6366f1 100%);
    --grad-glow: radial-gradient(circle, rgba(32, 112, 208, 0.05) 0%, rgba(32, 112, 208, 0.01) 50%, transparent 100%);
    
    /* Layout Sizes */
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-glass: 1px solid rgba(15, 16, 19, 0.08);
}

/* 2. Resets & Document Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: auto; /* Handled by Lenis */
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a1a1aa;
}

/* Typography Utility Classes */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #0f1013;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Container */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 3. Custom Cursor (Desktop Only) */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary-indigo);
    box-shadow: 0 0 10px rgba(32, 112, 208, 0.8);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}

.custom-cursor-glow {
    width: 40px;
    height: 40px;
    background-color: rgba(32, 112, 208, 0.05);
    border: 1px solid rgba(32, 112, 208, 0.25);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    filter: blur(4px);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.3s;
}

/* Cursor Interactive States */
body.cursor-active .custom-cursor {
    width: 4px;
    height: 4px;
    background-color: var(--color-text-primary);
    box-shadow: 0 0 10px rgba(15, 16, 19, 0.8);
}
body.cursor-active .custom-cursor-glow {
    width: 70px;
    height: 70px;
    background-color: rgba(15, 16, 19, 0.03);
    border-color: rgba(15, 16, 19, 0.25);
    filter: blur(0px);
}
body.cursor-active .custom-cursor-glow::after {
    content: 'VIEW';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-text-primary);
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* 4. Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(15, 16, 19, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: rgba(248, 250, 252, 0.75);
    transition: background-color 0.3s, border-color 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 38px; /* Elegant height to fit in the 80px header */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-img {
    transform: scale(1.03);
}

.logo-text-gradient {
    background: linear-gradient(90deg, #0f1013 60%, rgba(15, 16, 19, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #0f1013;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 5. Buttons Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.03em;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-nav {
    padding: 8px 20px;
    font-size: 13px;
    border: 1px solid rgba(15, 16, 19, 0.15);
    background: transparent;
    color: var(--color-text-primary);
}

.btn-nav:hover {
    border-color: var(--color-primary-indigo);
    background-color: rgba(32, 112, 208, 0.05);
    box-shadow: 0 0 15px rgba(32, 112, 208, 0.08);
}

.btn-primary {
    background: var(--color-primary-indigo);
    color: #ffffff;
    border: 1px solid var(--color-primary-indigo);
    box-shadow: 0 4px 20px rgba(32, 112, 208, 0.15);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-primary-indigo);
    border-color: var(--color-primary-indigo);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(32, 112, 208, 0.25);
}

.btn-secondary {
    background: rgba(15, 16, 19, 0.03);
    color: var(--color-text-primary);
    border: var(--border-glass);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(15, 16, 19, 0.08);
    border-color: rgba(15, 16, 19, 0.25);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* 6. Video background layout */
/* Backlight Container and Blob Styles */
.backlight-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1; /* Sits behind content (z-index: 10) and canvas (z-index: 2) */
    pointer-events: none;
    overflow: hidden;
}

.grid-background {
    position: fixed;
    top: -20vh; /* Allow buffer for translation */
    left: 0;
    width: 100vw;
    height: 140vh; /* Extra height to prevent whitespace when translated */
    z-index: 1; /* Sits behind content, glows, and particles */
    pointer-events: none;
    background-size: 30px 30px; /* Small clean box grids */
    background-image: 
        linear-gradient(to right, rgba(32, 112, 208, 0.12) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(32, 112, 208, 0.12) 1px, transparent 1px);
    animation: gridDrift 30s infinite ease-in-out;
    will-change: transform, background-position, opacity;
}

@keyframes gridDrift {
    0% {
        background-position: 0px 0px;
        opacity: 0.8;
    }
    50% {
        background-position: 15px 15px;
        opacity: 1.1; /* Slight breathing visibility */
    }
    100% {
        background-position: 0px 0px;
        opacity: 0.8;
    }
}

.backlight {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    mix-blend-mode: normal;
    will-change: transform;
}

.backlight-blue {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(32, 112, 208, 0.5) 0%, rgba(32, 112, 208, 0.1) 60%, transparent 100%);
    top: -10vw;
    left: -10vw;
}

.backlight-indigo {
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(99, 102, 241, 0.08) 60%, transparent 100%);
    bottom: -15vw;
    right: -10vw;
}

.backlight-purple {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, rgba(168, 85, 247, 0.06) 60%, transparent 100%);
    top: 30vh;
    left: 45vw;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2; /* Sit above backlight container but below content scroll area */
    pointer-events: none; /* Allow clicks to pass through */
    opacity: 0.65; /* Highly visible 3D particles on light theme */
    will-change: transform;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 7. Scrolling Area & Hero */
.content-scroll-area {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 10;
}

/* Badges styling */
.section-badge {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary-indigo);
    padding: 6px 14px;
    border-radius: 20px;
    background-color: rgba(32, 112, 208, 0.06);
    border: 1px solid rgba(32, 112, 208, 0.15);
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(32, 112, 208, 0.03);
}

.section-badge.badge-purple {
    color: var(--color-accent-purple);
    background-color: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.03);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--color-text-secondary);
    max-width: 800px;
    font-size: 18px;
}

.section-header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;
}

.tagline-badge {
    margin-bottom: 24px;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}

.hero-heading {
    font-size: clamp(48px, 8vw, 90px);
    line-height: 1.0;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-white-glow {
    color: var(--color-primary-indigo);
    text-shadow: 0 0 20px rgba(32, 112, 208, 0.15);
}

.hero-subtext {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--color-text-secondary);
    max-width: 1000px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

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

/* Scroll indicator animation */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 100;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-text-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.8s infinite;
}

.scroll-indicator-text {
    font-family: var(--font-accent);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}

@keyframes scrollMouse {
    0% { top: 8px; opacity: 1; }
    50% { top: 16px; opacity: 0; }
    100% { top: 8px; opacity: 1; }
}

/* 8. About Section */
.about-section {
    padding: 20vh 0;
    background: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.lead-text {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.3;
    margin-bottom: 30px;
    color: var(--color-text-primary);
}

.body-text {
    color: var(--color-text-secondary);
    font-size: 16px;
    margin-bottom: 50px;
    font-weight: 300;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.75);
    border: var(--border-glass);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px -10px rgba(15, 16, 19, 0.05), 0 1px 3px rgba(15, 16, 19, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(32, 112, 208, 0.3);
}

.stat-num {
    font-family: var(--font-accent);
    font-size: 36px;
    font-weight: 900;
    color: var(--color-text-primary);
    background: var(--grad-spectra);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-accent);
    font-size: 12px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 9. Services Section */
.services-section {
    padding: 15vh 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Glassmorphic service cards with custom glow */
.service-card {
    background: rgba(255, 255, 255, 0.75);
    border: var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 32px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(15, 16, 19, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: border-color 0.4s, box-shadow 0.4s, background-color 0.4s;
    will-change: transform;
}

/* Glowing outline border effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(350px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(32, 112, 208, 0.15), transparent 50%);
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

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

.service-card:hover {
    border-color: rgba(32, 112, 208, 0.3);
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 30px 60px -20px rgba(15, 16, 19, 0.1), 0 0 30px rgba(32, 112, 208, 0.08);
}

.service-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-md);
    background: rgba(15, 16, 19, 0.03);
    border: var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-primary-indigo);
    position: relative;
    z-index: 1;
    transition: all 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(25px); /* 3D Parallax lift */
}

.service-card:hover .service-icon-wrapper {
    background: var(--color-primary-indigo);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(32, 112, 208, 0.3);
    transform: translateZ(35px) scale(1.05);
}

.service-title {
    font-size: 20px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    transform: translateZ(20px); /* 3D Parallax lift */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-title {
    transform: translateZ(30px);
}

.service-body {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 0px;
    position: relative;
    z-index: 1;
    font-weight: 300;
    transform: translateZ(15px); /* 3D Parallax lift */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-body {
    transform: translateZ(25px);
}

/* 11. Contact Section */
.contact-section {
    padding: 15vh 0;
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-heading {
    font-size: clamp(32px, 5vw, 54px);
    margin-bottom: 24px;
}

.contact-lead {
    color: var(--color-text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
    font-weight: 300;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 16, 19, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-indigo);
    box-shadow: 0 5px 15px rgba(15, 16, 19, 0.04);
}

.info-text h4 {
    font-size: 14px;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.info-text p {
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 300;
}

/* Interactive Light Glassmorphic Form */
.contact-form-wrapper {
    background-color: rgba(255, 255, 255, 0.75);
    border: var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: 0 20px 40px -15px rgba(15, 16, 19, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group label {
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(15, 16, 19, 0.01);
    border: 1px solid rgba(15, 16, 19, 0.08);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    background: rgba(15, 16, 19, 0.02);
    border-color: var(--color-primary-indigo);
    box-shadow: 0 0 15px rgba(32, 112, 208, 0.1);
}

.form-group select option {
    background-color: #ffffff;
    color: var(--color-text-primary);
}

.btn-submit {
    gap: 12px;
    margin-top: 10px;
}

.btn-submit svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* 12. Footer */
.footer {
    border-top: 1px solid rgba(15, 16, 19, 0.05);
    padding: 40px 0;
    position: relative;
    z-index: 10;
    background-color: #f1f1f3;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.socials {
    display: flex;
    gap: 30px;
}

.social-link {
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

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

/* 12b. Work Section Styling */
.work-section {
    padding: 15vh 0;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.work-card {
    background: rgba(255, 255, 255, 0.75);
    border: var(--border-glass);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(15, 16, 19, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
    cursor: pointer;
}

.work-card:hover {
    transform: translateY(-8px);
    border-color: rgba(32, 112, 208, 0.3);
    box-shadow: 0 30px 60px -20px rgba(15, 16, 19, 0.1), 0 0 30px rgba(32, 112, 208, 0.08);
}

.work-img-wrapper {
    position: relative;
    width: 100%;
    height: 380px; /* Modern portrait crop */
    overflow: hidden;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(15, 16, 19, 0.85) 0%, rgba(15, 16, 19, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    color: #ffffff;
    height: 60%;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-category {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #38bdf8; /* Cyan accent badge */
    margin-bottom: 8px;
    transform: translateY(10px);
    opacity: 0.8;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}

.work-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card-desc {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}

.work-card:hover .work-category,
.work-card:hover .work-card-title {
    transform: translateY(0);
}

.work-card:hover .work-card-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
}

@media (max-width: 1024px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .work-img-wrapper {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .work-img-wrapper {
        height: 180px;
    }
    .work-overlay {
        padding: 16px;
    }
    .work-category {
        font-size: 9px;
        margin-bottom: 4px;
    }
    .work-card-title {
        font-size: 16px;
        margin-bottom: 4px;
    }
    .work-card-desc {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .work-img-wrapper {
        height: 140px;
    }
    .work-overlay {
        padding: 10px;
    }
    .work-category {
        font-size: 8px;
        margin-bottom: 2px;
    }
    .work-card-title {
        font-size: 12px;
        margin-bottom: 2px;
    }
    .work-card-desc {
        font-size: 9px;
    }
}

/* 13. Mobile Responsiveness */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #0f1013;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background-color: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -20px 0 40px rgba(15, 16, 19, 0.05);
    border-left: 1px solid rgba(15, 16, 19, 0.06);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.open {
    transform: translateX(0);
}

.sidebar-header {
    padding: 40px 24px 20px 24px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid rgba(15, 16, 19, 0.05);
}

.sidebar-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.sidebar-nav {
    padding: 30px 24px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    list-style: none;
    gap: 28px;
    width: 100%;
}

.mobile-nav-overlay li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.mobile-nav-overlay.open li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-overlay.open li:nth-child(1) { transition-delay: 0.15s; }
.mobile-nav-overlay.open li:nth-child(2) { transition-delay: 0.25s; }
.mobile-nav-overlay.open li:nth-child(3) { transition-delay: 0.35s; }

.mobile-nav-link {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    width: 100%;
    color: var(--color-text-secondary);
    transition: color 0.3s;
}

.nav-num {
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 600;
    color: var(--color-primary-indigo);
    opacity: 0.85;
}

.nav-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-link:hover .nav-text {
    transform: translateX(6px);
    color: var(--color-primary-indigo);
}

.sidebar-footer {
    padding: 24px;
    border-top: 1px solid rgba(15, 16, 19, 0.05);
    background-color: rgba(15, 16, 19, 0.01);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.sidebar-footer-label {
    font-family: var(--font-accent);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.sidebar-footer-email {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.3s;
}

.sidebar-footer-email:hover {
    color: var(--color-primary-indigo);
}

.sidebar-socials {
    display: flex;
    gap: 12px;
}

.sidebar-social-link {
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: color 0.3s;
}

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

.btn-mobile-cta {
    margin-top: 10px;
    border: 1px solid var(--color-primary-indigo);
}

/* Responsive Queries */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .hero-heading {
        font-size: clamp(40px, 7vw, 70px);
    }
}

@media (max-width: 768px) {
    /* Disable custom cursor on mobile */
    .custom-cursor, .custom-cursor-glow {
        display: none !important;
    }

    .container {
        padding: 0 24px;
    }

    .nav-menu {
        display: none;
    }
    .btn-nav {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }

    /* Burger menu animation when active */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .section-badge {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 16px;
    }

    .hero-heading {
        font-size: clamp(28px, 6vw, 44px);
        margin-bottom: 16px;
    }
    
    .hero-subtext {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: clamp(22px, 4.5vw, 30px);
        margin-bottom: 12px;
    }

    .section-desc {
        font-size: 14px;
        max-width: 600px;
    }

    .lead-text {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 16px;
    }

    .body-text {
        font-size: 13px;
        margin-bottom: 24px;
        line-height: 1.5;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .service-card {
        padding: 20px 14px;
        border-radius: var(--border-radius-md);
    }

    .service-icon-wrapper {
        width: 36px;
        height: 36px;
        border-radius: var(--border-radius-sm);
        margin-bottom: 12px;
    }

    .service-icon-wrapper svg {
        width: 18px;
        height: 18px;
    }

    .service-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .service-body {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 0;
    }

    .contact-heading {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .contact-lead {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .contact-form-wrapper {
        padding: 24px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 16px 10px;
        text-align: center;
    }

    .stat-num {
        font-size: clamp(18px, 3.5vw, 28px);
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 10px;
        letter-spacing: 0.02em;
        line-height: 1.2;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

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

    .section-badge {
        font-size: 9px;
        padding: 3px 8px;
        margin-bottom: 12px;
    }

    .hero-heading {
        font-size: clamp(22px, 8vw, 28px);
    }

    .hero-subtext {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .hero-actions .btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .section-title {
        font-size: 20px;
    }

    .section-desc {
        font-size: 13px;
    }

    .lead-text {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .body-text {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .contact-form-wrapper {
        padding: 18px 12px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .service-card {
        padding: 12px 8px;
        border-radius: var(--border-radius-sm);
    }

    .service-icon-wrapper {
        width: 28px;
        height: 28px;
        margin-bottom: 8px;
    }

    .service-icon-wrapper svg {
        width: 14px;
        height: 14px;
    }

    .service-title {
        font-size: 11px;
        margin-bottom: 4px;
        letter-spacing: -0.01em;
    }

    .service-body {
        font-size: 9px;
        line-height: 1.3;
    }

    .stat-card {
        padding: 8px 2px;
    }

    .stat-num {
        font-size: clamp(12px, 5vw, 18px);
    }

    .stat-label {
        font-size: 7.5px;
        letter-spacing: -0.02em;
        line-height: 1.1;
    }

    .contact-heading {
        font-size: 20px;
    }

    .contact-lead {
        font-size: 12px;
    }

    .info-text p {
        font-size: 11px;
    }

    .form-group input, 
    .form-group select, 
    .form-group textarea {
        padding: 10px;
        font-size: 12px;
    }

    .btn-submit {
        font-size: 12px;
        padding: 8px 16px;
    }
}

