:root {
    --bg-color: #011638;
    /* Logo Dark Navy */
    --text-color: #ffffff;
    --primary: #d100f5;
    /* Logo Pink/Purple */
    --secondary: #7e0ef5;
    /* Logo Deep Purple */
    --accent: #00f0ff;
    /* Logo Cyan */
    --surface: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
    /* Hide default cursor */
}

html {
    scroll-behavior: initial;
    overflow-x: clip;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) var(--bg-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--accent), var(--secondary), var(--primary));
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100vw;
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 240, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
}

.cursor.active {
    width: 0px;
    height: 0px;
}

.cursor-follower.active {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    border-color: transparent;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.preloader-logo-wrap {
    margin-bottom: 2rem;
}

.preloader-logo {
    height: 180px;
    width: auto;
    object-fit: contain;
    animation: pulse 2s infinite alternate;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 4vw, 4rem);
    font-weight: 900;
    display: flex;
    gap: 0.5rem;
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 1rem;
}

.preloader-text span {
    transform: translateY(100%);
    color: var(--primary);
}

.preloader-counter {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--surface-border);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: clamp(3rem, 6vw, 6rem);
    margin-bottom: 4rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.text-huge {
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: 0.9;
}

/* Utilities */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hover-underline {
    position: relative;
    display: inline-block;
}

.hover-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.hover-underline:hover::after {
    width: 100%;
}

/* Three.js Canvas */
#webgl-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

#webgl-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, var(--bg-color) 80%);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 100;
    transition: var(--transition);
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(1, 22, 56, 0.5);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--surface-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.footer-logo {
    height: 160px;
}

.desktop-nav ul {
    display: flex;
    gap: 3rem;
}

.desktop-nav a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.cta-btn {
    padding: 0.8rem 2rem;
    border: 1px solid var(--surface-border);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 20px;
    background: none;
    border: none;
    z-index: 1000;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100%;
    height: 100dvh; /* dynamic viewport height for mobile browsers */
    background: #000a1a;
    z-index: 1000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* smooth momentum scroll on iOS */
    overscroll-behavior: contain;      /* prevent scroll from bleeding to page */
    touch-action: pan-y;               /* tell browser: vertical touch gestures are scroll */
    will-change: transform;
    transition: right 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    border-left: 1px solid var(--surface-border);
}

.mobile-nav.active {
    right: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

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

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(1.5rem, 5vh, 3.5rem);
    flex-shrink: 0;
}

.close-menu {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    position: relative;
}

.close-menu span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-color);
}

.close-menu span:first-child {
    transform: translateY(-50%) rotate(45deg);
}

.close-menu span:last-child {
    transform: translateY(-50%) rotate(-45deg);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: clamp(0.8rem, 2vh, 1.5rem);
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 6vh, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    flex-shrink: 0;
}

.mobile-nav-links a::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--text-color);
    width: 0;
    overflow: hidden;
    transition: width 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    white-space: nowrap;
    -webkit-text-stroke: 0px;
}

.mobile-nav-links a:hover::before {
    width: 100%;
}

.mobile-nav-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    font-size: 1rem;
    color: #888;
    flex-shrink: 0;
    border-top: 1px solid var(--surface-border);
}

/* Sections General */
section {
    padding: 10rem 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 10rem;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.hero-titles {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: clamp(2.5rem, 10vw, 12rem);
    line-height: 0.85;
    margin: 0;
    letter-spacing: -2px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.outline-text {
    background: linear-gradient(to right, var(--primary), var(--accent), var(--secondary), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: var(--bg-color);
    -webkit-text-stroke: 2px transparent;
    animation: gradientBorder 4s linear infinite;
}

@keyframes gradientBorder {
    to {
        background-position: 200% center;
    }
}

.solid-text {
    color: var(--text-color);
    text-shadow: 0 0 40px rgba(209, 0, 245, 0.5);
}

.hero-bottom {
    margin-top: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--surface-border);
    padding-top: 3rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    max-width: 400px;
    color: #ccc;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 45px;
    border: 2px solid var(--surface-border);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* About Section */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.about-title-wrap {
    position: -webkit-sticky;
    position: sticky;
    top: 30%;
    height: fit-content;
}

.about-desc .reveal-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 5rem;
}

.stats-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-box {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(209, 0, 245, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.stat-box:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(209, 0, 245, 0.4);
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-box h3 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--primary), var(--accent), var(--secondary), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientBorder 4s linear infinite;
    transition: transform 0.4s ease;
    transform-origin: left center;
}

.stat-box:hover h3 {
    transform: scale(1.1);
}

/* Services / Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 2rem;
}

.bento-item {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 30px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.box-large {
    grid-column: span 2;
    grid-row: span 2;
}

.box-wide {
    grid-column: span 2;
}

.bento-content {
    position: relative;
    z-index: 2;
}

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.bento-item:hover .bento-bg {
    opacity: 0.6;
}

.icon-wrap {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: auto;
    font-weight: 900;
}

.bento-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.bento-item p {
    color: #aaa;
    max-width: 80%;
}

/* Marquee Giant */
.marquee-giant {
    padding: 2rem 0;
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
    overflow: hidden;
    background: rgba(1, 22, 56, 0.8);
    transform: rotate(-2deg) scale(1.05);
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-track span {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    padding: 0 1.5rem;
    color: transparent;
    -webkit-text-stroke: 2px var(--surface-border);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Approach Section */
.approach-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 5rem;
}

.approach-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 30px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: 4rem;
    align-items: center;
    backdrop-filter: blur(20px);
    transition: transform 0.3s;
}

.sticky-card {
    position: -webkit-sticky;
    position: sticky;
}

.card-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent);
    font-weight: 900;
}

.approach-card h3 {
    font-size: 2.5rem;
}

.approach-card p {
    color: #ccc;
    font-size: 1.2rem;
}

/* Work Section (Horizontal) */
.work {
    overflow: hidden;
}

.horizontal-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 5rem 0;
}

.horizontal-scroll-container {
    display: flex;
    gap: 5rem;
    padding: 0 5%;
    width: max-content;
}

.project-panel {
    width: 800px;
    flex-shrink: 0;
}

.project-image-wrap {
    width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.project-img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.project-panel:hover .project-img {
    transform: scale(1.05);
}

.project-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

/* FAQ */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
}

.accordion-item {
    border-bottom: 1px solid var(--surface-border);
}

.accordion-header {
    width: 100%;
    padding: 3rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 3vw, 2rem);
    font-weight: 700;
    text-align: left;
    gap: 1rem;
}

.accordion-header .icon {
    position: relative;
    width: 30px;
    height: 30px;
}

.accordion-header .icon::before,
.accordion-header .icon::after {
    content: '';
    position: absolute;
    background: var(--text-color);
    transition: var(--transition);
}

.accordion-header .icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.accordion-header .icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.accordion-item.active .icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.accordion-content p {
    padding-bottom: 3rem;
    font-size: 1.2rem;
    color: #aaa;
}

/* Contact */
.contact-box {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: clamp(20px, 4vw, 40px);
    padding: clamp(1.5rem, 5vw, 5rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--surface-border);
    padding: 1rem 0;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1.2rem;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.input-group textarea {
    height: 120px;
    resize: none;
}

.input-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: #666;
    transition: var(--transition);
    pointer-events: none;
    font-size: 1.2rem;
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 0.9rem;
    color: var(--primary);
}

/* Footer */
.footer {
    border-top: 1px solid var(--surface-border);
    padding: 6rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6rem;
}

.logo-large {
    font-size: 4rem;
}

.footer-links {
    display: flex;
    gap: 5rem;
}

.link-col h4 {
    margin-bottom: 2rem;
    color: #666;
}

.link-col ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    color: #666;
    padding-top: 2rem;
    border-top: 1px solid var(--surface-border);
}

/* Responsive */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .box-large {
        grid-column: span 2;
    }

    .box-wide {
        grid-column: span 2;
    }

    .project-panel {
        width: 600px;
    }

    .sticky-card,
    .about-title-wrap {
        position: relative !important;
        top: auto !important;
    }
}

@media (max-width: 992px) {

    .about-split,
    .faq-layout,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .approach-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2.5rem;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .stat-box h3 {
        font-size: 3rem;
    }

    .stat-box {
        padding: 2rem;
    }

    .footer-links {
        gap: 3rem;
    }
}

@media (max-width: 768px) {

    .desktop-nav,
    .desktop-only,
    .cursor,
    .cursor-follower {
        display: none;
    }

    * {
        cursor: auto !important;
    }

    .menu-toggle {
        display: flex;
    }

    section {
        padding: 5rem 0;
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 4rem);
        margin-bottom: 2.5rem;
        letter-spacing: -1px;
    }

    .text-huge {
        font-size: clamp(2.5rem, 8vw, 5rem);
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .box-large,
    .box-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-item {
        padding: 2rem;
        border-radius: 20px;
    }

    .bento-item h3 {
        font-size: 1.5rem;
    }

    .bento-item p {
        max-width: 100%;
    }

    /* Work section: convert to vertical stack on mobile */
    .horizontal-scroll-wrapper {
        padding: 2rem 0;
        overflow: visible;
    }

    .horizontal-scroll-container {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        padding: 0 5%;
        width: 100%;
    }

    .project-panel {
        width: 100%;
        flex-shrink: 1;
    }

    .project-image-wrap {
        height: 250px;
        border-radius: 20px;
    }

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

    .contact-box {
        padding: 2rem;
        border-radius: 20px;
    }

    .huge-text {
        font-size: clamp(2rem, 7vw, 4rem);
    }

    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        gap: 2rem;
    }

    .footer-logo {
        height: 100px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .brand-logo {
        height: 60px;
    }

    .hero {
        padding-top: 7rem;
    }

    .hero-bottom {
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }

    .approach-card {
        padding: 2rem;
        border-radius: 20px;
    }

    .approach-card h3 {
        font-size: 1.5rem;
    }

    .approach-card p {
        font-size: 1rem;
    }

    .card-num {
        font-size: 2rem;
    }

    .about-desc .reveal-text {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
        margin-bottom: 3rem;
    }

    .stats-bento {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-box {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .stat-box h3 {
        font-size: 2.5rem;
    }

    .scroll-indicator {
        display: none;
    }

    .accordion-header {
        padding: 2rem 0;
    }

    .accordion-content p {
        font-size: 1rem;
        padding-bottom: 2rem;
    }

    .faq-layout {
        gap: 2rem;
    }

    .marquee-giant {
        transform: rotate(-1deg) scale(1.02);
    }

    .mobile-nav {
        max-width: 100%;
        padding: 1.5rem;
    }

    .mobile-nav-links a {
        font-size: clamp(1.5rem, 5vh, 3rem);
    }

    .mobile-nav-header {
        margin-bottom: clamp(1rem, 3vh, 2.5rem);
    }
}

@media (max-width: 480px) {

    .container {
        padding: 0 4%;
    }

    section {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: clamp(2rem, 12vw, 4rem);
        letter-spacing: -1px;
    }

    .section-title {
        font-size: clamp(1.8rem, 7vw, 3rem);
        margin-bottom: 2rem;
    }

    .stats-bento {
        grid-template-columns: 1fr;
    }

    .project-image-wrap {
        height: 200px;
        border-radius: 15px;
    }

    .approach-card {
        padding: 1.5rem;
    }

    .contact-box {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .input-group input,
    .input-group textarea {
        font-size: 1rem;
    }

    .input-group label {
        font-size: 1rem;
    }

    .footer {
        padding: 4rem 0 1.5rem;
    }

    .footer-logo {
        height: 70px;
    }

    .preloader-text {
        font-size: clamp(1rem, 4vw, 2rem);
    }

    .preloader-logo {
        height: 100px;
    }
}

/* Custom Bootstrap-style Validation */
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}
.was-validated .input-group input:invalid,
.was-validated .input-group select:invalid,
.was-validated .input-group textarea:invalid {
    border-color: #dc3545;
}
.was-validated .input-group input:invalid ~ .invalid-feedback,
.was-validated .input-group select:invalid ~ .invalid-feedback,
.was-validated .input-group textarea:invalid ~ .invalid-feedback {
    display: block;
}

/* =============================================
   FLOATING WHATSAPP — PREMIUM REDESIGN
   ============================================= */

/* Outer fixed anchor — size stable for GSAP magnetic */
.whatsapp-float {
    position: fixed;
    bottom: 35px;
    right: 35px;
    z-index: 9999;
    text-decoration: none;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    animation: wa-float-bounce 3.5s ease-in-out infinite;
}

/* Triple pulsing beacon rings */
.whatsapp-pulse {
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.25);
    pointer-events: none;
    animation: wa-ring-pulse 2.4s ease-out infinite;
    z-index: 0;
}

.whatsapp-pulse:nth-child(1) { animation-delay: 0s; }
.whatsapp-pulse:nth-child(2) { animation-delay: 0.8s; }

/* Inner expanding pill container */
.whatsapp-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 80px;
    height: 80px;
    border-radius: 50px;
    padding: 0 22px;
    overflow: hidden;
    cursor: pointer;

    /* Premium gradient */
    background: linear-gradient(140deg, #2ecc71 0%, #25d366 40%, #05a884 100%);

    /* Glassmorphism glow */
    box-shadow:
        0 8px 32px rgba(37, 211, 102, 0.5),
        0 2px 8px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.25);

    border: 1.5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);

    /* Smooth spring expansion */
    transition:
        width 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
        padding 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease;
}

/* Shimmer sweep overlay */
.whatsapp-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.35) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: wa-shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

/* Icon wrapper */
.whatsapp-icon-wrapper {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}

/* The SVG icon */
.whatsapp-icon {
    width: 38px;
    height: 38px;
    fill: #fff;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
    transition:
        transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.3s ease;
}

/* Text label — hidden by default */
.whatsapp-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    margin-right: 0;
    transition:
        max-width 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.35s ease 0.1s,
        margin-right 0.4s ease;
    pointer-events: none;
}

.whatsapp-label {
    color: rgba(255,255,255,0.85);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    line-height: 1;
    margin-bottom: 3px;
}

.whatsapp-cta {
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
}

/* Online status dot */
.whatsapp-status-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background: #00ff7f;
    border: 2.5px solid #05a884;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 8px rgba(0, 255, 127, 0.9);
}

.whatsapp-status-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 127, 0.6);
    animation: wa-dot-ring 1.6s ease-out infinite;
}

/* ── HOVER / EXPANDED STATES ── */
.whatsapp-float:hover .whatsapp-content,
.whatsapp-float.expanded .whatsapp-content {
    width: 220px;
    padding: 0 24px;
    box-shadow:
        0 16px 48px rgba(37, 211, 102, 0.65),
        0 4px 12px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.whatsapp-float:hover .whatsapp-text-wrap,
.whatsapp-float.expanded .whatsapp-text-wrap {
    max-width: 130px;
    opacity: 1;
    margin-right: 14px;
}

.whatsapp-float:hover .whatsapp-icon,
.whatsapp-float.expanded .whatsapp-icon {
    transform: rotate(360deg) scale(1.15);
    filter: drop-shadow(0 3px 10px rgba(0,0,0,0.35));
}

.whatsapp-float:hover {
    animation: none;
    transform: translateY(-6px);
}

/* ── KEYFRAMES ── */

/* Idle floating bob */
@keyframes wa-float-bounce {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

/* Expanding beacon rings */
@keyframes wa-ring-pulse {
    0%   { transform: scale(0.9);  opacity: 0.7; }
    60%  { opacity: 0.3; }
    100% { transform: scale(2.1);  opacity: 0; }
}

/* Shimmer sweep */
@keyframes wa-shimmer {
    0%   { left: -120%; }
    50%  { left: 120%; }
    100% { left: 120%; }
}

/* Online dot ring */
@keyframes wa-dot-ring {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(2.4); opacity: 0;   }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 22px;
        right: 22px;
        width: 64px;
        height: 64px;
    }
    .whatsapp-content {
        width: 64px;
        height: 64px;
        padding: 0 18px;
    }
    .whatsapp-pulse {
        width: 64px;
        height: 64px;
    }
    .whatsapp-icon-wrapper {
        width: 30px;
        height: 30px;
    }
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
    .whatsapp-float:hover .whatsapp-content,
    .whatsapp-float.expanded .whatsapp-content {
        width: 185px;
        padding: 0 20px;
    }
    .whatsapp-float:hover .whatsapp-text-wrap,
    .whatsapp-float.expanded .whatsapp-text-wrap {
        max-width: 110px;
        margin-right: 12px;
    }
    .whatsapp-cta {
        font-size: 0.9rem;
    }
    .whatsapp-label {
        font-size: 0.65rem;
    }
}