body {
    height: 100%;
    margin: 0;
    /* font-family: 'Cardo', serif; */
    font-family: 'Montserrat', sans-serif;
    /* font-family: 'Open Sans', sans-serif; */
    /* font-family: 'Raleway', sans-serif; */
    font-size: 14px;
    color: #6c7279;
    background-color: #f5f5f5fd;
    -webkit-font-smoothing: antialiased;
}



body.no-scroll {
    overflow: hidden;
}

body.show-sidebar {
    overflow: hidden;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

p {
    margin: 0 0 10px;
}

.err {
	font-size: 18px;
	color: rgb(243, 2, 2);
 }

/*container
=====================*/

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/*header
=====================*/

.header {
    display: block;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 100px;
    
}


.adress {
    display: flex; 
    justify-content: start;
  
    
}

.adress__item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.adress__text {
    
    margin-left: 10px;
    text-align: center;
    padding: 20px 0;
    color: white;
    line-height: 1.5;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}


/* top-header======== */

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    background-color: #2777BC;
    padding: 0 20px;
}

.top-header__social {
    display: flex;
    justify-content: center;
}


/*social
=====================*/

.social {
    display: flex;
}

.social--footer {
    justify-content: center;
}

.social__item {
    display: flex;
    width: 50px;
    height: 50px;
    border: 1px solid #ffffff;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
    
    transition: background .1s linear;
}

.social__item:hover {
    background-color: #e8ecee;
}

.social__item:hover .social__icon {
    fill: #e84545;
}

.social--footer .social__item {
    background-color: transparent;
    border-width: 2px;
    border-color: #fff;
    border-radius: 2px;
}

.social__icon {
    fill: #ffffff;
    display: block;
    height: 30px;
    transition: fill .1s linear;
    width: 50px;
}

.social--footer .social__icon {
    fill: #fff;
}

.social--footer .social__item:hover {
    background-color: #fff;
}
/*nav
=====================*/


/* Основной уровень меню */
.nav__item {
    position: relative;
}
.nav__item:hover {
    color: #2777BC;
    font-weight: 500;
}

/* Подменю */
.subnav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: #fff;
    padding: 10px;
    z-index: 1000;
    min-width: 180px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
     border-radius: 6px;
     
}

/* Отображение подменю при наведении */
.nav__item:hover > .subnav {
    display: block;
}

/* Вложенное подменю (подподразделы) */
.subnav ul {
    position: absolute;
    top: 50%;
    left: 100%;
    display: none;
    background: #fff;
    padding: 20px 10px;
    min-width: 180px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

/* Показывать вложенное подменю при наведении на li */
.subnav li:hover > ul {
    display: block;
}

/* Стили ссылок */
.subnav__link {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}
.subnav,
.subnav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.subnav__link:hover {
    background: #f0f0f0;
     border-radius: 6px;
}


.nav {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px;
    text-transform: uppercase;
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid #6c7279;
}
.nav__list {
    display: flex;
    justify-content: center;
    margin: 0;
    list-style-type: none;
}


.nav__link {
    display: block;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    color: #333; 
    padding: 10px 20px;
    transition: background-color .2s linear;
    list-style-type: none;
}
.has-subnav:after {
    content: "";
    display: block;
    margin-top: -2px;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: #6c7279 
    transparent
    transparent
    transparent;
    position: absolute;
    top: 50%;
    right: 5px;
    
}
    
/*intro
=====================*/
/* .intro{
    min-height: 80vh;
} */
.intro__bg {
    min-height: 80vh;
    border-bottom: 20px solid #233857;
    border-bottom-left-radius: 60% 30vh;
    border-bottom-right-radius: 60% 30vh;
    background: 
    url("../img/intro_bg.jpg")center / cover no-repeat;
   overflow: hidden;
}

.intro__inner {
    display: flex;
    justify-content: center;
    
}

.intro__item{
    width: 50%;
    float: left;
    
}

.intro__content{
    background: linear-gradient(to right, #ffffffcb 60%, #ffffff02);
    padding: 20px;
    align-content: center;
    margin-top: 100px;
    border-radius: 6px;
}
.intro__logo{
    width: 100%;
    height: 150px;
    overflow: hidden;
    
}

.intro__logo img{
    
    height: 100%;
    object-fit: cover;
}


.intro__title {
    width: 100%;
    margin: 20px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

.intro__subtitle {
    margin-bottom: 30px;
    font-size: 20px;
    color: inherit;
    line-height: 1.5;
    font-weight: 400;
}

.intro__img {
    height: 45em;
    overflow: hidden;
}
.intro__img img{
    min-height: 70vh;
    object-fit: cover;
    width: 100%;
}


.intro__footer {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 130px;
   margin-top: 20px;
    
   
} 

.introIn {
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.introIn__item{
   
    border-radius: 6px;
    background-color: #fff;
    margin: 0 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.introIn__item:hover {
    transform: scale(1.05);
}
.introIn__link {
    padding: 0 20px;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    
}

.introIn__link:first-child {
    border-left: none;
    
}
.introIn__item:first-child,
.introIn__item:last-child {
    margin-top: -60px;
    
}
.introIn__item:hover {
    
    background:linear-gradient(#fff, 
    rgb(218, 253, 240, 0.5) );
}



/*introicon
=====================*/

.introicon {
    display: flex;
    justify-content: center;
    align-items: center;
}


.introIn__item:hover .introIn__title {
    
    color: #2777BC;
}

.introicon--footer .introicon__item {
    background-color: transparent;
    border-width: 2px;
    border-color: #fff;
    border-radius: 2px;
}

.introicon__icon {
    /* fill: currentColor; */
     fill: #2777BC; 
    display: block;
    width: auto;
    height: 50px;
    transition: fill .1s linear;
}

/*========title h2 =============*/


.title-container {
    position: relative;
    display: inline-block;
}


.main-title {
   
    position: relative;
    z-index: 2; 
}
h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #233857;
}

 h2 span {
    color: #2777BC;
}

.main-title::before {
     
    position: absolute;
    top: -50%; 
    left: -50%; 
    font-size: 90px; 
    color: rgba(0, 0, 0, 0.1); 
    z-index: 1; 
    white-space: nowrap;
}

.cont-resource::before {
    content: 'Басқа ресурстар';
}

.cont-team::before {
    content: 'Ұлағатты ұстаздар';
}

.cont-conference::before {
    content: 'Соңғы жаңалықтар';
}

/* ==============coference================ */

.conference {
    text-align: center;
    padding: 50px 20px;
}


.conference__inner{
    display: flex;
    justify-content: center;
    padding: 10px;
    
    border: 1px solid #2777BC;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  
}

.conference__item {
    width: 50%;
    margin: 0 20px;
    text-align: start;
}



.conference__content-title-link {
    font-size: 25px;
    text-transform: uppercase;
    color: #2777BC;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 20px;
}

.conference__content-info {
    font-size: 18px;
    color: #000;
    margin: 20px 0;
}

.btn__review {
    font-size: 14px;
    color: #fff;
    background-color: #CF712F;
    padding: 10px 20px;
    border-radius: 3px;
    text-decoration: none;
}
/*OLIMPICS
=====================*/

.olimpics {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 10px 0 30px 0;
}

.olimpics__item {
    width: 32%;
    margin-left: 20px ;
    margin-bottom: 30px;
    padding: 10px; 
    text-align: center;
    border: 1px solid #ffffff;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  
    transition: transform 0.3s;
}



.olimpics__item:hover {
    transform: scale(1.05);
}

.olimpics__item:first-child {
    margin-left: 0px ; 
    
}



.olimpics__icon {
    width: 100%;
    height: 185Px;
    margin-bottom: 25px;
    border-radius: 10px 10px 0 0;
    
    object-fit: cover;
}

.olimpics__icon img{
    width: 100%;
    height: 100%;
   
    object-fit: cover;
}

.olimpics__title {
    font-style: 14px;
    text-transform: uppercase;
    color: #2777BC;
    font-weight: 700;
    text-decoration: none;
}

.olimpics__text {
    font-weight: 12px;
    line-height: 1.5;
    color: #6c7279;
    margin: 15px 0;
}


/* News-posts pages==== */
.news-posts__header{
    background-color: #233857;
    width: 100%;
    padding: 30px 50px;
}

.title-post {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    color: #333;
    text-align: center;
    margin: 30px 0;

}

.news-posts__img{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

}
.news-posts__item{
    width: 33.33333%;
    max-height: 30em;
    overflow: hidden;
}

.news-posts__item img{
    width: 100%;   
    height: 100%;
    object-fit: cover;
}

.posttext__description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    margin: 35px 0;
}

.news-posts-all {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin: 10px 0 30px 0;
}

.news-posts-all__item {
    width: 25%;
    margin-left: 20px ;
    margin-bottom: 30px;
    padding: 10px; 
    text-align: center;
    border: 1px solid #ffffff;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  
    transition: transform 0.3s;
}




/* BTN==== */

.btn__green{
    padding: 5px 15px;
    border: 1px solid #2777BC;
    border-radius: 3px;
    background-color: #2777BC;
    text-decoration: none;
    color: #fff;
}

.btn__green:hover{
    
    background-color: #233857;
    
}
.link__pages {
    position: relative;
    padding: 15px 40px;
    border: none;
    font-size: 20px;
    border-radius: 6px;
    text-transform: uppercase;
    text-decoration: none;
    background-color:#2777BC;
    color: #D6D6D6;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
  }
  .link__pages:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 6px;
    width: 0;
    background-color: #233857;
    transition: all 0.25s ease-in-out;
  }
  .link__pages:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 6px;
    width: 0;
    background-color: #233857;
    transition: all 0.25s ease-in-out;
  }
  .link__pages:hover {
    color: #fff;
  }
  .link__pages:hover::before, .link__pages:hover::after {
    width: 100%;
    border-radius: 6px;
  }
/*director
=====================*/

.director {
    overflow: hidden;
    background-color: #233857;
}

.director__item {
    display: flex;
    flex-wrap: wrap;
}

.director__photo {
    width: 50%;
    height: 500px;
    position: relative;
}

.director__img {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 1;
    overflow-x: hidden;
    transform: translate(0, -50%)
}

.director__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    padding-left: 50px;
}

.director__text {
    font-family: 'Cardo', serif;
    font-size: 30px;
    font-style: italic;
    color: #fff;
}

.director__name {
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 20px 0 0 0;
    color: #fff;
}

.director__button {
    margin-top: 30px;
}

.btn--director {
    font-size: 16px;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 6px;  
    font-weight: 500;
    padding: 10px 30px;
    text-decoration: none;
}


.btn.btn--director:hover {
    background-color: #ffffff;
    color: #233857;
}



/*team
=====================*/




.team {
    text-align: center;
    padding: 50px 20px;
}

.team-grid {
    position: relative;
    overflow: hidden;
    padding: 20px;
    margin: auto;
    margin-bottom: 30px;
}

.team__items {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    transition: transform 0.5s ease-in-out;
}
.team__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    transition: transform 0.5s ease-in-out;
}

  

.team__item{
    width: 23%;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s;
}
.team-member {
    flex: 0 0 24%; /* 4 items visible (100% / 4 = 25%) */
    
    
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: scale(1.05);
}
.team__item:hover {
    transform: scale(1.05);
}
.team__img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 15px;
}
.team__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-member h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #333;
}

.team-member p {
    font-size: 0.9em;
    color: #777;
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.3s ease;
}

.slider-control.prev {
    left: 10px;
}

.slider-control.next {
    right: 10px;
}

.slider-control:hover {
    background: rgba(0, 0, 0, 0.8);
}




/*RESOURCE
=====================*/


.resource {
    padding: 40px 0 80px 0;
    text-align: center;
    background: linear-gradient(
    rgba(255, 255, 255, 0.685), 
    rgba(255, 255, 255, 0.822) ), 
    url("/assets/img/Book.jpg") 100%/cover no-repeat;
}
.resource {
    text-align: center;
    padding: 50px 20px;
}



.resource__inner {
    display: flex;
    flex-wrap: nowrap;
    
}

.resource__item {
    width: 32%;
    height: 200px;
    margin-left: 30px ;
    padding: 20px; 
    align-content: center;

    background-color: #ffffff;
    border: 1px solid #2777BC;
    border-radius: 10px;
    overflow: hidden;
}

.resource__item:first-child {
    margin-left: 0px ; 
    
}

.resource__icon {
    width: 100%;
    height: auto;
    border-radius: 10px;
    
    object-fit: cover;
}



/********************pagination************/

.pagination {
    list-style-type: none;
    margin-top: 10px;
    justify-content: center;
    
}

.pagination__inner {
	display: flex;
    list-style-type: none;
    justify-content: center;
}

.pagination__link {
    display: block;
    width: 40px;
    height: 40px;
    text-decoration: none;
    margin: 0 3px;
    
    background-color: #233857;
    border-radius: 3px;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
    color: #fff;
    border: none;
    
    
}


.pagination__link--size {
	display: block;
    width: auto;
    height: 40px;
	padding: 0 15px;
}
.pagination__link:hover {
	color: #000;
    background-color: #2777BC;
   
}

.pagination__link--active {
    background-color: #CF712F; /* Зеленый цвет для активной страницы */
    color: #fff;
    pointer-events: none; /* Отключение кликабельности */
}



/*footer
=====================*/

.footer {
    background-color: #2777BC;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    padding: 70px 0;
}

.footer__block {
    padding: 0 15px;
    width: 33.33333%;
    text-align: center;
}

.footer__title {
    font-style: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 10px;
}

.footer__address {
    color: #ffffff;
    font-size: 14px;
    font-style: normal;
}

.footer__text {
    color: #ffffff;
    font-size: 14px;
}

.footer__ul {
    text-align: center;
    font-style: 14px;
    line-height: 1.5;
    color: #ffffff;
    list-style-type: none;
    padding: 0;
}

.footer__ul a {
    text-decoration: none;
    color: #ffffff;
}

.footer__ul a:hover {
    text-decoration: underline;
    color: rgba(255, 255, 255, .5);
}

/*copyright
=====================*/

.copyright {
    background-color: #233857;
    padding: 20px 0;
}

.copyright__text {
    text-align: center;
    font-style: 14px;
    line-height: 1.5;
    color: #808080;
}

.copyright__text span {
    color: #fff;
}
/* ====================
    style page All
========================= */

/* certificate table */
.title-page {
    font-style: 30px;
    font-weight: 700;
    color: #233857;
    margin: 30px 0;
    text-align: center;
}
.content__table {
    width: 100%;
    min-width: 100%;
    margin-bottom: 20px;
    height: auto;
    
}
.table__title {
    background: #233857;
    color: #fff;
}
.table__item {
    color: #000;
}
.table__title, .table__item {
    overflow: hidden;
    border: 1px solid #6c7279;
    padding: 10px 10px;
    text-align: center;

}
.table__itemDown{
    width: 200px;
}
.table__itemNum{
    width: 50px;
}