
@import url('https://fonts.cdnfonts.com/css/lemonmilk');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* General Styles */

        :root {
            --primary-rgb: 255, 107, 53;
            --primary: rgb(var(--primary-rgb));
            --primary-dark: #e85a24;
            --secondary: #1a1a1a;
            --text-main: #1a1a1a;
            --text-muted: #4a4a4a;
            --bg-light: #ffffff;
            --bg-subtle: #fafafa;
            --glass-bg: rgba(255, 255, 255, 0.8);
            --glass-border: rgba(255, 255, 255, 0.2);
            --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
            --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html, body {
            font-family: 'Outfit', sans-serif;
            background: var(--bg-light);
            color: var(--text-main);
            overflow-x: hidden;
            width: 100%;
            position: relative;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            cursor: none; /* Hide default cursor globally */
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'LEMON MILK', sans-serif;
        }

        /* Custom Cursor */
        .custom-cursor {
            width: 25px;
            height: 25px;
            background: #ffffff;
            border-radius: 50%;
            position: fixed;
            pointer-events: none;
            z-index: 10000;
            transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, border-color 0.3s ease;
            transform: translate3d(-50%, -50%, 0);
            mix-blend-mode: difference;
            will-change: transform, width, height;
        }

        .cursor-dot {
            width: 6px;
            height: 6px;
            background: var(--primary);
            border-radius: 50%;
            position: fixed;
            pointer-events: none;
            z-index: 10001;
            transition: transform 0.15s ease;
            transform: translate3d(-50%, -50%, 0);
            will-change: transform;
        }

        @media (max-width: 1024px) {
            .custom-cursor, .cursor-dot {
                display: none !important;
            }
        }

        .custom-cursor.hover {
            width: 80px;
            height: 80px;
            background: #ffffff;
        }

        .custom-cursor.moving {
            width: 200px;
            height: 200px;
        }

        .cursor-dot.hover {
            transform: translate(-50%, -50%) scale(1.5);
        }

        .custom-cursor.click {
            transform: translate(-50%, -50%) scale(0.8);
            background: #ffffff;
        }

        body.dark-mode {
            --bg-light: #0a0a0a;
            --bg-subtle: #121212;
            --text-main: #ffffff;
            --text-muted: #a0a0a0;
            --glass-bg: rgba(10, 10, 10, 0.8);
            --glass-border: rgba(255, 255, 255, 0.1);
            --shadow-md: 0 10px 40px rgba(0,0,0,0.4);
        }

        body.dark-mode .nav-menu {
            background: rgba(10, 10, 10, 0.95);
        }

        body.dark-mode .mobile-toggle span {
            background: #ffffff;
        }

        body.dark-mode .hero-left h1 span {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Search Bar & Modal Styles */
        .hero-search-container {
            margin: 2rem 0;
            max-width: 500px;
            position: relative;
            z-index: 2;
        }

        .hero-search-bar {
            display: flex;
            align-items: center;
            background: var(--bg-light);
            padding: 1rem 1.5rem;
            border-radius: 50px;
            border: 1px solid var(--glass-border);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            cursor: pointer;
            transition: all 0.3s ease;
            gap: 1rem;
        }

        .hero-search-bar:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.15);
            border-color: var(--primary);
        }

        .search-icon {
            font-size: 1.2rem;
        }

        .search-placeholder {
            color: var(--text-muted);
            font-size: 0.95rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background: var(--bg-light);
            width: 90%;
            max-width: 500px;
            padding: 2.5rem;
            border-radius: 24px;
            position: relative;
            transform: translateY(20px);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }

        .modal-overlay.active .modal-content {
            transform: translateY(0);
        }

        .modal-close {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: color 0.3s;
        }

        .modal-close:hover {
            color: var(--primary);
        }

        .modal-content h2 {
            margin-bottom: 0.5rem;
            color: var(--text-main);
        }

        .modal-content p {
            color: var(--text-muted);
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            font-size: 0.9rem;
            color: var(--text-main);
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem 1rem;
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            background: var(--bg-subtle);
            color: var(--text-main);
            font-family: inherit;
            transition: border-color 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
        }

        .form-group textarea {
            height: 100px;
            resize: vertical;
        }

        .submit-btn {
            width: 100%;
            padding: 1rem;
            background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 100%);
            border: none;
            border-radius: 12px;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
        }
        
        body.dark-mode .hero-search-bar {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.1);
        }
        
        body.dark-mode .modal-content {
            background: #1a1a1a;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        body.dark-mode .form-group input,
        body.dark-mode .form-group textarea {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.1);
        }

        /* About Page Redesign */
.about-hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.2rem;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
}

.badge-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.about-hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 900;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Story Section */
.about-story {
    padding: 100px 0;
    position: relative;
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.story-text h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.story-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.story-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.story-stat-card {
    background: var(--bg-subtle);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.story-stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    font-family: 'LEMON MILK', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Team Section */
.team-leadership {
    padding: 100px 0;
    background: var(--bg-subtle);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'LEMON MILK', sans-serif;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-tag:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4);
    transform: translateY(-2px);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.member-image-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    font-family: 'LEMON MILK', sans-serif;
}

.member-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.member-role {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-info p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Goal Section */
.about-goal {
    padding: 100px 0 150px;
}

.goal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.goal-card {
    background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 100%);
    padding: 6rem 4rem;
    border-radius: 48px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.goal-card .section-title {
    color: white;
    margin-bottom: 2rem;
}

.goal-card p {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.5;
    opacity: 0.9;
}

.goal-cta .modern-btn {
    background: white;
    color: var(--primary);
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: var(--transition);
}

.goal-cta .modern-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Navigation */
/* Navigation */
nav, .navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .about-hero {
        padding: 140px 0 60px;
    }
    
    .goal-card {
        padding: 4rem 2rem;
    }
    .nav-brand .logo {
            height: 60px !important;
            display: flex;
            align-items: center;
        }
}

        .nav-brand .logo {
            height: 90px;
            display: flex;
            align-items: center;
        }

        .nav-brand .logo img {
            height: 100%;
            width: auto;
            object-fit: contain;
        }

        .nav-menu {
            display: flex;
            align-items: center;
            background-color: transparent !important;
        }

        .nav-links {
            display: flex;
            gap: 1rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--text-main);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            padding: 0.6rem 1.2rem;
            border-radius: 100px;
            transition: var(--transition);
        }

        .nav-links a:hover {
            background: rgba(var(--primary-rgb), 0.08);
            color: var(--primary);
        }

        /* Partnership Button Styles */
        .partnership-btn {
            background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            border: 1px solid var(--primary);
            border-radius: 50px;
            padding: 0.5rem 1.2rem !important;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-weight: 600 !important;
        }

        .partnership-btn:hover {
            background: var(--primary) !important;
            -webkit-background-clip: unset !important;
            -webkit-text-fill-color: white !important;
            color: white !important;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
        }

        .mobile-only-link {
             display: none !important;
         }

         /* Dropdown Menu Styles */
         .dropdown {
             position: relative;
         }

         @media (max-width: 768px) {
            .mobile-only-link {
                display: flex !important;
            }

            .nav-arrow {
                display: none;
            }
        }

        .dropdown-content {
            display: none;
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            min-width: 280px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 0 1px rgba(255, 255, 255, 0.5);
            border-radius: 20px;
            padding: 0.8rem;
            z-index: 1001;
            margin-top: 1rem;
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            visibility: hidden;
        }

        /* Bridge to prevent closing when moving cursor */
        .dropdown-content::before {
            content: '';
            position: absolute;
            top: -20px;
            left: 0;
            width: 100%;
            height: 20px;
            background: transparent;
        }

        .dropdown:hover .dropdown-content {
            display: block;
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .dropdown-content a {
            color: var(--text-main);
            padding: 1rem;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 1rem;
            border-radius: 12px;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            font-weight: 500;
        }

        .dropdown-content a:hover {
            background: rgba(var(--primary-rgb), 0.05);
            transform: translateX(5px);
        }

        .mobile-menu-footer {
            display: none;
        }
        
        .dropdown-content a svg {
            width: 20px;
            height: 20px;
            stroke: var(--text-muted);
            transition: stroke 0.3s ease;
        }

        .dropdown-content a:hover svg {
            stroke: var(--primary);
        }

        .dropdown-content a:hover {
            color: var(--primary);
        }

        body.dark-mode .dropdown-content {
            background: rgba(20, 20, 20, 0.9);
            box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
        }

        body.dark-mode .dropdown-content a:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .theme-toggle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: none;
            background: rgba(var(--primary-rgb), 0.08);
            color: var(--primary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            padding: 0;
            line-height: 1;
        }

        #themeIcon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
        }

        .theme-toggle:hover {
            background: rgba(var(--primary-rgb), 0.15);
            transform: scale(1.05);
        }

        .cta-btn {
            padding: 0.75rem 1.5rem;
            background: var(--primary);
            color: white;
            text-decoration: none;
            border-radius: 100px;
            font-weight: 600;
            font-size: 0.95rem;
            transition: var(--transition);
            box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
        }

        .cta-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.3);
        }

        /* Scroll Progress Bar */
        .scroll-progress-container {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: rgba(var(--primary-rgb), 0.1);
            border-radius: 2px;
        }

        .scroll-progress-bar {
            height: 100%;
            background: var(--primary);
            width: 0%;
            transition: width 0.1s linear;
            border-radius: 2px;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 11rem 5% 5rem; /* Reduced bottom padding */
            position: relative;
            overflow: hidden;
            background: var(--bg-light);
            transition: background 0.3s ease;
            z-index: 10; /* Ensure hero is above standard background layers */
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at 50% 50%, 
                rgba(var(--primary-rgb), 0.05) 0%, 
                rgba(77, 171, 247, 0.05) 25%, 
                rgba(218, 119, 242, 0.05) 50%, 
                transparent 70%);
            z-index: -1;
            animation: hero-ambient-move 20s linear infinite;
            opacity: 0.8;
            pointer-events: none;
        }

        @media (max-width: 768px) {
            .hero {
                padding: 9rem 5% 4rem;
                min-height: auto;
            }
        }

        @keyframes hero-ambient-move {
            0% { transform: rotate(0deg) translate(0, 0); }
            33% { transform: rotate(120deg) translate(50px, 50px); }
            66% { transform: rotate(240deg) translate(-50px, 20px); }
            100% { transform: rotate(360deg) translate(0, 0); }
        }

        

        .hero-grid-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            /* Default display is handled by JS but fallback/initial is good */
            pointer-events: none;
            -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
            mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
            /* Ensure it doesn't extend beyond hero */
            max-height: 100vh;
        }

        .grid-cell {
            width: 100%;
            height: 100%;
            border-right: 1px solid rgba(0, 0, 0, 0.03);
            border-bottom: 1px solid rgba(0, 0, 0, 0.03);
            transition: background 1.5s ease, box-shadow 1.5s ease;
        }

        .grid-cell.active {
            background: rgba(var(--primary-rgb), 0.1);
            box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.15);
            transition: background 0.2s ease, box-shadow 0.2s ease;
        }

        body.dark-mode .grid-cell {
            border-right: 1px solid rgba(255, 255, 255, 0.03);
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        }

        body.dark-mode .grid-cell.active {
            background: rgba(var(--primary-rgb), 0.15);
            box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.25);
        }

        .hero-content {
            max-width: 1400px;
            width: 100%;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            position: relative;
            z-index: 20; /* Increased to ensure it's above the grid */
            gap: 4rem;
        }

        .hero-text-side {
            flex: 1.2;
            text-align: left;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .hero-text-wrapper {
            max-width: 700px;
            margin-bottom: 3rem;
        }

        .hero-text-wrapper h1 {
            font-size: 4.8rem;
            line-height: 1.1;
            margin-bottom: 2rem;
            font-weight: 800;
            text-align: left;
            color: var(--text-main);
        }

        .hero-text-wrapper p {
            font-size: 1.3rem;
            color: var(--text-muted);
            margin-bottom: 3rem;
            line-height: 1.6;
            text-align: left;
        }

        .hero-buttons {
            display: flex;
            gap: 1.5rem;
            justify-content: flex-start;
        }

        .green-btn {
            background: var(--primary) !important;
            color: #fff !important;
            border: none !important;
            padding: 1.2rem 2.5rem !important;
            font-weight: 700 !important;
            border-radius: 50px !important;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            transition: all 0.3s ease;
        }

        .green-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.3);
        }



        /* Industry Showcase Container */
        .hero-visual-side {
            flex: 1;
            height: 680px;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            perspective: 2000px;
        }

        .hero-visual-container {
            position: relative;
            width: 100%;
            height: 580px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 5;
            transform-style: preserve-3d;
        }

        .industries-showcase {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            perspective: 2000px;
            top: 0 !important;
            transform-style: preserve-3d;
        }

        .industry-card {
            position: absolute;
            width: 420px;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(0, 0, 0, 0.05);
            border-top: 1px solid rgba(255, 255, 255, 0.5);
            border-left: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 40px;
            padding: 3.5rem;
            text-align: left;
            opacity: 0;
            visibility: hidden;
            transform: scale(0.8) translateZ(-100px);
            transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 
                0 20px 40px -10px rgba(0,0,0,0.05),
                0 0 0 1px rgba(0,0,0,0.02) inset;
            will-change: transform, opacity;
            overflow: hidden;
        }

        body.dark-mode .industry-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            border-left: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 
                0 20px 40px -10px rgba(0,0,0,0.1),
                0 0 0 1px rgba(255,255,255,0.05) inset;
        }

        .industry-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                135deg,
                rgba(255,255,255,0.1) 0%,
                rgba(255,255,255,0) 40%,
                rgba(255,255,255,0) 60%,
                rgba(255,255,255,0.05) 100%
            );
            pointer-events: none;
            z-index: 1;
        }

        /* Unique gradients for each card using :nth-child would be ideal, 
   but since they rotate, we use a dynamic background or data attribute approach if possible.
   For now, we add a subtle colored glow based on active state.
*/

.industry-card.pos-3::after,
.industry-card.active::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(var(--primary-rgb), 0.15),
        transparent 60%
    );
    z-index: -1;
    animation: pulse-card-glow 4s ease-in-out infinite;
}

        @keyframes pulse-card-glow {
            0%, 100% { opacity: 0.5; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.1); }
        }

        .industry-features {
            list-style: none;
            padding: 0;
            margin: 2.5rem 0 0;
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
            opacity: 0;
            transform: translate3d(0, 20px, 0);
            transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
        }

        .industry-card.pos-3 .industry-features {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }

        .industry-features li {
            display: flex;
            align-items: center;
            gap: 1rem;
            color: var(--text-muted);
            font-size: 1rem;
            font-weight: 500;
        }

        .industry-features li svg {
            color: var(--primary);
            flex-shrink: 0;
            filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.4));
        }

        /* Stacked Card Effect on Right Side */
        .industry-card.pos-1 {
            opacity: 0.3;
            visibility: visible;
            transform: translate3d(140px, -100px, -150px) scale(0.8) rotate(12deg);
            z-index: 1;
            filter: blur(2px);
            background: rgba(255, 255, 255, 0.4);
            border-color: rgba(0,0,0,0.05);
        }

        body.dark-mode .industry-card.pos-1 {
            background: rgba(255, 255, 255, 0.02);
            border-color: rgba(255,255,255,0.1);
        }

        .industry-card.pos-2 {
            opacity: 0.6;
            visibility: visible;
            transform: translate3d(80px, -50px, -50px) scale(0.9) rotate(6deg);
            z-index: 2;
            filter: blur(0.5px);
            background: rgba(255, 255, 255, 0.6);
            border-color: rgba(0,0,0,0.08);
        }

        body.dark-mode .industry-card.pos-2 {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(255,255,255,0.1);
        }

        .industry-card.pos-3 {
            opacity: 1;
            visibility: visible;
            transform: translate3d(0, 0, 0) scale(1) rotate(0);
            z-index: 10;
            background: rgba(255, 255, 255, 0.95);
            border-color: rgba(var(--primary-rgb), 0.3);
            box-shadow: 
                0 30px 60px -15px rgba(0,0,0,0.1),
                0 0 0 1px rgba(var(--primary-rgb), 0.2),
                0 0 30px rgba(var(--primary-rgb), 0.1);
            filter: blur(0);
        }

        body.dark-mode .industry-card.pos-3 {
             background: rgba(30, 30, 30, 0.6);
             box-shadow: 
                0 30px 60px -15px rgba(0,0,0,0.3),
                0 0 0 1px rgba(var(--primary-rgb), 0.2),
                0 0 30px rgba(var(--primary-rgb), 0.1);
        }

        .industry-card.pos-4 {
            opacity: 0.6;
            visibility: visible;
            transform: translate3d(-80px, 60px, -50px) scale(0.9) rotate(-6deg);
            z-index: 2;
            filter: blur(0.5px);
            background: rgba(255, 255, 255, 0.6);
            border-color: rgba(0,0,0,0.08);
        }

        body.dark-mode .industry-card.pos-4 {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(255,255,255,0.1);
        }

        .industry-card.active {
            opacity: 1;
            visibility: visible;
            z-index: 10;
        }

        .industry-icon {
            width: 90px;
            height: 90px;
            background: rgba(var(--primary-rgb), 0.1);
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 2rem;
            color: var(--primary);
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 
                0 10px 20px rgba(0,0,0,0.1),
                inset 0 0 0 1px rgba(var(--primary-rgb), 0.2);
            position: relative;
            overflow: hidden;
        }

        .industry-icon::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.2), transparent 70%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .industry-card:hover .industry-icon {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 
                0 15px 30px rgba(var(--primary-rgb), 0.2),
                inset 0 0 0 1px rgba(var(--primary-rgb), 0.4);
        }

        .industry-card:hover .industry-icon::after {
            opacity: 1;
        }

        .industry-card h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            color: var(--text-main);
            font-weight: 800;
            letter-spacing: -0.02em;
        }

        .industry-card p {
            color: var(--text-muted);
            margin-bottom: 0;
            line-height: 1.7;
            font-size: 1.05rem;
        }

        /* Show stats only for the active/prominent card */
        .industry-stats {
            display: none;
            opacity: 0;
            transition: all 0.5s ease 0.3s;
        }

        .industry-card.pos-3 .industry-stats,
        .industry-card.active .industry-stats {
            display: flex;
            opacity: 1;
        }

        .industry-indicators {
            display: flex;
            gap: 1.5rem;
            margin-top: 0px !important; /* Reduced from 2rem */
            justify-content: center;
            z-index: 20;
            pointer-events: all;
            padding: 0.8rem 1.2rem; /* Slightly tighter padding */
            background: rgba(var(--primary-rgb), 0.05);
            backdrop-filter: blur(10px);
            border-radius: 100px;
            border: 1px solid rgba(var(--primary-rgb), 0.1);
        }

        body.dark-mode .industry-indicators {
            background: var(--glass-bg);
            border-color: var(--glass-border);
        }

        .indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(var(--primary-rgb), 0.2);
            cursor: pointer;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid transparent;
            position: relative;
            padding: 0;
            margin: 0;
            appearance: none;
            -webkit-appearance: none;
        }

        body.dark-mode .indicator {
            background: var(--glass-border);
        }

        .indicator::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 1px solid rgba(var(--primary-rgb), 0);
            transition: all 0.3s ease;
        }

        .indicator:hover {
            background: rgba(var(--primary-rgb), 0.4);
            transform: scale(1.2);
        }

        .indicator.active {
            background: var(--primary);
            width: 35px;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
        }

        .indicator.active::after {
            border-color: rgba(var(--primary-rgb), 0.3);
            width: 45px;
            height: 18px;
            border-radius: 20px;
        }

        @media (max-width: 992px) {
            .hero-content {
                flex-direction: column;
                text-align: center;
                gap: 1.5rem; /* Reduced from 3rem */
                padding-top: 160px; /* Increased from 120px */
            }

            .hero-text-side {
                align-items: center;
                text-align: center;
            }

            .hero-text-wrapper {
                margin-bottom: 0.5rem; /* Reduced from 2rem */
                text-align: center;
            }

            .hero-text-wrapper h1 {
                font-size: 3.5rem;
                text-align: center;
            }

            .hero-text-wrapper p {
                text-align: center;
                margin-left: auto;
                margin-right: auto;
            }

            .hero-buttons {
                justify-content: center;
            }

            .hero-visual-side {
                width: 100%;
                height: 600px; /* Reduced for tighter layout */
                justify-content: center;
            }

            .hero-visual-container {
                height: 520px;
            }

            .industry-card {
                width: 320px;
                padding: 2rem;
            }

            .industry-features {
                margin-top: 1.5rem;
                gap: 0.8rem;
            }

            .industry-features li {
                font-size: 0.85rem;
            }

            .industry-card.pos-1 { 
                transform: translateX(50px) translateY(-40px) scale(0.6) rotate(10deg); 
            }
            .industry-card.pos-2 { 
                transform: translateX(30px) translateY(-20px) scale(0.75) rotate(5deg); 
            }
            .industry-card.pos-3 { 
                transform: translateX(0) translateY(0) scale(0.9) rotate(0); 
            }
            .industry-card.pos-4 { 
                transform: translateX(-20px) translateY(30px) scale(0.75) rotate(-5deg); 
            }
        }

        @media (max-width: 768px) {
            .hero-text-wrapper h1 { font-size: 2.5rem; letter-spacing: 0.2rem; }
            
            /* Reset heights to auto to prevent overlapping/cutoff */
            .hero-visual-side { height: auto; min-height: auto; margin-top: 2rem; padding-bottom: 2rem; position: relative; z-index: 5; }
            .hero-visual-container { height: auto; display: block; position: relative; z-index: 5; } 
            .industries-showcase { height: auto; display: block; top: auto !important; position: relative; z-index: 5; }
            
            .industry-card { 
                width: 100%; 
                max-width: 380px; 
                padding: 2rem 1.5rem; 
                border-radius: 24px;
                /* Make relative to take up space */
                position: relative;
                top: auto !important;
                left: auto !important;
                transform: none !important;
                margin: 0 auto;
                display: none; /* Hide inactive */
            }
            
            .industry-card h3 { 
                font-size: 1.5rem; 
                margin-bottom: 0.8rem; 
            }
            
            .industry-card p { 
                font-size: 1rem; 
                line-height: 1.5; 
            }
            
            .industry-icon { 
                width: 64px; 
                height: 64px; 
                margin-bottom: 1rem; 
                border-radius: 16px;
            }

            .industry-icon svg {
                width: 32px; 
                height: 32px;
            }
            
            .industry-features {
                margin-top: 1.5rem;
                gap: 0.6rem;
                transform: none !important; /* Remove animation transform offset */
                opacity: 1 !important;
            }

            .industry-features li {
                font-size: 0.9rem; 
            }
            
            /* Show only active card */
            .industry-card.pos-3, .industry-card.active {
                display: block;
                opacity: 1 !important;
                visibility: visible !important;
                box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
            }
            
            /* Hide others */
            .industry-card.pos-1, .industry-card.pos-2, .industry-card.pos-4, .industry-card.pos-5 {
                display: none;
            }
            
            /* Hide pagination as requested */
            .industry-indicators {
                display: none !important;
            }
        }

        @media (max-width: 480px) {
            .hero-text-wrapper h1 { font-size: 2rem; letter-spacing: 0.15rem; }
            /* .hero-visual-side { height: auto; } Inherits from 768px */
            
            .industry-card { 
                width: 100%; 
                padding: 2rem 1.5rem; /* Maintain comfortable padding */
            }
            
            /* Remove tiny font overrides, use slightly adjusted values */
            .industry-card h3 { font-size: 1.4rem; }
            .industry-card p { font-size: 0.95rem; }
            
            .industry-features { 
                margin-top: 1.2rem;
                gap: 0.5rem;
            }
            
            .industry-features li {
                font-size: 0.85rem;
            }
            
            #typewriter-text { font-size: 1em; letter-spacing: 0.2rem; }
        }

        .hero-left h1 {
            font-size: 60px;
            font-weight: 200;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            letter-spacing: 0.5rem;
            color: var(--text-main);
            text-transform: uppercase;
            text-shadow: 0 0 15px var(--glass-border);
        }

        .hero-left h1 span:not(#typewriter-text) {
            color: var(--text-main);
            -webkit-text-fill-color: initial;
            background: none;
        }

        #typewriter-text {
            color: var(--primary);
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 600;
            letter-spacing: 0.1rem; /* Reduced to prevent overflow */
            /* filter: drop-shadow(0 0 15px rgba(var(--primary-rgb), 0.3)); */ /* Removed for performance */
            text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3); /* Lighter alternative, though might not show with transparent text */
            font-size: 1em;
            display: inline; /* Changed to inline */
            vertical-align: bottom; /* Better alignment */
        }

        .cursor {
            display: inline-block;
            width: 3px; /* Constant width cursor */
            height: 1.1em;
            background-color: var(--primary);
            margin-left: 5px;
            animation: blink 1s infinite;
            vertical-align: middle;
            box-shadow: 0 0 10px var(--primary);
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

        .hero-left p {
            font-size: 0.9rem;
            color: var(--text-muted);
            max-width: 500px;
            margin-bottom: 2.5rem;
            line-height: 1.8;
            letter-spacing: 0.1rem;
            text-transform: uppercase;
            font-weight: 300;
        }

        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1.25rem;
            background: rgba(var(--primary-rgb), 0.08);
            border-radius: 100px;
            color: var(--primary);
            font-weight: 600;
            font-size: 0.85rem;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(var(--primary-rgb), 0.2);
        }

        .hero-tag::before {
            content: '';
            width: 8px;
            height: 8px;
            background: var(--primary);
            border-radius: 50%;
            display: inline-block;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.5); opacity: 0.5; }
            100% { transform: scale(1); opacity: 1; }
        }

        .hero-buttons {
            display: flex;
            gap: 1.5rem;
            align-items: center;
        }

        .primary-btn {
            padding: 1rem 2.5rem;
            background: var(--primary);
            color: white;
            text-decoration: none;
            border-radius: 100px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
        }

        .primary-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.35);
        }

        .secondary-btn {
            padding: 1rem 2.5rem;
            background: transparent;
            color: var(--text-main);
            text-decoration: none;
            border-radius: 100px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            border: 1px solid rgba(0, 0, 0, 0.15);
            background: var(--glass-bg);
        }

        body.dark-mode .secondary-btn {
            border-color: rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.05);
            color: #ffffff;
        }

        .secondary-btn:hover {
            background: var(--bg-subtle);
            transform: translateY(-2px);
            border-color: var(--primary);
            color: var(--primary);
        }

        body.dark-mode .secondary-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .hero .secondary-btn {
            color: var(--text-main);
            border: 1px solid rgba(0, 0, 0, 0.15);
            background: transparent;
            backdrop-filter: blur(10px);
            letter-spacing: 0.2rem;
            text-transform: uppercase;
            font-size: 0.8rem;
            font-weight: 300;
            padding: 1rem 3rem;
            border-radius: 0; /* Sharp edges for Interstellar look */
            transition: all 0.5s ease;
        }

        body.dark-mode .hero .secondary-btn {
            border-color: rgba(255, 255, 255, 0.2);
            color: #ffffff;
        }

        .hero .secondary-btn:hover {
            background: var(--text-main);
            border-color: var(--text-main);
            color: var(--bg-light);
            transform: translateY(0);
        }

        .hero .secondary-btn:hover {
            background: var(--text-main);
            border-color: var(--text-main);
            color: var(--bg-light);
            transform: translateY(0);
        }

        /* Specific styles for Explore Services button */
        .hero .secondary-btn.watch-btn {
            background: rgba(var(--primary-rgb), 0.1);
            color: var(--text-main);
            border: 1px solid rgba(var(--primary-rgb), 0.2);
            padding: 1.2rem 2.5rem;
            font-weight: 600;
            border-radius: 50px;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            transition: all 0.3s ease;
            text-transform: none;
            letter-spacing: normal;
            font-size: 1.1rem;
        }

        body.dark-mode .hero .secondary-btn.watch-btn {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .hero .secondary-btn.watch-btn:hover {
            background: rgba(var(--primary-rgb), 0.2);
            transform: translateY(-5px);
            color: var(--primary);
            border-color: var(--primary);
        }

        body.dark-mode .hero .secondary-btn.watch-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.4);
        }

        .trusted-by {
            margin-top: 5rem;
            border-top: 1px solid var(--glass-border);
            padding-top: 2.5rem;
        }

        .trusted-text {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 1.5rem;
        }

        .logos-grid {
            display: flex;
            gap: 3rem;
            align-items: center;
            opacity: 0.6;
            filter: grayscale(1);
            transition: var(--transition);
        }

        .logos-grid:hover {
            opacity: 1;
            filter: grayscale(0);
        }

        .logo-item {
            font-family: 'LEMON MILK', sans-serif;
            font-weight: 700;
            font-size: 1.25rem;
            color: var(--text-main);
        }

        /* Stats Section */
        .stats {
            padding: 3rem 5%; /* Reduced from 5rem */
            background: var(--bg-light);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative; /* Added for stacking context */
            z-index: 15; /* Sit above Hero overlay if it bleeds */
        }

        .stats-container {
            max-width: 1400px;
            width: 100%;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6rem;
        }

        .stats-header {
            text-align: center;
            max-width: 900px;
        }

        .stats-title {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            font-weight: 400;
            color: var(--text-main);
            margin-bottom: 0.5rem;
            line-height: 1.1;
            letter-spacing: -0.03em;
            font-family: 'Outfit', sans-serif;
        }

        body.dark-mode .stats-title {
            color: #ffffff;
        }

        .stats-subtitle {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            font-weight: 400;
            color: var(--text-muted);
            line-height: 1.1;
            letter-spacing: -0.03em;
            font-family: 'Outfit', sans-serif;
            opacity: 0.4;
        }

        .blur-text {
            filter: blur(4px);
            transition: filter 0.5s ease;
        }

        .stats:hover .blur-text {
            filter: blur(0px);
            opacity: 0.8;
        }

        .stats-grid {
            display: flex;
            justify-content: space-between;
            width: 100%;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .stat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            flex: 1;
            min-width: 150px;
        }

        .stat-number {
            font-size: clamp(2rem, 3vw, 3rem);
            font-weight: 500;
            color: var(--text-main);
            margin-bottom: 0.75rem;
            font-family: 'Outfit', sans-serif;
            letter-spacing: -0.02em;
        }

        body.dark-mode .stat-number {
            color: #ffffff;
        }

        .stat-label {
            font-size: 0.95rem;
            color: var(--text-muted);
            font-weight: 400;
            line-height: 1.4;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .stats-grid {
                justify-content: center;
                gap: 3rem 2rem;
            }
            
            .stat-item {
                flex: 0 0 30%;
            }
        }

        @media (max-width: 768px) {
            .stats {
                padding: 6rem 5%;
            }

            .stats-container {
                gap: 4rem;
            }
            
            .stat-item {
                flex: 0 0 45%;
            }
        }

        @media (max-width: 480px) {
            .stats-title, .stats-subtitle {
                font-size: 2rem;
            }
            
            .stats-grid {
                gap: 2.5rem 1rem;
            }

            .stat-item {
                flex: 0 0 100%;
            }
        }

        /* Services Section */
        .services {
            padding: 10rem 5%;
            background: var(--bg-subtle);
        }

        .section-header {
            text-align: center;
            margin-bottom: 6rem;
        }

        .section-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 900;
            margin-bottom: 1.5rem;
            letter-spacing: -0.03em;
            color: var(--text-main);
            line-height: 1.1;
        }

        .section-subtitle {
            font-size: clamp(1rem, 1.5vw, 1.25rem);
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
            gap: 2.5rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        /* Services Section Redesign */
.services {
    padding: 4rem 5%; /* Reduced from 6rem */
    background: #f5f5f0; /* Light beige background */
    position: relative; /* Added for stacking context */
    z-index: 15; /* Added for stacking context */
}

.services-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.services-header-content {
    max-width: 600px;
}

.services-header-content .section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    text-align: left;
}

.services-header-content .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: left;
    max-width: 100%;
}

.get-started-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: #ffffff;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    white-space: nowrap;
}

.get-started-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* First card styling (Dark featured card) */
.service-card:first-child {
    background: #1a1a1a; /* Dark background */
    color: #ffffff;
    transform: rotate(-2deg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.service-card:first-child:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.service-card:not(:first-child):hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.service-icon-wrapper {
    width: 48px;
    height: 48px;
    background: transparent;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--text-main);
    padding: 0;
    border: none;
    border-radius: 0;
}

.service-card:first-child .service-icon-wrapper {
    color: #ffffff;
}

.service-card:first-child .service-icon-wrapper svg {
    width: 40px;
    height: 40px;
    stroke-width: 2.5; /* Thicker stroke for dark bg */
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card:first-child h3 {
    color: #ffffff;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.service-card:first-child p {
    color: rgba(255, 255, 255, 0.8);
}

.learn-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: var(--text-main);
    gap: 0.5rem;
    margin-top: auto;
    transition: gap 0.3s ease;
}

.service-card:first-child .learn-more {
    color: #4ade80; /* Green accent matching button */
}

.learn-more svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    gap: 0.75rem;
}

/* FAQ Section */
    .faq-section {
        padding: 4rem 2rem; /* Reduced from 6rem */
        position: relative;
        background: var(--bg-subtle);
        z-index: 15; /* Added for stacking context */
    }

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

body.dark-mode .faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.learn-more:hover svg {
    transform: translateX(4px);
}

/* Dark mode adjustments */
body.dark-mode .services {
    background: #0a0a0a;
}

body.dark-mode .service-card {
    background: #171717;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .service-card:first-child {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .service-card h3 {
    color: #ffffff;
}

body.dark-mode .service-card p {
    color: #a3a3a3;
}

body.dark-mode .service-icon-wrapper {
    color: #ffffff;
}

body.dark-mode .learn-more {
    color: #ffffff;
}

@media (max-width: 1024px) {
    .services-header-wrapper {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .service-card:first-child {
        transform: none; /* Disable rotation on mobile */
    }
    
    .services-header-content .section-title {
        font-size: 2.5rem;
    }
}

/* Process Section Redesigned (Vertical Timeline) */
.process-timeline {
    padding: 4rem 5%; /* Reduced from 6rem */
    background: var(--bg-subtle);
    overflow: hidden;
    position: relative;
    z-index: 15; /* Added for stacking context */
}

/* Process Background Animation */
.process-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.process-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    mix-blend-mode: screen;
    z-index: -1;
}

.process-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation: float-glow 20s ease-in-out infinite;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--text-muted) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: float-glow 25s ease-in-out infinite reverse;
    opacity: 0.1;
}

.process-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(var(--primary-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

@keyframes float-glow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, 50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Ensure content is above background */
.process-timeline .section-header,
.timeline-container {
    position: relative;
    z-index: 1;
}

.timeline-container {
    max-width: 1000px;
    margin: 4rem auto 0;
    position: relative;
    padding: 2rem 0;
}

/* Central Line */
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(var(--primary-rgb), 0.2);
    transform: translateX(-50%);
}

.timeline-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), transparent);
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 4rem;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) { /* Left side */
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(odd) { /* Right side */
    left: 50%;
    text-align: left;
}

/* Icons on the line */
.step-icon {
    position: absolute;
    top: 3.5rem;
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 0 8px var(--bg-subtle);
    transition: all 0.3s ease;
    color: var(--primary);
}

.timeline-item:nth-child(even) .step-icon {
    right: -30px;
}

.timeline-item:nth-child(odd) .step-icon {
    left: -30px;
}

.timeline-item:hover .step-icon {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4);
    transform: scale(1.1);
}

/* Content Cards */
.timeline-content {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(var(--primary-rgb), 0.1);
    position: absolute;
    top: 1rem;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0;
}

.timeline-item:nth-child(even) .step-number {
    right: 2rem;
}

.timeline-item:nth-child(odd) .step-number {
    left: 2rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Dark Mode Overrides */
body.dark-mode .timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .step-icon {
    background: #1a1a1a;
    box-shadow: 0 0 0 8px #0a0a0a;
}

body.dark-mode .step-number {
    color: rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 80px;
        padding-right: 0;
        text-align: left !important;
    }

    .step-icon {
        left: 0 !important;
        right: auto !important;
    }

    .timeline-item:nth-child(even) .step-number {
        right: auto;
        left: 2rem;
    }
}


        /* Testimonials Redesign (Dark Theme) */
.testimonials-redesign {
    background-color: #0a0a0a;
    padding: 4rem 5%; /* Reduced from 6rem */
    color: #ffffff;
    overflow: hidden;
    position: relative; /* Added for stacking context */
    z-index: 15; /* Added for stacking context */
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Column */
.testimonials-left {
    padding-right: 2rem;
}

.testimonials-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-family: 'Outfit', sans-serif; /* Using Outfit instead of Lemon Milk for this specific section look if needed, or stick to global */
}

.testimonials-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #a3a3a3;
    margin-bottom: 2.5rem;
    max-width: 450px;
}

.testimonials-cta {
    display: flex;
    gap: 1rem;
}

.btn-primary-glow {
    background: #ffffff;
    color: #000000;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #ff6b35;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-glow:hover {
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.6);
    transform: translateY(-2px);
}

.btn-secondary-dark {
    background: #262626;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary-dark:hover {
    background: #333333;
    transform: translateY(-2px);
}

/* Right Column */
.testimonials-right {
    position: relative;
}

.slider-nav-top {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    gap: 1rem;
}

.nav-arrow {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-arrow:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.testimonial-slide-card {
    background: #1a1a1a;
    padding: 3.5rem;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.quote-icon {
    color: #333;
    margin-bottom: 2rem;
    opacity: 0.5;
}

.slide-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #d4d4d4;
    margin-bottom: 3rem;
    font-weight: 400;
}

.slide-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.slide-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2a2a2a; /* Fallback */
    /* Use an image if available, otherwise stylized text */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    border: 2px solid #333;
}

/* If user provided image has actual photos, we'd use img tag. Here adapting existing */

.author-details h4 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.author-details p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.slide-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #ff6b35; /* Brand orange */
    letter-spacing: 2px;
}

.rating-value {
    color: #ffffff;
    font-weight: 600;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ff6b35;
    width: 24px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .testimonials-left {
        text-align: center;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .testimonials-title {
        font-size: 2.5rem;
    }
    
    .slider-nav-top {
        display: none; /* Hide top arrows on mobile, rely on swipe or dots */
    }
}

@media (max-width: 768px) {
    .testimonial-slide-card {
        padding: 2rem 1.5rem;
    }

    .slide-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .slide-author {
        width: 100%;
    }

    .author-avatar-img {
        flex-shrink: 0;
        width: 45px;
        height: 45px;
    }

    .author-details {
        flex: 1;
        min-width: 0; /* Allow text wrapping */
    }
    
    .slide-rating {
        margin-left: 3.8rem; /* Align with text, offset by avatar width + gap */
        margin-top: -0.5rem;
    }
}

        /* CTA Section */
        .cta-section {
            padding: 5rem 5%; /* Reduced from 7rem */
            background: var(--secondary);
            text-align: center;
            position: relative;
            overflow: hidden;
            z-index: 15; /* Added for stacking context */
        }

        .cta-section::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background: 
                radial-gradient(circle at 20% 30%, rgba(var(--primary-rgb), 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(var(--primary-rgb), 0.1) 0%, transparent 40%);
            z-index: 0;
        }

        .cta-content {
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .cta-content h2 {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            margin-bottom: 2rem;
            font-weight: 900;
            color: #ffffff;
            line-height: 1.1;
            letter-spacing: -0.03em;
        }

        .cta-content p {
            font-size: clamp(1.1rem, 2vw, 1.4rem);
            color: #b0b0b0;
            margin-bottom: 3.5rem;
            line-height: 1.6;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        /* Footer */
        footer {
            padding: 5rem 5% 4rem; /* Reduced top padding from 8rem */
            background: var(--bg-light);
            border-top: 1px solid var(--glass-border);
        }

        /* Services Page Styles */
        /* Services Page Centered Hero */
        .services-hero-centered {
            min-height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 10rem 5% 6rem;
            background: var(--bg-light);
            overflow: hidden;
            text-align: center;
        }

        .hero-centered-container {
            width: 100%;
            max-width: 1000px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .hero-centered-content {
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: 50px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.6rem 1.2rem;
            background: rgba(var(--primary-rgb), 0.08);
            border: 1px solid rgba(var(--primary-rgb), 0.2);
            border-radius: 100px;
            color: var(--primary);
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 2rem;
            animation: fadeInUp 0.8s ease-out;
        }

        .badge-dot {
            width: 8px;
            height: 8px;
            background: var(--primary);
            border-radius: 50%;
            box-shadow: 0 0 10px var(--primary);
            animation: pulse-dot 2s infinite;
        }

        @keyframes pulse-dot {
            0% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.5); opacity: 0.5; }
            100% { transform: scale(1); opacity: 1; }
        }

        .hero-centered-content h1 {
            font-size: clamp(3.5rem, 8vw, 5.5rem);
            line-height: 1;
            font-weight: 900;
            margin-bottom: 2rem;
            color: var(--text-main);
            letter-spacing: -0.04em;
            animation: fadeInUp 0.8s ease-out 0.2s backwards;
        }

        .text-gradient {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-centered-content p {
            font-size: clamp(1.2rem, 2vw, 1.5rem);
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 3.5rem;
            max-width: 800px;
            animation: fadeInUp 0.8s ease-out 0.4s backwards;
        }

        .hero-centered-ctas {
            display: flex;
            gap: 1.5rem;
            align-items: center;
            justify-content: center;
            animation: fadeInUp 0.8s ease-out 0.6s backwards;
        }

        .modern-btn {
            padding: 1.1rem 2.5rem;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1.05rem;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
        }

        .modern-btn.primary {
            background: var(--primary);
            color: white;
            box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
        }

        .modern-btn.primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.3);
        }

        .modern-btn.secondary {
            background: transparent;
            border: 1px solid rgba(0, 0, 0, 0.15);
            color: var(--text-main);
        }

        body.dark-mode .modern-btn.secondary {
            border-color: rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.03);
            color: #ffffff;
        }

        .modern-btn.secondary:hover {
            background: var(--bg-subtle);
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-2px);
        }

        body.dark-mode .modern-btn.secondary:hover {
            background: rgba(255, 255, 255, 0.08);
            color: var(--primary);
        }

        /* Services Quick Nav Bar */
        .services-nav-bar {
            background: var(--bg-light);
            padding: 1.5rem 0;
            position: sticky;
            top: 70px; /* Below navbar */
            z-index: 99;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        body.dark-mode .services-nav-bar {
            background: rgba(10, 10, 10, 0.8);
        }

        .nav-bar-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
            padding: 0 5%;
        }

        .nav-item {
            padding: 0.75rem 1.5rem;
            border-radius: 100px;
            background: var(--bg-subtle);
            color: var(--text-main);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .nav-item:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* About Page Styles */
        .about-hero {
            min-height: 70vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 10rem 5% 4rem;
            position: relative;
        }

        .about-hero-container {
            max-width: 900px;
        }

        .about-hero h1 {
            font-size: clamp(3.5rem, 8vw, 6rem);
            line-height: 0.9;
            margin-bottom: 2rem;
            font-weight: 900;
        }

        .hero-lead {
            font-size: clamp(1.2rem, 2vw, 1.6rem);
            color: var(--text-muted);
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.5;
        }

        .about-story {
            padding: 8rem 5%;
            background: var(--bg-subtle);
        }

        body.dark-mode .about-story {
            background: rgba(255, 255, 255, 0.02);
        }

        .story-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .story-content {
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .story-text h2 {
            margin-bottom: 2rem;
        }

        .story-text p {
            font-size: 1.15rem;
            line-height: 1.7;
            color: var(--text-muted);
            margin-bottom: 1.5rem;
        }

        .story-stats {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .story-stat-card {
            background: var(--bg-light);
            padding: 2.5rem;
            border-radius: 24px;
            border: 1px solid var(--glass-border);
            text-align: center;
            transition: transform 0.3s ease;
        }

        .story-stat-card:hover {
            transform: translateY(-5px);
        }

        .stat-number {
            display: block;
            font-size: 3rem;
            font-weight: 900;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-weight: 700;
            color: var(--text-muted);
        }

        .team-leadership {
            padding: 8rem 5%;
        }

        .team-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2.5rem;
            margin-top: 4rem;
        }

        .team-card {
            background: var(--bg-subtle);
            padding: 3rem 2rem;
            border-radius: 32px;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid transparent;
        }

        .team-card:hover {
            background: var(--bg-light);
            border-color: var(--primary);
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .member-image-placeholder {
            width: 100px;
            height: 100px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            font-weight: 900;
            margin: 0 auto 2rem;
            box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
        }

        .member-info h3 {
            font-size: 1.75rem;
            margin-bottom: 0.5rem;
        }

        .member-role {
            display: block;
            color: var(--primary);
            font-weight: 700;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 1.5rem;
        }

        .member-info p {
            color: var(--text-muted);
            line-height: 1.6;
        }

        .about-goal {
            padding: 8rem 5%;
            background: linear-gradient(to bottom, transparent, rgba(var(--primary-rgb), 0.05));
        }

        .goal-container {
            max-width: 1000px;
            margin: 0 auto;
        }

        .goal-card {
            background: var(--bg-light);
            padding: 5rem;
            border-radius: 48px;
            border: 1px solid var(--glass-border);
            text-align: center;
            box-shadow: 0 30px 60px rgba(0,0,0,0.2);
        }

        .goal-card .section-title {
            margin-bottom: 2rem;
        }

        .goal-card p {
            font-size: 1.4rem;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 3rem;
        }

        /* Responsive About Page */
        @media (max-width: 992px) {
            .story-content {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
            .team-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .team-grid {
                grid-template-columns: 1fr;
            }
            .goal-card {
                padding: 3rem 2rem;
            }
            .about-hero h1 {
                font-size: 3rem;
            }
        }

        .detailed-services {
            padding: 0;
        }

        .service-detail-section {
            padding: 8rem 5%;
            border-bottom: 1px solid var(--glass-border);
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .service-detail-section.reveal {
            opacity: 1;
            transform: translateY(0);
        }

        .service-detail-section.alt-bg {
            background: var(--bg-subtle);
        }

        .service-detail-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 6rem;
            align-items: start;
        }

        .service-detail-visual {
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 2.5rem; /* Offset to align with heading instead of service-number */
        }

        /* Alternate layout: image left on even sections */
        .detailed-services .service-detail-section:nth-child(even) .service-detail-container {
            grid-template-columns: 0.8fr 1.2fr;
        }
        .detailed-services .service-detail-section:nth-child(even) .service-detail-visual {
            grid-column: 1;
            grid-row: 1;
        }
        .detailed-services .service-detail-section:nth-child(even) .service-detail-info {
            grid-column: 2;
            grid-row: 1;
        }

        .service-number {
            font-size: 1rem;
            font-weight: 700;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .service-number::after {
            content: '';
            width: 30px;
            height: 1px;
            background: var(--primary);
            display: block;
        }

        .service-detail-info h2 {
            font-size: clamp(2rem, 3.5vw, 2.75rem);
            margin-bottom: 1.5rem;
            color: var(--text-main);
            line-height: 1.1;
            font-weight: 800;
        }

        .service-description {
            font-size: 1.15rem;
            color: var(--text-muted);
            margin-bottom: 2.5rem;
            line-height: 1.6;
        }

        .service-list {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1rem;
            margin-bottom: 2.5rem;
        }

        .service-cta {
            margin-top: 1rem;
        }

        .service-cta-link {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--primary);
            text-decoration: none;
            font-weight: 700;
            font-size: 1rem;
            transition: var(--transition);
        }

        .service-cta-link:hover {
            gap: 1.25rem;
        }

        .service-cta-link svg {
            width: 18px;
            height: 18px;
            stroke-width: 2.5;
        }

        .service-list li {
            position: relative;
            padding-left: 1.5rem;
            font-size: 1rem;
            color: var(--text-main);
            font-weight: 400;
            line-height: 1.4;
        }

        .service-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.6em;
            width: 6px;
            height: 6px;
            background: var(--primary);
            border-radius: 0;
        }

        .visual-card {
            width: 100%;
            aspect-ratio: 1.2;
            background: var(--bg-light);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--glass-border);
            position: relative;
            transition: border-color 0.3s ease;
        }

        .visual-card:hover {
            border-color: var(--primary);
        }

        .visual-card svg {
            width: 60px;
            height: 60px;
            color: var(--primary);
            stroke-width: 1.25;
        }

        @media (max-width: 992px) {
            .service-detail-container,
            .detailed-services .service-detail-section:nth-child(even) .service-detail-container {
                grid-template-columns: 1fr;
                gap: 3rem;
                text-align: center;
            }

            .service-number {
                justify-content: center;
                margin-bottom: 1rem;
            }

            .service-list {
                text-align: left;
                max-width: 600px;
                margin: 0 auto 2rem;
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }

            .service-detail-visual {
                order: -1;
                grid-row: auto;
                padding-top: 0;
            }

            .detailed-services .service-detail-section:nth-child(even) .service-detail-visual {
                grid-column: auto;
                grid-row: auto;
            }

            .detailed-services .service-detail-section:nth-child(even) .service-detail-info {
                grid-column: auto;
                grid-row: auto;
            }

            .visual-card {
                max-width: 400px;
                aspect-ratio: 1.5;
                margin: 0 auto;
            }

            .service-detail-section {
                padding: 6rem 5%;
            }
        }

        @media (max-width: 768px) {
            .services-hero-centered {
                padding: 8rem 5% 4rem;
                min-height: auto;
            }

            .hero-centered-content h1 {
                font-size: 3rem;
            }

            .hero-centered-content p {
                font-size: 1.1rem;
                margin-bottom: 2.5rem;
            }

            .hero-centered-ctas {
                flex-direction: column;
                width: 100%;
                max-width: 300px;
                margin: 0 auto;
            }

            .modern-btn {
                width: 100%;
                justify-content: center;
            }

            .services-nav-bar {
                top: 60px;
                padding: 1rem 0;
            }

            .nav-bar-container {
                justify-content: flex-start;
                overflow-x: auto;
                flex-wrap: nowrap;
                padding: 0 1rem;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }

            .nav-bar-container::-webkit-scrollbar {
                display: none;
            }

            .nav-item {
                padding: 0.6rem 1.2rem;
                font-size: 0.85rem;
            }

            .service-detail-info h2 {
                font-size: 2rem;
            }

            .service-description {
                font-size: 1.05rem;
                margin-bottom: 2rem;
            }

            .service-list {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }

            .service-cta {
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .services-hero-simple {
                padding: 8rem 5% 3rem;
            }

            .hero-simple-content h1 {
                font-size: 2.25rem;
            }

            .service-detail-section {
                padding: 4rem 5%;
            }

            .visual-card {
                aspect-ratio: 1.2;
            }
        }

        /* Footer Styles */
        footer {
            padding: 8rem 5% 4rem;
            background: var(--bg-light);
            border-top: 1px solid var(--glass-border);
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 4rem;
        }

        .footer-section h3 {
            margin-bottom: 2rem;
            font-size: 1.1rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-main);
        }

        @media (max-width: 992px) {
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
                gap: 3rem;
            }
        }

        @media (max-width: 576px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 2.5rem;
                text-align: center;
            }

            .footer-section .logo {
                justify-content: center;
            }

            .social-links {
                justify-content: center;
            }

            .footer-section a:hover {
                transform: none;
            }
        }

        .footer-section .logo {
            height: 60px;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
        }

        .footer-section .logo img {
            height: 100%;
            width: auto;
            object-fit: contain;
        }

        .footer-section p {
            color: var(--text-muted);
            line-height: 1.8;
            margin-bottom: 2rem;
            font-size: 1.05rem;
        }

        .footer-section a {
            color: var(--text-muted);
            line-height: 2.2;
            text-decoration: none;
            display: block;
            transition: var(--transition);
            font-size: 1.05rem;
        }

        .footer-section a:hover {
            color: var(--primary);
            transform: translateX(5px);
        }

        .social-links {
            display: flex;
            gap: 1.25rem;
        }

        .social-links a {
            width: 48px;
            height: 48px;
            background: var(--bg-subtle);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            color: var(--text-main);
            border: 1px solid var(--glass-border);
        }

        .social-links a:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-5px);
            border-color: var(--primary);
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            margin-top: 6rem;
            padding-top: 2.5rem;
            border-top: 1px solid var(--glass-border);
            text-align: center;
            color: var(--text-muted);
            font-size: 0.95rem;
        }

        /* Responsive */
        .mobile-toggle {
            display: none;
            flex-direction: column;
            gap: 6px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 5px;
            z-index: 2000;
        }

        .mobile-toggle span {
            display: block;
            width: 25px;
            height: 2px;
            background: var(--text-main);
            border-radius: 2px;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        @media (max-width: 768px) {
            .navbar {
                top: 10px !important;
                left: 2.5% !important;
                right: 0px !important;
                width: 95% !important;
                transform: none !important;
                border-radius: 10px !important;
                padding: 10px 20px !important;
                background: var(--bg-light) !important;
                border-bottom: 1px solid var(--glass-border) !important;
                box-shadow: var(--shadow-md) !important;
                backdrop-filter: none !important;
            }

            .nav-right {
                gap: 1rem;
            }

            .nav-menu {
                position: fixed;
                top: 0;
                right: 0;
                width: 100%;
                height: 100vh;
                background: #000000 !important;
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                justify-content: flex-start;
                transform: translateX(100%);
                transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
                z-index: 1500;
                padding: 6rem 2rem 2rem;
                box-shadow: none;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
            }

            body.dark-mode .nav-menu {
                background: #000000 !important;
                border: none;
            }

            .nav-menu.active {
                transform: translateX(0);
            }

            .nav-links {
                flex-direction: column;
                width: 100%;
                text-align: left;
                gap: 0.5rem;
            }

            .nav-links li {
                width: 100%;
                opacity: 0;
                transform: translateX(20px);
                transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            }

            .nav-menu.active .nav-links li {
                opacity: 1;
                transform: translateX(0);
            }

            /* Staggered animation for links */
            .nav-menu.active .nav-links li:nth-child(1) { transition-delay: 0.1s; }
            .nav-menu.active .nav-links li:nth-child(2) { transition-delay: 0.2s; }
            .nav-menu.active .nav-links li:nth-child(3) { transition-delay: 0.3s; }
            .nav-menu.active .nav-links li:nth-child(4) { transition-delay: 0.4s; }
            .nav-menu.active .nav-links li:nth-child(5) { transition-delay: 0.5s; }

            .nav-links a {
                font-size: 1.5rem;
                font-weight: 700;
                display: block;
                padding: 1rem 0;
                color: #ffffff !important;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .partnership-btn {
                background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                border: 1px solid var(--primary) !important;
                border-radius: 50px;
                padding: 0.5rem 1.5rem !important;
                margin-top: 1rem;
                text-align: center;
                width: fit-content;
            }

            .services, .testimonials, .process {
                padding: 6rem 5%;
            }

            .service-card, .testimonial-card {
                padding: 2.5rem 2rem;
            }

            .dropdown > a {
                color: var(--primary) !important;
                border-bottom: none !important;
                padding-bottom: 0.5rem;
                width: 100%;
            }

            .dropdown .dropdown-content {
                display: none !important;
                flex-direction: column;
                position: static;
                background: transparent;
                margin: 0.5rem 0 0.5rem 0.5rem;
                padding: 0 0 0 1.5rem;
                opacity: 1;
                visibility: visible;
                border: none !important;
                border-left: 2px solid rgba(255, 255, 255, 0.1) !important;
                box-shadow: none !important;
                gap: 0;
                transform: none !important;
                width: 100%;
            }

            .dropdown-content a {
                color: #aaaaaa !important;
                font-size: 1.1rem;
                padding: 0.6rem 0;
                font-weight: 500;
                border: none !important;
                justify-content: flex-start;
                border-radius: 0;
                opacity: 0 !important;
                transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
                display: flex !important;
                transform: none !important;
                width: 100%;
            }

            .nav-menu.active .dropdown-content a {
                opacity: 1 !important;
            }

            .nav-arrow {
                display: none !important;
            }

            /* Staggered animation for dropdown links when menu is active */
            .nav-menu.active .dropdown-content a:nth-child(1) { transition-delay: 0.45s; }
            .nav-menu.active .dropdown-content a:nth-child(2) { transition-delay: 0.5s; }
            .nav-menu.active .dropdown-content a:nth-child(3) { transition-delay: 0.55s; }
            .nav-menu.active .dropdown-content a:nth-child(4) { transition-delay: 0.6s; }
            .nav-menu.active .dropdown-content a:nth-child(5) { transition-delay: 0.65s; }
            .nav-menu.active .dropdown-content a:nth-child(6) { transition-delay: 0.7s; }
            .nav-menu.active .dropdown-content a:nth-child(7) { transition-delay: 0.75s; }
            .nav-menu.active .dropdown-content a:nth-child(8) { transition-delay: 0.8s; }

            .dropdown-content li:last-child a {
                border-bottom: none;
            }

            .dropdown-content a:hover {
                background: transparent;
                color: var(--primary) !important;
            }

            .mobile-menu-footer {
                margin-top: auto;
                width: 100%;
                padding-top: 2rem;
                border-top: 1px solid var(--glass-border);
                display: none;
                flex-direction: column;
                gap: 1.5rem;
            }

            .nav-menu.active .mobile-menu-footer {
                display: flex;
            }

            .mobile-menu-footer p {
                font-size: 0.9rem;
                color: #888888;
                font-weight: 500;
            }

            .mobile-contact-link {
                font-size: 1.1rem;
                font-weight: 600;
                color: var(--primary);
                text-decoration: none;
            }

            .mobile-socials {
                display: flex;
                gap: 1rem;
            }

            .mobile-socials a {
                width: 36px;
                height: 36px;
                display: flex;
                align-items: center;
                justify-content: center;
                background: #222222;
                border-radius: 50%;
                font-size: 0.8rem;
                font-weight: 700;
                color: #ffffff;
                transition: var(--transition);
            }

            .mobile-socials a:hover {
                background: var(--primary);
                color: white;
            }

            .mobile-toggle {
                display: flex;
                width: 40px;
                height: 40px;
                align-items: center;
                justify-content: center;
                background: var(--primary);
                border-radius: 10px;
                padding: 0;
                z-index: 2000;
                position: relative;
            }

            .mobile-toggle span {
                background: white;
                width: 22px;
            }

            .mobile-toggle.active {
                background: var(--bg-subtle);
            }

            .mobile-toggle.active span {
                background: var(--text-main);
            }

            .mobile-toggle.active span:nth-child(1) {
                transform: rotate(45deg) translate(6px, 6px);
            }

            .mobile-toggle.active span:nth-child(2) {
                opacity: 0;
                transform: translateX(-10px);
            }

            .mobile-toggle.active span:nth-child(3) {
                transform: rotate(-45deg) translate(5px, -5px);
            }

            .cta-btn.desktop-only {
                display: none;
            }

            .nav-brand .logo {
                height: 40px;
            }

            /* Fix potential overflow issues */
            html, body {
                width: 100%;
                overflow-x: hidden;
                position: relative;
            }

            .custom-cursor, .cursor-dot {
                display: none !important;
            }

            .bg-animations {
                display: none;
            }

            .hero {
                padding: 9rem 0 4rem;
                min-height: auto;
                width: 100%;
                max-width: 100%;
                box-sizing: border-box;
            }

            .hero-bg-shapes {
                display: none !important;
            }

            .hero-content {
                width: 100%;
                max-width: 100%;
                grid-template-columns: 1fr;
                gap: 2.5rem;
                text-align: center;
                padding: 0 2rem;
                margin: 0;
                box-sizing: border-box;
            }

            .hero-left {
                width: 100%;
                max-width: 100%;
                padding: 0;
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .hero-tag {
                font-size: 0.8rem;
                padding: 0.5rem 1rem;
                margin-bottom: 1.5rem;
                text-align: center;
            }

            .hero h1 {
                font-size: clamp(2rem, 8vw, 2.75rem);
                margin-bottom: 1.25rem;
                word-break: break-word;
                width: 100%;
            }

            .trusted-by {
                width: 100%;
                overflow: hidden;
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .trusted-text {
                text-align: center;
                width: 100%;
            }

            .logos-grid {
                gap: 1.5rem;
                flex-wrap: wrap;
                justify-content: center;
                width: 100%;
                padding: 0 2rem;
            }

            .hero-search-bar {
                width: 100%;
                max-width: 300px;
                padding: 0.875rem 1rem;
                gap: 0.5rem;
                display: flex;
                align-items: center;
                box-sizing: border-box;
                margin: 0 auto;
            }

            .search-placeholder {
                flex: 1;
                font-size: 0.8rem;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                display: block;
                text-align: left;
            }

            .hero p {
                font-size: 1.05rem;
                max-width: 100%;
                margin-bottom: 2rem;
            }

            .hero-buttons, .cta-buttons {
                flex-direction: column;
                width: 100%;
                gap: 1rem;
                align-items: center;
            }

            .primary-btn, .secondary-btn {
                width: 100%;
                max-width: 300px;
                justify-content: center;
                padding: 0.875rem 2rem;
            }
        }

/* Minimal About Hero Section */
.about-hero-minimal {
    padding: 14rem 5% 8rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-main);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-content-minimal {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-tag-minimal {
    display: inline-block;
    font-size: 1.2rem;
    color: var(--accent-main);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.6rem;
    font-weight: 600;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title-minimal {
    font-size: clamp(3rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-desc-minimal {
    font-size: clamp(1.5rem, 1.6vw, 1.6rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 3.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero-cta-minimal {
    display: flex;
    gap: 2rem;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

@media (max-width: 768px) {
    .about-hero-minimal {
        padding: 12rem 5% 6rem;
    }
    
    .hero-title-minimal {
        font-size: clamp(2.8rem, 8vw, 3.6rem);
    }
    
    .hero-cta-minimal {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
    }
}

/* Approach Section */
.about-approach {
    padding: 10rem 5%;
    background: var(--bg-main);
}

.approach-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
    align-items: center;
}

.highlight-item {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    transition: var(--transition);
}

.highlight-item:hover .highlight-icon {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
}

.highlight-content h4 {
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.approach-cards {
    display: grid;
    gap: 2rem;
}

.approach-card-modern {
    padding: 2.5rem;
    background: var(--bg-subtle);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    position: relative;
    transition: var(--transition);
}

.approach-card-modern:hover {
    background: var(--glass-bg);
    transform: translateX(10px);
    border-color: var(--primary);
}

.approach-card-modern .card-icon {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 107, 53, 0.1);
    line-height: 1;
}

/* Core Services Modern */
.core-services {
    padding: 10rem 5%;
    background: var(--bg-subtle);
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card-modern {
    background: var(--bg-main);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3rem 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-num {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.2em;
}

.service-card-modern h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.service-features {
    list-style: none;
    margin-top: 2rem;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-features li::before {
    content: '→';
    color: var(--primary);
}

/* Team Modern */
.team-leadership {
    padding: 10rem 5%;
}

.team-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.team-card-modern {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.team-card-modern:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.team-avatar-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    position: relative;
}

.team-avatar {
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    position: relative;
    z-index: 2;
}

.avatar-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3), transparent 70%);
    filter: blur(10px);
    z-index: 1;
}

.team-role {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.team-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 1rem 0 1.5rem;
}

.team-expertise {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.team-expertise span {
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Process Modern */
.our-process {
    padding: 10rem 5%;
    background: var(--bg-subtle);
}

.process-steps-modern {
    max-width: 800px;
    margin: 5rem auto 0;
}

.process-step-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 3rem;
}

.step-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-dot {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    z-index: 2;
}

.step-line {
    width: 2px;
    flex-grow: 1;
    background: linear-gradient(to bottom, var(--primary), transparent);
    margin: 10px 0;
}

.step-content-modern {
    padding-bottom: 5rem;
}

.step-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.step-content-modern h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* CTA Modern */
.about-cta-modern {
    padding: 10rem 5%;
}

.cta-card-modern {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-subtle);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 6rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
    filter: blur(50px);
}

.cta-content-modern {
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.cta-card-modern h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .about-hero-grid, .approach-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats-simple {
        justify-content: center;
        gap: 2rem;
    }

    .hero-visual-refined {
        margin-top: 5rem;
    }

    .visual-main-frame {
        height: 400px;
    }

    .visual-card-premium {
        width: 300px;
    }

    .visual-badge-floating {
        bottom: 5%;
        right: 10%;
    }

    .services-grid-modern, .team-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid-modern, .team-grid-modern {
        grid-template-columns: 1fr;
    }

    .hero-metrics {
        flex-direction: column;
        align-items: center;
    }

    .metric-card {
        width: 100%;
        max-width: 300px;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-card-modern {
        padding: 4rem 2rem;
    }
}

.whatsapp-float {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    z-index: 1100;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5px;
}

/* Minimal Contact Page Styles */
.minimal-contact {
    min-height: 100vh;
    padding: 12rem 5% 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.minimal-contact::before,
.minimal-contact::after {
    content: '';
    position: absolute;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
}

.minimal-contact::before {
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: float-blob 20s infinite alternate ease-in-out;
}

.minimal-contact::after {
    background: radial-gradient(circle, #C1FF72 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation: float-blob 25s infinite alternate-reverse ease-in-out;
}

@keyframes float-blob {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10%, 10%) scale(1.1); }
    66% { transform: translate(-5%, 15%) scale(0.9); }
    100% { transform: translate(5%, -5%) scale(1.05); }
}

body.dark-mode .minimal-contact::before,
body.dark-mode .minimal-contact::after {
    opacity: 0.12;
}

.contact-wrap {
    width: 100%;
    max-width: 800px;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-family: 'Lemon/Milk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.contact-header p {
    color: var(--text-main);
    opacity: 0.7;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.minimal-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.success-wrap {
    background: var(--bg-card);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: successFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #C1FF72;
}

.success-content p {
    font-size: 1.2rem;
    color: var(--text-main);
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes successFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.field-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.field-group input,
.field-group select,
.field-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.field-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 3rem;
}

body:not(.dark-mode) .field-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.field-group select option {
    background-color: #1a1a1a;
    color: white;
    padding: 1rem;
}

body:not(.dark-mode) .field-group select option {
    background-color: white;
    color: #1a1a1a;
}

body:not(.dark-mode) .field-group input,
body:not(.dark-mode) .field-group select,
body:not(.dark-mode) .field-group textarea {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: none;
    border-color: #C1FF72;
    background: rgba(255, 255, 255, 0.08);
}

.minimal-submit {
    background: #C1FF72;
    color: #000000;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
}

.minimal-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(193, 255, 114, 0.3);
}

.minimal-info {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
}

body:not(.dark-mode) .minimal-info {
    border-top-color: rgba(0, 0, 0, 0.1);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
    font-weight: 700;
}

.info-item a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: var(--transition);
}

.info-item a:hover {
    color: #C1FF72;
}

.mini-socials {
    display: flex;
    gap: 1.5rem;
}

.mini-socials a {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .input-grid {
        grid-template-columns: 1fr;
    }
    
    .minimal-form {
        padding: 2rem;
    }
    
    .minimal-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Enhanced Hero Section Styles */
.hero-title-main {
    display: inline-block;
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.hero-title-main::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: -5%;
    width: 110%;
    height: 15px;
    background: rgba(var(--primary-rgb), 0.15);
    z-index: -1;
    transform: skewX(-15deg) rotate(-2deg);
    border-radius: 4px;
}

.typewriter-wrapper {
    display: inline-block;
    margin-top: 0.5rem;
    position: relative;
}

.typewriter-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse-dot 2s infinite;
}

.hero-text-wrapper .hero-description {
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary);
    background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.05) 0%, transparent 100%);
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 0 10px 10px 0;
    margin-bottom: 3rem;
}

@media (max-width: 992px) {
    .hero-text-wrapper .hero-description {
        border-left: none;
        border-bottom: 3px solid var(--primary);
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 1.5rem;
        background: linear-gradient(180deg, transparent 0%, rgba(var(--primary-rgb), 0.05) 100%);
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .hero-title-main::after {
        left: 50%;
        transform: translateX(-50%) skewX(-15deg) rotate(-2deg);
        width: 60%;
        bottom: 5px;
    }
    
    .typewriter-wrapper::before {
        display: none;
    }
}

/* Credibility Statement Styles */
.credibility-statement {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

/* SEO Animation */
.seo-anim-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    padding: 20px;
}

.search-browser {
    width: 90%;
    height: 180px;
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.browser-header {
    height: 30px;
    background: rgba(var(--primary-rgb), 0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}

.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
}

.browser-dot:nth-child(1) { background: #ff5f56; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #27c93f; }

.search-bar-mock {
    margin: 15px auto 10px;
    width: 80%;
    height: 24px;
    background: rgba(0,0,0,0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 8px;
}

.search-icon-mock {
    width: 10px;
    height: 10px;
    border: 1px solid var(--text-muted);
    border-radius: 50%;
    position: relative;
}

.search-icon-mock::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 4px;
    height: 1px;
    background: var(--text-muted);
    transform: rotate(45deg);
}

.search-results {
    flex: 1;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result-skeleton {
    height: 8px;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    width: 100%;
}

.result-skeleton.title {
    width: 60%;
    height: 12px;
    background: rgba(var(--primary-rgb), 0.2);
    margin-bottom: 4px;
}

/* Ranking Card Animation */
.ranking-card {
    position: absolute;
    bottom: 20px;
    right: 10%;
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    animation: float-rank 4s ease-in-out infinite;
    border: 1px solid rgba(0,0,0,0.05);
}

.rank-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.rank-text {
    display: flex;
    flex-direction: column;
}

.rank-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.rank-status {
    font-size: 12px;
    font-weight: 600;
    color: #27c93f;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Magnifying Glass */
.magnify-glass {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 60px;
    height: 60px;
    z-index: 3;
    animation: search-move 4s ease-in-out infinite;
}

.glass-lens {
    width: 40px;
    height: 40px;
    border: 4px solid var(--primary);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
}

.glass-handle {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 20px;
    height: 6px;
    background: var(--primary);
    transform: rotate(45deg);
    transform-origin: 0 50%;
}

@keyframes float-rank {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes search-move {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(40px, 20px) rotate(10deg); }
    50% { transform: translate(20px, 60px) rotate(-5deg); }
    75% { transform: translate(-20px, 30px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Dark mode adjustments */
body.dark-mode .search-browser {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.1);
}
body.dark-mode .browser-header {
    background: rgba(255,255,255,0.05);
    border-bottom-color: rgba(255,255,255,0.05);
}
body.dark-mode .search-bar-mock {
    background: rgba(255,255,255,0.1);
}
body.dark-mode .result-skeleton {
    background: rgba(255,255,255,0.1);
}
body.dark-mode .ranking-card {
    background: #222;
    border-color: rgba(255,255,255,0.1);
}
body.dark-mode .glass-lens {
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
}

/* Enhanced Performance Marketing Animation - Funnel */
.performance-anim-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.funnel-system {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
}

/* 3D Glass Funnel */
.funnel-shape {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.funnel-cone {
    width: 100px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    clip-path: polygon(0% 0%, 100% 0%, 65% 100%, 35% 100%);
    border-top: 2px solid rgba(var(--primary-rgb), 0.8);
    position: relative;
    backdrop-filter: blur(8px);
    border-left: 1px solid rgba(255,255,255,0.3);
    border-right: 1px solid rgba(255,255,255,0.3);
}

.funnel-cone::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
    clip-path: polygon(0% 0%, 100% 0%, 65% 100%, 35% 100%);
    animation: shine-sweep 3s infinite;
}

.funnel-stem {
    width: 30px;
    height: 40px;
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.3) 100%);
    margin: 0 auto;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-top: none;
    border-radius: 0 0 8px 8px;
    position: relative;
    top: -1px;
    backdrop-filter: blur(4px);
    overflow: hidden;
}

/* Animated Data/Liquid inside stem */
.funnel-stem::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background: repeating-linear-gradient(
        transparent,
        transparent 5px,
        rgba(var(--primary-rgb), 0.2) 5px,
        rgba(var(--primary-rgb), 0.2) 10px
    );
    animation: stem-flow 1s linear infinite;
}

/* Traffic Particles */
.traffic-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    opacity: 0;
    top: -30px;
    z-index: 1;
}

.traffic-particle:nth-child(1) { left: 30%; animation: particle-path-1 3s ease-in-out infinite; animation-delay: 0s; }
.traffic-particle:nth-child(2) { left: 50%; animation: particle-path-2 3s ease-in-out infinite; animation-delay: 1s; background: var(--primary); }
.traffic-particle:nth-child(3) { left: 70%; animation: particle-path-3 3s ease-in-out infinite; animation-delay: 2s; }

/* Conversion Result */
.conversion-coin {
    position: absolute;
    bottom: 10px;
    width: 24px;
    height: 24px;
    background: #C1FF72;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #1a1a1a;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-20px) rotateY(0deg);
    animation: coin-pop 3s ease-out infinite;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: 2px solid #fff;
}

.conversion-coin:nth-of-type(1) { animation-delay: 0.8s; }
.conversion-coin:nth-of-type(2) { animation-delay: 1.8s; }
.conversion-coin:nth-of-type(3) { animation-delay: 2.8s; }

/* Metric Card - Enhanced */
.metric-float {
    position: absolute;
    right: 0px;
    top: 40px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float-metric 4s ease-in-out infinite;
    z-index: 4;
    backdrop-filter: blur(4px);
}

.metric-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 16px;
    color: var(--primary);
    font-weight: 800;
}

/* Animations */
@keyframes particle-path-1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    20% { opacity: 1; }
    40% { transform: translate(10px, 40px) scale(0.8); }
    60% { transform: translate(20px, 80px) scale(0.4); opacity: 0.8; }
    100% { transform: translate(20px, 100px) scale(0.1); opacity: 0; }
}

@keyframes particle-path-2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    20% { opacity: 1; }
    40% { transform: translate(0, 40px) scale(0.8); }
    60% { transform: translate(0, 80px) scale(0.4); opacity: 0.8; }
    100% { transform: translate(0, 100px) scale(0.1); opacity: 0; }
}

@keyframes particle-path-3 {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    20% { opacity: 1; }
    40% { transform: translate(-10px, 40px) scale(0.8); }
    60% { transform: translate(-20px, 80px) scale(0.4); opacity: 0.8; }
    100% { transform: translate(-20px, 100px) scale(0.1); opacity: 0; }
}

@keyframes stem-flow {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

@keyframes coin-pop {
    0% { transform: translateY(-40px) scale(0.5) rotateY(0deg); opacity: 0; }
    40% { opacity: 1; transform: translateY(10px) scale(1.1) rotateY(180deg); }
    50% { transform: translateY(10px) scale(1) rotateY(180deg); }
    80% { transform: translateY(40px) rotateY(360deg); opacity: 1; }
    100% { transform: translateY(50px) rotateY(360deg); opacity: 0; }
}

@keyframes shine-sweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes float-metric {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Dark mode adjustments */
body.dark-mode .metric-float {
    background: rgba(30, 30, 30, 0.9);
    border-color: rgba(255,255,255,0.1);
}
body.dark-mode .conversion-coin {
    color: #000;
    border-color: #333;
}
body.dark-mode .funnel-cone {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255,255,255,0.1);
}

/* Social Media Animation */
.social-anim-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.social-card {
    width: 160px;
    height: 240px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    animation: card-float 6s ease-in-out infinite;
    border: 1px solid rgba(0,0,0,0.05);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.profile-line {
    height: 6px;
    border-radius: 3px;
    background: #f0f0f0;
    width: 80%;
}

.profile-line.short {
    width: 50%;
}

.post-image {
    width: 100%;
    height: 100px;
    background: #f8f8f8;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.post-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transform: translateX(-100%);
    animation: shine-sweep 3s infinite;
}

.post-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.action-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f0f0f0;
}

.action-btn.active {
    background: #ff5f56;
    animation: heart-beat 1.5s infinite;
}

/* Floating Reactions */
.reaction-stream {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 300px;
    pointer-events: none;
    z-index: 3;
}

.reaction-icon {
    position: absolute;
    bottom: 0;
    font-size: 20px;
    opacity: 0;
    animation: float-up-fade 4s ease-in infinite;
}

.reaction-icon:nth-child(1) { left: 10px; animation-delay: 0s; color: #ff5f56; font-size: 24px; }
.reaction-icon:nth-child(2) { left: 40px; animation-delay: 1.5s; color: #3b82f6; }
.reaction-icon:nth-child(3) { left: 70px; animation-delay: 2.5s; color: #ff5f56; font-size: 18px; }
.reaction-icon:nth-child(4) { left: 25px; animation-delay: 3.5s; color: #ec4899; }

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -10px;
    right: -15px;
    background: #ff5f56;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 95, 86, 0.4);
    animation: pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: scale(0);
    animation-delay: 1s;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Keyframes */
@keyframes card-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes heart-beat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.3); }
}

@keyframes float-up-fade {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    20% { opacity: 1; transform: translateY(-40px) scale(1.1); }
    80% { opacity: 1; transform: translateY(-160px) scale(1); }
    100% { transform: translateY(-200px) scale(0.8); opacity: 0; }
}

@keyframes pop-in {
    to { opacity: 1; transform: scale(1); }
}

/* Dark Mode */
body.dark-mode .social-card {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.1);
}
body.dark-mode .profile-line,
body.dark-mode .post-image,
body.dark-mode .action-btn {
    background: rgba(255,255,255,0.1);
}
body.dark-mode .action-btn.active {
    background: #ff5f56;
}
body.dark-mode .post-image::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* Web Development Animation */
.web-anim-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.laptop-wrapper {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(5deg) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.web-anim-container:hover .laptop-wrapper {
    transform: rotateX(0deg) rotateY(0deg);
}

.laptop-frame {
    width: 240px;
    height: 150px;
    background: #e0e0e0;
    border-radius: 12px 12px 0 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform-style: preserve-3d;
    border: 1px solid rgba(0,0,0,0.1);
    background: linear-gradient(to bottom, #f0f0f0, #dcdcdc);
}

.laptop-camera {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
    z-index: 5;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

.laptop-screen {
    position: absolute;
    top: 14px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: #1e1e1e;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.screen-header {
    height: 16px;
    background: #2d2d2d;
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 4px;
    border-bottom: 1px solid #333;
}

.window-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.window-dot.red { background: #ff5f56; }
.window-dot.yellow { background: #ffbd2e; }
.window-dot.green { background: #27c93f; }

.code-window {
    flex: 1;
    padding: 12px;
    font-family: 'Consolas', 'Monaco', monospace;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

/* Subtle scanline effect */
.code-window::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    opacity: 0.3;
}

.code-line {
    height: 6px;
    border-radius: 2px;
    width: 0;
    animation: type-code 3s steps(20) infinite;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.code-line:nth-child(1) { width: 50%; animation-delay: 0s; background: #cc7832; } /* Keyword */
.code-line:nth-child(2) { width: 70%; animation-delay: 0.8s; margin-left: 15px; background: #6a8759; } /* String */
.code-line:nth-child(3) { width: 40%; animation-delay: 1.6s; margin-left: 15px; background: #9876aa; } /* Function */
.code-line:nth-child(4) { width: 60%; animation-delay: 2.4s; background: #e8bf6a; } /* Variable */

.cursor {
    display: inline-block;
    width: 2px;
    height: 40px;
    background: #a9b7c6;
    animation: blink 1s step-end infinite;
    margin-left: 10px;
    vertical-align: middle;
}

.laptop-base {
    position: absolute;
    bottom: -12px;
    left: -10%;
    width: 120%;
    height: 14px;
    background: linear-gradient(to bottom, #dcdcdc, #b0b0b0);
    border-radius: 0 0 16px 16px;
    transform: translateZ(20px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.laptop-base::before { /* Notch */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(0,0,0,0.1);
    border-radius: 0 0 4px 4px;
}

/* Floating UI Elements */
.ui-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    padding: 8px 16px;
    border: 1px solid rgba(0,0,0,0.05);
    animation: float-ui 5s ease-in-out infinite;
    white-space: nowrap;
}

.ui-element.speed {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.ui-element.responsive {
    bottom: 15%;
    left: 5%;
    animation-delay: 2.5s;
}

.ui-icon {
    margin-right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

@keyframes type-code {
    0% { width: 0; opacity: 1; }
    30% { width: var(--w); opacity: 1; }
    90% { width: var(--w); opacity: 1; }
    100% { opacity: 0; }
}

@keyframes blink {
    50% { opacity: 0; }
}

@keyframes float-ui {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Dark Mode */
body.dark-mode .laptop-frame {
    background: linear-gradient(to bottom, #444, #333);
    border-color: #555;
}
body.dark-mode .laptop-base {
    background: linear-gradient(to bottom, #333, #222);
}
body.dark-mode .screen-header {
    background: #252526;
    border-color: #333;
}
body.dark-mode .ui-element {
    background: rgba(30, 30, 30, 0.9);
    border-color: rgba(255,255,255,0.1);
    color: #e0e0e0;
}

/* Brand Creative & Media Production Animation */
.production-set-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    background: radial-gradient(circle at center, rgba(0,0,0,0.02) 0%, transparent 70%);
    overflow: hidden;
}

.stage-floor {
    position: absolute;
    bottom: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 60%);
    transform: rotateX(70deg);
    border-radius: 50%;
}

.spotlight-beam {
    position: absolute;
    top: -50px;
    width: 100px;
    height: 300px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    transform-origin: top center;
    filter: blur(10px);
    opacity: 0;
    pointer-events: none;
}

.spotlight-left {
    left: 20px;
    transform: rotate(20deg);
    animation: spotlight-pulse 4s ease-in-out infinite alternate;
}

.spotlight-right {
    right: 20px;
    transform: rotate(-20deg);
    animation: spotlight-pulse 4s ease-in-out infinite alternate-reverse;
}

.hero-clapperboard {
    position: relative;
    width: 140px;
    height: 120px;
    z-index: 10;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(5deg);
    animation: float-clapper 6s ease-in-out infinite;
}

.clapper-top {
    position: absolute;
    top: -30px;
    left: 0;
    width: 140px;
    height: 30px;
    background: #222;
    border-radius: 4px;
    transform-origin: bottom left;
    transform: rotate(-25deg);
    animation: clap-action 4s ease-in-out infinite;
    display: flex;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.clapper-stripe {
    width: 20px;
    height: 100%;
    background: #fff;
    transform: skewX(-20deg);
    margin-left: 15px;
}

.clapper-body {
    width: 140px;
    height: 100px;
    background: #222;
    border-radius: 4px;
    color: #fff;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 2px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.clapper-info {
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 8px;
    opacity: 0.8;
    text-transform: uppercase;
}

.clapper-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
    letter-spacing: 1px;
}

.clapper-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-top: auto;
}

.detail-box {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 4px;
    font-size: 8px;
    text-align: center;
}

.camera-lens-floating {
    position: absolute;
    top: 50%;
    right: -40px;
    width: 80px;
    height: 80px;
    background: #111;
    border-radius: 50%;
    border: 4px solid #333;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    animation: float-lens 7s ease-in-out infinite reverse;
}

.lens-glass {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(var(--primary-rgb), 0.5), #000);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.lens-reflection {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    transform: rotate(-45deg);
}

.rec-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff0000;
    animation: blink-rec 1s step-end infinite;
    z-index: 20;
}

.floating-script {
    position: absolute;
    bottom: 20px;
    left: -30px;
    width: 100px;
    height: 140px;
    background: #fff;
    border-radius: 4px;
    padding: 10px;
    transform: rotate(-10deg) translateZ(-50px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: float-script 8s ease-in-out infinite 1s;
    z-index: 1;
    opacity: 0.9;
}

.script-lines {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.s-line {
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    width: 100%;
}

.s-line:nth-child(odd) { width: 70%; }
.s-line:nth-child(1) { width: 40%; background: var(--primary); margin-bottom: 5px; height: 6px; }

@keyframes clap-action {
    0%, 45% { transform: rotate(-25deg); }
    50% { transform: rotate(0deg); } /* Clap! */
    55% { transform: rotate(-10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(-25deg); }
}

@keyframes spotlight-pulse {
    0% { opacity: 0.3; transform: rotate(15deg) scaleY(1); }
    100% { opacity: 0.6; transform: rotate(25deg) scaleY(1.1); }
}

@keyframes float-clapper {
    0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-10deg) rotateX(2deg) translateY(-10px); }
}

@keyframes float-lens {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

@keyframes float-script {
    0%, 100% { transform: rotate(-10deg) translateZ(-50px) translateY(0); }
    50% { transform: rotate(-5deg) translateZ(-50px) translateY(-8px); }
}

@keyframes blink-rec {
    50% { opacity: 0.3; }
}

/* Dark Mode */
body.dark-mode .floating-script {
    background: #333;
    color: #fff;
}
body.dark-mode .s-line {
    background: #444;
}
body.dark-mode .s-line:nth-child(1) {
    background: var(--primary);
}
body.dark-mode .production-set-container {
    background: radial-gradient(circle at center, rgba(255,255,255,0.02) 0%, transparent 70%);
}

/* 3D Animation Section */
.tesseract-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 800px;
    overflow: hidden;
}

.tesseract-scene {
    position: relative;
    width: 120px;
    height: 120px;
    transform-style: preserve-3d;
    animation: rotate-scene 10s linear infinite;
}

.cube {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.cube.outer {
    width: 120px;
    height: 120px;
    animation: pulse-outer 4s ease-in-out infinite alternate;
}

.cube.inner {
    width: 60px;
    height: 60px;
    top: 30px;
    left: 30px;
    animation: rotate-inner 5s linear infinite reverse;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: visible;
}

.cube.outer .cube-face {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
}

.cube.inner .cube-face {
    background: rgba(var(--primary-rgb), 0.2);
    border-color: var(--primary);
    box-shadow: inset 0 0 10px rgba(var(--primary-rgb), 0.4);
}

/* Cube Face Transformations */
.front  { transform: rotateY(0deg) translateZ(60px); }
.back   { transform: rotateY(180deg) translateZ(60px); }
.right  { transform: rotateY(90deg) translateZ(60px); }
.left   { transform: rotateY(-90deg) translateZ(60px); }
.top    { transform: rotateX(90deg) translateZ(60px); }
.bottom { transform: rotateX(-90deg) translateZ(60px); }

/* Inner Cube needs smaller translateZ */
.cube.inner .front  { transform: rotateY(0deg) translateZ(30px); }
.cube.inner .back   { transform: rotateY(180deg) translateZ(30px); }
.cube.inner .right  { transform: rotateY(90deg) translateZ(30px); }
.cube.inner .left   { transform: rotateY(-90deg) translateZ(30px); }
.cube.inner .top    { transform: rotateX(90deg) translateZ(30px); }
.cube.inner .bottom { transform: rotateX(-90deg) translateZ(30px); }

.grid-floor {
    position: absolute;
    bottom: -80px;
    width: 300px;
    height: 300px;
    background: 
        linear-gradient(rgba(var(--primary-rgb), 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: rotateX(90deg);
    transform-style: preserve-3d;
    mask-image: radial-gradient(circle, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, black 30%, transparent 70%);
    animation: move-grid 4s linear infinite;
}

.floating-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--primary);
    animation: float-particle 3s ease-in-out infinite;
}

.p1 { top: 20%; left: 20%; animation-delay: 0s; }
.p2 { top: 80%; left: 80%; animation-delay: 1s; }
.p3 { top: 20%; left: 80%; animation-delay: 2s; }
.p4 { top: 80%; left: 20%; animation-delay: 1.5s; }

@keyframes rotate-scene {
    0% { transform: rotateX(-15deg) rotateY(0deg); }
    100% { transform: rotateX(-15deg) rotateY(360deg); }
}

@keyframes rotate-inner {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

@keyframes pulse-outer {
    0% { transform: scale3d(1, 1, 1); }
    100% { transform: scale3d(1.1, 1.1, 1.1); }
}

@keyframes move-grid {
    0% { background-position: 0 0; }
    100% { background-position: 0 20px; }
}

@keyframes float-particle {
    0%, 100% { transform: translateZ(0) scale(1); opacity: 0.5; }
    50% { transform: translateZ(50px) scale(1.5); opacity: 1; }
}

/* Dark Mode */
body.dark-mode .cube.outer .cube-face {
    border-color: rgba(var(--primary-rgb), 0.6);
    background: rgba(var(--primary-rgb), 0.05);
}
body.dark-mode .grid-floor {
    background: 
        linear-gradient(rgba(255,255,255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.credibility-title {
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted) !important;
    margin-bottom: 1rem !important;
    font-weight: 600;
}

.credibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
    backdrop-filter: blur(5px);
    text-decoration: none;
    transition: all 0.3s ease;
}

.credibility-badge:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
}

.credibility-badge strong {
    color: var(--primary);
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@media (max-width: 992px) {
    .credibility-statement {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-top: none;
        margin-top: 2rem;
        padding-top: 0;
    }
    
    .credibility-badge {
        text-align: left;
        max-width: 100%;
        justify-content: center;
    }
}

/* =========================================
   TAG 8 PARTNERSHIP - "THE EDITORIAL" THEME
   ========================================= */

.t8-wrapper {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    position: relative;
    width: 100%;
}

.t8-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* Typography */
.t8-big-title {
    font-family: 'LEMON MILK', sans-serif;
    font-size: clamp(4rem, 15vw, 12rem);
    line-height: 0.8;
    color: var(--text-main);
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -0.02em;
}

.t8-hero-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0;
}

/* Invert logo for dark mode to make black text white, and rotate hue to correct blue->yellow */
body.dark-mode .t8-hero-logo {
    filter: invert(1) hue-rotate(180deg);
}

.t8-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.t8-lead {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 600px;
    font-weight: 300;
}

.t8-label {
    font-family: 'LEMON MILK', sans-serif;
    font-size: 0.875rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    display: block;
    position: relative;
    padding-left: 3rem;
}

.t8-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 1px;
    background-color: var(--primary);
}

/* Hero Section */
.t8-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.t8-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8; /* Make video more visible */
}

/* Dark overlay for video text readability */
.t8-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--bg-light-rgb, 255, 255, 255), 0.4); /* Reduced opacity from 0.85 to 0.4 */
    z-index: 1;
    /* backdrop-filter: blur(2px); Removed for better video visibility */
}

body.dark-mode .t8-hero::before {
    background: rgba(5, 5, 5, 0.4); /* Reduced dark mode opacity */
}

body.dark-mode .t8-hero {
    /* No background image overrides needed */
}

.t8-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-light), transparent);
    pointer-events: none;
    z-index: 2;
}

.t8-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100%;
    /* Subtle radial gradient instead of grid */
    background: radial-gradient(circle at 70% 50%, rgba(var(--primary-rgb), 0.15), transparent 60%);
    z-index: 2;
    pointer-events: none;
}

.t8-hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 3;
}

.t8-hero-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .t8-hero-logo {
        max-width: 280px;
    }
    
    .t8-heading {
        font-size: 2.5rem;
    }
}

.t8-pill {
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: var(--text-main);
}

body.dark-mode .t8-pill {
    border-color: rgba(255, 255, 255, 0.2);
}

.t8-pill:hover {
    background: var(--text-main);
    color: var(--bg-light);
    border-color: var(--text-main);
}

.t8-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(var(--primary-rgb), 0.15), transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* Sections */
.t8-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.t8-mandate-section .t8-lead {
    margin-bottom: 3rem;
}

body.dark-mode .t8-section {
    border-top-color: rgba(255, 255, 255, 0.05);
}

/* Brand Section */
.t8-brand-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Mandate Grid */
.t8-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

/* Background decoration for the grid to reduce emptiness */
.t8-grid::before {
    content: 'STRATEGY';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    font-family: 'LEMON MILK', sans-serif;
    font-size: 15vw;
    color: var(--text-main);
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
    white-space: nowrap;
}

.t8-card {
    background: rgba(var(--primary-rgb), 0.03);
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

body.dark-mode .t8-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.t8-card:hover {
    background: rgba(var(--primary-rgb), 0.08);
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px -10px rgba(var(--primary-rgb), 0.2);
}

body.dark-mode .t8-card:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.t8-card-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.t8-card:hover .t8-card-icon {
    transform: scale(1.1);
}

.t8-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.t8-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Approach List */
.t8-step-list {
    margin-top: 4rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .t8-step-list {
    border-left-color: rgba(255, 255, 255, 0.1);
}

.t8-step {
    padding: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    transition: background 0.3s ease;
}

body.dark-mode .t8-step {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.t8-step:hover {
    background: rgba(var(--primary-rgb), 0.02);
}

body.dark-mode .t8-step:hover {
    background: rgba(255, 255, 255, 0.02);
}

.t8-step::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: top;
}

.t8-step:hover::before {
    transform: scaleY(1);
}

.t8-step-num {
    font-family: 'LEMON MILK', sans-serif;
    font-size: 4rem;
    color: var(--text-main);
    opacity: 0.05;
    position: absolute;
    right: 2rem;
    top: 1rem;
    z-index: 0;
}

.t8-step-content {
    position: relative;
    z-index: 1;
}

.t8-step-content h3 {
    color: var(--text-main);
}

.t8-step-content p {
    color: var(--text-muted);
}

/* Outcome Section */
.t8-outcome-box {
    background: var(--primary);
    color: #ffffff;
    padding: 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.t8-outcome-text {
    font-family: 'LEMON MILK', sans-serif;
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

.t8-outcome-sub {
    font-size: 1.25rem;
    margin-top: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 992px) {
    .t8-brand-grid {
        grid-template-columns: 1fr;
    }
    
    .t8-hero {
        padding-top: 8rem;
    }
}

@media (max-width: 768px) {
    .t8-section {
        padding: 4rem 0;
    }
    
    .t8-hero {
        padding: 10rem 0 4rem 0; /* Increased top padding */
        min-height: auto;
    }
    
    .t8-big-title {
        font-size: 3.5rem; /* Fallback/Specific override if clamp feels too big */
    }
    
    .t8-heading {
        font-size: 2.5rem;
    }

    .t8-card {
        padding: 2rem;
    }

    .t8-step {
        padding: 2rem 1rem;
    }

    .t8-step-num {
        position: relative;
        font-size: 3rem;
        margin-bottom: 0.5rem;
        display: block;
        top: auto;
        right: auto;
    }

    .t8-outcome-box {
        padding: 3rem 1.5rem;
    }
    
    /* Specific fix for market strategy spacing */
    .t8-mandate-section {
        padding-bottom: 0;
    }
    
    .t8-mandate-section .t8-lead {
        margin-bottom: 1.5rem;
    }

    .t8-grid {
        margin-top: 2rem;
        gap: 1.5rem;
    }
    
    .t8-container {
        padding: 0 1.5rem;
    }
}

/* Growth Animation */
.growth-animation-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 20px;
}

.growth-bar {
    width: 12%;
    background: linear-gradient(to top, rgba(var(--primary-rgb), 0.2), var(--primary));
    border-radius: 4px 4px 0 0;
    transform-origin: bottom;
    animation: growBar 2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.growth-bar:nth-child(1) { height: 30%; animation-delay: 0s; }
.growth-bar:nth-child(2) { height: 50%; animation-delay: 0.2s; }
.growth-bar:nth-child(3) { height: 40%; animation-delay: 0.4s; }
.growth-bar:nth-child(4) { height: 70%; animation-delay: 0.6s; }
.growth-bar:nth-child(5) { height: 90%; animation-delay: 0.8s; }

@keyframes growBar {
    0% { transform: scaleY(0.5); opacity: 0.7; }
    100% { transform: scaleY(1); opacity: 1; }
}

.growth-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.growth-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawLine 4s ease-in-out infinite;
}

@keyframes drawLine {
    0% { stroke-dashoffset: 400; opacity: 0; }
    10% { opacity: 1; }
    50% { stroke-dashoffset: 0; opacity: 1; }
    90% { stroke-dashoffset: 0; opacity: 0; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

.floating-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--bg-light);
    border: 2px solid var(--primary);
    border-radius: 50%;
    z-index: 3;
    opacity: 0;
    box-shadow: 0 0 10px var(--primary);
    animation: popIn 4s ease-in-out infinite;
}

.node-1 { left: 16%; bottom: 30%; animation-delay: 0.1s; }
.node-2 { left: 34%; bottom: 50%; animation-delay: 0.6s; }
.node-3 { left: 52%; bottom: 40%; animation-delay: 1.1s; }
.node-4 { left: 69%; bottom: 70%; animation-delay: 1.6s; }
.node-5 { left: 86%; bottom: 90%; animation-delay: 2.1s; }

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    10% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1); opacity: 1; }
    80% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}




/* Strategic Partnership Section */
.partnership-section {
    padding: 8rem 5%;
    background: #0f0f0f; /* Slightly lighter than pure black */
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.partnership-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.partnership-content .section-tag {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.partnership-content .section-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.partnership-content .section-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 500px;
}

.partnership-content .section-subtitle strong {
    color: #ffffff;
    font-weight: 600;
}

.partnership-stats {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'LEMON MILK', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
}

.partnership-cta {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.btn-secondary-text {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.btn-secondary-text:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Media Side */
.partnership-media {
    position: relative;
    padding: 2rem;
}

.media-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.media-card:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.partnership-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.partner-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-info h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.partner-info p {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin: 0;
}

/* Collaboration Placeholder */
.collaboration-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.collaboration-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.8;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(var(--primary-rgb), 0.3));
}

.placeholder-text {
    font-family: 'LEMON MILK', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #ffffff;
    opacity: 0.9;
    z-index: 2;
}

.collaboration-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%);
    animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Decorative Elements */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: #4d4dff; /* Blue accent */
    bottom: -50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
    100% { transform: translate(0, 0); }
}

/* Responsive */
@media (max-width: 1024px) {
    .partnership-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .partnership-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .partnership-stats {
        justify-content: center;
    }

    .partnership-cta {
        flex-direction: column;
        width: 100%;
    }

    .media-card {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .media-card:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .partnership-section {
        padding: 4rem 1.5rem;
    }

    .partnership-content .section-title {
        font-size: 2.2rem;
        word-wrap: break-word;
    }

    .partnership-stats {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }

    .stat-item {
        align-items: center;
    }

    .stat-line {
        width: 50%;
        height: 1px;
        margin: 0.5rem auto;
    }

    .partnership-media {
        padding: 0;
        margin-top: 2rem;
        width: 100%;
    }

    .media-card {
        aspect-ratio: 16/9;
        border-radius: 16px;
    }

    .media-overlay {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .partner-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.25rem 0.75rem;
        font-size: 0.7rem;
    }

    .partner-info h3 {
        font-size: 1.5rem;
    }

    .partnership-cta {
        width: 100%;
        align-items: center;
    }
    
    .partnership-cta a {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: block; /* Ensure width works */
        box-sizing: border-box; /* Include padding in width */
    }
}

/* Partnerships Page Styles */
.page-header {
    padding: 12rem 5% 4rem;
    background: var(--bg-subtle);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.partner-card {
    background: var(--bg-light);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.partner-media {
    height: 240px;
    overflow: hidden;
    position: relative;
    background: var(--bg-subtle);
}

.partner-media video, .partner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.partner-card:hover .partner-media video,
.partner-card:hover .partner-media img {
    transform: scale(1.05);
}

.partner-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.partner-tag {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
    display: block;
    font-weight: 600;
}

.partner-title {
    font-size: 1.75rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.partner-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex: 1;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-top: auto;
}

.partner-link:hover {
    color: var(--primary);
}

.cta-card {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0.1) 100%);
    border: 1px dashed rgba(var(--primary-rgb), 0.3);
}

.cta-card h3 {
    color: var(--text-main);
    margin: 1.5rem 0 1rem;
    font-size: 1.75rem;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
        padding: 2rem 5%;
    }
    
    .page-header {
        padding: 8rem 5% 2rem;
    }
}
