/* --- Hero Section --- */
.site-header {
  position: relative;
}

/* Make navbar fixed & visible */
.site-header .navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #0b1d2a, #133b5c);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Hero Section */
.site-header .hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #ff89b5 0%, #8a2be2 45%, #2b8cff 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 120px; /* adjusted to ensure content not hidden by navbar */
  padding-bottom: 60px;
}

/* Overlay for depth */
.site-header .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.15));
  pointer-events: none;
}

/* Navbar styling */
.navbar-brand {
  color: #fff;
  font-size: 1.25rem;
}
.navbar .nav-link {
  color: rgba(255,255,255,0.95);
  margin-left: 0.7rem;
  font-weight: 500;
}
.navbar .nav-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Hero content */
.hero-content { 
  z-index: 2; 
  padding-top: 40px; 
  padding-bottom: 40px; 
}
.hero-inner { 
  max-width: 620px; 
}

/* Title & subtitle */
.hero-title {
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  display: block;
  font-size: 2.15rem;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 1.25rem;
}
.hero-meta {
  color: #ffe65b;
  margin-top: 0.8rem;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

/* Buttons */
.btn-register {
  background: linear-gradient(90deg, #ffe65b 0%, #ffd02a 100%);
  color: #1a1a1a;
  font-weight: 700;
  border: none;
  padding: 0.8rem 1.4rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.2);
}

.btn-partner {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
  font-weight: 600;
  padding: 0.8rem 1.3rem;
}

/* Hero image styling */
.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding: 1.5rem;
}
.hero-image {
  max-width: 100%;
  border-radius: 1px;
  box-shadow: 0 0px 0px rgba(11, 25, 46, 0.32);
  transform-origin: center;
  animation: float 3s ease-in-out infinite;
  border: 0px solid rgba(255,255,255,0.06);
}

/* Floating animation */
@keyframes float {
  0%   { transform: translateY(0px) scale(1); }
  50%  { transform: translateY(-12px) scale(1.01); }
  100% { transform: translateY(0px) scale(1); }
}

/* Responsive Fix for Mobile */
@media (max-width: 767.98px) {
  .site-header .navbar {
    background: linear-gradient(135deg, #0b1d2a, #133b5c);
    backdrop-filter: blur(6px);
  }

  .site-header .hero {
    padding-top: 160px !important; /* ensures hero image not hidden */
    flex-direction: column;
    text-align: center;
  }

  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-meta { font-size: 1rem; }

  .hero-content {
    text-align: center;
    padding-top: 0;
  }

  .hero-image-wrap {
    margin-top: 20px;
  }

  .hero-image {
    display: block;
    margin: 20px auto;
    width: 85%;
    max-width: 320px;
    height: auto;
    animation: float 3s ease-in-out infinite;
  }
}

/* Fade-in animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-up.show {
  opacity: 1;
  transform: translateY(0);
}
.fade-delay-1 { transition-delay: 0.12s; }
.fade-delay-2 { transition-delay: 0.24s; }
.fade-delay-3 { transition-delay: 0.36s; }

/* About Section */
.about-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #ff89b5 0%, #8a2be2 30%, #2b8cff 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 80px;
}

.about-section h2 {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
}

.about-section p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.feature-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border-left: 4px solid #ffe65b;
  transition: all 0.3s ease;
}
.feature-box:hover {
  background: #ff89b5;
  transform: translateY(-5px);
}

/* Theme Section */
.theme-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #ff89b5 0%, #8a2be2 25%, #2b8cff 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 80px;
}
.theme-section h2, .theme-section h3, .theme-section h5 {
  color: #fff;
}
.theme-section p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Animated theme image */
.theme-img {
  max-width: 90%;
  border-radius: 15px;
  animation: floatImg 4s ease-in-out infinite;
}
@keyframes floatImg {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Core Themes Boxes */
.theme-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border-left: 4px solid #ffe65b;
  transition: all 0.3s ease;
}
.theme-box:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

/* Highlights Section */
.highlights-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #ff89b5 0%, #8a2be2 25%, #2b8cff 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 80px;
}

.highlights-section h2 {
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: 1px;
}

.highlight-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border-left: 4px solid #ffe65b;
  color: #fff;
  transition: all 0.3s ease;
  height: 100%;
}
.highlight-box:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}
.highlight-box h5 {
  font-size: 1.2rem;
}
.highlight-box p {
  font-size: 1.05rem;
  line-height: 1.6;
}
