/* Hero Carousel Section */
.hero-carousel {
  padding: 12px 32px;
  display: grid;
  place-items: center;
}

.hero-carousel-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
}

/* Slides Container */
.hero-carousel-slides {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
}

/* Individual Slide */
.hero-slide {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Slide Content */
.hero-slide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 200px;
  width: 100%;
  height: 100%;
  background-color: #f7f7f7;
  border-radius: 20px;
  padding: 40px 80px;
  box-sizing: border-box;
}

/* Left text */
.hero-slide-text {
  padding-right: 0;
  flex-direction: column;
  justify-content: center;
}

.hero-slide-text h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  margin-top: 0;
  color: #111;
  line-height: 1.2;
}

.hero-slide-text h1 img {
  width: 40px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}

.hero-slide-text p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  margin-top: 0;
  color: #555;
  line-height: 1.5;
}

/* Button */
.hero-slide-button {
  display: inline-block;
  padding: 15px 35px;
  color: #fff;
  background-color: #111;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.hero-slide-button:hover {
  color: #888;
}

/* Right image wrapper */
.hero-slide-image {
  width: 100%;
  display: block;
}

/* Image container */
.hero-slide-image .image-placeholder {
  height: 240px;
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 16px;
  display: block;
  overflow: hidden;
}

.hero-slide-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Dots Navigation */
.hero-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.hero-carousel-dots .dot.active {
  background: #fff;
  border-color: #111;
  transform: scale(1.2);
}

/* Mobile adjustments */
@media (max-width: 768px) {

  .hero-slide-content {
    grid-template-columns: 1fr;
    padding: 30px 24px 50px;
    border-radius: 16px;
    gap: 24px;
  }

  .hero-slide-text {
    text-align: center;
  }

  .hero-slide-text h1 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .hero-slide-text h1 img {
    width: 28px;
    margin-left: 8px;
  }

  .hero-slide-text p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero-slide-image .image-placeholder {
    height: 220px;
  }

  .hero-carousel-dots {
    bottom: 10px;
  }
}
