body{
  margin: 0px;
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.modal-content::-webkit-scrollbar {
  width: 5px;
}

.modal-content::-webkit-scrollbar-track {
  background: #fff;
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: #092c67; 
  border-radius: 20px; 
  border: 3px solid #092c67; 
}
/*----------------*/
.scale {
    transition: 1s; /* Время эффекта */
   }
   .scale:hover {
    transform: scale(1.2); /* Увеличиваем масштаб */
   }

.flex-position-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-position-bl{
        align-items: center;
    justify-content: center;
}
.cls-style-select{
    padding: 10px 15px;
    margin-top: 10px;
    width: 100%;
}

/******************/

.open-btn {
               /* padding: 10px 20px;
    font-size: 12px;
    background: white;
    color: #4c51bf;
    border: none;
    border-radius: 22px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;*/
    
    padding: 9px 10px;
    font-size: 10px;
    background: rgb(0 142 255 / 0%);
    color: #ffffff;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
        }

        .open-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 30px rgba(0,0,0,0.25);
            background: #f0f0ff;
        }

        .modal-overlay {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0,0,0,0.6);
            backdrop-filter: blur(4px);
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            z-index: 1000;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modalss {
            background: white;
            padding: 35px 30px;
            border-radius: 20px;
            width: 100%;
            max-width: 420px;
            box-shadow: 0 25px 50px rgba(0,0,0,0.3);
            transform: translateY(20px);
            transition: transform 0.3s ease;
            position: relative;
        }

        .modal-overlay.active .modalss {
            transform: translateY(0);
        }

        .modalss h2 {
            margin: 0 0 25px;
            color: #2d3748;
            text-align: center;
            font-size: 24px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 6px;
            color: #4a5568;
            font-weight: 500;
            font-size: 14px;
        }

        .form-group input {
            width: 91%;
            padding: 12px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 16px;
            transition: border-color 0.2s;
            outline: none;
            background: #f7fafc;
        }

        .form-group input:focus {
            border-color: #667eea;
            background: white;
            box-shadow: 0 0 0 3px rgba(102,126,234,0.15);
        }

        .form-group input::placeholder {
            color: #a0aec0;
        }

        .submit-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #008eff 0%, #46adff 100%);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: opacity 0.3s, transform 0.1s;
            letter-spacing: 0.5px;
            margin-top: 10px;
        }

        .submit-btn:hover { opacity: 0.95; }
        .submit-btn:active { transform: scale(0.98); }
        .submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }

        .close-btn {
            position: absolute;
            top: 15px; right: 20px;
            background: none; border: none;
            font-size: 28px; line-height: 1;
            color: #a0aec0; cursor: pointer;
            transition: color 0.2s;
        }

        .close-btn:hover { color: #2d3748; }

        .message {
            display: none;
            text-align: center;
            font-weight: 600;
            margin-top: 15px;
            font-size: 15px;
        }

        .message.success { color: #38a169; }
        .message.error { color: #e53e3e; }
          /* CSS для стилизации виджета */
        .whatsapp-widget {
position: fixed;
    top: -14px;
    right: -45px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 88;
    border-radius: 50%;
    width: 158px;
    height: 60px;
        }
        
        .whatsapp-widget a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            text-decoration: none;
        }
        
        .whatsapp-widget img {
            width: 32px;
            height: 32px;
        }




.modal-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}
.modal-header-btn-content{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-header-btn-content button{
    padding: 0px;
    margin: 5px;
}
@media only screen and (max-width: 520px) {
   .modal-header-btn-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
}

/*----------------*/



.modal {
    display: none;
    background-color: rgb(0, 0, 0);
    background-color: #ffffff;
    z-index: 1;
    overflow: auto;
    position: fixed;
    top: 50%;
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    border-radius: 20px;
    padding: 20px;
    /*margin: 5px;*/
    width: 40%;
    min-width: 300px;
    height: 350px; /*  600px  */
}


.modal-content {
    animation-name: animate;
    animation-duration: 0.5s
}

@keyframes animate {
    from {top:-320px; opacity:0}
    to {top:0; opacity:1}
}

.close {
font-size: 55px;
    font-weight: 200;
    color: #000000;
    float: right;
    /* margin-right: -10px; */
    /* margin-top: -35px; */
    cursor: pointer;
    background: #216ef100;
    height: 50px;
    line-height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    border: solid 0px #ffffff;
}

.modal-content.active {
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}
.b-video {
        width: 100%;
        min-height: 600px;
        height: 100vh;
        position: relative;
        overflow: hidden;
        z-index: 1;
}
.viedeo__file{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



@media only screen and (max-width: 520px) {
    .b-video {
    width: 100%;
    min-height: 200px;
     height: 0; 
    position: relative;
    overflow: hidden;
    z-index: 1;
}
}







.obratnuj-zvonok{
    width: 100%;
    max-width: 350px;
}
.form-zvonok{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    box-sizing: border-box;
}
.form-zvonok div{
    padding: 15px 0;
}
.bot-send-mail{
    box-sizing: border-box;
    width: 100%;
}
.form-zvonok label,.form-zvonok input{
    display: block;
    width: 100%;
    box-sizing: border-box;
}
.form-zvonok label{
    margin-bottom: 5px;
    font-weight: bold;
}
.form-zvonok input{
    padding: 10px 15px;
    margin-top: 10px;
}
.form-zvonok label span{
    color: red;
}
.form-zvonok .bot-send-mail{
    padding: 15px;
    margin-top: 10px;
    background: none;
    border: none;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    background-color: #216ef1;
    cursor: pointer;
    /*border: 3px #009b97 solid;*/
    border-radius: 5px;
}
.form-zvonok .bot-send-mail:hover{
    color: #009b97;
    background-color: #fff;
}

