/* =========================
   ROOT COLORS
========================= */
:root {
  --bg-main: #0b1220;
  --bg-section: #0f172a;
  --bg-card: #111c2f;

  --green: #9ef58a;
  --blue: #38bdf8;

  --text-main: #e5e7eb;
  --text-muted: #94a3b8;

  --border: #1e293b;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

/* =========================
   HERO SLIDER FIXED
========================= */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slider-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 200%; /* 2 slides */
  height: 100%;
  transition: transform 1s ease-in-out;
}

.slide {
  width: 100%;
  height: 100vh;
  flex-shrink: 0;
  position: relative;

  background-size: cover;
  background-position: center;
}

/* Background images */
.slide:nth-child(1) {
  background: url('../images/girl-banner.png') center/cover no-repeat;
}

.slide:nth-child(2) {
  background: url('../images/boy-banner.png') center/cover no-repeat;
}

/* Dark overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,18,32,0.75);
}

.content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-logo {
  max-width: 250px;
  margin-bottom: 20px;
}

.content h1 {
  font-size: 48px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.content p {
  margin: 20px 0;
  font-size: 20px;
  color: var(--text-muted);
}



.text {
  flex: 1;
}

.hero-logo {
  max-width: 300px;
  margin-bottom: 20px;
}

.text h1 {
  font-size: 48px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text p {
  margin: 20px 0;
  font-size: 20px;
  color: var(--text-muted);
}

/* BUTTON */
.btn-primary {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  color: #000;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(56,189,248,.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

/* IMAGE */
.image {
  flex: 1;
  text-align: center;
}

.image img {
  max-width: 420px;
  width: 100%;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

/* DOTS */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  height: 10px;
  width: 10px;
  background: #555;
  display: inline-block;
  border-radius: 50%;
  margin: 0 6px;
}

.dot.active {
  background: var(--green);
}

/* =========================
   FEATURES
========================= */
.features {
  padding: 100px 20px;
  background: var(--bg-section);
  text-align: center;
}

.features h2 {
  font-size: 36px;
  color: var(--green);
  margin-bottom: 40px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  width: 260px;
  padding: 25px;
  border-radius: 16px;
}

.feature-card h3 {
  color: var(--green);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
}

/* =========================
   WHY
========================= */
.why {
  padding: 80px 20px;
  text-align: center;
}

.why h2 {
  font-size: 34px;
  color: var(--green);
}

.why p {
  font-size: 18px;
  color: var(--text-muted);
}

/* FOOTER */
footer {
  background: var(--bg-section);
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .slide-content {
    flex-direction: column;
    text-align: center;
  }

  .text h1 {
    font-size: 32px;
  }

  .image img {
    max-width: 280px;
  }
}
