* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a64bc;
    --primary-dark: #0a64bc;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation Bar */
.navbar {
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    flex: 1;
}

.logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    height: 100px;
    width: auto;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    flex: 1;
    justify-content: flex-end;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a64bc 0%, #084d93 100%);
    color: white;
    padding: 0;
    padding-top: 220px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-logo-bg {
    position: absolute;
    top: -40px;
    right: 0;
    left: auto;
    margin-top: 0;
    padding-top: 0;
    transform: none;
    width: 440px;
    height: 440px;
    opacity: 0.22;
    z-index: 1;
}

.hero-logo-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
}

.hero-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features h2, .programs h2, .testimonials h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Programs Section */
.programs {
    padding: 80px 0;
    background: var(--bg-light);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-tab {
    padding: 10px 24px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tab:hover, .filter-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.program-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.program-badge {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--bg-light);
}

.program-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

.level {
    background: #dbeafe;
    color: var(--primary);
}

.category {
    background: #e0e7ff;
    color: #4338ca;
}

.program-info {
    padding: 24px;
}

.program-info h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.program-info > p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

.program-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-secondary {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.stars {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-card p {
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-title {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 60px;
    }
    
    .hero-logo-bg {
        top: -40px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 300px;
        height: 300px;
        opacity: 0.22;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features h2, .programs h2, .testimonials h2 {
        font-size: 2rem;
    }
    
    .features-grid, .programs-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Program filtering */
.program-card.hidden {
    display: none;
}
