/* --- RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Suisse Int\'l', sans-serif;
  color: #2a2a2a;
  line-height: 1.6;
  background-color: #fff;
}

/* HERO BANNER SECTION */
.home-banner {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* Layout wrapper inside header */
.layout-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* Hero slider */
.hero-slider {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* Individual slides */
.hero-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  max-width: 1600px;
  box-sizing: border-box;
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 800px;
  text-align: left;
  color: white;
  padding: 0;
  position: relative;
  z-index: 5; /* Ensure it's above overlays */
}

.hero-content .subheadline {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: 48px;
  color: white;
  margin-bottom: 20px;
}

.hero-content .description {
  font-size: 16px;
  color: #ddd;
  margin-bottom: 30px;
}

.explore-btn {
  display: inline-block;
  background-color: transparent;
  color: #ffffff;
  border: 3px solid #ffffff;
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-decoration: none;
  z-index: 10;
  position: relative;
}

.explore-btn:hover {
  background-color: #004080;
  color: #fff;
  transform: translateY(-2px);
}

/* --- SLIDER DOTS --- */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #002147;
}

/* --- SEARCH ICON --- */
.search-container i {
  width: 44px !important;
  height: 44px !important;
  font-size: 18px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: white;
  cursor: pointer;
}

/* --- COURSES SECTION FIX --- */
.courses-section {
  position: relative;
  z-index: 4;
  background-color: #fff;
  padding-top: 80px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1280px) {
  .hero-wrapper {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero-content h1 {
    font-size: clamp(28px, 5vw, 40px);
  }

  .hero-content .description {
    font-size: 1.1rem;
  }

  .explore-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}

/* --- OPTIONAL DEBUG: Uncomment to visualize layer stacking --- */
/*
.hero-wrapper, .hero-content, .explore-btn {
  outline: 1px solid limegreen !important;
}
*/
