* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Georgia", serif;
  background: #0a1a23;
  color: #fff;
}

/* SECTION */
.services-section {
  position: relative;
  background: url('../assets/services.webp') center/cover no-repeat;
  min-height: 100vh;
  padding: 100px 60px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* DARK OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 28, 0.75);
  z-index: 1;
}

/* HEADER */
.services-title {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 60px;
}

.services-title h1 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
}

/* CAROUSEL */
.carousel {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  overflow: hidden; /* IMPORTANT */
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
  height: 70vh;
}

/* SLIDE */
.slide {
  min-width: 100%;
  margin-right: 40px; /* spacing instead of gap */
  position: relative;
  padding: 60px 50px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  overflow: hidden;
}

/* remove space after last slide */
.slide:last-child {
  margin-right: 0;
}

/* BIG NUMBER */
.slide-number {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 100px;
  font-weight: bold;
  color: rgba(255,255,255,0.12);
  pointer-events: none;
}



/* CONTENT */
.slide h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 500;
}

.slide p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 650px;
  color: #e0e0e0;
  margin-bottom: 40px;
  word-wrap: break-word;
}

/* ICON */
.slide-icon {
  position: absolute;
  bottom: 25px;
  right: 35px;
  font-size: 50px;
  color: #f3c77a;
  z-index: 2;
}

/* DOTS */
.dots {
  margin-top: 35px;
  text-align: center;
}

.dot {
  width: 14px;
  height: 14px;
  background: #aaa;
  border-radius: 50%;
  display: inline-block;
  margin: 0 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #f3c77a;
  transform: scale(1.2);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-section {
    padding: 80px 40px 60px;
  }

  .services-title h1 {
    font-size: 42px;
  }

  .slide-number {
    font-size: 80px;
    top: 10px;
    left: 20px;
  }

  .slide h2 {
    font-size: 24px;
  }

  .slide p {
    font-size: 15px;
  }

  .slide::after {
    width: 60px;
    height: 60px;
    right: -20px;
  }

  .slide-icon {
    font-size: 40px;
    right: 20px;
    bottom: 20px;
  }
}

/* MOBILE FIX (CRITICAL) */
@media (max-width: 768px) {
  .services-section {
    padding: 60px 20px 40px;
  }

  .services-title h1 {
    font-size: 32px;
  }

  .slide {
    padding: 40px 30px;
    margin-right: 0; /* stop overflow */
  }

  .slide-number {
    font-size: 60px;
  }

  .slide h2 {
    font-size: 20px;
  }

  .slide p {
    font-size: 14px;
    max-width: 100%;
  }

  .slide::after {
    width: 50px;
    height: 50px;
    right: -15px;
  }

  .slide-icon {
    font-size: 32px;
    right: 15px;
    bottom: 15px;
  }
}
