:root {
    --primary: #2c5f2d; /* Dark green */
    --primary-light: #4a7c59; /* Medium green */
    --secondary: #97bf0d; /* Bright lime */
    --accent: #f0a202; /* Golden yellow */
    --text: #333333;
    --light-text: #555555;
    --lightest-text: #777;
    --background: #fff;
    --light-bg: #f0f5e9;
    --border: #d0e0c8;
    --success: #2d952d;
    --radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

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

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

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 120px 0 80px;
    position: relative;
    background: linear-gradient(135deg, var(--light-bg), #e7f0d8);
}

.hero::before {
    display: none;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary);
    animation: fadeInUp 1s ease;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text);
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    font-weight: 500;
}

.btn {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(41, 121, 229, 0.4);
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 162, 2, 0.3);
}

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

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light-bg);
    text-align: center;
}

.about h2, 
.services h2, 
.approach h2, 
.contact h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: white;
    position: relative;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    display: inline-block;
    padding: 10px 30px;
    border-radius: var(--radius);
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow);
}

.about h2::after, 
.services h2::after, 
.approach h2::after, 
.contact h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text);
    font-weight: 500;
}

.about-image {
    flex: 1;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: white;
    text-align: center;
}

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

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.frontend-icon {
    background: linear-gradient(135deg, #FF8000, #FF4500);
}

.backend-icon {
    background: linear-gradient(135deg, #0095ff, #0055ff);
}

.devops-icon {
    background: linear-gradient(135deg, #00a651, #00d364);
}

.mobile-icon {
    background: linear-gradient(135deg, #e02e70, #ab38c8);
}

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

.service-card p {
    margin-bottom: 20px;
    color: var(--text);
    font-weight: 500;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    margin-bottom: 10px;
    color: var(--text);
    position: relative;
    padding-left: 25px;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Approach Section */
.approach {
    padding: 100px 0;
    background-color: var(--light-bg);
    text-align: center;
}

.approach-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}

.approach-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    height: 2px;
    background-color: var(--border);
    z-index: 0;
}

.step {
    width: calc(20% - 20px);
    position: relative;
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.step h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.4rem;
}

.step p {
    color: var(--text);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(rgba(255, 255, 255, 0.1) 8%, transparent 8%);
    background-position: 0 0;
    background-size: 30px 30px;
    z-index: 1;
    opacity: 0.5;
}

.cta .container {
    position: relative;
    z-index: 2;
}

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

.cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta .btn {
    background: white;
    color: var(--primary);
}

.cta .btn:hover {
    background: var(--accent);
    color: white;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: white;
    text-align: center;
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    max-width: 600px;
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--text);
    font-weight: 500;
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-label {
    font-weight: 600;
    min-width: 70px;
    color: var(--primary);
    text-align: right;
    margin-right: 10px;
}

.contact-item a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.contact-item span {
    font-weight: 500;
    color: var(--text);
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.7;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: var(--accent);
    position: absolute;
    bottom: -8px;
    left: 0;
    border-radius: 1.5px;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a, .social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-column ul li a:hover, .social-link:hover {
    color: white;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.social-link {
    margin-right: 15px;
}

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

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.lang-flag {
    display: block;
    width: 30px;
    height: 20px;
    margin-left: 10px;
    opacity: 0.6;
    transition: var(--transition);
    position: relative;
    border-radius: 3px;
    overflow: hidden;
}

.lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lang-flag.active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--secondary);
}

.lang-flag:hover {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .step {
        width: calc(33.333% - 20px);
        margin-bottom: 40px;
    }
    
    .approach-steps::before {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }

    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .step {
        width: calc(50% - 20px);
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .language-selector {
        position: absolute;
        top: 20px;
        right: 60px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about h2, 
    .services h2, 
    .approach h2, 
    .contact h2, 
    .cta h2 {
        font-size: 2rem;
    }
    
    .step {
        width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

/* Mobile menu when active */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

nav ul.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 25px;
    z-index: 1000;
    border-top: 3px solid var(--secondary);
}

nav ul.show li {
    margin: 12px 0;
}

nav ul.show li a {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    padding: 8px 0;
}

nav ul.show .language-selector a{
    padding: 0;
}

/* Header scroll effect */
header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Animation for elements entering viewport */
.service-card, .step, .about-content > div, .contact-content > div {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-card.visible, .step.visible, .about-content > div.visible, .contact-content > div.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for cards */
.service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card:nth-child(3) {
    transition-delay: 0.4s;
}

.service-card:nth-child(4) {
    transition-delay: 0.6s;
}

/* Staggered animation for steps */
.step:nth-child(2) {
    transition-delay: 0.2s;
}

.step:nth-child(3) {
    transition-delay: 0.4s;
}

.step:nth-child(4) {
    transition-delay: 0.6s;
}

.step:nth-child(5) {
    transition-delay: 0.8s;
}

/* Agricultural Product Icons */
.engine-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%232c5f2d' d='M7 4v2h3v2H7l-2 2v3H3v-3H1v8h2v-3h2v3h3l2 2h8v-4h2v4h3V10h-3v4h-2V8h-3V6h3V4H7zm7 6h-4v6h4v-6z'/%3E%3C/svg%3E");
}

.parts-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%232c5f2d' d='M12 2a2 2 0 012 2c0 .7-.4 1.4-1 1.7V7h1a6 6 0 016 6v1h1.3c.3-.6 1-1 1.7-1a2 2 0 010 4c-.7 0-1.4-.4-1.7-1H20v1a6 6 0 01-6 6h-1v1.3c.6.3 1 1 1 1.7a2 2 0 01-4 0c0-.7.4-1.4 1-1.7V23h-1a6 6 0 01-6-6v-1H2.7c-.3.6-1 1-1.7 1a2 2 0 010-4c.7 0 1.4.4 1.7 1H4v-1c0-3.3 2.7-6 6-6h1V5.7c-.6-.3-1-1-1-1.7a2 2 0 012-2z'/%3E%3C/svg%3E");
}

.implements-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%232c5f2d' d='M6.38 2h11.24A2 2 0 0 1 19 4.38v15.24a2 2 0 0 1-1.38 1.38H6.38A2 2 0 0 1 5 19.62V4.38A2 2 0 0 1 6.38 2zM4 9h2v2H4V9zm14 0h2v2h-2V9zm-5-5h2v2h-2V4zM4 14h2v2H4v-2zm14 0h2v2h-2v-2zm-5 5h2v2h-2v-2z'/%3E%3C/svg%3E");
}

.tech-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%232c5f2d' d='M12 22C6.47 22 2 17.5 2 12S6.47 2 12 2s10 4.5 10 10-4.47 10-10 10zm3.32-15H8.68c-.26 0-.52.11-.7.29l-3.12 3.12a.996.996 0 0 0 0 1.41l3.12 3.12c.18.18.44.29.7.29h6.64c.26 0 .52-.11.7-.29l3.12-3.12c.39-.39.39-1.02 0-1.41l-3.12-3.12c-.18-.18-.44-.29-.7-.29zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
} 