/* ==============================
   GLOBAL HERO SECTION
============================== */

.page-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 24rem 0; /* Adjust padding as needed */
}

/* Overlay for dark tint */
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

/* ==============================
   SLIDER STYLES
============================== */

.hero-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-slider img.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider img.slide.active {
  opacity: 1;
}

/* ==============================
   HERO TEXT CONTENT
============================== */

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 90%;
  margin: 0 auto;
}

/* Text Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.2s ease-out;
}
.in-view.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s ease-out;
}
.in-view .slide-in-left {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-delay {
  opacity: 0;
  transition: all 1.5s ease-out 0.5s;
}
.in-view .fade-in-delay {
  opacity: 1;
}

/* ==============================
   BUTTON STYLING
============================== */
.button-one-style:hover {
  background: #e63333;
}

/* ==============================
   RESPONSIVE ADJUSTMENTS
============================== */

@media (max-width: 768px) {
  .page-hero {
    height: 70vh;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}


/* Floating Contact Bar */
.floating-contact-bar {
  position: fixed;
  top: 144px; /* adjust depending on navbar height */
  width: 100%;
  background: #6e275c;
  color: #fff;
  z-index: 999;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.floating-contact-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.floating-contact-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}

.floating-contact-bar a:hover {
  text-decoration: none;
}

.contact-enrol-btn {
  background: #d80f0f;
  color: #ffffff !important;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  font-weight: 600;
}
.contact-enrol-btn:hover {
  background: #0b18a5;
}

@media (max-width: 768px) {
  .floating-contact-container {
    flex-direction: row;
    gap: 0.8rem;
  }
  .floating-contact-bar {
    top: 80px;
    font-size: 0.85rem;
    padding: 0.7rem;
  }
}
