:root {
    --brand-green: #2ba038;
    --brand-green-hover: #22842e;
    --brand-dark: #0f172a;
    --brand-light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --glass-bg: rgba(15, 23, 42, 0.85);
    --glass-light: rgba(255, 255, 255, 0.85);

    /* Fluid Typography */
    --fs-mega: clamp(3rem, 8vw, 8rem);
    --fs-h1: clamp(2.5rem, 5vw, 5rem);
    --fs-h2: clamp(2rem, 4vw, 3.5rem);
    --fs-h3: clamp(1.5rem, 3vw, 2.5rem);
    --fs-body: clamp(1rem, 1.2vw, 1.25rem);

    --spacing-section: clamp(4rem, 10vw, 8rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--brand-light);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    scroll-behavior: smooth;
    font-size: var(--fs-body);
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
.mega-title,
.title-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--brand-dark);
}

.mega-title {
    font-size: var(--fs-mega);
    letter-spacing: -0.03em;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

.text-green {
    color: var(--brand-green) !important;
}

.bg-green {
    background-color: var(--brand-green) !important;
    color: white;
}

/* Header & Glassmorphism */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.site-header.scrolled {
    padding: 1rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white !important;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 1rem;
    background-color: var(--brand-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2rem);
}

/* Logo */
.brand-logo {
    height: 40px;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

/* Sections */
section {
    padding: var(--spacing-section) 0;
    overflow: hidden;
    max-width: 100vw;
}



.section-dark {
    background-color: var(--brand-dark);
    color: white;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: white;
}

/* Fullscreen Hero */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* Buttons */
.btn-custom {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-green {
    background: var(--brand-green);
    color: white;
    box-shadow: 0 10px 30px rgba(43, 160, 56, 0.3);
}

.btn-green:hover {
    background: var(--brand-green-hover);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(43, 160, 56, 0.4);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--brand-dark);
    transform: translateY(-3px);
}

/* Micro Animations (Reveal on Scroll) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.reveal-left {
    transform: translateX(-40px);
}

.reveal.reveal-right {
    transform: translateX(40px);
}

.reveal.reveal-scale {
    transform: scale(0.9);
}

.reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Modern Cards */
.wow-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.wow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 160, 56, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.wow-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.wow-card:hover::before {
    opacity: 1;
}

.wow-card-icon {
    font-size: 3rem;
    color: var(--brand-green);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.wow-card:hover .wow-card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Image wrappers */
.img-wrapper {
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

/* Language Switcher */
.lang-switch {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-switch a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    transition: all 0.2s;
}

.lang-switch a.active,
.lang-switch a:hover {
    color: white;
    background: var(--brand-green);
}

/* Content Toggling classes */
.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

/* Mobile Menu Adjustments */
@media (max-width: 991.98px) {
    #mainNav {
        background: var(--glass-bg);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-radius: 1rem;
        padding: 1.5rem;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}