/* === Общие стили === */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: white;
  color: #333;

}
html {
  scroll-behavior: smooth;
}

.team-carousel {
  color: #A78CE2;
  text-align: center;
  padding: 40px 20px;
  margin-top: 50px;
  border-radius: 10px;
}

.team-carousel h2 {
  font-size: 28px;
  margin-bottom: 20px;
}



/* Секция с курсами */
.cta {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
}


/* === Хедер и навигация === */
header {
  background-color: white;
  padding: 15px 20px;
  color: white;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header-container h1 {
  margin: 0 auto;
  font-size: 36px;
  text-align: center;
  flex: 1;
}


button,
input[type="submit"],
.btn,
.form-page button {
  background-color: #A78CE2; /* зелёный */
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover,
input[type="submit"]:hover,
.btn:hover,
.form-page button:hover {
  background-color: #A78CE2; /* тёмно-зелёный при наведении */
}

.btn {
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 5px;
  text-decoration: none;
}

/* === Секции === */
.hero {
  text-align: center;
  padding: 50px 0;
}

.hero h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* === Карточки (например, преимущества) === */
.features {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

.card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  width: 30%;
}

.card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
}

/* === Призыв к действию === */
.cta {
  color: #A78CE2;
  text-align: center;
  padding: 40px 20px;
  margin-top: 50px;
  border-radius: 10px;
}

.cta h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* === Подвал === */
footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: white;
}

footer p {
  font-size: 16px;
}

footer a {
  font-size: 16px;
}

footer h4 {
  font-size: 23px;
}

/* === Страница формы === */
.form-page {
  max-width: 400px;
  margin: 80px auto;
  padding: 30px 20px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.form-page h2 {
  margin-bottom: 24px;
  font-size: 28px;
  color: #2b2b2b;
}

.form-page input[type="text"],
.form-page input[type="email"],
.form-page input[type="password"]{
  width: 100%;
  padding: 12px;
  margin: 8px 0 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 16px;
}
.form-page select {
  width: 100%;
  padding: 12px;
  margin: 8px 0 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 16px;
  background-color: white;
  appearance: none; /* Убирает стандартные стрелки в некоторых браузерах */
}
.form-page select option.placeholder-option {
  color: #888888; /* светло-серый или любой нужный цвет */
}



.form-page label {
  display: inline-block;
  margin: 0 10px 20px;
  font-weight: 500;
  font-size: 16px;
}

.form-page a {
  color: #A78CE2;
  text-decoration: none;
}

.form-page a:hover {
  text-decoration: underline;
}

.form-page p {
  margin-top: 16px;
  font-size: 15px;
}

footer {
  background-color: white;
  color: black;
  padding: 2em 1em;
  border-top: 4px solid white;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 200px;
  margin: 1em;
}

.footer-section a {
  color: black;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.nav-links {
    display: flex;
    gap: 25px;
    margin-right: auto;
  }

  .nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
    white-space: nowrap;
  }

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

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }