/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
}

.logo-img {
    height: 40px;
    width: auto;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1rem;
}

.nav-links li {
    margin-left: 0;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
    background-color: rgba(52, 152, 219, 0.1);
}

.nav-links .contact-btn {
    background-color: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
}

.nav-links .contact-btn:hover {
    background-color: #2980b9;
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

.hero-content {
    color: white;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #c0392b;
}

/* Services Section */
.services {
    padding: 5rem 1rem;
    background-color: #f9f9f9;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* About Section */
.about {
    padding: 5rem 1rem;
    background-color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
    background-color: #f9f9f9;
    text-align: center;
}

.contact h2 {
    color: #2c3e50;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #3498db;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-info {
    margin-bottom: 1rem;
}

.company-name {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.company-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #ecf0f1;
}

.company-address i {
    color: #3498db;
}

.copyright {
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AI Agriculture Section */
.ai-agriculture {
    padding: 5rem 1rem;
    background-color: #f9f9f9;
    color: #333;
}

.ai-agriculture-content {
    max-width: 1200px;
    margin: 0 auto;
}

.ai-agriculture h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.ai-feature {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ai-feature:hover {
    transform: translateY(-10px);
}

.ai-feature i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.ai-feature h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #2c3e50;
}

.ai-feature p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* AI Education Section */
.ai-education {
    padding: 5rem 1rem;
    background-color: white;
}

.ai-education-content {
    max-width: 1200px;
    margin: 0 auto;
}

.ai-education h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.education-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.education-feature {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.education-feature:hover {
    transform: translateY(-10px);
}

.education-feature i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.education-feature h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #2c3e50;
}

.education-feature p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* AI Automation Section */
.ai-automation {
    padding: 5rem 1rem;
    background-color: #f9f9f9;
}

.ai-automation-content {
    max-width: 1200px;
    margin: 0 auto;
}

.ai-automation h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.automation-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.automation-feature {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.automation-feature:hover {
    transform: translateY(-10px);
}

.automation-feature i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.automation-feature h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #2c3e50;
}

.automation-feature p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Clients Section */
.clients {
    padding: 5rem 1rem;
    background-color: white;
}

.clients-content {
    max-width: 1200px;
    margin: 0 auto;
}

.clients h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.client-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.client-card:hover {
    transform: translateY(-10px);
}

.client-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.client-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #2c3e50;
}

.client-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Stats Section */
.stats {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
}

.stats-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.stat-item p {
    font-size: 1.1rem;
    color: #ecf0f1;
}

/* CTA Section */
.cta {
    padding: 5rem 1rem;
    background-color: #f9f9f9;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

.cta-button.primary {
    background-color: #3498db;
    color: white;
}

.cta-button.secondary {
    background-color: #2c3e50;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem;
    }

    .nav-links .contact-btn {
        margin-top: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .ai-features {
        grid-template-columns: 1fr;
    }
    
    .ai-agriculture h2 {
        font-size: 2rem;
    }
    
    .education-features {
        grid-template-columns: 1fr;
    }
    
    .ai-education h2 {
        font-size: 2rem;
    }
    
    .company-address {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .automation-features {
        grid-template-columns: 1fr;
    }
    
    .ai-automation h2 {
        font-size: 2rem;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}

/* Back to Top Button */
#backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #3498db;
    color: white;
    border: none;
    outline: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(52,152,219,0.2);
    transition: background 0.3s, transform 0.3s;
}
#backToTop:hover {
    background: #2980b9;
    transform: translateY(-4px) scale(1.08);
}
#backToTop i {
    pointer-events: none;
} 