body {
  line-height: 1.5;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  font-family: 'Montserrat', system-ui, sans-serif;
  background: #fff;
  color: #000;
}
.--orange{
    color: #F7A500;
}

.main{
    padding: 50px 0;
}
.container{
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
.title{
    font-weight: 800;
    font-size: 25px;
    line-height: 120%;
}
.subtitle{
    font-weight: 400;
    font-size: 20px;
    line-height: 156%;
}


/* header */

.header{
  position: sticky;
  top:0;
  z-index:1000;
}
.header-counter{
    background-color: #C50000;
    text-align: center;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    color: #FFFFFF;
    padding: 5px 0;
}
.header--primary{
    box-shadow: 0px 4px 10px 0px #00000017;
    display: none;
    background:white;
}
.header--primary_logo{
    margin: 0 auto;
    max-width: 237px;
    padding: 15px 0;

}
.header--primary_logo img{
    width: 100%;
    height: auto;
}


/* first-screen */
.first-screen_inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 53PX;
    
}



.first-screen {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}
.first-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}
.first-screen.fade-in {
  opacity: 1;
}

.first-screen_title{
    font-weight: 800;
    font-size: 37px;
    line-height: 1.2;
    text-transform: uppercase;

}
.first-screen_subtitle{
    margin-top: 21px;
}
.first-screen_img-content{
    max-width: 608px;
    width: 100%;
}

.first-screen_text-content{
   
    max-width: 379px;
}
.first-screen_button{
    background-color: #0E347A;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    padding: 15px 0;
    cursor: pointer;
    width: 100%;
    margin-top: 32px;
}

/* quiz */
.quiz{
    display: none;
}
.quiz-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 53px;
}
.quiz-item_img-content{
    max-width: 608px;
    width: 100%;
    flex-shrink: 0; 
    
}

.quiz-item_text-content{
    
}


.quiz-item_answer{
    background-color: #0E347A;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    padding: 15px 0;
    cursor: pointer;
    width: 100%;
    
}
.quiz-item_answer + .quiz-item_answer{
    margin-top: 10px;
}
.quiz-item_answers{
    margin-top: 32px;
}


.quiz-item {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}
.quiz-item.fade-out {
  opacity: 0;
  pointer-events: none;
}
.quiz-item.fade-in {
  opacity: 1;
}



/* bottom bar */

.bottom-bar{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    padding: 19px 0 26px 0;
    box-shadow: 0px -4px 10px 0px #00000017;
    background-color: #FFFFFF;
}
.bottom-bar_dots-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
}
.bottom-bar_dot{
    width: 8px;
    height: 8px;
    background-color: #D9D9D9;
    border-radius: 50%;
    margin: 0 5px;
    will-change: background-color;
    transition: background-color 0.3s ease;
}
.dot--active{
    background-color: #0E347A;
}



/* form */
.final-form{
    display: none;
}
.final-form_inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 522px;
    margin: 0 auto;
}
.final-form_title{
    margin-top: 20px;
}
.final-form_text{
    font-size: 18px;
    margin-top: 10px;
}

.reg-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  width: 100%;
  margin-top: 20px;
}
.reg-form__group {
  display: flex;
  flex-direction: column;
  position: relative
}
.reg-form__group span {
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 400;
  color: #333;
}
.reg-form__group input {
  padding: 12px 16px;
  margin-bottom: 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  /* border-radius: 8px; */
}
.reg-form__btn {
  margin-top: 16px;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFFFFF;
  background: #0E347A;
  
  /* border-radius: 30px; */
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.reg-form__btn:hover {
  background: #011a8b;
  color: #ffffff;
} 
.error{
    color: red!important;
    font-size: 0.7rem!important;
    margin-top: 0px; 
    position: absolute;
    bottom: -15px; 
}
/* loader  */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(168 168 168 / 70%);
  z-index: 4000;
}

#loader img {
  position: absolute;
  width: 130px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* media queries */
@media screen and (max-width: 992px) {
    .title{
        font-size: 20px;
    }
    .subtitle{
        font-size: 16px;
    }
    .main{
        padding: 24px 0 100px 0;
        
    }
    .container{
        padding: 0 16px;
    }
    .header--primary_logo{
        max-width: 155px;
        padding: 10px 0;
    }
    .first-screen_inner {
        flex-direction: column-reverse;
        gap: 19px;
       
    }
    .first-screen_button{
        margin-top: 17px;
    }
    .first-screen_title{
        font-size: 26px;
    }
    .first-screen_subtitle{
        margin-top: 17px;
    }
    .first-screen_text-content {
        max-width: 100%;
        width: 100%;
      
    }
    .quiz-item {
        flex-direction: column-reverse;
        align-items: center;
        gap:19px
    }
    .quiz-item_answers{
        margin-top: 17px;
    }
    .bottom-bar{
        padding: 10px 0;
    }
    
 }



 /* modal */

 .universal-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  z-index: 3000 !important;
  overflow: hidden !important;
}

.universal-modal-content {
  background-color: #ffffff !important;
  padding: 32px 24px !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  text-align: center !important;
  max-width: 400px !important;
  position: relative !important;
  margin: 0 10px !important;
  border: none !important;
}

.universal-modal-content p {
  line-height: 140% !important;
  margin: 10px 0 0 !important;
  color: #1c1c1c;
}

.universal-modal-close {
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  cursor: pointer !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  color: #777777 !important;
}

.universal-modal-close:hover {
  color: #333333 !important;
}

.universal-modal-close::before,
.universal-modal-close::after {
  content: "" !important;
  position: absolute !important;
  width: 16px !important;
  height: 2px !important;
  background-color: #777777 !important;
}

.universal-modal-close::before {
  transform: rotate(45deg) !important;
}

.universal-modal-close::after {
  transform: rotate(-45deg) !important;
}

.universal-modal-open {
  overflow: hidden !important;
}

.reg-form__btn {
  margin-top: 8px;
}