:root {
    --primary: #1E3A8A;
    --accent: #F59E0B;
    --light-bg: #F8FAFC;
    --text-dark: #1F2937;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: #ffffff;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.footer-title {
    font-family: 'Poppins', sans-serif;
}

.topbar {
    background: var(--primary);
}

.navbar-brand {
    color: var(--primary) !important;
    font-size: 1.4rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.hero-section {
    min-height: 85vh;
    background:
        linear-gradient(rgba(30, 58, 138, 0.78), rgba(30, 58, 138, 0.78)),
        url('https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.1rem;
    max-width: 650px;
}

.hero-stats {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.2rem;
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #6b7280;
}

/* Premium Homepage Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary), #0f255f);
    padding: 70px 0;
    color: #fff;
}

.stats-card {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.14);
}

.stats-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    line-height: 1;
    margin-bottom: 12px;
}

.stats-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    margin-bottom: 0;
}

/* General cards */
.feature-card,
.program-card,
.teacher-card,
.event-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    height: 100%;
    transition: 0.3s ease;
}

.feature-card:hover,
.program-card:hover,
.teacher-card:hover,
.event-card:hover {
    transform: translateY(-6px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.program-card img,
.teacher-card img,
.event-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
}

.bg-light-custom {
    background: var(--light-bg);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary), #0f255f);
    color: white;
    border-radius: 24px;
    padding: 60px 30px;
}

.footer-section {
    background: #0f172a;
}

.footer-section a {
    color: #e5e7eb;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--accent);
}

.program-card img {
    background: #e5e7eb;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-section {
        min-height: auto;
        padding: 90px 0;
    }

    .stats-number {
        font-size: 2rem;
    }

    .stats-card {
        padding: 24px 15px;
    }
}