.product-section {
  padding: 80px 0;
}

.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-content {
  padding: 20px;
}

.product-title {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.product-text {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.product-badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--primary);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-text {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--royal-blue-dark);
}

.carousel-container {
  position: relative;
  height: 100%;
}

.carousel-slides {
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background: var(--royal-blue-dark);
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

.slide-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slide-text {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot.active {
  background: var(--white);
  transform: scale(1.2);
  border-color: var(--bittersweet);
}

/* Features Section Enhancement */
.features {
  padding: 100px 0;
  background: var(--white-2);
}

.features .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.features .section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--royal-blue-dark);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 20px;
}

.features .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--bittersweet);
}

.features .section-text {
  color: var(--cool-gray);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* Product Section Styling - Matching Home Page */
.product-section {
  padding: 80px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-img-wrapper {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: var(--white-2);
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--royal-blue-dark), 0.8), rgba(var(--royal-blue-dark), 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.overlay-content {
  text-align: center;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.product-badge {
  background: var(--bittersweet);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: inline-block;
}

.product-content {
  padding: 25px;
  background: var(--white);
}

.product-title {
  font-size: 1.2rem;
  color: var(--royal-blue-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.product-text {
  color: var(--cool-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Card Hover Effects */
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-card:hover .overlay-content {
  transform: translateY(0);
}

/* Button Styles */
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--royal-blue-dark);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-carousel {
    height: 70vh;
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .hero-carousel {
    height: 60vh;
    min-height: 400px;
  }
  
  .product-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .features {
    padding: 70px 0;
  }
}

@media (max-width: 576px) {
  .hero-carousel {
    height: 50vh;
    min-height: 350px;
  }
  
  .product-container {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .slide-title {
    font-size: 2rem;
  }
  
  .slide-text {
    font-size: 1rem;
  }
}