
header {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: -10px 2em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Легкая тень для выделения */
    background-color: #ffffff;
     z-index: 500; /* Убедитесь, что header поверх остальных элементов */
}




.logo span {
    font-family: "Stencil", sans-serif;
    font-size: 30px;
    color: #005f99;
    margin-left: -10px;
}

.iconbot {
   width: 50px;
   height: 50px;
   margin-bottom: 6px;
   padding-left: 150px;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 1em;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

/* Секция контактов */
.header-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.phone {
    display: flex;
    align-items: center;
}

.phone img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.phone-number {
    font-family: "BankGothic Md BT", sans-serif;
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin-right: 30px;
}

.contact-button .cta-button {
    padding: 10px 20px;
    border-radius: 25px; /* Закругленные углы */
    background-color: #005f99;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    font-weight: bold;
    margin-right: 70px;
}

.contact-button .cta-button:hover {
    transform: scale(1.05); /* Легкое увеличение кнопки при наведении */
}

.btn-request {
    background-color: #005f99;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-request:hover {
    background-color: #005f99;
    transform: scale(1.05);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 15px;
    width: 20%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    margin-bottom: 20px;
    text-align: center;
}

.modal-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.modal-content input,
.modal-content textarea {
    width: 95%;
    padding: 6px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 30px;
}

.btn-submit {
    background-color: #005f99;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #005f99;
}

.contact-info {
    display: flex; /* Располагаем элементы в строку */
    align-items: center; /* Выравниваем элементы по центру */
    font-family: "BankGothic Lt BT"; /* Шрифт для номера телефона */
    font-size: 18px; /* Размер шрифта */
    color: black; /* Синий цвет текста */
}

.phone-icon {
    width: 35px;
    height: 35px;
    margin-right: 10px; /* Отступ между иконкой и номером телефона */
}

.hero-section {
    font-family: "Bahnschrift Condense", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;

}

.hero-text h1 {
    font-family: "HP Simplified", sans-serif;
    font-size: 45px;
    color: black;

}

.hero-text p {
    font-family: "HP Simplified", sans-serif;
    font-size: 20px;
    color: black;

}

.hero-image {
    max-width: 70%;
    height: auto;
    margin-left: 20px;
    margin-top: 100px;
}

.telegram-button {
    margin: 2px -2px;
    text-align: left;
}

.btn-telegram {
    display: inline-flex;
    align-items: center;
    background-color: #005f99;
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-telegram img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.btn-telegram:hover {
    background-color: #005f99;
    transform: scale(1.05);
    text-decoration: none;
}

.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px 0;
    margin-bottom: 70px;
}

.feature h3 {
    color: #333;
}

.feature-box {
    font-family: "HP Simplified", sans-serif;
    border: 2px solid #005f99; /* Синий контур */
    background-color: white;
    border-radius: 10px;       /* Скругленные углы */
    padding: 10px;
    text-align: center;
    width: 15%;               /* Ширина блока */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень */
    transition: transform 0.3s ease; /* Анимация при наведении */
}

.feature-box:hover {
    transform: scale(1.05); /* Увеличение при наведении */
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.feature-text {
    font-family: "HP Simplified", sans-serif;
    font-size: 16px;
    color: #000;
    margin: 0;
}

.section2-title {
    font-family: "HP Simplified", sans-serif;
    font-size: 30px;
    align-items: center;
    text-align: center;
    color: #333333;
    margin-bottom: 20px;
}

.section2-title span {
    color: #005f99;
    font-style: italic;
}

.section2-description {
    font-family: "HP Simplified", sans-serif;
    font-size: 14px;
    align-items: center;
    text-align: center;
    color: #333333;
    margin-bottom: 5px;
}

.section2-description2 {
    font-family: "HP Simplified", sans-serif;
    font-size: 14px;
    align-items: center;
    text-align: center;
    color: #333333;
    margin-bottom: 30px;
}


/* Макет для размещения блоков и SVG */
.section2-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.info-block {
  border: 2px solid #005f99; /* Синий контур */
  width: 20%;
  padding: 10px;
  text-align: center;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.info-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.block-icon {
  width: 25px;
  height: 25px;
  margin-bottom: -7px;
}

.info-block h3 {
  font-family: "HP Simplified", sans-serif;
  font-size: 16px;
  margin-bottom: 10px;
  color: #005f99;
}

.info-block p {
  font-family: "HP Simplified", sans-serif;
  font-size: 14px;
  text-align: left;
  line-height: 1.5;
}

.svg-container {
  text-align: center;
  flex-shrink: 0;
}

.centered-svg {
  width: 250px;
  height: auto;
}

/* Для нижнего блока */
.info-block-bottom {
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 20%;
  margin-bottom: 40px;


}

/* Основной стиль для секции 3 */
.section3 {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.section3-title {     /*текст главный*/
  font-family: "HP Simplified", sans-serif;
  font-size: 32px;
  text-align: center;
  margin-right: 400px;
  margin-bottom: 20px;
}

.section3-title span {
  color: #005f99;
  font-style: italic;
}

.section3-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 300px;
}

.section3-text-blocks {
  font-family: "HP Simplified", sans-serif;
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.function-row {
  display: flex;
  justify-content:center;
  gap: 50px;
  margin-top: 50px;
}

.function-block {
    margin-top: -15px;
    border: 2px solid #005f99; /* Синий контур */
    background-color: white;
    border-radius: 10px;       /* Скругленные углы */
    text-align: center;
    width: 24%;               /* Ширина блока */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.function-block:hover {
    transform: translateY(-4px); /* Блок поднимается вверх при наведении */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.function-icon {
    width: 25px;
    height: 25px;
}

.function-text h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #005f99;

}

.function-text p {
    font-family: "HP Simplified", sans-serif;
    margin: 0;
    font-size: 13px;
    color: #666666;
}

/* Стиль для изображения справа */

.section3-image {
    flex: 1;
    display: flex;
    justify-content: space-between;
    margin-left: -420px;
    align-items: center;
}

.function-image {
    height: 500px;
    margin-bottom: 80px;
}



/* Стили для section4 */
.section4 {
  background-color: #f9f9f9;
  padding: 60px 200px;
  text-align: center;
}

.section4-title {
  font-family: "HP Simplified", sans-serif;
  font-size: 36px;
  color: #333;
  margin-bottom: 100px;
}

.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #005f99;
  z-index: 0;
}

.step {
  position: relative;
  width: 20%;
  text-align: center;
  z-index: 1;
}


.step-title {
   font-family: "HP Simplified", sans-serif;
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
}

.step-description {
  font-family: "HP Simplified", sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  padding: 0 10px;
}

/* Анимация волны */
@keyframes wave {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Анимация пульсации */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.circle-container {
  position: relative;
  display: inline-block;
}

.circle {
  width: 25px;
  height: 25px;
  margin: 0 auto 20px;
  background: #fff;
  color: #005f99;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid #005f99;
  border-radius: 50%;
  font-weight: bold;
  z-index: 2;
  animation: pulse 1.5s infinite ease-in-out;
}

/* Внешний круг для волны */
.circle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -7px;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 35px;
  height: 35px;
  border: 3px solid rgba(0, 123, 255, 0.5);
  border-radius: 50%;
  z-index: 1;
  animation: wave 1.5s infinite ease-in;
}


/* Общий стиль для секции section5 */
#section5 {
  padding: 60px 20px;
}

.section5-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section5-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.section5-header p {
  font-family: "HP Simplified", sans-serif;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.section5-prices {
  font-family: "HP Simplified", sans-serif;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Карточки цен */
.price-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}


.price-icon .circle img {
  width: 40px;
  height: 40px;
}

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

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
}

.price-card ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
}

.price-card ul li:before {
  content: '✔️';
  position: absolute;
  left: 0;
  top: 0;
  color: #007bff;
  font-size: 18px;
}

.price-footer {
  text-align: center;
}

.price-footer span {
  display: block;
  font-size: 14px;
  color: #333;
}

.price-footer .btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.price-footer .btn:hover {
  background: #0056b3;
}


/* Стиль кнопки Support */
.support-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #007bff; /* Синий цвет */
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(3, 43, 250, 0.58);
    cursor: pointer;
    z-index: 1000;
    animation: pulse 2s infinite;
}

/* Анимация пульсации */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Контейнер модальной формы */
.support-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Окно формы */
.support-form {
    background-color: white;
    padding: 20px;
    width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.7);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

/* Заголовок формы */
.support-form h2 {
    font-family: "HP Simplified", sans-serif;
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

/* Поля ввода */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    margin: 1% auto;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 13px;
    outline: #005f99;
    transition: border-bottom-color 0.3s ease;
}

/* Кнопка отправки */
.send-button {
    font-family: "HP Simplified", sans-serif;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* При фокусе на поле */
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #007bff; /* Синий цвет рамки при фокусе */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Подсветка */
    outline: none; /* Убирает стандартное выделение */
}

/* Кнопка закрытия */
.close-button {
    font-family: "HP Simplified", sans-serif;
    display: block;
    margin-top: 10px;
    padding: 10px;
    background-color: #dd1d07;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

/* Скрытие модальной формы */
.hidden {
    display: none;
}

.footer-section {
    background-color: #f9f9f9;
    padding: 30px 20px;
    border-top: 1px solid #ddd;
}

.footer-container {
    font-family: "HP Simplified", sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 500px;
}

.footer-left {
    font-family: "Stencil", sans-serif;
    flex: 1;
}

.footer-logo {
    font-size: 20px;
    color: #007bff;
    margin-bottom: 10px;
}

.footer-left p {
    font-family: "HP Simplified", sans-serif;
    margin: 5px 0;
    color: #666;
}

.footer-left a {
    color: #007bff;
    text-decoration: none;
}

.footer-right {
    flex: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}



.footer-contacts {
    text-align: right;
}
.footer-contacts h1 {
    font-size: 15px;
    margin-right: 40px;
}

.footer-contacts strong {
    font-size: 16px;
    color: #333;
}

.footer-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-icons img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
 }

/* Стили для модального окна подтверждения */
.modal2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.modal-content2 {
    background: white;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 300px;
    border-radius: 10px;
    animation: fadeIn 0.3s ease-out;
    font-weight: bold;
    font-family: "Arial", sans-serif;
}

.modal-content2 button {
        background-color: #005f99;
        color: white;
        border: none;
        border-radius: 20px;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

.modal-content2 button:hover {
        background-color: #007bff;
    }

.modal2 {
        opacity: 1;
        transition: opacity 0.3s ease;
    }

.modal.hidden {
        opacity: 0;
        pointer-events: none;
    }


/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Анимация галочки */
.checkmark-container2 {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.checkmark2 {
    width: 50px;
    height: 50px;
}

.circle2 {
    stroke: #02a608;
    stroke-width: 2;
    animation: fadeIn 0.3s ease-out;
}

.check2 {
    stroke: #02a608;
    stroke-width: 3;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: draw 0.5s ease-out forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}