/* ==========================================================================
   SEA LAND AIR SECTION
   ========================================================================== */

.sla-section {
  position: relative;
  background-color: #f8f9fa;
  padding: 100px 0 80px;
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
}

/* Background subtle dot pattern for modern feel */
.sla-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(#d1d5db 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.4;
  z-index: 1;
}

.sla-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(#d1d5db 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.4;
  z-index: 1;
}

.sla-content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sla-text-container {
  display: flex;
  flex-direction: column;
  line-height: 0.85; /* Tight vertical stacking */
}

/* Common styling for the giant masked text */
.sla-word {
  font-size: clamp(90px, 16vw, 220px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.85;
  margin: 0;
  padding: 0;
  color: #000; /* Fallback */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  filter: drop-shadow(4px 8px 6px rgba(0, 0, 0, 0.3));
}

.sla-word:hover {
  background-size: 110% auto;
}

/* Individual Backgrounds */
.sla-sea {
  background-image: url('../img/promo_2.jpg'); 
  background-position: center 70%; /* Focus on water/sea */
}

.sla-land {
  background-image: url('../img/home-service/box_1.jpg'); 
  background-position: center 60%; /* Focus on the truck */
}

.sla-air {
  background-image: url('../img/services/air-freight.png'); 
  background-position: center 30%; /* Focus on the airplane */
}

/* Tagline below the giant text */
.sla-tagline {
  margin-top: 40px;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 700;
  color: #2d3748;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}

.sla-tagline span {
  display: block;
  font-weight: 400;
  color: #4a5568;
}

/* Circular Badge Graphic */
.sla-badge-container {
  position: absolute;
  right: 5%;
  top: 30%;
  width: 250px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

@media (max-width: 991px) {
  .sla-badge-container {
    display: none; /* Hide on smaller screens to avoid overlap */
  }
  .sla-text-container {
    width: 100%;
    text-align: center;
  }
}

.sla-badge-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 15px solid var(--green, #00b84a);
  animation: rotateBadge 20s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* SVG Text Path inside the badge */
.sla-badge-text-svg {
  width: 100%;
  height: 100%;
  animation: rotateBadge 30s linear infinite reverse;
}

.sla-badge-text-svg text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  fill: #1a365d;
  letter-spacing: 4px;
}

/* Inner dot pattern in badge */
.sla-badge-inner {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background-image: radial-gradient(#d1d5db 3px, transparent 3px);
  background-size: 15px 15px;
  opacity: 0.6;
}

/* Plane Graphic Top Right */
.sla-plane-graphic {
  position: absolute;
  top: 20px;
  right: 30px;
  opacity: 0.3;
  width: 80px;
  z-index: 2;
}

@keyframes rotateBadge {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
