/* 
    Capture Art Premium Design System V2
*/

:root {
    --bg-dark: #0f171e; /* Deeper dark for better contrast with aurora/particles */
    --bg-surface: #17252d;
    --bg-light: #f9f9f9;
    --accent: #2588af;
    --accent-glow: rgba(37, 136, 175, 0.6);
    --light-blue: #d0e1ef;
    --text-dark: #f9f9f9;
    --text-muted: #94a3b8;
    --glass-bg: rgba(23, 37, 45, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto; /* Handled by Lenis */
}

body {
    font-family: 'Outfit', 'Helvetica', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 3.5rem 0;
}

.center { text-align: center; }

/* Typography */
h1, h2, h3, h4 { line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; }
.highlight { 
    background: linear-gradient(135deg, #2588af 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(37, 136, 175, 0.3);
}

.highlight-premium {
    background: linear-gradient(135deg, #fff 0%, #2588af 25%, #60a5fa 50%, #2588af 75%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    font-weight: 900;
    filter: drop-shadow(0 0 20px rgba(37, 136, 175, 0.5));
    letter-spacing: -2px;
}

.hero-capture {
    color: var(--accent);
    text-shadow: 0 10px 30px rgba(37, 136, 175, 0.3);
}

.hero-art {
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@keyframes shine {
    to { background-position: 200% center; }
}

.attractive-title {
    text-transform: uppercase;
    letter-spacing: -4px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
    animation: titleFloat 6s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.pre-title { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; font-size: 0.72rem; display: block; margin-bottom: 0.8rem; opacity: 0.9; }
.header-line { width: 60px; height: 3px; background: var(--accent); margin: 0.8rem auto; border-radius: 2px; }

/* Glass Panel Base */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* Navigation Redesign - Premium Black Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    padding: 0 2.5rem;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    height: 75px;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
    max-width: 1400px;
    width: 100%;
}

.logo {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin-left: 0.5rem; /* Slight inset — not touching edge, looks clean */
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    opacity: 0.85;
}

.logo:hover img {
    transform: none;
    filter: none;
}

.logo img {
    height: 85%;
    width: auto;
    max-height: 76px;
    object-fit: contain;
    padding: 0;
    margin: 0;
    display: block;
    position: relative;
    z-index: 2;
    mix-blend-mode: screen;        /* Removes logo background naturally */
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
        padding: 0 1rem;
    }
    .logo {
        margin-left: 0.25rem;
    }
    .logo img {
        max-height: 54px !important;
        height: 80% !important;
        width: auto;
    }
}



.logo:hover img {
    transform: none;
    filter: none;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8); 
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
    text-shadow: 0 0 15px rgba(37, 136, 175, 0.5);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle { display: none; flex-direction: column; gap: 6px; z-index: 101; cursor: pointer !important; }
.menu-toggle .bar { width: 30px; height: 2px; background: white; transition: 0.3s; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav-overlay {
    position: fixed; inset: 0; background: var(--bg-dark); z-index: 99;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: 0.4s ease;
}
.mobile-nav-overlay.active { opacity: 1; pointer-events: all; }
.mobile-nav-links { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 2rem; }
.mobile-nav-links a { font-size: 2rem; color: white; text-decoration: none; font-weight: 700; }

/* Hero Section */
.hero-section {
    height: 80vh; min-height: 550px; position: relative; display: flex; align-items: center; overflow: hidden;
}
.hero-bg-image {
    position: absolute; inset: 0; z-index: 0;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) saturate(0.8);
    transform: scale(1.1);
    animation: slowZoom 20s infinite alternate;
}
@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
.hero-overlay-gradient {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(15,23,30,0.2) 0%, rgba(15,23,30,0.8) 80%, var(--bg-dark) 100%);
}
.hero-content { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100%; position: relative; z-index: 2; }
.hero-text { max-width: 800px; }
.hero-tags { justify-content: center; }

.hero-logo-box {
    margin-bottom: 2rem;
}
.hero-main-logo {
    height: 120px;
}

.soundwave-header { display: flex; align-items: center; gap: 8px; margin-bottom: 2rem; }
.soundwave-header .bar { width: 3px; background: var(--accent); border-radius: 2px; animation: bounce 1.2s ease-in-out infinite alternate; }
.soundwave-header .bar:nth-child(1) { height: 12px; animation-delay: 0s; }
.soundwave-header .bar:nth-child(2) { height: 20px; animation-delay: 0.2s; }
.soundwave-header .bar:nth-child(3) { height: 15px; animation-delay: 0.4s; }
.soundwave-header .bar:nth-child(4) { height: 24px; animation-delay: 0.1s; }
.soundwave-header .bar:nth-child(5) { height: 10px; animation-delay: 0.3s; }
.soundwave-header span { font-size: 0.8rem; letter-spacing: 4px; font-weight: 700; color: var(--light-blue); margin-left: 10px; }

@keyframes bounce { 0% { transform: scaleY(0.5); } 100% { transform: scaleY(1.2); } }

.animated-headline { 
    font-size: clamp(3.5rem, 8vw, 6.5rem); 
    font-weight: 900; 
    margin-bottom: 0.5rem; 
    letter-spacing: -2px;
    line-height: 1.05;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 2px 5px rgba(0,0,0,0.5); 
}
.animated-headline .line {
    display: inline-block;
}
.animated-headline .from-tagline {
    display: block;
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    font-weight: 500;
    letter-spacing: 7px;
    color: var(--accent);
    margin-top: 1.2rem;
    text-transform: uppercase;
    text-shadow: none;
    opacity: 0.9;
}
.line-wrap { display: block; overflow: hidden; }
.hero-sub { 
    font-size: 1.6rem; 
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--light-blue); 
    margin-bottom: 1.5rem; 
    text-shadow: 0 5px 15px rgba(0,0,0,0.8); 
    opacity: 0.9;
}
.hero-service-buttons { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 1rem; 
    flex-wrap: wrap; 
    margin-top: 1.8rem; 
}

.hero-btn { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    color: rgba(255,255,255,0.9); 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 1.1rem; 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    padding: 1.1rem 2.2rem; 
    border-radius: 50px; 
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-btn:hover { 
    color: white; 
    background: rgba(37, 136, 175, 0.15); 
    border-color: rgba(37, 136, 175, 0.5);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 136, 175, 0.3);
}

.hero-btn i { color: var(--accent); font-size: 1.2rem; }

.hero-btn:hover { 
    color: white; 
    background: rgba(37, 136, 175, 0.2); 
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 136, 175, 0.2);
}

.hero-btn:active {
    transform: scale(0.95) translateY(0);
    background: rgba(37, 136, 175, 0.4);
}

.hero-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.hero-btn.active i { color: white; }

@media (max-width: 768px) {
    .hero-service-buttons {
        gap: 1rem;
        padding: 0 1rem;
    }
    .hero-btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Visualizer Glass Card */
.visualizer-glass-card { background: rgba(23,37,45,0.6); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 20px; padding: 2rem; box-shadow: 0 30px 60px rgba(0,0,0,0.5); position: relative; }
.visualizer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }
.vis-title { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }
#waveformCanvas { width: 100%; height: 120px; border-radius: 10px; background: rgba(0,0,0,0.2); }
.vis-controls { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; }
#simPlayBtn { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); border: none; color: white; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
#simPlayBtn:hover { transform: scale(1.1); box-shadow: 0 0 15px var(--accent-glow); }
.timeline-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.timeline-bar .progress { width: 30%; height: 100%; background: var(--accent); border-radius: 2px; }

/* 3D Services */
.services-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 4rem; perspective: 1000px; }
.service-3d-card { height: 350px; position: relative; transform-style: preserve-3d; transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.service-3d-card:hover { transform: rotateY(180deg); }
.card-inner { position: absolute; width: 100%; height: 100%; transform-style: preserve-3d; }
.card-front, .card-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; padding: 3rem 2rem; display: flex; flex-direction: column; justify-content: center; }
.card-front { transform: rotateY(0deg); }
.card-back { transform: rotateY(180deg); }
.highlight-bg { background: linear-gradient(135deg, rgba(37, 136, 175, 0.2) 0%, rgba(23, 37, 45, 0.8) 100%); border-color: rgba(37, 136, 175, 0.4); }
.icon-wrapper { width: 60px; height: 60px; background: rgba(37, 136, 175, 0.15); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--accent); margin-bottom: 1.5rem; }
.card-front h3 { margin-bottom: 1rem; }
.card-front p { color: var(--text-muted); font-size: 0.95rem; }
.card-back h3 { color: var(--accent); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; }
.card-back ul { list-style: none; }
.card-back li { padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--text-dark); display: flex; align-items: center; gap: 10px; }
.card-back li::before { content: '→'; color: var(--accent); }

/* Why Us Split Layout */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.feature-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 2rem; }
.feature-row { display: flex; gap: 1.5rem; align-items: flex-start; }
.icon-box { min-width: 50px; height: 50px; border-radius: 14px; background: var(--glass-bg); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.2rem; }
.feature-row h4 { margin-bottom: 0.3rem; }
.feature-row p { color: var(--text-muted); font-size: 0.9rem; }
.abstract-image-container { position: relative; border-radius: 30px; overflow: hidden; height: 600px; }
.abstract-image-container img { width: 100%; height: 100%; object-fit: cover; }
.floating-badge { position: absolute; background: rgba(23, 37, 45, 0.8); backdrop-filter: blur(10px); padding: 1.5rem; border-radius: 20px; border: 1px solid var(--glass-border); text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.top-right { top: 40px; right: -20px; }
.bottom-left { bottom: 40px; left: -20px; }
.floating-badge .number { display: block; font-size: 2.5rem; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 5px; }
.floating-badge .text { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }



/* ===== FOUNDERS — REDESIGNED ===== */
.founders-section {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}
.founders-section::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,136,175,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Story Banner */
.founder-story-banner {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: rgba(37,136,175,0.06);
    border: 1px solid rgba(37,136,175,0.2);
    border-left: 4px solid var(--accent);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    margin: 2.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.founder-story-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37,136,175,0.05) 0%, transparent 60%);
    pointer-events: none;
}
.story-quote-icon {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.6;
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.story-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}
.story-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.6rem;
}
.story-text p:last-child { margin-bottom: 0; }
.story-text strong { color: white; font-weight: 700; }
.story-text em { color: var(--accent); font-style: normal; font-weight: 600; }

/* ===== FOUNDERS — PREMIUM INTERACTIVE GRID ===== */
.founders-interactive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    perspective: 2000px;
}

.founder-full-flip {
    height: 650px;
    width: 100%;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.founder-full-flip:hover .flip-card-inner,
.founder-full-flip:active .flip-card-inner,
.founder-full-flip.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

/* FRONT FACE */
.flip-card-front {
    background: var(--bg-surface);
}

.founder-portrait-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(37, 136, 175, 0.05) 0%, rgba(15, 23, 30, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-portrait-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: brightness(1) contrast(1.02) drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-full-flip:hover .founder-portrait-wrap img {
    transform: scale(1.05) translateY(-5px);
}

.portrait-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15,23,30,0.95) 100%);
}

.founder-front-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    text-align: center;
}

.founder-badge {
    background: var(--accent);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.founder-name-main {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.founder-role-main {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 2rem;
}

.flip-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: 0.3s;
}
.flip-hint {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0.5px;
    opacity: 0.9;
}
.flip-cta i {
    font-size: 1.2rem;
    margin-top: 5px;
}

.founder-full-flip:hover .flip-cta {
    transform: translateX(10px);
}

/* BACK FACE */
.flip-card-back {
    background: linear-gradient(135deg, #0f171e 0%, #17252d 100%);
    transform: rotateY(180deg);
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.back-scroll-container {
    overflow-y: auto;
    flex: 1;
    padding-right: 10px;
}

/* Custom Scrollbar for back face */
.back-scroll-container::-webkit-scrollbar { width: 4px; }
.back-scroll-container::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.back-scroll-container::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

.back-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.back-avatar {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(37, 136, 175, 0.3);
}

.back-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.back-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.back-bio-text {
    margin-bottom: 3rem;
}

.back-bio-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.back-timeline-journey {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.bt-item {
    display: flex;
    gap: 2rem;
    position: relative;
}

.bt-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 25px;
    bottom: -20px;
    width: 2px;
    background: rgba(255,255,255,0.05);
}

.bt-item:last-child::before { display: none; }

.bt-year {
    font-weight: 800;
    color: var(--accent);
    font-size: 0.9rem;
    min-width: 60px;
}

.bt-info h5 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.2rem;
}

.bt-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.bt-item.active .bt-year {
    color: #27c93f;
    text-shadow: 0 0 10px rgba(39, 201, 63, 0.3);
}

.back-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1rem;
    background: rgba(0,119,181,0.1);
    border: 1px solid rgba(0,119,181,0.3);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 700;
    transition: 0.3s;
}

.back-link-btn:hover {
    background: #0077b5;
    border-color: #0077b5;
    transform: translateY(-3px);
}

.flip-back-hint {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    opacity: 0.6;
}

@media (max-width: 992px) {
    .founders-interactive-grid { grid-template-columns: 1fr; }
    .founder-full-flip { height: 600px; }
}

/* CAAP Section */
.caap-section { background: var(--bg-surface); }
.caap-master-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
    background: rgba(23, 37, 45, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}
.caap-master-grid::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 136, 175, 0.1) 0%, transparent 70%);
    z-index: 0;
}
.caap-info { position: relative; z-index: 1; }
.caap-badge { background: var(--accent); color: white; display: inline-block; padding: 0.4rem 1.2rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 1.5rem; }
.caap-desc { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 500px; }

.caap-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.c-feature { display: flex; gap: 1.2rem; align-items: flex-start; }
.c-feature i { font-size: 1.5rem; color: var(--accent); background: rgba(37, 136, 175, 0.1); width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-feature h4 { margin-bottom: 0.3rem; color: white; }
.c-feature p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }

.caap-visual { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2rem; }
.caap-card { padding: 3rem; text-align: center; background: rgba(255,255,255,0.03); }
.caap-stat-box .huge { font-size: 4rem; font-weight: 900; color: var(--accent); line-height: 1; }
.caap-stat-box .plus { font-size: 2rem; color: var(--accent); font-weight: 900; }
.caap-stat-box p { font-size: 1.1rem; color: white; font-weight: 500; margin-top: 10px; }
.caap-tagline { margin-top: 1.5rem; color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
.caap-tagline i { color: #27c93f; }

.caap-image-box { border-radius: 24px; overflow: hidden; height: 350px; border: 1px solid var(--glass-border); }
.caap-image-box img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5); transition: 0.5s; }
.caap-image-box:hover img { filter: grayscale(0); transform: scale(1.05); }

@media (max-width: 992px) {
    .caap-master-grid { grid-template-columns: 1fr; padding: 3rem 2rem; }
    .caap-feature-grid { grid-template-columns: 1fr; }
}


/* Languages Structured Grid */
.section-desc { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem; }
.language-bento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.bento-box { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 24px; padding: 2.5rem; position: relative; overflow: hidden; transition: 0.3s; }
.bento-box:hover { border-color: rgba(37, 136, 175, 0.4); background: rgba(255,255,255,0.03); }
.bento-header { display: flex; align-items: center; gap: 15px; margin-bottom: 2rem; }
.bento-header i { font-size: 1.8rem; color: var(--accent); }
.bento-header h3 { margin: 0; }
.badge { font-size: 0.8rem; background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 12px; font-weight: normal; vertical-align: middle; margin-left: 10px; }
.chip-container { display: flex; flex-wrap: wrap; gap: 10px; }
.lang-chip { padding: 8px 16px; background: rgba(0,0,0,0.3); border-radius: 20px; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.lang-chip:hover { background: var(--accent); transform: translateY(-2px); }
.chip-container.outline .lang-chip { background: transparent; border-color: rgba(37, 136, 175, 0.3); color: var(--light-blue); }
.chip-container.outline .lang-chip:hover { background: rgba(37, 136, 175, 0.2); }

.indian-langs { grid-column: 1 / 2; }
.intl-langs { grid-column: 1 / -1; }
.bento-stat { display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(135deg, var(--bg-surface) 0%, #1e3340 100%); }
.huge-number { display: block; font-size: 5rem; font-weight: 900; color: var(--accent); line-height: 1; text-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.stat-text { font-size: 1.1rem; color: white; font-weight: 500; }
.globe-icon-bg { position: absolute; right: -20px; bottom: -20px; font-size: 12rem; color: rgba(255,255,255,0.02); z-index: 0; pointer-events: none; }

/* Contact Structured */
.contact-structured-section { position: relative; overflow: hidden; background: var(--bg-dark); }
.aurora-bg { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(37, 136, 175, 0.1) 0%, transparent 50%), radial-gradient(circle at 20% 80%, rgba(15, 23, 30, 0.6) 0%, transparent 50%); filter: blur(40px); z-index: 0; animation: pulse 10s ease-in-out infinite alternate; }
@keyframes pulse { 0% { opacity: 0.5; } 100% { opacity: 1; } }
.relative-z { position: relative; z-index: 1; }
.contact-master-card { padding: 2.5rem; border-radius: 40px; background: rgba(15, 23, 30, 0.9); border: 1px solid rgba(37, 136, 175, 0.3); box-shadow: 0 40px 100px rgba(0,0,0,0.4); backdrop-filter: blur(20px); }
.contact-grid-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-hero-text h2 { font-size: clamp(3rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
.contact-hero-text p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 400px; }
.glow-button { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    padding: 1rem 2.2rem; 
    background: #4ade80; /* Professional Light Green */
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #0a0f14; /* Dark text for contrast */
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 1rem; 
    transition: 0.3s; 
    position: relative; 
    overflow: hidden; 
    box-shadow: none !important;
    text-shadow: none !important;
}
.glow-button::before { display: none; }
.glow-button:hover { 
    transform: translateY(-3px); 
    background: #22c55e; /* Slightly darker green on hover */
    color: #0a0f14;
}
.glow-button:hover::before { display: none; }

.contact-info-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem 2rem; background: rgba(0,0,0,0.3); border: 1px solid var(--glass-border); border-radius: 20px; text-decoration: none; color: white; transition: 0.3s; }
.info-card:hover { background: rgba(37, 136, 175, 0.1); border-color: rgba(37, 136, 175, 0.4); transform: translateX(10px); }
.info-icon { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--accent); }
.info-details h4 { font-size: 1rem; color: var(--text-muted); margin-bottom: 4px; }
.info-details p { font-weight: 500; font-size: 1.1rem; }



/* Mobile Responsive */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; margin-top: 5rem;}
    .soundwave-header, .hero-tags { justify-content: center; }
    .animated-headline { font-size: 3rem; }
    .split-layout, .caap-stats, .contact-grid-layout { grid-template-columns: 1fr; gap: 3rem; }
    .caap-glass-container, .contact-master-card { padding: 2.5rem; }
    .stat-circle { width: 120px; height: 120px; }
    .stat-circle .number { font-size: 2rem; }
    .stat-circle.outline i { font-size: 1.8rem; }
    .language-bento-grid { grid-template-columns: 1fr; }
    .bento-stat { padding: 4rem 2rem; }
    .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
    .cursor-dot, .cursor-outline { display: none; } /* Disable custom cursor on mobile */
    * { cursor: auto !important; }
    
    .logo {
        padding: 4px 12px;
        border-radius: 12px;
    }
    .logo img {
        height: 65px;
    }
    .logo::before {
        opacity: 0.1; /* Minimal glow on mobile */
    }
    
    .top-right { top: 10px; right: 10px; padding: 1rem; }
    .bottom-left { bottom: 10px; left: 10px; padding: 1rem; }
}

/* Stacking Cards */
.stacking-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    margin-top: 1rem;
}
.stack-card {
    position: sticky;
    top: 10vh;
    padding: 1.5rem;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    transform-origin: top center;
    border-top: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}
.stack-card:nth-child(1) { background: rgba(23, 37, 45, 0.95); z-index: 1; }
.stack-card:nth-child(2) { background: rgba(28, 45, 55, 0.95); top: 12vh; z-index: 2; }
.stack-card:nth-child(3) { background: rgba(33, 53, 65, 0.95); top: 14vh; z-index: 3; }
.stack-card:nth-child(4) { background: rgba(37, 60, 75, 0.95); top: 16vh; z-index: 4; }
.stack-card:nth-child(5) { background: rgba(37, 136, 175, 0.95); top: 18vh; border-color: rgba(255,255,255,0.4); z-index: 5; }

.card-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.card-content .icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    background: rgba(0,0,0,0.2);
    flex-shrink: 0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.stack-card:nth-child(5) .card-content .icon-box {
    color: white;
}
.card-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: white;
}
.card-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}
@media (max-width: 768px) {
    .card-content { flex-direction: column; text-align: center; gap: 1rem; }
    .stack-card { padding: 1.2rem; }
    .card-content .icon-box { width: 45px; height: 45px; font-size: 1rem; border-radius: 12px; }
    .card-content h4 { font-size: 1.1rem; }
    .card-content p { font-size: 0.9rem; }
}

/* Expanding Cards Service Showcase */
.services-expanding {
    background: var(--bg-dark);
}
.expanding-container {
    display: flex;
    width: 100%;
    height: 60vh;
    min-height: 500px;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.expand-card {
    flex: 1;
    position: relative;
    border-radius: 30px;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--glass-border);
}
.expand-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,30,0.2) 0%, rgba(15,23,30,0.9) 100%);
    transition: 0.6s;
}
.expand-card.active {
    flex: 4;
    border-color: rgba(37, 136, 175, 0.5);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.expand-card.active .expand-overlay {
    background: linear-gradient(180deg, rgba(15,23,30,0.3) 0%, rgba(15,23,30,0.95) 100%);
}
.expand-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.expand-content .icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.6s;
}
.expand-card.active .icon-wrapper {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
.expand-text {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
    pointer-events: none;
    max-height: 0;
}
.expand-card.active .expand-text {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    max-height: 500px;
    transition: 0.6s 0.2s; /* Delay appearance */
}
.expand-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}
.expand-text p {
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.glow-button.small {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    background: var(--accent);
    box-shadow: 0 10px 20px rgba(37, 136, 175, 0.3);
}

@media (max-width: 992px) {
    .expanding-container {
        flex-direction: column;
        height: 80vh;           /* Fixed container height to prevent page jumps */
        min-height: 750px;      /* Ensure total height safely fits all cards */
        max-height: 900px;
        gap: 1rem;
    }
    .expand-card {
        height: auto;           /* Let flex govern the height */
        flex: 1;                /* Inactive cards take 1 fraction */
        min-height: 0;
        border-radius: 20px;
        overflow: hidden;
        margin-bottom: 0;       /* Use container gap instead */
        transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s, border 0.6s;
    }
    .expand-card.active {
        flex: 5;                /* Active card takes 5 fractions (~500px+) */
        border: 1px solid rgba(255,255,255,0.2);
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }
    .expand-card .expand-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%) !important;
    }
    .expand-content {
        padding: 1.5rem 1rem;   /* Reduced padding to fit perfectly inside smaller inactive flex height */
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        z-index: 2;
    }
    .expand-card.active .expand-content {
        justify-content: center;
    }
    .icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 0.5rem;
        transition: 0.4s;
    }
    .expand-card.active .icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
        background: var(--accent);
        box-shadow: 0 0 30px var(--accent-glow);
    }
    .expand-text h3 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        color: white !important;
        background: none !important;
        -webkit-text-fill-color: initial !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }
    .expand-text p {
        font-size: 1rem;
        line-height: 1.6;
        opacity: 0;
        transform: translateY(10px);
        transition: 0.4s 0.2s;
        margin-bottom: 1.5rem;
        text-shadow: 0 1px 8px rgba(0,0,0,0.8); /* Stronger shadow for mobile */
        display: -webkit-box;
        -webkit-line-clamp: none; /* Ensure full text is visible */
        line-clamp: none;
        -webkit-box-orient: vertical;
        overflow: visible;
    }
    .expand-card.active .expand-text p {
        opacity: 1;
        transform: translateY(0);
    }
    .glow-button.small {
        opacity: 0;
        transform: scale(0.9);
        transition: 0.4s 0.3s;
    }
    .expand-card.active .glow-button.small {
        opacity: 1;
        transform: scale(1);
    }
}

/* Contact Social Brands */
.contact-social-row { margin-top: 3rem; }
.contact-social-row p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.social-brands { display: flex; gap: 1.5rem; }
.social-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
}
.social-brand i { font-size: 1.2rem; }

.social-brand.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(214, 36, 159, 0.3);
}
.social-brand.linkedin:hover {
    background: #0077b5;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 119, 181, 0.3);
}
.social-brand.facebook:hover {
    background: #1877f2;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(24, 119, 242, 0.3);
}

/* Know More Box */
.know-more-box { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.know-more-box p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 0.8rem; }
.visit-website-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: 0.3s;
}
.visit-website-btn:hover { color: white; transform: translateX(10px); }
.visit-website-btn i { transition: 0.3s; }
.visit-website-btn:hover i { transform: translateX(5px); }

@media (max-width: 768px) {
    .contact-master-card { padding: 2rem 1.5rem; }
    .contact-hero-text h2 { font-size: 2.5rem; }
    .social-brands { flex-direction: column; gap: 1rem; }
    .social-brand { width: 100%; justify-content: center; }
    .visit-website-btn { font-size: 1.1rem; }
}

/* Languages Expansion Features */
.lang-chip.hidden { display: none; }

.chip-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lang-chip {
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.lang-chip:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(37, 136, 175, 0.3);
}

.show-more-btn {
    margin-top: 1.5rem;
    background: transparent;
    border: none;
    color: var(--accent);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: 0.3s;
    padding: 0.5rem 0;
}
.show-more-btn:hover { color: white; transform: translateX(5px); }
.show-more-btn i { transition: 0.3s; }
.show-more-btn.active i { transform: rotate(180deg); }

/* Clients Logo Marquee */
.clients-section { background: var(--bg-dark); overflow: hidden; }
.marquee-wrapper { position: relative; width: 100%; margin: 2rem 0; }
.marquee { display: flex; overflow: hidden; user-select: none; gap: 2rem; padding: 25px 0; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.marquee-track { display: flex; gap: 2rem; animation: scrollMarquee 35s linear infinite; }
.marquee.reverse .marquee-track { animation: scrollMarqueeReverse 30s linear infinite; }
#clients h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.marquee-item { 
    flex-shrink: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0.9; 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
}

.brands-marquee .marquee-item,
.agencies-marquee .marquee-item {
    width: 240px;
    height: 105px;
    padding: 15px 25px;
}

.marquee-item:hover { 
    opacity: 1; 
    transform: translateY(-5px); 
    background: rgba(255,255,255,0.06);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.marquee-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    transition: 0.4s;
}

.marquee-item:hover img {
    filter: brightness(1) invert(0);
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scrollMarqueeReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ===== INTRO SECTION ===== */
.intro-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
    border-bottom: 1px solid var(--glass-border);
}
.intro-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 136, 175, 0.12);
    border: 1px solid rgba(37, 136, 175, 0.35);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.intro-heading {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}
.intro-body {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}
.intro-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}
.i-stat {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.i-icon-min {
    width: 50px;
    height: 50px;
    background: rgba(37, 136, 175, 0.1);
    border: 1px solid rgba(37, 136, 175, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
}
.i-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.i-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}
.i-plus {
    color: var(--accent);
    font-size: 1.5rem;
}
.i-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}
.i-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.1);
}
@media (max-width: 600px) {
    .intro-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .i-stat {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1rem 1.2rem; /* Reduced padding */
        border-radius: 16px;
        flex-direction: row;
        justify-content: flex-start; /* Left align for cleaner list look */
        gap: 1rem;
        width: 100%;
        transition: 0.3s;
    }
    .i-stat:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: var(--accent);
        transform: translateY(-5px);
    }
    .i-num {
        font-size: 2.2rem;
    }
    .i-label {
        font-size: 0.75rem;
        text-align: left;
    }
    .i-divider { display: none; }
}

/* ===== WORK SHOWCASE SECTION ===== */
.work-section {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}
.work-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(37,136,175,0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Swapped Font Sizes for Showcase — Refined */
.work-section .pre-title {
    font-size: clamp(3.2rem, 7.5vw, 5.5rem) !important;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 0.5rem;
    color: white;
    display: block;
    text-transform: none;
}

.work-main-heading {
    font-size: 0.6rem !important;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2.5rem;
    opacity: 0.7;
}

.work-main-heading .highlight {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--accent);
}
/* Premium Tabs */
.work-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 0 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.work-tab {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.work-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37,136,175,0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 50px;
}
.work-tab:hover::before { opacity: 1; }
.work-tab:hover {
    border-color: rgba(37,136,175,0.5);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.work-tab.active {
    background: linear-gradient(135deg, var(--accent) 0%, #1a6b8a 100%);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 8px 30px rgba(37,136,175,0.45), 0 0 0 1px rgba(37,136,175,0.3);
    transform: translateY(-3px);
}
.tab-icon { font-size: 1rem; display: flex; align-items: center; }
.tab-label { font-weight: 700; letter-spacing: 0.3px; }
.tab-count {
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}
.work-tab.active .tab-count { background: rgba(255,255,255,0.3); }

/* Panels */
.work-panels { position: relative; z-index: 2; }
.work-panel { display: none; animation: fadeInPanel 0.45s cubic-bezier(0.16,1,0.3,1); }
.work-panel.active { display: block; }
@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Video Card */
.video-card {
    border-radius: 24px;
    overflow: hidden;
    background: rgba(15,23,30,0.7);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    cursor: pointer;
}
.video-card:hover {
    border-color: rgba(37,136,175,0.55);
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(37,136,175,0.2);
}

.video-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: pointer;
}


/* Thumbnail area */
.video-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a0f14;
}
.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(0.85) saturate(0.9);
}
.video-card:hover .video-thumb {
    transform: scale(1.07);
    filter: brightness(0.6) saturate(0.7);
}

/* Drive Placeholder */
.drive-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #17252d 0%, #0f171e 100%);
    color: rgba(255, 255, 255, 0.7);
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}
.drive-placeholder i {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.8;
}
.drive-placeholder span {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.4;
}


/* Overlay + play button */
.video-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(15,23,30,0.6) 100%);
    transition: background 0.4s;
}
.video-card:hover .video-thumb-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(15,23,30,0.75) 100%);
}

.play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    padding-left: 4px; /* optical centering for play icon */
    box-shadow: 0 0 0 0 rgba(37,136,175,0.5);
}
.play-btn i { pointer-events: none; }
.video-card:hover .play-btn {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.18);
    box-shadow: 0 0 0 12px rgba(37,136,175,0.2), 0 0 40px rgba(37,136,175,0.5);
}

/* Number badge */
.vid-number {
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Inline iframe (replaces thumbnail on play) */
.video-thumb-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 5;
}

/* Card footer */
.video-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 1.4rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(15,23,30,0.5);
}
.vid-cat-icon {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}
.video-card-footer span {
    flex: 1;
    font-size: 1.05rem;
    color: white;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.yt-link {
    color: rgba(255,255,255,0.35);
    font-size: 1.2rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: color 0.25s, transform 0.25s;
    line-height: 1;
}
.yt-link:hover {
    color: #ff0000;
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .video-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
    .work-main-heading { font-size: 2.8rem !important; letter-spacing: -1px; }
}
@media (max-width: 768px) {
    .work-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        margin: 1.5rem auto 2.5rem auto;
        width: 100%;
        padding: 0 1rem;
    }
    .work-tabs::-webkit-scrollbar { display: none; }
    .work-tab { 
        padding: 0.8rem 1.4rem; 
        font-size: clamp(0.8rem, 3.5vw, 1rem); 
        background: rgba(255,255,255,0.05) !important;
        border: 1px solid rgba(255,255,255,0.15) !important;
        box-shadow: none !important;
        border-radius: 50px;
        color: rgba(255,255,255,0.7);
        flex: 0 1 auto;
        text-align: center;
        white-space: nowrap;
    }
    .work-tab::before { display: none !important; }
    .work-tab.active {
        color: white !important;
        background: var(--accent) !important;
        border-color: var(--accent) !important;
        box-shadow: 0 4px 15px rgba(37,136,175,0.4) !important;
        transform: translateY(-2px) !important;
        font-weight: 700;
    }
    .tab-label { display: inline !important; }
    .tab-icon { display: none !important; }
    .video-grid { grid-template-columns: 1fr; }
    .play-btn { width: 52px; height: 52px; font-size: 1.1rem; }
}


.work-panels { position: relative; }
.work-panel {
    display: none;
    animation: fadeInPanel 0.45s ease;
}
.work-panel.active { display: block; }
@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
    margin-top: 0.5rem;
}
.video-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}
.video-card:hover {
    border-color: rgba(37, 136, 175, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.video-embed-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
}
.video-embed-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Languages Section — Premium Hero Layout */
.languages-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.lang-hero-banner {
    position: relative;
    padding: 3rem;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(37, 136, 175, 0.1) 0%, rgba(15,23,30,0.6) 100%);
    overflow: hidden;
}

.lang-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.lang-stat-group {
    flex: 1;
}

.lang-stat-group .huge-number {
    font-size: clamp(5rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 1;
    color: white; /* Fallback */
    background: linear-gradient(180deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.shimmer-text {
    background: linear-gradient(90deg, #fff 0%, var(--accent) 25%, #fff 50%, var(--accent) 75%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerStat 3s linear infinite;
}

@keyframes shimmerStat {
    to { background-position: 200% center; }
}

.stat-meta h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-meta p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.lang-artist-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.artist-reveal-img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-hero-banner:hover .artist-reveal-img {
    transform: scale(1.05) translateY(-10px);
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(40px);
    z-index: -1;
}

.lang-columns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.lang-group-card {
    padding: 2.5rem;
    border-radius: 24px;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.group-header {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.group-icon {
    width: 54px;
    height: 54px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    border: 1px solid rgba(255,255,255,0.1);
}

.group-info h3 {
    font-size: 1.4rem;
    color: #ffffff !important;
    margin-bottom: 2px;
}

.group-info p {
    color: #a0aec0 !important; /* Lighter text-muted for visibility */
    font-size: 0.95rem;
    font-weight: 600;
}

/* Mobile Optimization Sweep — Premium Responsiveness */
@media (max-width: 992px) {
    /* Languages Hero */
    .lang-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .lang-hero-banner {
        padding: 2.5rem 1.5rem;
    }
    .lang-artist-visual {
        order: -1; /* Image on top for mobile */
        margin-bottom: 0.5rem;
    }
    .artist-reveal-img {
        max-height: 280px;
    }
    .lang-stat-group .huge-number {
        font-size: clamp(4rem, 15vw, 6rem);
    }
}

@media (max-width: 768px) {
    /* Founders Section */
    .founders-interactive-grid {
        grid-template-columns: 1fr; /* Stack founders */
        gap: 1.5rem;
    }
    .founder-full-flip {
        height: 500px; /* Specific height for mobile flip */
    }
    .founder-name-main { font-size: 1.8rem; }
    .founder-front-content {
        padding: 1rem 1.5rem !important; /* Significantly reduced to push text down */
    }
    .founder-badge {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
    .founder-role-main {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    /* Languages Cards */
    .lang-columns-grid {
        grid-template-columns: 1fr;
    }
    .lang-group-card {
        padding: 1.8rem 1.2rem;
    }
    .group-header {
        gap: 1rem;
    }
    .group-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    /* Extra Small Devices */
    .section-padding { padding: 4rem 0; }
    .huge-number { font-size: 4rem !important; }
    .lang-hero-banner { padding: 2rem 1rem; }
    .lang-chip {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .work-tab { padding: 0.6rem 1rem; font-size: 0.85rem; }
    .video-card-footer span { font-size: 0.9rem; }

    /* Showcase Heading Mobile Fixes */
    /* Hero Title Mobile Polish */
    .animated-headline {
        font-size: clamp(3.2rem, 14vw, 5.5rem) !important;
        line-height: 1.1;
        letter-spacing: -1px;
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .animated-headline .highlight-premium {
        color: var(--accent) !important;
        background: none !important;
        -webkit-text-fill-color: initial !important;
        text-shadow: none !important;
    }
    .animated-headline .line {
        color: #ffffff !important;
        background: none !important;
        -webkit-text-fill-color: initial !important;
        text-shadow: none !important;
    }
    
    .work-section .pre-title {
        font-size: 2.2rem !important;
        letter-spacing: -1px;
    }
    .work-main-heading {
        font-size: 0.55rem !important;
        letter-spacing: 2px;
        margin-bottom: 1.5rem;
    }
    /* Marquee Mobile Fixes */
    .marquee-item,
    .brands-marquee .marquee-item,
    .agencies-marquee .marquee-item {
        width: 160px;
        height: 75px;
        padding: 10px;
        border-radius: 12px;
    }
    .marquee, .marquee-track { gap: 1rem; }

    /* Stacking Cards Mobile Adjustment */
    .stack-card {
        top: 80px; /* Closer to top on mobile */
        padding: 1.2rem;
    }
    .stack-card:nth-child(2) { top: 95px; }
    .stack-card:nth-child(3) { top: 110px; }
    .stack-card:nth-child(4) { top: 125px; }
    .stack-card:nth-child(5) { top: 140px; }
    
    .card-content { flex-direction: column; text-align: center; gap: 1rem; }
    .card-icon { width: 50px; height: 50px; font-size: 1.2rem; margin: 0 auto; }
    .card-text h3 { font-size: 1.2rem; }
    .card-text p { font-size: 0.9rem; }

    /* Hero Buttons Mobile */
    .hero-btn-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    /* Mobile Logo Enhancements */
    .logo img {
        min-width: 130px !important;
        height: auto !important;
        max-height: 60px !important;
    }
    .logo {
        margin-left: -1rem !important;
    }
    .hero-main-logo {
        height: 160px !important; /* Increased for impact */
        filter: none !important;
        opacity: 1 !important;
        display: block;
        margin: 0 auto;
    }

    /* Contact Section Blur Fix */
    .aurora-bg {
        filter: blur(20px) !important; /* Significant reduction in blur */
        opacity: 0.3 !important;
    }
    .contact-master-card {
        background: rgba(15, 23, 30, 0.95) !important; /* Deep solid dark for readability */
        border-color: rgba(255,255,255,0.1);
        padding: 2rem 1.2rem !important;
        backdrop-filter: blur(10px);
    }

    /* WhatsApp Mobile Fix */
    .whatsapp-card {
        background: rgba(37, 211, 102, 0.1) !important;
        border-color: rgba(37, 211, 102, 0.3) !important;
    }
    .whatsapp-icon {
        color: #25D366 !important;
        background: rgba(37, 211, 102, 0.1) !important;
    }
    .whatsapp-nums {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .whatsapp-nums p {
        font-size: 1.05rem !important;
        color: #fff;
        margin: 0;
    }

    /* Compact WhatsApp Buttons on Mobile */
    .direct-connect-btn {
        flex-direction: column !important;
        width: 100%;
    }
    .direct-connect-btn .glow-button {
        width: 100%;
        justify-content: center;
        font-size: 0.82rem !important;
        padding: 0.72rem 1rem !important;
        text-align: center;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        text-shadow: none !important;
    }
    .direct-connect-btn .glow-button::before {
        display: none !important;
    }
} /* Closing the mobile media query */

/* Standardized Section Headings - Balanced & Professional */
h2, .work-main-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem) !important;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    h2, .work-main-heading {
        font-size: 1.6rem !important;
    }
}

/* Attractive WhatsApp Buttons */
.direct-connect-btn {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1.6rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}
.whatsapp-btn i {
    font-size: 1.2rem;
}
.whatsapp-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

@media (max-width: 768px) {
    .direct-connect-btn {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.8rem;
    }
    .whatsapp-btn {
        width: auto;
        justify-content: center;
        padding: 0.75rem 1.6rem;
        font-size: 0.95rem;
        background: linear-gradient(135deg, #25D366 0%, #1ea952 100%) !important;
        letter-spacing: 0.5px;
        text-shadow: 0 1px 3px rgba(0,0,0,0.3);
        box-shadow: none !important; /* Removed lighting effect */
    }
}
