/* Custom Styles for Skyfall Learning Center */

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

/* Reveal Animation for Scroll */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-pulse {
        animation: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Form Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Card Hover Effects */
.group:hover .group-hover\\:translate-y-1 {
    transform: translateY(0.25rem);
}

/* Gradient Text (if needed) */
.gradient-text {
    background: linear-gradient(135deg, #059669, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .font-serif {
        font-size: 2.5rem;
    }
}

/* Navbar Background Transition */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
}

/* Service Card Hover */
.group:hover {
    transform: translateY(-4px);
}

/* Image Hover Zoom */
img {
    transition: transform 0.3s ease;
}

/* Loading State for Buttons */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
