/* --- Hero Section Core --- */
.hero-section {
  position: relative;
  height: 100vh; /* Full screen height */
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 0 8%;
}

/* --- Background Slider Logic --- */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideShow 20s linear infinite;
}

/* Staggered animation for 4 images */
.slide:nth-child(1) {
  animation-delay: 0s;
}
.slide:nth-child(2) {
  animation-delay: 5s;
}
.slide:nth-child(3) {
  animation-delay: 10s;
}
.slide:nth-child(4) {
  animation-delay: 15s;
}

@keyframes slideShow {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  5% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  30% {
    opacity: 0;
    transform: scale(1.1);
  } /* Subtle zoom out effect */
  100% {
    opacity: 0;
  }
}

/* --- Content Styling --- */
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Fluid typography */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s ease;
}

.btn-primary {
  background-color: #4788c6;
  color: white;
}

.btn-primary:hover {
  background-color: #35699e;
  transform: translateY(-3px);
}

/* --- Floating Contact Widgets --- */
.floating-contact {
  position: absolute;
  bottom: 30px;
  width: calc(100% - 16%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.whatsapp-btn img {
  width: 50px;
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.3));
}

.contact-us-pill {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 5px 5px 5px 20px;
  border-radius: 50px;
  color: #333;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.phone-btn {
  background: #4788c6;
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: 15px;
  text-decoration: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .hero-section {
    padding: 0 5%;
    text-align: center;
    justify-content: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .floating-contact {
    width: 90%;
  }
}
