/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

body {
  color: #1e293b;
  background: #fff;
  line-height: 1.6;
}

/* UTILITIES */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.section-title.light {
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

/* BUTTON */
.btn-primary {
  background: #2563eb;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  display: inline-block;
}

/* HEADER */
.site-header {
  background: #0f172a;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.brand {
  color: #fff;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-menu a {
  color: #cbd5f5;
}

.nav-menu a.active,
.nav-menu a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  color: #fff;
  font-size: 1.5rem;
}

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}

/* COURSES */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.course-card {
  background: #f8fafc;
  padding: 2.5rem;
  border-radius: 12px;
  position: relative;
  transition: 0.3s;
}

.course-card:hover {
  transform: translateY(-6px);
}

.tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #2563eb;
  color: #fff;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  border-radius: 999px;
}

/* DELIVERY */
.delivery {
  background: #0f172a;
  padding: 4rem 0;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  color: #e5e7eb;
  text-align: center;
}

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

/* CTA */
.cta-section {
  background: #2563eb;
  color: #fff;
  padding: 4rem 0;
}

.cta-box {
  text-align: center;
}

/* FOOTER */
.site-footer {
  background: #020617;
  color: #cbd5f5;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-grid a {
  display: block;
  margin-top: 0.5rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

/* ===================== */
/* 📱 COMPLETE RESPONSIVE */
/* ===================== */

/* XL DESKTOP */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

/* SMALL LAPTOP */
@media (max-width: 1199px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* TABLETS */
@media (max-width: 991px) {
  .delivery-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* TABLET PORTRAIT */
@media (max-width: 767px) {
  .section {
    padding: 3rem 0;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: #0f172a;
    flex-direction: column;
    width: 100%;
    padding: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .courses-grid,
  .delivery-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* SMALL PHONES */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }

  .course-card {
    padding: 2rem;
  }
}

/* EXTRA SMALL PHONES */
@media (max-width: 360px) {
  body {
    font-size: 0.9rem;
  }
}
