
@import url('null.css');
@import url('header.css');
@import url('worker_block.css');
@import url('info_block.css');
@import url('about.css');
@import url('button.css');
/* @import url('education.css'); */


body{
    font-family: 'Roboto','Arial',serif;
    background-image: url('../assets/img/Background.png');
    background-size: 100% auto;
    background-repeat:repeat-y;

    display: flex;
    flex-direction: column;
}
main{
    flex: 1;
    min-height: 100vh;
}

input, textarea{
    background: #fff;
    font-weight: 300;
    font-size: 16px;
    color: #9d9d9d;
    padding: 10px;
    box-sizing: border-box;
}
Label{
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 7px;
}
.container{
    width: 1520px;
    /* min-width: 1000px; */
    margin: 0 auto;
}
.header{
    width: 100%;
    position: fixed;
    top:20px;
    z-index:10000;
}
li a{
    display: block;
    width: 100%;
    height: 100%;
    text-align: left;
    display: flex; 
    align-items: center;
    justify-content: flex-start; 
    padding: 0 20px;
}
.header_content{
    max-width: 1690px;
    margin: 0 auto;
    background-color: #0946AB;
    color: #fff;
    padding: 26px 140px;
    border-radius: 40px;
}
.header_content.header_content_white{
    background-color: #fff;
    color: #0946AB;    
    border: 1px solid #0946AB;
}
.header_bottom{
    height: auto;
    width: 100%;
    background-color: #0946AB;
    border-radius: 0 0 100px 100px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
    /* font-size: 10vw; */
    letter-spacing: -0.04em;
    color: #fff;
    padding: 200px 0px 120px;
    margin-bottom: 100px;
    text-transform: uppercase;
}
.header_bottom_text{
    font-size: clamp(25px, 5vw, 84px);
    text-align: center;
}
/* .header_bottom h2{
} */
.menu{
    fill: #fff;
}
.header_content_white .menu{
    fill: #0946AB;
}
.nav_bar{
    display: grid;
    grid-template-columns: 22% 63%;
    justify-content: space-between;
    align-items: center;
}
.nav_logo a{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    font-size: 20px;
    font-weight: 400;
}
.nav_logo a h1{
    font-size: 22px;
    font-weight: 400;
}
.nav_bar_list{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
}
.btn_menu{
    display: none;
}
.main_banner{
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* background-image: url('../assets/img/smiley-boy-school.png'); */
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Видео на Баннере */
.video-background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 10;
}

.content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding-top: 20vh;
}
.main_title{
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.main_title h1{
    font-weight: 700;
    font-size: 88px;
    letter-spacing: 0.05em;
	z-index: 100;
}
.abs{
    font-weight: 300;
    font-size: 40px;
    text-align: center;
}
.news_gallery_shedule{
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    height: 210px;
}
.news_gallery_content{
    position: absolute;
    /* top: -38px; */
    left: 50%;
    transform: translate(-50%, -38px);
	z-index: 50;
}
.news_gallery_grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    column-gap: 10px;
}
.news_gallery {
    cursor: pointer;
    height: 245px;
    background: blue;
    padding: 40px 60px;
    text-transform: uppercase;
    color: #fff;

    background-position: calc(100% - 20px) calc(100% - 20px); /* Отступ 10px */
    background-repeat: no-repeat; /* Чтобы изображение не повторялось */
    background-size: cover; /* Чтобы изображение заполнило элемент */
    background-size: 136px 136px;
    
}
.news_gallery h3{
    font-weight: 800;
    font-size: 34px;
    letter-spacing: 0.07em;
    margin-bottom: 10px;
}
.news_gallery p{
    font-weight: 300;
    font-size: 18px;
}
.news{
    background-image: url('../assets/icon/icon news.svg');
    background-color: #7aabff;
    border-radius: 0 15px 15px 0;
}
.gallery{
    background-image: url('../assets/icon/icon gallery.svg');
    background-color: #5291ff;
    
}
.shedule{
    background-image: url('../assets/icon/icon shedule.svg');
    background-color: #1068FF;
    border-radius: 15px 0 0 15px;
}

.main_news{
    margin-bottom: 75px;
}
.main_news_title{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 30px;
}
.main_news_title h3{
    font-weight: 500;
    font-size: 34px;
    letter-spacing: 0.02em;
    color: #000;
}
.main_news_block{
    display: grid;
    grid-template: 380px/2fr 365px 365px;
    gap: 20px;
}
.news_link{
    display: inline-grid;
}
.main_news_article{
    position: relative;
    border-radius: 10px;
    background-color: #fff;
    cursor: pointer;
    overflow: hidden;

    box-shadow: 0 4px 26px 0 rgba(0, 0, 0, 0.07);
    /* overflow: visible; */
    transition: all 0.2s ease;

}
.news_status{
    position: absolute;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    padding: 10px 30px;
    border-radius: 10px;
    right: 10px;
    top: 10px;
    text-transform: uppercase;
}
.news_status.blue_status{
    background-color: #1068FF;
}
.news_status.yellow_status{
    background-color: #C3BD3D;
}
.news_status.green_status{
    background-color: #149949;
}
.main_news_article img{
    width: 100%;
    height: 70%;
    object-fit: cover;
}
.main_news_info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 25px 30px;
    width: 100%;
}
.main_news_info h3 {
    white-space: nowrap; /* Текст в одну строку, братан не бей!!! */
    overflow: hidden; /* Скрываем лишний текст, братан не бей!!! */
    text-overflow: ellipsis; /* Ставим троеточие, братан не бей!!! */
    max-width: 100%; /* Чтобы не вылазил за контейнер, братан не бей!!! */
    
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 10px;
}
.main_news_info p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;

    font-weight: 400;
    font-size: 16px;
}
.main_news_article:hover{
    color: #fff;
    background-color: #1068FF;
    scale: 1.02;
}
.main_statistic{
    margin-bottom: 220px;
}
.main_statistic .container{
    display: flex;
    flex-direction: column;
}
.main_statistic .container h3{
    align-self: center;
    font-weight: 500;
    font-size: 34px;
    line-height: 120%;
    color: #000;
    margin-bottom: 70px;
}
.statistic_content{
    display: grid;
    grid-template: 200px / repeat(4, 1fr);
    gap: 22px;
}
.statistic_block{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 4px 26px 0 rgba(0, 0, 0, 0.07);
    background-color: #fff;

    background-position: calc(100% - 10px) calc(100% - 10px);
    background-repeat: no-repeat;
    background-size: auto 65px;
    cursor: pointer;
}
.statistic_block {
    transition: all 0.3s ease;
    cursor: pointer;
}
.statistic_block h4{
    font-weight: 700;
    font-size: 48px;
    text-align: center;
    color: #1068ff;
}
.statistic_block p{
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    color: #333;
}
.stat_block_1{
    background-image: url('../assets/icon/statistic count students.svg');
}
.stat_block_2{
    background-image: url('../assets/icon/statistic count students in class.svg');
}
.stat_block_3{
    background-image: url('../assets/icon/statistic count teacher.svg');
}
.stat_block_4{
    background-image: url('../assets/icon/statistic PC.svg');
}
.span_blue{
    font-weight: 700;
    color: #1068ff;
}
.blue_name{
    color: #1068ff;
    font-size: 21px;
}

.school_desc{
    margin-bottom: 95px;
}
.school_desc .container{
    display: flex;
    flex-direction: column;
}
.school_desc_block{
    display: flex;
    flex-direction: column;
    margin-bottom: 138px;
}
.school_desc_block:last-child{
    margin-bottom: 0;
}
.school_desc_block h3{
    align-self: center;
    font-size: 39px;
    margin-bottom: 43px;
}
.school_desc_msg{
    display: grid;
    grid-template: auto / 1fr 1fr;
    gap: 20px;
}

.desc_msg{
    padding: 25px 50px;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    border-radius: 15px;
    box-shadow: 0 5px 29px 0 rgba(0, 0, 0, 0.07);
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.blue_msg{
    color: white;
    background-color: #1068ff;
}
.desc_msg:hover{
    color: white;
    background-color: #1068ff;    
    scale: 1.02;
}
.desc_msg.blue_msg:hover{
    color: #333;   
    background: #fff; 
}
.director_blog{
    margin-bottom: 230px;
}

.director_blog .container{
    display: flex;
    flex-direction: column;
    width: 1200px;
}
.director_blog .container h3{
    font-size: 34px;
    align-self: center;
    margin-bottom: 45px;
}
.director_blog_grid{
    display: flex;
    gap: 20px;
    justify-content: space-between;
}
.director_blog_grid img{
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 65px;
    flex: 1;
}
.director_blog_info{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
}

.director_blog_info button{
    align-self: flex-start;
}
blockquote {
    width: 100%;
    margin-bottom: 45px;
}
blockquote h4{
    font-weight: 700;
    font-size: 36px;
    line-height: 133%;
    letter-spacing: 0.04em;
    color: #000;
    margin-bottom: 45px;
    white-space: normal;
}

.director_cite{
    font-weight: 700;
    font-size: 18px;
    color: #000;
}
.main_partners{
    margin-bottom: 230px;
}
.main_partners .container{
    display: flex;
    flex-direction: column;
}
.main_partners .container h3{
    font-size: 34px;
    align-self: center;
    margin-bottom: 90px;
}
.partner_grid{
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 30px;
}
.partner_block{
    display: flex;
    flex-direction: row;
    column-gap: 35px;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 40px;
    box-shadow: 0 4px 26px 0 rgba(0, 0, 0, 0.07);
    background: #fff;
    border-radius: 10px;

    min-width: 50%;
}
.partner_block img{
    width: 130px;
    height: 130px;
    border-radius: 20px;
    object-fit: cover;
}
.partner_block_info{
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}
.partner_block_info h4{
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.02em;
}
.partner_block_info p {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    max-width: 100%;

    display: -webkit-box;
    -webkit-line-clamp: 3;       /* Ограничение до 3 строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.partner_block_info a{
    align-self: flex-end;
    font-weight: 500;
    font-size: 18px;
    color: #1068ff;
}

.google_maps .container{
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}
.main_form{
    height: 463px;
    margin-bottom: 200px;
}
.main_form_conatainer{
    width: 880px;
    position: relative;
}
.form_block{
    position: absolute;
    left: 50%;
    transform: translate(-50%, -60px);
    border-radius: 40px;
    background: #1068ff;
    padding: 60px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form_block h3{
    color: #fff;
    font-weight: 200;
    font-size: 36px;
    color: #fff;
    margin-bottom: 15px;
}
.form{
    display: grid;
    grid-template-columns:1fr 1fr;
    grid-auto-rows: auto;
    gap: 15px 10px;
    /* column-gap: 10px;
    row-gap: 15px; */
    color: #fff;
}
.form_name{
    grid-column:1/3;
}
.form_message{
    grid-column:1/3;
}
.main_form_input {
    width: 100%;
    height: 44px;
    padding: 10px 14px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 400;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.form_message textarea{
    height: 95px;
    overflow-y: auto;
    overflow-wrap: anywhere;
    line-height: 155%;
}
.form_btn{
    width: 150px;
}

.footer{
    background-color: #0946AB;
    border-radius: 60px 60px 0 0;
    padding: 90px 0 80px 0;
    color: #fff;
}
.link ul a, .contact a, .social_item a{
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 10px;
    display: block;
}
footer h4{
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}
.footer_inner{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.link_contact_social{
    display: flex;
    justify-content: space-between;
    width: 820px;
}
.maps_block{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: space-between;
    width: 480px;
}
.link, .contact, .social{
    display: flex;
    flex-direction: column;
}
.map{
    margin-bottom: 20px;
    height: 215px;
}
.maps_block address{
    margin-bottom: 20px;
}
.maps_block p{
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.telegram-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #0088cc;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease-in-out;
}

.telegram-floating:hover {
  transform: scale(1.1);
}

.telegram-floating img {
  width: 30px;
  height: 30px;
  /* filter: brightness(100%) invert(1); */
  fill: #fff;
}

.news_grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows:  minmax(auto, 360px);
    gap: 20px 30px;
}
.educ-primary-container{
    max-width: 1310px;
}

.info_block_shadow:hover, .statistic_block:hover{
    transform:translateY(-10px);
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.15);
}