body {
  font-family: 'Inter', serif;
  font-optical-sizing: auto;
  font-style: normal;
  position: relative;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.welcome-top {
  padding: 0 12px 18px 12px;
}

.welcome-title {
  font-size: 24px;
  line-height: 24px;
  color: #f14635;
  margin-bottom: 18px;
  margin-top: 24px;
  font-weight: 700;
  text-align: center;
}

.welcome-bottom {
    overflow: hidden; /* Забезпечує правильне відображення при використанні float */
}

.video-overlay {
    position: relative;
    max-width: 100%;
    display: inline-block;
    width: 100%;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.video-play-btn:hover {
    opacity: 0.8;
}

.video-play-btn svg circle {
    transition: opacity 0.3s ease;
}

.video-play-btn:hover svg circle {
    opacity: 1 !important;
}

.responsive-img {
    max-width: 100%; /* Зображення не перевищує ширину контейнера */
    height: auto;   /* Пропорційно змінює висоту */
    max-height: 600px; /* Зменшуємо максимальну висоту */
    display: block; /* Прибираємо зайві відступи навколо зображення */
    margin: 0 auto; /* Центруємо зображення */
}

.welcome-description {
  font-size: 27px;
  line-height: 29px;
  font-weight: 500;
  text-align: center;
}

.welcome-description:not(:last-child) {
  margin-bottom: 16px;
}

.welcome-description span {
  color: #f14635;
}

.header {
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Кнопка меню */
.menu-toggle {
  position: relative;
  font-size: 18px;
  background: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin: 10px;
  border-radius: 5px;
}

/* Скрытое меню по умолчанию */
.dropdown-menu {
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  color: #000;
  transition: max-height 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: absolute;
  width: 100%;
  top: 56px;
}

.dropdown-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-menu li {
  border-bottom: 1px solid #444;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  text-decoration: none;
  color: #000;
  padding: 10px 15px;
  transition: background-color 0.3s;
}

.dropdown-menu a:hover {
  background-color: #f14635;
  color: #000;
}

.header-button {
  display: flex;
  align-items: center;
}

#nav-icon1,
#nav-icon2,
#nav-icon3,
#nav-icon4 {
  width: 24px;
  height: 24px;
  position: relative;
  margin-right: 16px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

#nav-icon1 span,
#nav-icon3 span,
#nav-icon4 span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #000;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

#nav-icon3 span:nth-child(1) {
  top: 0px;
}

#nav-icon3 span:nth-child(2),
#nav-icon3 span:nth-child(3) {
  top: 8px;
}

#nav-icon3 span:nth-child(4) {
  top: 16px;
}

#nav-icon3.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#nav-icon3.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

/* Активное меню */
.dropdown-menu.open {
  max-height: 300px; /* Задайте максимальную высоту для раскрытого меню */
}

.form-section {
  padding: 20px 14px 0 14px;
}

.advantages {
  padding: 40px 14px 0 14px;
}

.advantages-text {
  font-size: 20px;
  line-height: 22px;
  color: #f14635;
  margin-bottom: 12px;
  text-align: center;
}

.advantages-title {
  font-size: 27px;
  line-height: 30px;
  margin-bottom: 12px;
}

.advantages-title span {
  color: #f14635;
}

.advantages-list {
  display: flex;
  flex-direction: column;
}

.advantages-item {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px 14px;
  margin-bottom: 12px;
  box-shadow: 0px 1px 10px 1px rgba(0, 0, 0, 0.2);
  border: 1px solid #f5f5f5;
}

.advantages-icon {
  margin-bottom: 18px;
  max-width: 50px;
}


.advantages-item-title {
  font-size: 30px;
  line-height: 32px;
  font-weight: 500;
}

.advantages-item-text {
  font-size: 16px;
  line-height: 20px;
}

.steps {
  padding: 40px 14px 0 14px;
}

.steps-text {
  font-size: 20px;
  line-height: 22px;
  color: #f14635;
  margin-bottom: 12px;
  text-align: center;
}

.steps-title {
  font-size: 27px;
  line-height: 30px;
  margin-bottom: 12px;
}

.steps-list {
  display: flex;
  flex-direction: column;
}

.steps-item {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px 14px;
  margin-bottom: 12px;
  box-shadow: 0px 1px 10px 1px rgba(0, 0, 0, 0.2);
  border: 1px solid #f5f5f5;
}

.steps-item-count {
  font-size: 36px;
  line-height: 40px;
  font-weight: 500;
  color: #f14635;
}

.steps-item-title {
  font-size: 30px;
  line-height: 34px;
  font-weight: 500;
  margin-bottom: 18px;
}

.steps-item-text {
  font-size: 16px;
  line-height: 20px;
}

.calculator-title {
  text-align: center;
  font-weight: 500;
  font-size: 27px;
  font-weight: 30px;
  padding: 0 14px;
}

.calculator {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.slider-group {
  margin-bottom: 40px;
  text-align: left;
}

.slider-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.slider-group input[type='range'] {
  width: 100%;
  margin: 10px 0;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #e0e0e0;
  outline: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.slider-group input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: #f14635;
  border-radius: 50%;
  cursor: pointer;
}

.slider-values {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
}

.result {
  font-weight: 400;
  font-weight: 12px;
  text-align: left;
}

.profit-summary {
  padding: 40px 0;
  
  box-sizing: border-box;
  margin: 24px 14px 0 14px;
}

.profit-summary-container {
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}

.profit-summary-logo {
  margin: 0 auto 24px auto;
  display: flex;
}

.profit-summary-title {
  font-size: 24px;
  line-height: 26px;
  text-align: center;
  margin-bottom: 18px;
}

.profit-summary-count {
  font-size: 30px;
  line-height: 34px;
  text-align: center;
  margin-bottom: 24px;
}

.profit-summary-description {
  font-size: 16px;
  line-height: 18px;
  text-align: center;
  margin-bottom: 36px;
}

.profit-summary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  color: #fff !important;
  font-size: 16px;
  line-height: 18px;
  border: none;
  border-radius: 4px;
  background-color: #f14635;
  cursor: pointer;
  transition: 0.3s all;
  text-decoration: none;
}

.profit-summary-button:hover {
  background-color: #e85548 !important;
  border-color: #dd2f1f !important;
}

.success-history {
  padding: 40px 14px 0 14px;
}

.success-history-text {
  font-size: 22px;
  line-height: 22px;
  color: #f14635;
  margin-bottom: 12px;
  text-align: center;
}

.success-history-title {
  font-size: 27px;
  line-height: 30px;
  font-weight: 500;
  margin-bottom: 12px;
}

.success-history-title span {
  color: #f14635;
}

.success-history-list {
  display: flex;
  flex-direction: column;
}

.success-history-item {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px 14px;
  margin-bottom: 12px;
  box-shadow: 0px 1px 10px 1px rgba(0, 0, 0, 0.2);
  border: 1px solid #f5f5f5;
}

.success-history-item-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.success-history-item-image {
  max-width: 140px;
  max-height: 140px;
  height: 140px;
  width: 140px;
  border-radius: 50%;
  border: 2px solid #f14635;
  margin-right: 24px;
  margin: 0 auto 16px auto;
  object-fit: cover;
}

.success-history-item-name {
  font-size: 20px;
  line-height: 24px;
  color: #666;
  text-align: center;
}

.success-history-item-text {
  text-align: center;
}

.join-form {
  text-align: center;
  padding: 40px 14px 24px 14px;
  overflow-x: hidden;
}

.join-form-text {
  font-size: 20px;
  line-height: 22px;
  color: #f14635;
  margin-bottom: 12px;
}

.join-form-title {
  font-size: 27px;
  line-height: 30px;
  font-weight: 500;
  margin-bottom: 12px;
}

.join-form-title span {
  color: #f14635;
}

.join-form-desc {
  font-size: 17px;
  line-height: 20px;
  margin-bottom: 16px;
}

.join-form-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.join-form-note {
  font-size: 12px;
  line-height: 14px;
  font-weight: 500;
}

.map {
  width: 100%;
}

.map iframe {
  width: 100%;
  height: 300px;
}

.footer {
  background-color: #000;
  color: #fff;
  padding: 40px 14px;
}

.footer-address {
  font-size: 24px;
  line-height: 28px;
  margin-bottom: 50px;
}

.footer-links {
  margin-bottom: 40px;
}

.footer-link {
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 18px;
  cursor: pointer;
}

.footer-link a {
  color: #fff;
  text-decoration: none;
}

.footer-info {
  font-size: 15px;
  line-height: 18px;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(168 168 168 / 70%);
  z-index: 4000;
}
