:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f8fafc;
    --tertiary-bg: #f1f5f9;
    --dark-bg: #0f172a;           /* Deep Blue for contrast sections */
    --brand-color: #1a56db;       /* Royal Blue */
    --brand-hover: #1e40af;
    --text-primary: #0f172a;      /* Dark text */
    --text-secondary: #475569;    /* Subtitle grey text */
    --text-light: #f8fafc;        /* For dark sections */
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-primary); background-color: var(--primary-bg); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; }

.btn-primary, .btn-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 12px 32px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1rem; transition: all 0.3s; border: none; }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-primary { background-color: var(--brand-color); color: #ffffff; box-shadow: 0 4px 14px rgba(26, 86, 219, 0.3); }
.btn-primary:hover { background-color: var(--brand-hover); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 2px solid var(--border-color); }
.btn-secondary:hover { background: var(--secondary-bg); border-color: #cbd5e1; }
.w-100 { width: 100%; }

.card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 2.5rem; box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 24px 0; transition: all 0.3s; background: transparent; }
.navbar.scrolled { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); padding: 14px 0; border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 50px; transition: all 0.3s; }
.navbar.scrolled .logo-img { height: 40px; }
.nav-links { list-style: none; display: flex; gap: 2.5rem; margin-right: 2rem; }
.nav-links a { color: var(--text-primary); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--brand-color); }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background-color: var(--primary-bg); overflow: hidden; }
.hero-container { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 600px; animation: fadeInUp 1s ease-out; }
.hero-title { font-size: 4.5rem; margin-bottom: 1.2rem; letter-spacing: -1.5px; color: var(--text-primary); }
.hero-subtitle { font-size: 1.5rem; margin-bottom: 2.5rem; color: var(--text-secondary); }
.hero-buttons { display: flex; gap: 1.5rem; }

/* Image of young kids studying. Local photo of children in classroom */
.hero-image { position: absolute; top: 0; right: 0; width: 55%; height: 100%; background: url('hero-bg.jpg') center/cover no-repeat; -webkit-mask-image: linear-gradient(to right, transparent, black 35%); mask-image: linear-gradient(to right, transparent, black 35%); z-index: 1; }

.section { padding: 7rem 0; }
.bg-light { background: var(--secondary-bg); }
.bg-white { background: var(--primary-bg); }
.bg-subtle { background: var(--tertiary-bg); }
.bg-dark { background: var(--dark-bg); color: var(--text-light); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 2.75rem; margin-bottom: 1rem; letter-spacing: -0.5px; color: inherit; }
.section-desc { max-width: 650px; margin: 0 auto; font-size: 1.15rem; color: var(--text-secondary); }
.bg-dark .section-desc { color: #94a3b8; }
.bg-dark .section-title { color: var(--text-light); }

.about-text { max-width: 800px; margin: 0 auto; text-align: center; color: var(--text-primary); }
.about-text p { margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--text-secondary); }
.about-text strong { color: var(--brand-color); }

.grid { display: grid; gap: 2rem; }
.cards-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.course-card { text-align: left; background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: var(--text-light); box-shadow: none; border: 1px solid rgba(255,255,255,0.08); }
.course-card:hover { border-color: rgba(255,255,255,0.2); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.course-icon { font-size: 3rem; color: #60a5fa; margin-bottom: 1.5rem; }
.course-card h3 { margin-bottom: 1rem; font-size: 1.5rem; color: var(--text-light); }
.course-card p { color: #cbd5e1; font-size: 1rem; }
.course-levels { display: inline-block; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); padding: 6px 12px; border-radius: 6px; font-size: 0.85rem; font-weight: 500; color: #f8fafc; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.gallery-item { padding: 10px; }
.placeholder { height: 250px; background: var(--secondary-bg); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-secondary); border: 1px dashed #cbd5e1; }
.placeholder i { font-size: 2.5rem; margin-bottom: 0.5rem; color: #94a3b8; }

.services-list { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 800px; margin: 0 auto; }
.card-horizontal { display: flex; align-items: center; gap: 2rem; padding: 2.5rem; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s; }
.card-horizontal:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-icon { flex-shrink: 0; width: 72px; height: 72px; background: #eff6ff; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: var(--brand-color); }
.service-text h3 { margin-bottom: 0.5rem; font-size: 1.4rem; color: var(--text-primary); }
.service-text p { color: var(--text-secondary); font-size: 1.05rem; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 1rem; box-shadow: var(--shadow-sm); }
.faq-item summary { padding: 1.5rem 2rem; font-weight: 600; cursor: pointer; list-style: none; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; color: var(--text-primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '\f078'; font-family: 'FontAwesome'; color: var(--brand-color); transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(180deg); color: #dc2626; }
.faq-item p { padding: 0 2rem 1.5rem; color: var(--text-secondary); line-height: 1.7; font-size: 1.05rem; }

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1000px; margin: 0 auto; }
.contact-map { border-radius: 16px; overflow: hidden; min-height: 400px; }
.contact-form { color: var(--text-primary); }
.input-group { margin-bottom: 1.5rem; text-align: left; }
.input-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.95rem; color: var(--text-primary); }
.input-group input, .input-group textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--border-color); border-radius: 8px; font-family: inherit; font-size: 1rem; transition: all 0.3s; background: var(--primary-bg); color: var(--text-primary); }
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--brand-color); box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1); }

.footer { background: #0f172a; padding: 4rem 0 2rem; color: #f1f5f9; }
.footer-bottom { text-align: center; color: #64748b; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero-content { max-width: 100%; text-align: center; padding-top: 4rem; z-index: 10; }
    .hero-buttons { justify-content: center; }
    .hero-image { opacity: 0.15; width: 100%; -webkit-mask-image: none; mask-image: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-map { order: -1; }
    .card-horizontal { flex-direction: column; text-align: center; }
    .whatsapp-float { width: 55px; height: 55px; font-size: 30px; bottom: 20px; right: 20px; }
}
