:root {
  --primary: #0B5ED7;
  --accent: #F4B400;
  --dark: #1F2937;
  --light: #F9FAFB;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background: var(--light);
  color: var(--dark);
}

/* ================= HEADER ================= */
.site-header {
  background: #f9fafb;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}

.header-email {
  font-size: 13px;
  color: #6B7280;
}

nav {
  display: flex;
  flex-wrap: wrap;
}

nav a {
  margin-left: 18px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  padding: 140px 40px 60px;
  background: linear-gradient(rgba(11,94,215,0.75), rgba(11,94,215,0.75)),
    url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.image1 {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

.left-card {
  text-align: center;
}

.image-text2 {
  margin-top: 10px;
  font-size: 13px;
  color: #e5e7eb;
}

.hero-content {
  text-align: center;
}

.hero-content h1 {
  font-size: 46px;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 25px;
}

.hero-btn-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn {
  background: var(--accent);
  color: #000;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.hero-cta {
  padding: 12px 22px;
  border: 2px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s;
}

.hero-cta:hover {
  background: var(--accent);
  color: #000;
}

.hero-subtitle {
  font-size: 14px;
  letter-spacing: 1px;
  color: #E5E7EB;
  text-transform: uppercase;
}

/* ================= IMAGE CARD ================= */
.image-card {
  text-align: center;
}

.image2 {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin-bottom: 10px;
}

.image-text {
  font-size: 14px;
  color: #f1f1f1;
}

/* ================= COURSES ================= */
.courses-section {
  padding: 80px 40px;
  text-align: center;
}

.courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.course-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.course-card:hover {
  transform: translateY(-8px);
}

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.course-card h3 {
  padding: 20px;
  color: var(--primary);
}

/* ================= FOOTER ================= */
footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 130px 30px 60px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .image1,
  .image2 {
    width: 130px;
    height: 130px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  nav {
    justify-content: center;
  }

  nav a {
    margin: 6px 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 120px 20px 50px;
    gap: 40px;
  }

  .image1,
  .image2 {
    width: 120px;
    height: 120px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-btn-row {
    flex-direction: column;
  }

  .btn,
  .hero-cta {
    width: 100%;
    max-width: 300px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 12px;
  }

  .image-text,
  .image-text2 {
    font-size: 12px;
  }
}