@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

:root{
    --orange:#ff7800;
    --black:#130f40;
    --light-color:#666;
    --box-shadow:0 .5rem 1.5rem rgba(0,0,0,.1);
    --border:2rem solid rgba(0,0,0,.1);
    --outline:1rem solid rgba(0,0,0,.1);
    --outline-hover:1rem solid var(--black);
}
*{
    font-family: 'Poppins', sans-serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    outline: none; border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
}


html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}



    body{
    background:#fff;
}

section{
    padding: 2rem 2%;
}
.heading{
    text-align: center;
    padding: 2rem 0;
    padding-bottom: 3rem;
    font-size: 3.5rem;
    color: var(--black);
}

.heading span{
    background: var(--orange);
    color: #fff;
    display: inline-block;
    padding: 5rem 3rem;
    clip-path: polygon(100% 30%, 93% 50%, 100% 75%, 0% 70%, 7% 50%, 0% 30%);
    font-size:2.5rem;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 3rem;
    font-size: 1.7rem;
    border-radius: .6rem;
    border:.2rem solid var(--black);
    color: var(--black);
    cursor: pointer;
    background: none;
}
.btn:hover{
    background:#ff7800;
    color: #fff;
}

.header{
    position: fixed;
    top:0; left:0; right:0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:2rem 3%;
    background: white;
    box-shadow: var(--box-shadow);
}

.header .logo{
    font-size: 2.8rem;
    font-weight: bolder;
    color: black;
}

.header .logo i{
    color: #ff7800;
}

.header .navbar a{
    font-size: 1.9rem;
    margin: 0 2rem;
    color: black;
    line-height:4rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}
.header .navbar{
    width:60%;
    padding-left:28px;
}

.header .navbar a:hover{
    color: #ff7800;
}

.header .icons {
    display: flex;              /* ✅ arrange icons in row */
    align-items: center;        /* vertically center */
    gap: .5rem;                 /* space between icons */
}

.header .icons a,
.header .icons div {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    border-radius: .5rem;
    background:white;
    color: black;
    font-size: 2rem;
    cursor: pointer;
    text-align: center;
    display: flex;              /* ✅ center icon inside */
    align-items: center;
    justify-content: center;
}

.header .icons a:hover,
.header .icons div:hover {
    background: #ff7800;
    color: #fff;
}

/* Common icon styling */
a i {
  margin-right: 6px;
  font-size: 16px;
}

/* Individual colors */
.home-icon {
  color: #007bff;   /* blue for home */
}
.task-icon {
  color: #28a745;   /* green for tasks */
}
.shop-icon {
  color: #ff6600;   /* orange for shopping */
}
.soon-icon {
  color: #ffc107;   /* yellow for coming soon */
}
.feature-icon {
  color: #e83e8c;   /* pink/magenta for features */
}

/* Optional hover effect */
a:hover i {
  transform: scale(1.2);
  transition: 0.2s;
}


#menu-btn{
    display: inline-block;
}


.header .shopping-cart{
    position: absolute;
    top: 110%; right: -110%;
    padding: 1rem;
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    width: 35rem;
    background: #fff;
}

.header .shopping-cart.active{
    right: 2rem;
    transition: .4s linear;
}

.header .shopping-cart .box{
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    margin: 1rem 0;
}

.header .shopping-cart .box img{
    height: 10rem;
}

.header .shopping-cart .box .fa-trash{
    font-size: 2rem;
    position: absolute;
    top: 50%; right: 2rem;
    cursor: pointer;
    color: var(--light-color);
    transform: translateY(-50%);
}

.header .shopping-cart .box.fa-trash:hover{
    color: var(--orange);
}

.header .shopping-cart .box .content h3{
    color:var(--black);
    font-size: 1.7rem;
    padding-bottom: 1rem;
}


.header .shopping-cart .box .content span{
    color: var(--light-color);
    font-size: 1.6rem;
}

.header .shopping-cart .box .content .quantity{
    padding-left: 1rem;
}

.header .shopping-cart .total{
    font-size: 2.5rem;
    padding: 1rem;
    text-align: center;
    color: var(--black);
}

.header .shopping-cart .btn{
    display: block;
    text-align: center;
    margin: 1rem;
}




.header .login-form{
    position: absolute;
    top: 99%; right: -110%;
    width: 20rem;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    border-radius: .5rem;
    background: #fff;
    text-align: left;
    margin: 0;
    padding: 0;
    height: 25rem;
    

}
.header .login-form.active{
    right: 0rem;
    transition: .4s linear;
}

.header .login-form .back {
    background: green;
    width: 20rem;      /* full screen width */
    margin-left: 0px; /* adjust if form has padding */
    padding: 10px 0;
    text-align: center;
}
.header .login-form h3 {
    font-size: 2.5rem;
    text-transform: uppercase;
    color: white;
    margin: 0;   /* remove extra gap */
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; 
}
.header .login-form .box{
    width: 100%;
    margin: .7rem 0;
    background:rgb(175, 243, 240);
    border-radius: .5rem;
    padding: 1rem;
    font-size: 1.6rem;
    color: var(--black);
    text-transform: none;
     
}


.header .login-form p a{
    color: black;
    text-decoration: none;
}
.header .login-form  a{
    font-size:2rem;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        padding-left: 2rem;
        

}

#logout{
    display:none;
}
#login{
    display:none;
}
#day_to_day_task{
    
    display:none;
}

/*home section start*/
.home .content{
    text-align: center;
    width: 50rem;
}
 .home .content h3{
    color:black;
    font-size: 2rem;
    background-color: #f1cc50;
    border-radius: 2rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.home .content h3 span{
    color: var(--light-color);
}

.home .content p{
    color: yellow;
    font-size: 1.8rem;
    padding: .5rem;
    line-height: 1.8;
    font-weight: bold;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.home{
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    padding-top:1rem;
    margin-bottom: -8rem;
}
.marquee {
  margin: 0;
  padding: 5px 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: black;
      font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}



/* Features Section */
/* Features Section */
.features { 
  padding: 5px 2px;
  text-align: center;
  overflow: hidden;
  /* Blue Gradient Background */
  background: linear-gradient(#acb0f8ff, #575ffcff, #4d4dff);
  color:white; /* makes text readable on blue background */
  margin-top: -11.5em;
}

/* Section Title */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #222;
}
.features h2{
  color: #fff;
  margin-bottom: 1px;
}
/* Code Logo Styling */
.feature-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  font-family: 'Poppins', sans-serif;
}

.logo-icon {
  font-size: 2.8rem;
  margin-right: 10px;
  animation: pulse 1.5s infinite alternate;
}

.logo-text {
  display: flex;
  gap: 2px;
}

.highlight { color: #ff6b6b; animation: colorChange 3s infinite; }
.highlight2 { color: #4ecdc4; animation: colorChange2 3s infinite; }
.highlight3 { color: #f7b733; animation: colorChange3 3s infinite; }

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes colorChange {
  0% { color: #ff6b6b; }
  50% { color: #ffb347; }
  100% { color: #ff6b6b; }
}

@keyframes colorChange2 {
  0% { color: #4ecdc4; }
  50% { color: #1a535c; }
  100% { color: #4ecdc4; }
}

@keyframes colorChange3 {
  0% { color: #f7b733; }
  50% { color: #ff6b6b; }
  100% { color: #f7b733; }
}

/* Features Slider */
.features-slider {
  display: flex;
  gap: 20px;
  animation: slide 20s linear infinite;
  width: max-content;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
}

/* Individual feature card */
.feature-card {
  min-width: 220px;
  flex: 0 0 auto;
  background: #f1f1f1;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  font-weight: 500;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: #ffe066;
}

.feature-card h3 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #333;
}

.feature-card p {
  font-size: .9rem;
  color: #555;
  line-height: 1.4;
}

/* Card Icon */
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Keyframes for auto slide */
@keyframes slide {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-260px); }
  50%  { transform: translateX(-520px); }
  75%  { transform: translateX(-780px); }
  100% { transform: translateX(0); }
}

/* Hide scrollbar */
.features-slider::-webkit-scrollbar { display: none; }
.features-slider { -ms-overflow-style: none; scrollbar-width: none; }

/* shopping section starts here*/

.shopping .product-slider:{
    padding: 1rem;
}
.shopping {
    background:#fff;
    margin-top: 1px;
}


.shopping .product-slider:first-child{
    margin-bottom: 2rem;
}

.shopping .product-slider .box{
    background: #fff;
    border-radius: 2rem;
    text-align: center;
    padding: 10px 10px;
    line-height:1.1;
    

}
.shopping .product-slider .box img{
    height:14rem;
}





.shopping .product-slider .box h3{
    font-size: 2.2rem;
    color: var(--black);
}


.shopping h1 {
    font-size: 2.5rem; /* desktop size */
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: bold;
    color: white;
    padding-top: 8px;

    /* Sliding gradient text */
}

/* Gradient animation keyframes */
@keyframes gradientSlide {
    0% { background-position: 0%; }
    100% { background-position: 100%; }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .shopping h1 {
        font-size: 1.8rem; /* smaller font on mobile */
    }
}

.shopping h3{
    font-size: 1.5rem;
    text-align:center;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        padding-top:5px;

}


.shopping .product-slider .box h4{
    font-size: 2rem;
            font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
            color: green;

}
.shopping .product-slider .box h6{
    font-size: 2rem;
    text-decoration: line-through;
}
.shopping .product-slider .box .price{
    font-size: 2rem;
    color: var(--light-color);
    padding: .5rem 0;
}

.shopping .product-slider .box .stars{
    font-size: 1.7rem;
    color: var(--orange);
    padding: .5rem 0;
}
.shopping .safety h3{
    font-size: 2rem;
    color: var(--black);
}
.shopping h2{
    font-size: 2.2rem;
    color: var(--black)
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    line-height:1.2;
}
.price-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  margin-left: 6em;
}

.discount {
  background: linear-gradient(45deg, #ff4d4d, #cc0000);
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 5px;
}

.old-price {
  font-size: 1.3rem;
  color: #777;
  text-decoration: line-through;
}

.new-price {
  font-size: 1.8rem;
  font-weight: bold;
  color: green;
}

.shopping .background {
    background: linear-gradient(270deg, #2c003e, #1a1a6b, #3d8cff, #ff3d00);
    background-size: 800% 800%;
    animation: backgroundMove 15s ease infinite;
    border-radius: 12px;
}

@keyframes backgroundMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.shopping h2 a{
    font-size: 2rem;
    color: grey;
    text-decoration:line-through;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}
.shopping h2 s{
    font-size: 2.1rem;
    color: green;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}
.shopping h7 i{
    color:green;
    font-size:1.8rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

    }
.shopping1 .safety{
    background: white;
    display:flex;
    flex-direction:right;
    text-align:center;
    margin-top: -25px;

}
.shopping .safety h4{
    font-size:1.6rem;
    padding-top:20px;
    padding-left:30px;
                font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color:green;
    line height:1.9;

}
.shopping .safety h4 l {
    font-size:2rem;
    color:darkblue;
}
.shopping .safety h4 m{
    text-decoration:line-through;
    color:grey;
     font-size:1.5rem;
}
.shopping .safety h4 n{
    color:black;
    font-size:2.4rem;
                    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}.shopping .stars{
    color:orange;
}                    

}

/*shopping section end here*/





















.categories .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(17rem,1fr));
    gap: 1.5rem;
}

.categories .box-container .box{
    padding: 3rem 2rem;
    border-radius: .6rem;
    background: #fff;
    box-shadow: var(--box-shadow);
    outline: var(--outline);
    outline-offset: -1rem;
    text-align: center;
}

.categories .box-container .box:hover{
    outline: var(--outline-hover);
    outline-offset: 0rem;
}

.categories .box-container .box img{
    margin: 1rem 0;
    height: 15rem;
}

.categories .box-container .box h3{
    font-size: 2rem;
    color: var(--black);
    line-height: 1.8;
}

.categories .box-container .box p{
    font-size: 1.7rem;
    color: var(--light-color);
    line-height: 1.8;
    padding: 1rem 0;
}


/* category starts*/


.categories .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(17rem,1fr));
    gap: 1.5rem;
}
.categories {
    background: linear-gradient(270deg, #2c003e, #1a1a6b, #3d8cff, #ff3d00);
    background-size: 800% 800%;
    animation: backgroundMove 20s ease infinite;
}

@keyframes backgroundMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.categories .box-container .box{
    padding: 1rem 2rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--box-shadow);
    outline: var(--outline);
    outline-offset: -1rem;
    text-align: center;
}

.categories .box-container .box:hover{
    outline: var(--outline-hover);
    outline-offset: 0rem;
}

.categories .box-container .box img{
    margin: 1rem 0;
    height: 15rem;
}

.categories .box-container .box h3{
    font-size: 2rem;
    color: var(--black);
    line-height: 1.1;
            font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

.categories .box-container .box p{
    font-size: 1.7rem;
    color: var(--light-color);
    line-height: 1.8;
    padding: 1rem 0;
            font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}
/*category end here*/
/* review starts*/
 .review .review-slider{
    padding: 1rem;
}

.review .review-slider .box{
    background: #fff;
    border-radius: .5rem;
    text-align: center;
    padding: 3rem 2rem;
    outline-offset: -1rem;
    outline: var(--outline);
    box-shadow: var(--box-shadow);
    transition: .2s linear;

}

.review .review-slider .box:hover{
    outline: var(--outline-hover);
    outline-offset: 0rem;
}

.review .review-slider .box img{
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
}

.review .review-slider .box p{
    padding: 1rem 0;
    line-height: 1.5;
    color: var(--light-color);
    font-size: 1.5rem;
                    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

.review .review-slider .box h3{
    padding-bottom:.5rem;
    color: var(--black);
    font-size: 2.2rem;
                    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

.review .review-slider .box .stars{
    color: var(--orange);
    font-size: 1.7rem;
}

.min-heig{
    min-height:350px;
}

/*review end*/

/* footer starts*/
 .footer{
    background: rgb(245, 243, 243);
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(25rem,15fr));
    gap: 1.5rem;
}

.footer .box-container .box h3{
    font-size: 2.5rem;
    color: var(--black);
    padding: 1rem 0;
    text-decoration: ;
}

.footer .box-container .box h3 i{
    color: #ff7800;
}
.footer .box-container .box a{
    display:block;
    font-size: 1.5rem;
    color: var(--black);
    padding: .4rem 0;
    
}

.footer .box-container .box a i{
    color: #ff7800;
    padding-right: .5rem;
}

.footer .box-container .box a :hover i{
    padding-right: 2rem ;
    size: 4rem ;
}
.footer .box-container .box .share a{
    width: 3rem;
    font-size: 2.5rem;
    display:inline;
    padding:.5rem;



}
.footer .box-container .box .share a:hover{
    background: #f8f7f6;
    color: rgb(238, 7, 7);
    
}

.footer .box p9{
    line-height: 1.2;
    font-size: 1.3rem;
    color: black;
    padding: 1rem 0;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

.footer .box-container .box p1{
    line-height:.8;
    font-size: 1.5rem;
    color: var(--black);
    padding: .5rem;
    display: list-item;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}



.footer .box-container .box p3{
    line-height:1.8;
    font-size: 1.8rem;
    color: black;
    padding: 1rem 0;
    text-decoration: underline;
    font-weight: bold;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}


.box-border{
    border:0.1px solid lightgrey;
   
}




/*footer ends*/




/* Ensure the base .btn styles are already defined, for example: */
.home .btn {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  background-color: #f6dd38; /* Your primary button color */
  color: #090000; /* White text */
  font-size: 1.6rem;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  /* Add a smooth transition for all properties that will change on hover */
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}


/*marquee hapagi*/
.marquee{
font-size: 1.8rem;
color: black;
text-transform: uppercase;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
/* Styles for the smooth content slider (h3 and p sliding) */
.header .login-form a img {
      vertical-align: left;
      margin-right: 5px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      object-fit: cover;
    }

    .header.login-form a {
      display: flex;
      text-align: left;
      margin-bottom: 8px;
      text-decoration: none;
      color: inherit;
      font-size:1.6rem;
    }
    .header .login-form .welcome{
    background:green;
    margin-top:-1.5px;
    margin-left:-1px;
    margin-right:-1px;
    text-align: center;
    height:3rem;
    margin-bottom: 15px;
}

/* --- General Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- Slider Wrapper --- */
/* --- General Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- Slider Wrapper --- */
.home {
    top:-120px;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  margin-bottom: 55em;
}

/* --- Background Slides --- */
.home-slider {
  display: flex;
  width: 300%; /* 3 slides → 300% */
  height: 100%;
  transition: transform 0.8s ease-in-out;
  
}

.home-slide {
  flex: 1 0 100%;
  background-size: cover;
  background-position: center;
}

/* Example Background Images */
.home-slide:nth-child(1) {
  background-image: url("images/slide1.jpg");
}
.home-slide:nth-child(2) {
  background-image: url("images/slide2.jpg");
}
.home-slide:nth-child(3) {
  background-image: url("images/slide3.jpg");
}

/* --- Side Content (Text) --- */
.content-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.content-slide {
  display: none;
  animation: fadeIn 1s ease;
}

.content-slide.active {
  display: block;
}

/* --- Fade Animation --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .content-container {
    width: 100%;
    height: auto;
    bottom: 0;
    top: auto;
    text-align: center;
  }
}

/* --- Responsive --- */

/*media queries */

@media(max-width:91px){

    html{
        font-size: 55%;
       
    }
    .header{
        padding: 2rem;
    }

    section{
        padding: 2rem;
    }
    

}

@media(max-width:768px){

    #menu-btn{
        display: inline-block;
    }

    .header .search-form{
        width: 90%;
    }
    
.header .navbar{
    position: absolute;
    top: 99%; right: -110%;
    width: 23rem;
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    background: #fff;
}

.header .navbar.active{
    right: 0rem;
    transition: .4s linear;
}
.header .navbar a:not(:last-child) {
    border-bottom: 1.5px solid rgba(0,0,0,0.1); /* thin shadow-like line */
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);     /* soft shadow effect */
}

.header .navbar a:hover {
    background: #f0f0f0;
    color: #000;
}

.header .navbar a{
    font-size: 2rem;
    margin: 2rem 2.5rem;
    display: block;
}

.header{
    width:100vw;
   
}

section{
    width:100vw;
}


 .footer .box-column{
   display:flex;
   flex-direction:column;
   
}









@media(max-width:450px){

    html{
        font-size: 50%;
       
    }
    .heading{
        font-size: 2.5rem;
    }
}

.header .navbar{
    width:55%;
    padding-left:4px;
}

.header .navbar a:hover{
    color: #ff7800;
}

.header .icons{
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    border-radius: .5rem;
    background:#e2e3f8ff;
    color: black;
    font-size: 2rem;
    margin-right: 4.5rem;
    cursor: pointer;
    text-align: center;
   display: flex;        /* arrange children in a row */
    gap: 1.5rem;           /* space between icons */
    align-items: center;  /* vertical centering */
}
}
.header .icons a{
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    border-radius: .5rem;
    background:#e2e3f8ff;
    color: black;
    font-size: 2rem;
        margin-right: .1rem;

    cursor: pointer;
    text-align: center;
}

.content {
  position: absolute;
  top: 0;
  left: 450px;
  width: 10%;
  height: 20%;
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: left;     /* vertical center */
  pointer-events: none;
  z-index: 2;
}
.home {
  position: relative;
  width: 100%;
  height: 40vh;
  overflow: hidden;
  display: flex;
}

.slide-text-container h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.slide-text-container p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.6);
}

    /* --- Button --- */
    .btn {
      background-color: red;
      color: #fff;
      padding: 12px 25px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: all 0.3s ease;
      pointer-events: auto;
    }

    .btn:hover {
      background-color: darkred;
      transform: translateY(-3px);
      box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }
    }

@media (min-width:1280px) and (max-width:1440px) {
  .home {
    top: 400em;
    width: 10%;
    height: auto;
    overflow: hidden;
    display: flex;
  }
  .content {
  position: absolute;
  top: 0;
  margin-left: 500em;
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  pointer-events: none;
  z-index: 2;
}

}
    
    @media (min-width: 1200px) {
  .home {
    height: 100vh; /* taller on wide screens */
  }
.content {
  position: absolute;
  top: 0;
  left: 500em;
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  pointer-events: none;
  z-index: 2;
}

}


.shopping1 {
    padding: 1px;
    text-align: center;
    width: 99%;
}
.shopping1 h1{
    color: linear-gradient(90deg, #ff3d00, #ff6f00, #ffea00, #3ddc84, #3d8cff, #ff3d00);
}

.safety {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.product-media {
    flex: 1;
    min-width: 130px;
    margin: 0 30px 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1em;
}

#mainProductImage {
    width: 50%;
    max-width: 170px;
    height: auto;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.small-images {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.small-images img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.small-images img:hover {
    transform: scale(1.05);
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.6);
}

.product-details {
    flex: 1;
    min-width: 300px;
    padding-left: 30px;
    text-align: left;
}

.shopping1 .product-details h4 {
    font-size: 1.9em;
    color: #34495e;
    margin-bottom: 15px;
    font-weight: 600;
    margin-right: 50px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    color: #555;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

.feature-list li {
    margin-bottom: 10px;
    font-size: 1.4em;
    display: flex;
    align-items: center;
    color: rgb(45, 42, 245);
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

.feature-list li::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #27ae60;
    margin-right: 1px;
}

.shopping1 .price-info {
    font-size: 2em;
    color: black;
    font-weight: bold;
    margin-bottom: 10px;
}

.shopping1 .price-info m {
    text-decoration: line-through;
    color: #888;
    font-size: .8em;
    margin-right: 15px;
    font-weight: normal;
}

.shopping1 .delivery-info {
    font-style: italic;
    color: #28a745;
    margin-bottom: 1px;
    font-size: 1.8em;
}
.sstars {
    color: #f39c12;
    margin-top: 0px;
     margin-bottom: 1px;
     margin-left: 58px;

}

.sstars .fas {
    margin-right: 3px;
}

.stars {
    color: #f39c12;
    margin-top: 0px;
     margin-bottom: 1px;

}

.stars .fas {
    margin-right: 3px;
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 8px;              /* space between buttons */
    justify-content: flex-start; /* align to left */
    padding-bottom: 1em;
}

.action-buttons .btn {
    padding: 8px 16px;
    font-size: 8px;
    border-radius: 6px;
    min-width: 120px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .action-buttons .btn {
        padding: 6px 12px;
        font-size: 10px;
        min-width: auto;  /* adjust to content width */
    }
    
}

/* Responsive */
@media (max-width: 768px) {
    .safety {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: center;
        padding: 10px;
        margin: 10px auto;
    }

    .product-media {
        flex: 0 0 40%;
        max-width: 40%;
        margin: 0;
        padding-right: 6px;
    }

    #mainProductImage {
        width: 100%;
        max-width: 120px;
        margin-bottom: 8px;
        margin-top: 20px;
    }

    .small-images img {
        width: 35px;
        height: 35px;
    }

    .product-details {
        flex: 1;
        min-width: 55%;
        max-width: 60%;
        padding-left: 6px;
        text-align: left;
        margin: 0;
    }

    .product-details h4 {
        font-size: 1em;
        margin-bottom: 6px;
        margin-left: 26px;
            font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;


    }

    .feature-list {
        font-size: 1em;
        margin-bottom: 10px;
        margin-left: 55px;
            font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

    }
}
.delivery-info {
    font-style: italic;
    color: #28a745;
    margin-bottom: 2px;
    font-size: 1em;
    margin-left: 55px;

}

.stars {
    color: #f39c12;
    margin-top: 0px;
    margin-left: 10px;

}
.price-info {
    font-size: 1.8em;
    color: #e67e22;
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 55px;

}

.price-info m {
    text-decoration: line-through;
    color: #888;
    font-size: 0.7em;
    margin-right: 15px;
    font-weight: normal;
}
.shopping1 .action-buttons {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    margin-right: 25px;

}


@media (max-width: 480px) {
    .safety {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: center;
        padding: 6px;
        max-width: 100%;
        gap: 6px;
    }

    .product-media {
        flex: 0 0 35%;
        max-width: 35%;
        margin: 0;
        padding-right: 0;
        text-align: center;
    }

    #mainProductImage {
        width: 100%;
        max-width: 150px;
        margin-bottom: 6px;
        margin-left: 50px;
    }

    .small-images {
        display: flex;
        justify-content: center;
        gap: 4px;
        margin-top: 4px;
        margin-left: 50px;
    }

    .small-images img {
        width: 45px;
        height: 45px;
    }

    .product-details {
        flex: 1;
        min-width: 65%;
        max-width: 65%;
        padding-left: 0;
        text-align: left;
        margin: 0;
        margin-left: 0px;
    }

    .product-details h4 {
        font-size: 3.5rem;
        margin-bottom: 10px;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

    }

    .feature-list {
        font-size: 1.2em;
        margin-bottom: 8px;
            font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

    }

    .action-buttons {
        flex-direction: inline;
        gap: 8px;
    }
}


@media screen and (min-width: 768px) {
  #menu-btn {
    display: none !important;
  }
}





/* 🌟 Spare Parts Section */
/* 🌟 Spare Parts Section */
.spare-parts {
  padding: 3rem 1.5rem;
  background: linear-gradient(180deg, #656dfcff, #b0e0ff);
  text-align: center;
  border-radius: 12px;
  width: 99.5%;
  font-style: normal;
}

.spare-parts .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #fff;
}

/* 🌟 Product Card Layout */
.swiper-slide.box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  text-align: left;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 500px;
  margin-top: 1px;
    height: auto;

}

.swiper-slide.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}

/* 🌟 Product Image Right */
.swiper-slide.box img {
  width: auto;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
    margin-top: 10px;

}

/* 🌟 Product Text Left */
.product-content {
  flex: 1;
  margin-top: 10px;
}

.product-content h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: #333;
  font-weight: 600;
}

.product-content p.details {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 6px;
  line-height: 1.4;
}

.product-content h4 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: #ff4d6d;
}

.product-content a {
  color: black;
  margin-right: 5px;
}

.product-content b {
  color: green;
  margin-right: 5px;
}

.product-content s {
  color: red;
  text-decoration: line-through;
  margin-right: 5px;
  font-size: 1.3rem;
}

.product-content .stars {
  color: #f7b733;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

/* 🌟 Buttons */
.btn-group {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.btn {
  padding: 6px 14px;
  border-radius: 1px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 80px;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.btn.buy {
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
  color: #fff;
}

.btn.cart {
  background: linear-gradient(45deg, #36d1dc, #5b86e5);
  color: #fff;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* 🌟 Tablet */
@media (max-width: 992px) {
  .swiper-slide.box {
    max-width: 100%;
    gap: 0.8rem;
    padding: 0.8rem;
  }

  .swiper-slide.box img {
    width: 110px;
    height: 110px;
  }

  .product-content h3 {
    font-size: 1.2rem;
  }

  .product-content p.details {
    font-size: 1rem;
  }

  .product-content h4 {
    font-size: 1.1rem;
  }

  .product-content s {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.8rem;
    padding: 5px 10px;
    min-width: 65px;
  }
}

/* 🌟 Mobile — keep horizontal layout */
@media (max-width: 600px) {
  .swiper-slide.box {
    flex-direction: row;       /* ✅ stays horizontal */
    align-items: flex-start;
    padding: 0.8rem;
    gap: 0.5rem;
    height: auto;
  }

  .swiper-slide.box img {
    width: auto;
    height: 90px;
    flex-shrink: 85px;
    margin-top: 35px;
    margin-bottom: 0px;
  }

  .product-content h3 {
    font-size: 1.8rem;
  }

  .product-content p.details {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .product-content h4 {
    font-size: 1.8rem;
  }

  .product-content s {
    font-size: 1.3rem;
  }

  .product-content .stars {
    font-size: 0.7rem;
  }

  .btn-group {
    gap: 3px;
    flex-wrap: wrap;
     padding-bottom: 8px;
  }

  .btn {
    font-size: 1rem;
    padding: 3px 8px;
    min-width: 60px;
    height: auto;
  }
}


<!--shopping section starts-->



/* Banner Section */
.mid-banner {
  margin: 2em 0;
  padding: 20px;
  position: relative;
  text-align: center;
}

.banner-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.banner-img {
  width: 99%;
  height: 150px;
  object-fit: cover;
  filter: brightness(70%);
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}

.banner-text h2 {
  font-size: 2.2rem;
  margin-bottom: 6px;
  text-shadow: 0 3px 8px rgba(0,0,0,0.7);
}

.banner-text p {
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

/* Reuse existing .btn class */

/* Base buttons */
.products-buttons { 
    margin-top: 8px;
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-right: 10em;
}

.products-buttons .btn {
    padding: 0.2rem 1rem;
    font-size: 1.4rem;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px; /* space between icon and text */
}

/* Colors */
.buy-btn {
    background-color: #28a745;
    color: #fff;
}
.buy-btn:hover { background-color: #218838; }

.cart-btn {
    background-color: #007bff;
    color: #fff;
}
.cart-btn:hover { background-color: #0056b3; }

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
    .products-buttons {
        flex-direction: column; /* stack vertically */
        gap: 2px;
        align-items: center; /* center buttons */
    }

    .products-buttons .btn {
        flex: unset;      /* remove flex-grow */
        width: auto;      /* natural width */
        padding: 3px 16px; 
        font-size: 1.3rem;
    }

    .products-buttons .btn i {
        margin-right: 5px;
        font-size: 1.2rem;
    }
    
      .products-buttons {
        flex-direction: column; /* stack vertically */
        gap: 2px;
        align-items: center; /* center buttons */
    }

    .product-buttons .btn {
        flex: unset;      /* remove flex-grow */
        width: auto;      /* natural width */
        padding: 3px 16px; 
        font-size: 1.3rem;
    }

    .product-buttons .btn i {
        margin-right: 5px;
        font-size: 1.2rem;
    }
}
/* Cheapest Products Section */
.cheap-products {
  padding: 40px 20px;
  background: #fff7f0;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #333;
  font-weight: bold;
}

.cheap-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* For small screens (max-width 600px) show 2 columns */
@media (max-width: 600px) {
  .cheap-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

.cheap-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.cheap-card:hover {
  transform: translateY(-5px);
}

.cheap-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.cheap-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #444;
}

.cheap-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.cheap-card .price {
  display: block;
  font-size: 1.1rem;
  font-weight: bold;
  color: #e63946;
  margin-bottom: 15px;
}




    /* --- Container --- */
/* ✅ Success Popup (Toast) */
.success-popup {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  position: fixed;
  top: 2px;              /* Below the header */
  right: 20px;
  background:#8ef88eff;    /* Green background */
  color: black;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: slideIn 0.5s ease-out forwards, fadeOut 0.5s ease-in 3.5s forwards;
}

/* ✅ Icon inside popup */
.success-popup::before {
  content: "✅";
  font-size: 15px;
}

/* 🔥 Slide + Fade animation */
@keyframes slideIn {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(120%);
  }
}

/* 📱 Mobile friendly (centered toast) */
@media (max-width: 600px) {
  .success-popup {
    right: 18%;
    transform: translateX(50%);
    width: 80%;
    text-align: center;
    justify-content: center;
  }
}

    /* --- Image slider --- */
    .home{
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    padding-top:15rem;
    margin-bottom: -8rem;
}

    .home-slider {
      display: flex;
      width: 100%; /* 3 slides */
      height: 100%;
      transition: transform 0.8s ease-in-out;
    }

    .home-slide {
      min-width: 100%;
      height: 100%;
      flex-shrink: 0;
    }

    .home-slide img {
      width: 100%;
      height: auto;
      object-fit: cover;
      display: block;
    }

    /* --- Content overlay --- */
/* --- Content Overlay --- */
.content {
  position: absolute;
  top: 10em;
  left: 4rem;
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  pointer-events: none;
  z-index: 2;
}

/* --- Content Slider --- */
.content-slider {
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 20px;
}

/* --- Individual Slide Text --- */
.content-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: auto;
}

.content-slide.active {
  display: block;
  opacity: 1;
}

/* --- Text Styling --- */
.slide-text-container h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.slide-text-container p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.6);
}

    /* --- Button --- */
    .btn {
      background-color: red;
      color: #fff;
      padding: 12px 25px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: all 0.3s ease;
      pointer-events: auto;
    }

    .btn:hover {
      background-color: darkred;
      transform: translateY(-3px);
      box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }
    
    
    
    
    
    
    
/* Grid layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 11px;
background: linear-gradient(135deg, rgb(245, 135, 227), rgb(130, 0, 90));    border-radius: 8px;
margin-left: 2px;

}

/* Product card */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1em;                 /* uniform gap between items */
  padding: 1em;             /* same space at sides */
  box-sizing: border-box;   /* makes padding consistent */
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  font-family: Arial, sans-serif;
  text-align: left;
  /* remove margins, grid will handle spacing */
  margin: 0;   
}

/* Image */
.product-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 4px;
}

/* Title */
.product-card h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 5px 0;
  color: #333;
  line-height: 1.3em;
  height: 50px;
  overflow: hidden;
}

/* Price row */
.price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 5px 0;
}

/* Discount badge */
.discount-badge {
  background: #d32f2f;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Final price */
.final-price {
  font-size: 16px;
  font-weight: bold;
  color: #000;
}

/* Old price */
.old-price {
  color: #777;
  font-size: 13px;
  text-decoration: line-through;
}

/* Deal text */
.deal-text {
  font-size: 13px;
  color: #d32f2f;
  margin: 2px 0;
  font-weight: 500;
}

/* Sold info */
.sold-text {
  font-size: 12px;
  color: #555;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* Fix footer text to be non-italic */
.footer, 
.footer * {
    font-style: normal !important;
}

.product-grid {
    font-style: normal !important;
}


