@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #bc0000; /* Pure Crimson */
    --primary-glow: rgba(188, 0, 0, 0.4);
    --bg-dark: #030303;
    --bg-surface: #0a0a0c;
    --bg-card: #121217;
    --text-main: #ffffff;
    --text-dim: #909090;
    --text-dark: #66666e;
    --border: rgba(255, 255, 255, 0.05);
    --border-bright: rgba(255, 255, 255, 0.12);
    --radius-full: 100px;
    --radius-lg: 40px;
    --radius-md: 24px;
    --radius-sm: 16px;
    --transition-smooth: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --serif: 'Playfair Display', serif;
    --sans: 'Outfit', sans-serif;
    --inter: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Noise Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-optical-sizing: auto;
}

body {
    overflow-x: hidden;
    line-height: 1.5;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, #888888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-crimson {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* Layout */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 4rem;
}

section {
    padding: 5rem 0;
    position: relative;
    scroll-margin-top: 100px; /* Offset for fixed header */
}

#services {
    padding-top: 4rem; /* Reduced space from Hero */
}

/* Glowing Spotlights */
.spotlight {
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: -30vw;
    right: -20vw;
    z-index: -1;
    pointer-events: none;
    filter: blur(100px);
}

/* Navigation - Full Width Professional Minimalist */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; /* 100% Transparent as requested */
    backdrop-filter: none; /* No blur in idle state */
    border-bottom: 1px solid transparent;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 
        background 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        backdrop-filter 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Scrolled - Minimalist Slim Down */
header.scrolled {
    background: rgba(3, 3, 3, 0.95);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid transparent; /* Removed line */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    width: 100%;
    max-width: 1600px;
    padding: 1.5rem 4rem; /* Standard Height */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Perfectly aligned */
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.work-header.header-center {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 1.2rem;
}

/* Tighter vertical space when scrolled */
header.scrolled .nav-container {
    padding: 0.8rem 4rem;
}

header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%; /* Start empty for animation */
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle line reveal on scroll for edge definition - DISABLED for seamless look */
header.scrolled::after {
    width: 0%;
}

header:hover {
    background: transparent;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 200; /* Ultra light */
    font-size: 1.8rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.02em; /* Tight kerning for high-end look */
    text-transform: uppercase;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.logo strong {
    font-weight: 900;
    color: var(--text-main);
}

.logo .dot {
    color: var(--primary);
    font-weight: 900;
    margin-left: 1px;
    animation: pulsateGlow 2s infinite;
}

@keyframes pulsateGlow {
    0% { filter: drop-shadow(0 0 2px var(--primary)); }
    50% { filter: drop-shadow(0 0 8px var(--primary)); }
    100% { filter: drop-shadow(0 0 2px var(--primary)); }
}

nav ul {
    display: flex;
    gap: 2.2rem; /* Reduced space as requested */
    list-style: none;
}

nav a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.85rem; /* Slightly larger for clarity */
    font-weight: 500; /* Medium weight for cleaner look */
    letter-spacing: 0.08em; /* Balanced spacing */
    text-transform: uppercase;
    transition: color 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

nav a:hover {
    color: var(--text-main); /* High contrast hover */
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition-fast);
}

/* Mobile Only Utility */
.mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-only {
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    nav.mobile-active {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(3, 3, 3, 0.98); /* Deep obsidian overlay */
        backdrop-filter: blur(40px);
        justify-content: center;
        align-items: center;
        z-index: 1000;
        animation: menuFadeIn 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

    @keyframes menuFadeIn {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    nav.mobile-active ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        width: 80%;
        list-style: none; /* Ensure no bullets */
    }

    nav.mobile-active li {
        opacity: 0;
        transform: translateY(20px);
        animation: linkReveal 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    }

    /* Staggered link entry */
    nav.mobile-active li:nth-child(1) { animation-delay: 0.1s; }
    nav.mobile-active li:nth-child(2) { animation-delay: 0.15s; }
    nav.mobile-active li:nth-child(3) { animation-delay: 0.2s; }
    nav.mobile-active li:nth-child(4) { animation-delay: 0.25s; }
    nav.mobile-active li:nth-child(5) { animation-delay: 0.3s; }

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

    nav.mobile-active a {
        font-size: 2.2rem;
        font-weight: 200;
        letter-spacing: 0.1em;
        color: var(--text-main);
    }

    nav.mobile-active a.btn-primary {
        font-size: 1rem;
        color: var(--bg-dark) !important;
        font-weight: 700;
    }

    /* Hamburger Animation Cleanup */
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--primary); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--primary); }
}

/* Mouse Interaction Polish (PC) */
@media (hover: hover) {
    .btn:hover {
        /* letter-spacing removed to prevent layout shift */
        transform: translateY(-3px);
    }
    
    .bento-item:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

    .logo:hover {
        filter: brightness(1.2);
    }
}

/* Click Animation Global */
.btn:focus,
button:focus {
    outline: none;
}

.btn:active {
    transform: scale(0.98) translateY(0);
}

/* Final Hero Perfection v5 - Classic Editorial Layout */
.hero-perfection {
    height: 100vh;
    width: 100%;
    position: relative;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-img-perfection {
    position: absolute;
    right: -4%;
    bottom: 0;
    height: 100%;
    width: auto;
    object-fit: cover;
    z-index: 2;
    filter: brightness(1) contrast(1.1) saturate(1.08);
    /* Clean blending mask */
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%),
                        linear-gradient(to top, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%),
                linear-gradient(to top, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    mask-composite: intersect;
}

.hero-ma.spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(188, 0, 0, 0.03) 0%, transparent 80%);
    pointer-events: none;
    z-index: 100;
}

.hero-mask-v5 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 40% 50%, transparent 20%, var(--bg-dark) 85%);
    z-index: 3;
    pointer-events: none;
}

.hero-container-v5 {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 640px) 1fr;
    align-items: center;
}

.hero-text-perfection {
    max-width: 640px;
    justify-self: start;
    padding-top: clamp(3rem, 6vh, 5rem);
}

.hero-text-perfection h1 {
    font-family: var(--inter);
    font-size: clamp(3.2rem, 7.4vw, 7.2rem);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: left; /* Strict Left alignment */
}

.hero-text-perfection h1 .main-heading {
    display: block;
}

.hero-p-v5 {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    letter-spacing: 0.01em;
}

.hero-accent-dot {
    color: var(--primary);
}

.hero-text-perfection h1 .hero-accent-dot {
    transform: translateY(0) scale(1);
}

.hero-text-perfection h1.reveal.active .hero-accent-dot {
    animation: heroDotPulse 0.9s ease-out 0s both, heroDotGlow 1.8s ease-in-out 0.9s infinite;
}

@keyframes heroDotPulse {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.4);
    }
    70% {
        opacity: 1;
        transform: translateY(0) scale(1.18);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroDotGlow {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(188, 0, 0, 0)); }
    50% { filter: drop-shadow(0 0 8px rgba(188, 0, 0, 0.45)); }
}

.hero-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.hero-button-group .btn {
    min-width: 190px;
}

.hero-view-btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.hero-text-link {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    opacity: 0.88;
    transition: var(--transition-fast);
}

.hero-text-link:hover {
    color: var(--primary);
    opacity: 1;
}

.hero-scroll-v5 {
    position: absolute;
    bottom: 2.5rem;
    left: clamp(1.5rem, 4vw, 4rem);
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.5;
    z-index: 20;
}

.hero-scroll-v5 span {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

.hero-scroll-v5 .line {
    width: 28px;
    height: 1px;
    background: var(--text-main);
    transform-origin: left;
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
    100% { transform: scaleX(0); transform-origin: right; }
}

@media (max-width: 1024px) {
    .hero-perfection {
        min-height: 100dvh;
        align-items: flex-end;
        padding: 6.5rem 0 2rem;
    }
    .hero-container-v5 {
        min-height: 100%;
        display: block;
    }
    .hero-img-perfection {
        height: 58vh;
        right: 0%;
        opacity: 0.7;
        /* Reduced top blur as requested */
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    }
    .hero-mask-v5 {
        background: radial-gradient(circle at 50% 95%, transparent 35%, var(--bg-dark) 95%);
    }
    .hero-text-perfection {
        text-align: left;
        margin-bottom: 0;
        position: relative;
        z-index: 15;
        padding-top: 0;
        max-width: 100%;
    }
    .hero-text-perfection h1 {
        font-size: clamp(2.6rem, 10.5vw, 4rem);
        line-height: 0.92;
        margin-bottom: 1.1rem;
        text-align: left;
    }
    .hero-p-v5 {
        margin: 0 0 1.8rem;
        font-size: 1rem;
        line-height: 1.6;
        max-width: 32ch;
        padding: 0;
    }
    .hero-button-group {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        align-items: center;
        gap: 0.65rem;
    }
    .hero-button-group .btn {
        width: auto;
        min-width: 170px;
        max-width: none;
        padding: 0.9rem 1.6rem;
    }
    .hero-text-link {
        font-size: 0.8rem;
        letter-spacing: 0.11em;
    }
    .hero-scroll-v5 { display: none; }
}

@media (max-width: 1200px) {
    .spotlight {
        display: none;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .hero-perfection {
        height: 100dvh;
        min-height: 100dvh;
        padding: 0;
    }

    .hero-container-v5 {
        min-height: 100dvh;
    }

    .hero-img-perfection {
        height: 112dvh;
        bottom: -12dvh;
        right: -2%;
        object-position: center 18%;
    }

    .hero-button-group {
        gap: 0;
    }

    .hero-button-group .btn {
        min-width: 230px;
        padding: 1rem 2.3rem;
        font-size: 0.9rem;
        border-radius: 999px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    }

    .hero-text-link {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-perfection {
        padding: 6rem 0 1.5rem;
    }
    .hero-img-perfection {
        height: 52vh;
        opacity: 0.62;
    }
    .hero-text-perfection h1 {
        font-size: clamp(2.2rem, 12vw, 3.3rem);
        text-align: center;
    }
    .hero-p-v5 {
        font-size: 0.97rem;
        max-width: 30ch;
        margin: 0 auto 1.6rem;
        text-align: center;
    }
    .hero-text-perfection {
        text-align: center;
    }
    .hero-button-group {
        justify-content: center;
        gap: 0.85rem;
    }
    .hero-button-group .btn {
        width: 100%;
        max-width: 320px;
        min-width: 0;
        padding: 0.9rem 1.25rem;
    }
    .hero-text-link {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 1025px) {
    .hero-container-v5 {
        grid-template-columns: minmax(0, 700px) 1fr;
    }

    .hero-text-perfection {
        margin-left: clamp(0.8rem, 2vw, 2.4rem);
    }

    .hero-img-perfection {
        bottom: -3vh;
    }
}

@media (max-width: 1024px) {
    .hero-img-perfection {
        top: 3vh !important;
    }
}

@media (max-width: 768px) {
    .hero-img-perfection {
        top: 2vh !important;
    }
}

/* Final lock: hero portrait vertical position on tablet/mobile */
@media (max-width: 1024px) {
    .hero-text-perfection,
    .hero-text-perfection h1,
    .hero-p-v5 {
        text-align: center !important;
    }

    .hero-button-group {
        justify-content: center !important;
        position: relative;
        left: 8px;
    }

    .hero-img-perfection {
        top: 1vh !important;
        bottom: auto !important;
        transform: none !important;
        height: 60vh !important;
        object-position: center 18% !important;
    }
}

@media (max-width: 768px) {
    .hero-img-perfection {
        top: -0.5vh !important;
        height: 58vh !important;
        object-position: center 14% !important;
    }
}

@media (max-width: 1366px) {
    .spotlight {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .hero-perfection {
        min-height: 100dvh !important;
        padding: 5.8rem 0 1.4rem !important;
    }

    .hero-container-v5 {
        min-height: calc(100dvh - 5.8rem) !important;
        display: flex !important;
        align-items: flex-end !important;
    }

    .hero-text-perfection {
        margin-top: auto !important;
        margin-bottom: 0 !important;
        padding-bottom: 0.4rem !important;
        text-align: center !important;
    }

    .hero-text-perfection h1 {
        text-align: center !important;
        font-size: clamp(2.2rem, 12vw, 3.3rem) !important;
        margin-bottom: 1rem !important;
    }

    .hero-p-v5 {
        text-align: center !important;
        margin: 0 auto 1.35rem !important;
        max-width: 30ch !important;
    }

    .hero-button-group {
        justify-content: center !important;
        gap: 0.75rem !important;
    }

    .hero-button-group .btn {
        width: 100% !important;
        max-width: 320px !important;
        min-width: 0 !important;
    }

    .hero-text-link {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 1366px) {
    .spotlight {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .hero-text-perfection {
        text-align: center !important;
    }

    .hero-text-perfection h1 {
        text-align: center !important;
        font-size: clamp(2.2rem, 12vw, 3.3rem) !important;
    }

    .hero-p-v5 {
        text-align: center !important;
        margin: 0 auto 1.6rem !important;
        max-width: 30ch !important;
    }

    .hero-button-group {
        justify-content: center !important;
    }

    .hero-button-group .btn {
        width: 100% !important;
        max-width: 320px !important;
        min-width: 0 !important;
    }

    .hero-text-link {
        width: 100%;
        text-align: center;
    }
}

/* Premium Buttons - Refined Ghost Hover */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.8rem;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.15);
    transform: translateY(-4px) scale(1.02);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-bright);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

/* ==============================================
   SECTION 2 - STICKY SCROLL REVEAL
   ============================================== */

.s2-scroll-outer {
    position: relative;
    height: auto;
    padding: 6rem 0 1rem; /* Reduced bottom padding */
    background: #030303;
}

.s2-sticky {
    position: relative;
    height: auto;
    overflow: visible;
    display: block;
    background: #030303;
}

.s2-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

@media (min-width: 901px) {
    .s2-split {
        grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
        column-gap: 2rem;
        align-items: center;
    }
}

/* Glassy Blur Masks for Section 2 */
.s2-blur-mask {
    position: absolute;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 10;
    pointer-events: none;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
}

.s2-blur-mask.top {
    top: 0;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
}

.s2-blur-mask.bottom {
    bottom: 0;
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
    mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
}

@media (max-width: 900px) {
    .s2-blur-mask {
        display: none;
    }
}

.s2-left {
    border-right: none;
    padding: 3.5rem 2.2rem 3.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    min-height: 600px;
    overflow: visible;
}

.s2-left::after {
    content: "";
    position: absolute;
    right: 0;
    top: 1.8rem;
    bottom: 6.8rem;
    width: 1px;
    background: rgba(255,255,255,0.06);
}

.s2-service-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 2.6rem 2.4rem;
    opacity: 0;
    transform: translateY(0);
    filter: blur(8px); /* Initial blur for motion effect */
    transition: 
        opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    
    /* Disable animation on mobile to prevent lag */
    @media (max-width: 900px) {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
        pointer-events: all;
    }
    
    user-select: none;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(18, 18, 23, 0.84), rgba(10, 10, 12, 0.7));
    width: min(640px, calc(100% - 2rem));
    min-height: 350px;
    box-shadow: none;
}

.s2-service-item.s2-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0); /* Remove blur when active */
}

.s2-service-item.s2-past {
    opacity: 0;
}

@media (min-width: 901px) {
    .s2-left {
        min-height: 650px;
        padding: 3.6rem 2rem 3.6rem 0;
    }

    .s2-left .s2-service-item {
        position: absolute;
        left: 38%;
        top: 44%;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 1rem;
        transform: translate(-50%, -50%) scale(0.88);
    }

    .s2-left .s2-service-item .s2-svc-body {
        align-items: center;
    }

    .s2-left .s2-service-item.s2-active {
        opacity: 1;
        z-index: 3;
        filter: blur(0);
        transform: translate(-50%, -50%) scale(1);
    }

    .s2-left .s2-service-item.s2-prev {
        opacity: 0;
        z-index: 1;
        filter: blur(0);
        transform: translate(-50%, -50%) scale(0.84);
    }

    .s2-left .s2-service-item.s2-next {
        opacity: 0;
        z-index: 1;
        filter: blur(0);
        transform: translate(-50%, -50%) scale(0.84);
    }

    .s2-left .s2-service-item.s2-hidden {
        display: flex;
        opacity: 0;
        z-index: 1;
        transform: translate(-50%, -50%) scale(0.8);
        filter: blur(4px);
    }

    .s2-left .s2-service-item.s2-active .s2-svc-body h3 br,
    .s2-left .s2-service-item.s2-prev .s2-svc-body h3 br,
    .s2-left .s2-service-item.s2-next .s2-svc-body h3 br {
        display: none;
    }
}

.s2-svc-icon {
    width: 142px;
    height: 142px;
    flex-shrink: 0;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.045);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 27px;
    color: rgba(255,255,255,0.85);
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.32s ease;
}

.s2-service-item.s2-active .s2-svc-icon {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.24);
    width: 156px;
    height: 156px;
    border-radius: 36px;
    padding: 29px;
    color: #fff;
}

.s2-svc-icon svg {
    width: 100%;
    height: 100%;
}

.s2-svc-num {
    font-family: var(--sans);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: var(--primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
    opacity: 0.75;
}

.s2-svc-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.s2-svc-body h3 {
    font-family: var(--sans);
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: rgba(255,255,255,0.90);
    margin-bottom: 0.25rem;
}

.s2-svc-count {
    font-size: 0.98rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

.s2-svc-divider {
    display: none;
}

.s2-right {
    padding: 2rem 0 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.s2-big-headline {
    font-family: var(--sans);
    font-size: clamp(3.2rem, 5.6vw, 5.8rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.s2-red-dot { color: var(--primary); }

.s2-right-body {
    font-size: 1.08rem;
    color: var(--text-dim);
    line-height: 1.72;
    max-width: 50ch;
    margin-bottom: 2rem;
}

.s2-right-stats {
    display: flex;
    gap: 1rem;
}

.s2-rstat {
    flex: 1;
    background: linear-gradient(145deg, #111116, #0d0d11);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.23,1,0.32,1);
}

.s2-rstat::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(188,0,0,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.s2-rstat:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-4px); }
.s2-rstat:hover::before { opacity: 1; }

.s2-rstat--highlight {
    border-color: rgba(188,0,0,0.25);
    background: linear-gradient(145deg, rgba(188,0,0,0.09), #0d0d11);
}

.s2-rstat--highlight::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, rgba(188,0,0,0.8), transparent);
}

.s2-rstat-num {
    font-family: var(--sans);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--text-main);
    line-height: 1;
}

.s2-rstat-plus {
    font-size: 0.65em;
    color: var(--primary);
    font-weight: 800;
    vertical-align: super;
    letter-spacing: 0;
}

.s2-rstat-lbl {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.5;
}

.s2-progress-dots {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 2rem;
}

.s2-progress-dots-mobile {
    display: none;
}

.s2-dot {
    height: 12px;
    width: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
    transition: none;
}

.s2-dot.active {
    background: var(--primary);
    width: 34px;
}

.s2-slider-controls {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.s2-left-controls {
    position: absolute;
    top: auto;
    bottom: 6.3rem;
    left: -1.2rem;
    transform: none;
    z-index: 5;
    margin-top: 0;
    display: flex;
    flex-direction: row-reverse;
    gap: 0.65rem;
}

.s2-nav-btn {
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.04);
    color: var(--text-main);
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.s2-nav-btn svg {
    width: 20px;
    height: 20px;
}

.s2-nav-btn:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.09);
}

@media (min-width: 901px) {
    .s2-left.reveal,
    .s2-right.reveal {
        opacity: 1;
        filter: none;
        transform: none;
    }
}

@media (max-width: 1100px) {
    .s2-big-headline { font-size: clamp(4rem, 9vw, 7rem); }
    .s2-left { padding: 4rem 2rem 4rem 0; }
    .s2-right { padding: 3.2rem 0 3.2rem 1.4rem; }
}

@media (max-width: 900px) {
    .s2-scroll-outer { 
        height: auto !important; 
        padding-bottom: 2rem !important; /* Reduced from 2.6rem implicitly or inherited */
    }
    .s2-sticky { position: relative !important; height: auto !important; display: block !important; }
    .s2-split { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 0 !important;
        text-align: center !important;
        align-items: center !important;
    }

    /* Flattening containers to allow sibling reordering */
    .s2-left, .s2-right {
        display: contents !important;
    }

    .s2-big-headline {
        order: 1 !important;
        display: block !important;
        font-size: clamp(2.8rem, 11vw, 4.2rem) !important;
        line-height: 0.95 !important;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
        text-align: center !important;
        width: 100% !important;
    }

    /* THE CARD (Active Item) comes next */
    .s2-service-item.s2-active {
        order: 2 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1.5rem !important;
        opacity: 1 !important;
        padding: 2.2rem 1.2rem !important;
        border-radius: 28px !important;
        min-height: 0 !important;
        width: min(710px, calc(100% - 1.2rem)) !important;
        background: linear-gradient(145deg, rgba(20, 20, 25, 0.98), rgba(10, 10, 12, 0.95)) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin: 0 auto 2.5rem !important;
    }
    
    .s2-service-item:not(.s2-active) {
        display: none !important;
    }

    /* DESCRIPTION comes AFTER the card */
    .s2-right-body {
        order: 3 !important;
        max-width: 32ch !important;
        margin: 0 auto 3rem !important;
        font-size: 1.05rem !important;
        line-height: 1.6 !important;
        text-align: center !important;
        color: var(--text-dim) !important;
        display: block !important;
        padding: 0 1rem !important;
    }

    .s2-svc-body {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .s2-svc-icon, 
    .s2-service-item.s2-active .s2-svc-icon {
        width: 92px !important;
        height: 92px !important;
        border-radius: 24px !important;
        padding: 18px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
        flex-shrink: 0 !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3) !important;
        margin-bottom: 0.5rem !important;
    }

    .s2-svc-body h3 {
        font-size: clamp(1.4rem, 6.5vw, 2.1rem) !important;
        line-height: 1.15 !important;
        white-space: normal !important;
        margin-top: 0.1rem !important;
        margin-bottom: 0.4rem !important;
        color: #ffffff !important;
    }
    
    .s2-svc-body h3 br { display: none !important; }
    
    .s2-svc-num {
        color: rgba(255, 255, 255, 0.4) !important;
        font-size: 0.72rem !important;
    }

    .s2-svc-count { 
        font-size: 0.92rem !important; 
        color: var(--text-dim) !important;
    }

    .s2-right-stats { 
        display: none !important;
    }

    /* CONTROLS (Arrows) come next */
    .s2-slider-controls { 
        order: 4 !important;
        display: flex !important;
        justify-content: center !important; 
        width: 100% !important;
        margin: 0 !important;
    }
    
    .s2-left-controls {
        position: static !important;
        transform: none !important;
        flex-direction: row !important;
        gap: 1.3rem !important;
    }

    .s2-nav-btn {
        width: 58px !important;
        height: 58px !important;
        border-radius: 14px !important;
        border-color: rgba(255,255,255,0.15) !important;
        background: rgba(255,255,255,0.06) !important;
    }

    /* DOTS come LAST */
    .s2-progress-dots-mobile {
        order: 5 !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 1.5rem !important;
        margin-bottom: 1rem !important; /* Reduced from 3rem */
        gap: 0.9rem !important;
        width: 100% !important;
    }

    .s2-progress-dots-desktop { display: none !important; }

    .s2-progress-dots-mobile .s2-dot {
        width: 11px !important;
        height: 11px !important;
        background: rgba(255,255,255,0.25) !important;
        border-radius: 50% !important;
        display: inline-block !important;
        opacity: 1 !important;
        border: none !important;
    }

    /* FORCE ACTIVE DOT COLOR RED */
    .s2-progress-dots-mobile .s2-dot.active {
        background: #bc0000 !important; /* Pure Crimson Red */
        opacity: 1 !important;
        width: 11px !important;
        box-shadow: 0 0 10px rgba(188, 0, 0, 0.4) !important;
    }
}
/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    height: 800px;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid transparent; /* Seamless borders */
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.bento-item:hover {
    border-color: var(--border-bright);
    background: #181820;
}

.bento-item.lg {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.md {
    grid-column: span 1;
}

/* Work Showcase - Layered */
.work-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 12rem;
}

.work-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border);
}

.work-img-wrapper img {
    width: 100%;
    transition: transform 1.5s cubic-bezier(0.2, 1, 0.2, 1);
}

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

/* Pricing - Premium Cards */
.pricing-card {
    background: linear-gradient(145deg, #121217 0%, #0a0a0c 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 4rem;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

/* Animations */
.reveal {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Mobile Reveal Optimization - FIXED LAG (Animations Disabled) */
@media (max-width: 768px) {
    .reveal, .reveal-card {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Responsive & Mobile Menu */
@media (max-width: 1024px) {
    body, html {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .container { padding: 0 1.5rem; width: 100%; max-width: 100vw; }
    .nav-container { padding: 1.2rem 1.5rem; width: 100%; }
    
    /* Force header to 100vw on mobile as requested */
    header.scrolled {
        width: 100vw !important;
        left: 0 !important;
        transform: none !important;
        top: 0 !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        backdrop-filter: blur(12px) saturate(180%) !important; /* Reduced blur for mobile as requested */
        -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    }

    header.scrolled .nav-container {
        padding: 0.8rem 1.5rem;
    }

    nav { 
        display: none; 
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 6rem);
    }
    
    .bento-grid { grid-template-columns: 1fr; height: auto; }
    .bento-item.lg { grid-column: span 1; }
    .work-item { grid-template-columns: 1fr; gap: 3rem; }
    
    .spotlight {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .nav-container { padding: 1rem 1rem; }
    .btn-talk { display: none; } /* Hide talk button on small mobile to save space */

    .systems-section {
        padding: 5rem 0 6rem;
    }

    .systems-heading h2 {
        font-size: clamp(1.6rem, 9vw, 2.4rem);
    }

    .systems-heading p {
        font-size: 0.95rem;
    }

    .systems-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }

    .systems-card {
        padding: 1.4rem;
    }

    .systems-card h3 {
        font-size: 1.25rem;
    }

    .systems-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        max-width: 100%;
    }

    .hero-text-perfection {
        text-align: center !important;
        display: grid;
        justify-items: center;
        row-gap: 1rem;
        margin: 0 auto;
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .hero-text-perfection h1 {
        text-align: center !important;
        font-size: clamp(2.2rem, 12vw, 3.3rem) !important;
        line-height: 0.92 !important;
        margin-bottom: 0 !important;
    }

    .hero-text-perfection h1 .architect-word {
        display: inline-block;
        transform: translateX(0);
    }

    .hero-p-v5 {
        text-align: center !important;
        margin: 0 !important;
        max-width: 32ch !important;
        font-size: 0.98rem !important;
        line-height: 1.6 !important;
    }

    .hero-button-group {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.7rem !important;
        width: 100%;
        margin-top: 0.2rem;
    }

    .hero-button-group .btn {
        width: 100% !important;
        max-width: 320px !important;
        min-width: 0 !important;
    }

    .hero-text-link {
        width: auto;
        text-align: center;
        font-size: 0.86rem;
        letter-spacing: 0.09em;
    }

    .hero-img-perfection {
        top: 2vh !important;
        right: -40px !important;
        opacity: 0.72 !important;
        filter: brightness(1) contrast(1.1) saturate(1.1) !important;
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%) !important;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%) !important;
    }
}

/* Final lock for all non-mobile laptop/desktop screens */
@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
    .hero-perfection {
        height: 100dvh !important;
        min-height: 100dvh !important;
        padding: 0 !important;
    }

    .hero-container-v5 {
        min-height: 100dvh !important;
    }

    .hero-img-perfection {
        height: 120dvh !important;
        bottom: -18dvh !important;
        top: auto !important;
        right: -5% !important;
        object-position: center 20% !important;
    }

    .hero-button-group {
        gap: 1rem !important;
        align-items: center !important;
    }

    .hero-button-group .btn {
        min-width: 220px !important;
        padding: 1rem 2.2rem !important;
        border-radius: 999px !important;
        font-size: 0.9rem !important;
        letter-spacing: 0.08em !important;
    }

    .hero-text-link {
        display: inline-flex !important;
        align-items: center;
        font-size: 0.9rem !important;
        letter-spacing: 0.08em !important;
    }
}
/* Experience & Credibility Timeline */
#experience {
    background: var(--bg-dark); /* Match Section 1/2 */
    padding: 4rem 0; /* Reduced from 10rem */
}

.experience-timeline {
    position: relative;
    max-width: 1100px;
    margin: 4rem auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px; /* Sleeker line */
    background: rgba(255, 255, 255, 0.04); 
    transform: translateX(-50%);
}

.timeline-progress-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px; /* Thinner progress line */
    background: var(--primary);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--primary-glow);
    transition: height 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); /* Smoother transition */
    z-index: 1;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-bottom: 5rem; /* Reduced space further */
    position: relative;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); /* More responsive easing */
}

.timeline-item.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.timeline-item:nth-child(even) .timeline-left {
    order: 2;
    text-align: left;
    padding-left: 4rem;
    padding-right: 0;
}

.timeline-item:nth-child(even) .timeline-right {
    order: 1;
    text-align: right;
    padding-right: 4rem;
    padding-left: 0;
}

.timeline-left {
    text-align: right;
    padding-right: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-right {
    text-align: left;
    padding-left: 4rem;
}

/* Progress Dot (Moving) */
.timeline-progress-dot {
    position: absolute;
    bottom: -9px; /* Extended for 18px dot */
    left: 50%;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 18px var(--primary-glow);
    z-index: 5;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: auto; /* Overridden by JS */
    width: 2px; /* Thicker line */
    background: rgba(255, 255, 255, 0.05); 
    transform: translateX(-50%);
}

.exp-company {
    display: block;
    font-size: 1.15rem;
    color: #808080;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-family: var(--sans);
}

.exp-date {
    display: block;
    font-size: 0.8rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
}

.exp-role {
    display: block;
    font-size: 2.2rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.05;
    font-family: var(--inter);
}

.exp-desc {
    font-size: 1.05rem;
    color: #999;
    line-height: 1.6;
    max-width: 440px;
    font-weight: 300;
}

@media (max-width: 900px) {
    #experience {
        padding: 3rem 0 !important; /* Aggressive reduction for mobile */
    }

    .experience-timeline {
        margin-top: 3rem;
        padding-left: 20px;
    }

    .timeline-line {
        left: 0;
        top: 0;
        bottom: 4rem; /* Stop at last item */
        transform: none;
        background: rgba(255, 255, 255, 0.08); /* Static side guide */
        width: 1px;
    }

    .timeline-progress-line {
        display: none !important; /* Force remove red line on mobile */
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-left: 25px;
        margin-bottom: 2.5rem; /* Tighter mobile timeline spacing */
        text-align: left !important;
        /* Forced visible to prevent lag */
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }

    .timeline-item.active {
        opacity: 1;
        transform: translateY(0);
    }

    .timeline-item:nth-child(even) .timeline-left,
    .timeline-item:nth-child(even) .timeline-right {
        order: unset;
        text-align: left !important;
        padding: 0;
    }

    .timeline-left, .timeline-right {
        text-align: left !important;
        padding: 0 !important;
    }

    /* We use a simple accent marker for mobile instead of the complex dot */
    .timeline-item::before {
        content: "";
        position: absolute;
        left: -20px; /* Aligned with side guide */
        top: 0.6rem;
        width: 6px;
        height: 6px;
        background: var(--primary);
        border-radius: 50%;
        opacity: 0.3;
        transition: opacity 0.4s ease;
    }

    .timeline-item.active::before {
        opacity: 1;
        box-shadow: 0 0 10px var(--primary-glow);
    }

    .exp-company {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
        color: #666;
    }

    .exp-role {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .exp-desc {
        font-size: 0.9rem;
        line-height: 1.5;
        color: #888;
    }
}

/* ==============================================
   SECTION 4 - WORK SHOWCASE
   ============================================== */
#work-showcase {
    background: #000;
    padding: 3rem 0; /* Aggressive reduction for mobile */
    overflow: hidden;
}

.work-title {
    font-family: var(--sans);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 0.5rem;
}

.work-header-left h2 {
    font-family: var(--sans);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
}

.work-subtext {
    margin-top: 0.8rem;
    letter-spacing: 0.02em;
}

.explore-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-family: var(--sans);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.explore-link:hover {
    color: #fff;
    border-color: var(--primary);
    gap: 8px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Half-half space as requested */
    gap: 3rem; /* Increased gap for better design */
}

.project-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9; /* Enforced 16:9 as requested */
    background: #0a0a0a;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 24px !important; /* Premium rounded corners */
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    transition: opacity 0.5s ease;
}

.card-tag {
    position: absolute;
    top: 1.8rem;
    left: 1.8rem;
    background: var(--primary);
    color: #fff;
    padding: 0.6rem 1.2rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    z-index: 2;
}

.card-content {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    z-index: 2;
    transition: transform 0.4s ease;
}

.card-title {
    font-family: var(--sans);
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.4rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.card-client {
    font-size: 0.95rem;
    color: var(--text-dim);
    font-weight: 400;
    letter-spacing: 0.03em;
}

.card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

/* ==============================================
   SECTION 3.5 - TECH STACK SLIDER
   ============================================== */
.tech-slider-wrapper {
    background: #000;
    padding: 2rem 0 4rem;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.tech-slider {
    width: 100%;
}

.tech-track {
    display: flex;
    width: 5760px; /* 32 slides * 180px */
    animation: scroll 40s linear infinite;
}

.tech-slide {
    width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    flex-shrink: 0;
}

.tech-slide img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s ease;
}

.tech-slide:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-2880px); } /* 16 tools * 180px */
}

/* Pause animation on hover */
.tech-track:hover {
    animation-play-state: paused;
}

/* ==============================================
   SECTION: IMPACT / STATS WALL (FLAT EDITORIAL)
   ============================================== */
#impact {
    padding: 8rem 4rem; /* Restore standard container padding */
    position: relative;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.impact-card {
    background: #050505;
    border: 1px solid var(--border-bright);
    padding: 5rem 3rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.impact-card:hover {
    border-color: var(--primary);
    background: #080808;
}

.impact-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.impact-number {
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 400; /* Serif usually looks better at normal weight */
    line-height: 1;
    font-family: var(--serif);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease;
}

.impact-plus {
    font-size: 2rem;
    color: var(--primary);
    font-family: var(--sans);
    font-weight: 800;
    margin-left: 0.2rem;
}

.impact-card.active .impact-number {
    opacity: 1;
    transform: translateY(0);
}

.impact-label {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

/* Responsive Editorial Adjustments */
@media (max-width: 900px) {
    .impact-grid { grid-template-columns: 1fr; gap: 2rem; }
    #impact { padding: 6rem 1.5rem; } /* Added minor side padding as requested */
    .impact-card { padding: 4rem 2rem; }
}

@media (max-width: 768px) {
    .tech-slider-wrapper { padding: 2rem 0 3rem; }
    .tech-slide { width: 140px; padding: 0 25px; }
    .tech-slide img { height: 30px; }
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-140px * 16)); }
    }
}

.project-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(188, 0, 0, 0.15);
}

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

.project-card:hover .card-content {
    transform: translateY(-5px);
}

/* Tablet / Horizontal Scroll */
@media (max-width: 1024px) {
    .portfolio-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 3rem;
        gap: 2rem;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .portfolio-grid::-webkit-scrollbar {
        display: none;
    }
    
    .project-card {
        min-width: 380px;
        flex: 0 0 auto;
        scroll-snap-align: start;
        height: 480px;
    }
}

/* Mobile Stack */
@media (max-width: 768px) {
    .work-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .portfolio-grid {
        flex-direction: column;
        overflow-x: visible;
        gap: 1.5rem;
    }
    
    .project-card {
        min-width: 0;
        width: 100%;
        height: 420px;
    }
    
    .card-title {
        font-size: 1.6rem;
    }
}

/* ==============================================
   PROJECT DETAIL PAGES
   ============================================== */
.project-hero {
    padding: 9rem 0 2rem; /* Increased top padding as requested for more space */
    background: #000;
    position: relative;
    overflow: hidden;
}

.project-hero-content {
    max-width: 1100px; /* Increased to help single-line headings */
    margin: 0 auto;
    text-align: center;
}

.project-hero-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.8rem; /* Reduced from 1rem */
}

.project-hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem); /* Slightly smaller to ensure "one line" */
    font-weight: 900;
    line-height: 1; /* Reset for single line */
    letter-spacing: -0.04em;
    margin-bottom: 1rem; /* Reduced from 1.5rem */
    white-space: nowrap; /* Force one line as requested */
}

.project-main-image {
    width: 100%;
    aspect-ratio: 3/1; /* Shortened image size as requested */
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2rem; /* Curved sides as requested */
    margin-bottom: 4rem; /* Reduced from 6rem */
    background: #0a0a0a;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    margin-bottom: 8rem;
}

.tech-stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.tech-badge {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    border-radius: 100px; /* Pill style curved badges */
}

.project-description-block h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.project-description-block p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    margin-bottom: 1.5rem; /* Further reduced from 2.5rem */
}

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

@media (max-width: 900px) {
    .project-details-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .project-hero {
        padding: 6rem 0 1.5rem; /* Balanced mobile spacing */
    }
    
    .project-hero-title {
        white-space: normal; /* Allow wrap on mobile if absolutely necessary but keep it tight */
        font-size: 2.5rem;
    }
}

/* ==============================================
   SECTION 5 - EDUCATION & CERTIFICATES
   ============================================== */
#education {
    padding: 2rem 0 6rem;
    background: #000;
}

#education .work-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
}

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

.edu-card {
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center; /* Center horizontally */
    gap: 2.5rem;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: left; /* Default text align */
}

.edu-card:hover {
    border-color: rgba(255,255,255,0.15);
    background: #0d0d0d;
    transform: translateY(-5px);
}

.edu-icon-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    overflow: hidden; /* Ensure logo stays circular */
}

.edu-logo {
    width: 65px; /* Boosted default size */
    height: 65px;
    object-fit: contain;
    z-index: 2;
    transition: transform 0.3s ease;
}

.edu-card:hover .edu-logo {
    transform: scale(1.1);
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.35s;
    transform-origin: 50% 50%;
    stroke: var(--primary);
    stroke-width: 3;
    stroke-linecap: round;
}

.progress-text {
    position: absolute;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    z-index: 2;
}

.edu-content {
    flex-grow: 1;
}

.edu-title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Default start */
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.edu-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--sans);
}

.edu-arrow {
    color: var(--text-dim);
    font-size: 1.2rem;
}

.edu-desc {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.edu-meta {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   EDUCATION BRAND SYNCHRONIZATION (High-Impact Badges)
   ========================================================================== */

/* 1. VU (Deep Blue) */
.edu-card.vu {
    background: radial-gradient(circle at top right, rgba(0,75,150,0.08), transparent);
}
.edu-card.vu .edu-icon-wrap {
    border-color: rgba(0,123,255,0.3);
    background: radial-gradient(circle at center, rgba(0,123,255,0.05), transparent);
}
.edu-card.vu:hover .edu-icon-wrap {
    border-color: #007bff;
    box-shadow: 0 0 40px rgba(0,123,255,0.3), inset 0 0 20px rgba(0,123,255,0.15);
    transform: scale(1.05);
}
.edu-card.vu .edu-logo {
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.5)) brightness(1.2) contrast(1.1);
    width: 95px;
    height: 95px;
}

/* 2. DigiSkills (Yellowish Card, Neutral Logo Circle) */
.edu-card.dg {
    background: radial-gradient(circle at top right, rgba(255, 191, 0, 0.12), transparent); /* Stronger Yellowish Bg */
}
.edu-card.dg .edu-icon-wrap {
    border-color: rgba(255, 255, 255, 0.15); /* Clean White/Neutral */
    background: rgba(255, 255, 255, 0.03);
}
.edu-card.dg:hover .edu-icon-wrap {
    border-color: rgba(255, 255, 255, 0.4); /* White glow on hover */
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}
.edu-card.dg .edu-logo {
    width: 65px;
    height: 65px;
    filter: none;
}

/* 3. Code with Harry (Premium White/Gold Neutral) */
.edu-card.harry {
    background: radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent);
}
.edu-card.harry .edu-icon-wrap {
    border-color: rgba(255, 255, 255, 0.2);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent);
}
.edu-card.harry:hover .edu-icon-wrap {
    border-color: #fff;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}
.edu-card.harry .edu-logo {
    width: 110px;
    height: 110px;
    object-fit: cover;
}

/* 4. Frontend Masters (Signature Red) */
.edu-card:not(.vu):not(.dg):not(.harry) {
    background: radial-gradient(circle at top right, rgba(225,18,51,0.05), transparent);
}
.edu-card:not(.vu):not(.dg):not(.harry) .edu-icon-wrap {
    border-color: rgba(225,18,51,0.3);
    background: radial-gradient(circle at center, rgba(225,18,51,0.05), transparent);
}
.edu-card:not(.vu):not(.dg):not(.harry):hover .edu-icon-wrap {
    border-color: #e11233;
    box-shadow: 0 0 40px rgba(225, 18, 51, 0.3), inset 0 0 20px rgba(225, 18, 51, 0.15);
    transform: scale(1.05);
}
.edu-card:not(.vu):not(.dg):not(.harry) .edu-logo {
    filter: brightness(1.15);
    width: 90px;
    height: 90px;
}

/* Action Footer Containers */
.edu-footer, .work-footer {
    display: flex;
    justify-content: center;
    margin-top: 30px; /* Tightened from 50px */
}

.edu-view-all {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: transparent; /* Transparent by default */
    border: 1px solid #bc0503;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.8px;
    box-shadow: 0 5px 15px rgba(188, 5, 3, 0.1);
}

.edu-view-all:hover {
    background: #bc0503; /* Solid fill on hover */
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(188, 5, 3, 0.3);
    color: #fff;
}

/* Mobile Work Refinements */
@media (max-width: 768px) {
    .work-header {
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }
    
    .work-header-left h2 {
        margin-bottom: 0px;
    }
    
    .work-header-left {
        text-align: center;
        width: 100%;
    }

    .work-header-right {
        display: none; /* Hide Explore link on mobile as requested */
    }

    .project-card {
        aspect-ratio: 16/9; /* YT Thumbnail Size */
        height: auto;
    }

    /* Reset Red Label to Left on Mobile */
    .card-tag {
        left: 1.5rem; /* Back to left as requested */
        transform: none;
        top: 1.5rem;
    }

    .card-content {
        left: 0;
        right: 0;
        bottom: 1.5rem; /* Move minor down from original 2.5rem */
        text-align: center;
        padding: 0 1.5rem;
    }

    .card-title {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }

    .card-client {
        font-size: 0.85rem;
    }
}

@media (min-width: 769px) {
    .mobile-explore-wrap {
        display: none;
    }
}

.edu-view-all:hover .btn-arrow {
    transform: translateX(5px);
}

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

@media (max-width: 768px) {
    .edu-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .edu-title-row {
        justify-content: center;
    }
}

/* ==============================================
   SECTION: START PROJECT & FOOTER
   ============================================== */
.start-project {
    padding: 120px 5%;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.start-project-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.start-project-info h2 {
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -0.04em;
    color: #fff;
}

.start-project-info p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 450px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px 20px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 140px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(188, 5, 3, 0.5); /* Brand red touch on focus */
}

.submit-btn {
    grid-column: span 2;
    background: #fff;
    color: #000;
    border: 1px solid #fff;
    padding: 22px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 50px;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1); /* Smoother duration */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    min-width: 240px;
}

.submit-btn .btn-text {
    display: inline-block;
    max-width: 200px;
    opacity: 1;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.6s cubic-bezier(0.19, 1, 0.22, 1), 
                opacity 0.5s ease, 
                margin 0.6s ease;
}

.submit-btn:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-5px); /* Slightly more elevation */
}

.submit-btn:hover .btn-text {
    max-width: 0;
    opacity: 0;
    margin-right: -12px;
}

.submit-btn svg.long-arrow {
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), 
                stroke 0.4s ease;
}

.submit-btn:hover svg.long-arrow {
    transform: scale(1.4) translateX(5px); /* Centered and slightly scaled */
    stroke: #fff;
}

/* Mobile Message Button */
.mobile-msg-btn {
    display: none;
    color: #fff;
    transition: var(--transition-fast);
}

@media (max-width: 900px) {
    .mobile-msg-btn {
        display: flex;
        align-items: center;
        margin-right: -0.5rem;
    }
    
    .btn-talk {
        display: none !important;
    }
}

footer {
    padding: 100px 5% 60px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: none;
    margin-bottom: 20px;
    display: block;
}

.footer-brand p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

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

.link-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 30px;
}

.link-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-col ul li {
    margin-bottom: 18px;
}

.link-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.link-col ul li a:hover {
    color: #bc0503;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Red Touch Branding */
.accent-red {
    color: #bc0503;
}

@media (max-width: 1024px) {
    .start-project {
        padding: 80px 5%;
    }
    .start-project-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .start-project-info {
        text-align: center;
    }
    .start-project-info p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-links {
        width: 100%;
        justify-content: center;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    .form-group.full-width, .submit-btn {
        grid-column: span 1;
    }
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}

/* Immersive Success Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-overlay.immersive {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: backdrop-filter 0.8s ease, -webkit-backdrop-filter 0.8s ease, opacity 0.5s ease;
}

.success-overlay.immersive.active {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.success-content {
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.8s;
}

.success-overlay.active .success-content {
    opacity: 1;
    transform: scale(1);
}

.ghost-tick {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
    transition: opacity 0.5s ease 1.5s;
}

.success-overlay.active .ghost-tick {
    animation: drawTick 1.2s ease forwards 1.2s;
}

@keyframes drawTick {
    to { stroke-dashoffset: 0; }
}

.success-text {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

/* Curved Red Sweep Animation */
.sweep-line {
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(110deg, transparent, var(--primary), transparent);
    opacity: 0;
    transform: skewX(-25deg);
    filter: blur(40px);
    z-index: 1;
}

.success-overlay.active .sweep-line {
    animation: immersiveSweep 3s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.2s;
    opacity: 0.8;
}

@keyframes immersiveSweep {
    0% { left: -150%; opacity: 0; }
    30% { opacity: 0.9; }
    100% { left: 150%; opacity: 0; }
}
