/* ========================================================= */
/* CREATIVE DIGITAL AGENCY - GLOBAL CSS & ANIMATIONS         */
/* ========================================================= */

/* 1. Base & Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* File: css/global.css */
body { 
    font-family: 'Poppins', sans-serif; 
    overflow-x: hidden; 
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
    /* Yahan se opacity aur animation delete kar diya gaya hai */
}

/* 2. Premium Custom Scrollbar (Matched to Blue/Orange Brand) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #070b19; } /* Dark track */
::-webkit-scrollbar-thumb { 
    background: #1a4789; 
    border-radius: 10px; 
    border: 2px solid #070b19; /* Inner padding feel */
}
::-webkit-scrollbar-thumb:hover { background: #f26b3c; } /* Orange on hover */

/* Premium Text Selection Highlight */
::selection { 
    background: #f26b3c; 
    color: white; 
}

/* 3. Glassmorphism Utilities (For Cards & Navbars) */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* 4. Advanced Animations */

/* Slow Bounce (Images/Cards) */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.animate-bounce-slow { animation: bounce-slow 4s ease-in-out infinite; }

/* Gradient Shift for Text or Backgrounds */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animate-gradient {
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

/* Floating Abstract Orbs */
@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}
@keyframes floatX {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(30px); }
}
.animate-float-y { animation: floatY 6s ease-in-out infinite; }
.animate-float-x { animation: floatX 7s ease-in-out infinite; }

/* Pulse Glow for Main CTA Buttons */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(242, 107, 60, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(242, 107, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 107, 60, 0); }
}
.animate-pulse-glow { animation: pulseGlow 2s infinite; }

/* Premium Button Shine Effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 6s infinite;
}
@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* 5. Scroll Reveal Animation Classes (Triggered by main.js) */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-scale { opacity: 0; transform: scale(0.85); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-scale.active { opacity: 1; transform: scale(1); }

/* Staggered Delays for Grid Elements */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }