html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  background-color: white;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #000033;
  margin-left: 0; /* ВАЖНО: на десктопе - убрать auto */
}

.logo:hover {
  opacity: 0.8; /* лёгкий эффект при наведении */
}

.logo img {
  width: 60px;
  height: auto;
}

html {
  scroll-behavior: smooth;
}

.nav-menu {
  margin-left: auto;
}

.nav-menu ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 15px;
}

.contact-btn {
  margin-left: 30px;
}

.contact-btn a {
  border: 1px solid black;
  padding: 10px 20px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: all 0.3s ease;
}

.contact-btn a:hover {
  background-color: black;
  color: white;
}

section {
  padding: 100px 40px;
  border-bottom: 1px solid #ddd;
}

/*Подвал*/
.footer {
  background-color: #2F4F4F;
  color: #fff;
  padding: 60px 0 20px;
  font-family: Arial, sans-serif;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  border-bottom: 1px solid #333;
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.footer-top h2 {
  font-size: 36px;
  max-width: 50%;
}


.newsletter {
  max-width: 400px;
}

.newsletter p {
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 10px;
  flex: 1;
  background-color: transparent;
  border: 1px solid #aaa;
  color: white;
  min-width: 180px;
}

.newsletter-form button {
  padding: 10px 20px;
  border: 1px solid #aaa;
  background-color: transparent;
  color: white;
  cursor: pointer;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-col h4 {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 10px;
}

.footer-col p {
  margin: 5px 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: #ccc;
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: #ffffff;
  border: 2px solid #00c2cb;
  border-radius: 12px;
  padding: 20px;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 194, 203, 0.05);
}


.service-card:hover {
  background: linear-gradient(145deg, #f4ffff, #ffffff);
  box-shadow: 0 8px 20px rgba(0, 194, 203, 0.25);
  transform: translateY(-5px);
}

/* Заголовок и текст внутри карточки */
.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #001f33;
}

.service-card p {
  font-size: 14px;
  color: #555;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  align-items: stretch; /* Все карточки растягиваются одинаково */
  justify-items: center;
}

.team-member {
  background: #fff;
  border: 2px solid #00c4cc;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px;
  width: 100%;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 196, 204, 0.3);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover; /* Фото всегда аккуратное */
}

.team-member .info {
  padding: 20px 15px;
  text-align: center;
  flex-grow: 1; /* Текст занимает оставшееся место */
}

.team-member h3 {
  font-size: 20px;
  margin: 10px 0 5px;
  color: #001233;
  font-weight: bold;
}

.team-member p {
  font-size: 16px;
  color: #666;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr); /* На планшетах — 2 карточки в ряд */
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr; /* На телефонах — по 1 карточке */
  }
}




/* Блок с цифрами */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  text-align: center;
}


/* Текстовый блок */
.stats-grid, .values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.stat-box, .value-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-box:hover, .value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-box .icon, .value-card .icon {
  font-size: 32px;
  margin-bottom: 12px;
  color: #00c4cc;
}

.stat-box strong {
  font-size: 22px;
  color: #000033;
}

.stat-box p {
  color: #444;
  font-size: 14px;
  margin-top: 6px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000033;
}

.value-card p {
  font-size: 14px;
  color: #444;
}

.section-subtitle {
  font-size: 22px;
  color: #000033;
  margin-top: 40px;
  margin-bottom: 15px;
  border-left: 4px solid #00c4cc;
  padding-left: 10px;
}

.about-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}


.faq-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.faq-image {
  flex: 1;
}

.faq-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.faq-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-items details {
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-items details summary {
  font-size: 18px;
  font-weight: bold;
  list-style: none;
  position: relative;
}

.faq-items details[open] {
  background-color: #f0f9ff; /* Лёгкий голубой для открытых вопросов */
}

/* Плюсик и минусик */
.faq-items details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 22px;
  transition: transform 0.3s ease;
}

.faq-items details[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}


@media (max-width: 768px) {
  .faq-layout {
    flex-direction: column;
  }

  .faq-image,
  .faq-list {
    max-width: 100%;
  }
}
.contact-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.contact-box {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-box img {
  width: 40px;
  height: 40px;
}

.contact-box p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.contact-main {
  display: flex;
  flex-wrap: nowrap; /* запрет переносов */
  gap: 30px;
  align-items: stretch;
  margin-top: 40px;
}

.contact-photo, .contact-form {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Поля формы */
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.contact-form button {
  width: 100%;
  background-color: #00c4cc;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #009aa1;
}

/* Адаптация для телефонов */
@media (max-width: 768px) {
  .contact-main {
    flex-direction: column;
  }
}

.review-slider {
  position: relative;
  background-color: #f6f3f1;
  padding: 40px 30px;
  border-radius: 8px;
  overflow: hidden;
}

.review-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 300%;
}

.review-card {
  flex: 0 0 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 10px 20px;
  font-size: 16px;
  color: #333;
  display: none;
}

.review-card.active {
  opacity: 1;
  display: block;
}

.review-card p {
  font-style: italic;
  margin-bottom: 15px;
}

.review-card strong {
  display: block;
  color: #000033;
}

.review-nav {
  position: absolute;
  bottom: 15px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.review-nav button {
  background: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Бургер */
.mobile-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #000033;
  margin-left: 10px; /* отступ слева */
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    width: 100%;
  }

  .nav-menu.active {
    display: block;
    margin-top: 10px;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .nav-menu ul li {
    padding: 5px 0;
  }

  .navbar-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

.cta-block {
  background-color: #000033;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.cta-inner h2 {
  font-size: 24px;
  margin-bottom: 20px;
}



/* новое цвета */
.review-card {
  background: #eef2ff;
  border-left: 4px solid #00c4cc;
}
section {
  padding: 60px 0;
  background-color: #f8f9fb;
}

section:nth-child(even) {
  background-color: white;
}
.section-title {
  color: #000033;
  border-bottom: 2px solid #00c4cc;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 25px;
}


.stat-box, .value-card {
  background: #ffffff;
  border: 2px solid #00c4cc; /* Голубая рамка */
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Эффект при наведении */
.stat-box:hover, .value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Иконка в карточке */
.stat-box .icon, .value-card .icon {
  font-size: 40px;
  margin-bottom: 12px;
  color: #00c4cc;
}

/* Заголовок в карточке */
.stat-box strong, .value-card h3 {
  font-size: 20px;
  color: #000033;
  margin-bottom: 8px;
}

/* Подписи */
.stat-box p, .value-card p {
  font-size: 14px;
  color: #666;
}

.cta-section {
  background: #f8f9fb;
  padding: 60px 20px;
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text {
  flex: 1 1 500px;
}

.cta-text h1 {
  font-size: 32px;
  color: #011e41;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-text p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #444;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00c9d0;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  margin-bottom: 20px;
}

.cta-list {
  list-style: none;
  padding: 0;
  color: #222;
  font-size: 15px;
}

.cta-list li {
  margin-bottom: 8px;
}

.cta-image {
  flex: 1 1 500px;
  text-align: center;
}

.cta-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Mobile */
@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-text h1 {
    font-size: 26px;
  }

  .cta-button {
    width: 100%;
  }
}


/* Заголовки */
.section-title,
.section-subtitle {
  text-align: center;
  color: #002b45;
  margin-bottom: 20px;
}

.section-title {
  font-size: 32px;
}

.section-subtitle {
  font-size: 26px;
  position: relative;
}

.section-subtitle::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #00c2cb;
  margin: 10px auto 0;
  border-radius: 3px;
}

/* Текст под заголовком */
.about-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

/* Сетка статистики */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-box {
  background: linear-gradient(145deg, #ffffff, #f1faff);
  border: 2px solid #00c2cb;
  border-radius: 12px;
  text-align: center;
  padding: 25px 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 194, 203, 0.25);
}

.stat-box strong {
  font-size: 24px;
  display: block;
  color: #001f33;
  margin-bottom: 5px;
}

.stat-box p {
  font-size: 14px;
  color: #555;
}

/* Ценности */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.value-card {
  background: #fff;
  border: 2px solid #00c2cb;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  background-color: #f0fcfc;
  box-shadow: 0 6px 12px rgba(0, 194, 203, 0.15);
}

.value-card h3 {
  font-size: 18px;
  color: #001f33;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: #555;
}

/* Иконки — можно позже заменить настоящими */
.icon {
  width: 40px;
  height: 40px;
  background-color: #00c2cb;
  border-radius: 50%;
  margin: 0 auto 15px;
}
