* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
}
/*--------------------------------------------------------- Navbar----------------------------------------------------------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgb(33, 37, 41);
  color: white;
  border-radius: 0 0 15px 15px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 10px;
}
.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0;
  margin: 0;
}
.navbar ul li {
  padding: 0 1rem;
}
.navbar ul li a {
  color: white;
  text-decoration: none;
}
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}
/* Mobile Menu */
@media (max-width: 768px) {
  .navbar ul {
    display: none;
    flex-direction: column;
    background-color: rgb(33, 37, 41);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    align-items: center;
  }
  .navbar ul.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
    margin-right: 15px;
  }
}
/* -------------------------------------------------------button------------------------------------------------ */
.but1{
  align-items: center;
  background-image: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);
  border: 0;
  border-radius: 8px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  font-size: 18px;
  justify-content: center;
  line-height: 1em;
  max-width: 100%;
  min-width: 140px;
  padding: 3px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
}

button:active,
button:hover {
  outline: 0;
}

button span {

  padding: 16px 24px;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  transition: 300ms;
}

button:hover span {
  background: none;
}

button:active {
  transform: scale(0.9);
}

/* -----------------------------------------------------------------------------first-section------------------------------------------- */
.first-section{
  /* border: 3px solid red; */
  height: auto;
  width: 100%;
}

/* Ensure all cards in first-section have the same height */
.first-section .card {
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* border: 2px solid blue; */
}

.first-section .card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  /* border:  1px solid black; */
}
@media (min-width: 1200px) {
  .first-section .card {
    height: 400px;
  }
}


/* -------------------------------------------------------------second-section---------------------------------------- */
/* Equal card size for second-section */
.second-section .card {
  height: 350px; /* Adjust as needed */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 10px;
  overflow: hidden;
}

.second-section .card img {
  height: 180px; /* Adjust as needed */
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.second-section .container {
  padding-bottom: 30px;
}
.discount-badge 
{ position: absolute;
   top: 0; 
   left: 0;
    background-color: rgb(107, 174, 236); 
    color: white;
     padding: 5px 10px;
      z-index: 10; 
      border-radius: 10px 0 10px 0;
}

