/* --- BASE STYLES --- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    color: #006400; /* Dark Green */
}

.content-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* --- HEADER / NAVIGATION --- */
header {
    background-color: #fff;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    /* Set a specific max height for visibility */
    max-height: 80px; 
    /* Set a specific width for visibility, or use 'auto' to maintain aspect ratio */
    width: auto;
    /* Maintain the original shape (remove circular crop) */
    border-radius: 0; 
    /* Ensure the full image is visible, not cut off */
    object-fit: contain; 
    margin-right: 15px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li a {
    text-decoration: none;
    color: #006400;
    padding: 10px 15px;
    display: block;
    font-weight: bold;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #dcedc8; /* Light green hover */
    border-radius: 5px;
}

/* --- HERO SECTION --- */
.hero-section {
    /* REPLACE 'hero-background.jpg' with a South Sudan farm image (Green, Goats, Cows, Buffalo) */
    background: url('hero-background.jpg') no-repeat center center/cover; 
    height: 80vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Semi-transparent overlay for better text readability */
    background-color: rgba(0, 0, 0, 0.5); 
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.slogan-text {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px #000;
}

.cta-button {
    background-color: #4CAF50; /* Primary Green */
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 1.1em;
    border: 2px solid #fff;
}

.cta-button:hover {
    background-color: #66bb6a; /* Lighter Green */
    border-color: #dcedc8;
}

/* --- ABOUT US SECTION --- */
#about h2 {
    margin-bottom: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    text-align: left;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1em;
}

/* --- PRODUCTION SECTION (Cards) --- */
.production-section {
    background-color: #dcedc8; /* Very light green */
}

.production-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 45%;
    padding-bottom: 20px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 200px; /* Uniform height */
    object-fit: cover;
    margin-bottom: 15px;
}

.card h3 {
    margin: 10px 0;
}

.card p {
    padding: 0 20px;
    font-size: 1em;
}

/* --- CONTACT SECTION --- */
.contact-section {
    background-color: #fff;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.detail-item i {
    color: #4CAF50; /* Primary Green */
    font-size: 1.5em;
    width: 30px;
    text-align: center;
    margin-right: 15px;
}

/* --- FOOTER --- */
footer {
    background-color: #006400; /* Dark Green */
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

/* --- RESPONSIVENESS (Mobile Devices) --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    nav ul li a {
        padding: 8px 0;
        border-top: 1px solid #eee;
    }

    .hero-content {
        padding: 0 20px;
    }

    .slogan-text {
        font-size: 2em;
    }
    
    .about-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }

    .production-cards {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 90%;
    }
    
    .contact-details {
        max-width: 90%;
    }
}