:root {
    --primary: #6366f1; /* Indigo color */
    --primary-dark: #4f46e5;
    --secondary: #f97316; /* Orange color */
    --dark: #1e293b; /* Slate 800 */
    --light: #f8fafc; /* Slate 50 */
    --gray: #94a3b8; /* Slate 400 */
    --white: #ffffff;
    --card-bg: #ffffff;
    --section-bg: #f1f5f9; /* Slate 100 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

header::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E") repeat;
    z-index: 0;
}

.nav-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    z-index: 10;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 800px;
}

.logo-area {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.star-icon {
    font-size: 2.5rem;
    margin-right: 0.75rem;
}

.logo {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    line-height: 1.1;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e0e7ff;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.header-highlight {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

section {
    padding: 5rem 0;
}

.hero {
    background-color: var(--white);
    margin-top: -100px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 2rem;
}

.intro {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #475569;
}

.intro strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-box {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.benefit-box h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefit-box ul {
    list-style: none;
}

.benefit-box li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: #475569;
}

.benefit-box li::before {
    content: '•';
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
}

.programs {
    background-color: var(--section-bg);
    position: relative;
}

.programs::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background-color: var(--section-bg);
    clip-path: ellipse(70% 100% at 50% 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
    font-weight: 800;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -1.5rem auto 3rem;
    color: var(--gray);
    font-size: 1.1rem;
}

.programs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.program-card {
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.1);
}

.program-header {
    position: relative;
    padding: 2.5rem 2rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    overflow: hidden;
}

.program-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='rgba(255,255,255,0.1)'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.program-title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    position: relative;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.program-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
    position: relative;
}

.program-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program-label {
    font-weight: 600;
    color: var(--primary);
    margin: 1.2rem 0 0.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-label:first-child {
    margin-top: 0;
}

.program-content p {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.program-content ul {
    list-style-type: none;
    margin-left: 0;
}

.program-content li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #475569;
    position: relative;
    padding-left: 1.5rem;
}

.program-content li::before {
    content: "✓";
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: 600;
}

.cta {
    text-align: center;
    background-color: var(--white);
    padding: 6rem 0;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background-color: var(--white);
    clip-path: ellipse(70% 100% at 50% 100%);
}

.cta-text {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    margin: 0 0.5rem 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #ea580c;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(249, 115, 22, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(99, 102, 241, 0.2);
}

.language-selector {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    z-index: 100;
}

.language-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    cursor: pointer;
    margin-left: 0.5rem;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.language-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.language-button.active {
    background: white;
    color: var(--primary);
}

footer {
    background-color: var(--dark);
    color: var(--gray);
    text-align: center;
    padding: 3rem 0;
    font-size: 0.9rem;
}

/* Language display control */
[data-lang-section] {
    display: none;
}

[data-lang-section].active {
    display: block;
}

@media (max-width: 768px) {
    header {
        min-height: 400px;
    }
    
    .programs-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .program-card {
        max-width: 100%;
    }
    
    .benefit-box {
        max-width: 100%;
    }
    
    .hero {
        margin-top: -50px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .logo {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
    
    .nav-bar {
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .language-selector {
        right: 1rem;
        top: 1rem;
    }
    
    .cta-text {
        font-size: 1.5rem;
    }
}
