/* Google Fonts Request */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;700&family=Nunito:wght@600;700;800&display=swap');

:root {
    /* Colors - Adapted from E-learning Template */
    --primary: #06BBCC;
    --primary-dark: #0599a8;
    --secondary: #181d38;
    --accent: #FF6600; /* Warning/Action */
    --text-dark: #181d38;
    --text-light: #52565b; /* Gray text */
    --light: #F0FBFC; /* Light Blue Background */
    --white: #FFFFFF;
    
    /* Decoration Colors (for blobs/shapes) */
    --shape-1: #06BBCC;
    --shape-2: #E36414; /* Coral from original request, kept for variety */

    /* Typography */
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Heebo', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Shadows */
    --shadow-card: 0 0 45px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
    padding-top: var(--header-height); /* Space for sticky header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.bg-light { background-color: var(--light) !important; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 0; /* Boxy/Modern or Rounded? Template uses crisp edges usually, but let's go slight round */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary); /* Hover to primary */
}

/* Header / Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    text-transform: uppercase;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.join-btn {
    display: none; /* Show depending on design need, or keeps simple */
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* JS will toggle */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-sm);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
    
    .logo {
        font-size: 1.5rem;
    }
}

/* Card Style */
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 4px; /* Slight round */
    box-shadow: var(--shadow-card);
    transition: 0.3s;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary);
}

/* Footer (Basic) */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 50px;
}

footer h4 {
    color: var(--white);
}

footer a {
    color: #ddd;
}

footer a:hover {
    color: var(--primary);
}

/* Language Switcher - Navbar */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #ddd;
}

.lang-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 4px;
    transition: 0.2s;
}

.lang-btn:hover {
    color: var(--primary);
}

.lang-btn.active {
    background-color: var(--primary);
    color: var(--white);
}

.lang-divider {
    color: #ccc;
    font-size: 0.8rem;
}

/* Language Switcher - Footer */
.footer-lang-switcher {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-lang-btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    color: #ddd;
    font-size: 0.9rem;
    transition: 0.2s;
}

.footer-lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.footer-lang-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Mobile adjustments for language switcher */
@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        justify-content: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }
}
