/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Шапка */
.header {
  background-color: #5cb3d2; /* Цвет шапки */
  color: white;
  padding: 20px 0;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-slogan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.slogan {
  font-style: italic;
  margin-top: 5px;
}

.contact-info {
  text-align: right;
  white-space: nowrap;
  margin-left: 20px;
}

/* Баннер */
.banner-image {
  max-width: 200px; /* Устанавливаем максимальную ширину баннера */
  height: auto;
}

/* Контейнер для баннера */
.banner-container {
  display: flex;
  justify-content: center; /* Центрируем баннер по горизонтали */
  align-items: center;
  margin: 0 20px; /* Отступы слева и справа */
}

/* Меню навигации */
.main-nav {
  text-align: center;
  margin-top: 15px;
}

.main-nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 1px solid white;
  padding: 8px 16px;
  border-radius: 20px;
}

.main-nav a:hover {
  background-color: #5cb3d2 !important;
  color: white !important;
  border-color: #5cb3d2 !important;
}

/* Вступительный текст */
.intro {
  background: white;
  padding: 40px 20px;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.intro-content {
  max-width: 800px;
  margin: auto;
}

.intro h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #007acc;
}

/* Карточки направлений */
.directions {
  padding: 40px 20px;
}

.directions h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #007acc;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.card {
  background-color: white;
  border: 1px solid #ddd;
  padding: 20px;
  width: 300px;
  text-align: left;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #333;
}

.card .emoji {
  font-size: 24px;
  margin-right: 10px;
}

.card h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  color: #007acc;
  font-size: 18px;
}

.card p {
  font-size: 14px;
  line-height: 1.5;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Форма обратной связи */
.contact-form {
  background-color: #fff;
  padding: 40px 20px;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #007acc;
}

.contact-form input {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.contact-form button {
  padding: 12px 25px;
  background-color: #007acc;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 25px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #005f99;
}

#formMessage {
  margin-top: 10px;
  color: green;
  text-align: center;
}

/* Подвал */
.footer {
  background-color: #eee;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}
/* === Информация о нас === */
.about-us {
  background-color: white;
  padding: 40px 20px;
  margin: 40px 0;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-us h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #007acc;
}

.about-us p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 800px;
  margin: auto;
}

/* === Карта === */
.map-section {
  background-color: white;
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin: 40px 0;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #007acc;
}

.map {
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 10px;
}