:root {
    /* Colors */
    --primary-green: #0A8754;
    --primary-dark: #065F3A;
    --accent-gold: #F5B400;
    --dark-bg: #0F172A;
    --darker-bg: #090F1C;
    --light-bg: #F8FAFC;
    --text-primary: #1E293B;
    --text-light: #F1F5F9;
    --text-muted: #64748B;
    --text-muted-light: #94A3B8;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

    /* Layout */
    --container-width: 1100px;
    --header-height: 70px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--light-bg);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    gap: 10px;
    font-size: 0.95rem;
    border: none;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 4px 15px rgba(10, 135, 84, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 135, 84, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.section-padding {
    padding: 100px 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    padding: 15px 0;
    /* Start larger */
}

header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    /* Slightly darker for better contrast */
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 2px 0;
    /* Shrink on scroll */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.mobile-toggle {
    display: none;
}

.logo-icon {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.brand-text {
    color: white;
    font-weight: 800;
    /* Ensure bold weight matches */
}

.brand-text span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--dark-bg);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    mask-image: linear-gradient(to right, transparent, black 40%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 40%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted-light);
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 25px 30px;
    min-width: 140px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 40px rgba(245, 180, 0, 0.15);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
}

/* Services Section */
.services {
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-green);
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(10, 135, 84, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-green);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.service-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-fast);
}

.service-link:hover {
    gap: 10px;
}

/* About Section */
.about {
    background: white;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature i {
    color: var(--accent-gold);
    font-size: 1.25rem;
    margin-top: 2px;
}

.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--primary-green);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(10, 135, 84, 0.3);
    text-align: center;
}

.experience-badge span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

/* CTA Section */
.cta-section {
    background: var(--darker-bg);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 135, 84, 0.2) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info p {
    color: var(--text-muted-light);
    margin: 20px 0;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted-light);
    font-size: 0.9rem;
}

/* Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-normal);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--darker-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition-normal);
        z-index: 999;
    }

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

    .nav-links a {
        font-size: 1.5rem;
    }

    .mobile-toggle {
        display: block;
        font-size: 1.8rem;
        color: white;
        cursor: pointer;
        order: 3;
        /* Ensure it stays on the right but before CTA if needed, or adjust flex */
    }

    /* Hide the CTA button in menu if you want, or keep it visible in header */
    /* Adjusting flex order to put logo left, menu right */
    nav {
        justify-content: space-between;
    }

    /* Ensure CTA stays visible in header, or move into menu? 
       User said "header button size", implying it's outside. 
       Let's keep CTA visible in header and toggle just the links. 
    */
    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-bg {
        width: 100%;
        opacity: 0.2;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Reduce header button size on mobile */
    #wa-header {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.2rem;
    }

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

    .hero-content {
        margin: 0 auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}