:root {
  --bg: #0a0a0a;
  --panel: #0f1113;
  --muted: #9aa5b1;
  --accent: #00d0ff;
  --white: #e6eef6;
  --container: 1100px;

  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px;
}

/* ================================
   HEADER
================================ */

.site-header {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.main-logo { height: 44px; }

.brand {
  font-weight: 700;
  font-size: 18px;
}

/* Desktop Nav */
.main-nav {
  display: flex;
  gap: 25px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  transition: 0.2s;
}

.main-nav a:hover {
  color: var(--accent);
}

/* ================================
   HAMBURGER ICON
================================ */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: var(--white);
  border-radius: 6px;
  transition: 0.3s;
}

/* ================================
   HERO
================================ */

.hero {
  padding: 80px 0;
  text-align: left;
}

.hero-inner h1 {
  font-size: 44px;
  margin-bottom: 8px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 22px;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  color: var(--white);
}

.btn:hover {
  border-color: var(--accent);
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), #85ebff);
  border: none;
  color: #091015;
}

/* ================================
   FEATURED COURSE
================================ */

.featured {
  display: flex;
  gap: 24px;
  padding: 40px 0;
  align-items: center;
}

.featured-left img {
  width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}

.featured-right h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 600;
}

/* ================================
   COURSE GRID
================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.course-card {
  background: var(--panel);
  padding: 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--white);
  transition: 0.25s;
  border: 1px solid rgba(255,255,255,0.05);
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(0,208,255,0.25);
}

.course-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

/* ================================
   FOOTER
================================ */

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 18px 0;
  text-align: center;
  color: var(--muted);
  margin-top: 40px;
}

/* ================================
   TABLET
================================ */

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2,1fr); }
}

/* ================================
================================ */

@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  /* Mobile Nav Menu */
  .main-nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: #0f1113;
    flex-direction: column;
    gap: 20px;
    padding: 25px 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 18px rgba(0,0,0,0.6);
    z-index: 9999;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    font-size: 18px;
  }

  /* Hero */
  .hero {
    text-align: center;
    padding-top: 70px;
  }

  .hero-inner h1 {
    font-size: 32px;
  }

  /* Featured Section */
  .featured {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .featured-left img {
    width: 100%;
    height: auto;
  }

  .grid {
    grid-template-columns: 1fr !important;
  }

  .main-logo {
    height: 34px;
  }
}

/* ================================
   HAMBURGER ANIMATION
================================ */

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* ================================
   CONTACT PAGE
================================ */

.contact-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.contact-page h1 {
  margin-bottom: 14px;
  font-size: 32px;
}

.contact-details p {
  color: var(--muted);
  margin-bottom: 10px;
}

/* Form */
#contactForm {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 600px;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #111;
  color: var(--white);
  font-size: 16px;
}

#contactForm textarea {
  height: 140px;
  resize: vertical;
}

/* Button */
#contactForm button {
  width: fit-content;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  transition: 0.2s;
}

#contactForm button:hover {
  background: #66e4ff;
}

@media (max-width: 768px) {
  #contactForm button {
    width: 100%;
    text-align: center;
  }
}


.about-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
}

/* Title */
.about-page h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

/* Intro paragraph */
.about-intro {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
}

/* IMPACT SECTION */
.impact-section {
  margin-top: 40px;
}

.impact-title {
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Impact grid */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.impact-card {
  background: var(--panel);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.25s;
}

.impact-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.impact-icon {
  font-size: 34px;
  margin-bottom: 10px;
}

.impact-number {
  font-size: 22px;
  font-weight: 700;
}

.impact-text {
  font-size: 15px;
  color: var(--muted);
}

/* WHAT WE TEACH */
.about-page h3 {
  margin-top: 50px;
  font-size: 24px;
}

.about-page ul {
  margin-top: 12px;
  line-height: 1.7;
  color: var(--muted);
}

/* MOBILE FIXES */
@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .about-page h1 {
    font-size: 28px;
  }

  .impact-title {
    text-align: center;
  }
}



.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
}

.page-btn {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #0f1113;
  color: var(--white);
  cursor: pointer;
  font-size: 15px;
  transition: 0.25s;
}

.page-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0,208,255,0.4);
  transform: translateY(-3px);
}

.page-btn.active {
  background: linear-gradient(90deg, var(--accent), #85ebff);
  color: #000;
  border: none;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(0,208,255,0.5);
}


