/* ==============================
   GLOBAL HERO SECTION
============================== */

.page-hero {
  position: relative;
  height: 90vh;
  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: none; /* hidden by default (desktop view) */
  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: underline;
}

.contact-enrol-btn {
  background: #d80f0f;
  color: #ffffff !important;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.contact-enrol-btn:hover {
  background: #0b18a5;
}

/* ✅ Show floating contact bar only on mobile screens */
@media (max-width: 768px) {
  .floating-contact-bar {
    display: flex; /* visible only on small screens */
    top: 80px;
    font-size: 0.85rem;
    padding: 0.7rem;
  }

  .floating-contact-container {
    flex-direction: row;
    gap: 0.8rem;
  }
}

/* OUR GALLERY */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f7f9fc;
}

.gallery-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}
/* Responsive grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Equal-height cards */
.gallery-item {
    height: 360px; /* Height control */
    width: auto;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    display: flex;
}

/* Images */
.gallery-item.image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔹 crops without distortion */
    object-position: top; /* 🔹 adjust focus point */
}

/* Uploaded videos */
.gallery-item.video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

/* Hover effect */
.gallery-item:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}
.gallery-item {
    transition: transform 0.3s ease;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-item {
        height: 200px; /* shorter height on small screens */
    }
}
/* ==============================
   END OF ANIMATIONS CSS
   
