* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: white;
  color: #1f2b4d;
  line-height: 1.6;
}

header {
  background: white;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}

header h1 {
  display: flex;
  align-items: center;
  gap: 30px;
}

header h1 svg {
  width: 38px;
  height: 38px;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #41506f;
  font-weight: 600;
}

nav a:hover {
  color: #0d1d3d;
}

.hero {
  min-height: 380px;
  padding: 150px 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: #f8f8fd;
  border-bottom: 1px solid #e0e0e0;
}

.hero h2 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -1px;
  max-width: 620px;
  line-height: 1.5;
}

.hero h2 span {
  color: #4777d9;
  font-weight: 700;
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 18px;
}

.benefit p {
  font-size: 1.25rem;
  line-height: 1.3;
}

.benefit svg {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 50%;
  color: white;
  flex-shrink: 0;
  stroke-width: 1.5;
  overflow: visible;
}

.benefit:nth-child(1) svg {
  background: #c5ad6c;
}

.benefit:nth-child(2) svg {
  background: #7fac8b;
}

.benefit:nth-child(3) svg {
  background: #5c9aa0;
}

.section {
  padding: 60px 10%;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.course-card {
  padding: 28px;
  border: 1px solid #eee;
  border-radius: 18px;
}

.course-card h3 {
  margin-bottom: 10px;
  color: #4777d9;
}

.course-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2b4d;
}

.button {
  display: inline-block;
  margin: 12px 0;
  padding: 10px 18px;
  background: #4777d9;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  background-color: #0d1d3d;
  transition: 0.5s;
}

.course-terms {
  display: inline-block;
  margin-top: 50px;
  padding: 12px 20px;
  color: white;
  background-color: #4777d9;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.course-terms:hover {
  background-color: #0d1d3d;
  transform: translateY(-2px);
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.language-card {
  padding: 24px;
  border: 1px solid #eee;
  border-radius: 18px;
  text-align: center;
  transition: 0.2s ease;
}

.language-card:hover {
  transform: translateY(-4px);
}

.language-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.language-card h3 {
  margin-bottom: 6px;
}

.language-card p {
  font-size: 0.95rem;
  color: #666;
}

.language-card.disabled {
  opacity: 0.5;
}

.contact-card {
  padding: 36px;
  border-radius: 22px;
  background: #f8f8fd;
  border: 1px solid #e0e0e0;
}

.contact-card h2 {
  margin-bottom: 10px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #41506f;
  text-decoration: none;
  font-weight: 600;
}

.contact-links a:hover {
  color: #4777d9;
}

.contact-links svg {
  width: 20px;
  height: 20px;
}

.footer {
  margin-top: 60px;
  padding: 40px 10%;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 80px 8%;
    gap: 45px;
  }

  .languages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  header {
    padding: 18px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  header h1 {
    font-size: 1.6rem;
  }

  nav {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  nav a {
    font-size: 0.95rem;
  }

  .hero {
    padding: 50px 24px;
    gap: 40px;
  }

  .hero h2 {
    font-size: 2rem;
    line-height: 1.4;
  }

  .benefit p {
    font-size: 1.05rem;
  }

  .section {
    padding: 45px 24px;
  }

  .courses-grid,
  .languages-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 28px;
  }
}