* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    background-image: url(backdrop-874452_1280.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: flex-end; 
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    cursor: pointer;
    height: 80px;
    background: rgba(53, 53, 53, 0.6);
    letter-spacing: 1px;

}


a {
    text-decoration: none;
    color: white;
}

nav a:hover {
    border: 1px solid white;
    border-radius: 5px;
    padding: 10px;
}

header{
    border-bottom: 1px solid white
}

.services-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin: 0 auto;
    padding: 2rem;
}
.intro h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid white;
}

.intro p {
    font-size: 1.2rem;
    text-align: left;
    margin-top: 1.5rem;
}

.service-item {
    margin-top: 5rem;
    width: 400px;
    height: 500px;
    margin-bottom: 2rem;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.agric-service-item {
    margin-top: 5rem;
    width: 400px;
    height: 350px;
    margin-bottom: 2rem;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}
.row {
    display: flex;
    gap: 100px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-item h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-item p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-item ul {
    list-style: none;
    padding-left: 20px;
}

.service-item ul li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.service-item img {
    width: 100%;
    height: 40%;
}

.agric-service-item img {
    width: 100%;
    height: 100%;
}
.agric-intro h1{
    font-size: 2.5rem;
    margin-top: 5rem;
}

.agric-intro p{
     font-size: 1.2rem;
     margin-top: 1rem;
}
.items {
    display: flex;
    flex-direction: column;
}

footer {
    width: 100%;
    text-align: center;
    border: 1px solid white;
    padding: 1rem 0;
    background: rgba(53, 53, 53, 0.6);

}

/* Responsive Styles */
@media (max-width: 1024px) {
    .services-container {
        width: 90%;
    }

    .service-item h2 {
        font-size: 2rem;
    }

    .service-item h3 {
        font-size: 1rem;
    }

    .service-item ul li {
        font-size: 0.9rem;
    }

    nav ul {
        gap: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .services-container {
        width: 100%;
        padding: 1rem;
    }

    .service-item {
        width: 100%;
    }

    .intro h1 {
        font-size: 2.5rem;
    }

    .intro p {
        font-size: 1rem;
    }

    .service-item h2 {
        font-size: 1.8rem;
    }

    .service-item p {
        font-size: 0.9rem;
    }

    .service-item h3 {
        font-size: 1rem;
    }

    footer {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    header{
        justify-content: center;
        
    }
    .services-container {
        padding: 0.5rem;
    }

    nav ul {
        gap: 0.5rem;
        font-size: 0.9rem;
    }
    nav{
        justify-content: center;
    }

    .intro h1 {
        font-size: 2rem;
    }

    .service-item h2 {
        font-size: 1.6rem;
    }

    .service-item h3 {
        font-size: 1rem;
    }

    footer {
        padding: 1rem;
        font-size: 0.8rem;
    }
}



