/* Base Styles */
:root {
    --primary-color: #4caf50;
    --secondary-color: #ff9800;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --max-width: 1200px;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f9f9f9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.btn:hover {
    background: #3d8b40;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    margin-right: 1rem;
}

header h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    transition: all var(--transition-speed);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
    background-color: rgba(76, 175, 80, 0.1);
}

/* Main Content Styles */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 200px); /* Subtract header and footer heights */
}

section {
    min-height: 100vh;
    padding: 2rem 5%;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

section.active-section {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.section-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 0;
}

.section-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.text-content {
    flex: 1;
    min-width: 300px;
}

.text-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

/* Traditional Farming Section */
.our-goals {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed);
}

.our-goals ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: #555;
}

.our-goals ul li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}
.farming-practice {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed);
}

.farming-practice:hover, .our-goals:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.farming-practice h3, .our-goals h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.farming-practice h3 i, .our-goals h3 i {
    margin-right: 0.8rem;
    background-color: rgba(76, 175, 80, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--primary-color);
}

.image-gallery {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.gallery-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

/* AgricExpertBot Section */
.app-logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.agricexpertbot-logo {
    max-width: 150px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.app-screenshots {
    margin-top: 3rem;
}

.app-screenshots h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.screenshot {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
}

.screenshot:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.screenshot img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.app-feature {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed);
}

.app-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.app-feature h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.app-feature h3 i {
    margin-right: 0.8rem;
    background-color: rgba(76, 175, 80, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--primary-color);
}

.app-showcase {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background-color: #111;
    border-radius: 40px;
    padding: 15px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.phone-screen {
    background-color: white;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
}

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
}

.app-logo {
    height: 30px;
    margin-right: 0.8rem;
    border-radius: 50%;
    background-color: white;
    padding: 3px;
}

.app-header h4 {
    font-size: 1.2rem;
}

.app-content {
    flex: 1;
    padding: 1rem;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.chat-bubble {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    margin-bottom: 1rem;
}

.chat-bubble.user {
    background-color: #e3f2fd;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chat-bubble.bot {
    background-color: white;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chat-input {
    display: flex;
    background-color: white;
    padding: 0.8rem;
    border-radius: 25px;
    margin-top: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chat-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9rem;
}

.chat-input button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Mini Machines Section */
.machine-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed);
}

.machine-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.machine-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.machine-item h3 i {
    margin-right: 0.8rem;
    background-color: rgba(76, 175, 80, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--primary-color);
}

.machine-gallery {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.machine-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
}

.machine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.machine-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card-content p {
    color: #777;
}

/* Next Button */
.next-button {
    text-align: center;
    margin-top: 2rem;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 5% 1rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #ccc;
    transition: color var(--transition-speed);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 0.8rem;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all var(--transition-speed);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .section-content h2 {
        font-size: 2rem;
    }
    
    main {
        margin-top: 130px;
    }
    
    .content-wrapper {
        flex-direction: column;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .screenshots-gallery,
    .machine-gallery,
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation for section transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}
