/* Custom styles for Bright Path Online Academy */

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-pulse-slow {
    animation: pulse 2s infinite;
}

/* Custom hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #f97316, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom button styles */
.btn-glow {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.5);
    transform: translateY(-2px);
}

/* Loading animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f97316;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero title styling */
.hero-title {
    line-height: 1.4 !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3 !important;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}
/* Additional Modern Styles for Bright Path Academy */

/* Hero Section Background */
.hero-bg {
    background: linear-gradient(135deg, 
        rgba(17, 24, 39, 0.95) 0%, 
        rgba(75, 85, 99, 0.9) 50%, 
        rgba(17, 24, 39, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Enhanced Backdrop Blur */
.backdrop-blur-enhanced {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Gradient Text Animation */
.gradient-text-animated {
    background: linear-gradient(45deg, 
        #f97316, #ef4444, #f59e0b, #10b981, #3b82f6, #8b5cf6);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

/* Card Hover Effects Enhanced */
.card-hover-enhanced {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-enhanced:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Button Glow Effect */
.btn-glow-enhanced {
    position: relative;
    overflow: hidden;
}

.btn-glow-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-glow-enhanced:hover::before {
    left: 100%;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Stagger Animation for Cards */
.stagger-animation {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.stagger-animation:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation:nth-child(4) { animation-delay: 0.4s; }

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #f97316, #0891b2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #ea580c, #0e7490);
}

/* Enhanced Focus States */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
    
    .card-hover-enhanced:hover {
        transform: translateY(-6px) scale(1.01);
    }
}

/* Dark mode support preparation */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #111827;
        --text-primary: #f9fafb;
    }
}

/* Print styles enhancement */
@media print {
    .hover-lift,
    .card-hover-enhanced {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .gradient-bg,
    .hero-bg {
        background: #374151 !important;
        color: white !important;
    }
}
