/* Custom Style additions for ITM Global School Landing Page - Logo Palette Matching & Ultra-Luxury Conversion Styles */
:root {
    /* Brand Crimson Red / Terracotta (from Logo ITM & Red Birds) */
    --primary: #8B1E24;
    --primary-dark: #5E1015;
    --primary-light: #A8282F;
    --primary-glow: rgba(139, 30, 36, 0.25);
    
    /* Forest Botanical Green (from Logo Tree & Truly Global / Indian text) */
    --secondary: #156634;
    --secondary-dark: #0D4522;
    --secondary-light: #1E7E44;
    --secondary-glow: rgba(21, 102, 52, 0.25);
    
    /* Warm Mango / Ochre Gold (from Logo Fruit & Highlights) */
    --accent: #D97706;
    --accent-light: #F59E0B;
    --accent-glow: rgba(217, 119, 6, 0.4);

    /* Backgrounds & Text */
    --dark: #1e0406;
    --dark-surface: #2d070a;
    --light: #FDFBF9;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #334155;
    background-color: #fdfbf9;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

/* Gradient Backgrounds & Overlays */
.hero-gradient {
    background: linear-gradient(135deg, #420a0d 0%, #70161b 45%, #180304 100%);
}

.gold-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.green-gradient {
    background: linear-gradient(135deg, #1e7e44 0%, #156634 100%);
}

.maroon-gradient {
    background: linear-gradient(135deg, #a8282f 0%, #8b1e24 100%);
}

/* Metallic & Gradient Texts */
.text-gradient-gold {
    background: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-maroon {
    background: linear-gradient(135deg, #8b1e24 0%, #a8282f 50%, #5e1015 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Luxury Card Glow & Glassmorphism */
.glass-luxury {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px -5px rgba(139, 30, 36, 0.08), 0 0 0 1px rgba(217, 119, 6, 0.1);
}

.glass-luxury-dark {
    background: rgba(30, 4, 6, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.luxury-card-glow {
    position: relative;
    box-shadow: 0 15px 35px -5px rgba(139, 30, 36, 0.12), 0 0 0 1px rgba(217, 119, 6, 0.15);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card-glow:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -10px rgba(139, 30, 36, 0.22), 0 0 0 2px rgba(217, 119, 6, 0.4);
}

/* Dual-Tone Gradient Borders */
.gradient-border-gold {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #f59e0b, #8b1e24, #156634) border-box;
}

.gradient-border-dark {
    border: 2px solid transparent;
    background: linear-gradient(#1e0406, #1e0406) padding-box,
                linear-gradient(135deg, #f59e0b, #a8282f, #10b981) border-box;
}

/* Pulse animation for CTA */
@keyframes pulse-subtle {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.6);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 0 12px rgba(217, 119, 6, 0);
    }
}

.btn-pulse {
    animation: pulse-subtle 2.5s infinite;
}

/* Live Badge Glow */
@keyframes live-pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; filter: drop-shadow(0 0 6px #10b981); }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.live-dot {
    animation: live-pulse 1.8s infinite ease-in-out;
}

/* Badge shine effect */
.shine-badge {
    position: relative;
    overflow: hidden;
}

.shine-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(30deg);
    animation: shine 3.5s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    25%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdfbfb;
}
::-webkit-scrollbar-thumb {
    background: #8b1e24;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5e1015;
}

/* Lead Form Card & Inputs Styling */
.form-input-custom {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-input-custom:focus {
    border-color: #d97706 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3.5px rgba(217, 119, 6, 0.22) !important;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15);
}

/* Floating WhatsApp widget */
.floating-wa-btn {
    position: fixed;
    bottom: 75px;
    right: 20px;
    z-index: 990;
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-wa-btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.6);
}

@media (min-width: 768px) {
    .floating-wa-btn {
        bottom: 25px;
        right: 25px;
    }
}

/* Facilities & Action Cards 3D Lift */
.feature-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 35px -5px rgba(139, 30, 36, 0.14), 0 12px 15px -5px rgba(0, 0, 0, 0.04);
}

/* Real-Time Social Proof Toast Notification */
#socialProofToast {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#socialProofToast.toast-hidden {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
}
#socialProofToast.toast-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Comparison Table Styling */
.table-highlight {
    background: linear-gradient(180deg, rgba(139, 30, 36, 0.05) 0%, rgba(217, 119, 6, 0.03) 100%);
    border-left: 3px solid #8B1E24;
    border-right: 3px solid #8B1E24;
}

/* Interactive Calculator Cards */
.calc-option.active {
    border-color: #8B1E24;
    background-color: #FFF5F5;
    color: #8B1E24;
    box-shadow: 0 4px 12px rgba(139, 30, 36, 0.15);
}

/* Hide scrollbars while allowing smooth touch/horizontal scroll */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

