body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f8fb;
  color: #123;
}

.main-header {
  background: linear-gradient(110deg, #2362a8 50%, #79d9f3 100%);
  color: #fff;
  text-align: center;
  position: relative;
  padding-bottom: 18px;
  box-shadow: 0 2px 12px #0002;
}
.hero-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
}
.header-content {
  position: relative;
  z-index: 2;
  margin-top: -1.1px;
  background: rgba(50,110,205, 0.38);
  padding: 24px;
  border-radius: 22px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.header-content h1 {
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.header-content p {
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 0;
}

.courses-section {
  max-width: 1200px;
  margin: 44px auto 0 auto;
  padding: 0 12px;
}

.courses-section h2 {
  color: #1b4b83;
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 28px;
  font-weight: 700;
}

.courses-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}

.course-card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 4px 18px #16468822;
  padding: 23px 18px;
  width: 255px;
  min-height: 120px;
  margin-bottom: 16px;
  transition: box-shadow .18s;
}

.course-card.highlight {
  background: #ffd966;
  color: #20304a;
  border: 1.5px solid #2052a1;
  box-shadow: 0 8px 28px #1762b311;
}
.course-card.highlight ul {
  padding-left: 18px;
  margin-top: 10px;
}
.course-card.highlight li {
  margin-bottom: 4px;
}

.lang-section {
  background: #e7effc;
  margin: 48px 0 0 0;
  padding: 26px 0 36px 0;
  box-shadow: 0 2px 18px #1a6cd012;
  text-align: center;
}
.lang-section h2 {
  font-size: 2rem;
  color: #14466e;
}
.lang-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #185a9d;
  margin: 12px 0 16px 0;
}

.adv-section {
  margin: 40px 0;
  text-align: center;
}
.adv-section h2 {
  color: #1b4b83;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.adv-section .course-card {
  background: #fbe6be;
  color: #334a34;
  font-weight: 600;
  box-shadow: none;
  display: inline-block;
  margin-bottom: 0;
}

.promo-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background: #fff3d6;
  margin-top: 40px;
  padding: 22px 0 30px 0;
  box-shadow: 0 2px 12px #fcbf4933;
}

.placement-badge {
  background: linear-gradient(90deg, #f4d64e 45%, #fcbf49 90%);
  color: #165a33;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 18px 26px;
  border-radius: 60px;
  box-shadow: 0 2px 18px #dbb14759;
  margin-right: 10px;
}
.promo-img {
  width: 185px;
  border-radius: 18px;
  box-shadow: 0 8px 24px #13489915;
}
.contact-box {
  background: #e7effc;
  border-radius: 15px;
  box-shadow: 0 4px 12px #16468818;
  padding: 18px 32px;
  margin-left: 16px;
}
.contact-box h3 {
  margin: 0 0 8px 0;
  font-size: 1.32rem;
  color: #226;
  font-weight: 700;
}
.contact-box p {
  margin: 0 0 4px 0;
}

@media (max-width: 900px) {
  .promo-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .promo-img { width: 98vw; max-width: 340px;}
}
@media (max-width: 600px) {
  .courses-grid { gap: 12px;}
  .course-card { width: 98vw; max-width: 320px;}
}
