body {
  font-family: 'Segoe UI', sans-serif;
  /* background-color: #e6eff3; */
  margin: 0;
  padding: 20px;
}

/* ============================slider css start =================================== */
.slider {
    width: 100%;
    height: 400px; /* Fixed height */
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    /* margin: 20px 0; */
    /* margin-top: 5%; */
}

.slides {
    display: flex;
    width: 300%;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navigation-manual {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.manual-btn {
    border: 2px solid white;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 10px;
    transition: background 0.3s;
}

.manual-btn:hover {
    background: white;
}

#radio1:checked ~ .first {
    margin-left: 0;
}

#radio2:checked ~ .first {
    margin-left: -100%;
}

#radio3:checked ~ .first {
    margin-left: -200%;
}

.navigation-auto {
    position: absolute;
    bottom: 10px;
    display: flex;
    width: 100%;
    justify-content: center;
    z-index: -1;
}

.navigation-auto div {
    border: 2px solid white;
    padding: 5px;
    border-radius: 50%;
    margin: 0 10px;
}
/* ======================================= slider css end ========================================= */
/* ====================================== category css start ===================================== */

.main-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: auto;
  margin-top: 20px;
}

.inner-box {
  /* background-color: #d63384; */
  color: #669BA8;
  padding: 40px;
  text-align: center;
  font-size: 20px;
  border-radius: 8px;
  /* box-shadow: 0 2px 6px rgba(0,0,0,0.1); */
}
.inner-box1 {
  grid-column: 1 / -1; /* Span all columns */
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  padding: 20px;
  color: #333;
}

.inner-box img{
    height: 400px;
    width: auto;
}
.image-container {
  position: relative;
  overflow: hidden;
}

.image-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hover-text {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 20px 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  transition: bottom 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

.image-container:hover .hover-text {
  bottom: 0; /* move up into view */
  opacity: 1;
}

@media (max-width: 999px) {
  .main-box {
    grid-template-columns: 1fr;
    margin-top: 5%;
    width: 90%;
  }

  .inner-box{
    width: 100%;
    padding: 0;
  }
  .inner-box img{
    height: 250px;
  }

}

/* ================================= category css end ============================================ */
/* ==============================Product Category css Start ===================================== */
.category-heading {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: bold;
  color: #333;
}

/* Wrapper to center the grid */
.category-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 50px;
}

/* Your existing styles */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.box {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.box:hover {
  transform: translateY(-5px);
}

.box img {
  width: 100%;
  height: auto;
  display: block;
}

.name {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  transition: bottom 0.3s;
}

.box:hover .name {
  bottom: 0;
}

@media (max-width: 999px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================Product Category css end ====================================== */