@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #10B981;
    --primary-glow: rgba(16, 185, 129, 0.4);
    --background: #020617;
    --surface: rgba(255, 255, 255, 0.05);
    --glass: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

.bg-forest {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('https://i.imgur.com/1jbi2IO.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: brightness(0.3) saturate(0.6);
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, rgba(2, 6, 23, 0.2) 0%, rgba(2, 6, 23, 1) 100%);
    z-index: -1;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(
        to right, 
        #fff 20%, 
        #10B981 40%, 
        #34D399 50%, 
        #10B981 60%, 
        #fff 80%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Header & Brand */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    z-index: 1000;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

header.scrolled {
    height: 70px;
    background: rgba(2, 6, 23, 0.85);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-decoration: none;
    transition: var(--transition);
}

.logo-main, .logo-tagline {
    background: linear-gradient(
        to right, 
        #fff 20%, 
        #10B981 40%, 
        #34D399 50%, 
        #10B981 60%, 
        #fff 80%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    display: block;
    line-height: 1;
}

.logo-main {
    font-family: var(--font-main); /* Switched to Plus Jakarta Sans for the correct 't' shape */
    font-size: 1.8rem;
    font-weight: 700; /* Balanced for this font-face */
    letter-spacing: -0.01em;
    width: 100%; /* Ensure it defines the container width */
}

.logo-tagline {
    font-size: 0.38rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    opacity: 0.95;
    width: 100%;
    display: block;
    letter-spacing: 0.48em;
    line-height: 1;
    margin-top: 2px; /* Reduced gap for a tighter look */
    text-align: center;
}

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

nav.desktop-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}

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

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.mobile-menu .cta-button {
    font-size: 0.8rem;
    padding: 12px 24px;
    margin-top: 10px;
    background: var(--primary);
    border-radius: 50px;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Premium CTA Button */
.cta-button {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: 0.5s;
}

.cta-button:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-3px);
}

.cta-button:hover::before {
    left: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 5% 60px; /* Increased top padding to avoid header overlap */
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1;
    margin-bottom: 30px;
    max-width: 1000px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 50px;
    font-weight: 300;
}

.about-content h2 {
    font-size: 3rem;
    margin: 20px 0 24px; /* Added top margin to space out from badge */
}

/* Dynamic Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 32px;
    backdrop-filter: blur(20px);
    transition: var(--transition);
    cursor: default;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.service-icon {
    width: 50px;
    height: 50px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
    font-size: 1.6rem;
    color: #fff;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.essence {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 160vh; /* Slightly increased for better scroll travel */
    position: relative;
    padding-top: 5vh;
}

.banner-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    line-height: 0;
    position: sticky;
    top: 15vh;
    z-index: 10;
}

.essence-banner {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/7;
    object-fit: cover;
}

.essence-text {
    padding: 60px 8% 100px;
    margin-top: -10vh; /* Reduced overlap to prevent badge/banner collision */
    display: flex;
    justify-content: center;
}

.about-content {
    position: relative;
    z-index: 20;
    max-width: 800px;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    padding: 60px 0;
    border: none;
    text-align: center;
}

/* Badge */
.badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 25px;
}

/* Sections */
section {
    padding: 120px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    header { padding: 0 4%; }
}

@media (max-width: 768px) {
    nav.desktop-nav, .header-cta { display: none; }
    .menu-toggle { display: block; }
    
    .hero { padding-top: 160px; }
    .hero h1 { font-size: 2.8rem; }
    
    .essence {
        min-height: 50vh; /* Reduced significantly for tight feel */
        padding-top: 60px;
    }
    
    .essence-text {
        padding: 0 5% 80px;
        margin-top: 0; /* Let flow naturally after a short scroll */
    }
    
    .about-content {
        padding: 40px 0;
        background: transparent;
    }
    
    .banner-wrapper {
        border-radius: 12px;
        top: 70px;
        max-width: 94%;
        position: relative; /* Remove sticky on mobile to avoid empty spaces */
    }

    .service-card {
        padding: 30px;
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(16, 185, 129, 0.2);
    }
    
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 5px;
}

.footer-socials a {
    color: var(--text-muted);
    transition: var(--transition);
    opacity: 0.9;
}

.footer-socials a:hover.instagram { color: #E4405F; opacity: 1; transform: translateY(-3px); }
.footer-socials a:hover.whatsapp { color: #25D366; opacity: 1; transform: translateY(-3px); }
.footer-socials a:hover.linkedin { color: #0A66C2; opacity: 1; transform: translateY(-3px); }

.footer-socials svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5px;
}
[data-animate] {
    opacity: 0;
    transform: translateY(60px); /* Increased for more presence */
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}
