/* =========================================================================
   GILLTY DESIGN STUDIO - STYLESHEET
   Core Aesthetic: Ultra-dark mode, minimalist, high-contrast, cinematic.
   ========================================================================= */

:root {
    --bg-dark: #050505;
    --text-primary: #FFFFFF;
    --text-muted: #888888;
    --accent: #b6ff3b;
    --secondary: #b6ff3b;
    --glow: transparent;

    --font-heading: 'Satoshi', sans-serif;
    --font-body: 'Satoshi', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease-in-out;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--bg-dark);
}

body.dark-theme {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Utility */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    color: #ffffffb2;
    font-weight: 500;
    margin-bottom: 2rem;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.text-center {
    text-align: center;
}

/* Container System */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.container-medium {
    max-width: 1000px;
}

.container-narrow {
    max-width: 800px;
}

.section-padding {
    padding: 10rem 0;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-dark);
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-smooth);
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-primary);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 2.5rem;
    right: 2.5rem;
    height: 1px;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.btn-secondary:hover::after {
    transform: scaleX(1);
}

.btn-outline {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    border-color: var(--text-primary);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 4px;
}

.btn-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Optional subtler border */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-logo {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* SECTION 1: The Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    padding-top: 20vh;
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-dark);
    /* Fallback */
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.582) 0%, rgba(5, 5, 5, 0.664) 100%);
    z-index: 0;
}

.hero-text-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.hero-heading {
    font-size: clamp(3.5rem, 6vw, 6rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.accent-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

.btn-growth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: #050505;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.btn-growth:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

/* Hero Gallery Layout */
.hero-gallery-container {
    margin-top: 8vh;
    /* Space between text and gallery */
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 5vh;
}

.hero-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5vw;
    width: max-content;
}

.gallery-card {
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-center {
    width: 32vw;
    height: 65vh;
}

.card-mid {
    width: 22vw;
    height: 50vh;
}

.card-outer {
    width: 16vw;
    height: 38vh;
}

.card-edge {
    width: 12vw;
    height: 28vh;
}

@media (max-width: 992px) {
    .hero-gallery {
        gap: 3vw;
    }

    .card-center {
        width: 50vw;
        height: 50vh;
    }

    .card-mid {
        width: 35vw;
        height: 40vh;
    }

    .card-outer {
        width: 25vw;
        height: 30vh;
    }

    .card-edge {
        display: none;
    }
}

/* SECTION 2: Services Grid */
.section-heading h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.discipline-card {
    background: #202020;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition-smooth);
}

.discipline-card:hover {
    border-color: #b6ff3b;
    transform: translateY(-5px);
}

.discipline-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}

.discipline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.discipline-card:hover .discipline-image img {
    transform: scale(1.05);
}

.discipline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.discipline-content p {
    margin: 0;
    color: #ffffffb2;
    font-size: 1.05rem;
    font-weight: 400;
}

.badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    background: var(--accent);
    color: var(--bg-dark);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* SECTION 2.5: Video Heading Overlay */
.video-heading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    background: rgba(0, 0, 0, 0.4);
    /* Slight dim to make text pop */
    pointer-events: none;
}

.video-heading-overlay h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    text-align: center;
    color: var(--text-primary);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 2px 5px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    padding: 0 1rem;
    line-height: 1.1;
}

/* SECTION 3: Portfolio Showreel */
.portfolio-list {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

/* Alternate rows */
.project-item:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

.project-item:nth-child(even) .project-info {
    order: 2;
}

.project-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.project-visual {
    width: 100%;
    height: 70vh;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.project-visual img {
    width: 100%;
    height: 120%;
    /* Extra height for parallax */
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

/* Signature Components */
.glow-container {
    box-shadow: 0 0 40px var(--glow), 0 0 100px var(--glow);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.glow-container:hover {
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.08), 0 0 150px rgba(255, 255, 255, 0.05);
}

/* Cinematic Grain Effect overlay using CSS */
.cinematic-grain::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.15;
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 2;
}

/* ==========================================================================
   SECTION 3.5: PRICING CALCULATOR WIZARD
   ========================================================================== */
.pricing-calculator-section {
    position: relative;
    overflow: hidden;
}

.calculator-wizard {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.calc-step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.calc-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.calc-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.calc-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: none;
}

.calc-input::-webkit-inner-spin-button,
.calc-input::-webkit-outer-spin-button {
    opacity: 1;
}

.input-hint {
    font-size: 0.85rem;
    color: var(--accent);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Radio & Checkbox Selection Cards */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-card,
.checkbox-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.radio-card input,
.checkbox-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.radio-card:hover .card-content,
.checkbox-card:hover .card-content {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.radio-card input:checked~.card-content,
.checkbox-card input:checked~.card-content {
    background: rgba(182, 255, 59, 0.05);
    border-color: var(--accent);
    box-shadow: inset 0 0 0 1px var(--accent);
}

.tier-card .card-content {
    flex-wrap: wrap;
}

.tier-card h4 {
    width: 100%;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.tier-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.price-tag {
    font-family: var(--font-serif);
    color: var(--accent);
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    display: block;
}

/* Specific to checkboxes */
.checkbox-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.checkbox-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Step Actions Buttons */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-calc-next,
.btn-calc-prev {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-sans);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-calc-next {
    background: var(--text-primary);
    color: var(--bg-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
}

.btn-calc-next:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

.btn-calc-prev:hover {
    color: var(--accent);
}

/* Summary Projection Box */
.summary-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(182, 255, 59, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.1rem;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item strong {
    color: var(--text-muted);
    font-weight: 400;
}

.total-projection {
    margin-top: 2rem;
    text-align: center;
}

.total-projection h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.total-amount {
    font-size: 4rem;
    font-family: var(--font-serif);
    color: var(--accent);
    text-shadow: none;
}

.style-disclaimer {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 3px solid var(--accent);
}

.style-disclaimer i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.style-disclaimer p {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .calculator-wizard {
        padding: 1.5rem;
    }

    .card-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .checkbox-card .card-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .summary-item {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* SECTION 4: Process */
.process-timeline {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 2rem;
    width: 2px;
    height: 0%;
    /* Navigated by GSAP */
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
    z-index: 1;
}

.process-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    position: relative;
    transition: var(--transition-smooth);
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-muted);
    background: var(--bg-dark);
    padding: 1rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.step-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transition: color 0.4s ease;
}

/* Timeline Active States */
.process-step.timeline-active .step-number {
    color: var(--accent);
    text-shadow: none;
}

.process-step.timeline-active .step-content h3 {
    color: var(--accent);
}

/* SECTION 5: Testimonial */
.grain-bg {
    position: relative;
    background-color: #030303;
}

.grain-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.serif-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 3rem);
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.quote-author strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 0.2rem;
}

.quote-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-body);
}

/* SECTION 5.5: FAQs */
.faq-section {
    background-color: var(--bg-dark);
}

.faq-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.faq-item {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.faq-answer p {
    margin: 0;
    color: #ffffffb2;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 95%;
}

.faq-item.is-open .faq-icon {
    transform: rotate(0deg);
}

.faq-item.is-open .faq-answer {
    max-height: 800px;
    margin-top: 1.25rem;
    opacity: 1;
}

/* SECTION 6: Footer */
.footer {
    position: relative;
    overflow: hidden;
}

.footer-cta {
    margin-bottom: 5rem;
}

.massive-text {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    margin-bottom: 5rem;
}

/* Founder Section Responsiveness */
@media screen and (max-width: 900px) {
    .founder-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 2rem !important;
    }

    .founder-grid .founder-image img {
        margin: 0 auto;
    }
}

.footer-minimal-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 5rem;
    margin-bottom: 5rem;
}

.minimal-contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: none;
}

.btn-submit {
    align-self: flex-start;
    background: transparent;
    color: var(--text-primary);
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 0;
    transition: var(--transition-fast);
}

.btn-submit:hover {
    gap: 1.2rem;
}

.footer-meta {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 1rem;
}

.footer-col a {
    font-size: 1.1rem;
    position: relative;
}

.footer-col a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.footer-col a:hover::after {
    transform: scaleX(1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* INTERACTIVE COMPONENT: Before/After Slider */
.showcase-slider-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #080808 100%);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 60vh;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 4rem;
}

.image-comparison {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-wrapper.before-image {
    width: 50%;
    /* JS will update this */
    z-index: 1;
    border-right: 2px solid white;
}

.img-wrapper.after-image {
    width: 100%;
    z-index: 0;
}

.label {
    position: absolute;
    bottom: 20px;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.after-image .label {
    right: 20px;
}

.before-image .label {
    left: 20px;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    /* JS will update this */
    width: 100%;
    height: 100%;
    z-index: 2;
    transform: translateX(-50%);
    pointer-events: none;
    /* Let clicks pass through except on the button */
}

.slider-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-dark);
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    /* Re-enable pointer events for the button */
    cursor: ew-resize;
}

/* Animations & Reveal Effects */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-block {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.reveal-block.active {
    opacity: 1;
}

/* Staggered Appear Effect for Hero Gallery Cards */
.hero-gallery-container .gallery-card {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-gallery-container.active .gallery-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Base stagger delays for gallery cards */
.hero-gallery-container.active .gallery-card:nth-child(1) {
    transition-delay: 0.1s;
}

.hero-gallery-container.active .gallery-card:nth-child(2) {
    transition-delay: 0.25s;
}

.hero-gallery-container.active .gallery-card:nth-child(3) {
    transition-delay: 0.4s;
}

.hero-gallery-container.active .gallery-card:nth-child(4) {
    transition-delay: 0.55s;
}

.hero-gallery-container.active .gallery-card:nth-child(5) {
    transition-delay: 0.7s;
}

.hero-gallery-container.active .gallery-card:nth-child(6) {
    transition-delay: 0.85s;
}

.hero-gallery-container.active .gallery-card:nth-child(7) {
    transition-delay: 1.0s;
}

/* Parallax setup in JS updates variables or inline translation */

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .project-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-item:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .project-item:nth-child(even) .project-info {
        order: 0;
    }

    .project-visual {
        height: 50vh;
    }

    .footer-minimal-layout {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .desktop-logo {
        display: none;
    }

    .mobile-logo {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-text-large h1 {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(15px);
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
        z-index: 99;
        opacity: 0;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .footer-meta {
        flex-direction: column;
        gap: 2rem;
    }

    .massive-text {
        font-size: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* =========================================================================
   6. BACK TO TOP BUTTON
   ========================================================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: var(--bg-dark);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}