/* 
 * style.css
 * Global Custom Styles and Theme Overrides for Galaxy International School
 */

/* Import Google Fonts - Poppins (Headings) & Inter (Body) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* Base Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: #111827;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Custom Scrollbar for Premium Look */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F8FAFC;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0D47A1;
}

/* Glassmorphism Styles */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Custom Hover Effects (Premium Soft Lift) */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(13, 71, 161, 0.15);
}

/* Gradient Borders for Highlights */
.gradient-border-blue {
    position: relative;
    border-radius: 1rem;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #0D47A1, #FFC107) border-box;
    border: 2px solid transparent;
}

.gradient-border-yellow {
    position: relative;
    border-radius: 1rem;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #FFC107, #D32F2F) border-box;
    border: 2px solid transparent;
}

/* Pulse Glow Animation for Floating Buttons */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

.whatsapp-pulse {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow-phone {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(13, 71, 161, 0.5);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(13, 71, 161, 0);
    }
}

.phone-pulse {
    animation: pulse-glow-phone 2s infinite;
}

/* Image Hover & Lazy Load Base */
.lazy-image {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Swiper.js Navigation Customization Placeholders */
.swiper-button-next, .swiper-button-prev {
    color: #0D47A1 !important;
    background: white;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.swiper-pagination-bullet-active {
    background: #0D47A1 !important;
}

/* AOS Tweaks for Smoothness */
[data-aos] {
    pointer-events: none;
}
.aos-animate [data-aos] {
    pointer-events: auto;
}

/* Ken Burns background zoom animation */
@keyframes kenburns {
    0% {
        transform: scale(1.04);
    }
    100% {
        transform: scale(1.11);
    }
}
.kenburns-bg {
    animation: kenburns 12s infinite alternate ease-in-out;
}

/* Typing Effect cursor border styling */
.typing-cursor::after {
    content: '|';
    display: inline-block;
    color: #FFC107;
    margin-left: 3px;
    animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {
    from, to { color: transparent }
    50% { color: #FFC107 }
}

/* === Hero Slide 1 Typewriter cursor === */
.typewriter-cursor {
    display: inline-block;
    border-right: 3px solid #FFD700;
    padding-right: 4px;
    animation: tw-blink 0.75s step-end infinite;
}

@keyframes tw-blink {
    from, to { border-color: #FFD700; }
    50%       { border-color: transparent; }
}

/* Gold shimmer sweep on school name */
@keyframes gold-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
.gold-shimmer-text {
    background: linear-gradient(110deg, #FFD700 20%, #FFF8DC 45%, #FFA500 55%, #FFD700 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shimmer 3s linear infinite;
}
