/* Base Styles & Brand Colors */
:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --brand-green: #5E895C;
    --brand-green-hover: #4a6c48;
    --text-light: #f4f4f4;
    --text-muted: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--brand-green);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(18, 18, 18, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 30px;
}
/* Language Switcher */
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.lang-switch a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.lang-switch a:hover {
    color: var(--text-light);
}

.lang-switch .divider {
    color: #333;
    font-weight: 300;
}

.active-lang {
    color: var(--brand-green);
    pointer-events: none;
}

.btn-primary {
    background-color: var(--brand-green);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--brand-green-hover);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    background: linear-gradient(135deg, rgba(18,18,18,0.85) 0%, rgba(30,30,30,0.95) 100%), url('hero-bg.jpg') center/cover no-repeat;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    color: var(--text-light);
}

.hero h1 span {
    color: var(--brand-green);
}

.hero p {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 700px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

/* Sections */
section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.section-title span {
    color: var(--brand-green);
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--brand-green);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.card h3 {
    margin: 10px 0 15px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Image Optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.service-icon {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(94, 137, 92, 0.2);
}

.course-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Education/Course Section */
.course-highlight {
    background-color: var(--bg-card);
    border-left: 5px solid var(--brand-green);
    padding: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.course-image {
    flex: 1;
    max-width: 50%;
}

.course-content {
    flex: 1;
}

.course-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.course-content ul {
    list-style-type: none;
    margin-top: 20px;
    margin-bottom: 30px;
}

.course-content ul li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.course-content ul li::before {
    content: '✓';
    color: var(--brand-green);
    font-weight: bold;
    margin-right: 10px;
}

/* Contact Form */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea, .form-select {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-dark);
    border: 1px solid #333;
    border-radius: 5px;
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--brand-green);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 5%;
    background-color: #0a0a0a;
    color: var(--text-muted);
    border-top: 1px solid #222;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .course-highlight {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }
    .course-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .course-content ul {
        text-align: left;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 5%;
    }
    /* THIS IS THE NEW MOBILE HERO FIX */
    .hero {
        height: auto;
        padding: 150px 5% 100px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .nav-links {
        display: none;
    }
nav {
        justify-content: space-between;
    }
    .nav-right {
        gap: 15px; 
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}