/* =========================================
   CSS Variables & Resets
   ========================================= */
:root {
    --primary: #0bda50;
    --primary-hover: #09b843;
    --primary-tint: rgba(11, 218, 80, 0.05);
    --bg-light: #f5f8f6;
    --bg-dark: #102216;
    --text-dark: #0f172a;
    --text-light: #f1f5f9;
    --text-muted: #64748b;
    --border-color: rgba(11, 218, 80, 0.1);
    --font-main: 'Lexend', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
}

/* Typography & Utilities */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
.text-primary { color: var(--primary); }
.icon-primary { color: var(--primary); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-2 { margin-bottom: 0.5rem; }
.mt-4 { margin-top: 2rem; }
.hidden-mobile { display: none; }

/* Fix for Material Symbols Alignment */
.material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; 
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.max-w-lg { max-width: 900px; }

/* Backgrounds */
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: #ffffff; }
.bg-dark { background-color: var(--bg-dark); }
.bg-tint { background-color: var(--primary-tint); }
.text-white { color: var(--text-light); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-large {
    background-color: var(--primary);
    color: var(--bg-dark);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    gap: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(11, 218, 80, 0.2);
}
.btn-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(11, 218, 80, 0.3);
}
.btn-full { width: 100%; padding: 1rem; font-size: 1rem; }

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: rgba(245, 248, 246, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}
.nav-container {
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.025em; }
.logo span { font-size: 2rem; }

.desktop-nav { display: none; gap: 2rem; }
.desktop-nav a { font-size: 0.875rem; font-weight: 500; }
.desktop-nav a:hover { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.mobile-menu-toggle {
    background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav.active { display: flex; }

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    display: flex;
    min-height: 70vh;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
    padding: 5rem 1rem;
    text-align: center;
    overflow: hidden;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: radial-gradient(circle at 2px 2px, rgba(11, 218, 80, 0.5) 1px, transparent 0);
    background-size: 24px 24px;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(11, 218, 80, 0.3);
    background-color: rgba(11, 218, 80, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%; background-color: var(--primary);
    box-shadow: 0 0 0 0 rgba(11, 218, 80, 0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(11, 218, 80, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(11, 218, 80, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(11, 218, 80, 0); }
}
.hero h1 { font-size: 2.5rem; font-weight: 900; color: white; line-height: 1.1; }
.hero p { max-width: 42rem; font-size: 1.125rem; color: #cbd5e1; }
.hero-actions { padding-top: 2rem; }

/* =========================================
   Sections General & Grids
   ========================================= */
.section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.25rem; }
.divider { width: 5rem; height: 0.25rem; background-color: var(--primary); margin: 1rem auto 0; border-radius: 9999px; }
.subtitle { margin-top: 1rem; color: var(--text-muted); }

.grid { display: grid; gap: 2rem; }

/* =========================================
   Cards (Courses)
   ========================================= */
.card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}
.card:hover {
    border-color: rgba(11, 218, 80, 0.4);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.card-image { aspect-ratio: 16/9; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-image img { transform: scale(1.1); }
.card-content { display: flex; flex-direction: column; padding: 1.5rem; flex: 1; }
.card-content h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card-content p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; flex: 1; }

.btn-card {
    display: flex; justify-content: center; align-items: center; gap: 0.5rem;
    width: 100%; padding: 0.75rem; border-radius: 0.5rem;
    background-color: rgba(11, 218, 80, 0.1); color: var(--primary);
    font-weight: 700; font-size: 0.875rem;
}
.btn-card:hover { background-color: var(--primary); color: var(--bg-dark); }
.btn-card span { font-size: 1rem; }

/* =========================================
   About Section
   ========================================= */
.lead-text { font-size: 1.125rem; color: #334155; margin-bottom: 3rem; }
.about-grid { display: grid; gap: 3rem; align-items: center; }
.quote {
    font-size: 1.25rem; font-style: italic; color: #1e293b;
    border-left: 4px solid var(--primary); padding: 0.5rem 0 0.5rem 1.5rem;
}
.about-image-wrapper {
    border-radius: 1rem; overflow: hidden; aspect-ratio: 16/9; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.about-image { width: 100%; height: 100%; object-fit: cover; }

/* =========================================
   Features Section
   ========================================= */
.feature-box {
    padding: 1.5rem; text-align: center; border-radius: 1rem;
    background-color: var(--bg-light); border: 1px solid var(--border-color);
    transition: var(--transition);
}
.feature-box:hover { border-color: var(--primary); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; transition: transform 0.3s ease; }
.feature-box:hover .feature-icon { transform: scale(1.1); }
.feature-box h4 { font-size: 0.875rem; }

/* =========================================
   Contact Section
   ========================================= */
.subtitle-light { color: #94a3b8; margin-top: 1rem; }
.contact-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; font-size: 1rem; }
.hover-primary:hover { color: var(--primary); }
.social-links { display: flex; gap: 1rem; }
.social-btn {
    display: flex; align-items: center; justify-content: center;
    width: 3rem; height: 3rem; border-radius: 50%;
    background-color: #1e293b; color: var(--primary); transition: var(--transition);
}

/* FIX: Ensure all SVG icons fit perfectly in their container */
.social-btn img { 
    width: 1.5rem; 
    height: 1.5rem; 
    object-fit: contain; 
}

.whatsapp-btn { background-color: var(--primary); }
.whatsapp-btn img { filter: brightness(0); } /* Makes icon dark */
.social-btn:hover { background-color: var(--primary); color: var(--bg-dark); }
.whatsapp-btn:hover { filter: brightness(1.1); }

.contact-form-wrapper {
    background-color: rgba(255, 255, 255, 0.05); padding: 2rem;
    border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.1);
}
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 0.75rem 1rem; border-radius: 0.5rem;
    background-color: var(--bg-dark); color: white;
    border: 1px solid rgba(255, 255, 255, 0.1); font-family: inherit; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--bg-light); padding: 3rem 1rem; border-top: 1px solid var(--border-color);
}
.footer-container {
    display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center;
}
.footer .logo h3 { font-size: 1.125rem; font-weight: 700; }
.copyright { font-size: 0.875rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.875rem; }
.footer-links a:hover { color: var(--primary); }

/* =========================================
   Media Queries (Responsiveness)
   ========================================= */
@media (min-width: 640px) {
    .hidden-mobile { display: inline-flex; }
    .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3.75rem; }
    .footer-container { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 768px) {
    .desktop-nav { display: flex; }
    .mobile-menu-toggle { display: none; }
    .mobile-nav { display: none !important; }
    .about-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .grid-5 { grid-template-columns: repeat(5, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
    .hero h1 { font-size: 4.5rem; }
}