*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
}  

:root{
    --main-color: #ff702a;
    --text-color: #000000;
    background: linear-gradient(90deg, #c1fee6, #8cc9ef);
    --big-font: 5rem;
    --h2-font: 2.25rem;
    --p-font: 0.9rem;
}

*::selection{
    background: var(--main-color);
    color: #fff;
}

body{
    color: var(--text-color);
    background: var(--background-color);
    height: 100vh;
    width:100%;
    background-size: 300% 300%;
}

header{
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 140px;
    background: var(--background-color);
}
.icons{
    width: 100%;
}
.logo{
    color: rgb(143, 82, 29);
    font-weight: 800;
    font-size: 2.2rem;
}
nav{
 width: 100%;
 margin: auto;
 margin-top: 10px;
 padding: 1px;
 display: flex;
 justify-content: space-between;
}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
    position: relative;

}
nav ul li a{
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    position: relative;
    
}
nav ul li a::after{
    content: '';
    width: 0%;
    height: 3px;
    background: red;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
}
nav .fas {
    display: none;
}
.info{
    margin-left: 8%;
    margin-top: 15%;
}
.info h1{
 font-size: 60px;
 color:black;
 margin-bottom: 20px;
}
span{
    color: rgb(228, 41, 24);
}
.info p{
    color: black;
    line-height: 22px;
}
.info a{
    background-color: rgb(74, 168, 23);
    padding: 10px 18px;
    text-decoration:none;
    color: #fafcfd;
    margin: 30px 0;
    display:inline-block;
    border-radius: 5px;
}
.info a:hover{
    color: rgb(255, 255, 255);
}

section{
    padding: 70px 15%;
}
.home{
    width: 100%;
    min-height: 90vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.5rem;
    align-items: center;
}

.home-plant{
    max-width: 100%;
    width: 400px;
    height: auto;
    margin-left: 35%;
}

.home-plant img{
    width: 90%;
    height: 220%;
}

.home-text h1{
    font-size: var(--big-font);
    color: #198b32;
    margin-right: 80%;
}

.home-text h2{
    font-size: var(--h2-font);
    color: #070808;
    margin: 1.2rem 0 2rem;
}

.btn{
    display: inline-block;
    padding: 10px 20px;
    background: var(--main-color);
    color: #fff;
    border-radius: 0.5rem;
}

.btn:hover{
    transform: scale(1.1) translateY(10px);
    transition: .4s;
}

.about{
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    grid-gap: 1.5rem;
    align-items: center;
}

.about-img img{
    max-width: 100%;
    width: 480px;
    height: auto;
}

.about-text span{
    color: rgb(93, 97, 98);
    font-weight: 600;
}

.about-text h2{
    font-size: var(--h2-font);
}

.about-text p{
    margin: 0.8rem 0 1.8rem;
    margin-top: 10px;
    line-height: 1.7rem;
}

.heading{
    text-align: center;
}

.heading span{
    color: var(--main-color);
    font-weight: 600;
}

.heading span h2{
    font-size: var(--h2-font);
}

.menu-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, auto));
    grid-gap: 1.5rem;
    align-items: center;
}

.box{
    position: relative;
    margin-top: 4rem;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(60deg, #d2f9ea, #ffedbe);
    padding: 20px;
    border-radius: 0.5rem;
    border: 2px solid #4CAF50;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.box-img{
    height: 200px;
    width: 200px;
}

.box-img img{
    height: 100%;
    width: 100%;
}

.box h2{
    font-size: 1.2rem;
    color: #050505;
}

.box h3{
    font-size: 0.7rem;
    color: rgb(59, 7, 65);
    font-weight: 400;
}

.box span{
    font-size: var(--p-font);
    color: #f40000;
    font-weight: 600;
}

.box .bx{
    background-color: var(--main-color);
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
    padding: 7px 10px;
    border-radius: 5px;
}

.product-card{
    width: 280px;
    position: relative;
    box-shadow: 0 2px 7px #dfdfdf;
    margin: 50px auto;
    background: #fafafa;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, auto));
    grid-gap: 1.5rem;
    align-items: center;
}

.heading span{
    background: orange;
    color: #ffffff;
    display: inline-block;
    padding: 5rem 3rem;
    clip-path: polygon(95% 35%, 95% 48%, 95% 63%, 16% 63%, 0 49%, 18% 35%);
}

.service-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, auto));
    grid-gap: 1.5rem;
    align-items: center;
}

.s-box{
    text-align: center;
    padding: 20px 30px;
}

.s-box img{
    width: 90px;
}

.s-box h3{
    margin: 4px 0 10px;
    font-size: 1.2rem;
}

.s-box p{
    line-height: 1.7;
    font-size: medium;
}

.main{
    display: flex;
    flex-wrap: wrap;
}
.container {
    background-color: hsl(0, 0%, 100%);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 75%;
    max-width:1000px;
    margin-left: 15%;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

textarea {
    resize: vertical;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

#response-message {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    color: green;
}
.copyright{
    width: 100%;
    margin-right: 20px;
    text-align: center;
    padding: 15px 0; 
    font-weight: 250;
    background: rgb(52, 50, 50);
    margin-top: 50px;
    color: antiquewhite;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    button {
        width: 100%;
    }
}


.footer{
    padding: 10px 0;
}

.col{
    width: 25%;
}

.col h4{
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 25px;
    position: relative;
}

.col h4::before{
    content: "";
    position: absolute;
    height: 2px;
    width: 50px;
    left: 0;
    bottom: -8px;
    background: var(--main-color);
}

.col ul li:not(:last-child){
    margin-bottom: 12px;
}

.col ul li a{
    color: rgb(6, 4, 4);
    font-size: 0.9rem;
    display: block;
    text-transform: capitalize;
    transition: .5s;
}

.col ul li a:hover{
    color: var(--text-color);
    transform: translateX(-12px);
}

/* Mobile Styles */
@media (max-width: 768px) {
    header {
        flex-direction: flex;
        padding: 20px;
    }
    .navbar {
        padding-left: 0;
        flex-direction: flex;
        
    }

    .home {
        grid-template-columns: 1fr;
    }
    .home-text h1{
        font-size: 4rem;
    }
    .home-plant {
        margin-left: 0;
    }

    .home-plant img {
        width: 70%;
    }
    nav .fas {
        display: block;
        font-size: 35px;
        margin-top: 10px;
        margin-left: 15%;
    }
    nav ul{
        background: #68db87;
        position: fixed;
        top:-5px;
        right: -190px;
        width: 145px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        border-bottom: 40%;
        border-bottom-left-radius: 5%;
        border-top-right-radius: 5%;
        transition: right 0.5s;
    }
    nav ul li{
        display: block;
        margin: 45px;
    }
    nav ul li a{
        font-size: 25px;
        color: #070707;
        font-family: Arial, Helvetica, sans-serif;
    }
    nav ul .fas{
        position: absolute;
        top: 25px;
        margin-left: 20px;
        cursor: pointer;
    }
    .about {
        grid-template-columns: 1fr;
    }

    .box {
        width: 100%;
        margin-top: 2rem;
    }

    .product-card {
        width: 100%;
        margin: 20px 0;
    }

    .footer {
        padding: 20px 15px;
    }

    .col {
        width: 25%; /* Stacks the columns vertically */
        margin-left: 20px;
    }

    .col h4 {
        font-size: 1.1rem; /* Slightly smaller font size on mobile */
        margin-bottom: 15px; /* Less space between heading and list items */
    }

    .col ul li {
        margin-bottom: 10px; /* Less space between list items */
    }

    .col ul li a {
        font-size: 0.7rem; /* Slightly bigger font for readability on mobile */
        position: relative;
    }

    /* Optional: Stack social media icons or extra footer elements */
    .footer .social-icons {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .footer .social-icons a {
        margin: 0 10px;
    }

}
