/*
Theme Name: Gigsia
Theme URI: https://gigsia.com
Author: Awais Ali
Author URI: https://gigsia.com
Description: Premium performance marketing theme
Version: 1.0.0
Text Domain: gigsia
*/

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0B0E14;
    color: #A0AEC0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 14, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    padding: 12px 0;
    background: rgba(11, 14, 20, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #4F8CFF, #2DD4BF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    color: #A0AEC0;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4F8CFF, #2DD4BF);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover {
    color: white;
}

.main-nav a:hover::after {
    width: 100%;
}

/* HOME PAGE HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0B0E14 0%, #111827 50%, #0B0E14 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(79, 140, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 0.3s forwards;
    background: linear-gradient(135deg, #fff 0%, #A0AEC0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    color: #A0AEC0;
    margin-bottom: 48px;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 0.9s forwards;
}

/* PAGE HERO (About, Services, Contact) */
.page-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0B0E14 0%, #111827 50%, #0B0E14 100%);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(79, 140, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(45, 212, 191, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    animation: floatBackground 20s ease-in-out infinite;
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 0.3s forwards;
    background: linear-gradient(135deg, #fff 0%, #A0AEC0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 20px;
    color: #A0AEC0;
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 0.6s forwards;
}

.page-hero .hero-stats {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s ease 0.9s forwards;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #4F8CFF, transparent);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #4F8CFF;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #A0AEC0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    gap: 10px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #4F8CFF 0%, #2DD4BF 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(79, 140, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(79, 140, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    border-color: #4F8CFF;
    box-shadow: 0 20px 40px rgba(79, 140, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 22px 48px;
    font-size: 18px;
}

/* Sections */
.section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-title h2 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
    background: linear-gradient(135deg, #fff 0%, #A0AEC0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    color: #A0AEC0;
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease 0.3s forwards;
}

.section-title .subtitle {
    display: inline-block;
    color: #4F8CFF;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease 0.1s forwards;
    position: relative;
    padding-bottom: 10px;
}

.section-title .subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4F8CFF, transparent);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: linear-gradient(145deg, rgba(26, 32, 44, 0.8), rgba(17, 24, 39, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px 40px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.1), rgba(45, 212, 191, 0.05));
    opacity: 0;
    transition: opacity 0.6s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #4F8CFF;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(79, 140, 255, 0.2);
}

.service-icon {
    font-size: 56px;
    margin-bottom: 30px;
    display: inline-block;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(79, 140, 255, 0.3));
}

.service-card h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-card > p {
    color: #A0AEC0;
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
    margin: 30px 0;
    padding-left: 0;
}

.service-card li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    color: #A0AEC0;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #4F8CFF;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.service-card li:hover::before {
    transform: translateX(5px);
}

/* Process Timeline */
.process-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(79, 140, 255, 0.3), 
        rgba(45, 212, 191, 0.3),
        transparent);
    z-index: 1;
    animation: widthGrow 1.5s ease 0.5s forwards;
    width: 0;
}

.process-step {
    position: relative;
    z-index: 2;
    background: linear-gradient(145deg, rgba(26, 32, 44, 0.9), rgba(17, 24, 39, 0.9));
    padding: 40px 35px;
    border-radius: 20px;
    width: 31%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.3s; }
.process-step:nth-child(2) { animation-delay: 0.5s; }
.process-step:nth-child(3) { animation-delay: 0.7s; }

.process-step:hover {
    transform: translateY(-10px);
    border-color: #4F8CFF;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(79, 140, 255, 0.2);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4F8CFF, #2DD4BF);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
    box-shadow: 0 10px 30px rgba(79, 140, 255, 0.3);
}

.process-step h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.process-step p {
    color: #A0AEC0;
    line-height: 1.7;
}

/* Case Studies */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.case-study-card {
    background: linear-gradient(145deg, rgba(26, 32, 44, 0.9), rgba(17, 24, 39, 0.9));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

.case-study-card:nth-child(1) { animation-delay: 0.2s; }
.case-study-card:nth-child(2) { animation-delay: 0.4s; }
.case-study-card:nth-child(3) { animation-delay: 0.6s; }

.case-study-card:hover {
    transform: translateY(-15px);
    border-color: #4F8CFF;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(79, 140, 255, 0.2);
}

.case-study-image {
    height: 250px;
    background: linear-gradient(135deg, #4F8CFF, #2DD4BF);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.case-study-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.case-study-image span {
    font-size: 64px;
    color: white;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.case-study-card:hover .case-study-image span {
    transform: scale(1.2) rotate(10deg);
}

.case-study-content {
    padding: 40px;
}

.case-study-content h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.case-study-content > p {
    color: #A0AEC0;
    margin-bottom: 25px;
    line-height: 1.7;
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    color: #10B981;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.15));
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.15);
}

/* CTA Sections */
.cta {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(79, 140, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(45, 212, 191, 0.1) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    color: white;
    font-size: 56px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
    background: linear-gradient(135deg, #fff 0%, #A0AEC0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta p {
    color: #A0AEC0;
    margin-bottom: 50px;
    font-size: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 0.3s forwards;
}

.cta .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 0.6s forwards;
    animation: pulseCTA 2s infinite;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(26, 32, 44, 0.9), rgba(17, 24, 39, 0.9));
    padding: 60px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 35px;
    position: relative;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.form-control:focus {
    outline: none;
    border-color: #4F8CFF;
    box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #111827 0%, #0B0E14 100%);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 140, 255, 0.5), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-col p {
    color: #A0AEC0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 15px;
}

.footer-col a {
    color: #A0AEC0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-col a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #4F8CFF;
}

.footer-col a:hover {
    color: white;
    padding-left: 20px;
}

.footer-col a:hover::before {
    opacity: 1;
    left: 0;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #6B7280;
    font-size: 14px;
}

/* ====================
   ANIMATIONS
   ==================== */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(79, 140, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(79, 140, 255, 0.4);
    }
}

@keyframes pulseCTA {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 30px rgba(79, 140, 255, 0.3);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 20px 40px rgba(79, 140, 255, 0.4);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes widthGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 90%;
        opacity: 1;
    }
}

@keyframes gradientShift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20px, -20px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 10px) scale(0.95);
    }
}

@keyframes floatBackground {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(30px, -30px);
    }
    66% {
        transform: translate(-20px, 20px);
    }
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.slide-left {
    opacity: 0;
    animation: slideInLeft 1s ease forwards;
}

.slide-right {
    opacity: 0;
    animation: slideInRight 1s ease forwards;
}

.float {
    animation: float 6s ease-in-out infinite;
}

.scale-in {
    opacity: 0;
    animation: scaleIn 0.8s ease forwards;
}

/* Delays */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

/* ====================
   RESPONSIVE DESIGN
   ==================== */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 30px;
}

.hamburger {
    position: relative;
    width: 100%;
    height: 100%;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: white;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: 25%;
}

.hamburger::after {
    bottom: 25%;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 50%;
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 45%;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .page-hero h1 {
        font-size: 42px;
    }
    
    .section-title h2 {
        font-size: 40px;
    }
    
    .cta h2 {
        font-size: 42px;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        width: 100%;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .hero p,
    .page-hero p {
        font-size: 18px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .cta h2 {
        font-size: 32px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(11, 14, 20, 0.98);
        backdrop-filter: blur(20px);
        padding: 100px 40px 40px;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 25px;
    }
    
    .main-nav a {
        font-size: 18px;
        padding: 12px 0;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary {
        margin-right: 0;
    }
    
    .services-grid,
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .page-hero {
        min-height: 80vh;
        padding: 140px 0 60px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .service-card,
    .contact-form {
        padding: 40px 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col a:hover {
        padding-left: 0;
    }
    
    .footer-col a::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .page-hero h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .cta h2 {
        font-size: 28px;
    }
    
    .service-card,
    .process-step,
    .case-study-card {
        padding: 30px 25px;
    }
    
    .contact-form {
        padding: 40px 25px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .hero-stats {
        gap: 20px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(11, 14, 20, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4F8CFF, #2DD4BF);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #3B82F6, #22D3C9);
}

/* TEMPORARY: Disable preloader */
.preloader {
    display: none !important;
}

/* ====================
   WORKING ANIMATIONS
   ==================== */

/* Ensure animations work */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Background Animations */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}

/* Enhanced Hero Backgrounds */
.hero::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(79, 140, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

.page-hero::before {
    background: 
        radial-gradient(circle at 30% 30%, rgba(79, 140, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(45, 212, 191, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    background-size: 400% 400%;
    animation: gradientMove 20s ease infinite;
}

/* Floating Icons */
.service-icon {
    animation: floatElement 6s ease-in-out infinite;
}

/* Section Title Animations */
.section-title.animated h2 {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.section-title.animated p {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Card Animations */
.service-card.animated {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.case-study-card.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.process-step.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Process Timeline Animation */
.process-timeline.animated::before {
    width: 90% !important;
    opacity: 1 !important;
}

/* CTA Animation */
.cta.animated h2,
.cta.animated p,
.cta.animated .btn {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Contact Form Animation */
.contact-form.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stats Counter Animation */
.stat-number.animated {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remove old animation delays - we'll control via JavaScript */
.service-card,
.case-study-card,
.process-step {
    animation: none !important;
    animation-delay: 0s !important;
}

/* Ensure elements are initially hidden */
.section-title h2,
.section-title p,
.section-title .subtitle,
.service-card,
.case-study-card,
.process-step,
.contact-form,
.cta h2,
.cta p,
.cta .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}