body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background-color: #F5F5F5;
  color: #333;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #001f3f;
}
header img {
  height: 50px;
}
nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
}
.hero {
  background: transparent;
  padding: 100px 20px;
  color: black;
  text-align: center;
}
.hero h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
  font-weight: 700;
}
.hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}
.btn {
  background-color: #ffcc00;
  color: black;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.btn:hover {
  background-color: #ffd633;
}
section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
}
h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #001f3f;
  font-weight: 700;
}
ul {
  list-style-type: none;
  padding: 0;
}
ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
}
form.form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
form input, form select, form button {
  padding: 10px;
  font-size: 1em;
  border-radius: 6px;
  border: 1px solid #ccc;
}
form button {
  background-color: #001f3f;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 600;
}
form button:hover {
  background-color: #003366;
}
footer {
  text-align: center;
  padding: 20px;
  background-color: #001f3f;
  color: white;
}
.gallery {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery img {
  flex: 0 0 auto;
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  object-fit: cover;
  scroll-snap-align: start;
  transition: transform 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}


.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card .icon {
  font-size: 2.5em;
  margin-bottom: 10px;
}
.card h3 {
  margin-bottom: 10px;
  font-weight: 700;
  color: #001f3f;
}
.card p {
  font-size: 0.95em;
  color: #444;
}


.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.review {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}
.review .stars {
  font-size: 1.4em;
  color: #f4c150;
  margin-bottom: 10px;
}
.review p {
  font-style: italic;
  margin-bottom: 10px;
}
.review span {
  display: block;
  font-size: 0.9em;
  color: #555;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  position: relative;
}
.modal-content h2 {
  margin-top: 0;
  color: #001f3f;
  text-align: center;
}
.modal-content .form {
  margin-top: 20px;
}
.modal .close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #555;
}


.centered {
  text-align: center;
  margin-top: 30px;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #1B4269;
}

.logo {
  font-size: 1.2em;
  font-weight: bold;
}

.burger {
  font-size: 1.5em;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #F5F5F5;
  font-weight: 500;
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-links {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: #1B4269;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }
}


.logo {
  color: #F5F5F5;
  font-weight: bold;
  font-size: 1.2em;
}


.icon {
  width: 28px;
  height: 28px;
  margin: 0 8px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.icon:hover {
  transform: scale(1.1);
}


/* Центрирование формы */
#contact .form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

#contact .form-wrapper input,
#contact .form-wrapper select,
#contact .form-wrapper button {
  width: 100%;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 25vh;
  overflow: hidden;
  color: white;
  z-index: 1;
}

.hero video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

@media (max-width: 768px) {
  .hero {
    height: 70vh;
    padding: 40px 20px;
  }
}



