/* ============================================
   AGENCY WEBSITE — AI-POWERED DARK THEME
   Inspired by Pluggo / Webflow
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    --bg-primary: #090909;
    --bg-surface: #111111;
    --bg-card: #0f0f0f;
    --accent: #F2F962;
    --accent-hover: #e5ec55;
    --accent-glow: rgba(242, 249, 98, 0.15);
    --accent-glow-strong: rgba(242, 249, 98, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #6b6b6b;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(17, 17, 17, 0.7);
    --glass-blur: blur(16px);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    --shadow-glow: 0 0 60px var(--accent-glow);
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1280px;
    --nav-height: 80px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

/* ---------- Floating 3D Geometric Shapes ---------- */
.floating-shapes {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    perspective: 1200px;
}

.geo-shape {
    position: absolute;
    animation-delay: var(--delay, 0s);
    animation-duration: var(--duration, 20s);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    will-change: transform, opacity;
}

/* --- Wireframe Cube --- */
.geo-cube {
    width: 50px;
    height: 50px;
    transform-style: preserve-3d;
    animation-name: geoFloat, geoCubeRotate;
    opacity: 0.15;
}

.geo-cube::before,
.geo-cube::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1.5px solid var(--accent);
    border-radius: 2px;
}

.geo-cube::before {
    transform: translateZ(25px);
}

.geo-cube::after {
    transform: translateZ(-25px);
}

@keyframes geoCubeRotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: rotateX(180deg) rotateY(180deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* --- Diamond --- */
.geo-diamond {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--accent);
    opacity: 0.12;
    animation-name: geoFloat, geoDiamondRotate;
}

@keyframes geoDiamondRotate {
    0% {
        transform: rotate(45deg) scale(1);
    }

    25% {
        transform: rotate(135deg) scale(1.15);
    }

    50% {
        transform: rotate(225deg) scale(1);
    }

    75% {
        transform: rotate(315deg) scale(0.9);
    }

    100% {
        transform: rotate(405deg) scale(1);
    }
}

/* --- Ring --- */
.geo-ring {
    width: 55px;
    height: 55px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    opacity: 0.12;
    animation-name: geoFloat, geoRingSpin;
}

.geo-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(242, 249, 98, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

@keyframes geoRingSpin {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* --- Triangle --- */
.geo-triangle {
    width: 45px;
    height: 45px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border: none;
    background: transparent;
    opacity: 0.14;
    animation-name: geoFloat, geoTriRotate;
    position: relative;
}

.geo-triangle::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: linear-gradient(180deg, rgba(242, 249, 98, 0.4), rgba(242, 249, 98, 0.1));
}

@keyframes geoTriRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Hexagon --- */
.geo-hexagon {
    width: 45px;
    height: 45px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.12;
    animation-name: geoFloat, geoHexRotate;
}

.geo-hexagon::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, rgba(242, 249, 98, 0.3), rgba(242, 249, 98, 0.08));
}

@keyframes geoHexRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* --- Shared Float Animation --- */
@keyframes geoFloat {

    0%,
    100% {
        translate: 0 0;
    }

    25% {
        translate: 15px -20px;
    }

    50% {
        translate: -10px -35px;
    }

    75% {
        translate: 20px -15px;
    }
}

/* Hide on mobile for performance */
@media (max-width: 768px) {
    .floating-shapes {
        display: none;
    }
}

/* ---------- Utility Classes ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-sm {
    padding: 80px 0;
}

.text-accent {
    color: var(--accent);
}

.text-secondary {
    color: var(--text-secondary);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 8px 20px;
    border: 1px solid rgba(242, 249, 98, 0.2);
    border-radius: var(--radius-full);
    background: rgba(242, 249, 98, 0.05);
}

.section-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep on hover */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    pointer-events: none;
}

.btn:hover::after {
    animation: btn-shimmer 0.6s ease forwards;
}

@keyframes btn-shimmer {
    from {
        left: -60%;
    }

    to {
        left: 120%;
    }
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary {
    background: var(--accent);
    color: #090909;
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 30px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(242, 249, 98, 0.05);
    transform: translateY(-2px);
}

/* Button inner text label (wrapped by JS) */
.btn-label {
    display: inline-block;
}

/* Text enters from left on hover */
.btn:hover .btn-label {
    animation: textEnterLeft 0.4s ease;
}

.btn:hover .btn-icon {
    animation: iconEnterLeft 0.4s ease forwards;
}

@keyframes textEnterLeft {
    from {
        transform: translateX(-15px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes iconEnterLeft {
    from {
        transform: translateX(-15px);
        opacity: 0;
    }

    to {
        transform: translateX(6px);
        opacity: 1;
    }
}

.btn-outline::after {
    background: linear-gradient(90deg, transparent, rgba(242, 249, 98, 0.12), transparent);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-icon {
    font-size: 1.2em;
    display: inline-block;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    z-index: 1001;
}

.nav-logo .logo-img {
    height: 56px;
    width: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 768px) {
    .nav-logo .logo-img {
        height: 46px;
    }
}

.nav-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #090909;
    font-weight: 900;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Fullscreen ---------- */
.hero-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 80px;
}

/* Background Image Slider */
.hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity, transform;
}

.hero-bg-slide.active {
    opacity: 1;
    animation: heroKenBurns 8s ease-in-out forwards;
}

@keyframes heroKenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

/* Dark overlay for text readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(9, 9, 9, 0.4) 0%, rgba(9, 9, 9, 0.25) 40%, rgba(9, 9, 9, 0.6) 100%),
        radial-gradient(ellipse at center, transparent 30%, rgba(9, 9, 9, 0.5) 100%);
    pointer-events: none;
}

/* Particle Canvas */
.hero-particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* Magnetic Button Effect */
[data-magnetic] {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hero Content */
.hero-fullscreen-content {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 32px;
    max-width: 1200px;
    width: 100%;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
}

.hero-fullscreen-content.active {
    opacity: 1;
    pointer-events: auto;
}

/* Re-trigger child animations when slide becomes active */
.hero-content-slide.active .hero-tagline {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s 0.2s forwards;
}

.hero-content-slide.active .hero-subtitle-text {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s 0.4s forwards;
}

.hero-content-slide.active .hero-brand-name {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: heroBrandIn 1s 0.5s forwards;
}

.hero-content-slide.active .hero-main-description {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 0.8s 0.7s forwards;
}

.hero-content-slide.active .hero-cta-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 0.8s 0.9s forwards;
}

/* Tagline pill */
.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 20px;
    padding: 8px 24px;
    border: 1px solid rgba(242, 249, 98, 0.25);
    border-radius: var(--radius-full);
    background: rgba(242, 249, 98, 0.08);
    backdrop-filter: blur(10px);
}

/* "The Creative Agency" subtitle — serif italic like reference */
.hero-subtitle-text {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: clamp(1.3rem, 3vw, 2.4rem);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--accent);
    margin-bottom: 16px;
    line-height: 1.3;
}

/* Big brand name — like "Arpeggio" in reference */
.hero-brand-name {
    font-family: 'Inter', sans-serif;
    font-size: clamp(4rem, 14vw, 12rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 28px;
    text-shadow:
        0 0 80px rgba(242, 249, 98, 0.3),
        0 0 160px rgba(242, 249, 98, 0.1);
}

@keyframes heroBrandIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Description text */
.hero-main-description {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 36px;
}

/* CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide Indicators */
.hero-indicators {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-indicator {
    width: 40px;
    height: 4px;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.hero-indicator.active {
    background: var(--accent);
    width: 60px;
    box-shadow: 0 0 16px var(--accent-glow);
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* ---------- Why Xaraskies Section ---------- */
.why-section {
    background: var(--bg-primary);
    overflow: hidden;
    padding-top: 60px;
    padding-bottom: 80px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Column */
.why-left {
    display: flex;
    flex-direction: column;
}

.why-heading {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.why-highlight {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    display: inline-block;
    text-shadow: 0 0 40px rgba(242, 249, 98, 0.25);
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.why-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    background: rgba(255, 255, 255, 0.01);
}

.why-feature-item:hover {
    background: rgba(242, 249, 98, 0.03);
    border-color: rgba(242, 249, 98, 0.1);
    transform: translateX(10px);
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.2);
}

.why-feature-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: rgba(242, 249, 98, 0.06);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-feature-item:hover .why-feature-icon {
    background: var(--accent);
    color: #000;
    transform: scale(1.1) rotate(-10deg);
    border-color: var(--accent);
}

.why-feature-content {
    flex: 1;
}

.why-feature-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    padding: 4px 14px;
    border: 1px solid rgba(242, 249, 98, 0.1);
    border-radius: var(--radius-full);
    background: rgba(242, 249, 98, 0.04);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.why-feature-item:hover .why-feature-label {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.why-feature-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.why-feature-item:hover h4 {
    color: var(--accent);
    transform: translateX(5px);
}

.why-feature-item p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.why-feature-item:hover p {
    color: var(--text-primary);
    transform: translateX(5px);
}

/* Right Column */
.why-right {
    position: sticky;
    top: 120px;
    align-self: start;
}

.why-right-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    padding-left: 20px;
    border-left: 2px solid rgba(242, 249, 98, 0.3);
}

.why-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.why-mockup-img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.why-image-wrapper:hover .why-mockup-img {
    transform: scale(1.04);
}

.why-image-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100px;
    background: radial-gradient(ellipse, rgba(242, 249, 98, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* ---------- Grid Patterns Background ---------- */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ---------- Services Overview (Home) ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.service-card-large {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-large::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card-large:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.service-card-large:hover::before {
    opacity: 1;
}

.service-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(242, 249, 98, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-large:hover .service-card-icon {
    background: var(--accent);
    color: #000;
    transform: scale(1.1) translateY(-5px);
}

.service-card-large h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.service-card-large:hover h3 {
    color: var(--accent);
}

.service-card-large p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card-large:hover p {
    color: var(--text-primary);
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    transition: all 0.3s ease;
}

.service-tag {
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.service-card-large:hover .service-tag {
    border-color: var(--accent);
    color: var(--text-primary);
    background: rgba(242, 249, 98, 0.05);
}

/* ---------- Stats Carousel ---------- */
.stats-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.stats-section-compact {
    padding: 30px 0;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.stats-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.stats-carousel-track {
    display: flex;
    width: max-content;
    animation: statsScroll 16s linear infinite;
}


@keyframes statsScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.stat-item {
    flex: 0 0 auto;
    width: calc(50vw - 24px);
    max-width: 420px;
    min-width: 240px;
    padding: 32px 40px;
    text-align: center;
    position: relative;
}

.stat-number,
.stat-number-clone {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

/* ---------- Showcase Section ---------- */
.showcase-section {
    background: var(--bg-primary);
    padding-top: 80px;
    padding-bottom: 80px;
}

.showcase-section-compact {
    padding-top: 40px;
    padding-bottom: 40px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.showcase-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.showcase-card:hover .showcase-media {
    transform: scale(1.08);
}

.showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    transition: all var(--transition-slow);
    position: relative;
}

.showcase-card:hover {
    border-color: rgba(242, 249, 98, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--accent-glow);
}

/* Full-width card */
.showcase-card-wide {
    grid-column: 1 / -1;
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
}

/* Visual Area — fill entire card since no text */
.showcase-visual {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-visual-wide {
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: unset;
}

/* --- Showcase Scroll-Reveal Animations --- */
.showcase-reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.92);
    filter: blur(8px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-reveal.showcase-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Staggered delays via data-attribute */
.showcase-reveal[data-reveal-delay="0"] {
    transition-delay: 0s;
}

.showcase-reveal[data-reveal-delay="1"] {
    transition-delay: 0.15s;
}

.showcase-reveal[data-reveal-delay="2"] {
    transition-delay: 0.3s;
}

.showcase-reveal[data-reveal-delay="3"] {
    transition-delay: 0.45s;
}

.showcase-reveal[data-reveal-delay="4"] {
    transition-delay: 0.6s;
}

/* Accent glow sweep on hover */
.showcase-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, var(--accent-glow) 50%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.showcase-card:hover::after {
    opacity: 1;
    animation: showcaseGlowSweep 1.5s ease forwards;
}

@keyframes showcaseGlowSweep {
    0% {
        transform: translateX(-100%) rotate(0deg);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%) rotate(0deg);
        opacity: 0;
    }
}

/* --- General Reveal (for other sections) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.25s;
}

.reveal-delay-3 {
    transition-delay: 0.4s;
}

/* --- Showcase Image Slider --- */
.showcase-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.showcase-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.showcase-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 6s ease-out;
    transform: scale(1);
}

.showcase-slide.active {
    opacity: 1;
    transform: scale(1.05);
}

/* Brand Identity wide card: show full 16:9 images without crop */
.showcase-card-wide .showcase-slide {
    object-fit: contain;
    background: #0a0a0a;
}

.showcase-card-wide .showcase-slide.active {
    transform: scale(1);
}

/* --- Showcase Overlay Label --- */
.showcase-overlay-label {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9), rgba(5, 5, 5, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(242, 249, 98, 0.4);
    border-radius: var(--radius-full);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.7),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    pointer-events: none;
    line-height: 1;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Shimmer light effect running through the label */
.showcase-overlay-label::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(242, 249, 98, 0.15),
            transparent);
    transform: skewX(-25deg);
    animation: labelShimmer 5s infinite ease-in-out;
}

@keyframes labelShimmer {
    0% {
        left: -150%;
    }

    15%,
    100% {
        left: 150%;
    }
}

.showcase-card:hover .showcase-overlay-label {
    transform: translateX(12px);
    border-color: var(--accent);
    background: rgba(10, 10, 10, 1);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(242, 249, 98, 0.2);
}

/* Left-to-right slide-in animation when page loads/reveals */
.showcase-overlay-label.animate-label {
    animation: showcaseLabelSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes showcaseLabelSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(0.8);
        filter: blur(15px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

/* Star/✦ icon before label */
.showcase-overlay-label::before {
    content: '✦';
    display: inline-block;
    color: var(--accent);
    font-style: normal;
    font-size: 0.85em;
    vertical-align: middle;
    /* Combine rotate and pulse for a high-end look */
    animation: labelIconMagic 3s ease-in-out infinite;
}

@keyframes labelIconMagic {

    0%,
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 0px var(--accent));
    }

    50% {
        opacity: 0.7;
        transform: scale(1.3) rotate(180deg);
        filter: drop-shadow(0 0 8px var(--accent));
    }
}

/* Wide card label bigger */
.showcase-card-wide .showcase-overlay-label {
    bottom: 32px;
    left: 32px;
    font-size: 0.9rem;
    padding: 14px 36px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .showcase-visual {
        aspect-ratio: 16 / 9;
    }

    .showcase-overlay-label {
        font-size: 0.7rem;
        padding: 10px 20px;
        bottom: 16px;
        left: 16px;
        letter-spacing: 2px;
    }

    .showcase-card-wide .showcase-overlay-label {
        font-size: 0.75rem;
        padding: 12px 24px;
        bottom: 20px;
        left: 20px;
    }
}

/* Specific fix for Logo card fitting */
.showcase-card-logo .showcase-slide,
.showcase-card-logo .showcase-media {
    object-fit: contain;
    background: #000;
    /* fallback black background */
}


/* ---------- How We Work ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.process-card {
    text-align: center;
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background-image: radial-gradient(circle at top right, rgba(242, 249, 98, 0.03), transparent);
}

.process-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    background-color: rgba(242, 249, 98, 0.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(242, 249, 98, 0.05);
}

.process-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(242, 249, 98, 0.1);
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 2px solid rgba(242, 249, 98, 0.2);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover .process-number {
    background: var(--accent);
    color: #000;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px var(--accent-glow-strong);
}

.process-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover h3 {
    color: var(--accent);
    transform: translateY(-4px);
}

.process-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover p {
    color: var(--text-primary);
    transform: translateY(-4px);
}

/* ---------- Testimonials ---------- */
/* ---------- Testimonials Slider ---------- */
.testimonials-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0 30px;
    /* Reduced bottom padding */
    margin-top: 30px;
    /* Reduced top margin */
}

.testimonials-slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 0;
    /* Gap is managed by card margins for slider math */
}

.testimonial-card {
    flex: 0 0 33.333%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    /* Spacing between cards in slider */
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    background-clip: padding-box;
}

@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
}

.testimonial-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #88c040 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #090909;
    object-fit: cover;
    border: 2px solid rgba(242, 249, 98, 0.3);
}

img.testimonial-avatar {
    background: none;
}

/* Testimonial mobile slider dots */
.testimonial-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    /* Reduced margin */
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.t-dot.active {
    background: var(--accent);
    border-color: var(--accent);
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ---------- CTA Section ---------- */
.cta-section {
    position: relative;
    overflow: hidden;
    padding-top: 40px !important;
    /* Tighten gap with testimonials */
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 36px;
    position: relative;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

/* Footer logo — proper alignment with text below */
.footer-brand .nav-logo {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
    letter-spacing: 0;
    text-indent: 0;
}

.footer-brand .nav-logo .logo-img {
    display: block;
    height: 48px;
    width: auto;
    margin: 0;
    padding: 0;
}

.footer-brand p {
    margin-left: 0;
    padding-left: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(242, 249, 98, 0.08);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.footer-column ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
    padding: 180px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero .section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    position: relative;
}

.page-hero .section-subtitle {
    margin: 0 auto;
    position: relative;
}

/* ---------- Services Page Cards ---------- */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.service-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-detail-card:hover {
    border-color: rgba(242, 249, 98, 0.15);
    transform: translateY(-6px);
}

.service-detail-card:hover::before {
    opacity: 1;
}

.service-detail-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(242, 249, 98, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-detail-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-detail-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- Portfolio Grid — Clean image gallery ---------- */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    background: var(--bg-card);
}

.portfolio-item-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.portfolio-item:hover .portfolio-item-img {
    transform: scale(1.07);
}

.portfolio-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.portfolio-item:hover::after {
    border-color: var(--accent);
}

/* Website portfolio items — 16:9 for website screenshots */
.portfolio-item[data-category="website"] {
    aspect-ratio: 16 / 9;
}

/* When website category is active — 3 big columns, wider layout */
.portfolio-grid:has([data-category="website"][style*="display: block"]) {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 100%;
}

/* Make the section container full-width for website view */
#portfolio-section:has([data-category="website"][style*="display: block"]) .container {
    max-width: 100%;
    padding: 0 32px;
}

/* Photo category — 3 big columns, wider layout */
.portfolio-grid:has([data-category="photo"][style*="display: block"]) {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 100%;
}

#portfolio-section:has([data-category="photo"][style*="display: block"]) .container {
    max-width: 100%;
    padding: 0 32px;
}

/* Branding category — 3 big columns, wider layout */
.portfolio-grid:has([data-category="branding"][style*="display: block"]) {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 100%;
}

#portfolio-section:has([data-category="branding"][style*="display: block"]) .container {
    max-width: 100%;
    padding: 0 32px;
}

/* View header — back btn + title */
.portfolio-detail-view {
    opacity: 0;
    transition: opacity 0.4s ease;
    padding-top: 40px;
    padding-bottom: 80px;
}

.view-header {
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.view-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    text-align: center;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Force 2 columns on mobile for all categories */
    .portfolio-grid:has([data-category="website"][style*="display: block"]),
    .portfolio-grid:has([data-category="photo"][style*="display: block"]),
    .portfolio-grid:has([data-category="branding"][style*="display: block"]) {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    #portfolio-section:has([data-category="website"][style*="display: block"]) .container,
    #portfolio-section:has([data-category="photo"][style*="display: block"]) .container,
    #portfolio-section:has([data-category="branding"][style*="display: block"]) .container {
        padding: 0 16px;
    }

    .portfolio-item {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .portfolio-item {
        border-radius: 10px;
        aspect-ratio: 1 / 1;
    }
}

.portfolio-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    opacity: 1;
    transition: opacity 0.4s ease;
}

@media (max-width: 768px) {
    .portfolio-categories {
        grid-template-columns: 1fr;
    }
}

.category-card {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    height: 520px;
    cursor: pointer;
    background: #090909;
    border: 1px solid var(--accent);
    /* Constant yellow border */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    opacity: 0.75;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: radial-gradient(circle at center, rgba(9, 9, 9, 0.15) 0%, rgba(9, 9, 9, 0.55) 100%);
    transition: all 0.6s ease;
}

.category-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* Start state for animation */
    pointer-events: none;
}


.category-card h3 {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-transform: none;
}

.text-accent {
    color: var(--accent);
    /* Brand Yellow spotlight */
}

.category-card p {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 400px;
    line-height: 1.4;
    font-weight: 500;
}

.category-card .btn {
    pointer-events: auto;
    box-shadow: 0 10px 30px rgba(242, 249, 98, 0.3);
}

/* --- Fast Slide-In Animation --- */
@keyframes fastSlideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Desktop Hover Interaction */
.category-card:hover .category-content h3,
.category-card:hover .category-content .btn {
    animation: fastSlideInLeft 0.4s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.category-card:hover .category-media {
    transform: scale(1.1);
    opacity: 0.7;
}

/* Mobile Scroll Triggered Animations */
.category-card.in-view .category-content h3,
.category-card.in-view .category-content .btn {
    animation: fastSlideInLeft 0.6s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

/* Project Detail View */
.portfolio-detail-view {
    opacity: 0;
    transition: opacity 0.4s ease;
    padding-top: 40px;
    padding-bottom: 120px;
}

.view-header {
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.view-header h2 {
    font-size: 3.5rem;
    font-weight: 950;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.back-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-btn:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: translateX(-8px);
    box-shadow: 0 0 20px var(--accent-glow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 16/11;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-light);
}

.portfolio-item:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.portfolio-item-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    transition: transform 0.8s ease;
}

.portfolio-item-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(9, 9, 9, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-item-bg,
.portfolio-item:hover .portfolio-item-img {
    transform: scale(1.05);
}

.portfolio-overlay h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.portfolio-overlay .portfolio-cat {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .portfolio-categories {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 320px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- About Page ---------- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.about-image-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.about-image-bg::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--accent-glow);
    top: 20%;
    right: 20%;
    animation: float 8s ease-in-out infinite;
}

/* Approach Grid */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.approach-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: all var(--transition-slow);
}

.approach-card:hover {
    border-color: rgba(242, 249, 98, 0.15);
    transform: translateY(-4px);
}

.approach-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(242, 249, 98, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 20px;
}

.approach-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.approach-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ---------- Contact Form Section ---------- */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

/* Contact Info Styling */
.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.contact-info>p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 480px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-detail:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-glow-strong);
    transform: translateX(10px);
}

.contact-detail-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: rgba(242, 249, 98, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(242, 249, 98, 0.2);
    transition: all var(--transition-base);
}

.contact-detail:hover .contact-detail-icon {
    background: var(--accent);
    color: #000;
    transform: scale(1.1) rotate(-5deg);
}

.contact-detail-text h4 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-detail-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Form Styling - Premium Glassmorphism */
.contact-form {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 56px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 2px rgba(255, 255, 255, 0.05) inset;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}

.contact-form-inner {
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color var(--transition-base);
}

.form-group:focus-within label {
    color: var(--accent);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    opacity: 0.4;
    transition: all var(--transition-base);
    pointer-events: none;
}

.textarea-icon {
    top: 22px;
    transform: none;
}

.form-control {
    width: 100%;
    padding: 16px 20px 16px 52px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
    outline: none;
}

.form-group:focus-within .input-icon {
    opacity: 1;
    color: var(--accent);
}

.form-control.error {
    border-color: #ff4d4d;
    background: rgba(255, 77, 77, 0.02);
}

.form-error {
    font-size: 0.78rem;
    color: #ff4d4d;
    margin-top: 8px;
    font-weight: 500;
    display: none;
}

.form-error.visible {
    display: block;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

textarea.form-control {
    resize: vertical;
    min-height: 160px;
    padding-top: 20px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23F2F962' d='M7 10L2 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

select.form-control option {
    background: #111;
    color: #fff;
    padding: 12px;
}

select.form-control optgroup {
    background: #111;
    color: var(--accent);
    font-weight: 700;
    padding: 10px 0;
}

.form-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.form-submit {
    width: 100%;
}

.form-privacy {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* Success State Enhancements */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
    animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.form-success.visible {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-success-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 28px;
    box-shadow: 0 0 40px var(--accent-glow-strong);
}

.form-success h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.form-success p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 400px;
    line-height: 1.6;
}

/* ---------- Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #c7f048);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        gap: 20px;
    }

    .showcase-visual {
        height: auto;
    }

    .showcase-visual-wide {
        aspect-ratio: 16 / 9;
        height: auto;
    }



    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .section {
        padding: 80px 0;
    }

    .showcase-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 36px;
    }

    .showcase-visual {
        height: auto;
    }

    .showcase-visual-wide {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(9, 9, 9, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transform: translateX(100%);
        transition: transform var(--transition-base);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .hamburger {
        display: flex;
    }

    .nav-cta .btn {
        display: none;
    }

    .hero-fullscreen {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-brand-name {
        font-size: clamp(3rem, 16vw, 5rem);
        margin-bottom: 20px;
    }

    .hero-subtitle-text {
        font-size: 0.9rem;
        letter-spacing: 0.1em;
        margin-bottom: 12px;
    }

    .hero-tagline {
        font-size: 0.7rem;
        padding: 6px 16px;
        margin-bottom: 16px;
    }

    .hero-main-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
        padding: 0 8px;
    }

    .hero-fullscreen-content {
        padding: 0 20px;
    }

    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-indicators {
        bottom: 24px;
    }

    .hero-indicator {
        width: 30px;
    }

    .hero-indicator.active {
        width: 46px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .why-right {
        position: static;
    }

    .why-header {
        text-align: center;
    }

    .why-right-description {
        text-align: center;
        border-left: none;
        padding-left: 0;
    }

    .why-heading {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 16px;
    }

    .why-highlight {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .why-feature-item {
        padding: 14px 16px;
        gap: 14px;
    }

    .why-feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.2rem;
    }

    .why-right-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .why-mockup-img {
        max-height: 320px;
        object-fit: cover;
    }

    .stat-item {
        padding: 20px 24px;
        min-width: 180px;
        width: calc(50vw - 16px);
    }

    .stat-number,
    .stat-number-clone {
        font-size: 2.2rem;
    }

    .stats-section-compact {
        padding: 20px 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0px;
        padding-bottom: 8px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        min-width: 100%;
        width: 100%;
        scroll-snap-align: start;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonial-dots {
        display: flex;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 48px;
        display: flex;
        flex-direction: column;
    }

    .contact-info {
        position: static;
        order: 1;
    }

    .contact-form {
        padding: 40px 24px;
        order: 2;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .services-detail-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 48px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-main-description {
        font-size: 0.9rem;
    }

    .hero-brand-name {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

/* ---------- Improved Services Layouts ---------- */
.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-section.reverse {
    direction: rtl;
}

.feature-section.reverse>* {
    direction: ltr;
}

.feature-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}

.feature-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.feature-image-wrapper:hover img {
    transform: scale(1.05);
}

.feature-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(9, 9, 9, 0.6) 0%, transparent 50%);
    pointer-events: none;
}

.feature-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-content .section-title {
    margin-bottom: 24px;
}

.feature-content .section-subtitle {
    margin-bottom: 40px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
    width: 100%;
}

.feature-list-item {
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: flex-start;
    text-align: left;
}

.feature-list-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: rgba(242, 249, 98, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    border: 1px solid rgba(242, 249, 98, 0.2);
    margin-top: 2px;
}

.feature-list-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-list-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: var(--text-primary);
}

.feature-list-text p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    margin-top: 80px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-light), var(--accent), var(--border-light), transparent);
    z-index: 0;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.timeline-item {
    text-align: center;
}

.timeline-dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 0 20px var(--accent-glow);
    transition: all var(--transition-base);
}

.timeline-item:hover .timeline-dot {
    background: var(--accent);
    color: #000;
    transform: scale(1.1);
}

.timeline-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}



@media (max-width: 992px) {

    .feature-section,
    .feature-section.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-section.reverse {
        direction: ltr;
    }

    .timeline-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .feature-list {
        grid-template-columns: 1fr;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
    }


}

/* ========================================
   Stats Infinite Ticker Carousel
   ======================================== */

.stats-section-compact {
    padding: 0;
    overflow: hidden;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-card);
    position: relative;
}

/* Fade edges */
.stats-section-compact::before,
.stats-section-compact::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.stats-section-compact::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.stats-section-compact::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.stats-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
}

.stats-carousel-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: statsScrollLeft 30s linear infinite;
}



.stats-carousel-track .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 56px;
    border-right: 1px solid var(--border-subtle);
    min-width: 260px;
    text-align: center;
    flex-shrink: 0;
}

.stat-number-clone {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-primary, 'Inter', sans-serif);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.4;
    max-width: 160px;
    text-align: center;
}

@keyframes statsScrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .stats-carousel-track .stat-item {
        padding: 0 32px;
        min-width: 180px;
    }

    .stat-label {
        font-size: 0.8rem;
        max-width: 130px;
    }

    .stats-carousel-wrapper {
        padding: 28px 0;
    }
}

/* ========================================
   Portfolio Video Items (9:16 portrait)
   ======================================== */

.portfolio-grid:has(.portfolio-video-item) {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.portfolio-video-item {
    aspect-ratio: 9 / 16 !important;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    position: relative;
}

.portfolio-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: opacity 0.3s ease, background 0.3s ease;
    background: rgba(0, 0, 0, 0.25);
}

.video-play-btn svg {
    width: 52px;
    height: 52px;
    background: rgba(242, 249, 98, 0.92);
    color: #090909;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, background 0.25s ease;
    flex-shrink: 0;
}

.video-play-btn:hover svg {
    transform: scale(1.12);
    background: var(--accent);
}

.portfolio-video-item.is-playing .video-play-btn {
    opacity: 0;
    background: transparent;
}

.portfolio-video-item.is-playing:hover .video-play-btn {
    opacity: 1;
    background: rgba(0, 0, 0, 0.18);
}

@media (max-width: 1100px) {
    .portfolio-grid:has(.portfolio-video-item) {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid:has(.portfolio-video-item) {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .portfolio-video-item {
        border-radius: 14px;
    }

    .video-play-btn svg {
        width: 40px;
        height: 40px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .portfolio-grid:has(.portfolio-video-item) {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ========================================
   Tap-to-Unmute Button (fallback for audio autoplay block)
   ======================================== */

.tap-unmute-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    gap: 8px;
    background: rgba(9, 9, 9, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(242, 249, 98, 0.3);
    border-radius: 999px;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease;
    white-space: nowrap;
}

.tap-unmute-btn:hover {
    background: rgba(242, 249, 98, 0.15);
    border-color: var(--accent);
}

.tap-unmute-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.tap-unmute-text {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* ========================================
   About Page — Story Section
   ======================================== */

.about-story {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.about-story-header {
    margin-bottom: 24px;
}

.about-story-header .section-label {
    display: inline-block;
    margin-bottom: 16px;
}

.about-story-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-primary);
}

.about-story-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 56px;
    text-align: left;
}

.about-story-body p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-story-body p:last-child {
    margin-bottom: 0;
}

.about-story-body strong {
    color: var(--text-primary);
    font-weight: 700;
}

.about-story-divider {
    width: 60px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    margin: 28px auto;
    opacity: 0.7;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
}

.about-highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    text-align: center;
    border-right: 1px solid var(--border-subtle);
    transition: background 0.25s ease;
}

.about-highlight-item:last-child {
    border-right: none;
}

.about-highlight-item:hover {
    background: rgba(242, 249, 98, 0.04);
}

.about-highlight-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
}

.about-highlight-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-story-body p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .about-highlight-number {
        font-size: 1.8rem;
    }

    .about-highlight-item {
        padding: 24px 16px;
    }
}

/* ============================================
   MOBILE NAVBAR — COMPLETE FIX
   ============================================ */

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Hide desktop "Get in Touch" button on mobile */
    .nav-cta .btn {
        display: none;
    }

    /* Mobile nav links — full screen overlay */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(9, 9, 9, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        z-index: 999;
        /* Hidden by default */
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    /* When menu is open */
    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-primary);
        letter-spacing: -0.02em;
        text-align: center;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--accent);
        transform: scale(1.05);
    }

    .nav-links a::after {
        display: none;
    }

    /* "Get in Touch" button inside mobile menu */
    .nav-links::after {
        content: '';
    }
}

/* ============================================
   MOBILE HERO — FIX
   ============================================ */

@media (max-width: 768px) {
    .hero-fullscreen {
        min-height: 100vh;
        padding-bottom: 60px;
    }

    .hero-fullscreen-content {
        padding: 0 20px;
        bottom: 60px;
    }

    .hero-brand-name {
        font-size: clamp(2.8rem, 12vw, 5rem) !important;
    }

    .hero-tagline {
        font-size: 0.68rem;
        letter-spacing: 2px;
        padding: 6px 16px;
    }

    .hero-subtitle-text {
        font-size: 1rem !important;
    }

    .hero-main-description {
        font-size: 0.9rem !important;
        padding: 0 8px;
    }

    .hero-cta-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: center;
    }

    .hero-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-indicators {
        bottom: 20px;
    }
}

/* ============================================
   MOBILE WHY SECTION — FIX
   ============================================ */

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-right {
        position: static;
    }

    .why-heading {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .why-feature-item {
        padding: 16px;
    }

    .why-image-wrapper {
        margin-top: 0;
    }
}

/* ============================================
   MOBILE SERVICES GRID — FIX
   ============================================ */

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .service-card-large {
        padding: 32px 24px;
    }

    .service-card-large h3 {
        font-size: 1.4rem;
    }
}

/* ============================================
   MOBILE PROCESS GRID — FIX
   ============================================ */

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .process-card {
        padding: 32px 24px;
    }
}

/* ============================================
   MOBILE SECTION PADDING — FIX
   ============================================ */

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: clamp(1.7rem, 6vw, 2.4rem);
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 16px;
    }
}

/* ============================================
   MOBILE SHOWCASE GRID — FIX
   ============================================ */

@media (max-width: 768px) {
    .showcase-section {
        padding: 40px 0;
    }

    .showcase-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .showcase-card,
    .showcase-card-wide,
    .showcase-card-logo {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

/* ============================================
   MOBILE CTA BOX — FIX
   ============================================ */

@media (max-width: 768px) {
    .cta-box {
        padding: 48px 24px;
        text-align: center;
    }

    .cta-box h2 {
        font-size: clamp(1.7rem, 6vw, 2.4rem);
    }
}

/* ============================================
   MOBILE FOOTER — FIX
   ============================================ */

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer {
        padding: 48px 0 24px;
    }

    /* Center logo */
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        text-align: center;
    }

    /* Center social icons */
    .footer-social {
        justify-content: center;
    }

    /* Center each footer column */
    .footer-column {
        text-align: center;
    }

    .footer-column ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-column ul li {
        text-align: center;
    }

    /* Center footer bottom bar */
    .footer-bottom {
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }
}



/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.whatsapp-float__btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-shrink: 0;
}

.whatsapp-float__btn svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

/* Pulse ring animation */
.whatsapp-float__btn::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: wa-pulse 2.5s ease-in-out infinite;
}

@keyframes wa-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.25);
        opacity: 0;
    }
}

/* Tooltip */
.whatsapp-float__tooltip {
    background: rgba(17, 17, 17, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    order: -1;
    /* tooltip appears to the LEFT of the button */
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-float:hover .whatsapp-float__btn {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float__btn {
        width: 52px;
        height: 52px;
    }

    .whatsapp-float__btn svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float__tooltip {
        display: none;
    }
}