.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #111;
  color: white;
  padding: 60px 0px 80px 60px;
  gap: 40px;
}

.hero-left {
  flex: 1;
  max-width: 45%;
}

.subheading {
  font-size: 13px;
  font-weight: 300;
  color: #ccc;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-left h1 {
  font-size: 36px;
  margin: 0;
  font-weight: 700;
}

.hero-left h1 span {
  font-weight: 800;
}

.tagline {
  font-size: 32px;
  font-weight: 300;
  color: #bbb;
  margin: 20px 0 30px;
  line-height: 1.4;
}

.slider-container {
  margin-top: 20px;
}

.slider-images {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.slider-images img {
  height: 257px;
  width: 205px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  border: 2px solid transparent;
  cursor: pointer;
}

.slider-images img.active {
  border: 2px solid white;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  font-size: 14px;
  width: fit-content;
  margin-left: auto;
}

.slider-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.slider-counter {
  font-size: 14px;
  color: white;
}

.slider-counter span {
  color: #888;
}

.hero-right {
  width: 65%;
  height: 600px;
  align-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-right img {
  width: 100%;
  min-width: 100%;
  height: fit-content;
  object-fit: contain;
  border-radius: 40px 0 0 40px;
  max-height: 600px;
}

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    gap: 40px;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px 30px 60px 30px;
    position: relative;
  }

  .hero-right {
    width: 100%;
    max-height: 500px;
    height: 500px;
    justify-content: center;
  }

  .hero-right img {
    border-radius: 40px;
    max-height: 100%;
    height: 100%;
  }

  .hero-left {
    max-width: 100%;
  }

  .slider-images {
    display: none;
  }

  .slider-controls {
    position: absolute;
    bottom: 20px;
    right: 30px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 20px 20px 60px 20px;
    gap: 0px;
  }

  .hero-right {
    max-height: 300px;
    height: 300px;
  }

  .hero-right img {
    border-radius: 20px;
  }

  .hero-left h1 {
    font-size: 24px;
  }

  .tagline {
    font-size: 20px;
    margin: 10px 0;
  }

  .subheading {
    font-size: 13px;
    margin-bottom: 10px;
  }
}

@media (max-width: 568px) {
  .hero {
    padding: 20px 18px 60px 18px;
  }

  .hero-right {
    height: 200px;
    max-height: 200px;
  }
}
