/* ============================================ */
/* CLASS 6 - FOUNDATION LEVEL - BLUE THEME */
/* ============================================ */

:root {
    --primary-color: #3b82f6;
    --secondary-color: #60a5fa;
    --accent-color: #93c5fd;
    --dark-bg: #0f172a;
    --glow: rgba(59, 130, 246, 0.5);
}

body {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.magical-bg::before {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(147, 197, 253, 0.1) 0%, transparent 50%);
    animation: gradientShiftBlue 20s ease infinite;
}

@keyframes gradientShiftBlue {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* Gentle Floating Animation */
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

.float-gentle {
    animation: gentleFloat 8s ease-in-out infinite;
}

/* Soft Pulse for Foundation Building */
@keyframes softPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.08); opacity: 1; }
}

.pulse-soft {
    animation: softPulse 3s ease-in-out infinite;
}

/* Class 6 Feature Cards - Soft Glow */
.feature-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(96, 165, 250, 0.05) 100%);
    border: 2px solid rgba(59, 130, 246, 0.15) !important;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.7s ease;
}

.feature-card:hover::before {
    transform: scale(1);
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.4), 0 0 40px rgba(96, 165, 250, 0.2);
    border-color: rgba(59, 130, 246, 0.4) !important;
}

/* Class 6 Magic Button - Soft Interactive */
.magic-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
    background-size: 200% 200%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.magic-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}

.magic-btn::after {
    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.6s ease;
}

.magic-btn:hover::after {
    left: 100%;
}

/* Stats Cards - Gentle Shadow */
.glass-effect {
    background: rgba(30, 58, 138, 0.4) !important;
    border: 1px solid rgba(59, 130, 246, 0.25) !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.glass-effect:hover {
    background: rgba(30, 58, 138, 0.5) !important;
    border-color: rgba(96, 165, 250, 0.35) !important;
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

/* Class 6 Stagger Animation - Gentle Entry */
@keyframes gentleSlideInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-item {
    animation: gentleSlideInUp 0.6s ease-out forwards !important;
}

.stagger-item:nth-child(1) { animation-delay: 0.08s; }
.stagger-item:nth-child(2) { animation-delay: 0.16s; }
.stagger-item:nth-child(3) { animation-delay: 0.24s; }
.stagger-item:nth-child(4) { animation-delay: 0.32s; }
.stagger-item:nth-child(5) { animation-delay: 0.40s; }
.stagger-item:nth-child(6) { animation-delay: 0.48s; }

/* Glow Text - Soft Blue */
.glow-text {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(96, 165, 250, 0.2) !important;
    animation: softGlow 4s ease-in-out infinite;
}

@keyframes softGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(96, 165, 250, 0.2); }
    50% { text-shadow: 0 0 30px rgba(59, 130, 246, 0.6), 0 0 60px rgba(96, 165, 250, 0.3); }
}

/* Class 6 Cards - Breathing Effect */
@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.card-hover {
    animation: breathe 6s ease-in-out infinite;
}

.card-hover:hover {
    animation: none;
    transform: translateY(-8px);
}

/* Class Cards - Encouraging Interaction */
.class-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.5s ease;
}

.class-card:hover {
    transform: translateY(-12px) scale(1.06);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3), 0 0 30px rgba(96, 165, 250, 0.2);
}

/* Progress Bar - Warm Animation */
@keyframes fillProgress {
    from { width: 0; }
    to { width: var(--progress, 0%); }
}

.progress-bar {
    height: 8px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 10px;
    animation: fillProgress 2s ease-out;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
}

/* Navigation Links - Soft Hover */
.nav-link-enhanced {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link-enhanced::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link-enhanced:hover::after {
    width: 70%;
}

/* Subject Icons - Rotating Gently */
@keyframes rotateGentle {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

.pulse-magic {
    animation: rotateGentle 6s ease-in-out infinite !important;
}

/* Ripple Effect - Soft */
.ripple {
    background: rgba(59, 130, 246, 0.3) !important;
}

@keyframes ripple-animate {
    from { width: 0; height: 0; opacity: 0.5; }
    to { width: 400px; height: 400px; opacity: 0; }
}

.ripple {
    animation: ripple-animate 650ms ease-out !important;
}

/* Text Size Buttons */
.text-size-btn {
    background: rgba(59, 130, 246, 0.6) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    color: white;
    transition: all 0.3s ease;
}

.text-size-btn:hover {
    background: rgba(59, 130, 246, 0.8) !important;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.active-text-size {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%) !important;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6) !important;
    transform: scale(1.12) !important;
}

/* Hero Section - Warm Gradient */
.hero-glow {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

/* Footer */
footer {
    background: rgba(15, 23, 42, 0.8) !important;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-card {
        transform: scale(0.95);
    }
    
    .feature-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .stagger-item {
        animation: gentleSlideInUp 0.5s ease-out forwards !important;
    }
}

/* Theme Colors for buttons */
.btn-aurora-class6 {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
}

.btn-neon-class6 {
    background: radial-gradient(circle at 30% 30%, #60a5fa 0%, #3b82f6 60%, #1e40af 100%);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.btn-3d-class6 {
    background: linear-gradient(180deg, #3b82f6 0%, #1e40af 100%);
    box-shadow: 0 10px 0 #0f172a, 0 16px 32px rgba(59, 130, 246, 0.4);
}
