* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #2c3e50; /* Темный фон для всего сайта */
  color: #ecf0f1; /* Светлый текст */
  line-height: 1.6;
}

header.hero {
  background: linear-gradient(135deg, #4e4e9f, #2c3e50); /* Градиент от синего к темно-серому */
  color: white;
  padding: 80px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Тень для эффекта глубины */
  position: relative;
}

header .container {
  max-width: 1200px;
  margin: auto;
}

header h1 {
  font-size: 48px;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 2px; /* Увеличим расстояние между буквами */
}

header .tagline {
  font-size: 25px;
  font-weight: 300;
  margin-bottom: 30px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

header .cta-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: #1abc9c; /* Мятный цвет для кнопки */
  color: white;
  font-weight: 600;
  font-size: 18px;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Лёгкая тень для кнопки */
}

header .cta-button:hover {
  background-color: #16a085; /* Темнее для hover */
  transform: translateY(-5px); /* Эффект подъёма кнопки при наведении */
}

header .cta-button:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(26, 188, 156, 0.7); /* Контур при фокусе */
}

header .cta-button:active {
  transform: translateY(1px); /* Эффект нажатия */
}

@media (max-width: 768px) {
  header h1 {
    font-size: 36px;
  }
  header .tagline {
    font-size: 18px;
  }
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

h1 {
  font-size: 48px; /* Увеличиваем размер шрифта для названия */
  font-weight: 700; /* Делаем жирным */
  letter-spacing: 2px; /* Немного увеличиваем расстояние между буквами */
  text-transform: uppercase; /* Делаем заглавными */
  color: #f39c12; /* Яркий желтый для названия */
  margin-bottom: 10px;
  animation: fadeIn 1s ease-out;
}

.tagline {
  font-size: 20px;
  font-weight: 300;
  color: #ecf0f1;
}

h2 {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
  color: #16a085; /* Мятный цвет для заголовков */
}

.tracks {
  background-color: #34495e;
  padding: 60px 20px;
}

.track-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.track {
  background-color: #3d566e;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  width: 140px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.track i {
  font-size: 30px;
  color: #e67e22; /* Теплый оранжевый для иконок */
  margin-bottom: 10px;
}

.track:hover {
  transform: translateY(-5px);
  background-color: #2c3e50;
}

.courses {
  background-color: #1f1f1f;
  padding: 60px 20px;
}

.course-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.course-card {
  background-color: #2c3e50;
  padding: 25px;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  background-color: #34495e;
}

.course-card h3 {
  color: #16a085;
  margin-bottom: 10px;
}

.course-card p {
  color: #bdc3c7;
  font-size: 15px;
}

.course-card .description {
  margin-top: 10px;
  color: #95a5a6;
  font-size: 14px;
}

.contact {
  background-color: #2c3e50;
  color: white;
  padding: 60px 20px;
}

.contact-form {
  background-color: #34495e;
  color: #ecf0f1;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  margin: auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 2px solid #7f8c8d;
  border-radius: 8px;
  font-size: 15px;
  background-color: #2c3e50;
  color: #ecf0f1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #16a085;
  outline: none;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background-color: #e67e22;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 16px;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #d35400;
}

.course-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: center;
}

.course-selection label {
  font-weight: bold;
  margin-bottom: 5px;
}

.course-label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
}

.course-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.course-option {
  background-color: #16a085;
  color: white;
  padding: 10px 15px;
  border: none;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 180px;
  width: 100%;
  text-align: center;
}

.course-option:hover {
  background-color: #1abc9c;
}

.course-option.selected {
  background-color: #d35400;
}
#whatsappButton {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none;
    z-index: 999;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  #whatsappButton:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
  }

  #whatsappButton i {
    font-size: 28px;
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
  }

textarea {
  resize: none;
}

/* Анимации для шапки */
@keyframes slideIn {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

