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

html {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-size: 22px;
    font-weight: 700;
}

.logo svg {
    transition: transform 0.3s ease;
}

.logo a:hover svg {
    transform: scale(1.1);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
    padding: 10px 0;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: #5a8b4a;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #5a8b4a;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li {
    list-style: none;
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    color: #666;
    font-weight: 400;
}

.dropdown a:hover {
    background: #f5f5f5;
    color: #5a8b4a;
}

.dropdown a::after {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-cta {
    background: #5a8b4a;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-cta:hover {
    background: #7cb342;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 195, 74, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 40px 20px;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu > .mobile-menu-content > ul > li {
    border-bottom: 1px solid #eee;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: #5a8b4a;
}

.mobile-dropdown {
    padding-left: 20px;
    margin-top: 10px;
}

.mobile-dropdown a {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.mobile-cta {
    display: inline-block;
    background: #5a8b4a;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
    text-align: center;
    width: 100%;
}

/* Mobile Menu Active State */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

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

/* Header Scroll Effect */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 20px;
    font-size: 14px;
    font-weight: 500;
}

.language-selector button {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.language-selector button:hover {
    background: rgba(139, 195, 74, 0.1);
    color: var(--primary-color);
}

.language-selector button.active {
    background: var(--primary-color);
    color: white;
}

.language-selector .divider {
    color: #ccc;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 1024px) {
    body {
        overflow-x: hidden;
    }
    
    .main-nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .language-selector {
        margin-left: auto;
        margin-right: 15px;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }
    
    .header-container {
        height: 60px;
    }
    
    .logo a {
        font-size: 20px;
    }
    
    .logo svg {
        width: 32px;
        height: 32px;
    }
    
    .mobile-menu {
        top: 60px;
    }
}

.hero-slider {
    margin-top: 80px;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenburns 20s ease-out infinite;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    mix-blend-mode: overlay;
}

/* Hide video on mobile for performance */
@media (max-width: 768px) {
    .video-overlay {
        display: none;
    }
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.subtitle {
    display: inline-block;
    font-size: 18px;
    color: #5a8b4a;
    background: rgba(139, 195, 74, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideInUp 0.8s ease-out;
}

.title {
    font-size: clamp(48px, 8vw, 80px);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 40px;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #5a8b4a;
    color: #ffffff;
    border: 2px solid #5a8b4a;
}

.btn-primary:hover {
    background: #7cb342;
    border-color: #7cb342;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 195, 74, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: #ffffff;
    color: #333333;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 3;
}

.nav-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #5a8b4a;
    width: 40px;
    border-radius: 20px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 4;
}

.progress-fill {
    height: 100%;
    background: #5a8b4a;
    width: 0;
    transition: width 5s linear;
}

.slide.active .progress-fill {
    width: 100%;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .title {
        font-size: clamp(32px, 10vw, 48px);
    }
    
    .description {
        font-size: 16px;
    }
    
    .buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .slider-nav {
        padding: 0 10px;
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
    }
    
    .slider-dots {
        bottom: 30px;
    }
}