:root {
  --primary: #0f766e;
  --primary-deep: #0b5c56;
  --secondary: #4338ca;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --surface: rgba(255, 255, 255, 0.94);
  --shadow: rgba(15, 23, 42, 0.16);
}

html, body {
  min-height: 100%;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #e6f7f2 0%, #f8fbff 45%, #ffffff 100%);
  color: var(--text-dark);
}

body {
  overflow-x: hidden;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #07111d;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(32px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.84) 0%, rgba(2, 6, 23, 0.58) 48%, rgba(2, 6, 23, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 6rem 1rem;
}

.hero-copy {
  max-width: 680px;
  animation: slideInLeft 600ms ease both;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.hero-title {
  margin: 0 0 1rem;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 18px 40px rgba(2, 6, 23, 0.28);
}

.hero-sub {
  margin: 0 0 1.75rem;
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(226,232,240,0.95));
  color: var(--primary-deep);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(2, 6, 23, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.3);
}

.hero-controls {
  position: absolute;
  inset: auto 1.25rem 1.25rem auto;
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.hero-control {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

.container.mt-4.text-end {
  padding: 1rem 0 0.4rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.services {
  padding: 4rem 0;
}

.services .service-card {
  background: #fff;
  border-radius: 28px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px rgba(15, 23, 42, 0.12);
}

.service-icon {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 16px;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(15, 118, 110, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-card h6 {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-26px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1024px) {
  .hero {
    height: 80vh;
    min-height: 560px;
  }

  .hero-title {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 70vh;
    min-height: 480px;
  }

  .hero-content {
    padding: 4.25rem 1rem 4.75rem;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-controls {
    inset: auto 0.75rem 0.75rem auto;
  }

  .hero-dots {
    bottom: 1rem;
  }

  .service-card {
    min-height: 170px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 3.5rem 0.9rem 4.25rem;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-btn {
    width: 100%;
  }

  .container.mt-4.text-end {
    justify-content: center;
    flex-wrap: wrap;
  }
}
