:root {
  --blue-dark: #0b3d91;
  --blue: #1a56db;
  --orange: #f7941d;
  --gray-bg: #f4f7fa;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

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

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar {
  background: var(--blue-dark);
  color: #dbe6ff;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar span { margin-right: 18px; }

/* Header */
header.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #eef1f5;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-dark);
}
.logo span { color: var(--orange); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.btn {
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-outline { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn-solid { background: var(--blue); color: var(--white); }
.btn-solid:hover { background: var(--blue-dark); }

/* Hero */
.hero {
  background: var(--gray-bg);
  padding: 72px 0;
}
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
}
.hero h1 .accent { color: var(--orange); display: block; }
.hero p {
  margin-top: 18px;
  color: var(--muted);
  max-width: 520px;
  font-size: 16px;
}
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.tech-pill {
  background: var(--white);
  border-radius: 8px;
  padding: 10px 18px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 14px;
}

/* Why us */
.section { padding: 64px 0; }
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  text-align: center;
}
.feature-card .icon {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(26,86,219,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* Stats */
.stats {
  background: var(--blue-dark);
  color: var(--white);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  text-align: center;
}
.stats-grid .num { font-size: 32px; font-weight: 800; color: var(--orange); }
.stats-grid .label { font-size: 14px; color: #cbd8f5; }

/* Courses */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  border: 1px solid #eef1f5;
}
.course-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(26,86,219,0.08);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.course-card h4 { font-size: 16px; margin-bottom: 10px; }
.course-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.course-price .price { font-size: 20px; font-weight: 800; color: var(--blue-dark); }
.course-price .mrp { text-decoration: line-through; color: var(--muted); font-size: 14px; }
.course-card .lectures { font-size: 13px; color: var(--muted); }

/* Departments */
.dept-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.dept-pill {
  padding: 10px 22px;
  border: 1px solid var(--blue);
  color: var(--blue);
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}
.cert-card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 24px 12px;
  font-weight: 600;
  font-size: 14px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid #eef1f5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.testimonial-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.testimonial-card .name { font-weight: 700; font-size: 14px; }
.testimonial-card .role { font-size: 12px; color: var(--muted); }

/* Contact */
.contact { background: var(--gray-bg); }
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7dde5;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form button {
  justify-self: start;
}

/* Footer */
footer {
  background: var(--blue-dark);
  color: #cbd8f5;
  padding: 36px 0;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .topbar .container { justify-content: center; text-align: center; padding-top: 6px; padding-bottom: 6px; height: auto; }
  header.site-header { flex-wrap: wrap; gap: 12px; }
  .nav-actions { width: 100%; }
}
