.custom-container {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* padding: 20px; */
}

.hero-container {
  width: 100%;
  /* max-width: 1400px; */
  background: white;
  /* border-radius: 30px; */
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.hero-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;

  background: radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.5),
      transparent 60%
    ),
    linear-gradient(90deg, #4ba264, #66ea7a);
}

.carousel-wrapper {
  position: relative;
  height: 600px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 40px;
  align-items: center;
}

.product-content {
  animation: fadeInLeft 0.8s ease-out;
}

.product-badge {
  display: inline-block;
  background: linear-gradient(135deg, #66ea7a, #4ba264);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.product-title {
  font-size: 48px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 20px;
  line-height: 1.2;
}

.product-description {
  font-size: 15px;
  color: #474747;
  font-weight: 500;
  margin-bottom: 35px;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.feature-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #93fbad 0%, #7cf557 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(240, 147, 251, 0.3);
}

.feature-icon:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(240, 147, 251, 0.5);
}

/* .product-image-container {
  position: relative;
  animation: fadeInRight 0.8s ease-out;
} */

.product-image-container {
  position: relative;
  animation: fadeInRight 0.8s ease-out;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.image-gallery {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  height: 450px;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.gallery-image {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.image-controls {
  visibility: hidden;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.image-nav-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: linear-gradient(135deg, #6dea66, #4fa24b);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-nav-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.image-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  font-weight: 600;
  color: #667eea;
}

.nav-buttons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: end;
  padding: 0 30px;
  pointer-events: none;
  z-index: 20;
}

.nav-btn {
  width: 60px;
  height: 60px;
  margin-top: 12px;
  background: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.41);
  transition: all 0.3s ease;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
}

.nav-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
  background: linear-gradient(135deg, #66ea92, #4ba25b);
  color: white;
}

.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 80px;
  display: flex;
  gap: 12px;
  z-index: 20;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.dot.active {
  width: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, #66ea87, #4ba251);
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVE STYLES */
@media (max-width: 1200px) {
  .slide {
    padding: 60px;
    gap: 40px;
  }

  .product-title {
    font-size: 42px;
  }

  .product-description {
    font-size: 16px;
  }

  .image-gallery {
    height: 400px;
  }
}

@media (max-width: 1024px) {
  .carousel-wrapper {
    height: auto;
    min-height: 600px;
  }

  .slide {
    grid-template-columns: 1fr;
    padding: 50px 40px;
    gap: 40px;
  }

  .product-title {
    font-size: 36px;
  }

  .product-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .image-gallery {
    height: 350px;
  }

  .carousel-dots {
    left: 40px;
    bottom: 20px;
  }

  .nav-buttons {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
  }

  .nav-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .custom-container {
    padding: 15px;
  }

  .hero-container {
    border-radius: 20px;
  }

  .carousel-wrapper {
    min-height: 700px;
  }

  .slide {
    padding: 40px 30px;
    gap: 30px;
  }

  .product-badge {
    font-size: 11px;
    padding: 6px 16px;
    margin-bottom: 15px;
  }

  .product-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .product-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .product-features {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
    border-radius: 12px;
  }

  .image-gallery {
    height: 300px;
    border-radius: 20px;
  }

  .gallery-image img {
    padding: 15px;
  }

  .image-controls {
    visibility: hidden;
    padding: 10px 15px;
    gap: 10px;
  }

  .image-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .image-counter {
    font-size: 14px;
    gap: 5px;
    padding: 0 8px;
  }

  .nav-buttons {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 15px;
  }

  .nav-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .carousel-dots {
    left: 30px;
    bottom: 15px;
    gap: 10px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .dot.active {
    width: 30px;
  }
}

@media (max-width: 480px) {
  .custom-container {
    padding: 10px;
  }

  .hero-container {
    border-radius: 15px;
  }

  .hero-container::after {
    visibility: hidden;
  }

  .carousel-wrapper {
    min-height: 650px;
  }

  .slide {
    padding: 30px 20px;
    gap: 25px;
  }

  .product-badge {
    font-size: 10px;
    padding: 5px 14px;
  }

  .product-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .product-description {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .product-features {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 18px;
  }

  .feature-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
    border-radius: 10px;
  }

  .image-gallery {
    height: 250px;
    border-radius: 15px;
  }

  .gallery-image img {
    padding: 10px;
  }

  .image-controls {
    padding: 8px 12px;
    gap: 8px;
    border-radius: 40px;
    visibility: hidden;
  }

  .image-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .image-counter {
    font-size: 12px;
    gap: 4px;
    padding: 0 6px;
  }

  .nav-buttons {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 10px;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .carousel-dots {
    left: 20px;
    bottom: 12px;
    gap: 8px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .dot.active {
    width: 24px;
  }
}
