/* CSS Variables & tokens */
:root {
    --bg-color: #050505;
    --card-bg: #0f0f0f;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;

    --accent-blue: #0066FF;
    --accent-gradient: linear-gradient(90deg, #0066FF 0%, #00CCFF 100%);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --easing-smooth: cubic-bezier(0.25, 1, 0.5, 1);
    --easing-out: cubic-bezier(0.215, 0.61, 0.355, 1);

    --spacing-container: 6vw;
    --spacing-section: 120px;
    --border-light: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

h1,
h2,
h3 {
    font-family: var(--font-body);
    /* Default to clean sans, override for specific aesthetic */
    font-weight: 500;
}

.italic-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    color: #ffff00;
    /* Yellow color for Playfair Display Italic */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.no-scroll {
    overflow: hidden;
}

/* WHY US SECTION */
.why-us-section {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.stat-box:hover {
    transform: scale(1.05);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stat-number {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-body);
    line-height: 1;
}

.stat-label {
    color: #ffff00;
    font-size: 1.4rem;
    font-style: italic;
    font-family: var(--font-heading);
    font-weight: 400;
}

/* Responsive Grid for Stats */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 500px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Grain Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* Utility Containers */
.container {
    padding: 0 var(--spacing-container);
    max-width: 1440px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2.5rem;
    background: var(--accent-gradient);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

.btn-primary .arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.w-full {
    width: 100%;
    justify-content: center;
}

/* NAV SECTION */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.3rem 0;
    /* Reduced further */
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.8), transparent 90%);
    backdrop-filter: blur(5px);
    /* Increased blur */
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo-img {
    height: 120px;
    /* Large logo */
    width: auto;
    display: block;
}

.footer-logo {
    height: 150px;
    /* Larger in footer */
    margin-bottom: 1rem;
}

/* Desktop Nav */
.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    /* Hidden on desktop */
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.menu-line {
    width: 30px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease;
}

.menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5.5px, 5.5px);
}

.menu-btn.active .menu-line:nth-child(2) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 180px;
    /* More space below navbar */
    overflow: hidden;
    max-width: 100vw;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, rgba(5, 5, 5, 0) 70%);
    z-index: 0;
    /* Changed from -1 to allow content above */
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    /* Ensure hero content is above glow */
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 6rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Creators Carousel */
.creators-section {
    margin-top: 5rem;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.creators-custom-title {
    font-size: 2.5rem;
    /* Slightly smaller for balance */
    margin-bottom: 2rem;
    line-height: 1.2;
}

.creators-carousel {
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.creators-track {
    display: flex;
    align-items: center;
    gap: 8rem;
    width: max-content;
    animation: slideCarousel 25s linear infinite;
}

@keyframes slideCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.creators-carousel:hover .creators-track {
    animation-play-state: paused;
}

.creator-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    opacity: 0.6;
    transform: scale(0.9);
    transition: all 0.4s ease-in-out;
    text-decoration: none;
    /* Remove link underline */
}

.creator-item:hover {
    opacity: 1;
    transform: scale(1.2);
}

.creator-item:hover .creator-photo {
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.6), 0 0 60px rgba(0, 204, 255, 0.3);
}

.creator-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a8cff, #00ccff);
    border: 3px solid #00ccff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.creator-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.creator-item:hover .creator-photo {
    width: 170px;
    height: 170px;
}

.creator-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.creator-item:hover .creator-name {
    font-size: 1.1rem;
}

.creator-subs {
    font-size: 0.75rem;
    color: #FFD700;
    font-weight: 500;
    transition: all 0.3s ease;
}

.creators-more {
    font-size: 1.5rem;
    color: #fff;
    font-style: italic;
    margin-top: 1rem;
    /* Reduced from 2rem */
}

/* SECTIONS */
/* SECTIONS */
section {
    padding: 80px 0;
    /* Reduced from var(--spacing-section) */
    scroll-margin-top: 100px;
    /* Fix for fixed navbar overlap */
}

.services-section {
    padding-top: 2rem;
    /* Reduced from 3rem */
    padding-bottom: 2rem;
    /* Reduced gap before Why Us */
}

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-desc {
    max-width: 500px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* SERVICES */
/* SERVICES */
.services-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    flex: 0 1 450px;
    /* Centered width */
    max-width: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .card-image {
    transform: scale(1.05);
}

.card-placeholder {
    width: 100%;
    height: 100%;
}

.gradient-1 {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.gradient-2 {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* TEAM */
.team-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.team-section .section-header {
    margin-bottom: 0;
    flex: 1;
    text-align: left;
}

.team-section .section-title {
    font-size: 4.5rem;
    /* Larger text */
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .team-section .container {
        flex-direction: column;
        text-align: center;
    }

    .team-section .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .team-section .section-title {
        font-size: 2.5rem;
    }
}

.team-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-light);
    width: 400px;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

/* Founder Section Layout */
.founder-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

/* Mobile Reordering: Header -> Image -> Text */
@media (max-width: 900px) {
    .founder-left {
        display: contents;
        /* Allows children to be part of the main grid/flex flow */
    }

    .founder-left .section-header {
        order: 1;
        text-align: center;
        margin-bottom: 2rem;
        width: 100%;
    }

    .team-grid {
        order: 2;
        margin-bottom: 2rem;
    }

    .founder-bio {
        order: 3;
        text-align: center;
    }
}

@media (min-width: 900px) {
    .founder-content-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 Column Layout */
        gap: 4rem;
        align-items: center;
    }

    .founder-left {
        text-align: left;
    }
}

/* Blue Blurred Tints on Team Card */
.team-card::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: var(--accent-blue);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.team-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: var(--accent-blue);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.team-image {
    width: 100%;
    aspect-ratio: 1;
    /* Square */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #1a1a1a;
    position: relative;
    /* Context for overlay */
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .founder-img {
    transform: scale(1.05);
    /* Gentle zoom on hover */
}

/* Team Hover Effect */
.team-social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Dark overlay */
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.team-card:hover .team-social-overlay,
.team-card.active .team-social-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* SERVICE OVERLAYS */
.service-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #050505;
    z-index: 2000;
    display: flex;
    /* Hidden by default via visibility/opacity usually, but we'll specific control display/opacity */
    flex-direction: column;
    overflow-y: auto;
    padding: 4rem 0;

    /* Animation Initial State */
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    /* Start from nothing/origin */
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    pointer-events: none;
}

.service-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}

.close-overlay {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.close-overlay:hover {
    background: var(--accent-blue);
}

.overlay-content {
    margin-top: 4rem;
}

.overlay-title {
    font-size: 3.5rem;
    /* Increased size */
    margin-bottom: 0.5rem;
    text-align: center;
}

.overlay-desc {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* Work Carousel (Replaces overlay-grid) */
.work-carousel {
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.work-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: max-content;
    animation: slideWork 20s linear infinite;
}

@keyframes slideWork {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.work-carousel:hover .work-track {
    animation-play-state: paused;
}

.work-item {
    width: 320px;
    height: 180px;
    /* 16:9 Aspect Ratio */
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    opacity: 0.5;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.work-thumb,
.work-video {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111, #222);
    /* Placeholder gradient */
}

/* Hover / Active effect */
.work-item:hover {
    opacity: 1;
    transform: scale(1.15);
    z-index: 10;
    border-color: var(--accent-blue);
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.2);
}

.placeholder-thumb,
.placeholder-video {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    transition: transform 0.3s;
}

.placeholder-thumb:hover,
.placeholder-video:hover {
    transform: scale(1.05);
}

/* Icons Animation */
.team-social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-card:hover .team-social-icon,
.team-card.active .team-social-icon {
    transform: translateY(0);
    opacity: 1;
}

.team-card:hover .team-social-icon:nth-child(2),
.team-card.active .team-social-icon:nth-child(2) {
    transition-delay: 0.1s;
}

.team-social-icon:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: scale(1.1) translateY(0);
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-info .role {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* FAQ */
.faq-section {
    padding-bottom: 40px;
    position: relative;
    z-index: 2;
    /* Ensure above contact glow */
}

.faq-list {
    border-top: 1px solid var(--border-light);
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 2rem 0;
    text-align: left;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Approximate max height */
}

/* CONTACT */
.contact-section {
    padding-top: 40px;
    position: relative;
    z-index: 1;
}

/* Blue Tint on Contact Section */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: var(--accent-blue);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    z-index: -1;
    pointer-events: none;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    position: relative;
    overflow: hidden;
    padding: 10px;
    border-radius: 20px;
}

.contact-form {
    width: 100%;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form .form-group {
    width: 100%;
}

.contact-form .btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
textarea {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    background: linear-gradient(to top, rgba(0, 102, 255, 0.05), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
    margin-bottom: 2rem;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    text-decoration: none;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: #fff;
    color: #000;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.2s;
}

.link-group a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    color: #444;
    font-size: 0.9rem;
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--easing-out), transform 1s var(--easing-out);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--easing-out), transform 0.8s var(--easing-out);
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}


/* INLINE THANK YOU STYLES */
.thank-you-container {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;

    /* Removed card styling for seamless blend */
    background: transparent;

    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.thank-you-container.visible {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.form-hidden {
    display: none !important;
}

.thank-you-container.visible .thank-you-title {
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.thank-you-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.thank-you-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.thank-you-container.visible .thank-you-desc {
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    animation-delay: 0.1s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Tick Animation */
.tick-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(-30px);
    /* Start from top */
}

.thank-you-container.visible .tick-icon {
    animation: dropInTick 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes dropInTick {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.5);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.check-svg {
    width: 100%;
    height: 100%;
}

.check-svg circle {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawCircle 1s ease forwards;
    animation-delay: 0.5s;
}

.check-svg path {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawCheck 0.5s ease forwards;
    animation-delay: 1s;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* Responsive */
/* Service Overlay Groups & Grid */
.overlay-grid-container {
    margin-top: 7rem;
    /* INCREASED: Gap from main title */
}

.work-group {
    margin-bottom: 5rem;
    /* INCREASED: Gap between groups */
    width: 100%;
}

.group-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    border: none;
    padding: 0;
    text-align: center;
    /* Animation Init */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Triggered by JS Scroll Observer */
.group-title.in-view {
    opacity: 1;
    transform: translateY(0);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2x2 Grid */
    gap: 1.5rem;
    width: 100%;
}

.work-grid-item {
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

    /* Pop Up Animation Initial State */
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Triggered by JS Scroll Observer */
.work-grid-item.in-view {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation */
.work-grid-item:nth-child(1) {
    transition-delay: 0s;
}

.work-grid-item:nth-child(2) {
    transition-delay: 0.1s;
}

.work-grid-item:nth-child(3) {
    transition-delay: 0.2s;
}

.work-grid-item:nth-child(4) {
    transition-delay: 0.3s;
}


.work-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-grid-item:hover img {
    transform: scale(1.05);
}

/* Video Item Specifics */
.video-item::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    border: 2px solid #fff;
    transition: background 0.3s ease, transform 0.3s ease;
}

.video-item:hover::before {
    background: var(--accent-blue);
    transform: translate(-50%, -50%) scale(1.1);
    border-color: var(--accent-blue);
}

.video-item.video-playing::before {
    display: none;
}

.video-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes popUpFade {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .team-section .container {
        flex-direction: column;
        text-align: center;
    }

    .team-section .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .team-section .section-title {
        font-size: 3.5rem;
    }

    .founder-content-wrapper {
        gap: 3rem;
    }

    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {

    /* Prevent horizontal overflow */
    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .hero-section {
        padding-top: 120px;
        overflow: hidden;
    }

    .hero-container {
        max-width: 100%;
        overflow: hidden;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.15;
        padding: 0 1rem;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-title .italic-text {
        font-size: 0.9em;
        display: block;
        white-space: normal;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1.5rem;
        /* Increased padding */
        text-align: center;
        max-width: 100%;
    }

    .clients-list {
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* Mobile Nav */
    .menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        /* Less transparent */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        /* Below toggle button */
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 2rem;
        color: #fff;
    }

    /* Layout Optimizations */
    :root {
        --spacing-section: 60px;
        /* Further reduced */
    }

    .creators-track {
        gap: 3rem;
    }

    .creators-custom-title {
        font-size: 1.8rem;
    }

    section {
        padding: 50px 0;
    }

    .container {
        padding: 0 1rem;
        /* Reduced padding to shift elements closer to edges */
        /* Consistent padding */
    }

    .navbar-container {
        padding-right: 0.5rem;
        /* Slight shift for hamburger */
    }

    .section-title {
        font-size: 2.2rem;
    }

    .team-section .section-title {
        font-size: 2.5rem;
    }

    .service-card {
        flex: 0 1 100%;
        margin-bottom: 2rem;
    }

    .card-content h3 {
        font-size: 1.35rem;
    }

    .founder-bio {
        text-align: center;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.15;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 0.5rem;
    }

    .hero-title .italic-text {
        font-size: 0.85em;
        display: block;
        white-space: normal;
        word-wrap: break-word;
    }

    /* Hero description - prevent text from being cut off */
    .hero-description {
        padding: 0 1rem;
        font-size: 0.95rem;
        max-width: 100%;
        text-align: center;
    }

    /* Ensure Logo is tight to left */
    .navbar .logo {
        margin-left: -0.5rem;
    }

    .team-section .section-title {
        font-size: 2rem;
    }

    .team-card {
        width: 100%;
        padding: 1.25rem;
    }

    .creators-track {
        gap: 2rem;
        /* Tighter gap for mobile */
    }

    /* Creator Active Animation for JS */
    .creator-item.active-tap {
        transform: scale(1.1);
        opacity: 1;
        z-index: 10;
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .creator-item.active-tap .creator-photo {
        box-shadow: 0 0 20px var(--accent-blue);
        border-color: #fff;
    }

    .creator-item {
        transform: scale(0.8);
    }

    .case-studies-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 90%;
        max-width: 300px;
        margin: 0 auto;
        justify-content: center;
    }

    .founder-img {
        height: auto;
    }

    /* Service Overlays - Mobile Optimization */
    .service-overlay {
        padding: 2rem 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .overlay-content {
        padding: 0 1rem;
        margin-top: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .overlay-title {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
        text-align: center;
        padding: 0 0.5rem;
    }

    .overlay-desc {
        font-size: 0.9rem;
        padding: 0 1rem;
        text-align: center;
    }

    .overlay-grid-container {
        margin-top: 3rem;
    }

    .work-group {
        margin-bottom: 2.5rem;
    }

    /* Fix Overlay Grid for Mobile */
    .work-grid {
        grid-template-columns: 1fr 1fr;
        /* 2x2 on mobile */
        gap: 0.6rem;
        padding: 0 0.25rem;
    }

    .work-grid-item {
        width: 100%;
        max-width: none;
        aspect-ratio: 16/9;
    }

    .group-title {
        font-size: 1.2rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        text-align: center;
    }

    .close-overlay {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 2.8rem;
        /* Fixed min size */
    }

    h2.section-title {
        font-size: 1.7rem;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
    }
}