/* ===== RESET ===== */
body{
    margin:0;
    font-family:'Segoe UI', Arial, sans-serif;
    background:#f5f5f5;
    color:#333;
    overflow-x:hidden; /* only horizontal block */
}

/* ===== HEADER ===== */
header{
    background:#2E7D32;
    color:white;
    padding:15px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    position:sticky;
    top:0;
    z-index:1000;
}

header h1{
    margin:0;
}

/* ===== NAVBAR ===== */
nav ul{
    list-style:none;
    display:flex;
    margin:0;
    padding:0;
}

nav ul li{
    position:relative;
}

nav ul li a{
    display:block;
    color:white;
    text-decoration:none;
    padding:10px 18px;
    transition:0.3s;
}

nav ul li a:hover{
    background:white;
    color:#2E7D32;
    border-radius:5px;
}

/* ===== DROPDOWN ===== */
.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    background:#fff;
    display:none;
    flex-direction:column;
    min-width:160px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

.dropdown-menu li a{
    color:#333;
    padding:10px 15px;
}

.dropdown-menu li a:hover{
    background:#f4f4f4;
    color:#2E7D32;
}

.dropdown:hover .dropdown-menu{
    display:block;
}

/* ===== HERO ===== */
.hero{
    padding:60px 40px;
    background:#F1F8E9;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
}

.hero-text{
    flex:1;
    min-width:300px;
}

.hero-text h2{
    font-size:36px;
    color:#2E7D32;
}

.hero-text p{
    font-size:18px;
    margin:20px 0;
}

.cta-btn{
    display:inline-block;
    padding:12px 25px;
    background:#2E7D32;
    color:white;
    text-decoration:none;
    border-radius:5px;
}

/* ===== HERO IMAGE ===== */
.hero-image{
    flex:1;
    text-align:center;
}

.hero-image img{
    max-width:100%;
    border-radius:10px;
}

/* ===== PRODUCT SECTION ===== */
.product-container{
    width:100%;
    max-height:80vh;       /* 👈 fixed container height */
    margin:20px auto;
    
    display:grid;           /* 👈 grid layout for multiple products */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap:20px;

    overflow-y:auto;       /* 👈 vertical scroll */
    overflow-x:hidden;     /* 👈 horizontal scroll blocked */
    padding:10px;

    scroll-behavior:smooth;
}

.product-card{
    background:#fff;
    border-radius:10px;
    padding:15px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    box-shadow:0 4px 15px rgba(0,0,0,0.05);
    transition:all 0.3s ease;
}

.product-card img{
    width:100%;
    max-width:220px;       /* 👈 responsive image */
    border-radius:10px;
    margin-bottom:10px;
}

.product-card h3{
    margin:10px 0;
    font-size:18px;
    text-align:center;
}

.price{
    color:green;
    font-weight:bold;
    margin-bottom:10px;
}

.product-card button{
    background:#2E7D32;
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:8px;
    cursor:pointer;
    width:100%;
}

.product-card button:hover{
    background:#1b5e20;
}

/* ===== LOADER ===== */
#loader{
    text-align:center;
    padding:15px;
    font-size:16px;
}

/* ===== TRUST SECTION ===== */
.trust-section{
    padding:50px 40px;
    text-align:center;
    background:#fff;
}

.trust-boxes{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
    margin-top:30px;
}

.box{
    width:220px;
    padding:20px;
    border:1px solid #e0e0e0;
    border-radius:8px;
}

.box h3{
    color:#2E7D32;
}

/* ===== FOOTER ===== */
footer{
    background:#2E7D32;
    color:white;
    text-align:center;
    padding:20px;
}

/* ===== CONTACT ===== */
.contact{
    padding:80px 0;
    text-align:center;
    background:#FAFAFA;
}

.contact form{
    max-width:400px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:25px;
}

.contact input,
.contact textarea{
    padding:12px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:15px;
    width:100%;
}

.contact textarea{
    height:120px;
    resize:none;
}

.contact button{
    padding:12px;
    background:#2E7D32;
    color:white;
    border:none;
    border-radius:6px;
    cursor:pointer;
}

.contact button:hover{
    background:#1B5E20;
}

/* =========================
   📱 MOBILE (0–600px)
========================= */
@media (max-width:600px){

header{
    flex-direction:column;
    align-items:flex-start;
    padding:15px 20px;
}

nav ul{
    flex-direction:column;
    width:100%;
}

nav ul li{
    width:100%;
}

nav ul li a{
    padding:12px;
    border-top:1px solid rgba(255,255,255,0.2);
}

.dropdown-menu{
    position:static;
    width:100%;
    box-shadow:none;
}

.hero{
    flex-direction:column;
    text-align:center;
}

.hero-image{
    margin-top:20px;
}

/* product mobile */
.product-card img{
    width:180px;
}

.product-card button{
    width:100%;
}

}

/* =========================
   📲 TABLET (601px–992px)
========================= */
@media (min-width:601px) and (max-width:992px){

.hero{
    flex-direction:column;
    text-align:center;
}

.product-card img{
    width:220px;
}

}

/* =========================
   💻 DESKTOP (992px+)
========================= */
@media (min-width:992px){

.product-card img{
    width:280px;
}

.product-card h3{
    font-size:26px;
}

.price{
    font-size:20px;
}

}


/* ===== SERVICE SECTION ===== */
.service-section{
    padding:60px 40px;
    text-align:center;
    background:#FAFAFA;
}

.service-section h2{
    font-size:32px;
    color:#2E7D32;
    margin-bottom:20px;
}

/* service cards */
.service-boxes{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
    margin:30px 0;
}

.service-boxes .box{
    background:#fff;
    padding:25px;
    width:260px;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,0.08);
    transition:0.3s;
}

/* 🔥 hover effect (premium feel) */
.service-boxes .box:hover{
    transform:translateY(-10px);
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.service-boxes .box h3{
    color:#2E7D32;
    margin-bottom:10px;
}

/* CTA button upgrade */
.service-section .cta-btn{
    margin-top:15px;
    display:inline-block;
}

/* ===== SMALL IMPROVEMENT ===== */
.cta-btn:hover{
    background:#1B5E20;
    transform:scale(1.05);
    transition:0.3s;
}

/* gradient hero upgrade */
.hero{
    background:linear-gradient(135deg, #F1F8E9, #E8F5E9);
}

/* smooth animation */
.box, .product-card{
    transition:all 0.3s ease;
}