/* ===== Section: Spacer ===== */
.section-spacer {
  background: rgba(255, 255, 255, 1);
  padding: 0;
}

.spacer {
  height: 80px;
}

/* ===== Section: About ===== */
.section-about {
  background: #f8f8f8;
  position: relative;
  overflow: hidden;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  background: #f8f8f8;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  font-size: 24px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-prev {
  left: 16px;
}
.carousel-next {
  right: 16px;
}

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

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dots .dot.active {
  background: #fff;
}

.hero-text {
  color: black;
  text-align: center;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: bold;
  text-decoration: underline;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 20px;
  line-height: 1.8;
}

/* Image Grid */
.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* gap: 0px; */
  column-gap: 16px;
  margin-top: 37px;
}

.image-grid .grid-item {
  overflow: hidden;
}

.image-grid .grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-grid .grid-item img:hover {
  transform: scale(1.03);
}

/* CTA Buttons */
.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 30px;
  padding-bottom: 60px;
}

.cta-row .cta-btn {
  display: flex;
  justify-content: center;
}

.cta-row .cta-btn a,
.cta-row .cta-btn span {
  display: inline-block;
  padding: 14px 40px;
  background: #363636;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 3px;
  transition:
    background 0.3s,
    color 0.3s;
  cursor: pointer;
}

.cta-row .cta-btn a:hover {
  background: #fff;
  color: #363636;
}

/* ===== Responsive (Home) ===== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-desc {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .section-about {
    padding-left: 20px;
    padding-right: 20px;
  }
  .carousel-slide img {
    height: 280px;
  }

  .spacer {
    height: 40px;
  }

  .hero-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .image-grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .cta-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
    padding-bottom: 40px;
  }

  .cta-row .cta-btn a,
  .cta-row .cta-btn span {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
}
