/* --- CSS VARIABLES & THEMING --- */
:root {
    --bg-color: #050505;
    --surface-color: #0d0d0d;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-primary: #00ff66;
    /* Vibrant Green */
    --accent-glow: rgba(0, 255, 102, 0.4);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- PRELOADER --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flash-words {
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flash-word {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    opacity: 0;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.preloader-logo {
    font-size: 5rem;
    opacity: 0;
    position: absolute;
    white-space: nowrap;
}

/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Hide scrollbar for a cleaner scrollytelling look */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 700;
}

strong {
    font-weight: 900;
    color: #fff;
}

.highlight {
    color: var(--accent-primary);
    text-shadow: 0 0 20px var(--accent-glow);
}

.highlight-text {
    color: var(--bg-color);
    -webkit-text-fill-color: var(--bg-color);
    -webkit-text-stroke: 0px;
    text-shadow:
        -2px -2px 0 var(--accent-primary),
        2px -2px 0 var(--accent-primary),
        -2px 2px 0 var(--accent-primary),
        2px 2px 0 var(--accent-primary),
        -2px 0 0 var(--accent-primary),
        2px 0 0 var(--accent-primary),
        0 -2px 0 var(--accent-primary),
        0 2px 0 var(--accent-primary);
    letter-spacing: 0.1em;
}

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    background-color: #00e65c;
    box-shadow: 0 0 40px var(--accent-glow);
    transform: scale(1.05);
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    z-index: 100;
    padding: 15px 30px;
    border-radius: 50px;
    transition: padding 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease, top 0.4s ease;
    overflow: hidden;
    /* To contain the scroll progress bar inside rounded edges */
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    mix-blend-mode: normal;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    position: relative;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease, transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px var(--accent-glow);
    border-radius: 2px;
}

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

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

.nav-link:active {
    transform: scale(0.9) translateY(2px);
    color: #fff;
}

/* --- HERO SECTION --- */
.hero-st {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.webgl {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 120vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    opacity: 0.3;
    will-change: transform;
}

.hero-st::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, #050505 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.sub-heading {
    font-size: 1.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 600;
}

.main-heading {
    font-size: clamp(3rem, 8vw, 8rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.line {
    overflow: hidden;
    display: block;
}

.word {
    display: block;
    transform: translateY(100%);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- INTRO SECTION --- */
.intro-st {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-color);
}

.marquee-w {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100vw;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: max(12vw, 5rem);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
}

.marquee-inner {
    display: inline-block;
    will-change: transform;
}

.intro-container {
    max-width: 1000px;
    position: relative;
    z-index: 1;
}

.reveal-text {
    font-size: clamp(2rem, 4vw, 4rem);
    font-family: var(--font-heading);
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.1);
}

/* --- HORIZONTAL SCROLLYTELLING PAGERS --- */
.horizontal-st {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-color);
    z-index: 1;
}

.h-st-container {
    display: flex;
    width: 400vw;
    /* 4 panels */
    height: 100%;
}

.h-st-panel {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50px;
    overflow: hidden;
    margin: 0 10px;
}

.h-st-content {
    text-align: center;
    width: 80%;
    max-width: 800px;
    z-index: 2;
}

.h-st-content h2 {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 30px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.h-st-content p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.h-btn {
    opacity: 0;
    transform: translateY(20px);
}

.h-st-panel.panel-1 {
    background: #050505;
}

.h-st-panel.panel-2 {
    background: #050505;
}

.h-st-panel.panel-3 {
    background: #050505;
}

.h-st-panel.panel-4 {
    background: #050505;
}

.panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: grayscale(100%);
    z-index: 0;
    transition: opacity 0.8s ease;
}

.h-st-panel:hover .panel-bg {
    opacity: 0.3;
    filter: grayscale(0%);
}

.panel-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.parallax-img {
    position: absolute;
    border-radius: 25px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    opacity: 0.8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.5s ease;
    will-change: transform;
}

.parallax-img:hover {
    transform: scale(1.05) rotate(0deg) !important;
    opacity: 1;
    box-shadow: 0 40px 80px rgba(0, 255, 102, 0.2);
    z-index: 10;
}

.parallax-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.parallax-img:hover img {
    transform: scale(1.1);
}

/* Float Animations for different rhythms */
@keyframes float-1 {

    0%,
    100% {
        transform: translateY(0) rotate(3deg);
    }

    50% {
        transform: translateY(-15px) rotate(4deg);
    }
}

@keyframes float-2 {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(15px) rotate(-6deg);
    }
}

@keyframes float-3 {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

.p-img-1 {
    width: 280px;
    height: 380px;
    top: 10%;
    right: 10%;
    animation: float-1 6s infinite ease-in-out;
}

.p-img-2 {
    width: 220px;
    height: 320px;
    bottom: 15%;
    left: 8%;
    animation: float-2 7s infinite ease-in-out;
}

.p-img-3 {
    width: 320px;
    height: 220px;
    top: 15%;
    left: 15%;
    animation: float-3 8s infinite ease-in-out;
}

.p-img-4 {
    width: 260px;
    height: 360px;
    bottom: 10%;
    right: 15%;
    transform: rotate(8deg);
}

.p-img-5 {
    width: 200px;
    height: 280px;
    top: 40%;
    right: 5%;
    transform: rotate(-10deg);
}

.p-img-6 {
    width: 240px;
    height: 300px;
    bottom: 40%;
    left: 5%;
    transform: rotate(12deg);
}

.p-img-7 {
    width: 190px;
    height: 260px;
    top: 25%;
    left: 3%;
    transform: rotate(-15deg);
}

.p-img-8 {
    width: 210px;
    height: 290px;
    top: 60%;
    left: 10%;
    transform: rotate(5deg);
}

/* Words splitting classes */
.word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.word-inner {
    display: inline-block;
    transform: translateY(100%);
    will-change: transform;
}

/* --- PROCESS GRID SECTION --- */
.process-grid-section {
    padding: 15vh 0;
    background-color: var(--surface-color);
    position: relative;
    z-index: 2;
    contain: content;
    /* Isolates layout recalculations for a big performance boost */
}

.grid-header {
    max-width: 600px;
    margin-bottom: 100px;
}

.grid-header h2 {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 20px;
}

.grid-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.grid-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grid-item .img-wrapper {
    overflow: hidden;
    border-radius: 25px;
    width: 100%;
    height: 100%;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-large {
    grid-column: 1 / 8;
    aspect-ratio: 16/9;
}

.item-square {
    grid-column: 9 / 13;
    aspect-ratio: 1/1;
    margin-top: 150px;
}

.item-tall {
    grid-column: 1 / 6;
    aspect-ratio: 3/4;
    margin-top: -100px;
}

.item-wide {
    grid-column: 7 / 13;
    aspect-ratio: 16/10;
    margin-top: 50px;
}

.grid-item .caption h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 5px;
}

.grid-item .caption p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- CONTACT SECTION --- */
.contact-st {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    position: relative;
    text-align: center;
    z-index: 10;
}

.contact-title {
    font-size: clamp(4rem, 8vw, 8rem);
    margin-bottom: 50px;
}

.massive-btn {
    font-size: 2rem;
    padding: 20px 60px;
    border-radius: 50px;
}

.st-footer {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    color: var(--text-secondary);
}

/* RESPONSIVE REDESIGN FOR MOBILE ONLY */
@media (max-width: 900px) {

    /* Safe Area & Mobile Viewport fixes */
    .hero-st,
    .intro-st,
    .h-st-panel,
    .contact-st {
        min-height: 100svh;
        height: auto;
    }

    .hero-st {
        padding-top: 0 !important;
        /* Removed extra padding to allow perfect flex centering */
    }

    /* Preloader Fine-Tuning */
    .flash-word {
        font-size: clamp(2rem, 12vw, 4rem);
    }

    .preloader-logo {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .preloader-logo img {
        width: 40px !important;
        height: 40px !important;
    }

    /* Typography scale */
    .main-heading {
        font-size: clamp(3rem, 14vw, 4.5rem) !important;
        line-height: 0.95;
    }

    .sub-heading {
        font-size: 0.9rem;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }

    .reveal-text {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
        line-height: 1.4;
    }

    .h-st-content h2 {
        font-size: clamp(2.2rem, 10vw, 3rem);
        margin-bottom: 15px;
    }

    .h-st-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    /* Hide Desktop-Specific Elements */
    .scroll-down {
        display: none !important;
        /* Conflicts with bottom dock on mobile */
    }

    /* Convert floating top nav to dynamic app-like dock */
    .navbar {
        top: 100px !important;
        bottom: auto !important;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 380px;
        padding: 8px 15px;
        border-radius: 25px;
        background: rgba(15, 15, 15, 0.6) !important;
        backdrop-filter: blur(30px) saturate(150%);
        -webkit-backdrop-filter: blur(30px) saturate(150%);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
        z-index: 9999;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), top 0.4s ease;
    }

    .navbar.scrolled {
        top: 80px !important;
        bottom: auto !important;
        transform: translateX(-50%) scale(0.95);
        background: rgba(5, 5, 5, 0.8) !important;
    }

    .nav-container {
        justify-content: center;
        width: 100%;
    }

    /* Hide the logo from the dock to maintain symmetry */
    .navbar .logo {
        display: none !important;
    }

    .nav-links {
        display: flex;
        width: 100%;
        justify-content: space-evenly;
        gap: 0;
        margin: 0;
    }

    /* Ensure all 5 links are visible */
    .nav-links a:nth-child(2),
    .nav-links a:nth-child(4) {
        display: flex !important;
    }

    /* Convert links to icon buttons */
    .nav-links a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 60px;
        height: 60px;
        border-radius: 18px;
        font-size: 0.6rem !important;
        /* Show text very small */
        font-weight: 600;
        letter-spacing: 0;
        text-transform: capitalize;
        color: var(--text-secondary);
        background: transparent !important;
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 0;
    }

    .nav-links a::after {
        display: none;
        /* Remove underline animation on mobile */
    }

    /* FontAwesome Injection */
    .nav-links a::before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1.3rem;
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Map Icons via href */
    .nav-links a[href="#hero"]::before,
    .nav-links a[href="index.html"]::before {
        content: "\f015";
    }

    /* Home */

    .nav-links a[href="#intro"]::before {
        content: "\f007";
    }

    /* About */
    .nav-links a[href="#gallery"]::before {
        content: "\f0b1";
    }

    /* Services */
    .nav-links a[href="#work"]::before {
        content: "\f008";
    }

    /* Work */
    .nav-links a[href="#contact"]::before {
        content: "\f0e0";
    }

    /* Contact */

    .nav-links a:hover,
    .nav-links a:active {
        color: var(--accent-primary);
        transform: translateY(-8px);
    }

    .nav-links a:hover::before,
    .nav-links a:active::before {
        transform: scale(1.2);
        color: var(--accent-primary);
        text-shadow: 0 0 15px var(--accent-glow);
    }

    /* Special styling for inner pages single "Back to Home" link */
    .nav-links a:only-child {
        width: max-content !important;
        height: 45px !important;
        flex-direction: row !important;
        gap: 12px !important;
        font-size: 0.9rem !important;
        padding: 0 25px !important;
        border-radius: 25px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        letter-spacing: 1px !important;
        white-space: nowrap;
    }

    .nav-links a:only-child::before {
        content: "\f060" !important;
        /* Override with Arrow Left */
        font-size: 1.1rem !important;
        margin-right: 5px;
    }

    .navbar:has(.nav-links a:only-child) {
        width: max-content !important;
        padding: 10px 15px !important;
        border-radius: 35px !important;
    }

    /* Vertical Stacking for Horizontal Section */
    .horizontal-st {
        height: auto !important;
        width: 100vw;
        overflow: hidden;
        /* Hide horizontal bleed */
        padding-bottom: 40px;
    }

    .h-st-container {
        display: flex;
        flex-direction: column;
        width: 100vw;
        height: auto !important;
    }

    .h-st-panel {
        width: 100vw;
        min-height: 100svh;
        margin: 0;
        border-radius: 0;
        padding: 80px 0 60px 0 !important;
        /* Push everything below the top nav */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .h-st-content {
        width: 90%;
        position: relative;
        z-index: 10;
        background: rgba(15, 15, 15, 0.7);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 40px 20px;
        border-radius: 30px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
        text-align: center;
    }

    .h-st-content h2 {
        font-size: clamp(2rem, 10vw, 3.2rem) !important;
        margin-bottom: 15px;
        text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    }

    .h-st-content p {
        font-size: 0.95rem !important;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .h-st-content .h-btn {
        width: 100%;
        max-width: 250px;
        border-radius: 50px;
        padding: 15px 30px;
        font-size: 0.85rem;
        letter-spacing: 2px;
        box-shadow: 0 10px 25px rgba(0, 255, 102, 0.2);
    }

    /* Redesign parallax images into a neat decorative frame behind the frosted card */
    .panel-gallery {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 1;
    }

    .panel-gallery .parallax-img {
        opacity: 0.8 !important;
        transition: none !important;
    }

    .panel-gallery .parallax-img:nth-child(1) {
        display: block !important;
        top: 10% !important;
        right: -10% !important;
        left: auto !important;
        width: 65vw !important;
        transform: rotate(6deg) !important;
    }

    .panel-gallery .parallax-img:nth-child(2) {
        display: block !important;
        bottom: 15% !important;
        left: -5% !important;
        top: auto !important;
        width: 60vw !important;
        transform: rotate(-8deg) !important;
    }

    /* Hide chaotic extra floating images on mobile */
    .panel-gallery .parallax-img:nth-child(n+3) {
        display: none !important;
    }

    /* Process Grid Fixes */
    .process-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding-bottom: 40px;
    }

    .grid-header {
        margin-bottom: 50px;
    }

    .grid-header h2 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .grid-item {
        margin-top: 0 !important;
        width: 100%;
        aspect-ratio: auto !important;
        height: auto;
    }

    .grid-item .img-wrapper {
        aspect-ratio: 4/3;
        border-radius: 15px;
    }

    .contact-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 30px;
    }

    .massive-btn {
        font-size: 1.1rem;
        padding: 18px 40px;
        width: 90%;
        max-width: 300px;
    }

    /* Premium Mobile Footer Redesign */
    .st-footer {
        bottom: 40px !important;
        width: 90%;
        left: 5%;
        padding: 25px 20px !important;
        background: rgba(25, 25, 25, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 25px;
        backdrop-filter: blur(15px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
        margin-top: 0 !important;
    }

    .st-footer div {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .st-footer img {
        width: 45px !important;
        height: 45px !important;
        opacity: 1 !important;
    }

    .st-footer p {
        font-size: 0.8rem !important;
        line-height: 1.8 !important;
        color: rgba(255, 255, 255, 0.6) !important;
    }

    .st-footer a.highlight {
        display: block;
        margin: 12px auto 0 auto;
        width: max-content;
        background: rgba(0, 255, 102, 0.08);
        padding: 8px 18px;
        border-radius: 50px;
        border: 1px solid rgba(0, 255, 102, 0.2);
        font-size: 0.75rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--accent-primary) !important;
        box-shadow: 0 5px 15px rgba(0, 255, 102, 0.1);
        text-shadow: none !important;
    }

    /* Intro Marquee Adjustment */
    .marquee-w {
        font-size: max(25vw, 4rem);
        opacity: 0.4;
    }

    /* Photo Grid from photography.html */
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 40px;
    }

    .photo-card {
        border-radius: 15px;
    }

    /* Inner Pages Mobile Redesign (Photography, Video, Graphic, Gaming) */
    body>section:first-of-type {
        height: 100svh !important;
        min-height: 100svh !important;
        padding-top: 12vh !important;
        /* Push text below top nav */
        justify-content: flex-end !important;
    }

    /* Hide the scroll down mouse animation on inner pages */
    body>section:first-of-type>div:last-child {
        display: none !important;
    }

    body>main {
        padding-top: 0 !important;
    }

    /* Push contact section content up to avoid bottom dock */
    .contact-st {
        padding-bottom: 100px !important;
    }

    /* Ensure the copyright footer in inner pages centers perfectly and floats above dock */
    .st-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        bottom: 40px !important;
        /* Adjusted for top navbar */
    }

    /* Video and Feature Grid Fixes (Video Editing & Gaming Pages) */
    .feature-images {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .video-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .video-box {
        border-radius: 15px !important;
    }

    .feature-box {
        border-radius: 15px !important;
    }

    /* Perfectly center the person in the Hero Image on Mobile */
    .hero-bg-parallax {
        background-position: 80% center !important;
    }
}