/* ============================================
   CODIFY - Main Stylesheet
   Version: 2.0 (2025)
   ============================================ */

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Colors - Dark Theme */
    --primary-dark: #0a0a0f;
    --secondary-dark: #0f0f1a;
    --tertiary-dark: #151528;
    --surface-dark: #1a1a2e;
    
    /* Accent Colors */
    --accent-cyan: #00f7ff;
    --accent-blue: #0066ff;
    --accent-purple: #9d00ff;
    --accent-pink: #ff00cc;
    --accent-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    --accent-gradient-2: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    
    /* Text Colors */
    --text-primary: #f0f0f0;
    --text-secondary: #b0b0c0;
    --text-muted: #707080;
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    --glass-blur: blur(20px);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow-cyan: 0 0 20px rgba(0, 247, 255, 0.2);
    --shadow-glow-purple: 0 0 20px rgba(157, 0, 255, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
}

/* Light Theme Variables */
[data-theme="light"] {
    --primary-dark: #f5f5f7;
    --secondary-dark: #ffffff;
    --tertiary-dark: #e8e8ed;
    --surface-dark: #ffffff;
    
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #8a8a9a;
    
    --glass-bg: rgba(0, 0, 0, 0.02);
    --glass-bg-hover: rgba(0, 0, 0, 0.04);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-border-hover: rgba(0, 0, 0, 0.12);
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
    transition: background-color var(--transition-slow), color var(--transition-slow);
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
    position: relative;
}

.bg-alt {
    background-color: var(--secondary-dark);
}

/* ==================== CUSTOM CURSOR ==================== */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(0, 247, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transition: all 0.15s ease;
}

.cursor-hover {
    transform: scale(1.5);
    background: rgba(0, 247, 255, 0.3);
    border-color: transparent;
}

@media (max-width: 768px) {
    .custom-cursor,
    .cursor-follower {
        display: none;
    }
    body {
        cursor: auto;
    }
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple));
    border-radius: 3px;
}

/* ==================== HEADER / NAVIGATION ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 4px 0;
    transition: all var(--transition-base);
    background-color: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

header.scrolled {
    padding: 2px 0;
    box-shadow: var(--shadow-md);
    border-bottom-color: rgba(0, 247, 255, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: var(--text-xl);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    z-index: 1001;
    animation: logoFloat 4s ease-in-out infinite;
}

.logo-text {
    display: inline-block;
}

.custom-logo {
    width: 90px;        /* 60px se 100px */
    height: 9;       /* 60px se 100px */
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 247, 255, 0.5));
    transition: all var(--transition-base);
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-base);
    border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.btn-cv {
    background: var(--accent-gradient-2);
    color: white !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: var(--text-xs) !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(157, 0, 255, 0.3);
    margin-left: 8px;
}

.btn-cv:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 204, 0.4);
    background: var(--accent-gradient-2) !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-cyan);
    font-size: var(--text-2xl);
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.mobile-toggle:hover {
    background: var(--glass-bg);
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 70% 20%, rgba(157, 0, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(0, 247, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 60%);
    z-index: -2;
    animation: gradientShift 15s ease-in-out infinite alternate;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: var(--text-5xl);
    line-height: 1.15;
    margin-bottom: 16px;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--primary-dark);
    box-shadow: var(--shadow-glow-cyan);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 247, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--glass-border);
}

.btn-secondary:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-purple);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
}

.btn-cv-hero {
    background: var(--accent-gradient-2);
    color: white;
    box-shadow: 0 4px 15px rgba(157, 0, 255, 0.3);
}

.btn-cv-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 0, 204, 0.4);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-animation {
    width: 100%;
    max-width: 400px;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 247, 255, 0.5))
            drop-shadow(0 0 60px rgba(157, 0, 255, 0.3));
    animation: floatRotate 6s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, 
        rgba(0, 247, 255, 0.15) 0%,
        rgba(157, 0, 255, 0.1) 30%,
        transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 4s ease-in-out infinite;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.float-el {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    color: var(--accent-cyan);
    animation: floatAround 8s ease-in-out infinite;
}

.el-1 { top: 10%; left: 10%; animation-delay: 0s; }
.el-2 { top: 60%; right: 5%; animation-delay: 2s; }
.el-3 { bottom: 15%; left: 20%; animation-delay: 4s; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: var(--text-xs);
    animation: bounceDown 2s ease-in-out infinite;
}

/* ==================== SECTION TITLES ==================== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: var(--text-xs);
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title h2 {
    font-size: var(--text-4xl);
    margin-bottom: 16px;
    font-weight: 700;
}

.section-title p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: var(--text-lg);
}

/* ==================== SERVICES SECTION ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(0, 247, 255, 0.06), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: var(--text-2xl);
    color: var(--primary-dark);
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: var(--text-xl);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-features li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li i {
    color: var(--accent-cyan);
    font-size: var(--text-xs);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: var(--text-sm);
    position: relative;
    z-index: 1;
}

.service-cta:hover {
    gap: 12px;
}

/* ==================== WHY CHOOSE US ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature-item:hover {
    border-color: rgba(157, 0, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-purple);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient-2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: var(--text-xl);
    color: white;
}

.feature-item h3 {
    font-size: var(--text-lg);
    margin-bottom: 8px;
}

.counter {
    font-size: var(--text-3xl);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 8px 0;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* ==================== TECHNOLOGIES MARQUEE ==================== */
.marquee-wrapper {
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: var(--text-lg);
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition-base);
}

.marquee-item:hover {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow-cyan);
}

.marquee-item i {
    font-size: var(--text-2xl);
    color: var(--accent-cyan);
}

/* ==================== PORTFOLIO SECTION ==================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-gradient);
    color: var(--primary-dark);
    border-color: transparent;
    box-shadow: var(--shadow-glow-cyan);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 300px;
    cursor: pointer;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all var(--transition-base);
    padding: 30px;
    text-align: center;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-card:hover img {
    transform: scale(1.08);
}

.portfolio-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-gradient);
    border-radius: 50px;
    font-size: var(--text-xs);
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.portfolio-overlay h3 {
    font-size: var(--text-xl);
    margin-bottom: 8px;
}

.portfolio-overlay p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: 12px;
}

.portfolio-tech {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.portfolio-tech span {
    padding: 4px 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: var(--text-xs);
    color: var(--accent-cyan);
}

/* ==================== PROCESS SECTION ==================== */
.process-steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple));
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    min-width: 72px;
    height: 72px;
    background: var(--glass-bg);
    border: 2px solid var(--accent-cyan);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--accent-cyan);
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.process-step:hover .step-number {
    background: var(--accent-cyan);
    color: var(--primary-dark);
    box-shadow: var(--shadow-glow-cyan);
}

.step-content {
    padding-top: 12px;
}

.step-content h3 {
    font-size: var(--text-xl);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* ==================== ABOUT SECTION ==================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3,
.about-timeline h3 {
    font-size: var(--text-2xl);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--glass-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 28px;
    padding-left: 24px;
}

.timeline-dot {
    position: absolute;
    left: -31px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    border: 3px solid var(--primary-dark);
}

.timeline-content h4 {
    font-size: var(--text-base);
    color: var(--accent-cyan);
    margin-bottom: 4px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* ==================== PRICING SECTION ==================== */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    font-weight: 500;
}

.save-badge {
    background: var(--accent-gradient);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: var(--text-xs);
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 34px;
    transition: all var(--transition-base);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--accent-cyan);
    border-radius: 50%;
    transition: all var(--transition-base);
}

input:checked + .toggle-slider {
    background: var(--accent-gradient);
    border-color: transparent;
}

input:checked + .toggle-slider::before {
    transform: translateX(28px);
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow-purple);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient-2);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: var(--text-xs);
    font-weight: 600;
}

.pricing-header h3 {
    font-size: var(--text-2xl);
    margin-bottom: 4px;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.pricing-price {
    margin: 24px 0;
}

.price-amount {
    font-size: var(--text-5xl);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price-period {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.pricing-features li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.pricing-features li i {
    color: var(--accent-cyan);
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}

/* Purani slider CSS ko replace karein */
.testimonial-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    animation: none !important;  /* ❌ Animation off */
    transform: none !important;   /* ❌ Slide animation off */
    width: 100% !important;
}

.testimonial-card {
    min-width: 350px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: var(--text-sm);
}

.testimonial-card > p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--accent-cyan);
}

.testimonial-author h4 {
    font-size: var(--text-base);
}

.testimonial-author span {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

/* .testimonial-prev,
.testimonial-next {
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: var(--primary-dark);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    background: var(--glass-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonial-dot.active {
    background: var(--accent-cyan);
    width: 24px;
    border-radius: 5px;
} */

/* ==================== FAQ SECTION ==================== */
.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--glass-border-hover);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
}

.faq-question h3 {
    font-size: var(--text-base);
    font-weight: 600;
}

.faq-question i {
    transition: transform var(--transition-base);
    color: var(--accent-cyan);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* ==================== CTA SECTION ==================== */
.cta {
    text-align: center;
    padding: 80px 40px;
    background: radial-gradient(ellipse at center, rgba(157, 0, 255, 0.08) 0%, rgba(0, 247, 255, 0.04) 50%, transparent 70%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 247, 255, 0.05), transparent, rgba(157, 0, 255, 0.05), transparent);
    animation: rotateGlow 10s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: var(--text-3xl);
    margin-bottom: 16px;
}

.cta p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: var(--text-lg);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== CONTACT SECTION ==================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form h3 {
    font-size: var(--text-2xl);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow-cyan);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.contact-card:hover {
    transform: translateX(8px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow-purple);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--accent-gradient-2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    color: white;
}

.contact-card h3 {
    font-size: var(--text-base);
}

.contact-card a,
.contact-card p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--secondary-dark);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 80px;        /* 50px se 80px */
    height: 80px;       /* 50px se 80px */
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 247, 255, 0.4));
}

.footer-logo-text {
    font-size: var(--text-2xl);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent-gradient);
    color: var(--primary-dark);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: var(--text-lg);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

.footer-col ul li a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: var(--text-sm);
}

.newsletter-form button {
    width: 42px;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--primary-dark);
    cursor: pointer;
    transition: all var(--transition-base);
}

.newsletter-form button:hover {
    box-shadow: var(--shadow-glow-cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--glass-border);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

/* ==================== FLOATING BUTTONS ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all var(--transition-base);
    animation: bounceIn 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ==================== BACK TO TOP BUTTON ==================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-full);
    color: var(--primary-dark);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 247, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 247, 255, 0.5);
}

.back-to-top:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

.dark-mode-toggle {
    position: fixed;
    bottom: 168px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    transition: all var(--transition-base);
}

.dark-mode-toggle:hover {
    background: var(--accent-gradient);
    border-color: transparent;
}

/* ==================== AI CHATBOT ==================== */
.ai-chatbot {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.chatbot-trigger {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-full);
    color: var(--primary-dark);
    font-size: var(--text-2xl);
    cursor: pointer;
    box-shadow: var(--shadow-glow-cyan);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-trigger:hover {
    transform: scale(1.1);
}

.chatbot-window {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 340px;
    background: var(--surface-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: none;
    box-shadow: var(--shadow-lg);
}

.chatbot-window.active {
    display: block;
    animation: slideUp 0.3s ease;
}

.chatbot-header {
    background: var(--accent-gradient);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-dark);
}

.chatbot-header h3 {
    font-size: var(--text-base);
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-header button {
    background: none;
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: var(--text-lg);
}

.chatbot-messages {
    height: 300px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bot-message p {
    background: var(--glass-bg);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    display: inline-block;
}

.quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-options button {
    padding: 8px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--accent-cyan);
    cursor: pointer;
    font-size: var(--text-xs);
    font-family: 'Poppins', sans-serif;
    transition: all var(--transition-base);
}

.quick-options button:hover {
    background: var(--accent-cyan);
    color: var(--primary-dark);
    border-color: transparent;
}

.user-message {
    text-align: right;
}

.user-message p {
    background: var(--accent-gradient);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    display: inline-block;
    color: var(--primary-dark);
}

.chatbot-input {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--glass-border);
}

.chatbot-input input {
    flex: 1;
    padding: 10px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: var(--text-sm);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-full);
    color: var(--primary-dark);
    cursor: pointer;
}

/* ==================== REVEAL ANIMATIONS ==================== */
.reveal {
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal.fade-up {
    transform: translateY(50px);
}

.reveal.fade-left {
    transform: translateX(-50px);
}

.reveal.fade-right {
    transform: translateX(50px);
}

.reveal.zoom-in {
    transform: scale(0.9);
}

.reveal.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ==================== KEYFRAMES ==================== */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

@keyframes floatRotate {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.08); }
}

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(10px, -15px); }
    50% { transform: translate(-5px, -25px); }
    75% { transform: translate(-15px, -10px); }
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounceIn {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ==================== FOUNDER PORTFOLIO ==================== */
#founder-portfolio .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.portfolio-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.btn-sm {
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
}

/* ==================== PROGRESS BARS ==================== */
.skills-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: var(--glass-blur);
}

.skill-item {
    margin-bottom: 18px;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.skill-info span:last-child {
    color: var(--accent-cyan);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--glass-border);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.3) 50%, 
        transparent 100%);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* ==================== RIPPLE EFFECT ==================== */
.btn, .btn-primary, .btn-secondary, .filter-btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==================== CARD TILT EFFECT ==================== */
.portfolio-card.tilt-enabled,
.service-card.tilt-enabled,
.pricing-card.tilt-enabled,
.feature-item.tilt-enabled {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* ==================== TYPING EFFECT ==================== */
.typing-text {
    display: inline;
    border-right: 2px solid var(--accent-cyan);
    animation: blinkCursor 0.8s step-end infinite;
}

@keyframes blinkCursor {
    0%, 100% { border-color: var(--accent-cyan); }
    50% { border-color: transparent; }
}

/* ==================== SPOTLIGHT HOVER ==================== */
.spotlight-card {
    position: relative;
    overflow: hidden;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, 
        rgba(0, 247, 255, 0.15) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.spotlight-card:hover::before {
    opacity: 1;
}

/* ==================== BEFORE/AFTER SLIDER ==================== */
.before-after-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 30px auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: ew-resize;
}

.before-after-container img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 400px;
}

.before-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.before-image img {
    height: 100%;
    object-fit: cover;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--accent-cyan);
    cursor: ew-resize;
    z-index: 2;
    transform: translateX(-50%);
}

.slider-handle::before {
    content: '⟷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-gradient);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.before-label,
.after-label {
    position: absolute;
    bottom: 16px;
    padding: 6px 16px;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.before-label { left: 16px; }
.after-label { right: 16px; }

/* ==================== EXIT INTENT POPUP ==================== */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.exit-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.exit-popup {
    background: var(--surface-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: popupBounce 0.5s ease;
}

@keyframes popupBounce {
    0% { transform: scale(0.7); opacity: 0; }
    60% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.exit-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.exit-popup-close:hover {
    color: var(--accent-pink);
}

.exit-popup-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.exit-popup h3 {
    font-size: var(--text-2xl);
    margin-bottom: 8px;
}

.exit-popup p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: var(--text-sm);
}

.exit-popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exit-popup-form input {
    padding: 14px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: var(--text-sm);
}

.exit-popup-form input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.exit-popup-form .btn {
    justify-content: center;
}

/* ==================== FOUNDER STORY SECTION ==================== */
.founder-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Founder Intro */
.founder-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: var(--glass-blur);
}

.founder-image-wrapper {
    position: relative;
    min-width: 180px;
}

.founder-image {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 3px solid var(--glass-border);
    transition: all var(--transition-base);
}

.founder-image-border {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: var(--radius-xl);
    background: var(--accent-gradient);
    opacity: 0.3;
    z-index: 0;
    animation: borderPulse 3s ease-in-out infinite;
}

.founder-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 247, 255, 0.2), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.03); }
}

.founder-basic-info h3 {
    font-size: var(--text-3xl);
    margin-bottom: 4px;
}

.founder-role {
    display: inline-block;
    color: var(--accent-cyan);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: 16px;
}

.founder-social-links {
    display: flex;
    gap: 12px;
}

.founder-social-links a {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: var(--text-lg);
    transition: all var(--transition-base);
}

.founder-social-links a:hover {
    background: var(--accent-gradient);
    color: var(--primary-dark);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-cyan);
}

/* Story Blocks */
.story-block {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding: 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.story-block:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
}

.story-icon {
    min-width: 52px;
    height: 52px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: var(--primary-dark);
}

.story-text h3 {
    font-size: var(--text-xl);
    margin-bottom: 12px;
}

.story-text p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: 12px;
    line-height: 1.8;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.story-tags span {
    padding: 5px 12px;
    background: rgba(0, 247, 255, 0.08);
    border: 1px solid rgba(0, 247, 255, 0.15);
    border-radius: 50px;
    font-size: var(--text-xs);
    color: var(--accent-cyan);
    font-weight: 500;
}

/* Achievements Grid */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 8px;
}

.achievement-item {
    text-align: center;
    padding: 20px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.achievement-item:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-cyan);
}

.achievement-number {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.achievement-label {
    display: block;
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Founder Quote */
.founder-quote {
    text-align: center;
    padding: 40px 30px;
    background: radial-gradient(ellipse at center, rgba(157, 0, 255, 0.08) 0%, transparent 70%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    position: relative;
}

.founder-quote i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    opacity: 0.3;
    margin-bottom: 16px;
    display: block;
}

.founder-quote p {
    font-size: var(--text-lg);
    color: var(--text-primary);
    font-style: italic;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 16px;
}

.quote-author {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: var(--text-sm);
}

/* ==================== RESPONSIVE FOUNDER SECTION ==================== */
@media (max-width: 768px) {
    .founder-intro {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 24px;
    }
    
    .founder-image-wrapper {
        min-width: auto;
    }
    
    .founder-image {
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }
    
    .founder-social-links {
        justify-content: center;
    }
    
    .story-block {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .story-icon {
        min-width: 44px;
        height: 44px;
        font-size: var(--text-lg);
    }
    
    .story-text h3 {
        font-size: var(--text-lg);
    }
    
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievement-number {
        font-size: var(--text-2xl);
    }
    
    .founder-quote p {
        font-size: var(--text-base);
    }
}

@media (max-width: 576px) {
    .achievement-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .achievement-item {
        padding: 14px 10px;
    }
    
    .story-tags span {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

/* ===== FORM STATUS MESSAGES ===== */
.form-status {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.form-status .success {
    color: #22c55e;
}

.form-status .error {
    color: #ef4444;
}

.form-status .loading {
    color: var(--accent-cyan);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== NEWSLETTER FORM (Footer) ===== */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-blue));
    color: var(--primary-dark);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.4);
}

/* ===== FORM STATUS MESSAGES ===== */
.form-status {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.form-status .success {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
}

.form-status .error {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
}

.form-status .loading {
    color: var(--accent-cyan);
    animation: pulse 1.5s ease-in-out infinite;
    padding: 10px 15px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   MAXEL-STYLE ANIMATIONS - Added 2026
   ============================================ */

/* ==================== SCROLL ANIMATIONS ==================== */
.reveal {
    opacity: 0;
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.fade-up {
    transform: translateY(60px);
}
.reveal.fade-down {
    transform: translateY(-60px);
}
.reveal.fade-left {
    transform: translateX(-60px);
}
.reveal.fade-right {
    transform: translateX(60px);
}
.reveal.zoom-in {
    transform: scale(0.8);
}
.reveal.zoom-out {
    transform: scale(1.2);
}
.reveal.rotate-in {
    transform: rotate(-10deg) scale(0.9);
}

.reveal.visible {
    opacity: 1;
    transform: translate(0) scale(1) rotate(0deg);
}

/* Staggered delays */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }
.reveal.delay-6 { transition-delay: 0.6s; }

/* ==================== IMAGE HOVER EFFECTS ==================== */
.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:hover img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    transform: scale(1);
}

.portfolio-overlay * {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:hover .portfolio-overlay * {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay .portfolio-category {
    transition-delay: 0.05s;
}
.portfolio-overlay h3 {
    transition-delay: 0.1s;
}
.portfolio-overlay p {
    transition-delay: 0.15s;
}
.portfolio-overlay .portfolio-tech {
    transition-delay: 0.2s;
}
.portfolio-overlay .portfolio-links {
    transition-delay: 0.25s;
}

/* ==================== SECTION SLIDE EFFECTS ==================== */
.section-slide-in {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-slide-in.visible {
    opacity: 1;
    transform: translateX(0);
}

.section-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==================== PARALLAX IMAGE EFFECT ==================== */
.parallax-image {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 400px;
    border-radius: var(--radius-lg);
    transition: transform 0.1s linear;
}

@media (max-width: 768px) {
    .parallax-image {
        background-attachment: scroll;
        min-height: 250px;
    }
}

/* ==================== SERVICE CARDS - MAXEL STYLE ==================== */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 247, 255, 0.05) 50%, 
        transparent 100%
    );
    transition: left 0.7s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.01);
    border-color: rgba(0, 247, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-icon {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.2);
}

/* ==================== PROCESS STEPS - MAXEL STYLE ==================== */
.process-step {
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.process-step:hover {
    transform: translateX(10px);
}

.step-number {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.process-step:hover .step-number {
    background: var(--accent-gradient);
    color: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 247, 255, 0.3);
}

/* ==================== PRICING CARDS - MAXEL STYLE ==================== */
.pricing-card {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.pricing-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.pricing-card:hover::after {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-12px);
    border-color: rgba(157, 0, 255, 0.3);
}

.pricing-card.popular {
    border-color: var(--accent-purple);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-12px);
}

/* ==================== HERO TEXT REVEAL ==================== */
.hero-text h1 {
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

.hero-description {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s forwards;
}

@keyframes heroReveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== SCROLL INDICATOR ANIMATION ==================== */
.scroll-indicator {
    animation: bounceDown 2.5s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: translateX(-50%) translateY(15px);
        opacity: 1;
    }
}

/* ==================== GLOW PULSE ON IMAGES ==================== */
.glow-pulse {
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 247, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 247, 255, 0.25);
    }
}

/* ==================== SECTION TRANSITIONS ==================== */
.section-padding {
    position: relative;
    overflow: hidden;
}

.section-padding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 247, 255, 0.2) 20%,
        rgba(157, 0, 255, 0.2) 80%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.section-padding.in-view::before {
    opacity: 1;
}

/* ==================== PROCESS SECTION - MAXEL STYLE ==================== */
.process-steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Vertical line connecting steps */
.process-steps::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(to bottom, 
        var(--accent-cyan) 0%, 
        var(--accent-purple) 50%, 
        var(--accent-pink) 100%
    );
    opacity: 0.3;
    border-radius: 2px;
}

/* Individual step container */
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    padding-left: 10px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.process-step:last-child {
    margin-bottom: 0;
}

/* Hover effect - slide right slightly */
.process-step:hover {
    transform: translateX(8px);
}

/* Number circle */
.step-number {
    min-width: 70px;
    height: 70px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-cyan);
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
}

/* Glow effect behind number */
.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0;
    z-index: -1;
    transition: all 0.5s ease;
    filter: blur(10px);
}

.process-step:hover .step-number {
    background: var(--accent-gradient);
    color: var(--primary-dark);
    border-color: transparent;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 40px rgba(0, 247, 255, 0.3);
}

.process-step:hover .step-number::after {
    opacity: 0.5;
}

/* Content area */
.step-content {
    padding-top: 8px;
    flex: 1;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.process-step:hover .step-content h3 {
    color: var(--accent-cyan);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Connector line between steps */
.step-connector {
    display: none;
}

/* ==================== PROCESS RESPONSIVE ==================== */
@media (max-width: 768px) {
    .process-steps::before {
        left: 28px;
        top: 30px;
        bottom: 30px;
    }
    
    .process-step {
        gap: 20px;
        padding-left: 0;
        margin-bottom: 30px;
    }
    
    .step-number {
        min-width: 56px;
        height: 56px;
        font-size: 1.4rem;
        border-width: 2px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .process-step:hover {
        transform: translateX(4px);
    }
}

@media (max-width: 576px) {
    .process-steps::before {
        left: 22px;
    }
    
    .step-number {
        min-width: 46px;
        height: 46px;
        font-size: 1.1rem;
        border-width: 1.5px;
    }
    
    .process-step {
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.8rem;
    }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    .process-step,
    .step-number,
    .step-content h3 {
        transition: none !important;
        animation: none !important;
    }
    
    .process-step:hover {
        transform: none !important;
    }
}

/* ============================================
   PORTFOLIO SECTION - MAXEL STYLE
   ============================================ */

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* Portfolio Card */
.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    background: var(--secondary-dark);
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Image */
.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover - Image Zoom */
.portfolio-card:hover img {
    transform: scale(1.08);
}

/* Overlay */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 24px;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    transform: scale(1);
}

/* Overlay Content - Staggered Reveal */
.portfolio-overlay * {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:hover .portfolio-overlay * {
    transform: translateY(0);
    opacity: 1;
}

/* Staggered Delays for Overlay Items */
.portfolio-overlay .portfolio-category { transition-delay: 0.05s; }
.portfolio-overlay h3 { transition-delay: 0.10s; }
.portfolio-overlay p { transition-delay: 0.15s; }
.portfolio-overlay .portfolio-tech { transition-delay: 0.20s; }
.portfolio-overlay .portfolio-links { transition-delay: 0.25s; }

/* Category Badge */
.portfolio-category {
    display: inline-block;
    padding: 4px 14px;
    background: var(--accent-gradient);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* Title */
.portfolio-overlay h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

/* Description */
.portfolio-overlay p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 12px;
    max-width: 280px;
    line-height: 1.6;
}

/* Tech Tags */
.portfolio-tech {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 14px;
}

.portfolio-tech span {
    padding: 4px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--accent-cyan);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Links */
.portfolio-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-sm {
    padding: 8px 18px !important;
    font-size: 0.8rem !important;
    border-radius: 50px !important;
}

.btn-sm i {
    margin-right: 4px;
}

/* ==================== PORTFOLIO FILTERS ==================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.filter-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent-gradient);
    color: var(--primary-dark);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(0, 247, 255, 0.3);
}

/* ==================== PORTFOLIO RESPONSIVE ==================== */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .portfolio-card {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .portfolio-card {
        height: 220px;
    }
    
    .portfolio-overlay {
        padding: 20px 16px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .portfolio-tech span {
        font-size: 0.6rem;
        padding: 3px 8px;
    }
    
    .btn-sm {
        padding: 6px 14px !important;
        font-size: 0.7rem !important;
    }
    
    .portfolio-filters {
        gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    
    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .portfolio-card {
        height: 260px;
    }
    
    .portfolio-overlay {
        padding: 24px 20px;
    }
}