/* Base & Variables */
:root {
    --primary: #10b981;
    /* Emerald 500 - Fresh Green */
    --primary-hover: #059669;
    /* Emerald 600 */
    --secondary: #fbbf24;
    /* Amber 400 - Gold */
    --bg-dark: #1a2e1a;
    /* Very dark green/forest */
    --bg-card: rgba(20, 40, 20, 0.8);
    /* Dark forest card */
    --text-main: #f0fdf4;
    /* Very light green hint */
    --text-muted: #bbf7d0;
    /* Muted light green */
    --glass-border: rgba(251, 191, 36, 0.2);
    /* Gold hint border */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.flex {
    display: flex;
    align-items: center;
}

.grid {
    display: grid;
    gap: 2rem;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 60ch;
}

/* Components */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(45, 212, 191, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(45, 212, 191, 0.1);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(26, 46, 26, 0.9);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-main);
}

.nav-logo img {
    height: 90px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:hover {
    color: var(--primary);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.lang-switch span {
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s;
}

.lang-switch span.active {
    color: var(--secondary);
    font-weight: 700;
}

.lang-switch span:not(.divider):hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* Offset for fixed nav */
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.2), transparent 40%),
        radial-gradient(circle at bottom left, rgba(251, 191, 36, 0.1), transparent 40%);
}

.hero-content {
    max-width: 700px;
    /* Limit width to keep text readable */
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

/* Stats Section */
.stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--text-main);
    margin: 0;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Features/Services Section */
.services {
    background: #0f2215;
    /* Deep forest */
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 3rem;
}

.card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

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

.card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer (Simplified) */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer p {
    margin: 0 auto;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #1a2e1a;
    border: 1px solid var(--primary);
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--secondary);
}

.modal-content h2 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.modal-content p {
    margin: 0 auto 2rem;
}

.nav-links a,
.card {
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Simple hiding for now */
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero {
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
}