/* ===================================
   Global Styles & Reset
   =================================== */

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

:root {
    --primary-green: #61CE70;
    --dark-green: #4CAF5E;
    --light-green: #E8F9EA;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --white: #ffffff;
    --light-bg: #f9fafb;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.wide-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===================================
   Navigation
   =================================== */

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-link {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.lang-link.active {
    color: var(--text-dark);
}

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

.lang-separator {
    color: var(--text-gray);
    font-size: 14px;
}

.cta-button {
    background: var(--primary-green);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

/* ===================================
   Mobile Menu Toggle
   =================================== */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-content {
    padding: 40px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mobile-nav-links li {
    margin-bottom: 5px;
}

.mobile-nav-links a {
    display: block;
    padding: 18px 20px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: var(--light-green);
    color: var(--primary-green);
    transform: translateX(5px);
}

.mobile-language-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
    margin-bottom: 20px;
    background: var(--light-bg);
    border-radius: 12px;
}

.mobile-language-switcher .lang-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gray);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-language-switcher .lang-link.active {
    background: var(--primary-green);
    color: var(--white);
}

.mobile-cta {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-cta .cta-button {
    display: inline-block;
    width: 100%;
    max-width: 300px;
    text-align: center;
    padding: 16px 32px;
    font-size: 16px;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 40px 80px;
    overflow: hidden;
}

.hero-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
}

.hero-title {
    font-size: clamp(60px, 12vw, 140px);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
}

.hero-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

.hero-line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-line:nth-child(2) {
    animation-delay: 0.4s;
    color: var(--primary-green);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-arrow {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--primary-green));
    margin: 0 auto;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ===================================
   Background 3D (all pages)
   =================================== */

.background-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ===================================
   Section Styles
   =================================== */

section {
    padding: 140px 0;
    position: relative;
}

.section-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
}

/* ===================================
   Image Section
   =================================== */

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

.image-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.image-large img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
}

.image-text h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ===================================
   Claim Section
   =================================== */

.claim-section {
    text-align: center;
    padding: 160px 0;
}

/* ===================================
   Image Grid Section
   =================================== */

.image-grid-section {
    padding: 80px 0;
}

.dual-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.grid-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

/* ===================================
   Statement Section
   =================================== */

.statement-section {
    background: var(--primary-green);
    color: var(--white);
    text-align: center;
    padding: 200px 0;
}

.statement {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.02em;
}

/* ===================================
   Services Preview
   =================================== */

.services-preview {
    padding: 140px 0;
    text-align: center;
}

.services-simple {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.service-link {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.service-link:hover {
    color: var(--primary-green);
}

.service-link:hover::after {
    width: 100%;
}

/* ===================================
   Team Image Section
   =================================== */

.team-image-section {
    padding: 80px 0;
}

.full-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
}

/* ===================================
   Final CTA
   =================================== */

.final-cta {
    background: var(--light-green);
    text-align: center;
    padding: 180px 0;
}

.cta-center {
    margin-top: 50px;
}

.cta-button-large {
    background: var(--primary-green);
    color: var(--white);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button-large:hover {
    background: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(97, 206, 112, 0.3);
}

/* ===================================
   Footer
   =================================== */

.main-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 14px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ===================================
   Fade-in Animations
   =================================== */

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .services-simple {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .content-container,
    .wide-container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    section {
        padding: 80px 0;
    }

    .dual-image-grid {
        grid-template-columns: 1fr;
    }

    .services-simple {
        flex-direction: column;
        gap: 30px;
    }

    .service-link {
        font-size: 24px;
    }

    .statement-section {
        padding: 120px 0;
    }

    .final-cta {
        padding: 120px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
