/* ── Hero Section ── */

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  max-height: 1300px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  color: #fff;
}

/* Background image */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../images/Hero image.jpg') center/cover no-repeat;
  background-color: #1a6b8a;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Top dark gradient overlay */
.hero__gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 220px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
  z-index: 1;
}

/* Bottom gradient reflection */
.hero__gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background: linear-gradient(to top, rgba(0, 30, 60, 0.7), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4.2%;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__title {
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 0.3em;
  max-width: 700px;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 440px;
}

/* Services bar */
.hero__services {
  position: relative;
  z-index: 2;
  padding: 0 4.2% 2.2rem;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  animation: heroFadeUp 0.9s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__services-label {
  display: none;
}

.hero__services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
}

/* Individual service item */
.hero__service {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.6rem;
  text-decoration: none;
  color: #fff;
  background: rgba(0, 30, 60, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s;
}

.hero__service:hover {
  background: rgba(0, 30, 60, 0.65);
}

.hero__service-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.hero__service-icon img {
  width: 100%;
  height: 100%;
}

.hero__service-text {
  flex: 1;
  min-width: 0;
}

.hero__service-title {
  font-size: clamp(0.92rem, 1.1vw, 1.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero__service-desc {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.35;
  opacity: 0.7;
  margin-top: 2px;
}

.hero__service-arrow {
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.3s, transform 0.3s;
}

.hero__service:hover .hero__service-arrow {
  opacity: 0.9;
  transform: translateX(3px);
}

/* Vertical dividers between services — no longer needed */
.hero__service-divider {
  display: none;
}
