/* RTD Public School - Custom Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
    color: #1f2937;
}

/* Parallax Background */
.parallax-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    transform: translateY(0);
    will-change: transform;
}

/* Card Styling */
.card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Button Styling */
.btn-primary {
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-primary:hover {
    background-color: #047857;
    transform: scale(1.05);
}

/* Animations */
.animate-pulse {
    animation: pulse 2s infinite;
}
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}
.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out forwards;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Swiper Customizations */
.swiper-container {
    overflow: hidden;
    padding-bottom: 2rem;
}
.swiper-pagination-bullet {
    background-color: #9ca3af;
}
.swiper-pagination-bullet-active {
    background-color: #059669;
}
.swiper-button-next, .swiper-button-prev {
    color: #059669;
}

/* Video Background */
video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Accessibility */
:focus {
    outline: 2px solid #059669;
    outline-offset: 2px;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }
    #hero {
        height: 80vh;
    }
    h1 {
        font-size: 2.25rem;
    }
}
@media (max-width: 768px) {
    .md\\:flex-row {
        flex-direction: column;
    }
}