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

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f7fdf7;
    min-height: 100vh;
    height: auto;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    width: 100%;
    height: 80px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: green;
}

.logo h1 {
    font-size: 26px;
    font-weight: bold;
}

.logo img {
    width: 60px;
}

.menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu ul li a {
    text-decoration: none;
    font-size: 16px;
    color: black;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: green;
}

.menu-icon {
    display: none;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

main h1 {
    font-size: 50px;
    color: #1f9346;
}

main .p {
    font-size: 24px;
    color: #629774;
}

.cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row;
    width: 100%;
    height: 100%;
    gap: 20px;
    padding-left: 20px;
    padding-top: 50px;


}

.pp {
    display: flex;
    gap: 15px;
}

.cards .pp {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 450px;
    height: 490px;
    background-color: white;
    border-radius: 20px;
    border: 1px solid rgba(128, 128, 128, 0.4);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;

}

.pp h3 {
    color: #1f9346;
    font-size: 24px;
}

.top-first {
    display: flex;
    gap: 10px;
    color: #82ac8f;
}

.star {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.star p {
    padding-top: 5px;
}

.money {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1f93466d;
}

.add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 45px;
    font-size: 24px;
    border-radius: 10px;
    background-color: #1f9346;
    color: white;
    cursor: pointer;

}

.pp:hover h3 {
    color: orange;
    transition: 0.5s ease;
}

.pp:hover img {
    transform: scale(1.1);
    transition: 0.5s ease;
}

.last-main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 300px;
    width: 90%;
    gap: 10px;
    background-color: #1eb650;
    margin-bottom: 20px;
    margin-left: 70px;
    border-radius: 20px;
    font-size: 24px;
    color: white;

    transition: 0.5s ease;


}

.ri-leaf-line {
    display: inline-block;
    font-size: 70px;
    color: white;
    animation: leafMove 2s infinite ease-in-out;
}

@keyframes leafMove {
    0% {
        transform: rotate(0deg) translateY(0);
    }

    25% {
        transform: rotate(-15deg) translateY(-5px);
    }

    50% {
        transform: rotate(0deg) translateY(0);
    }

    75% {
        transform: rotate(15deg) translateY(-5px);
    }

    100% {
        transform: rotate(0deg) translateY(0);
    }
}

.last-main a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 150px;
    background-color: white;
    font-size: 16px;
    text-decoration: none;
    border-radius: 20px;
    color: black;
}



.last-main a:hover {
    background-color: orange;
    transition: 0.5s ease;
    color: white;
}

footer {
    background-color: #1f9346;
    height: 400px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 40px;
    width: 100%;
    height: 70%;
    gap: 20px;
    font-size: 18px;
    padding-top: 40px;
    color: black;
    border-bottom: 1px solid #3ca15e;
}

.footer-top1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    color: white;
}

.footer-top1 p {
    color: #cce4d4;
}

.footer-top2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    color: white;
}

.footer-top2 a {
    color: white;
    text-decoration: none;
}

.footer-top2 a:hover {
    color: orange;
    transition: 0.5s ease;
}

.footer-top3 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    color: white;
}

.footer-top3 h3 {
    color: white;
    font-size: 20px;
    font-weight: bold
}

.footer-top3 .phone {
    display: flex;
    gap: 10px;
}

.footer-top4 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    color: white;
}

.footer-top4 h3 {
    color: white;
    font-size: 20px;
    font-weight: bold
}

.socail {
    display: flex;
    gap: 10px;
}

.socail i {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 1px solid white;
    border-radius: 10px;
    width: 50px;
    height: 50px;
    font-size: 30px;
    transition: 0.5s ease;
    cursor: pointer;
}


.socail i:hover {
    background-color: orange;
    border: none;
}

.footer-btm {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    color: #cce4d4;
    padding-top: 30px;

}

@media (min-width: 1024px) and (max-width: 1440px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding-left: 0px;
    }
}


@media (min-width: 768px) and (max-width: 1023px) {
    .logo {
        padding-left: -30px;
    }

    .logo h1 {
        font-size: 24px;
    }.logo img{
        width: 80px;
    }
    .menu-icon {
        display: block;
        font-size: 24px;
        cursor: pointer;
    }

    /* Default menu hidden on mobile/tablet */
    .menu {
        display: none;
        position: absolute;
        /* so it overlays content */
        top: 80px;
        /* below header */
        right: 0;
        background-color: white;
        width: 100%;
        /* full width for mobile */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 2;
    }

    /* Menu visible when active */
    .menu.active {
        display: block;
    }

    /* Menu items for mobile/tablet */
    .menu ul {
        flex-direction: column;
        gap: 0;
    }

    .menu ul li {
        border-bottom: 1px solid #ddd;
    }

    .menu ul li a {
        display: block;
        padding: 15px 20px;
        color: black;
        font-size: 16px;
    }


    .menu ul li a {
        text-decoration: none;
        font-size: 24px;
        color: black;
        transition: color 0.3s ease;
    }

    .section1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        color: white;
        padding: 150px 20px;
        gap: 35px;
        background: linear-gradient(rgba(0, 128, 0, 0.55),
                rgba(255, 140, 0, 0.55));
        height: 60vh;
    }

    main h1 {
        font-size: 40px;
    }

    main .p {
        font-size: 20px;
    }

    .section2 h1 {
        font-size: 50px;
    }

    .decribe {
        font-size: 24px;
    }

    .cards {
        display: grid;
        align-items: center;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: row;
        width: 100%;
        height: 100%;
        border-radius: 10px;
        transition: transform 0.3s ease;
        /* margin-left: 50px; */
        gap: 10px;

    }

    .cards .pp {
        width: 90%;
        height: 470px;
        margin-left: 20px;
        
    }

    .pp {
        display: flex;
        gap: 10px;

    }

    .section3 h3 {
        font-size: 26px;
    }

    .top-first{
        display: flex;
        align-items: center;
    }

    .top-first i {
        font-size: 30px;
    }

    .add {
        width: 50%;
        font-size: 20px;
    }

    .last-main{
        margin-left: 50px;
    }

    .last-main h3{
        font-size: 26px;
    }
    .last-main i{
        font-size: 36px;
    }
    .last-main p{
        font-size: 20px;
    }

}

@media (min-width: 320px) and (max-width: 767px) {

    .logo img {
        width: 50px;
        margin-left: -25px;
    }

    .logo h1 {
        font-size: 16px;
    }

    .menu-icon {
        display: block;
        font-size: 20px;
        cursor: pointer;
    }

    .menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: white;
        width: 100%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 2;
        height: auto;

    }

    .menu.active {
        display: block;
    }

    .menu ul {
        flex-direction: column;
        gap: 0;
    }

    .menu ul li {
        border-bottom: 1px solid #ddd;
    }

    .menu ul li a {
        display: block;
        align-items: center;
        padding: 9px 20px;
        color: black;
        font-size: 10px;
        height: 30px;
    }


    .menu ul li a {
        text-decoration: none;
        font-size: 14px;
        color: black;
        transition: color 0.3s ease;
    }

    header {
        height: 60px;
    }

    .section1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        color: white;
        padding: 150px 20px;
        gap: 35px;
        background: linear-gradient(rgba(0, 128, 0, 0.55),
                rgba(255, 140, 0, 0.55));
        height: 60vh;
    }

    .section1 {
        padding: 100px 40px;
        gap: 20px;
    }

    .section1 h1 {
        font-size: 30px;
    }

    .section2 h1 {
        font-size: 24px;
    }

    .section2 p {
        font-size: 14px;
    }

    .decribe {
        font-size: 14px;
    }

    .btn {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .btn1,
    .btn2 {
        width: 100%;
    }

    .btn a {
        font-size: 14px;
        padding: 10px 20px;
    }



    .cards {
        display: grid;
        align-items: center;
        grid-template-columns: repeat(1, 1fr);
        grid-auto-flow: row;
        width: 100%;
        height: 100%;
        border-radius: 10px;
        transition: transform 0.3s ease;
        margin-left: -13px;
        gap: 20px;

    }

    .cards .pp {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: white;
        width: 99%;
        height: 430px;
        border-radius: 15px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        border: 1px solid #d7e3d7;
        gap: 5px;

    }



    footer {
        height: auto;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        height: auto;
        /* gap: 30px; */
        padding-bottom: 20px;
    }

    .footer-top1 p {
        display: none;
    }

    .footer-btm {
        font-size: 12px;
        padding: 10px;
    }

    .footer-top2,
    .footer-top3,
    .footer-top4 {
        gap: 5px;
    }

    .footer-top2,
    .footer-top3,
    .footer-top4 p {
        font-size: 14px;
    }

    .footer-top2,
    .footer-top3 h3,
    .footer-top4 h3 {
        font-size: 16px;
    }

    .socail i {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    main h1 {
        font-size: 24px;

    }

    main .p {
        font-size: 16px;
        padding: 10px 40px;
    }

    .group-vegetable p {
        padding-top: 7px;
        font-size: 10px;
        width: 75px;
        height: 25px;
        gap: 2px;

    }

    .top-fourth {
        padding-top: 13px;
        gap: 5px;
    }

    .top-fourth p {
        font-size: 14px;
    }
    .last-main{
        display: none;
    }
}