/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #070e1a;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    --accent-primary: #4f46e5;
    --accent-secondary: #ec4899;
    --accent-tertiary: #06b6d4;
    --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 50%, var(--accent-tertiary) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    
    --glass-dark-bg: rgba(15, 23, 42, 0.6);
    --glass-dark-border: rgba(255, 255, 255, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --container-max: 1240px;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(79, 70, 229, 0.03) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(236, 72, 153, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}



h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding { padding: 8rem 0; }
.py-light { padding: 4rem 0; }
.bg-light { background-color: var(--bg-secondary); }
.bg-dark { background-color: var(--bg-dark); }
.text-center { text-align: center; }
.text-white { color: var(--text-white); }
.text-muted { color: var(--text-secondary); }
.text-light { color: var(--text-light); }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.w-full { width: 100%; }
.d-inline-block { display: inline-block; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }

.gradient-text {
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2.5rem;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 2px;
    background: var(--gradient-primary);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-primary);
    background-size: 200% auto;
    color: white;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    transition: 0s;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover::after {
    left: 200%;
    transition: 0.8s ease-in-out;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: white;
    transform: translateY(-3px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--text-primary);
    transform: translateY(-3px);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    z-index: 1;
}

.glass-card:hover::before {
    left: 125%;
}

.glass-card:hover {
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
    border-color: rgba(255, 255, 255, 1);
}

.glass-card.dark {
    background: var(--glass-dark-bg);
    border: 1px solid var(--glass-dark-border);
    color: white;
}

.glass-card.dark:hover {
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    will-change: transform, opacity;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-in-left {
    opacity: 0;
    transform: translateX(-60px) scale(0.98);
    will-change: transform, opacity;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-in-right {
    opacity: 0;
    transform: translateX(60px) scale(0.98);
    will-change: transform, opacity;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate {
    opacity: 1;
    transform: translate(0) scale(1);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Text Animations */
.text-split {
    display: inline-block;
    vertical-align: top;
}
.text-split span {
    display: inline-block;
    transform: translateY(25px);
    opacity: 0;
    filter: blur(12px);
    will-change: transform, opacity, filter;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 1s ease,
                filter 1s ease;
}
.text-split.animate span {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255,255,255,0.5);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; }
.logo i { color: var(--accent-primary); font-size: 2.25rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.logo span { color: var(--text-primary); }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-weight: 600; color: var(--text-secondary); position: relative; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--gradient-primary); transition: var(--transition-smooth); border-radius: 2px; }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 1rem; align-items: center; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 2rem; color: var(--text-primary); cursor: pointer; }

.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(255, 255, 255, 0.98); z-index: 999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--transition-smooth); }
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu-content { display: flex; flex-direction: column; gap: 2rem; text-align: center; width: 80%; }
.mobile-link { font-size: 1.75rem; font-family: var(--font-heading); font-weight: 700; color: var(--text-primary); transition: color 0.3s; }
.mobile-link:hover { color: var(--accent-primary); }

.hero { position: relative; padding: 14rem 0 10rem; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background: #ffffff; overflow: hidden; }
.hero-bg::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(79,70,229,0.03) 0%, transparent 60%); animation: rotate 60s linear infinite; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.gradient-sphere { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.6; animation: float 12s infinite ease-in-out alternate; will-change: transform; transition: transform 0.2s ease-out; }
.blob-1 { top: -10%; right: -5%; width: 600px; height: 600px; background: var(--accent-primary); }
.blob-2 { bottom: -10%; left: -5%; width: 500px; height: 500px; background: var(--accent-secondary); animation-delay: -6s; }
.blob-3 { top: 40%; left: 40%; width: 300px; height: 300px; background: var(--accent-tertiary); animation-delay: -3s; animation-duration: 15s; filter: blur(120px); }
@keyframes float { 0% { transform: translate(0, 0) scale(1) rotate(0deg); } 100% { transform: translate(-50px, 50px) scale(1.1) rotate(10deg); } }

.hero-content { text-align: center; max-width: 1000px; margin: 0 auto; position: relative; z-index: 2; }
.hero h1 { font-size: 5.5rem; margin-bottom: 1.5rem; letter-spacing: -2px; line-height: 1.1; }
.hero p { font-size: 1.35rem; color: var(--text-secondary); margin-bottom: 3rem; max-width: 750px; margin-left: auto; margin-right: auto; }
.badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.25rem; background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.05); border-radius: 50px; font-size: 0.875rem; font-weight: 700; margin-bottom: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.04); color: var(--accent-primary); }
.hero-buttons { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 5rem; }

.stats-row { display: flex; justify-content: center; gap: 5rem; padding-top: 4rem; border-top: 1px solid rgba(0,0,0,0.05); }
.stat-item h3 { display: inline-block; font-size: 3rem; color: var(--text-primary); margin-bottom: 0; font-weight: 800; }
.stat-item span { font-size: 3rem; color: var(--accent-primary); font-weight: 800; }
.stat-item p { font-size: 1rem; color: var(--text-secondary); margin-bottom: 0; font-weight: 600; }

.logo-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; opacity: 0.5; }
.logo-grid i { font-size: 3rem; transition: var(--transition-bounce); color: var(--text-secondary); }
.logo-grid i:hover { opacity: 1; transform: scale(1.1) translateY(-5px); color: var(--accent-primary); }

.about-image { position: relative; padding: 1rem; }
.rounded-image { border-radius: 20px; width: 100%; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.experience-badge { position: absolute; bottom: -20px; right: -20px; background: var(--gradient-primary); color: white; padding: 2.5rem; border-radius: 28px; text-align: center; box-shadow: 0 15px 35px rgba(79, 70, 229, 0.4); animation: pulse 3s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.experience-badge h3 { font-size: 3rem; margin-bottom: 0; }
.check-list li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; color: var(--text-secondary); font-size: 1.05rem; }
.check-list i { color: var(--accent-primary); font-size: 1.5rem; }

.service-icon { width: 56px; height: 56px; background: var(--gradient-glow); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--accent-primary); margin-bottom: 1.5rem; transition: var(--transition-bounce); }
.service-card { padding: 2rem; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15); border-color: rgba(79, 70, 229, 0.3); }
.service-card:hover .service-icon { transform: translateY(-10px) rotate(5deg); background: var(--gradient-primary); color: white; box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3); }
.service-card h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.service-card p { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.6; }
.service-features { border-top: 1px solid rgba(0,0,0,0.05); padding-top: 1.5rem; margin-top: 1.5rem; }
.service-features li { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 0.75rem; display: flex; align-items: center; }
.service-features li::before { content: "\eb84"; font-family: 'boxicons'; color: var(--accent-primary); font-size: 1.25rem; margin-right: 0.5rem; background: rgba(79, 70, 229, 0.1); border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }

.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 2rem 0; }
.timeline::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 4px; height: 100%; background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary)); border-radius: 4px; opacity: 0.2; }
.timeline-item { position: relative; margin-bottom: 4rem; width: 50%; }
.timeline-item:nth-child(odd) { left: 0; padding-right: 4rem; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; padding-left: 4rem; }
.timeline-dot { position: absolute; top: 20px; width: 50px; height: 50px; background: var(--gradient-primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.25rem; z-index: 1; box-shadow: 0 0 0 10px var(--bg-primary); transition: var(--transition-bounce); }
.timeline-item:hover .timeline-dot { transform: scale(1.2); box-shadow: 0 0 0 15px rgba(79, 70, 229, 0.1); }
.timeline-item:nth-child(odd) .timeline-dot { right: -25px; }
.timeline-item:nth-child(even) .timeline-dot { left: -25px; }

.feature-tabs { display: flex; gap: 1rem; border-bottom: 2px solid rgba(0,0,0,0.05); margin-bottom: 2rem; }
.tab { padding: 1rem 2rem; font-weight: 600; color: var(--text-secondary); position: relative; transition: var(--transition-smooth); font-size: 1.1rem; }
.tab.active { color: var(--accent-primary); }
.tab.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 3px; background: var(--gradient-primary); border-radius: 3px 3px 0 0; }
.tab-content { display: none; animation: fadeIn 0.5s ease forwards; }
.tab-content.active { display: block; }
.feature-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; color: var(--text-secondary); font-size: 1.1rem; }
.feature-list i { color: var(--accent-primary); background: rgba(79, 70, 229, 0.1); border-radius: 50%; padding: 0.5rem; font-size: 1.5rem; }

.glass-mockup { width: 100%; height: 450px; background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.2) 100%); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid rgba(255,255,255,0.8); border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,0.08); position: relative; overflow: hidden; }
.mockup-header { height: 50px; background: rgba(255,255,255,0.5); border-bottom: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; padding: 0 1.5rem; gap: 10px; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: rgba(0,0,0,0.15); }
.dot:nth-child(1) { background: #ff5f56; } .dot:nth-child(2) { background: #ffbd2e; } .dot:nth-child(3) { background: #27c93f; }
.mockup-body { padding: 2.5rem; display: flex; gap: 2.5rem; height: calc(100% - 50px); }
.mockup-chart { flex: 1; height: 100%; background: linear-gradient(to top, rgba(79, 70, 229, 0.15), transparent); border-radius: 12px; position: relative; overflow: hidden; }
.mockup-chart::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--gradient-primary); }
.mockup-lines { flex: 1; display: flex; flex-direction: column; gap: 1.5rem; }
.mockup-lines span { height: 24px; background: rgba(0,0,0,0.04); border-radius: 12px; }
.mockup-lines span:nth-child(1) { width: 100%; background: linear-gradient(90deg, rgba(79,70,229,0.1), rgba(0,0,0,0.04)); }
.mockup-lines span:nth-child(2) { width: 80%; } .mockup-lines span:nth-child(3) { width: 90%; } .mockup-lines span:nth-child(4) { width: 60%; }

.portfolio-filters { display: flex; justify-content: center; gap: 1rem; margin-bottom: 4rem; }
.filter-btn { padding: 0.75rem 2rem; border: 1px solid rgba(0,0,0,0.1); background: white; border-radius: 50px; font-weight: 600; font-size: 1rem; transition: var(--transition-smooth); }
.filter-btn.active, .filter-btn:hover { background: var(--gradient-primary); color: white; border-color: transparent; box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.portfolio-item { padding: 1.5rem; border-radius: 28px; background: white; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.02); transform-style: preserve-3d; }
.portfolio-item:nth-child(3n-1) { margin-top: 40px; } /* Staggered Layout */
.portfolio-item:hover { box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12); z-index: 2; }
.portfolio-img { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.portfolio-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4)); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition-smooth); }
.portfolio-item:hover .portfolio-img img { transform: scale(1.1); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-info { margin-top: 1.5rem; text-align: center; }
.portfolio-info h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.portfolio-info p { color: var(--accent-primary); font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1px; }

.testimonial-card { display: flex; flex-direction: column; justify-content: space-between; }
.stars { color: #fbbf24; margin-bottom: 1.5rem; font-size: 1.25rem; letter-spacing: 2px; }
.quote { font-size: 1.25rem; font-style: italic; margin-bottom: 2.5rem; line-height: 1.8; }
.client-info { display: flex; align-items: center; gap: 1.25rem; }
.client-info img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.2); }
.client-info h4 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.client-info span { font-size: 0.9rem; color: var(--text-light); }

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border-radius: 16px; margin-bottom: 1.5rem; border: 1px solid rgba(0,0,0,0.05); overflow: hidden; transition: var(--transition-smooth); box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.faq-item:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.05); transform: translateY(-2px); }
.faq-question { padding: 1.75rem 2rem; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.faq-question h4 { margin-bottom: 0; font-size: 1.2rem; }
.faq-question i { font-size: 1.75rem; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); color: var(--accent-primary); }
.faq-answer { padding: 0 2rem; max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease; }
.faq-answer p { color: var(--text-secondary); padding-bottom: 2rem; font-size: 1.05rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-answer { max-height: 300px; }

.footer { background: var(--bg-dark); color: white; padding: 6rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 5rem; margin-bottom: 4rem; }
.footer h4 { color: white; margin-bottom: 2rem; font-size: 1.25rem; }
.footer ul li { margin-bottom: 1rem; }
.footer ul a { color: var(--text-light); font-size: 1.05rem; }
.footer ul a:hover { color: white; padding-left: 5px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; background: rgba(255,255,255,0.05); border-radius: 50%; margin-right: 0.75rem; font-size: 1.5rem; transition: var(--transition-bounce); }
.social-links a:hover { background: var(--gradient-primary); transform: translateY(-5px); }
.footer-bottom { text-align: center; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); color: var(--text-light); }

.chatbot-widget { position: fixed; bottom: 2rem; right: 2rem; width: 65px; height: 65px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 2.25rem; box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4); z-index: 999; transition: var(--transition-bounce); animation: bounce 3s infinite; }
.chatbot-widget:hover { transform: scale(1.15) rotate(10deg); }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-15px); } 60% { transform: translateY(-7px); } }

/* ==========================================================================
   Premium Elements (Preloader, Marquee, Ripple, Decode)
   ========================================================================== */

/* Preloader */
.preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--bg-primary); z-index: 999999; display: flex; align-items: center; justify-content: center; transition: opacity 0.8s ease, visibility 0.8s; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.logo-font { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.logo-font i { color: var(--accent-primary); font-size: 3rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.loader-progress { width: 200px; height: 3px; background: rgba(0,0,0,0.05); margin: 1.5rem auto 0; border-radius: 3px; overflow: hidden; position: relative; }
.loader-progress::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 50%; background: var(--gradient-primary); animation: loading 1.5s infinite ease-in-out; }
@keyframes loading { 0% { left: -50%; } 100% { left: 100%; } }

/* Infinite Marquee */
.marquee-container { background: var(--bg-dark); color: white; padding: 1.5rem 0; overflow: hidden; white-space: nowrap; position: relative; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.marquee-content { display: inline-flex; gap: 3rem; padding-left: 3rem; animation: marquee 30s linear infinite; will-change: transform; }
.marquee-content span { font-size: 1.25rem; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; display: flex; align-items: center; gap: 1.5rem; color: rgba(255,255,255,0.9); }
.marquee-content span i { color: var(--accent-primary); font-size: 1.5rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-container:hover .marquee-content { animation-play-state: paused; }

/* Button Ripple */
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.5); transform: scale(0); animation: ripple-anim 0.6s linear; pointer-events: none; }
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* Decode Text Animation Class */
.decode-text { font-variant-numeric: tabular-nums; display: inline-block; }

/* Contact Form Styles */
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; color: var(--text-primary); letter-spacing: 0.5px; text-transform: uppercase; }
.form-control { width: 100%; padding: 1rem 1.25rem; border-radius: 12px; border: 1px solid rgba(0, 0, 0, 0.08); background: rgba(255, 255, 255, 0.7); color: var(--text-primary); font-family: 'Inter', sans-serif; font-size: 1rem; transition: var(--transition-fast); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); }
.form-control:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15), inset 0 2px 4px rgba(0,0,0,0.02); background: #ffffff; }
.form-control::placeholder { color: #94a3b8; font-weight: 400; }
.cta-card:hover { transform: none !important; }

@media (max-width: 1024px) {
    .hero h1 { font-size: 4rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .portfolio-item:nth-child(3n-1) { margin-top: 0; } /* Remove stagger on smaller screens */
}
@media (max-width: 768px) {
    .nav-links, .nav-actions .btn { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 9rem 0 5rem; }
    .hero h1 { font-size: 3rem; }
    .stats-row { flex-direction: column; gap: 2.5rem; align-items: center; }
    .grid-2 { grid-template-columns: 1fr; gap: 4rem; }
    .contact-form .grid-2 { gap: 1rem; }
    .grid-3 { grid-template-columns: 1fr; }
    
    /* Horizontal Scrolling Carousel for Services on Mobile */
    .services .grid-3 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.25rem;
        padding-bottom: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
        margin-left: -2rem;
        margin-right: -2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .services .grid-3::-webkit-scrollbar { display: none; }
    .services .service-card {
        min-width: 85vw;
        scroll-snap-align: center;
        padding: 1.75rem;
    }
    .timeline::before { left: 30px; }
    .timeline-item, .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { width: 100%; left: 0; padding-left: 80px; padding-right: 0; text-align: left; }
    .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 10px; right: auto; }
    .mockup-body { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .chatbot-widget { bottom: 1.5rem; right: 1.5rem; width: 55px; height: 55px; font-size: 1.75rem; }
}
