/* ===========================================
   Zaynora - Modern Digital Solutions Website
   Enhanced with GSAP Animations
   ========================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* =============================================
   Enhanced Preloader with Developer Animation
   ============================================= */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    overflow: hidden;
    /* CSS fallback - auto-hide after 6 seconds */
    animation: hidePreloader 6s ease-in-out forwards;
}

@keyframes hidePreloader {
    0%, 85% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

.preloader-content {
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 3;
    max-width: 500px;
    padding: 40px;
}

/* Logo Animation with Typing Effect */
.logo-animation {
    margin-bottom: 40px;
}

.preloader-logo {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.logo-letter {
    display: inline-block;
    opacity: 0;
    animation: typeIn 0.6s ease-out forwards;
}

.logo-letter:nth-child(1) { animation-delay: 0.2s; }
.logo-letter:nth-child(2) { animation-delay: 0.4s; }
.logo-letter:nth-child(3) { animation-delay: 0.6s; }
.logo-letter:nth-child(4) { animation-delay: 0.8s; }
.logo-letter:nth-child(5) { animation-delay: 1.0s; }
.logo-letter:nth-child(6) { animation-delay: 1.2s; }
.logo-letter:nth-child(7) { animation-delay: 1.4s; }

.logo-underline {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.underline-progress {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #10b981, #22c55e);
    border-radius: 2px;
    animation: glowingProgress 3s ease-in-out infinite;
    box-shadow: 0 0 15px #22c55e;
}

/* Developer Character Animation */
.preloader-developer {
    margin: 30px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-character {
    position: relative;
    animation: developerFloat 4s ease-in-out infinite;
}

.dev-head {
    width: 30px;
    height: 30px;
    background: #fbbf24;
    border-radius: 50%;
    margin: 0 auto 5px;
    position: relative;
}

.dev-head::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
    box-shadow: 10px 0 0 #333;
    animation: blink 3s ease-in-out infinite;
}

.dev-body {
    width: 40px;
    height: 50px;
    background: linear-gradient(145deg, #3b82f6, #1e40af);
    border-radius: 8px 8px 0 0;
    margin: 0 auto;
    position: relative;
}

.dev-laptop {
    margin-top: 10px;
    position: relative;
}

.laptop-screen {
    width: 60px;
    height: 40px;
    background: #1f2937;
    border-radius: 4px 4px 0 0;
    border: 2px solid #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: screenGlow 2s ease-in-out infinite;
}

.code-dots {
    display: flex;
    gap: 3px;
}

.code-dots span {
    width: 4px;
    height: 4px;
    background: #22c55e;
    border-radius: 50%;
    animation: codeBlink 1.5s ease-in-out infinite;
}

.code-dots span:nth-child(1) { animation-delay: 0s; }
.code-dots span:nth-child(2) { animation-delay: 0.3s; }
.code-dots span:nth-child(3) { animation-delay: 0.6s; }

.laptop-screen::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 8px;
    background: #374151;
    border-radius: 0 0 4px 4px;
}

/* Floating Gears */
.floating-gears {
    position: absolute;
    top: -20px;
    right: -30px;
}

.gear {
    position: absolute;
    border: 2px solid #8b5cf6;
    border-radius: 50%;
    animation: rotateGear 3s linear infinite;
}

.gear-1 {
    width: 20px;
    height: 20px;
    top: 0;
    right: 0;
}

.gear-2 {
    width: 15px;
    height: 15px;
    top: 15px;
    right: 15px;
    animation-direction: reverse;
    animation-duration: 2s;
}

.gear::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border: 1px solid #8b5cf6;
    border-radius: 50%;
}

/* Loading Text with Typing Effect */
.loading-text-container {
    margin: 30px 0;
}

.loading-text {
    font-size: 1.2rem;
    color: #e5e7eb;
    margin-bottom: 10px;
    font-weight: 500;
    opacity: 0;
    animation: typeInText 2s ease-out 1.5s forwards;
}

.loading-percentage {
    font-size: 1.1rem;
    color: #22c55e;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    animation: countUp 4s ease-in-out infinite 2s;
}

/* Enhanced Progress Bar */
.progress-container {
    margin-top: 30px;
}

.progress-bar {
    width: 280px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #10b981, #22c55e);
    border-radius: 3px;
    animation: fillProgress 4s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: dotPulse 1.5s ease-in-out infinite;
}

.dot.active {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.3s; }
.dot:nth-child(3) { animation-delay: 0.6s; }
.dot:nth-child(4) { animation-delay: 0.9s; }

/* Background Elements */
.preloader-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-code span {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
    font-family: 'Courier New', monospace;
    animation: floatCode 8s ease-in-out infinite;
}

.floating-code span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-code span:nth-child(2) { top: 60%; right: 15%; animation-delay: 2s; }
.floating-code span:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 4s; }
.floating-code span:nth-child(4) { top: 40%; right: 30%; animation-delay: 6s; }
.floating-code span:nth-child(5) { bottom: 20%; right: 10%; animation-delay: 1s; }

.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tech-particles .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(139, 92, 246, 0.6);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

.tech-particles .particle:nth-child(1) { top: 15%; left: 20%; animation-delay: 0s; }
.tech-particles .particle:nth-child(2) { top: 70%; right: 25%; animation-delay: 1s; }
.tech-particles .particle:nth-child(3) { bottom: 40%; left: 15%; animation-delay: 2s; }
.tech-particles .particle:nth-child(4) { top: 50%; right: 10%; animation-delay: 3s; }
.tech-particles .particle:nth-child(5) { bottom: 60%; right: 40%; animation-delay: 4s; }
.tech-particles .particle:nth-child(6) { top: 30%; left: 40%; animation-delay: 5s; }

/* =============================================
   Preloader Animation Keyframes
   ============================================= */

@keyframes typeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px) scale(0.8); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes glowingProgress {
    0%, 100% { 
        transform: translateX(-100%); 
        box-shadow: 0 0 15px #22c55e; 
    }
    50% { 
        transform: translateX(0%); 
        box-shadow: 0 0 25px #22c55e, 0 0 35px #10b981; 
    }
    100% { 
        transform: translateX(100%); 
        box-shadow: 0 0 15px #22c55e; 
    }
}

@keyframes developerFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0; }
}

@keyframes screenGlow {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.3); 
    }
    50% { 
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.6), inset 0 0 10px rgba(34, 197, 94, 0.2); 
    }
}

@keyframes codeBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes rotateGear {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes typeInText {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes countUp {
    0% { opacity: 0.7; }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.7; }
}

@keyframes fillProgress {
    0% { 
        transform: translateX(-100%); 
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.6); 
    }
    50% { 
        transform: translateX(0%); 
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.8); 
    }
    100% { 
        transform: translateX(100%); 
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.6); 
    }
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

@keyframes floatCode {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.05; 
    }
    25% { 
        transform: translateY(-20px) rotate(90deg); 
        opacity: 0.15; 
    }
    50% { 
        transform: translateY(-10px) rotate(180deg); 
        opacity: 0.1; 
    }
    75% { 
        transform: translateY(-30px) rotate(270deg); 
        opacity: 0.2; 
    }
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px); 
        opacity: 0.4; 
    }
    33% { 
        transform: translateY(-20px); 
        opacity: 0.8; 
    }
    66% { 
        transform: translateY(-10px); 
        opacity: 0.6; 
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 15px;
    color: #6b7280; /* Dark gray for light backgrounds */
}

/* Enhanced Buttons with Animations */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    overflow: hidden;
}

.btn-secondary:hover {
    background: white;
    color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.btn-outline:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(-2px);
}

/* Enhanced Button Effects */
.btn-glow {
    position: relative;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-pulse {
    animation: btnPulse 2s infinite;
}

.btn-shake:hover {
    animation: btnShake 0.5s ease-in-out;
}

.btn-slide {
    overflow: hidden;
}

.btn-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-slide:hover::after {
    left: 0;
}

@keyframes btnPulse {
    0% { box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2); }
    50% { box-shadow: 0 4px 25px rgba(30, 58, 138, 0.4), 0 0 0 10px rgba(30, 58, 138, 0.1); }
    100% { box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2); }
}

@keyframes btnShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo h2 {
    color: #1e3a8a;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.nav-logo a {
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #1e3a8a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e3a8a;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8fafc;
    color: #1e3a8a;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* =============================================
   Dynamic Hero Banner - ZAYNORA
   ============================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0e27; /* Fallback color */
}

/* Animated Background Effects */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Dynamic Gradient Background */
.gradient-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0e27 0%, #1e3a8a 25%, #7c3aed 50%, #0891b2 75%, #0a0e27 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* Network Animation Background */
.network-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.network-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(34, 197, 94, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.6);
    animation: networkPulse 3s ease-in-out infinite;
}

.network-node.node-1 { top: 20%; left: 15%; animation-delay: 0s; }
.network-node.node-2 { top: 30%; right: 20%; animation-delay: 0.6s; }
.network-node.node-3 { bottom: 40%; left: 25%; animation-delay: 1.2s; }
.network-node.node-4 { bottom: 25%; right: 15%; animation-delay: 1.8s; }
.network-node.node-5 { top: 60%; left: 50%; animation-delay: 2.4s; }

.network-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.4), transparent);
    animation: networkFlow 4s ease-in-out infinite;
}

.network-line.line-1 {
    top: 20%;
    left: 15%;
    width: 200px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.network-line.line-2 {
    top: 30%;
    right: 20%;
    width: 150px;
    transform: rotate(-30deg);
    animation-delay: 1s;
}

.network-line.line-3 {
    bottom: 40%;
    left: 25%;
    width: 180px;
    transform: rotate(20deg);
    animation-delay: 2s;
}

.network-line.line-4 {
    bottom: 25%;
    right: 15%;
    width: 120px;
    transform: rotate(-60deg);
    animation-delay: 3s;
}

@keyframes networkPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.6; 
        box-shadow: 0 0 15px rgba(34, 197, 94, 0.6);
    }
    50% { 
        transform: scale(1.5); 
        opacity: 1; 
        box-shadow: 0 0 25px rgba(34, 197, 94, 0.9);
    }
}

@keyframes networkFlow {
    0% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0); }
}

/* Floating Stars/Particles */
.star-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.star {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    animation: starTwinkle 4s ease-in-out infinite;
}

.star.star-1 { top: 15%; left: 10%; animation-delay: 0s; }
.star.star-2 { top: 25%; right: 30%; animation-delay: 1s; }
.star.star-3 { bottom: 30%; left: 20%; animation-delay: 2s; }
.star.star-4 { bottom: 20%; right: 25%; animation-delay: 3s; }
.star.star-5 { top: 70%; left: 60%; animation-delay: 4s; }
.star.star-6 { top: 50%; right: 10%; animation-delay: 5s; }

@keyframes starTwinkle {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1) rotate(0deg); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2) rotate(180deg); 
    }
}

/* =============================================
   Company Branding - ZAYNORA Logo
   ============================================= */

.hero-branding {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
    z-index: 10;
}

.company-logo {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0;
    position: relative;
    display: inline-block;
}

.logo-letter {
    display: inline-block;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(34, 197, 94, 0.8),
        0 0 20px rgba(34, 197, 94, 0.6),
        0 0 30px rgba(34, 197, 94, 0.4),
        0 0 40px rgba(34, 197, 94, 0.2);
    animation: logoGlow 3s ease-in-out infinite alternate;
    transition: all 0.3s ease;
}

.logo-letter:nth-child(1) { animation-delay: 0s; }
.logo-letter:nth-child(2) { animation-delay: 0.2s; }
.logo-letter:nth-child(3) { animation-delay: 0.4s; }
.logo-letter:nth-child(4) { animation-delay: 0.6s; }
.logo-letter:nth-child(5) { animation-delay: 0.8s; }
.logo-letter:nth-child(6) { animation-delay: 1.0s; }
.logo-letter:nth-child(7) { animation-delay: 1.2s; }

.logo-letter:hover {
    transform: scale(1.1) rotateY(360deg);
    text-shadow: 
        0 0 15px rgba(34, 197, 94, 1),
        0 0 30px rgba(34, 197, 94, 0.8),
        0 0 45px rgba(34, 197, 94, 0.6);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoGlowPulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes logoGlow {
    0% { 
        text-shadow: 
            0 0 10px rgba(34, 197, 94, 0.8),
            0 0 20px rgba(34, 197, 94, 0.6),
            0 0 30px rgba(34, 197, 94, 0.4);
    }
    100% { 
        text-shadow: 
            0 0 20px rgba(34, 197, 94, 1),
            0 0 40px rgba(34, 197, 94, 0.8),
            0 0 60px rgba(34, 197, 94, 0.6),
            0 0 80px rgba(34, 197, 94, 0.4);
    }
}

@keyframes logoGlowPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.5; 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2); 
        opacity: 0.8; 
    }
}

/* =============================================
   Hero Main Content Layout
   ============================================= */

.hero-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   Zaynora Mascot Character
   ============================================= */

.mascot-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.zaynora-character {
    position: relative;
    z-index: 5;
    animation: characterFloat 6s ease-in-out infinite;
}

.character-head {
    width: 80px;
    height: 90px;
    position: relative;
    margin: 0 auto 10px;
}

.hair {
    width: 85px;
    height: 60px;
    background: linear-gradient(145deg, #8b4513, #a0522d);
    border-radius: 50% 50% 0 0;
    position: absolute;
    top: -20px;
    left: -2.5px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

.face {
    width: 80px;
    height: 90px;
    background: linear-gradient(145deg, #fdbcb4, #f4a6a0);
    border-radius: 50% 50% 45% 45%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.eye {
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    top: 35px;
    animation: characterBlink 4s ease-in-out infinite;
}

.left-eye { left: 22px; }
.right-eye { right: 22px; }

.mouth {
    width: 20px;
    height: 10px;
    background: #d63384;
    border-radius: 0 0 50% 50%;
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    animation: characterSmile 8s ease-in-out infinite;
}

.character-body {
    position: relative;
}

.torso {
    width: 100px;
    height: 120px;
    background: linear-gradient(145deg, #1e3a8a, #3b82f6);
    border-radius: 20px 20px 10px 10px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.arms {
    position: absolute;
    top: 20px;
    width: 100%;
}

.arm {
    width: 15px;
    height: 80px;
    background: linear-gradient(145deg, #fdbcb4, #f4a6a0);
    border-radius: 8px;
    position: absolute;
}

.left-arm {
    left: -15px;
    transform-origin: top center;
    animation: typingLeft 2s ease-in-out infinite;
}

.right-arm {
    right: -15px;
    transform-origin: top center;
    animation: typingRight 2s ease-in-out infinite 0.5s;
}

@keyframes characterFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes characterBlink {
    0%, 85%, 100% { transform: scaleY(1); }
    90% { transform: scaleY(0.1); }
}

@keyframes characterSmile {
    0%, 70% { transform: translateX(-50%) scaleX(1); }
    75%, 85% { transform: translateX(-50%) scaleX(1.3); }
    90%, 100% { transform: translateX(-50%) scaleX(1); }
}

@keyframes typingLeft {
    0%, 50% { transform: rotate(-10deg); }
    25% { transform: rotate(-25deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(-10deg); }
}

@keyframes typingRight {
    0%, 50% { transform: rotate(10deg); }
    25% { transform: rotate(25deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(10deg); }
}

/* =============================================
   Futuristic Computer with Problem→Solution Animation
   ============================================= */

.futuristic-computer {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.monitor {
    position: relative;
}

.screen {
    width: 180px;
    height: 120px;
    background: linear-gradient(145deg, #1f2937, #374151);
    border-radius: 12px 12px 0 0;
    border: 3px solid #6b7280;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 20px rgba(34, 197, 94, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.screen-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 12px;
    width: 90%;
}

/* Error State */
.error-state {
    opacity: 1;
    animation: errorShow 8s ease-in-out infinite;
}

.error-icon {
    font-size: 24px;
    margin-bottom: 8px;
    animation: errorPulse 1s ease-in-out infinite;
}

.error-text {
    color: #ef4444;
    font-weight: bold;
    margin-bottom: 4px;
}

.error-code {
    color: #fbbf24;
    font-size: 10px;
}

/* Typing Indicator */
.typing-indicator {
    opacity: 0;
    display: flex;
    justify-content: center;
    gap: 3px;
    margin: 20px 0;
    animation: typingShow 8s ease-in-out infinite;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: typingDots 1.5s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

/* Success State */
.success-state {
    opacity: 0;
    animation: successShow 8s ease-in-out infinite;
}

.success-icon {
    font-size: 28px;
    color: #22c55e;
    margin-bottom: 8px;
    animation: successPulse 0.5s ease-in-out;
}

.success-text {
    color: #22c55e;
    font-weight: bold;
    margin-bottom: 4px;
}

.success-code {
    color: #10b981;
    font-size: 10px;
}

.screen-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.1) 0%, transparent 60%);
    animation: screenGlowPulse 3s ease-in-out infinite;
}

.computer-base {
    width: 200px;
    height: 30px;
    background: linear-gradient(145deg, #374151, #4b5563);
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.keyboard {
    width: 160px;
    height: 15px;
    background: linear-gradient(145deg, #6b7280, #9ca3af);
    border-radius: 8px;
    margin: 10px auto 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.keyboard::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        #4b5563 0px,
        #4b5563 8px,
        transparent 8px,
        transparent 12px
    );
}

/* Animation Keyframes */
@keyframes errorShow {
    0%, 25% { opacity: 1; }
    30%, 50% { opacity: 0; }
    55%, 100% { opacity: 0; }
}

@keyframes typingShow {
    0%, 25% { opacity: 0; }
    30%, 50% { opacity: 1; }
    55%, 100% { opacity: 0; }
}

@keyframes successShow {
    0%, 50% { opacity: 0; }
    55%, 100% { opacity: 1; }
}

@keyframes errorPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes typingDots {
    0%, 80%, 100% { opacity: 0.3; transform: scale(1); }
    40% { opacity: 1; transform: scale(1.2); }
}

@keyframes successPulse {
    0% { transform: scale(0.5); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes screenGlowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* =============================================
   Light Bulb Idea Animation
   ============================================= */

.idea-bulb {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    animation: ideaFloat 4s ease-in-out infinite;
}

.bulb-icon {
    font-size: 32px;
    text-align: center;
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.8));
    animation: ideaBlink 6s ease-in-out infinite;
}

.idea-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
}

.ray {
    position: absolute;
    width: 3px;
    height: 15px;
    background: linear-gradient(to bottom, rgba(255, 193, 7, 0.8), transparent);
    transform-origin: bottom center;
}

.ray.ray-1 { top: -20px; left: 50%; transform: translateX(-50%) rotate(0deg); }
.ray.ray-2 { top: -10px; right: -10px; transform: rotate(45deg); }
.ray.ray-3 { bottom: -10px; right: -10px; transform: rotate(135deg); }
.ray.ray-4 { top: -10px; left: -10px; transform: rotate(-45deg); }

@keyframes ideaFloat {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes ideaBlink {
    0%, 80% { opacity: 0.6; }
    85%, 95% { opacity: 1; filter: drop-shadow(0 0 20px rgba(255, 193, 7, 1)); }
    100% { opacity: 0.6; }
}

/* =============================================
   Floating Tech Icons
   ============================================= */

.floating-tech-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.tech-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.8), rgba(30, 58, 138, 0.8));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.html-tech {
    top: 20%;
    right: 10%;
    animation: orbitFloat 8s ease-in-out infinite;
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.8), rgba(185, 28, 28, 0.8));
}

.css-tech {
    top: 60%;
    right: 5%;
    animation: orbitFloat 8s ease-in-out infinite 1.6s;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.8), rgba(30, 58, 138, 0.8));
}

.react-tech {
    bottom: 30%;
    right: 15%;
    animation: orbitFloat 8s ease-in-out infinite 3.2s;
    background: linear-gradient(145deg, rgba(6, 182, 212, 0.8), rgba(8, 145, 178, 0.8));
}

.seo-tech {
    top: 40%;
    left: 5%;
    animation: orbitFloat 8s ease-in-out infinite 4.8s;
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.8), rgba(21, 128, 61, 0.8));
}

.ux-tech {
    bottom: 20%;
    left: 10%;
    animation: orbitFloat 8s ease-in-out infinite 6.4s;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.8), rgba(109, 40, 217, 0.8));
}

@keyframes orbitFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    25% { 
        transform: translateY(-20px) scale(1.1); 
        box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    }
    50% { 
        transform: translateY(-10px) scale(1.05); 
        box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    }
    75% { 
        transform: translateY(-30px) scale(1.15); 
        box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    }
}

/* =============================================
   Success Confetti Celebration
   ============================================= */

.confetti-celebration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 7;
    pointer-events: none;
}

.confetti {
    position: absolute;
    font-size: 20px;
    opacity: 0;
    animation: confettiFall 3s ease-in-out infinite;
}

.confetti-1 { top: 10%; left: 20%; animation-delay: 0s; }
.confetti-2 { top: 15%; right: 25%; animation-delay: 0.5s; }
.confetti-3 { top: 5%; left: 60%; animation-delay: 1s; }
.confetti-4 { top: 20%; right: 10%; animation-delay: 1.5s; }
.confetti-5 { top: 8%; left: 40%; animation-delay: 2s; }
.confetti-6 { top: 12%; right: 50%; animation-delay: 2.5s; }

@keyframes confettiFall {
    0% { 
        opacity: 0; 
        transform: translateY(-20px) rotate(0deg) scale(0.5); 
    }
    10%, 90% { 
        opacity: 1; 
        transform: translateY(0px) rotate(360deg) scale(1); 
    }
    100% { 
        opacity: 0; 
        transform: translateY(20px) rotate(720deg) scale(0.5); 
    }
}

/* =============================================
   Hero Text Content
   ============================================= */

.hero-text-content {
    flex: 1;
    color: white;
    z-index: 10;
    position: relative;
}

.main-tagline {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

#typewriter-text {
    display: inline-block;
}

.cursor {
    display: inline-block;
    color: #22c55e;
    animation: cursorBlink 1s ease-in-out infinite;
    font-weight: 300;
}

.subheading {
    font-size: 1.3rem;
    color: #e5e7eb;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 3s both;
    line-height: 1.4;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* =============================================
   Animated CTA Button
   ============================================= */

.cta-container {
    position: relative;
    display: inline-block;
    opacity: 0;
    animation: fadeInUp 1s ease-out 4s both;
}

.cta-button {
    position: relative;
    padding: 18px 40px;
    background: linear-gradient(145deg, #22c55e, #16a34a);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 
        0 10px 25px rgba(34, 197, 94, 0.3),
        0 0 0 2px rgba(34, 197, 94, 0.2);
    transition: all 0.3s ease;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(34, 197, 94, 0.4),
        0 0 0 3px rgba(34, 197, 94, 0.4);
    animation: buttonBounce 0.6s ease-in-out;
}

.button-text {
    position: relative;
    z-index: 2;
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 12px;
    opacity: 0;
    animation: buttonGlow 3s ease-in-out infinite;
}

.ripple-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:active .ripple-effect {
    width: 200px;
    height: 200px;
}

@keyframes buttonBounce {
    0%, 100% { transform: translateY(-3px) scale(1); }
    50% { transform: translateY(-6px) scale(1.05); }
}

@keyframes buttonGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* =============================================
   Mobile Responsive Styles
   ============================================= */

@media (max-width: 768px) {
    .company-logo {
        font-size: 3rem;
    }
    
    .hero-main-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .main-tagline {
        font-size: 2.5rem;
    }
    
    .subheading {
        font-size: 1.1rem;
    }
    
    .mascot-container {
        min-height: 300px;
        transform: scale(0.8);
    }
    
    /* Hide complex animations on mobile for performance */
    .network-animation,
    .floating-tech-icons,
    .confetti-celebration {
        display: none;
    }
    
    .star {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .company-logo {
        font-size: 2.2rem;
    }
    
    .main-tagline {
        font-size: 2rem;
    }
    
    .subheading {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: floatShapes 20s ease-in-out infinite;
}

.bg-shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 7s;
}

.bg-shape-3 {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: 14s;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: heroParticleFloat 8s ease-in-out infinite;
}

.hero-particle:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.hero-particle:nth-child(2) { top: 20%; left: 85%; animation-delay: 1s; }
.hero-particle:nth-child(3) { top: 70%; left: 10%; animation-delay: 2s; }
.hero-particle:nth-child(4) { top: 80%; left: 80%; animation-delay: 3s; }
.hero-particle:nth-child(5) { top: 40%; left: 50%; animation-delay: 4s; }
.hero-particle:nth-child(6) { top: 60%; left: 30%; animation-delay: 5s; }
.hero-particle:nth-child(7) { top: 30%; left: 70%; animation-delay: 6s; }
.hero-particle:nth-child(8) { top: 90%; left: 60%; animation-delay: 7s; }

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 600px;
    flex: 1;
}

.hero-illustration {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-mockup {
    position: relative;
    width: 300px;
    height: 200px;
    animation: floatMockup 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.floating-mockup:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) scale(1.05);
}

.mockup-screen {
    width: 100%;
    height: 70%;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 8px 8px 0 0;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mockup-screen::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    animation: screenGlow 3s ease-in-out infinite;
}

.mockup-base {
    width: 120%;
    height: 30%;
    background: #374151;
    border-radius: 0 0 12px 12px;
    margin: 0 -10%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-title {
    margin-bottom: 30px;
}

.company-name {
    display: block;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.tagline {
    display: block;
    font-size: 1.6rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.2rem;
    color: #f3f4f6; /* Light text for dark hero background */
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

@keyframes floatShapes {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) rotate(270deg); }
}

@keyframes heroParticleFloat {
    0%, 100% { transform: translateY(0px); opacity: 0.7; }
    50% { transform: translateY(-30px); opacity: 1; }
}

@keyframes floatMockup {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes screenGlow {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

/* =============================================
   Animated Developer Scene Styles
   ============================================= */

.developer-scene {
    position: relative;
    width: 400px;
    height: 300px;
    margin: 0 auto;
    animation: sceneFloat 8s ease-in-out infinite;
}

/* Developer Character */
.developer-character {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.developer-body {
    position: relative;
    animation: developerBreathe 4s ease-in-out infinite;
}

.developer-head {
    width: 40px;
    height: 45px;
    background: #fdbcb4;
    border-radius: 50% 50% 45% 45%;
    position: relative;
    margin: 0 auto 5px;
}

.developer-hair {
    width: 45px;
    height: 30px;
    background: #8b4513;
    border-radius: 50% 50% 0 0;
    position: absolute;
    top: -15px;
    left: -2.5px;
}

.developer-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.eye {
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    animation: blink 3s ease-in-out infinite;
}

.eye-left {
    left: -8px;
    top: -2px;
}

.eye-right {
    right: -8px;
    top: -2px;
}

.smile {
    width: 12px;
    height: 6px;
    border: 2px solid #333;
    border-top: none;
    border-radius: 0 0 12px 12px;
    position: absolute;
    left: -6px;
    top: 3px;
    animation: happySmile 6s ease-in-out infinite;
}

.developer-torso {
    width: 50px;
    height: 60px;
    background: linear-gradient(145deg, #3b82f6, #1e3a8a);
    border-radius: 10px 10px 0 0;
    margin: 0 auto;
    position: relative;
}

.developer-arms {
    position: absolute;
    top: 10px;
    width: 100%;
}

.arm {
    width: 15px;
    height: 40px;
    background: #fdbcb4;
    border-radius: 15px;
    position: absolute;
}

.arm-left {
    left: -10px;
    transform: rotate(-20deg);
    animation: typeLeft 2s ease-in-out infinite;
}

.arm-right {
    right: -10px;
    transform: rotate(20deg);
    animation: typeRight 2s ease-in-out infinite 0.5s;
}

/* Desk */
.desk {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.desk-surface {
    width: 300px;
    height: 15px;
    background: linear-gradient(145deg, #8b4513, #654321);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.desk-legs {
    width: 280px;
    height: 60px;
    background: linear-gradient(145deg, #654321, #4a2c17);
    margin: 0 auto;
    border-radius: 0 0 10px 10px;
    position: relative;
}

/* Laptop */
.laptop {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.laptop-screen {
    width: 120px;
    height: 80px;
    background: #1a1a1a;
    border-radius: 8px 8px 0 0;
    border: 3px solid #333;
    position: relative;
    animation: screenGlow 3s ease-in-out infinite;
}

.screen-content {
    padding: 8px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.code-lines {
    font-family: 'Courier New', monospace;
    font-size: 6px;
    color: #00ff00;
    line-height: 1.2;
    animation: codeAppear 8s ease-in-out infinite;
}

.code-line {
    opacity: 0;
    animation: typeCode 1s ease-in-out forwards;
}

.code-line:nth-child(1) { animation-delay: 1s; }
.code-line:nth-child(2) { animation-delay: 2s; }
.code-line:nth-child(3) { animation-delay: 3s; }
.code-line:nth-child(4) { animation-delay: 4s; }

.website-preview {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 60px;
    background: #fff;
    border-radius: 3px;
    padding: 3px;
    opacity: 0;
    animation: showPreview 2s ease-in-out 5s forwards;
}

.preview-header {
    width: 100%;
    height: 6px;
    background: #1e3a8a;
    border-radius: 2px 2px 0 0;
    margin-bottom: 2px;
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.preview-block {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 1px;
    animation: buildWebsite 1s ease-in-out forwards;
}

.preview-block:nth-child(1) { animation-delay: 5.5s; }
.preview-block:nth-child(2) { animation-delay: 6s; }

.laptop-keyboard {
    width: 130px;
    height: 8px;
    background: linear-gradient(145deg, #333, #1a1a1a);
    border-radius: 0 0 5px 5px;
    margin-top: -2px;
}

/* Floating Tech Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tech-icon {
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 8px;
    color: white;
    animation: floatIcon 6s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.html-icon {
    background: linear-gradient(145deg, #e44d26, #f16529);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.css-icon {
    background: linear-gradient(145deg, #1572b6, #33a9dc);
    top: 60%;
    right: 10%;
    animation-delay: 1.5s;
}

.js-icon {
    background: linear-gradient(145deg, #f7df1e, #f7df1e);
    color: #333;
    top: 40%;
    left: 5%;
    animation-delay: 3s;
}

.react-icon {
    background: linear-gradient(145deg, #61dafb, #21a0c4);
    color: #333;
    top: 15%;
    right: 15%;
    animation-delay: 4.5s;
    font-size: 12px;
}

/* Lightbulb Idea */
.lightbulb-idea {
    position: absolute;
    top: -20px;
    left: 30%;
    animation: lightbulbFloat 4s ease-in-out infinite 2s;
}

.lightbulb {
    position: relative;
    animation: ideaGlow 3s ease-in-out infinite;
}

.bulb {
    width: 20px;
    height: 25px;
    background: linear-gradient(145deg, #fbbf24, #f59e0b);
    border-radius: 50% 50% 25% 25%;
    position: relative;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
}

.bulb-base {
    width: 18px;
    height: 8px;
    background: #6b7280;
    margin: 0 auto;
    border-radius: 0 0 4px 4px;
}

.light-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ray {
    position: absolute;
    width: 3px;
    height: 12px;
    background: #fbbf24;
    border-radius: 2px;
    animation: rayGlow 1.5s ease-in-out infinite;
}

.ray-1 {
    top: -20px;
    left: -1.5px;
    animation-delay: 0s;
}

.ray-2 {
    top: -14px;
    right: -16px;
    transform: rotate(45deg);
    animation-delay: 0.3s;
}

.ray-3 {
    top: -1.5px;
    right: -20px;
    transform: rotate(90deg);
    animation-delay: 0.6s;
}

.ray-4 {
    top: -14px;
    left: -16px;
    transform: rotate(-45deg);
    animation-delay: 0.9s;
}

/* Floating Gears */
.floating-gears {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gear {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #6b7280;
    border-radius: 50%;
    animation: rotateGear 4s linear infinite;
}

.gear-1 {
    top: 25%;
    right: 5%;
    animation-delay: 0s;
}

.gear-2 {
    bottom: 30%;
    left: 8%;
    width: 25px;
    height: 25px;
    animation-delay: 1s;
    animation-direction: reverse;
}

.gear-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border: 2px solid #6b7280;
    border-radius: 50%;
}

.gear::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #6b7280;
    border-radius: 50%;
}

.gear::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #6b7280;
    border-radius: 50%;
}

/* Success Particles */
.success-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    font-size: 16px;
    animation: particleFloat 3s ease-in-out infinite;
    opacity: 0;
}

.particle-1 {
    top: 20%;
    left: 20%;
    animation-delay: 6s;
}

.particle-2 {
    top: 30%;
    right: 25%;
    animation-delay: 6.5s;
}

.particle-3 {
    top: 50%;
    left: 15%;
    animation-delay: 7s;
}

.particle-4 {
    top: 40%;
    right: 20%;
    animation-delay: 7.5s;
}

/* Coffee Cup */
.coffee-cup {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
}

.cup {
    width: 20px;
    height: 25px;
    background: linear-gradient(145deg, #8b4513, #654321);
    border-radius: 0 0 8px 8px;
    position: relative;
}

.cup::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 5px;
    width: 12px;
    height: 12px;
    border: 2px solid #8b4513;
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.steam {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.steam-line {
    width: 2px;
    height: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    animation: steamRise 2s ease-in-out infinite;
}

.steam-1 {
    left: -3px;
    animation-delay: 0s;
}

.steam-2 {
    left: 0px;
    animation-delay: 0.5s;
}

.steam-3 {
    left: 3px;
    animation-delay: 1s;
}

/* =============================================
   Animation Keyframes for Developer Scene
   ============================================= */

@keyframes sceneFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes developerBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

@keyframes happySmile {
    0%, 70% { transform: scaleX(1); }
    80%, 90% { transform: scaleX(1.2); }
    100% { transform: scaleX(1); }
}

@keyframes typeLeft {
    0%, 50% { transform: rotate(-20deg); }
    25% { transform: rotate(-30deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(-20deg); }
}

@keyframes typeRight {
    0%, 50% { transform: rotate(20deg); }
    25% { transform: rotate(30deg); }
    75% { transform: rotate(10deg); }
    100% { transform: rotate(20deg); }
}

@keyframes typeCode {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes showPreview {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes buildWebsite {
    from { width: 0; opacity: 0; }
    to { width: 100%; opacity: 1; }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-20px) rotate(270deg); }
}

@keyframes lightbulbFloat {
    0%, 100% { transform: translateY(0px); opacity: 0; }
    50% { transform: translateY(-20px); opacity: 1; }
}

@keyframes ideaGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3) drop-shadow(0 0 10px #fbbf24); }
}

@keyframes rayGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes rotateGear {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0px) scale(0.5); }
    50% { opacity: 1; transform: translateY(-30px) scale(1); }
    100% { opacity: 0; transform: translateY(-60px) scale(0.5); }
}

@keyframes steamRise {
    0% { opacity: 0; transform: translateY(0px); }
    50% { opacity: 1; transform: translateY(-8px); }
    100% { opacity: 0; transform: translateY(-15px); }
}

@keyframes codeAppear {
    0%, 20% { opacity: 1; }
    80%, 100% { opacity: 0.3; }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: #1e3a8a;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Services Highlights */
.services-highlights {
    padding: 100px 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.15);
    border-color: #1e3a8a;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.service-icon i {
    animation: iconBounce 2s ease-in-out infinite;
}

.service-card:hover .service-icon i {
    animation-play-state: paused;
}

.service-card h3 {
    color: #1e3a8a;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

/* Ensure service card text is dark for light background */
.service-card p {
    color: #6b7280; /* Dark gray for readability */
}

.service-card:hover h3 {
    color: #3b82f6;
}

.service-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.service-link:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

.service-link:hover::after {
    width: 100%;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Why Choose Us */
.why-choose-us {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 1.8rem;
}

.feature-card h3 {
    color: #1e3a8a;
    margin-bottom: 15px;
}

/* Ensure feature card text is dark for light background */
.feature-card p {
    color: #6b7280; /* Dark gray for readability */
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.testimonial-content {
    margin-bottom: 30px;
}

/* Ensure testimonial text is dark for light background */
.testimonial-content p {
    color: #4b5563; /* Dark gray for readability */
    font-style: italic;
}

.quote-icon {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.author-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Individual Avatar Colors */
.avatar-sarah {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.avatar-michael {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.avatar-emily {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* Avatar Initial Styling */
.avatar-initial {
    position: relative;
    z-index: 2;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

/* Subtle Animation Effect */
.author-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.author-avatar:hover::before {
    opacity: 1;
}

/* =============================================
   Team Avatars (About Page)
   ============================================= */

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.team-avatar:hover {
    transform: scale(1.1) rotateY(15deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* Individual Team Avatar Colors */
.avatar-alex {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.avatar-sarah-chen {
    background: linear-gradient(135deg, #059669, #10b981);
}

.avatar-michael-rodriguez {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.avatar-emma {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.avatar-david {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.avatar-lisa {
    background: linear-gradient(135deg, #be185d, #ec4899);
}

/* Team Avatar Animation Effect */
.team-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.team-avatar:hover::before {
    opacity: 1;
}

.team-avatar .avatar-initial {
    position: relative;
    z-index: 2;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

/* =============================================
   About Hero Placeholder
   ============================================= */

.about-hero-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #8b5cf6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-hero-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
    animation: heroIconFloat 3s ease-in-out infinite alternate;
}

.hero-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes heroIconFloat {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(-10px) scale(1.05); }
}

/* =============================================
   Portfolio Project Placeholders
   ============================================= */

.project-placeholder {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-placeholder:hover {
    transform: scale(1.02);
}

/* Web Development Project */
.project-web-dev {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.browser-mockup {
    width: 180px;
    height: 120px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.browser-header {
    background: #f3f4f6;
    height: 25px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.browser-dots {
    display: flex;
    gap: 4px;
}

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
}

.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.browser-content {
    padding: 15px;
}

.content-line {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    margin-bottom: 8px;
}

.content-line.short {
    width: 60%;
}

.content-box {
    width: 100%;
    height: 35px;
    background: #ddd6fe;
    border-radius: 4px;
    margin-top: 10px;
}

/* E-commerce Project */
.project-ecommerce {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.ecommerce-mockup {
    position: relative;
    width: 180px;
    height: 120px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 15px;
}

.product-item {
    height: 30px;
    background: #f3f4f6;
    border-radius: 4px;
    border: 2px solid #e5e7eb;
}

.cart-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.2rem;
}

/* SEO Project */
.project-seo {
    background: linear-gradient(135deg, #059669, #10b981);
}

.seo-mockup {
    width: 180px;
    height: 120px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-container {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 60px;
}

.chart-bar {
    width: 20px;
    background: linear-gradient(to top, #059669, #10b981);
    border-radius: 2px;
    min-height: 10px;
}

.growth-indicator {
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: #059669;
}

/* Branding Project */
.project-branding {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.branding-mockup {
    width: 180px;
    height: 120px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.logo-showcase {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.brand-circle.green { background: #10b981; }

.brand-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #374151;
}

.color-palette {
    display: flex;
    gap: 8px;
}

.color-swatch {
    width: 25px;
    height: 25px;
    border-radius: 4px;
}

.color-swatch.green { background: #10b981; }
.color-swatch.light-green { background: #6ee7b7; }
.color-swatch.gray { background: #6b7280; }

/* Social Media Project */
.project-social {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.social-mockup {
    width: 180px;
    height: 120px;
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.social-post {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-pic {
    width: 20px;
    height: 20px;
    background: #3b82f6;
    border-radius: 50%;
}

.post-info {
    font-size: 0.8rem;
    font-weight: bold;
    color: #374151;
}

.post-content {
    height: 40px;
    background: #f3f4f6;
    border-radius: 4px;
    margin: 8px 0;
}

.post-stats {
    display: flex;
    justify-content: space-around;
    font-size: 0.7rem;
}

/* Healthcare Project */
.project-healthcare {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.healthcare-mockup {
    width: 180px;
    height: 120px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.dashboard-header {
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: #374151;
    margin-bottom: 15px;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.health-card {
    height: 30px;
    background: #fef3f2;
    border: 2px solid #fecaca;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Food Delivery Project */
.project-food-delivery {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.food-delivery-mockup {
    width: 180px;
    height: 120px;
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.app-screen {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #374151;
    margin-bottom: 10px;
}

.restaurant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    flex-grow: 1;
}

.restaurant-card {
    background: #fef3c7;
    border: 2px solid #fde68a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.delivery-time {
    text-align: center;
    font-size: 0.7rem;
    color: #374151;
    margin-top: 8px;
}

/* Finance Project */
.project-finance {
    background: linear-gradient(135deg, #1f2937, #374151);
}

.finance-mockup {
    width: 180px;
    height: 120px;
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.finance-header {
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #374151;
    margin-bottom: 10px;
}

.finance-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 10px;
}

.finance-card {
    height: 25px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.finance-chart {
    text-align: center;
}

.chart-line {
    font-size: 1.2rem;
}

/* Project Icon Styling */
.project-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.project-preview {
    z-index: 2;
}

.project-placeholder:hover .project-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

/* =============================================
   Portfolio Project Modal
   ============================================= */

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal.active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.project-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.project-image-full {
    background: #f8fafc;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder-large {
    width: 100%;
    max-width: 350px;
    height: 250px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Apply same backgrounds to large placeholders */
.project-placeholder-large.project-web-dev { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.project-placeholder-large.project-ecommerce { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.project-placeholder-large.project-seo { background: linear-gradient(135deg, #059669, #10b981); }
.project-placeholder-large.project-branding { background: linear-gradient(135deg, #dc2626, #ef4444); }
.project-placeholder-large.project-social { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.project-placeholder-large.project-healthcare { background: linear-gradient(135deg, #ec4899, #f472b6); }
.project-placeholder-large.project-food-delivery { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.project-placeholder-large.project-finance { background: linear-gradient(135deg, #1f2937, #374151); }

.project-info {
    padding: 30px;
}

.project-meta-full {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-category-tag {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-industry-tag {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 25px;
}

.project-features,
.project-technologies,
.client-testimonial,
.project-results {
    margin-bottom: 25px;
}

.project-features h4,
.project-technologies h4,
.client-testimonial h4,
.project-results h4 {
    color: #1e3a8a;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.project-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    padding-left: 25px;
}

.project-features li:last-child {
    border-bottom: none;
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

.client-testimonial blockquote {
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    padding: 15px 20px;
    margin: 0;
    font-style: italic;
    color: #4b5563;
    border-radius: 0 8px 8px 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.result-item {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 8px;
    border: 1px solid #bfdbfe;
}

.result-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1e40af;
    display: block;
}

.result-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 5px;
}

.project-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.project-actions .btn {
    flex: 1;
    min-width: 200px;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 8px;
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .project-details {
        grid-template-columns: 1fr;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .project-info {
        padding: 20px;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .project-actions .btn {
        min-width: 100%;
    }
}

.author-info h4 {
    color: #1e3a8a;
    margin-bottom: 5px;
}

.author-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 20px;
    color: white;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.9;
}

/* Services Page Styles */
.services-section {
    padding: 80px 0;
}

.bg-light {
    background: #f8fafc;
}

.service-detail-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-features {
    list-style: none;
    margin: 20px 0 30px;
}

.service-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* About Page Styles */
.company-story {
    padding: 80px 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    color: #1e3a8a;
    margin-bottom: 30px;
}

.story-image {
    border-radius: 12px;
    overflow: hidden;
}

.mission-vision {
    padding: 80px 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.mv-card {
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.mv-card h3 {
    color: #1e3a8a;
    margin-bottom: 20px;
}

.core-values {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.value-card h3 {
    color: #1e3a8a;
    margin-bottom: 15px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-image {
    height: 250px;
    overflow: hidden;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-role {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: #1e3a8a;
    color: white;
}

/* Statistics */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Portfolio Styles */
.portfolio-filter {
    padding: 40px 0;
    background: #f8fafc;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
}

.portfolio-grid-section {
    padding: 80px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-links {
    display: flex;
    gap: 15px;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a8a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-category {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.portfolio-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.industry {
    display: inline-block;
    background: #eff6ff;
    color: #1e3a8a;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.client-feedback {
    font-style: italic;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Industries Served */
.industries-served {
    padding: 80px 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.industry-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.industry-card h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.project-results {
    padding: 80px 0;
    background: #f8fafc;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.result-card {
    text-align: center;
}

.result-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.result-label {
    font-size: 1.1rem;
    color: #6b7280;
}

/* Blog Styles */
.blog-categories {
    padding: 40px 0;
    background: #f8fafc;
}

.category-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 25px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn.active,
.category-btn:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
}

.featured-article {
    padding: 80px 0;
    background: #f8fafc;
}

.featured-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.featured-image {
    height: 400px;
    overflow: hidden;
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
    margin-bottom: 20px;
}

.blog-grid-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-content {
    padding: 25px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.article-date,
.article-category {
    font-size: 0.8rem;
    color: #6b7280;
}

.article-category {
    color: #1e3a8a;
    font-weight: 500;
}

.read-more {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

.load-more-section {
    text-align: center;
    margin-top: 60px;
}

.newsletter-section {
    padding: 80px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: #1e3a8a;
    margin-bottom: 20px;
}

.newsletter-form-large {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form-large input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 16px;
}

/* Contact Styles */
.contact-info {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.contact-card h3 {
    color: #1e3a8a;
    margin-bottom: 15px;
}

.whatsapp-link {
    color: #25d366;
    text-decoration: none;
    font-weight: 500;
}

.contact-form-section {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.form-section h2 {
    color: #1e3a8a;
    margin-bottom: 20px;
}

.contact-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3a8a;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.btn-submit {
    width: 100%;
    position: relative;
}

.btn-loading {
    display: none;
}

.map-section h2 {
    color: #1e3a8a;
    margin-bottom: 30px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.office-hours h3 {
    color: #1e3a8a;
    margin-bottom: 20px;
}

.hours-list {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.hours-item:last-child {
    border-bottom: none;
}

/* FAQ Styles */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    margin: 0;
    color: #1e3a8a;
    font-size: 1.1rem;
}

.faq-icon {
    color: #1e3a8a;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px; /* Increased to accommodate longer content */
    opacity: 1;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

/* Ensure all footer text is light colored */
.footer p {
    color: #d1d5db;
}

.footer h3, .footer h4 {
    color: white;
}

/* =============================================
   Text Contrast Overrides for Light Backgrounds
   ============================================= */

/* All white cards and light background sections */
.service-detail-card p,
.mv-card p,
.value-card p,
.team-card p,
.contact-card p,
.industry-card p,
.faq-answer p {
    color: #6b7280; /* Dark gray for readability */
}

/* Sections with light backgrounds */
.services-highlights p,
.testimonials p,
.bg-light p,
.about-section p {
    color: #6b7280;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 10px 20px;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

/* GSAP Animation Classes and Keyframes */

/* Initial states for GSAP animations - with fallback */
[data-animate] {
    opacity: 0;
    /* Fallback: show content after 5 seconds if GSAP doesn't work */
    animation: showContentFallback 5s ease-in-out forwards;
}

[data-animate="fadeInUp"] {
    transform: translateY(50px);
}

[data-animate="slideUpStagger"] {
    transform: translateY(50px);
}

[data-animate="zoomInStagger"] {
    transform: scale(0.8);
}

[data-animate="slideInLeft"] {
    transform: translateX(-50px);
}

[data-animate="slideInRight"] {
    transform: translateX(50px);
}

[data-animate="slideInStagger"] {
    transform: translateX(-30px);
}

[data-animate="bounceIn"] {
    transform: scale(0.3);
}

[data-animate="fadeInScale"] {
    transform: scale(0.8);
}

@keyframes showContentFallback {
    0%, 80% { opacity: 0; }
    100% { opacity: 1; transform: none; }
}

/* Completed animation states */
.animated {
    opacity: 1 !important;
    transform: none !important;
}

/* CSS Fallback Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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 zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.zoom-in {
    animation: zoomIn 0.6s ease-out;
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8fafc;
        margin-top: 10px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 60px;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-illustration {
        max-width: 250px;
        margin: 0 auto;
    }

    .floating-mockup {
        width: 200px;
        height: 140px;
    }

    .company-name {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Reduce animation complexity on mobile */
    .hero-particle,
    .bg-shape,
    .particle {
        display: none;
    }

    .floating-mockup:hover {
        transform: none;
    }

    /* Developer Scene Mobile Optimization */
    .developer-scene {
        width: 280px;
        height: 220px;
        transform: scale(0.8);
    }

    .floating-icons .tech-icon {
        width: 25px;
        height: 25px;
        font-size: 6px;
    }

    .lightbulb-idea,
    .floating-gears,
    .success-particles {
        display: none; /* Hide complex elements on mobile */
    }

    .code-lines {
        font-size: 4px;
    }

    .laptop-screen {
        width: 100px;
        height: 65px;
    }

    .laptop-keyboard {
        width: 110px;
    }

    .developer-scene {
        animation: none; /* Disable floating animation on mobile */
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .story-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 250px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .newsletter-form-large {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .category-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.scroll-to-top.show {
    display: flex;
}
