body {
    background-color: #e1e1e3
}

h1, h2, h3, h4, h5, h6, p, a, li, label, input, textarea {
    font-family: "Poppins", sans-serif;
    font-style: normal;
}

h1 {
    color:green;
    text-align: center;
    font-weight: 700;
}

.header {
    background: linear-gradient(to right, #566E38, #8EBE25);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.header img {
    width: 20%;
    object-fit: cover;
    object-position: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

h2 {
    text-align: center;
    font-weight: 700;
    font-size: 30px;
}

h3, h4, h5, h6 {
    font-weight: 550;
}

p, li, label {
    font-weight: 400;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 5;
    box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.3);
}

.navbar ul {
    background: linear-gradient(to right, #566E38, #8EBE25);
    margin-block-start: 0px;
    list-style-type: none;
    overflow: hidden;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.navbar a {
    text-decoration: none;
    color: white;
    padding: 20px;
    display: block;
    text-transform: uppercase;
}

.navbar li {
    float: left;
}

.navbar a:hover {
    background-color: #2a4527;
}

.homepage {
    text-align: center;
    animation: fade 1.5s ease-in;
}

.page {
    animation: fade 1.5s ease-in;
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.banner {
    height: 300px;
    background-image: url("./assets/homepage_banner.jpg");
    background-size: cover;
    background-position: center;
}

.banner-content {
    border: 3px solid white;
    background-color: #dedfe0da;
    width: 800px;
    position: relative;
    top: 90px;
    margin: auto;
    border-radius: 10px;
}

.banner-content h2 {
    color: #1c3618;
}

.banner-content h3 a {
    color: #1c3618;
}

.service div {
    display: inline-block;
    width: 350px;
    height: 200px;
    background-color:#8EBE25;
    border: 3px solid #1c3618;
    border-radius: 5px;
    margin: 5px 25px 25px;
    background-size: cover;
}

.service a {
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    box-sizing: border-box;
}

#service-box-1 {
    background-image: url("./assets/homepage_maintenance.jpg");
}

#service-box-2 {
    background-image: url("./assets/homepage_installation.jpg");
}

#service-box-3 {
    background-image: url("./assets/homepage_irrigation.jpg");
}

.service-box h3 {
    text-transform: uppercase;
    color: white;
    font-size: 22px;
}

.service-box:hover {
  transform: translateY(-7px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

.testimonial-container {
    margin-top: 50px;
    padding-top: 20px;
    background-color: #dde6da;
}

.testimonial {
    height: 200px;
    margin: auto;
}

.testimonial .slides {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.testimonial p {
    font-size: 24px;
}

.container-white, .container-green {
    display: table;
    width: 95%;
    border-radius: 15px;
    padding: 15px;
    margin: 15px auto;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(50px);
    transform: scale(1);
    transition: scale 0.1s ease, opacity 0.6s ease, transform 0.6s ease;
}

.container-white.visible, .container-green.visible {
    opacity: 1;
    transform: translateY(0px);
}

.container-white:not(.visible), .container-green:not(.visible) {
    opacity: 0;
    transform: translateY(50px);
}

.container-white:hover, .container-green:hover {
    transform: scale(1.02);
}

.container-white {
    background-color: #FFFFFF;
}

.container-green {
    background-color:#dde6da;
}

.content {
    display: table-cell;
    vertical-align: top;
    padding: 50px;
}

.content h3 {
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 700;
    background-image: linear-gradient(to right,#203816, #74bf56);
    color: transparent;
    background-clip: text;
}

.image {
    display: table-cell;
    vertical-align: top;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.maintenance {
    height: 600px;
    width: 60%;
}

.maintenance-img {
    height: 600px;
    width: 40%;
    background-image: url("./assets/homepage_maintenance.jpg");
}

.design-installation {
    height: 500px;
    width: 50%;
}

.installation-img {
    height: 500px;
    width: 50%;
    background-image: url("./assets/homepage_installation.jpg");
}

.about1 {
    height: 300px;
    width: 40%;
}

.about-img1 {
    height: 300px;
    width: 60%;
    background-image: url("./assets/about_1.jpg");
}

.about2 {
    height: 300px; 
    width: 60%;
}

.about-img2 {
    height: 300px;
    width: 40%;
    background-image: url("./assets/about_2.jpg");
}

.about3 {
    height: 250px;
    width: 40%;
}

.about-img3 {
    height: 250px;
    width: 60%;
    background-image:url("./assets/about_3.jpg");
}

.slideshow, .testimonial {
    max-width: 1000px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.slideshow {
    height: 550px;
    margin: 50px auto 25px auto;
}

.slideshow:hover {
    cursor: pointer;
}

.slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slides {
    display: none;
    animation: gallery-fade 0.8s ease-in-out;
}

@keyframes gallery-fade {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

.dots {
    text-align: center;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1.5px solid black;
    border-radius: 50%;
    margin: 25px 4px;
    background-color: #000;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute; 
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 18px;
    border-radius: 0px 3px 3px 0px;
    background-color: rgba(0,0,0,0.65);
    
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,1);
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.contact {
    text-align: center;
}

.contact-form {
    text-align: center;
    justify-items: center;
}

.footer {
    height: 300px;
    text-align: center;
    animation: fade 1.5s ease-in;
}

footer .contact-form {
    padding: 50px;
}

form {
    width: 90%;
    max-width: 700px;
    margin: 30px;
}

.input {
    position: relative;
    margin-bottom: 40px;
}

input[type="text"], textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #000;
    font-size: 13px;
}

label {
    position: absolute;
    height: 100%;
    top: -30px;
    left: 0px;
}

input[type="submit"] {
    padding: 12px;
    background: linear-gradient(to right, #566E38, #8EBE25);
    border: 1px solid #000;
    cursor: pointer;
    width: 35%;
    font-size: 15px;
}

