* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter","Poppins", sans-serif;
}


/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background: #F3FCF7;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #00b050;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav a:hover,
.nav a:active {
    color: #06C167;
}

/* Hamburger icon hidden by default (desktop) */
.ham-burger {
    display: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.btn {
    background: #06C167;
    color: #fff;
    border: none;
    padding: 20px 30px;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 60px 0;
    display: flex;
    align-items: center;
    background: #F3FCF7;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    margin-top: 50px;
}

.hero-text h2 {
    font-size: 75px;
    font-family: inter;
    font-weight: 600;
    margin-bottom: 15px;
}
.hero-text p {
    font-size: 16px;
    font-family: inter;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-img {
    flex: 1;
    text-align: right;
    max-height: 500px;
}
.hero-img .rating{
    position: relative;
    top: -400px;
    left: -340px;
}
.hero-img .goodProduct{
    position: relative;
    top: -600px;
    left: 40px;
}

.hero-img .hero-overlap{
    position: relative;
    width: 170px;
    height: 170px;
    left: 250px;
    top: -180px;
    z-index:111;
}


/* Brands */
.brands {
    padding: 40px 0;
    background: #fff;
}

.brand-container {
    min-width:600px;
    display: flex;
    justify-content: start;
    align-items:start;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    left: -20px;
}

/* Feature */
.features {
    padding: 80px 0;
    background: #fff;
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.feature img {
    width: 60px;
    margin-bottom: 15px;
}

.feature h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #111;
}

.feature p {
    font-size: 14px;
    color: #555;
}
/* Benifit */
.benifit{
    padding: 80px 0px;
}
.benifit-container{
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    gap:40px;
}
.benifit-img{
    width: 45%;
}
.benifit-desktop{
    display: block;
}
.benifit-mobile{
    display: none;
}
.benifit-text{
    padding:0px 40px;
    width: 50%;
}
.benifit-text h2{
    font-size: 60px;
    font-weight: 500;
    margin-bottom: 40px;
}
.benifit-text h3{
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 20px;
}
.benifit-text ul{
    list-style-image: url('/images/Icon awesome-check.png');
    padding:0px 40px;
}
.benifit-text ul li{
    font-size: 16px;
    padding-left: 10px;
    margin-bottom: 10px;
}
/* Star */
.stars{
    padding: 80px 0px;
}
.star-container{
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    gap:40px;
}
.star-img{
    width: 45%;
}
.star-text{
    width: 50%;
}
.star-text h2{
    font-size: 60px;
    font-weight: 500;
    margin-bottom: 40px;
}
.star-text h3{
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 20px;
}
.star-text .counting{
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    margin: 20px 0px;
}
.star-text .counting .item{
    text-align: center;
}
.star-text .counting .item h2{
    font-size: 40px;
    font-weight: 600;
    color: #06C167;
    margin-bottom: 10px;
}
.star-text .counting .item p{
    font-size: 15px;
    font-weight: 400;
}
.star-text .btn{
    margin-top: 20px;
}
/* ===== Section Basics ===== */
.foods-section {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}

.section-subtitle {
    font-size: 15px;
    color: #1D1D1F;
    margin-bottom: 10px;
}

.section-title {
    font-size: 60px;
    font-weight: 500;
    color: #1D1D1F;
    margin-bottom: 40px;
}

/* ===== Grid Layout ===== */
.foods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    border: 1px solid #06C167;
    border-collapse: collapse;
}

.food-item {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    border: 1px solid #06C167;
    padding: 40px 24px;
    background-color: #F3FCF7;
    overflow: hidden;
}

/* ===== Image Items ===== */
.food-item.image {
    padding: 0;
}

.food-item.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Text Items ===== */
.food-item.text h3 {
    font-size: 32px;
    font-weight: 500;
    color: #1D1D1F;
    margin-bottom: 20px;
    text-align: left;
}

.food-item.text p {
    font-size: 16px;
    color: #1D1D1F;
    margin-bottom: 20px;
    text-align: left;
}

/* ===== Link Button ===== */
.btn-link {
    display: inline-block;
    color: #00B050;
    text-decoration: none;
    font-weight: 500;
    background: #eaf9ef;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-link:hover {
    background: #00B050;
    color: #fff;
}

/* ====== Popular Product Section ====== */
.popular-products {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 24px 20px 30px;
    transition: all 0.3s ease;
    background: #fff;
    max-width: 260px;
}

.product-card.active {
    border: 2px solid #06C167;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    border: 2px solid #06C167;
}

.product-img {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.product-img img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
}

.product-rating {
    color: #00B050;
    margin-bottom: 10px;
    font-size: 16px;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 400;
    color: #111;
    margin-bottom: 10px;
}

.price {
    margin-bottom: 15px;
    font-size: 16px;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 5px;
}

.new-price {
    color: #00B050;
    font-weight: 600;
}

/* ====== Buy Button ====== */
.btn-outline {
    display: inline-block;
    color: #00B050;
    border: 1.5px solid #00B050;
    padding: 8px 18px;
    text-decoration: none;
    font-weight: 400;
    border-radius: 4px;
    transition: 0.3s ease;
}

.btn-outline:hover {
    background-color: #00B050;
    color: #fff;
}

/* CTA */
.cta {
    color: white;
    text-align: center;
    padding: 80px 20px;
}
.cta-content{
    background: url("/images/Rectangle 8.png") center/cover no-repeat;
    padding: 80px 0px;
}
.cta-content h2 {
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 20px;
}
/* ===== Footer Section ===== */
.footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    padding: 60px 0 20px;
    color: #333;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.footer-col h2.footer-logo {
    color: #00B050;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-col h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #111;
}

.footer-col p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #00B050;
}

.footer-social a img {
    margin-right: 20px;
}

/* Subscribe Form */
.subscribe-form {
    display: flex;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.subscribe-form input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    outline: none;
    font-size: 14px;
    background: #f7f7f7;
}

.subscribe-form button {
    background: #00B050;
    color: #fff;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}

.subscribe-form button:hover {
    background: #06C167;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 13px;
    color: #777;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

/* ===============================
    RESPONSIVE DESIGN
   =============================== */

/* ---------- Tablet (≤1024px) ---------- */
@media (max-width: 1024px) {

    /* Header */
    .header-container {
        padding: 0 10px;
    }

    .nav a {
        margin: 0 10px;
    }

    /* Hero */
    .hero-text h2 {
        font-size: 50px;
    }

    .hero-img img {
        width: 90%;
    }
    .feature-container {
    grid-template-columns: repeat(2, 1fr);
    }
    /* Benefit + Star Sections */
    .benifit-text h2,
    .star-text h2 {
        font-size: 45px;
    }

    .benifit-container,
    .star-container {
        flex-direction: column;
        text-align: center;
    }

    .benifit-img,
    .star-img {
        width: 100%;
        text-align: center;
    }

    .benifit-text,
    .star-text {
        width: 100%;
        padding: 0;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    }

    /* ---------- Mobile (≤768px) ---------- */
    @media (max-width: 768px) {

    /* Global */
    .container {
        width: 95%;
    }

    /* Header */
    .nav {
        display: none; /* Hide menu */
    }

    .ham-burger {
        display: block;
    }

    /* Mobile dropdown nav toggle */
    .nav.active {
        display: flex;
        flex-direction: column;
        background: #F3FCF7;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px 0;
        border-top: 1px solid #eee;
        z-index: 1000;
    }

    .nav.active a {
        margin: 10px 0;
        text-align: center;
    }

    /* Hero Section */
    .hero-container{
        display: block;
    }
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }
    .hero-text .btn{
        width: 100%
    }
    .hero-text h2 {
        font-size: 50px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .hero-img {
        text-align: center;
        margin-top: 30px;
    }

    .hero-img img {
        width: 100%;
        height: auto;
    }
    .hero-img .hero-overlap{
        left: 120px;
        top: -160px;
        z-index:1;
    }
    .hero-img .rating,
    .hero-img .goodProduct{
        left:0;
        top:-350px;
        width: 80%;
        text-align: center;
        z-index: 11111;
    }
    .brand-container {
    display: flex;
    flex-wrap: wrap;
    min-width: 100%;
    justify-content: center;
    }
    /* Features */
    .feature-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    }
    .feature-box {
    padding: 20px 10px;
    }

    /* Benefit Section */
    .benifit {
        padding: 50px 0;
    }

    .benifit-text h2 {
        font-size: 32px;
    }

    .benifit-text ul {
        padding-left: 20px;
        list-style-position: inside;
        text-align: left;
    }
    .benifit-desktop{
        display: none;
    }
    .benifit-mobile{
        display: block;
        width: 100%;
    }

    /* Star Section */
    .star-text h2 {
        font-size: 32px;
    }

    .star-text .counting {
        flex-direction: column;
        gap: 20px;
    }

    /* Foods Grid */
    .foods-grid {
        grid-template-columns: 1fr;
    }

    .food-item {
        text-align: center;
    }
    .foods-grid .food-item:nth-child(1) { order: 1; } 
    .foods-grid .food-item:nth-child(2) { order: 2; } 
    .foods-grid .food-item:nth-child(3) { order: 3; } 
    .foods-grid .food-item:nth-child(4) { order: 4; } 
    .foods-grid .food-item:nth-child(5) { order: 6; } 
    .foods-grid .food-item:nth-child(6) { order: 5; } 
    .foods-grid .food-item:nth-child(7) { order: 8; } 
    .foods-grid .food-item:nth-child(8) { order: 7; } 
    .food-item.text h3 {
        font-size: 24px;
    }

    /* Popular Products */
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        max-width: 100%;
    }

    /* CTA */
    .cta-content{
        width: 100%;
    }
    .cta-content h2 {
        font-size: 32px;
    }
    .cta{
        padding: 80px 0px;
    }
    .btn {
        padding: 12px 20px;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social a img {
        margin: 0 10px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input,
    .subscribe-form button {
        width: 100%;
        text-align: center;
    }
}

/* ---------- Very Small Phones (≤480px) ---------- */
@media (max-width: 480px) {
    .hero-text h2 {
    font-size: 50px;
    }
    .section-title {
    font-size: 30px;
    }

    .btn {
        padding: 10px 18px;
    }

    .benifit-text h2,
    .star-text h2 {
        font-size: 26px;
    }

    .product-card h3 {
        font-size: 16px;
    }

    .footer-col h3 {
        font-size: 15px;
    }
}

