/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Light Theme Variables */
:root {
    --primary: #0a4a52;
    --primary-light: #0d5d67;
    --primary-dark: #083a40;
    --secondary: #e2d784;
    --secondary-light: #f0e68c;
    --secondary-dark: #d4c96a;
    --accent: #F6BE00;
    --accent-light: #ffd700;
    --accent-dark: #e6a800;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-card: #ffffff;
    --bg-overlay: rgba(10, 74, 82, 0.8);
    
    /* Text Colors */
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-muted: #8e8e8e;
    --text-light: #ffffff;
    
    /* Border Colors */
    --border-light: #e9ecef;
    --border-medium: #dee2e6;
    --border-dark: #adb5bd;
    
    /* Shadow Colors */
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.15);
}

/* Dark Theme Variables */
[data-bs-theme="dark"] {
    --primary: #1a6b75;
    --primary-light: #2a7b85;
    --primary-dark: #0f4d55;
    --secondary: #f0e68c;
    --secondary-light: #f5ed9e;
    --secondary-dark: #e6d778;
    --accent: #ffd700;
    --accent-light: #ffe55c;
    --accent-dark: #ccac00;
    
    /* Background Colors */
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-tertiary: #2a2a2a;
    --bg-card: #1e1e1e;
    --bg-overlay: rgba(26, 107, 117, 0.8);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #888888;
    --text-light: #ffffff;
    
    /* Border Colors */
    --border-light: #333333;
    --border-medium: #444444;
    --border-dark: #555555;
    
    /* Shadow Colors */
    --shadow-light: rgba(255, 255, 255, 0.05);
    --shadow-medium: rgba(255, 255, 255, 0.1);
    --shadow-dark: rgba(255, 255, 255, 0.15);
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    padding-top: 72px;
    transition: all 0.3s ease;
    line-height: 1.6;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--primary);
}

a:hover {
    color: var(--primary-light);
}

/* Background Patterns */
.bg-pattern-light {
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(10, 74, 82, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

.bg-pattern-dots {
    background-image: 
        radial-gradient(circle, rgba(226, 215, 132, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
}

.bg-pattern-lines {
    background-image: 
        linear-gradient(45deg, rgba(10, 74, 82, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(10, 74, 82, 0.05) 25%, transparent 25%);
    background-size: 30px 30px;
}

/* Enhanced Gradients with Patterns */
.bg-gradient-primary {
    background: 
        linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%),
        radial-gradient(circle at 30% 70%, rgba(226, 215, 132, 0.1) 0%, transparent 50%);
}

.bg-gradient-secondary {
    background: 
        linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%),
        radial-gradient(circle at 70% 30%, rgba(10, 74, 82, 0.1) 0%, transparent 50%);
}

.bg-gradient-accent {
    background: 
        linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

/* Navigation */
.navbar {
    background: rgba(var(--bg-primary), 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 20px var(--shadow-light);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--bg-card);
    box-shadow: 0 4px 25px var(--shadow-medium);
}

.navbar-brand {
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--text-primary) !important;
    border-radius: 8px;
    margin: 0 2px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: var(--bg-tertiary);
    color: var(--primary) !important;
}

.nav-link.active {
    background-color: var(--primary);
    color: var(--text-light) !important;
}

/* Button Styles */
.btn {
    border-radius: 10px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(10, 74, 82, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 74, 82, 0.4);
    color: var(--text-light);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-color: var(--secondary);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(226, 215, 132, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 215, 132, 0.4);
    color: var(--text-primary);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 74, 82, 0.3);
}

/* Hero Section */
/* Hero Section - Updated to show background image in both themes */
.hero-section {
    padding: 120px 0;
    background: 
        /* Topmost gradient overlay */
        linear-gradient(135deg, rgba(10, 74, 82, 0.7) 0%, rgba(26, 107, 117, 0.8) 100%),
        
        /* Decorative radial highlights */
        radial-gradient(circle at 20% 80%, rgba(226, 215, 132, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(246, 190, 0, 0.05) 0%, transparent 50%),
        
        /* Background image (now properly included) */
        url('../images/pupil-writing-desk-classroom.webp');
    
    background-size: cover, 200px 200px, 150px 150px, cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    color: var(--text-light);
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Dark theme specific adjustments - FIXED to include background image */
[data-bs-theme="dark"] .hero-section {
    background: 
        /* Adjusted gradient overlay for dark theme */
        linear-gradient(135deg, rgba(26, 107, 117, 0.9) 0%, rgba(15, 77, 85, 0.95) 100%),
        
        /* Enhanced decorative radial highlights for dark theme */
        radial-gradient(circle at 20% 80%, rgba(240, 230, 140, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        
        /* Background image - NOW INCLUDED IN DARK THEME */
        url('../images/pupil-writing-desk-classroom.webp');
    
    background-size: cover, 200px 200px, 150px 150px, cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Card Styles */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow-light);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-medium);
}

.card-body {
    padding: 2rem;
}

/* Feature Cards */
.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow-light);
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    border-color: var(--primary);
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-light);
    box-shadow: 0 8px 25px rgba(10, 74, 82, 0.3);
}

/* Programs/Pricing Cards with Borders */
.program-card,
.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border-medium);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px var(--shadow-light);
}

.program-card:hover,
.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.program-card.featured,
.pricing-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(246, 190, 0, 0.05) 100%);
    position: relative;
}

.program-card.featured::before,
.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--text-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(246, 190, 0, 0.3);
}

/* About Section */
.about-section {
    background: 
        linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%),
        radial-gradient(circle at 10% 20%, rgba(10, 74, 82, 0.1) 0%, transparent 50%),
        url('../images/pupil-writing-desk-classroom.webp');
    background-size: cover, 200px 200px, 60px 60px;
    padding: 5rem 0;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-primary);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials-section {
    background: 
        linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%),
        radial-gradient(circle at 30% 70%, rgba(226, 215, 132, 0.1) 0%, transparent 50%),
        url('../images/pupil-writing-desk-classroom.webp');
    background-size: cover, 200px 200px, 100px 100px;
    color: var(--text-light);
    padding: 5rem 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.testimonial-card .rating {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
}

.testimonial-card .author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    border: 3px solid var(--secondary);
}

/* Enhanced Gallery */
.gallery-container {
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.4s ease;
    background: var(--bg-card);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(10, 74, 82, 0.8) 0%,
        rgba(26, 107, 117, 0.6) 50%,
        rgba(226, 215, 132, 0.8) 100%
    );
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-overlay p {
    color: var(--text-light);
    text-align: center;
    padding: 0 1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Blog Cards */
.blog-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.4s ease;
    margin-bottom: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.blog-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card .card-body {
    padding: 2rem;
}

.blog-card .card-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blog-card .card-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-card .read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.blog-card .read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-card .read-more:hover::after {
    transform: translateX(5px);
}

/* Stats Section */
.stats-section {
    background: 
        linear-gradient(135deg, rgba(10, 74, 82, 0.9) 0%, rgba(26, 107, 117, 0.8) 100%),
        radial-gradient(circle at 70% 30%, rgba(246, 190, 0, 0.2) 0%, transparent 50%),
        url('../images/pupil-writing-desk-classroom.webp');
    background-size: cover, 200px 200px, 80px 80px;
    color: var(--text-light);
    padding: 5rem 0;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: 
        linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        url('../images/pupil-writing-desk-classroom.webp');
    background-size: cover, 150px 150px, 200px 100px;
    color: var(--text-primary);
    padding: 5rem 0;
}

/* Footer */
.footer {
    background: 
        linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%),
        radial-gradient(circle at 20% 80%, rgba(226, 215, 132, 0.1) 0%, transparent 50%);
    background-size: cover, 200px 200px;
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--secondary);
    transform: translateY(-2px);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: var(--text-light);
    margin: 0 0.5rem;
    backdrop-filter: blur(10px);
}

.social-icons a:hover {
    background: var(--secondary);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(226, 215, 132, 0.3);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: auto;
    left: 30px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--text-light);
    border-radius: 50%;
    text-align: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    color: var(--text-light);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* Program Navigation */
.program-nav {
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 5px 25px var(--shadow-light);
}

.program-nav .nav-link {
    color: var(--text-primary);
    border-left: 4px solid transparent;
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.program-nav .nav-link.active {
    background: linear-gradient(90deg, rgba(10, 74, 82, 0.1), transparent);
    border-left-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.program-nav .nav-link:hover:not(.active) {
    background: var(--bg-tertiary);
    transform: translateX(5px);
}

/* QR Code */
.qr-code-container {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 8px 30px var(--shadow-light);
    border: 1px solid var(--border-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }
    
    .feature-card,
    .program-card,
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .icon-box {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .card-body,
    .feature-card {
        padding: 1.5rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
    }
}

/* Animation for page load */
@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);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Loading animations */
.loading-shimmer {
    background: linear-gradient(
        90deg,
        var(--bg-tertiary) 0%,
        var(--border-light) 50%,
        var(--bg-tertiary) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .scroll-animate {
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.6s ease-out;
    }
    
    .scroll-animate.in-view {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced focus states */
*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus {
    box-shadow: 0 0 0 3px rgba(10, 74, 82, 0.3);
}

/* Text selection */
::selection {
    background-color: var(--primary);
    color: var(--text-light);
}

::-moz-selection {
    background-color: var(--primary);
    color: var(--text-light);
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

/* Dark theme specific scrollbar */
[data-bs-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

/* YouTube Section */
.youtube-section {
    background: 
        linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        url('../images/pupil-writing-desk-classroom.webp');
    background-size: cover, 200px 200px, 100px 100px;
    color: var(--text-light);
    padding: 5rem 0;
}

.youtube-embed {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.youtube-embed:hover {
    transform: scale(1.02);
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-bs-theme="dark"] .bg-glass {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shadow-custom {
    box-shadow: 0 10px 40px var(--shadow-medium);
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
}

/* Enhanced hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(10, 74, 82, 0.3);
}

/* Typography improvements */
.lead {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted) !important;
}

.fw-medium {
    font-weight: 500;
}

/* Dark theme specific adjustments */
[data-bs-theme="dark"] .hero-section {
    background: 
        linear-gradient(135deg, rgba(26, 107, 117, 0.9) 0%, rgba(15, 77, 85, 0.95) 100%),
        radial-gradient(circle at 20% 80%, rgba(240, 230, 140, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        url('../images/pupil-writing-desk-classroom.webp');
    background-size: cover, 200px 200px, 150px 150px, cover;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: center, 20% 80%, 80% 20%, center;
}


[data-bs-theme="dark"] .about-section {
    background: 
        linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%),
        radial-gradient(circle at 10% 20%, rgba(26, 107, 117, 0.2) 0%, transparent 50%),
        url('../images/pupil-writing-desk-classroom.webp');
    background-size: cover, 200px 200px, 60px 60px;
}

[data-bs-theme="dark"] .testimonials-section {
    background: 
        linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%),
        radial-gradient(circle at 30% 70%, rgba(240, 230, 140, 0.15) 0%, transparent 50%),
        url('../images/pupil-writing-desk-classroom.webp');
    background-size: cover, 200px 200px, 100px 100px;
}

[data-bs-theme="dark"] .stats-section {
    background: 
        linear-gradient(135deg, rgba(26, 107, 117, 0.95) 0%, rgba(15, 77, 85, 0.9) 100%),
        radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        url('../images/pupil-writing-desk-classroom.webp');
    background-size: cover, 200px 200px, cover;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center, center, center;
}


[data-bs-theme="dark"] .youtube-section {
    background: 
        linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        url('../images/pupil-writing-desk-classroom.webp');
    background-size: cover, 200px 200px, 100px 100px;
}

/* Print styles */
@media print {
    .navbar,
    .whatsapp-float,
    .btn,
    .social-icons {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        color: #000;
        background: #fff;
    }
    
    .hero-section,
    .testimonials-section,
    .stats-section,
    .cta-section,
    .footer {
        background: #fff !important;
        color: #000 !important;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: rgba(0, 0, 0, 0.3);
        --shadow-medium: rgba(0, 0, 0, 0.5);
        --shadow-dark: rgba(0, 0, 0, 0.7);
    }
    
    .card,
    .feature-card,
    .program-card,
    .pricing-card {
        border-width: 2px;
    }
}
@media (max-width: 768px) {
    .navbar-toggler {
        border-color: var(--primary) !important;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(10, 74, 82, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
    
    [data-bs-theme="dark"] .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-light);
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(10, 74, 82, 0.2);
    font-size: 1.5rem;
}
/* Contact list styling */
.contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-list li {
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
}

.contact-list li i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Follow Us section */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(10, 74, 82, 0.3);
}
@media (max-width: 768px) {
    /* Improve contrast for light theme */
    [data-bs-theme="light"] {
        --border-light: #d1d5db;
        --border-medium: #9ca3af;
    }
    
    /* Better spacing for mobile */
    .contact-list li {
        margin-bottom: 1.5rem;
    }
    
    /* Ensure text is readable on light background */
    .text-light {
        color: var(--text-light) !important;
    }
}
