/* =========================
   GLOBAL DESIGN SYSTEM
   ========================= */

:root {
  --primary: #ff4d1c;
  --dark: #0f172a;
  --light: #ffffff;
  --muted: #94a3b8;
  --blue-glow: #4169e1;
  --bg-light: #f8fafc;
  --text-dark: #111111;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.5;
}

/* =========================
   TYPOGRAPHY
   ========================= */

h1,
h2,
h3 {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.02em;
}

/* =========================
   HEADER
   ========================= */

header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: #ffffff;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  font-size: 14px;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--primary);
}

.cta-btn {
  background: var(--primary);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-1px);
  background: #e64418;
}

/* =========================
   HERO SECTION
   ========================= */

.hero {
  background-image: url("alpha.jpeg");
  background-size: cover;
  background-position: -5000% left center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 50px 70px 120px;
}

.hero-content {
  max-width: 650px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 225px;
}

.hero h1 span {
  color: var(--primary);
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  padding: 14px 26px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* =========================
   COURSES SECTION
   ========================= */

.courses {
  padding: 6rem 8vw 8rem;
  background: #ffffff;
}

.courses h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.courses h2::after {
  content: "";
  display: block;
  margin: 1rem auto 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--blue-glow),
    transparent
  );
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.course-card {
  position: relative;
  padding: 2rem;
  border-radius: 16px;
  overflow: hidden;
  color: #ffffff;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.05),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
}

.course-card:hover::before {
  opacity: 1;
}

.course-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.course-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

/* Individual card themes */
.course-card:nth-child(1) {
  background: linear-gradient(145deg, #ff5a3c, #c62b1f 45%, #3a0d0d);
}

.course-card:nth-child(2) {
  background: linear-gradient(145deg, #4169e1, #2e4fa8 45%, #1c2f66);
}

.course-card:nth-child(3) {
  background: linear-gradient(145deg, #b38b2e, #7a5a1f 45%, #3a2a12);
}

.course-card:nth-child(4) {
  background: linear-gradient(145deg, #4b6f44, #3f5e38 45%, #243a22);
}

/* =========================
   FOOTER
   ========================= */

footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #777777;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  header {
    padding: 0 20px;
  }

  nav {
    display: none;
  }

  .hero {
    padding: 60px 20px 100px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .logo img {
    max-width: 260px;
  }
}
