/* Custom styles for Park Vista School */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero animation */
.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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

/* Scroll indicator animation */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(3, 7, 18, 0.95) !important;
    backdrop-blur: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-scrolled .nav-text {
    color: white !important;
}

.nav-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Program card hover effect */
.program-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Testimonial card hover */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #841634;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b1330;
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #841634;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, .scroll-indicator, #contact-form button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
