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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  color: #152238;
  background: #f6f9ff;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

.top-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 30px rgba(20, 42, 90, 0.08);
  backdrop-filter: blur(12px);
}

.navbar {
  width: min(1180px, 92%);
  margin: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.55rem;
  color: #153e90;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
}

.nav-links a:hover {
  color: #1d4ed8;
}

.menu-toggle {
  display: none;
  border: none;
  background: #153e90;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 1.2rem;
}

.section-padding {
  padding: 85px 4%;
}

.hero {
  width: min(1180px, 92%);
  margin: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 45px;
  align-items: center;
  min-height: 690px;
}

.tagline {
  color: #1d4ed8;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.1;
  margin-bottom: 20px;
  color: #0f2147;
}

.hero-text {
  max-width: 650px;
  font-size: 1.08rem;
  color: #51627a;
  margin-bottom: 28px;
}

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

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  color: white;
  box-shadow: 0 15px 30px rgba(29, 78, 216, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  color: #153e90;
  border-color: #153e90;
  background: white;
}

.hero-card {
  background: white;
  padding: 35px;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(20, 42, 90, 0.16);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
}

.card-top {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  padding: 7px 15px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-card h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.hero-card p {
  color: #52657e;
  margin-bottom: 18px;
}

.hero-card li {
  padding: 11px 0;
  border-bottom: 1px solid #e5eefb;
  font-weight: 600;
}

.stats {
  width: min(1080px, 92%);
  margin: -45px auto 20px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(20, 42, 90, 0.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.stats div {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid #eaf0fb;
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  color: #153e90;
  font-size: 1.7rem;
}

.stats span {
  color: #61738c;
  font-weight: 600;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title p {
  color: #1d4ed8;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title h2,
.exam-content h2,
.contact-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #0f2147;
}

.section-title.light p,
.section-title.light h2 {
  color: white;
}

.about-section {
  width: min(1180px, 92%);
  margin: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-grid h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.about-grid p {
  color: #586b84;
  margin-bottom: 14px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-item {
  background: white;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(20, 42, 90, 0.08);
  font-weight: 700;
}

.feature-item span {
  color: #06b6d4;
  margin-right: 8px;
}

.courses-section {
  background: linear-gradient(135deg, #0f2147, #153e90);
}

.course-grid {
  width: min(1180px, 92%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.course-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  padding: 25px;
  border-radius: 22px;
  min-height: 190px;
  transition: all 0.25s ease;
}

.course-card:hover {
  background: white;
  color: #152238;
  transform: translateY(-6px);
}

.course-card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.course-card h3 {
  margin-bottom: 8px;
}

.course-card p {
  opacity: 0.85;
  font-size: 0.94rem;
}

.exam-section {
  width: min(1180px, 92%);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 45px;
  align-items: center;
}

.exam-content p:not(.tagline) {
  color: #5c7088;
  margin: 16px 0 22px;
}

.exam-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.exam-boxes div {
  background: white;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(20, 42, 90, 0.08);
}

.exam-boxes strong {
  display: block;
  color: #153e90;
  font-size: 1.4rem;
}

.demo-form {
  background: white;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(20, 42, 90, 0.12);
}

.demo-form h3 {
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.demo-form input,
.demo-form select {
  width: 100%;
  padding: 14px 15px;
  margin-bottom: 14px;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  font-family: inherit;
  outline: none;
}

.demo-form input:focus,
.demo-form select:focus {
  border-color: #1d4ed8;
}

.full-btn {
  width: 100%;
}

.form-message {
  margin-top: 12px;
  font-weight: 700;
  color: #15803d;
}

.testimonials {
  width: min(1180px, 92%);
  margin: auto;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: white;
  padding: 28px;
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(20, 42, 90, 0.08);
}

.testimonial-card h3 {
  color: #153e90;
  margin-bottom: 10px;
}

.testimonial-card p {
  color: #5c7088;
}

.contact-section {
  background: #eaf4ff;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 30px;
  align-items: center;
}

.contact-section > div {
  width: min(1180px, 92%);
  margin: auto;
}

.contact-card {
  background: white;
  padding: 28px;
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(20, 42, 90, 0.1);
}

.contact-card p {
  margin-bottom: 10px;
}

footer {
  background: #0f2147;
  color: white;
  text-align: center;
  padding: 22px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    display: none;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(20, 42, 90, 0.1);
  }

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

  .hero,
  .about-grid,
  .exam-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .stats,
  .course-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-section > div {
    width: 92%;
  }
}

@media (max-width: 560px) {
  .section-padding {
    padding: 60px 4%;
  }

  .hero {
    min-height: auto;
  }

  .stats,
  .course-grid,
  .testimonial-grid,
  .exam-boxes {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-top: 0;
  }

  .hero-card,
  .demo-form {
    padding: 24px;
  }
}
