 /* General Styles */
 body {
     font-family: Arial, sans-serif;
     margin: 0;
     padding: 0;
     background-color: #111;
     color: white;
     text-align: center;
 }

 h2 {
     color: #ff6600;
     margin-top: 0;
     margin-bottom: 0;
 }

 .btn {
     display: inline-block;
     padding: 10px 20px;
     background-color: #ff6600;
     color: white;
     text-decoration: none;
     border-radius: 5px;
     margin-top: 10px;
     border: none;
     cursor: pointer;
 }

 .btn:hover {
     background-color: #cc5200;
 }

 /*fixed*/
 nav {
     background-color: #0d0d0d;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 20px;
     padding-left: 30px;
     border-bottom: 1px solid #333;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     z-index: 1000;
 }

 nav .logo {
     font-size: 24px;
     font-weight: bold;
 }

 nav .menu a {
     color: white;
     text-decoration: none;
     margin: 0 15px;
     font-size: 16px;
 }

 nav a:hover {
     color: #ff6600;
 }

 .menu {
     margin-left: 400px;
     margin-right: 53px;
 }

 /*end*/

 /* Hero Banner */
 .hero-banner {
     width: 100%;
     height: 180px;
     background-size: cover;
     background-position: center;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 2.5em;
     position: relative;
     transition: ease-in 2s;
     animation: ease-in 2s;
     margin-top: 100px;
     margin-bottom: -180px;
 }

 .bestsellers {
     margin-top: 0;
     padding-top: 0;
 }

 .bestsellers h2 {
     margin-bottom: 20px;
 }

 .product-grid {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     padding: 20px;
     gap: 20px;
 }

 .product {
     width: 230px;
     background: #222;
     border-radius: 8px;
     padding: 15px;
     transition: transform 0.3s ease;
 }

 .product img {
     width: 100%;
     height: 200px;
     object-fit: cover;
     border-radius: 8px;
 }

 .newsletter input {
     padding: 10px;
     width: 250px;
     margin: 10px;
     border: none;
     border-radius: 5px;
 }

 .newsletter {
     margin-top: 80px;
 }

 .newsletter button {
     padding: 10px 20px;
 }

 .newsletter h2 {
     margin-bottom: 15px;
 }

 footer {
     background: black;
     padding: 10px;
     margin-top: 20px;
 }

 img {
     width: 100%;
     height: 300px;
     object-fit: cover;
     border-radius: 8px;
 }

 .product:hover {
     border: 2px solid rgba(255, 166, 0, 0.772);
     transition: transform 0.5s;
     transform: translateY(-20px);
 }

 img:hover {
     box-shadow: 0 0 15px yellow;
     transition: ease-in-out 0.2s;
     transform: translateY(-10px);
 }

 /* Additional components */
 .swiper {
     width: 100%;
     height: 300px;
     margin-top: 200px;
     margin-bottom: -200px;
 }

 .swiper-slide {
     background-position: center;
     background-size: cover;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #fff;
     font-size: 2rem;
     font-weight: bold;
 }

 .categories,
 .flash-deals,
 .testimonial-slider,
 .blog-preview,
 .mission-section {
     margin: 40px auto;
     width: 90%;
     max-width: 1200px;
     text-align: center;
 }

 .categories .card-grid,
 .blog-preview .card-grid {
     display: flex;
     gap: 25px;
     flex-wrap: wrap;
 }

 .card {
     background: #222;
     padding: 20px;
     border-radius: 8px;
     width: 180px;
     box-shadow: 0 0 10px rgba(255, 165, 0, 0.2);
     transition: 0.3s;
 }

 .card:hover {
     transform: translateY(-10px);
 }

 .flash-deals {
     background: linear-gradient(90deg, #ff9900, #cc6600);
     color: black;
     padding: 10px 0;
     font-weight: bold;
     font-size: 18px;
     animation: marquee 20s linear infinite;
 }


 @keyframes marquee {
     0% {
         transform: translateX(100%);
     }

     100% {
         transform: translateX(-100%);
     }
 }

 .testimonial-slider,
 .mission-section {
     background: #1c1c1c;
     padding: 30px;
     border-radius: 10px;
 }

 .testimonial {
     font-style: italic;
     color: #ccc;
     margin: 10px 0;
 }

 .bottom-nav {
     display: none;
 }

 .categories h2 {
     margin-bottom: 30px;
     margin-top: 100px;
 }

 .blog-preview h2 {
     margin-bottom: 20px;
 }

 .card-grid {
     justify-content: center;
 }

 .animated-line {
     position: absolute;
     bottom: 0;
     left: 0;
     height: 1px;
     width: 100%;
     overflow: hidden;
 }

 .animated-line::before {
     content: "";
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 1px;
     background: linear-gradient(to left, gold 50%, transparent 0%);
     background-size: 200% 100%;
     animation: moveLine 20s linear infinite;
 }
 
@keyframes moveLine {
  0% {
    background-position: -100% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}


 /* ------------------------------
   Responsive Design Media Queries
-------------------------------*/

 @media (max-width: 1200px) {
     .menu {
         margin-left: 200px;
         margin-right: 20px;
     }

     .product-grid {
         justify-content: center;
     }

     .categories .card-grid,
     .blog-preview .card-grid {
         justify-content: center;
     }
 }

 @media (max-width: 992px) {
     .menu {
         margin-left: 100px;
         margin-right: 10px;
     }

     .product {
         width: 45%;
     }

     .card {
         width: 150px;
     }

     .swiper {
         height: 240px;
     }

     .hero-banner {
         font-size: 1.8em;
     }

     .testimonial-slider,
     .mission-section {
         padding: 20px;
     }
 }

 @media (max-width: 768px) {
     nav {
         flex-direction: column;
         align-items: flex-start;
         justify-content: flex-start;
         text-align: start;
         padding: 15px;
     }

     .logo {
         font-size: 22px;
         margin-bottom: 10px;
     }

     .menu {
         display: flex;
         flex-direction: column;
         align-items: flex-start;
         margin-left: 0;
         margin-right: 0;
         width: 100%;
     }

     .menu a {
         display: block;
         width: 100%;
         padding: 10px 0;
         border-top: 1px solid #222;
         font-size: 16px;
         padding-left: 10px;
     }

     .bottom-nav {
         display: flex;
         justify-content: space-around;
         background: #0d0d0d;
         position: fixed;
         bottom: 0;
         width: 100%;
         padding: 10px 0;
         z-index: 999;
     }

     .flash-deals {
         margin-top: 100px;
     }

     .bottom-nav a {
         color: white;
         font-size: 18px;
     }

     .swiper {
         height: 200px;
     }

     .hero-banner {
         font-size: 1.5em;
         margin-top: 450px;
     }

     .product {
         width: 90%;
     }

     .card {
         width: 100%;
     }

     .categories .card-grid,
     .blog-preview .card-grid {
         flex-direction: column;
         gap: 15px;
     }

     .newsletter input {
         width: 90%;
     }

     .testimonial {
         font-size: 14px;
     }

     .flash-deals {
         font-size: 16px;
     }
 }

 @media (max-width: 480px) {
     .hero-banner {
         font-size: 1.3em;
         height: 140px;
         margin-bottom: -140px;
     }

     .swiper {
         height: 180px;
         margin-top: 160px;
     }

     .product img {
         height: 180px;
     }

     .testimonial-slider,
     .mission-section {
         padding: 15px;
     }

     .newsletter input {
         padding: 8px;
     }

     .btn {
         padding: 8px 15px;
         font-size: 14px;
     }

     footer {
         font-size: 14px;
     }

     .flash-deals {
         padding: 8px 0;
         font-size: 14px;
     }

     .bottom-nav {
         display: flex;
         justify-content: space-around;
         background: #0d0d0d;
         position: fixed;
         bottom: 0;
         width: 100%;
         padding: 10px 0;
         z-index: 999;
     }

     .bottom-nav a {
         color: white;
         font-size: 18px;
     }
 }