/* =============================
   explore-programs.css
   ============================= */

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #f8fafc;
  color: #0f172a;
}

/* ================= NAVBAR ================= */
    nav {
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
      background: rgba(15, 23, 42, 0.6);
      backdrop-filter: blur(12px);
    }

    .nav-container {
      max-width: 1200px;
      margin: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 24px;
    }

    .logo {
      font-size: 22px;
      font-weight: 700;
      color: white;
    }

    .nav-links a {
      color: #cbd5f5;
      margin-left: 24px;
      text-decoration: none;
      font-weight: 500;
      transition: 0.3s;
    }

    .nav-links a:hover {
      color: white;
    }

.hero {
  background: linear-gradient(120deg, #0f172a, #1e293b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 span {
  color: #38bdf8;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-top: 60px;
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 40px;
}

.cards {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  padding: 0 20px 80px;
}

.card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
}

.card h4 {
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline {
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.btn-outline:hover {
  background: #38bdf8;
  color: #fff;
}

/* ================= FOOTER ================= */
    footer {
      background: #020617;
      padding: 40px 80px;
      text-align: center;
      color: #94a3b8;
    }
    footer a:hover {
    color: #00d2ff;
    transform: translateY(-2px);
    transition: 0.3s;
    }
    .footer-social a:hover {
      color: #00d2ff; 
      transform: translateY(-3px);
    }

    /* ================= GLOBAL FIX ================= */
body {
  padding-top: 80px; /* prevents fixed navbar overlap */
}

/* ---------- LARGE TABLETS ---------- */
@media (max-width: 1024px) {

  .hero {
    padding: 90px 20px 70px;
  }

  .section-title {
    font-size: 28px;
  }

  footer {
    padding: 40px;
  }
}

/* ---------- TABLETS ---------- */
@media (max-width: 900px) {

  /* NAVBAR */
  .nav-container {
    padding: 14px 20px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .section-subtitle {
    padding: 0 20px;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {

  /* NAVBAR STACK */
  .nav-container {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .nav-links a {
    margin-left: 0;
    font-size: 14px;
  }

  /* HERO */
  .hero {
    padding: 70px 16px 50px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  /* TITLES */
  .section-title {
    font-size: 24px;
    margin-top: 40px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  /* CARDS */
  .cards {
    padding: 0 16px 60px;
    gap: 20px;
  }

  .card {
    padding: 20px;
  }

  .card h4 {
    font-size: 18px;
  }

  .btn {
    font-size: 14px;
    padding: 8px 14px;
  }

  /* FOOTER */
  footer {
    padding: 30px 20px;
    font-size: 14px;
  }
}

/* ---------- SMALL PHONES ---------- */
@media (max-width: 480px) {

  .logo {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-subtitle {
    font-size: 13px;
  }

  footer {
    font-size: 13px;
  }
}
