/* Palette: Teal, White, Dark Grey, Light Grey */
:root {
    --teal: #008080;
    --teal-dark: #006666;
    --teal-light: #e0f2f2;
    --grey-dark: #333333;
    --grey-light: #f4f4f4;
    --white: #FFFFFF;
    
    --font-head: 'Mulish', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--white);
    color: var(--grey-dark);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; border-radius: 8px; }

/* Header */
.header { padding: 20px 0; background: var(--white); border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--grey-dark); letter-spacing: -0.5px; }
.teal-text { color: var(--teal); }

.nav a { margin-left: 25px; font-weight: 600; font-family: var(--font-head); color: #555; }
.nav a:hover, .nav a.active { color: var(--teal); }

.lang-switch { margin-left: auto; margin-right: 20px; font-weight: 700; font-size: 0.9rem; }
.lang-switch .active { color: var(--teal); }

.mobile-toggle { display: none; background: transparent; border: 1px solid var(--grey-dark); padding: 5px 10px; cursor: pointer; border-radius: 4px; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100%; background: var(--teal); z-index: 2000; padding: 50px; transition: 0.3s; }
.mobile-menu.active { right: 0; }
.close-btn { background: none; border: none; font-size: 1.5rem; color: var(--white); margin-bottom: 30px; cursor: pointer; }
.mobile-menu a { display: block; font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 20px; color: var(--white); font-weight: 700; }

@media (max-width: 900px) {
    .nav { display: none; }
    .mobile-toggle { display: block; }
}

/* Hero */
.hero { padding: 80px 0; background: var(--teal-light); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }

.badge { background: var(--teal); color: var(--white); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; display: inline-block; margin-bottom: 20px; letter-spacing: 1px; }
.hero h1 { font-family: var(--font-head); font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.teal-highlight { color: var(--teal); }
.hero p { font-size: 1.2rem; margin-bottom: 40px; color: #555; }

.hero-btns { display: flex; gap: 20px; }
.btn-primary { background: var(--teal); color: var(--white); padding: 15px 35px; border-radius: 6px; font-weight: 700; border: none; cursor: pointer; transition: 0.3s; }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--teal); color: var(--teal); padding: 13px 35px; border-radius: 6px; font-weight: 700; transition: 0.3s; }
.btn-outline:hover { background: var(--teal); color: var(--white); }

.hero-img { position: relative; }
.floating-card { position: absolute; bottom: 30px; left: -30px; background: var(--white); padding: 20px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-left: 5px solid var(--teal); }
.floating-card strong { display: block; font-size: 1.8rem; color: var(--teal); font-family: var(--font-head); line-height: 1; }

/* Topics */
.section-head h2 { font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 15px; color: var(--grey-dark); }
.teal-line { width: 60px; height: 4px; background: var(--teal); margin-bottom: 30px; border-radius: 2px; }
.center { text-align: center; }
.center .teal-line { margin: 0 auto 30px; }
.left { margin-right: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.topic-card { background: var(--white); padding: 40px 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s; text-align: center; border: 1px solid #eee; }
.topic-card:hover { transform: translateY(-5px); border-color: var(--teal); }
.icon { font-size: 3rem; margin-bottom: 20px; }
.topic-card h3 { font-family: var(--font-head); margin-bottom: 10px; font-size: 1.4rem; }

/* Courses */
.course-list { display: flex; flex-direction: column; gap: 40px; margin-top: 50px; }
.course-card { display: grid; grid-template-columns: 1.2fr 1.8fr; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #eee; }
.c-image { position: relative; }
.c-image img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 20px; left: 20px; background: var(--teal); color: var(--white); padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; }
.c-content { padding: 40px; }
.c-content h3 { font-family: var(--font-head); font-size: 1.8rem; margin-bottom: 10px; color: var(--grey-dark); }
.details { list-style: none; margin: 20px 0; color: #666; font-size: 0.95rem; }
.details li { margin-bottom: 5px; }
.c-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; border-top: 1px solid #eee; padding-top: 20px; }
.price { font-size: 1.5rem; font-weight: 800; color: var(--teal); font-family: var(--font-head); }
.btn-sm { background: var(--grey-dark); color: var(--white); padding: 10px 20px; border-radius: 4px; font-weight: 600; font-size: 0.9rem; }
.btn-sm:hover { background: var(--teal); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h1 { font-family: var(--font-head); font-size: 3rem; line-height: 1.1; margin-bottom: 20px; }
.mission-list { margin-top: 30px; list-style: none; }
.mission-list li { margin-bottom: 10px; padding-left: 25px; position: relative; font-weight: 600; }
.mission-list li::before { content: '✓'; color: var(--teal); position: absolute; left: 0; font-weight: 800; }

/* Resources */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.res-item { background: var(--teal-light); padding: 40px; border-radius: 12px; }
.icon-box { font-size: 2.5rem; margin-bottom: 15px; }
.res-item h3 { font-family: var(--font-head); margin-bottom: 10px; }
.link-teal { color: var(--teal-dark); font-weight: 700; text-decoration: underline; margin-top: 15px; display: inline-block; }

/* Trust Banner */
.trust-banner { background: var(--teal); color: var(--white); padding: 60px 0; text-align: center; }
.trust-banner blockquote { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; margin-bottom: 20px; max-width: 800px; margin: 0 auto 20px; }
.trust-banner cite { font-style: normal; font-size: 1rem; opacity: 0.9; }

/* Contact Form */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; background: var(--white); padding: 60px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.c-details p { margin-bottom: 10px; font-weight: 600; color: #555; }

.modern-form .form-group { margin-bottom: 20px; }
.modern-form label { display: block; font-weight: 700; margin-bottom: 5px; color: var(--grey-dark); font-size: 0.9rem; }
.modern-form input, .modern-form select, .modern-form textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-family: var(--font-body); }
.modern-form input:focus, .modern-form select:focus, .modern-form textarea:focus { border-color: var(--teal); outline: none; }
.full { width: 100%; }

/* Legal */
.legal-text { max-width: 800px; margin: 0 auto; background: var(--white); padding: 60px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.legal-text h1 { color: var(--grey-dark); font-family: var(--font-head); }

/* Footer */
.footer { background: var(--grey-dark); color: #ccc; padding: 60px 0 20px; margin-top: 80px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.f-brand h4 { color: var(--white); font-family: var(--font-head); margin-bottom: 5px; letter-spacing: 1px; }
.f-links a { margin-left: 20px; color: #ccc; }
.f-links a:hover { color: var(--teal); }
.copyright { text-align: center; font-size: 0.8rem; padding-top: 20px; border-top: 1px solid #444; }

@media (max-width: 900px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-grid, .grid-3, .about-grid, .course-card, .resource-grid, .contact-wrapper { grid-template-columns: 1fr; }
    .hero-img { order: -1; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}