

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Poppins:wght@400;700;800&display=swap');

.main-content * {
  box-sizing: border-box;
}

.main-content {
  padding-top: 80px;
  background: white;
  font-family: 'Poppins', sans-serif; /* Poppins remains the base font */
}

/* Keep all content above any future pseudo-elements */
.main-content > * {
  position: relative;
  z-index: 1;
}

/* === HEADING STYLES - REFINED & SUBTLE === */
.main-content h3 {
  margin: 45px 0 20px 20px;
  /* Switched to a more elegant, professional font */
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem; /* Slightly reduced for a cleaner look */
  font-weight: 600; /* A strong but not overly bold weight */
  color: #1a1a1a; /* A soft, deep black */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  /* ✅ A subtle, smoky-white shadow for a gentle lift */
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  text-align: left;
}

/* === SLIDER STYLES === */
.main-content .slider {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
  overflow: hidden;
}

.main-content .slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  padding-left: 10px;
  will-change: transform;
  gap: 20px; /* Gap between slides */
}

/* === SLIDE CONTAINER - FIXED === */
.main-content .slide {
  position: relative;
  flex: 0 0 calc((100vw - 60px) / 3);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  overflow: hidden;
  background: none;
  border-radius: 12px;
}

/* === SLIDER IMAGE - NO DOUBLE BACKGROUND === */
.main-content .slide img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  display: block;
  margin: auto;
}

.main-content .slide img:hover {
  transform: scale(1.05);
}

.main-content .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.3s ease;
}

.main-content .arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.main-content .arrow.left {
  left: 15px;
}

.main-content .arrow.right {
  right: 15px;
}

/* === RESPONSIVE STYLES === */
/* Tablet */
@media (max-width: 1024px) {
  .main-content h3 {
    font-size: 1.7rem;
  }
  .main-content .slide {
    flex: 0 0 calc((100vw - 40px) / 2);
    height: 220px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .main-content h3 {
    font-size: 1.4rem;
    margin-left: 10px;
  }
  .main-content .slide {
    flex: 0 0 calc(100vw - 20px);
    height: 200px;
  }
}