/* --- MODERN RESET & FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800;900&family=Outfit:wght@300;400;600&display=swap');

:root {
    /* Premium Dark Industrial Palette */
    --bg-dark: #030712;
    /* Rich Black/Blue */
    --bg-card: rgba(17, 24, 39, 0.7);
    --primary-accent: #3b82f6;
    /* Electric Blue */
    --secondary-accent: #a855f7;
    /* Neon Purple */
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --grad-surface: linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(0, 0, 0, 0.9));
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    /* Smooth rendering */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* --- PERFORMANCE BOOSTER --- */
/* content-visibility removed due to mobile video issues */
section:not(#hero) {
    /* content-visibility: auto; - REVERTED */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

/* --- UTILITIES --- */
.text-shadow-hero {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.text-shadow-glow {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* --- ANIMATIONS --- */
@keyframes indiaShimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.animate-india-gradient {
    /* Tricolor Gradient: Saffron, White, Green */
    background-image: linear-gradient(90deg,
            #FF9933 0%,
            #FFFFFF 25%,
            #138808 50%,
            #FFFFFF 75%,
            #FF9933 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: indiaShimmer 3s linear infinite;
    will-change: background-position;
}

/* REVEAL ANIMATIONS */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active,
.reveal-up.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scroll {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease-out;
}

.reveal-scroll.active,
.reveal-scroll.reveal-visible {
    opacity: 1;
    transform: scale(1);
}

/* Video Transition Classes */
.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

/* ACCESSIBILITY: Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-india-gradient {
        animation: none;
        background: linear-gradient(90deg, #FF9933, #FFFFFF, #138808);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

/* =========================================
   HERO REDESIGN STYLES
   ========================================= */

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

/* India Text - Tri-Color Gradient */
.hero-title-secondary {
    background-image: linear-gradient(90deg,
            #FF9933 0%,
            #FFFFFF 25%,
            #138808 50%,
            #FFFFFF 75%,
            #FF9933 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: indiaShimmer 3s linear infinite;
    text-shadow: none;
    /* Remove shadow to keep gradient clean */
}

/* Tagline */
.hero-tagline {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
    margin-top: 2rem;
}

@media (max-width: 640px) {
    .text-7xl {
        font-size: 3.5rem !important;
        line-height: 1.1;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .btn-primary {
        width: 100%;
        padding: 1rem;
    }
}

/* Primary & Secondary Buttons */
.btn-primary {
    background-color: #0066CC;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background-color: #0055aa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.6);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-fab:hover {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    transform: scale(1.1);
}

.whatsapp-fab.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Trust Strip */
.trust-strip {
    background: linear-gradient(to right, #000000, #111111);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hide Scrollbar Utility */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}