/*
Theme Name: Hill Script LLP
Theme URI: https://hillscriptllp.com
Author: Hill Script LLP
Author URI: https://hillscriptllp.com
Description: Premium dark-mode agency theme for Hill Script LLP with 25+ animations
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: hillscript
*/

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --black: #0a0a0a;
    --dark: #111111;
    --mid: #1e1e1e;
    --gray: #3a3a3a;
    --muted: #777777;
    --soft: #aaaaaa;
    --light: #e8e8e8;
    --white: #ffffff;
    --accent-purple: #9b6fef;
    --accent-orange: #e87b3f;
    --ff-sans: 'DM Sans', sans-serif;
    --ff-serif: 'DM Serif Display', serif;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

html {
    scroll-behavior: smooth;
    background-color: var(--black);
}

body {
    font-family: var(--ff-sans);
    background: var(--black);
    color: var(--light);
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gray);
    border-radius: 2px;
}

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

img {
    max-width: 100%;
    display: block;
}

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

::selection {
    background: var(--accent-purple);
    color: var(--white);
}

/* Noise Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.02;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3联%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════ */
#cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

#cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

body.cursor-hover #cursor-ring {
    width: 56px;
    height: 56px;
    border-color: var(--accent-purple);
    background: rgba(155, 111, 239, 0.05);
}

body.cursor-hover #cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
}

/* ═══════════════════════════════════════════
   DECORATIVE SYSTEMS
═══════════════════════════════════════════ */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-orange));
    z-index: 10000;
    width: 0%;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.15;
}

.section-tag {
    position: absolute;
    top: 40px;
    right: 80px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-purple);
    padding: 6px 14px;
    border: 1px solid rgba(155, 111, 239, 0.3);
    border-radius: 100px;
}

/* ═══════════════════════════════════════════
   TOP STRIP & NAVIGATION
═══════════════════════════════════════════ */
.top-strip {
    width: 100%;
    height: 40px;
    background: var(--white);
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 16px;
}

.strip-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-purple);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

nav {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    pointer-events: none;
}

nav .nav-logo {
    font-family: var(--ff-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--white);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-split-link {
    display: inline-flex;
    overflow: hidden;
    position: relative;
    height: 42px;
    width: 76px;
    pointer-events: auto;
}

.logo-inner-wrapper {
    display: inline-block;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.logo-inner {
    display: flex;
    flex-direction: column;
    height: 200%;
    width: 100%;
    transition: transform 0.42s var(--ease-in-out);
}

.logo-mask {
    height: 42px;
    width: 100%;
    background-color: var(--white);
    -webkit-mask-image: url('assets/images/White.png');
    mask-image: url('assets/images/White.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    display: block;
    transition: background-color 0.3s ease;
}

.logo-mask-hover {
    background-color: var(--accent-purple);
}

.logo-split-link:hover .logo-inner {
    transform: translateY(-50%);
}

.logo-mask-default.purple-active {
    background-color: var(--accent-purple) !important;
}

body.light-theme .logo-mask-default:not(.purple-active) {
    background-color: #111115;
}

nav .nav-links {
    display: flex;
    gap: 40px;
    pointer-events: auto;
}

nav .btn-primary,
nav .btn-ghost {
    pointer-events: auto;
}

/* ═══════════════════════════════════════════
   SPLIT TEXT HOVER ANIMATION
═══════════════════════════════════════════ */
.split-link {
    display: inline-flex;
    overflow: hidden;
    position: relative;
    vertical-align: middle;
}

.char-wrap {
    display: inline-block;
    overflow: hidden;
    height: 1.2em;
    line-height: 1.2em;
}

.char-inner {
    display: flex;
    flex-direction: column;
    transition: transform 0.42s var(--ease-in-out);
}

.char-inner span {
    display: block;
    height: 1.2em;
}

.char-inner span:nth-child(2) {
    color: var(--accent-purple);
}

.split-link:hover .char-inner {
    transform: translateY(-50%);
}

.split-xl {
    font-family: var(--ff-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
}

.split-md {
    font-size: clamp(1.2rem, 3vw, 2rem);
    line-height: 1.2;
}

.split-sm {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ═══════════════════════════════════════════
   BUTTON SYSTEM
═══════════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    color: var(--black);
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.3s var(--ease-out), background-color 0.3s;
    gap: 8px;
    border: none;
}

.btn-primary:hover {
    transform: scale(1.02);
    background: var(--light);
}

.btn-primary .arrow {
    transition: transform 0.3s var(--ease-out);
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--soft);
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
}

.btn-ghost .arrow {
    transition: transform 0.3s var(--ease-out);
}

.btn-ghost:hover .arrow {
    transform: translateX(4px);
}

.btn-fill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--white);
    padding: 16px 36px;
    border: 1px solid var(--white);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s var(--ease-in-out), border-color 0.4s;
    gap: 8px;
}

.btn-fill::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-in-out);
}

.btn-fill:hover {
    color: var(--black);
    border-color: var(--white);
}

.btn-fill:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-pulse {
    display: inline-flex;
    align-items: center;
    background: var(--accent-purple);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.btn-pulse:hover {
    transform: scale(1.04);
    box-shadow: 0 0 24px rgba(155, 111, 239, 0.45);
}

/* ═══════════════════════════════════════════
   SECTION COMMON
═══════════════════════════════════════════ */
section {
    position: relative;
    padding: 120px 80px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.section-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.section-label::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 1px;
    background: var(--muted);
}

.anim-title {
    font-family: var(--ff-serif);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

.anim-title em {
    font-style: italic;
    color: var(--accent-purple);
}

.anim-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--soft);
    max-width: 580px;
    margin-bottom: 48px;
}

/* ═══════════════════════════════════════════
   REVEAL SYSTEM (Scroll Reveal)
═══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-group .reveal {
    opacity: 0;
    transform: translateY(36px);
}

.reveal-group.in-view .reveal,
.reveal-group .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveals for grids and groups */
.reveal-group .reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-group .reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-group .reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-group .reveal:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-group .reveal:nth-child(5) {
    transition-delay: 0.5s;
}

.reveal-group .reveal:nth-child(6) {
    transition-delay: 0.6s;
}

/* ═══════════════════════════════════════════
   SECTION 1 — HERO
═══════════════════════════════════════════ */
#hero {
    min-height: 100vh;
    padding-top: 160px;
    padding-bottom: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.hero-left {
    max-width: 580px;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) forwards;
    animation-delay: 0.1s;
}

.hero-title {
    font-family: var(--ff-serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 32px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line-inner {
    display: block;
    opacity: 0;
    transform: translateY(100%);
    animation: lineReveal 0.9s var(--ease-out) forwards;
}

.hero-title .line:nth-child(1) .line-inner {
    animation-delay: 0.2s;
}

.hero-title .line:nth-child(2) .line-inner {
    animation-delay: 0.35s;
}

.hero-title .line:nth-child(3) .line-inner {
    animation-delay: 0.5s;
}

.hero-title em {
    font-style: italic;
    color: var(--accent-purple);
}

.hero-sub {
    font-size: 16px;
    line-height: 1.6;
    color: var(--soft);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) forwards;
    animation-delay: 0.65s;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) forwards;
    animation-delay: 0.8s;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) forwards;
    animation-delay: 0.95s;
}

.social-proof .avatars {
    display: flex;
}

.social-proof .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--black);
    margin-left: -8px;
    opacity: 0;
    transform: scale(0.5);
    animation: avatarPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.social-proof .avatar:first-child {
    margin-left: 0;
    animation-delay: 1.0s;
}

.social-proof .avatar:nth-child(2) {
    animation-delay: 1.05s;
}

.social-proof .avatar:nth-child(3) {
    animation-delay: 1.1s;
}

.social-proof .avatar:nth-child(4) {
    animation-delay: 1.15s;
}

.social-proof .avatar:nth-child(5) {
    animation-delay: 1.2s;
}

.social-proof .proof-text {
    font-size: 12px;
    color: var(--soft);
}

.hero-right {
    position: relative;
    height: 580px;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(40px);
    animation: slideInRight 1s var(--ease-out) forwards;
    animation-delay: 0.4s;
}

.hero-img-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #130f1a, #0e161a);
}

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(155, 111, 239, 0.15), transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(232, 123, 63, 0.12), transparent 50%);
    animation: overlayShift 12s ease-in-out infinite alternate;
}

.hero-float-card {
    position: absolute;
    bottom: 40px;
    left: 32px;
    background: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px;
    max-width: 240px;
    animation: float 4s ease-in-out infinite;
}

.hero-float-num {
    font-family: var(--ff-serif);
    font-size: 28px;
    color: var(--white);
    margin-bottom: 4px;
}

.hero-float-label {
    font-size: 12px;
    color: var(--soft);
    line-height: 1.4;
}

/* Animations Keyframes */
@keyframes lineReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes avatarPop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes overlayShift {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08) rotate(2deg);
    }
}

@keyframes float {

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

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

/* ═══════════════════════════════════════════
   SECTION 2 — SERVICES & IMAGE ZOOM
═══════════════════════════════════════════ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    width: 100%;
}

.img-zoom-card {
    background: var(--mid);
    border: 1px solid #1c1c1c;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.img-zoom-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.img-zoom-card .img-container {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.img-zoom-card .img-fill {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.7s var(--ease-out);
}

/* Gradients for image fills */
.img-zoom-card .img-fill.g1 {
    background: linear-gradient(135deg, #1a1525, #0d0a12);
}

.img-zoom-card .img-fill.g2 {
    background: linear-gradient(135deg, #251815, #120c0a);
}

.img-zoom-card .img-fill.g3 {
    background: linear-gradient(135deg, #15251d, #0a120e);
}

.img-zoom-card .img-fill.g4 {
    background: linear-gradient(135deg, #151d25, #0a0e12);
}

.img-zoom-card .img-fill.g5 {
    background: linear-gradient(135deg, #251520, #120a10);
}

.img-zoom-card .img-fill.g6 {
    background: linear-gradient(135deg, #1c2515, #0e120a);
}

.img-zoom-card:hover .img-fill {
    transform: scale(1.07);
}

.img-fill-num {
    font-family: var(--ff-serif);
    font-size: 64px;
    color: rgba(255, 255, 255, 0.03);
}

.img-zoom-body {
    padding: 28px;
}

.img-zoom-index {
    font-size: 11px;
    font-weight: 500;
    color: var(--accent-purple);
    margin-bottom: 16px;
}

.img-zoom-title {
    font-family: var(--ff-serif);
    font-size: 20px;
    color: var(--white);
    margin-bottom: 12px;
}

.img-zoom-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--soft);
    margin-bottom: 24px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 11px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    transition: background-color 0.3s, color 0.3s;
}

.img-zoom-card:hover .tag {
    background: rgba(155, 111, 239, 0.1);
    color: var(--accent-purple);
}

/* ═══════════════════════════════════════════
   SECTION 3 — COUNTERS & IMPACT
═══════════════════════════════════════════ */
#section-counter {
    background: #0d0d0d;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    width: 100%;
}

.counter-cell {
    background: var(--mid);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
}

.counter-num {
    font-family: var(--ff-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
}

.counter-suffix {
    font-size: 2.2rem;
    color: var(--accent-purple);
    margin-left: 2px;
}

.counter-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--light);
    margin-bottom: 6px;
}

.counter-source {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════
   SECTION 4 — INFINITE MARQUEE
═══════════════════════════════════════════ */
#section-marquee {
    padding-left: 0;
    padding-right: 0;
}

#section-marquee .inner {
    padding: 0 80px;
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 32px;
    animation: marqueeLeft var(--speed, 30s) linear infinite;
    will-change: transform;
}

.marquee-track.reverse {
    animation-direction: reverse;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.text-marquee-track {
    display: flex;
    width: max-content;
    gap: 80px;
    animation: marqueeLeft 25s linear infinite;
}

.text-marquee-item {
    font-family: var(--ff-sans);
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 36px;
}

.text-marquee-item em {
    font-family: var(--ff-serif);
    font-style: normal;
    text-transform: capitalize;
    color: var(--accent-purple);
    font-weight: 500;
    letter-spacing: 0;
    margin-left: 10px;
}

.text-marquee-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-purple);
    border-radius: 50%;
    display: inline-block;
}

.marquee-card {
    width: 320px;
    background: var(--mid);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s;
}

.marquee-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
}

.marquee-card-img {
    height: 180px;
    overflow: hidden;
}

.marquee-card-img .img-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-serif);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.08);
    transition: transform 0.6s var(--ease-out);
}

.marquee-card:hover .img-inner {
    transform: scale(1.06);
}

.marquee-card-body {
    padding: 24px;
}

.marquee-card-cat {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 8px;
}

.marquee-card-title {
    font-family: var(--ff-serif);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.marquee-card-stat {
    font-size: 13px;
    color: var(--soft);
    margin-bottom: 20px;
}

.marquee-card-link {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-purple);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.marquee-card-link .arrow {
    transition: transform 0.3s var(--ease-out);
}

.marquee-card:hover .marquee-card-link .arrow {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════
   SECTION 5 — TEAM INTRO (Links to full Team page)
═══════════════════════════════════════════ */
.team-intro-section {
    position: relative;
    padding: 120px 8% 120px 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #050505;
}

.team-intro-section .section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

/* 3D Perspective Board Showcase */
.team-3d-perspective-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 50px auto 60px auto;
}

.team-3d-board {
    width: 100%;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.team-3d-board::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(155, 111, 239, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.team-intro-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    width: 100%;
    position: relative;
    z-index: 2;
}

.team-intro-card {
    position: relative;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
    width: 280px;
    height: 380px;
    flex-shrink: 0;
}

/* Left Card (Rahul) - tucked behind */
.team-intro-grid .team-intro-card:first-child {
    transform: translateX(45px) scale(0.88);
    opacity: 0.6;
    filter: brightness(0.75);
    z-index: 1;
}

/* Active Middle Card (Govindram) - forefront */
.team-intro-grid .team-intro-card.active {
    transform: scale(1.06);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(155, 111, 239, 0.25);
    opacity: 1;
    filter: none;
    z-index: 3;
}

/* Right Card (Pooja) - tucked behind */
.team-intro-grid .team-intro-card:last-child {
    transform: translateX(-45px) scale(0.88);
    opacity: 0.6;
    filter: brightness(0.75);
    z-index: 1;
}

/* Hover hierarchy */
.team-intro-grid .team-intro-card:hover {
    transform: scale(1.1) translateY(-10px) !important;
    z-index: 5 !important;
    opacity: 1 !important;
    filter: none !important;
    border-color: var(--accent-purple);
    box-shadow: 0 30px 60px rgba(155, 111, 239, 0.3);
}

.team-intro-grid:hover .team-intro-card:not(:hover) {
    opacity: 0.45;
}

.team-intro-img {
    width: 100%;
    height: 340px;
    overflow: hidden;
    position: relative;
}

.team-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.team-intro-meta {
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-intro-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

.team-intro-role {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--soft);
}

.team-intro-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 32px;
    border-radius: 100px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.team-intro-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
}

.team-intro-btn .arrow {
    transition: transform 0.3s ease;
}

.team-intro-btn:hover .arrow {
    transform: translateX(5px);
}

@media (max-width: 900px) {
    .team-intro-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}


/* ═══════════════════════════════════════════
   SECTION 6 — PRICING
═══════════════════════════════════════════ */
.pricing-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.tab-toggle {
    display: inline-flex;
    background: var(--mid);
    padding: 4px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 60px;
    position: relative;
}

.tab-pill {
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 500;
    color: var(--soft);
    background: transparent;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-pill.active {
    color: var(--black);
    background: var(--white);
}

.tab-badge {
    background: var(--accent-purple);
    color: var(--white);
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 100px;
    text-transform: uppercase;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    width: 100%;
}

.pricing-card {
    background: var(--mid);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.08);
}

.pricing-card.popular {
    border-color: var(--accent-purple);
    background: #130f1a;
    box-shadow: 0 12px 32px rgba(155, 111, 239, 0.05);
}

.popular-badge {
    position: absolute;
    top: 24px;
    right: 28px;
    background: var(--accent-purple);
    color: var(--white);
    font-size: 9px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.1em;
}

.plan-name {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}

.plan-price {
    font-family: var(--ff-serif);
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    color: var(--white);
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
}

.price-display {
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.price-display.switching {
    opacity: 0;
    transform: translateY(-8px);
}

.plan-period {
    font-size: 13px;
    color: var(--soft);
    margin-bottom: 32px;
}

.plan-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.plan-features li {
    font-size: 14px;
    color: var(--soft);
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-features li::before {
    content: "✓";
    color: var(--accent-purple);
    font-weight: bold;
}

.pricing-card .btn-fill {
    width: 100%;
    margin-top: auto;
}

/* ═══════════════════════════════════════════
   SECTION 7 — TIMELINE
═══════════════════════════════════════════ */
.timeline-container {
    position: relative;
    width: 100%;
}

.timeline {
    position: relative;
    padding-left: 56px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 7px;
    width: 2px;
    height: 0%;
    background: linear-gradient(180deg, var(--accent-purple), var(--accent-orange));
    transition: height 1.6s var(--ease-in-out);
}

.timeline.in-view::before {
    height: 100%;
}

.tl-item {
    position: relative;
    margin-bottom: 60px;
}

.tl-item:last-child {
    margin-bottom: 0;
}

.tl-dot {
    position: absolute;
    left: -56px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--black);
    border: 3px solid var(--accent-purple);
    z-index: 2;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline.in-view .tl-item:nth-child(1) .tl-dot {
    transform: scale(1);
    transition-delay: 0.2s;
}

.timeline.in-view .tl-item:nth-child(2) .tl-dot {
    transform: scale(1);
    transition-delay: 0.5s;
}

.timeline.in-view .tl-item:nth-child(3) .tl-dot {
    transform: scale(1);
    transition-delay: 0.8s;
}

.timeline.in-view .tl-item:nth-child(4) .tl-dot {
    transform: scale(1);
    transition-delay: 1.1s;
}

.tl-year {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-purple);
    margin-bottom: 8px;
}

.tl-title {
    font-family: var(--ff-serif);
    font-size: 20px;
    color: var(--white);
    margin-bottom: 12px;
}

.tl-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--soft);
    max-width: 580px;
}

/* ═══════════════════════════════════════════
   SECTION 8 — PHILOSOPHY / PARALLAX QUOTE
═══════════════════════════════════════════ */
#section-parallax {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: -100px 0;
    background: radial-gradient(circle at 50% 50%, rgba(155, 111, 239, 0.15), transparent 70%),
        radial-gradient(circle at 30% 70%, rgba(232, 123, 63, 0.1), transparent 60%);
    z-index: 1;
    pointer-events: none;
    transform: translateY(0);
    will-change: transform;
}

.p-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    pointer-events: none;
    z-index: 1;
}

.p-line:nth-child(1) {
    top: 25%;
}

.p-line:nth-child(2) {
    top: 50%;
}

.p-line:nth-child(3) {
    top: 75%;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
}

.parallax-quote {
    font-family: var(--ff-serif);
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-style: italic;
    line-height: 1.4;
    color: var(--white);
    margin-bottom: 32px;
}

.parallax-author {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
}

/* ═══════════════════════════════════════════
   SECTION 9 — FAQ ACCORDION
═══════════════════════════════════════════ */
.faq-list {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--dark);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-q:hover {
    background: #161616;
}

.faq-q-text {
    font-family: var(--ff-serif);
    font-size: 18px;
    color: var(--white);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--soft);
    transition: transform 0.5s var(--ease-in-out), border-color 0.3s, color 0.3s;
}

.faq-item:hover .faq-icon {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-in-out), padding 0.5s;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 28px 24px 28px;
}

.faq-answer-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--soft);
}

/* ═══════════════════════════════════════════
   SECTION 10 — PROCESS STEPS
═══════════════════════════════════════════ */
.steps-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    align-items: center;
    padding: 36px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: padding-left 0.3s, background-color 0.3s;
}

.step:last-child {
    border-bottom: none;
}

.step:hover {
    padding-left: 20px;
    background: rgba(255, 255, 255, 0.01);
}

.step-num {
    font-family: var(--ff-serif);
    font-size: 18px;
    color: var(--muted);
}

.step-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    gap: 40px;
}

.step-title {
    font-family: var(--ff-serif);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--white);
    transition: color 0.3s;
}

.step:hover .step-title {
    color: var(--accent-purple);
}

.step-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--soft);
}

.step-arrow {
    font-size: 20px;
    color: var(--muted);
    justify-self: end;
    transition: transform 0.3s var(--ease-out), color 0.3s;
}

.step:hover .step-arrow {
    transform: translateX(6px);
    color: var(--accent-purple);
}

/* ═══════════════════════════════════════════
   SECTION 11 — CONTACT FORM
═══════════════════════════════════════════ */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-block {
    margin-bottom: 40px;
}

.contact-info-block h3 {
    font-family: var(--ff-serif);
    font-size: 22px;
    color: var(--white);
    margin-bottom: 12px;
}

.contact-info-block p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--soft);
}

.contact-info-meta {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
}

.contact-form {
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 0;
    font-family: var(--ff-sans);
    font-size: 15px;
    color: var(--white);
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--accent-purple);
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    margin-top: 16px;
}

/* Success/Error Alerts */
.contact-alert {
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 32px;
}

.contact-alert.success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.contact-alert.error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* ═══════════════════════════════════════════
   SECTION 12 — BLOG CARDS
═══════════════════════════════════════════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
}

.blog-card {
    background: var(--mid);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.blog-card-img {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

/* Gradients for placeholders */
.blog-card-img.placeholder-grad {
    background: linear-gradient(135deg, #130f1a, #0e161a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-body {
    padding: 24px;
}

.blog-card-cat {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-purple);
    margin-bottom: 10px;
}

.blog-card-title {
    font-family: var(--ff-serif);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: var(--soft);
    margin-bottom: 20px;
}

.blog-card-date {
    font-size: 11px;
    color: var(--muted);
}

/* ═══════════════════════════════════════════
   PAGE TRANSITION OVERLAY
═══════════════════════════════════════════ */
#page-transition-overlay {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9998;
    transform: scaleY(0);
    transform-origin: top;
    pointer-events: none;
}

#page-transition-overlay.entering {
    transform-origin: bottom;
    animation: ptEnter 0.6s var(--ease-in-out) forwards;
    pointer-events: auto;
}

#page-transition-overlay.leaving {
    transform-origin: top;
    animation: ptLeave 0.6s var(--ease-in-out) forwards;
}

@keyframes ptEnter {
    0% {
        transform: scaleY(0);
    }

    100% {
        transform: scaleY(1);
    }
}

@keyframes ptLeave {
    0% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(0);
    }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
    position: relative;
    padding: 100px 80px 40px 80px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(155, 111, 239, 0.08), transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.footer-top {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-family: var(--ff-serif);
    font-size: 24px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    color: var(--soft);
    max-width: 280px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--soft);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
    color: var(--muted);
}

.footer-bottom-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

/* ═══════════════════════════════════════════
   ABOUT & ADDITIONAL PAGES SPECIFICS
═══════════════════════════════════════════ */
.about-hero,
.services-hero,
.contact-hero {
    padding-top: 200px;
    padding-bottom: 80px;
    text-align: left;
    max-width: 800px;
}

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

.founder-section {
    padding: 120px 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.founder-image-container {
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.founder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1b1625, #0e161a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-image span {
    font-family: var(--ff-serif);
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.05);
}

.hover-hint {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-top: 24px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE DESIGN (Media Queries)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    nav {
        padding: 0 40px;
    }

    section {
        padding: 100px 40px;
    }

    #hero {
        gap: 40px;
    }

    .contact-section {
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    nav {
        top: 0;
        height: 70px;
        padding: 0 28px;
        background: rgba(10, 10, 10, 0.8);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .top-strip {
        display: none;
    }

    section {
        padding: 80px 28px;
    }

    #hero {
        grid-template-columns: 1fr;
        padding-top: 120px;
        gap: 60px;
    }

    .hero-right {
        height: 380px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .step-arrow {
        display: none;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .footer-bottom-right {
        flex-direction: column;
        gap: 16px;
    }

    #cursor-dot,
    #cursor-ring {
        display: none;
    }

    body {
        cursor: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-ghost {
        justify-content: center;
    }

    .counter-cell {
        padding: 32px 20px;
    }
}

/* ═══════════════════════════════════════════
   PREFERS REDUCED MOTION SUPPORT
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-delay: -1s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-line {
        opacity: 1 !important;
        transform: none !important;
    }

    #cursor-dot,
    #cursor-ring {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }

    .parallax-bg {
        transform: none !important;
    }

    .timeline::before {
        height: 100% !important;
    }

    .tl-dot {
        transform: scale(1) !important;
    }
}

/* ═══════════════════════════════════════════
   LIGHT THEME VARIABLES & OVERRIDES
   ═══════════════════════════════════════════ */
body.light-theme {
    --black: #fcfcfc;
    --dark: #f0f0f5;
    --mid: #ffffff;
    --gray: #e2e2ec;
    --muted: #8e8e9c;
    --soft: #4a4a5a;
    --light: #18181f;
    --white: #111115;
    --accent-purple: #7f4fdb;
    --accent-orange: #d95e1e;
}

/* Enable smooth dark/light transition on key elements */
body,
section,
nav,
footer,
.img-zoom-card,
.counter-cell,
.marquee-card,
.team-card,
.pricing-card,
.faq-item,
.contact-form,
.form-input,
.btn-primary,
.btn-ghost,
.btn-fill {
    transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease, transform 0.3s ease, padding 0.3s ease;
}

/* Light Theme Card Borders */
body.light-theme .img-zoom-card,
body.light-theme .counter-cell,
body.light-theme .marquee-card,
body.light-theme .team-card,
body.light-theme .pricing-card,
body.light-theme .contact-form,
body.light-theme .faq-list,
body.light-theme .faq-item {
    border-color: var(--gray);
}

body.light-theme .img-zoom-card:hover,
body.light-theme .marquee-card:hover,
body.light-theme .team-card:hover,
body.light-theme .pricing-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

/* Light Theme Tags */
body.light-theme .tag,
body.light-theme .team-skill-tag {
    background: rgba(0, 0, 0, 0.04);
}

/* Light Theme Services Pastel Gradients */
body.light-theme .img-zoom-card .img-fill.g1 {
    background: linear-gradient(135deg, #f3ecff, #e8daff);
}

body.light-theme .img-zoom-card .img-fill.g2 {
    background: linear-gradient(135deg, #fff3eb, #ffe5d4);
}

body.light-theme .img-zoom-card .img-fill.g3 {
    background: linear-gradient(135deg, #ebfff5, #d4ffd8);
}

body.light-theme .img-zoom-card .img-fill.g4 {
    background: linear-gradient(135deg, #ebf7ff, #d4edff);
}

body.light-theme .img-zoom-card .img-fill.g5 {
    background: linear-gradient(135deg, #fff0f7, #ffd1e8);
}

body.light-theme .img-zoom-card .img-fill.g6 {
    background: linear-gradient(135deg, #f3ffeb, #e2ffd4);
}

body.light-theme .img-fill-num {
    color: rgba(0, 0, 0, 0.03);
}

/* Light Theme Marquee Stroke Text */
body.light-theme .text-marquee-item {
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.15);
}

body.light-theme .marquee-wrapper {
    border-color: var(--gray);
}

/* Light Theme FAQ Overrides */
body.light-theme .faq-icon {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--soft);
}

body.light-theme .faq-q:hover {
    background: rgba(0, 0, 0, 0.02);
}

/* Light Theme Pricing Card & Dividers */
body.light-theme .pricing-card.popular {
    background: #f6f0ff;
    box-shadow: 0 12px 32px rgba(127, 79, 219, 0.08);
}

body.light-theme .tab-toggle {
    border-color: var(--gray);
}

body.light-theme .plan-divider {
    background: var(--gray);
}

/* Light Theme Parallax & Section Lines */
body.light-theme .p-line {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
}

body.light-theme section {
    border-bottom-color: var(--gray);
}

body.light-theme footer {
    border-top-color: var(--gray);
}

body.light-theme .footer-bottom {
    border-top-color: var(--gray);
}

/* Light Theme Form Input border */
body.light-theme .form-input {
    border-bottom-color: rgba(0, 0, 0, 0.12);
}

/* Light Theme Custom Cursor */
body.light-theme #cursor-ring {
    border-color: rgba(0, 0, 0, 0.3);
}

/* Light Theme Blog Placeholders & Inline Override */
body.light-theme .blog-card-img.placeholder-grad {
    background: linear-gradient(135deg, #f0e6ff, #e3f2fd);
}

body.light-theme .blog-card-img.placeholder-grad span {
    color: rgba(0, 0, 0, 0.06) !important;
}

/* Light Theme Buttons */
body.light-theme .btn-ghost {
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-theme .btn-ghost:hover {
    color: var(--white);
    border-color: rgba(0, 0, 0, 0.4);
}

/* ═══════════════════════════════════════════
   THEME TOGGLE BUTTON SYSTEM
   ═══════════════════════════════════════════ */
.theme-toggle-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--mid);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s, border-color 0.3s;
}

body.light-theme .theme-toggle-btn {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.theme-toggle-btn:hover {
    transform: scale(1.08);
    border-color: var(--accent-purple);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;
}

/* On dark theme (default), show sun, hide moon */
.theme-toggle-btn .sun-icon {
    opacity: 1;
    transform: rotate(0);
}

.theme-toggle-btn .moon-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

/* On light theme, hide sun, show moon */
body.light-theme .theme-toggle-btn .sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

body.light-theme .theme-toggle-btn .moon-icon {
    opacity: 1;
    transform: rotate(0);
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 96px;
    right: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    background: #20ba59;
    color: #ffffff;
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
}

/* ═══════════════════════════════════════════
   BLOG & PROJECT DETAIL MODALS
═══════════════════════════════════════════ */
.blog-modal, .project-modal {
    position: fixed;
    inset: 0;
    z-index: 100002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-modal.open, .project-modal.open {
    opacity: 1;
    pointer-events: all;
}

.blog-modal-content, .project-modal-content {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    width: 90%;
    max-width: 720px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-modal.open .blog-modal-content, .project-modal.open .project-modal-content {
    transform: scale(1) translateY(0);
}

.blog-modal-close, .project-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
}

.blog-modal-close:hover, .project-modal-close:hover {
    background: var(--accent-purple);
    transform: scale(1.1);
}

.blog-modal-hero, .project-modal-hero {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.blog-modal-hero::after, .project-modal-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0d0d0d 0%, transparent 100%);
}

.blog-modal-body, .project-modal-body {
    padding: 35px;
    overflow-y: auto;
    flex: 1;
}

.blog-modal-cat, .project-modal-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-purple);
    background: rgba(155, 111, 239, 0.08);
    border: 1px solid rgba(155, 111, 239, 0.15);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.blog-modal-date {
    font-size: 13px;
    color: var(--muted);
    margin-left: 15px;
}

/* Project stat layout */
.project-modal-stat-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.project-modal-stat-box .stat-label {
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.project-modal-stat-box .stat-value {
    color: var(--white);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
}

.blog-modal-title, .project-modal-title {
    font-family: var(--ff-serif);
    font-size: 2.2rem;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 25px;
}

.blog-modal-text, .project-modal-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.blog-modal-text p, .project-modal-text p {
    margin-bottom: 20px;
}

.blog-modal-text h3, .project-modal-text h3 {
    font-size: 18px;
    color: var(--white);
    margin: 30px 0 15px 0;
}

/* ═══════════════════════════════════════════
   SECTION 5 — TEAM CAROUSEL (Animated 3D Showcase)
   ═══════════════════════════════════════════ */
#section-team {
    position: relative;
    padding: 120px 0 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #050505;
    overflow: hidden;
    perspective: 1500px;
    transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

#section-team.blurred {
    filter: blur(12px) brightness(0.3);
    pointer-events: none;
}

.team-header-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.team-active-info {
    text-align: center;
    margin-bottom: 40px;
    z-index: 20;
    pointer-events: none;
}

.team-active-info h3 {
    font-family: var(--ff-sans);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: #fff;
    margin: 0;
    transition: opacity 0.3s ease;
}

.team-active-info p {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 12px;
}

/* 3D Carousel Viewport */
.team-carousel-container {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    z-index: 10;
}

.team-carousel-container:active {
    cursor: grabbing;
}

.team-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

/* 3D Cards */
.team-card-3d {
    position: absolute;
    width: 240px;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transform-style: preserve-3d;
    will-change: transform, filter, opacity;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-card-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.team-card-3d .card-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    color: #fff;
}

.team-card-3d .card-number {
    position: absolute;
    top: 16px;
    left: 18px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'DM Sans', monospace;
    color: rgba(255, 255, 255, 0.35);
    z-index: 5;
}

.team-card-3d .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    pointer-events: none;
}

.team-card-3d .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.team-card-3d .card-role {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.team-card-3d.active {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

/* Footer Instructions */
.team-footer-instructions {
    margin-top: 40px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    z-index: 20;
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   DETAIL DRAWER
   ═══════════════════════════════════════════ */
.team-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 480px;
    height: 100%;
    background: rgba(8, 8, 10, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.9);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.team-drawer.open {
    transform: translateX(0);
}

.team-drawer-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    z-index: 10;
    line-height: 1;
}

.team-drawer-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: scale(1.1);
}

.team-drawer-content {
    padding: 80px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-drawer-role {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.team-drawer-role::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    margin-right: 8px;
}

.team-drawer-name {
    font-family: var(--ff-sans);
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.5px;
    margin: 0 0 20px 0;
    line-height: 1.1;
}

.team-drawer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 28px;
}

.team-drawer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-drawer-tag {
    font-size: 11px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
}

.team-drawer-footer {
    padding: 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

/* Light Theme overrides for Homepage Carousel */
body.light-theme #section-team {
    background: #f0f0f5;
}
body.light-theme .team-card-3d {
    background: #ffffff;
    border-color: var(--gray);
}
body.light-theme .team-card-3d.active {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}
body.light-theme .team-card-3d .card-title {
    color: #111115;
}
body.light-theme .team-card-3d .card-role {
    color: rgba(0, 0, 0, 0.55);
}
body.light-theme .team-drawer {
    background: rgba(240, 240, 245, 0.95);
    border-left-color: var(--gray);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
}
body.light-theme .team-drawer-close {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.6);
}
body.light-theme .team-drawer-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}
body.light-theme .team-drawer-name {
    color: #111115;
}
body.light-theme .team-drawer-desc {
    color: rgba(0, 0, 0, 0.6);
}
body.light-theme .team-drawer-tag {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.7);
}
body.light-theme .team-drawer-role {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.8);
}
body.light-theme .team-drawer-role::before {
    background: rgba(0, 0, 0, 0.3);
}
body.light-theme .team-active-info h3 {
    color: #111115;
}
body.light-theme .team-active-info p {
    color: rgba(0, 0, 0, 0.4);
}
body.light-theme .team-footer-instructions {
    color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    #section-team {
        padding: 80px 0 60px 0;
    }
    .team-active-info h3 {
        font-size: 2.2rem;
    }
    .team-card-3d {
        width: 180px;
        height: 250px;
    }
    .team-drawer {
        width: 100%;
    }
    .team-drawer-content {
        padding: 60px 24px 24px 24px;
    }
    .team-drawer-footer {
        padding: 24px;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE DESIGN OVERRIDES (Mobile & Tablet)
   ═══════════════════════════════════════════ */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 0;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

body.light-theme .mobile-menu-toggle .bar {
    background-color: var(--black);
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent-purple) !important;
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent-purple) !important;
}

.nav-links .mobile-cta-link {
    display: none;
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        justify-content: space-between;
        align-items: center;
        height: 70px;
        padding: 0 28px !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 1000;
    }

    body.light-theme nav {
        background: rgba(245, 245, 247, 0.85);
        border-bottom-color: rgba(0, 0, 0, 0.05);
    }

    nav > .btn-primary {
        display: none !important; /* Hide desktop book a call button */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(8, 8, 10, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 40px;
        box-sizing: border-box;
    }

    body.light-theme .nav-links {
        background: rgba(245, 245, 247, 0.98);
        border-left-color: rgba(0, 0, 0, 0.06);
    }

    .nav-links.active {
        transform: translateX(0);
        box-shadow: -20px 0 60px rgba(0,0,0,0.8);
    }

    body.light-theme .nav-links.active {
        box-shadow: -20px 0 60px rgba(0,0,0,0.15);
    }

    .nav-links .split-link {
        font-size: 18px;
        font-weight: 500;
        width: 100%;
        text-align: center;
        opacity: 0.8;
    }

    .nav-links .mobile-cta-link {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 200px;
        margin-top: 15px;
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 100px;
        box-sizing: border-box;
    }
}

/* Responsive Team Section (Flat overlap stacking) */
@media (max-width: 900px) {
    .team-intro-grid {
        flex-direction: column;
        gap: 32px;
        padding: 20px 0;
    }

    .team-intro-card {
        width: 100% !important;
        max-width: 300px !important;
        height: 380px !important;
        margin: 0 auto;
    }

    /* Remove overlap offsets on mobile/tablet */
    .team-intro-grid .team-intro-card:first-child {
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }

    .team-intro-grid .team-intro-card.active {
        transform: scale(1.02) !important;
        opacity: 1 !important;
        filter: none !important;
    }

    .team-intro-grid .team-intro-card:last-child {
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }

    /* scale down hover */
    .team-intro-grid .team-intro-card:hover {
        transform: translateY(-6px) scale(1.02) !important;
    }

    .team-intro-grid:hover .team-intro-card:not(:hover) {
        opacity: 1 !important;
        filter: none !important;
    }
}