:root {
  --primary-color: #f03473be;
  --text-color: #333;
  --bg-color: #f9f9f9;
  --font-family: "Montserrat", sans-serif;
  --nav-padding: 15px 40px;
  --nav-gap: 30px;
  --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  --btn-bg: #26bbc1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
body {
  height: 100vh;
  font-family: var(--font-family);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-color);
  padding: var(--nav-padding);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 5px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  align-items: center;
  justify-content: center;
}

.hamburger:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hamburger img {
  width: 28px;
  height: 28px;
  user-select: none;
  display: block;
}

/* Logo */
.logo {
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
}

.logo a {
  text-decoration: none;
  color: var(--text-color);
}

/* Navigation List */
.nav-list {
  font-weight: bolder;
  list-style: none;
  display: flex;
  align-items: center;
  margin-top: 10px;
  gap: var(--nav-gap);
}

/* Navigation Links */
.nav-list li a {
  position: relative;
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 3px;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}

/* Icon/Image in nav item */
.nav-list li a img {
  height: 35px;
  margin-bottom: 10px;
}

/* Hover background effect */
.nav-list li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: -1;
  transition: all 0.4s ease;
  border-radius: 3px;
}

/* Hover State */
.nav-list li a:hover::before {
  left: 0;
}

.nav-list li a:hover {
  color: var(--primary-color);
  box-shadow: 0 0 15px var(--primary-color);
}

/* HERO SECTION */
.Hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding: 60px 40px;
  background-color: var(--bg-color);
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(./images/freestocks-_3Q3tsJ01nc-unsplash.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.Text {
  margin-left: 55px;
  max-width: 700px;
  padding: 25px;
  color: rgb(235, 235, 235);
}

.Text h2 span {
  font-size: 45px;
  color: rgb(69, 176, 238);
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", sans-serif;
}

.Text h1 {
  font-size: 32px;
  margin: 25px 0;
}

.Text p {
  font-size: 20px;
  margin-bottom: 20px;
}

.Text p span {
  font-weight: 900;
  color: var(--btn-bg);
}

.Text #btn {
  height: 50px;
  width: 150px;
  margin-top: 10px;
  border-radius: 10px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  color: #000;
}

.Text #btn:hover {
  transition: 0.5s all ease;
  background-color: #20acb1;
}

.Img-content {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Img-content img {
  margin-right: -30px;
  height: 450px;
}

/* Feature Section */
.Feature-section {
  background-color: var(--bg-color);
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(./images/bags-with-gifts-top-copy-space.jpg);
  background-size: cover;
  background-repeat: no-repeat;

  background-position: center;
  padding: 2.2rem;
}

.feature-head {
  text-align: center;
  margin-bottom: 20px;
}

.feature-head h1 {
  font-size: 2.2rem;
  margin-bottom: 1.8rem;
}

.feature-head p {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Cards */
.scroll-wrapper,
.scroll-wrapper-men,
.scroll-wrapper-kids {
  overflow-x: auto;
  padding: 20px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-wrapper::-webkit-scrollbar,
.scroll-wrapper-men::-webkit-scrollbar,
.scroll-wrapper-kids::-webkit-scrollbar {
  display: none;
}

.cards-container,
.cards-container-men,
.cards-container-kids {
  display: flex;
  gap: 20px;
}

.feature-card,
.feature-card-men,
.feature-card-kids {
  min-width: 285px;
  max-width: 250px;
  flex-shrink: 0;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover,
.feature-card-men:hover,
.feature-card-kids:hover {
  transform: translateY(-10px);
}

.feature-card img,
.feature-card-men img,
.feature-card-kids img {
  width: 100%;
  border-radius: 10px;
}

.feature-card h2,
.feature-card-men h2,
.feature-card-kids h2 {
  font-size: 1.5rem;
  margin: 15px 0 5px;
  color: #333;
}

.feature-card p,
.feature-card-men p,
.feature-card-kids p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
  padding: 0 10px;
}

.price-stars,
.price-stars-men,
.price-stars-kids {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.price-stars .price,
.price-stars-men .price-men,
.price-stars-kids .price-kids {
  color: #d36969;
  font-weight: bold;
}

.price-stars .stars,
.price-stars-men .stars-men,
.price-stars-kids .stars-kids {
  color: gold;
}

/* Buttons */
.buy-btn,
.buy-btn-men,
.buy-btn-kids {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: white;
}

.buy-btn {
  background-color: #4caf50;
}

.buy-btn:hover {
  background-color: #45a049;
}

.buy-btn-men {
  background-color: #f39c12;
}

.buy-btn-men:hover {
  background-color: #e67e22;
}

.buy-btn-kids {
  background-color: #f39c12;
}

.buy-btn-kids:hover {
  background-color: #e67e22;
}

/* Navigation Arrows */
.move-btn,
.move-btn-men,
.move-btn-kids {
  display: flex;
  justify-content: center;
  align-items: center;
}

.next-btn,
.next-btn-men,
.next-btn-kids {
  margin-top: 1.5rem;
  display: flex;
  gap: 20px;
}

.next-btn img,
.next-btn-men img,
.next-btn-kids img {
  width: 50px;
  height: 50px;
  cursor: pointer;
}

#back-btn,
#back-btn-men,
#back-btn-kids {
  transform: rotate(180deg);
}

/* Extra Headings */
.feature-head #Men-text {
  margin-top: 25px;
  padding: 25px;
  font-size: 2.2rem;
  font-weight: bold;
}

.top-sales-section {
  padding: 2rem;
  background: #fefefe;
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(./images/Download\ premium\ vector\ of\ Cloth\ hanging\ on\ the\ rack\ background\ vector\ by\ Aew\ about\ wallpaper\,\ background\,\ desktop\ wallpaper\,\ cute\,\ and\ cute\ desktop\ wallpaper\ 2255527.jpeg);
  text-align: center;
  background-size: cover;
  font-family: "Segoe UI", sans-serif;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.sales-cards {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

.sales-cards::-webkit-scrollbar {
  display: none;
}

.sales-cards {
  -ms-overflow-style: none;
  /* IE/Edge */
  scrollbar-width: none;
  /* Firefox */
}

.move-btn-sales {
  display: flex;
  justify-content: center;
  align-items: center;
}

.next-btn-sales {
  margin-top: 1.5rem;
  display: flex;
  gap: 20px;
}

.next-btn-sales img {
  width: 50px;
  height: 50px;
  cursor: pointer;
}

#back-btn-sales {
  transform: rotate(180deg);
  /* Makes it a back arrow */
}

.feature-card {
  min-width: 280px;
  flex: 0 0 auto;
}

.feature-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 2px solid #eee;
}

.feature-card h2 {
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
  color: #222;
}

.feature-card p {
  color: #555;
  padding: 0 1rem;
  font-size: 0.95rem;
}

.price-stars {
  margin: 1rem 0;
  font-size: 1rem;
}

.price {
  font-weight: bold;
  color: #1a73e8;
  margin-right: 10px;
}

.stars {
  color: gold;
}

.buy-btn {
  background-color: #1a73e8;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.buy-btn:hover {
  background-color: #135bb3;
}

.electronics-section {
  padding: 2rem;
  /* background-color: #f4f4f4; */
}

.electronics-section h1 {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.electronics-scroll-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}

.electronics-scroll-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.product-card {
  flex: 0 0 auto;
  width: max-content;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: center;
}

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

.price-stars {
  margin: 0.5rem 0;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

.buy-btn {
  background-color: #1f75fe;
  color: white;
  border: none;
  margin-top: 2rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.buy-btn:hover {
  background-color: #0047ab;
}

.brands-section {
  background-color: var(--bg-color);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: max-content;
}

.brands-scroll-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  overflow: hidden;
  /* hidden by default */
}

.brand-card {
  flex: 0 0 160px;
  text-align: center;
  background-color: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.brand-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.Discount-product-section {
  position: relative;
  top: -40px;

  background-color: var(--bg-color);
}

/* Heading */
.Discount-product-section h1 {
  text-align: center;
  margin: 2.5rem 0 1.5rem;
  font-weight: 700;
  font-size: 2.5rem;
  padding-top: 2rem;
  color: var(--text-color);
}

/* Horizontal Scroll Container */
.products-container {
  display: flex;
  /* background-color: rebeccapurple; */
  overflow-x: auto;
  gap: 1.5rem;

  padding: 0 0 1rem 1rem;
  scroll-behavior: smooth;
}

.products-container::-webkit-scrollbar {
  /* height: 8px; */
  display: none;
}

.products-container::-webkit-scrollbar-thumb {
  background: #2a2a72;
  border-radius: 10px;
}

.products-container::-webkit-scrollbar-track {
  background: #ddd;
  border-radius: 10px;
}

/* Product Cards */
.product-card {
  flex: 0 0 220px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(19, 19, 221, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  /* transform: translateY(10px); */
  box-shadow: 0 15px 35px rgba(42, 42, 114, 0.35);
}

/* Product Image */
.product-image {
  border-radius: 12px 12px 0 0;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* Product Info */
.product-info {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

/* Pricing */
.price-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
}

.discounted-price {
  color: #d72631;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Buy Button */
.buy-btn {
  margin-top: 1rem;
  padding: 0.5rem 0.75rem;
  background-color: var;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer {
  background-color: var(--bg-color);
  /* Light background color */
  padding: 40px 20px;
  /* Padding for spacing */
  font-family: Arial, sans-serif;
  /* Font style */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  /* Space between sections */
  flex-wrap: wrap;
  /* Wrap sections for smaller screens */
}

.footer-section {
  flex: 1;
  /* Allow each section to grow equally */
  min-width: 200px;
  /* Set a minimum width for responsiveness */
  margin-right: 20px;
  /* Spacing between sections */
}

.footer-section h3 {
  color: var(--text-color);
  /* Dark heading color */
  margin-bottom: 15px;
  /* Spacing under headings */
}

.footer-section p {
  /* color: rebeccapurple; */
  color: var(--text-color);
  font-weight: 500;
  line-height: 1.5;
  /* Line height for readability */
}

.footer-links {

  /* Flexbox for links */
  justify-content: space-between;
  /* Space between links */
  margin-top: 20px;
  /* Spacing above links */
}

.footer-links h3 {
  margin-bottom: 10px;
  /* Spacing under link section headings */
}

.footer-links ul {
  list-style: none;
  /* Remove bullet points */
  padding: 0;
  /* Remove padding */
}

.footer-links li {
  margin-bottom: 5px;
  /* Spacing between list items */
}

.footer-links a {
  text-decoration: none;
  /* Remove underline */
  color: #007bff;
  /* Link color */
}

.footer-links a:hover {
  text-decoration: underline;
  /* Underline on hover */
}

.footer-bottom {
  text-align: center;
  /* Center the bottom text */
  margin-top: 20px;
  /* Spacing above bottom text */
  color: #999;
  /* Lighter text color */
  font-size: 14px;
  /* Font size */
}

.footer-bottom strong {
  color: #333;
  /* Darker color for designer name */
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  text-decoration: none;
  margin: 0px 2px 0px 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .Discount-product-section h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .brands-section .section-title {
    text-align: center;
    font-size: 1.8rem;
  }

  .Hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .Text {
    margin-left: 0;
    text-align: left;
  }

  .Text h2 span {
    font-size: 35px;
  }

  .Text h1 {
    font-size: 28px;
  }

  .nav-list {
    flex-direction: column;
    gap: 15px;
    display: none;
  }

  .nav-list li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -1;
    transition: all 0.4s ease;
    border-radius: 3px;
  }

  .nav-list li a:hover::before {
    left: 0;
  }

  .nav-list li a:hover {
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
  }

  .feature-head {
    top: -80px;
  }

  .feature-head h1 {
    font-size: 30px;
    font-weight: 600;
  }

  .feature-head p {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .cards-container,
  .cards-container-men,
  .cards-container-kids {
    width: 250px;
  }

  .move-btn,
  .move-btn-men,
  .move-btn-kids {
    display: none;
  }

  .feature-head #Men-text {
    font-size: 1.5rem;
  }

  .nav-list {
    display: none;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    position: absolute;
    align-items: flex-start;
    top: 60px;
    /* adjust according to navbar height */
    right: 1px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    /* border-radius: 5px; */
  }

  .nav-list.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .footer-section h3 {
    margin-top: 15px;
  }
}