/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #1B5E20;
    --secondary-green: #2E7D32;
    --accent-green: #4CAF50;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #212121;
    --text-gray: #424242;
    --border-gray: #E0E0E0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--white);
    font-size: 16px;
    font-weight: 400;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(27, 94, 32, 0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.lang-btn:hover {
    background-color: rgba(27, 94, 32, 0.1);
    color: var(--primary-green);
}

.lang-btn.active {
    background-color: var(--primary-green);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(27, 94, 32, 0.3);
}

.lang-btn.active:hover {
    background-color: var(--secondary-green);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: 
        radial-gradient(circle at 20% 80%, rgba(76, 175, 80, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(27, 94, 32, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(76, 175, 80, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, #ffffff 0%, #f8fffe 25%, #f0f7f4 50%, #f8f9fa 75%, #ffffff 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(76, 175, 80, 0.02) 50%, transparent 70%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(27, 94, 32, 0.01) 100px,
            rgba(27, 94, 32, 0.01) 101px
        );
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(76, 175, 80, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: backgroundFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Hero Background Animation */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-leaf {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--accent-green);
    border-radius: 0 100% 0 100%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.leaf-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.leaf-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.leaf-3 {
    top: 30%;
    right: 25%;
    animation-delay: 4s;
    animation-duration: 12s;
}

.leaf-4 {
    bottom: 30%;
    left: 20%;
    animation-delay: 6s;
    animation-duration: 9s;
}

.leaf-5 {
    bottom: 15%;
    right: 35%;
    animation-delay: 1s;
    animation-duration: 11s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.3;
    }
}

/* Geometric Background Shapes */
.geometric-shape {
    position: absolute;
    opacity: 0.03;
    pointer-events: none;
}

.shape-1 {
    top: 15%;
    right: 10%;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-green), var(--accent-green));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape 15s ease-in-out infinite, slowFloat 12s ease-in-out infinite;
}

.shape-2 {
    bottom: 20%;
    left: 8%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-green), var(--accent-green));
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite, slowFloat 10s ease-in-out infinite reverse;
}

.shape-3 {
    top: 50%;
    left: 15%;
    width: 60px;
    height: 60px;
    background: linear-gradient(225deg, var(--accent-green), var(--primary-green));
    transform: rotate(45deg);
    animation: rotateShape 20s linear infinite, slowFloat 14s ease-in-out infinite;
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    50% {
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    }
    75% {
        border-radius: 30% 70% 30% 70% / 70% 30% 70% 30%;
    }
}

@keyframes rotateShape {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes slowFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-15px) translateX(10px);
    }
    66% {
        transform: translateY(10px) translateX(-5px);
    }
}

/* Light Orbs */
.light-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.orb-1 {
    top: 25%;
    left: 25%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.05) 50%, transparent 100%);
    animation: orbFloat 18s ease-in-out infinite, orbGlow 6s ease-in-out infinite;
}

.orb-2 {
    top: 70%;
    right: 20%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(27, 94, 32, 0.12) 0%, rgba(27, 94, 32, 0.04) 50%, transparent 100%);
    animation: orbFloat 22s ease-in-out infinite reverse, orbGlow 8s ease-in-out infinite 2s;
}

.orb-3 {
    top: 45%;
    right: 35%;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.18) 0%, rgba(76, 175, 80, 0.06) 50%, transparent 100%);
    animation: orbFloat 16s ease-in-out infinite, orbGlow 5s ease-in-out infinite 1s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
    25% {
        transform: translate(15px, -20px) scale(1.1);
    }
    50% {
        transform: translate(-10px, -10px) scale(0.9);
    }
    75% {
        transform: translate(-20px, 15px) scale(1.05);
    }
}

@keyframes orbGlow {
    0%, 100% {
        opacity: 0.3;
        filter: blur(1px);
    }
    50% {
        opacity: 0.7;
        filter: blur(2px);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Container with Pulse Effect */
.logo-container {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    animation: logoAppear 1.2s ease-out 0.3s both;
}

.logo-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border: 2px solid var(--accent-green);
    border-radius: 50%;
    opacity: 0;
    animation: pulse 3s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

@keyframes logoAppear {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.logo {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(27, 94, 32, 0.3));
}

/* Company Name Animation */
.company-name {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.name-part {
    display: block;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
}

.company-type {
    display: block;
    font-size: 0.6em;
    font-weight: 400;
    color: var(--text-gray);
    margin-top: 5px;
    opacity: 0.8;
}

@keyframes textShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Tagline with Word Rotation */
.tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-gray);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInRight 1s ease-out 0.9s both;
}

.tagline-highlight {
    color: var(--primary-green);
    font-weight: 500;
}

.word-rotate {
    display: inline-block;
    position: relative;
    color: var(--secondary-green);
    font-weight: 500;
}

.word-rotate-item {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    white-space: nowrap;
}

.word-rotate-item.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* CTA Button Enhanced */
.cta-container {
    animation: bounceIn 1s ease-out 1.2s both;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(27, 94, 32, 0.4);
}

.button-icon {
    transition: transform 0.3s ease;
    font-size: 1.2em;
}

.cta-button:hover .button-icon {
    transform: translateX(5px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-gray);
    animation: fadeIn 2s ease-out 2s both;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-green);
    border-bottom: 2px solid var(--primary-green);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    margin-bottom: 10px;
}

.scroll-text {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 300;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(-10px);
    }
    60% {
        transform: rotate(45deg) translateY(-5px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.about h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

.about p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-gray);
    font-weight: 300;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.contact h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.contact p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 30px;
    color: var(--text-gray);
    font-weight: 300;
}

.email-link {
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.email-link:hover {
    color: var(--secondary-green);
    border-bottom-color: var(--secondary-green);
    transform: translateY(-1px);
}

/* Footer */
.footer {
    padding: 60px 0;
    background-color: var(--primary-green);
    color: var(--white);
    text-align: center;
}

.footer p {
    font-size: 0.95rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 40px 0;
        min-height: 90vh;
    }
    
    .logo {
        width: 100px;
    }
    
    .about, .contact {
        padding: 80px 0;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 85vh;
    }
    
    .logo {
        width: 80px;
    }
    
    .logo-container {
        margin-bottom: 30px;
    }
    
    .about, .contact {
        padding: 60px 0;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background-color: var(--accent-green);
    color: var(--white);
}

/* Focus styles for accessibility */
.cta-button:focus,
.email-link:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}