html {
    scroll-behavior: smooth;
}

.form-section {
    margin: 50px 0 !important;
}


.form-section .advantages-title {
    font-size: 1.8rem;
}

.form-section,
.form-section .form-wrapper,
.form-section .form-wrapper .input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.form-section .form-wrapper {
    width: 100%;
    gap: 15px;
    /* padding: 50px 30px; */
    box-sizing: border-box;
    /* background: #de1a1a; */
}

.form-section .form-wrapper .form-title {
    font-size: 34px;
    margin-bottom: 15px;
    margin-top: 0;
    color: white;
    text-align: center;
}

.form-section .form-wrapper .input-wrapper {
    width: 100%;
    max-width: 500px;
    gap: 3px !important;
}

form .input_wrapper .input-group small {
    color: white;
    text-align: left !important;
    width: 100%;
    display: block;
}

.form-section .form-wrapper .input-wrapper input {
    width: 100%;
    height: 50px;
    padding: 11px 15px;
    border: 0;
    font-size: 16px;
    box-sizing: border-box;
    background: white;
    /* border-radius: 0.5rem; */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-section .form-wrapper .input-wrapper input[type="tel"] {
    width: 100%;
    padding-left: 100px !important;
}

.form-section .form-wrapper .submit_btn {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    height: 50px;
    padding: 11px 16px;
    display: flex;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #2563eb;
    color: white;
    /* border-radius: 0.5rem; */
}

.form_message.error.inactive,
.form_message.success.inactive {
    display: none;
}

.form_message.error.active,
.form_message.success.active {
    display: block !important;
}

.form_message {
    width: 100%;
    min-height: 50px;
    align-content: center;
    box-sizing: border-box;
    padding: 11px 15px !important;
    font-size: 16px !important;
    max-width: 500px;
    /* border-radius: 0.5rem; */
    margin-top: 15px
}

.form_message.error {
    background-color: #ff7f7f;
    border: 2px dashed #ce0909;
    color: #fff;
}

.form_message.success {
    background-color: #d4ffe0;
    border: 2px dashed #1f6b34;
    color: #000;
}

.iti {
    width: 100%;
    margin-bottom: unset;
}

.iti__selected-flag {
    padding: 11px 15px;
    /* border-radius: 0.5rem 0 0 0.5rem; */
}

/* .iti__country-name,
.iti__selected-flag,
.iti__dial-code {
    font-size: 16px;
} */

.iti__flag-container {
    padding: unset !important;
}

.iti-mobile .iti__country-list {
    box-sizing: border-box;
    max-width: 90%;
}

.submit_btn {
    margin-top: 20px;
}

.right-text-wrapper {
    color: white;
    font-weight: 700;
    font-size: 18px;
    background: #0000008c;
    padding: 10px 15px;
    box-sizing: border-box;
}

.intro .container .right-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.container.advantages {
    max-width: 1500px;
}

.countdown-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #ff4d4d;
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.7);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#countdown {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(180deg, #2a0000, #0f0000);
    border: 3px solid #ff1a1a;
    border-radius: 16px;
    color: #ff4d4d;
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Orbitron', 'Arial', sans-serif;
    letter-spacing: 4px;
    text-shadow: 0 0 12px #ff4d4d, 0 0 25px #ff1a1a, 0 0 45px rgba(255, 26, 26, 0.8);
    box-shadow: inset 0 0 20px rgba(255, 26, 26, 0.5), 0 0 35px rgba(255, 26, 26, 0.9), 0 0 60px rgba(200, 0, 0, 0.6);
}

@keyframes pulse-red {
    from {
        transform: scale(1);
        box-shadow: inset 0 0 20px rgba(255, 26, 26, 0.5), 0 0 35px rgba(255, 26, 26, 0.9);
    }

    to {
        transform: scale(1.08);
        box-shadow: inset 0 0 30px rgba(255, 26, 26, 0.8), 0 0 55px rgba(255, 26, 26, 1), 0 0 80px rgba(200, 0, 0, 0.9);
    }
}

.pillars-block,
section.calculator {
    padding: 60px 150px;
}

.pillars-container {
    position: relative;
    overflow: hidden;
}

.pillars-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.pillars-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.pillars-container .container {
    position: relative;
    z-index: 2;
}

.benefits {
  position: relative;
  overflow: hidden;
}

.benefits-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Контент поверх видео */
.benefits .container {
  position: relative;
  z-index: 2;
}

.benefits::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.pillars-container .container {
    padding-left: unset;
    padding-right: unset;
}

.pillars-bg-video {
    background: url("../images/pillars-bg-poster-1.png") center / cover no-repeat;
}

.pillars-text-container .text-wrapper {
    text-align: center;
}

.pillars-text-container .text-wrapper p {
    text-align: center;
}

.pillars-block {
    width: 100%;
}

.pillars-block .swiper-pillars {
    width: 100%;
}

.pillars-block h2,
.pillars-container .swiper-pillars {
    margin-bottom: 20px;
}

.logo.footer-logo {
    margin-bottom: 10px;
}

/* .pillars-container {
    background-image: url("../images/Advancing_Human_Spaceflight_Desktop_61c8ba1c67.png");
    background-position: center;
    background-size: cover;
    position: relative;
} */

.pillars-container .container {
    position: relative;
    z-index: 3;
}

.container.bottom-form,
.dov-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-form {
    padding: 60px 150px;
}

form[name="calculator"] {
    max-width: 100%;
}

.black-background-gradient-left {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .8) 100%);
    z-index: 2;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
}

.section.partners {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px 150px;
    padding-top: unset;
}

.section.partners .swiperPartner {
    width: 100%;
    padding: 0 30px;
    padding-bottom: 40px;
}

.bottom-form .container {
    align-items: center;
    justify-content: center;
}

.swiper-pagination {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 12px;
}

.swiper-pagination-bullet {
    background: #eaeaea;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease-in-out;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #fff;
    width: 12px;
    height: 12px;
}

.benefits .advantages h2 {
    margin: unset !important;
    width: 100%;
    max-width: 100%;
}

.notify-container {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notify {
    background: #47a01e;
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 0.5rem;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 260px;
    max-width: 320px;
    display: none;
}

.notify strong {
    font-weight: 700;
}

.notify .city {
    opacity: 0.9;
}

.notify .amount {
    font-weight: 700;
}

.intro .container .right-container .title-first {
    text-align: center;
    font-size: 36px;
    line-height: 44px;
}

.partn-wrap {
	position: relative;
	overflow: hidden;
}

.partn-wrap video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: bottom center;
	z-index: 0;
}

.partn-wrap section {
	position: relative;
	z-index: 2;
}

.partn-wrap::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.6);
	z-index: 1;
}

@media (min-width: 1200px) {
    .intro .container .right-container .title-first {
        display: none;
    }
}

@media (min-width: 1301px) {
    .swiper-pillars .swiper-pagination {
        display: none;
    }
}

@media (max-width: 1500px) {
    .section.partners {
        padding: 50px 100px;
    }
}

@media (max-width: 1300px) {
    .section.partners {
        padding: 50px 30px;
    }

    .pillars-container .swiper-pillars {
        overflow: hidden;
        padding-bottom: 40px;
    }
}

@media (max-width: 1200px) {
    .pillars-container {
        background-position: left;
    }

    .intro .formm_wrapper .title-first {
        display: none;
    }

    .intro .container {
        flex-direction: column-reverse;
    }
}

@media (max-width: 1000px) {
    .section.partners .swiperPartner .swiper-slide img {
        max-width: 220px;
    }

    .section.partners {
        padding: 50px 0;
    }
}

@media (max-width: 800px) {
    .bottom-form {
        padding: 50px 0;
    }

    .intro .container,
    .pillars-block,
    section.calculator {
        padding: 50px 80px;
    }

    .slider-labels {
        font-size: 18px;
    }

    .slider-labels {
        font-size: 16px;
    }
}

@media (max-width: 700px) {
    .intro .container {
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .intro .container .right-container .title-first {
        font-size: 32px;
        line-height: 38px;
    }

    .intro .container,
    .pillars-block,
    section.calculator {
        padding: 50px 30px;
    }
}

@media (max-width: 480px) {

    .form_message,
    .iti__selected-dial-code,
    .form-section .form-wrapper .input-wrapper input {
        font-size: 14px;
    }

    .intro .container,
    .pillars-block,
    section.calculator {
        padding: 50px 15px;
    }
}

/* ============================== FROM ORIG ============================== */
.error-border {
    border: dashed 1px #ce0909;
}

p.error-msg {
    margin: 0;
    color: #ce0909;
    padding: 5px 0 0;
    font-size: 12px;
    font-style: italic;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    -webkit-animation-name: fadeIn;
    /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;
}

.modal-content {
    position: fixed;
    left: 50%;
    top: 20%;
    transform: translate(-50%, 0);
    background-color: #fefefe;
    max-width: 400px;
    min-height: 300px;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #ff1838;
    color: white;
}

.modal-body {
    padding: 16px;
    text-align: center;
}

/* Add Animation */
@-webkit-keyframes slideIn {
    from {
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* preloader */
.preloader {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: #fbfbfb url("../index/tenor.gif") no-repeat center center;
    opacity: 1;
    transition: opacity 2s linear;
}

.preloader-visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 2s linear;
}

.preloader-hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 2s, opacity 2s linear;
}

.error-border {
    border: dashed 1px #ce0909;
}

p.error-msg {
    margin: 0;
    color: #ce0909;
    padding: 5px 0;
    font-size: 18px;
    font-weight: 600;
    font-style: italic;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    -webkit-animation-name: fadeIn;
    /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
}

.modal-content {
    position: fixed;
    left: 50%;
    top: 20%;
    transform: translate(-50%, 0);
    background-color: #fefefe;
    max-width: 400px;
    min-height: 300px;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #ff1838;
    color: white;
}

.modal-body {
    padding: 16px;
    text-align: center;
}

.custom_form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.form-control {
    margin: 15px 0;
}

.checkbox-wrap {
    margin: 10px 0;
}

/* Add Animation */
@-webkit-keyframes slideIn {
    from {
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@keyframes slideIn {
    from {
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}