/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

/* Top Navigation Bar */
.navbar {
    background-color: #000;
    color: white;
    padding: 8px 0;
    font-size: 15px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
}

.nav-left, .nav-right {
    display: flex;
    gap: 25px;
}

.nav-link {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
    text-decoration: underline;
}

* DROPDOWN STYLE */
.dropdown-menu {
    position: absolute;
    top: 40px;
    left: 0;
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    list-style: none;
    padding: 10px 0;
    display: none;
    transition: 0.3s ease;
    z-index: 1000;
}

/* Main Header */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
    width: 100%;
}

.login-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.login-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}


.loginimg1{
    width: 30px;
    height: 30px;
}


.dropdown-box {
    display: flex;
    gap: 20px;
    background: #eaf2ea;
    padding: 20px;
    border-radius: 12px;
    max-width: 900px;
}

/* GRID */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 180px);
    gap: 20px;
}

/* CARD */
.category-card {
    position: relative;
    width: 180px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
}

/* IMAGE */
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEXT OVERLAY */
.category-card span {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-weight: bold;
    background: rgba(0,0,0,0.4);
    padding: 5px 10px;
    border-radius: 6px;
}

/* RIGHT SIDE IMAGE */
.promo img {
    width: 300px;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* ========================= */
/* 📱 MOBILE */
/* ========================= */
@media (max-width: 768px) {

    .dropdown-box {
        flex-direction: column;
        align-items: center;
    }

    .category-grid {
        grid-template-columns: repeat(2, 150px);
    }

    .category-card {
        width: 150px;
        height: 120px;
    }

    .promo img {
        width: 100%;
        height: auto;
    }
}

/* ========================= */
/* 💻 TABLET */
/* ========================= */
@media (min-width: 769px) and (max-width: 1024px) {
    .dropdown-box {
        flex-direction: column;
    }

    .promo img {
        width: 100%;
    }
}

.product-menu{
   
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    z-index: 1000;
     background-color: rgba(255, 255, 255, 0.467);
    height: 300px;
    backdrop-filter: blur(10px);
    display: none;
    gap: 10px;
    overflow: hidden;
    width: 733px;
    left: 16%;
    color:  black;

}
.sub-product{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}
.sub-product-button{
   width: 150px;
   height: 120px;
   font-size: 15px;
   border-radius: 10px;
   font-weight: 600;

}
.sub-product-2{
    overflow: hidden;
   background-color: red;
   width: 50%;
}
.sub-product-2 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin-bottom: 10px;
}
/* Responsive adjustments only (no existing code changed) */

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-container {
     
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo img {
    height: 65px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav-link {
    font-weight: 700;
    position: relative;
}

.main-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3db28b;
    transition: width 0.3s ease;
}

.main-nav-link:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
     pointer-events: auto;
}

.search-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 25px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 0 10px rgba(144, 200, 64, 0.3);
}

.search-box input {
    border: none;
    padding: 8px 15px;
    outline: none;
    width: 200px;
}

.search-box button {
    background-color: #3db28b;
    color: white;
    padding: 8px 15px;
    border: none;
}

.header-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.login-logo{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 5px;
}

.icon-link {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}
.icon-link span{
     margin: 0;
}



.cart-count {
    position: absolute;
    top: 18px;
    right: -12px;
    background-color: #fff;
    border: 2px solid #1f2937;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* HERO */

.hero{

height:350px;

background:linear-gradient(#4CAF50,#81C784);

color:white;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

}


.hero h1{

font-size:50px;

}



/* FOUNDER */

.founder{

display:flex;

padding:80px;

gap:40px;

}


.founder img{

width:350px;

border-radius:20px;

}



/* TIMELINE */

.timeline{

background:#f5f5f5;

padding:60px;

text-align:center;

}


.year{

background:white;

margin:20px auto;

padding:20px;

width:300px;

border-radius:10px;

box-shadow:0px 5px 10px gray;

}




/* DISTRIBUTORS */

.distributors{

padding:80px;

text-align:center;

}


.cards{

display:flex;

justify-content:center;

gap:40px;

}


.card{

width:250px;

padding:20px;

box-shadow:0px 5px 10px gray;

border-radius:20px;

transition:0.4s;

}


.card:hover{

transform:translateY(-10px);

}


.card img{

width:120px;

border-radius:50%;

}



/* AWARDS */

.awards{

background:#f5f5f5;

padding:60px;

text-align:center;

}


.awardbox{

background:white;

padding:20px;

margin:20px auto;

width:300px;

border-radius:10px;

box-shadow:0px 5px 10px gray;

}


/*footer */

.footer{

background:#bfbfbf;
padding-top:40px;
font-family:Arial;

}

/* MAIN ROW */

.footer-main{

max-width:1300px;
margin:auto;

display:flex;
justify-content:space-between;
align-items:flex-start;

gap:40px;

}


/* LOGO */
.footer-logo {
  width: 140px;
  margin-bottom: 12px;
}

.footer-box h4 {
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: bold;
}

.footer-box p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 8px;
}

.footer-box ul li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.footer-box ul li a:hover {
  text-decoration: underline;
}

.follow {
  margin-top: 12px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-icons img {
  width: 36px;
  height: 36px;
  border-radius: 55%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.15);
}


/* ABOUT */

.footer-about{

width:280px;
font-size:14px;
line-height:1.6;

}


/* LINKS */

.footer-links{

width:180px;

}

.footer-links h3{

margin-bottom:15px;

}

.footer-links a{

display:block;
color:black;
text-decoration:none;
margin-bottom:8px;
font-size:14px;

}

.footer-links a:hover{

text-decoration:underline;

}


/* OFFICE */

.footer-office{

width:220px;
font-size:14px;
line-height:1.6;

}


/* MAP */

.footer-map iframe{

width:260px;
height:180px;
border:0;

}

/* COPYRIGHT */

.copyright{

background:black;
color:white;
text-align:center;

padding:10px;
margin-top:30px;
font-size:14px;

}