/********** Template CSS **********/

body {
    color: #333 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #2e73ba !important;
}

ul,
li {
    list-style-type: none;
    margin: 0 !important;
    padding: 0 !important;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

.bg-primary {
    background-color: #2e73ba !important;
}

.btn-primary {
    background-color: #2e73ba;
    border-color: #ffff;
}

.text-primary {
    color: #2e73ba !important;
}

.btn-link {
    font-weight: 400;
    color: #ffff !important;
    text-decoration: none;
}

.btn-outline-primary {
    color: #2e73ba;
    border-color: #2e73ba;
}

.btn-outline-primary:hover {
    color: #000;
    background-color: #2e73ba;
    border-color: #2e73ba;
}

.btn-primary:hover {
    color: #000;
    background-color: #2e73ba;
    border-color: #2e73ba;
}

.menu_active {
    color: #2e73ba !important;
}

.form-control:focus {
    color: #757575;
    background-color: #fff;
    border-color: #2e73ba;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(72, 174, 236, 0.25);
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #2e73ba;
    border-color: #2e73ba;
}

.page-link {
    position: relative;
    display: block;
    color: #2e73ba;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.page-link:focus {
    z-index: 3;
    color: #2e73ba;
    background-color: #e9ecef;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(72, 174, 236, 0.25);
}

.page-link:hover {
    z-index: 2;
    color: #2e73ba;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    padding: 19px 0;
    color: var(--dark);
    font-weight: 500;
    font-size: 18px;
    outline: none;
    padding-left: 31px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #2e73ba !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .75);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}
/* home */
.bg_why_study{
    background: #fff;
    padding: 49px 5px;
    border-radius: 9px;
}

/* .image_about {
  width: 100%;
  height: 202px;
  position: relative;
  border-radius: 10px;
  display: inline-block;
  overflow: hidden;
}

.image_about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  transform: scale(1);
}

.image_about:hover img {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

.overlay {
  border-radius: 10px;
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(1, 1, 1, 0.4) 77%, rgba(1, 1, 1, 1) 100%);
  pointer-events: none;
}

.about_title {
  position: absolute;
  bottom: 25px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 0px 16px;
} */
/*end home */

/* slide home */

.slide_home {
    width: 100%;
    height: 550px;
}


.slide_home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn_slide_home {
    color: #ffff;
    border: 2px solid #ffff;
    border-radius: 50%;
    padding: 3px;
    cursor: pointer;
    transition: .5s;
}

.btn_slide_home:hover {
    background: #ffff;
    color: #2e73ba;
    /* border: 2px solid #2e73ba; */
    border-radius: 50%;
    padding: 3px;
    cursor: pointer;
    transition: .5s;
}



/* end slide home */
/* @media (max-width: 768px) { */
/* #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    } */

/* #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        /* object-fit: cover; */
*/
/* } */

/* .page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
} */

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.bg_header_top {
    background: #2e73ba;
}

.menu_header_top li a {
    color: #ffff;
    padding: 5px 0px;
    padding-right: 13px;
}

.header_top {
    font-size: 13px;
    padding: 5.5px;
}

/*** Courses ***/
.courses {
    /* min-height: 100vh; */
    background: linear-gradient(rgba(0 0 0 / 0.5)), url(../img/course/course4.jpg) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}

.btn_slide_item {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    z-index: 99;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.custom-nav-btn-prev {
    position: absolute;
    top: 50%;
    left: -45px;
}

.custom-nav-btn-next {
    position: absolute;
    top: 50%;
    right: -45px;
}

.custom-nav-btn {
    pointer-events: auto;
    background-color: white;
    color: #2e73ba;
    border-radius: 9999px;
    padding: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.06);
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
}





/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}


/*** Footer ***/
.menu-columns {
    column-count: 2;
    column-gap: 0px !important;
}

.menu-columns li {
    break-inside: avoid;
    padding-bottom: 10px !important;
}

.menu-columns a {
    padding: 5px 0px;
    color: #ffffff;
    text-decoration: none;
}

.menu-columns a:hover {
    text-decoration: underline;
}

.menu_footer li {
    padding: 5px 0px;
}

.menu_footer li a {
    color: #ffffff;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.bg_footer {
    background: #2e73ba;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

/* .copyright {
    background: #092139;
} */

.copyright {
    background: #ffff;
    color: #2e73ba;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}

.collapse {
    visibility: visible;
}



@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        justify-content: right;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        left: 50%;
        transform: translateX(-50%);
    }
}


.border-line {
    border: 1px solid #D7D7D7;
}

.detail_item {
    padding-top: 16px;
    font-size: 14.5px;
    font-weight: 500;
    text-align: right;
    display: block;
    text-decoration: none;
    color: #2e73ba !important;
    transition: all 0.3s ease-in-out;
}

.des-title {
    font-size: 16.88px;
    font-weight: 500;
    line-height: 24px;
    color: #2e73ba;
}

.logo_patner {
    width: 100%;
    height: 100%;
    position: relative;
}

/* not-found */
.comming .item {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 15px;
    margin-bottom: 30px;
}

.comming h6 {
    color: #2e73ba;
    font-size: 15px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 3px;
}

.comming h3 {
    font-size: 48px;
    color: #2e73ba;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0px;
}

.comming h2 {
    font-size: 40px;
    font-weight: 400;
    color: #2e73ba;
    position: relative;
    margin-bottom: 10px;
}

.menu_active {
    color: #2e73ba;
}

.comming h1 {
    font-size: 200px;
    font-weight: 400;
    margin-bottom: 0px;
    position: relative;
    color: transparent;
    -webkit-text-stroke: 1px #2e73ba;
    opacity: 0.8;
    line-height: 160px;
}

.comming p {
    color: #2e73ba;
    font-size: 15px;
}

.section-padding {
    padding: 50px 0;
}


.v-middle {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}

/* end not-found */

/* new */
.image_border img {
    width: 170px;
    height: 145px;
    object-fit: cover;
}

.banner_border {
    border-radius: 10px;
    background: white;
    padding: 7px;
}

.line-desc {
    overflow: hidden;
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    -webkit-box-orient: vertical;
}

/* end new */

/* about */
.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.youtube-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 4rem;
    color: red;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-thumbnail .youtube-icon {
    opacity: 1;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.fade-in {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
    /* disable clicks while fading out */
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: black;
    border-radius: 8px;
    animation: scaleIn 0.3s ease forwards;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1050;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.related_link {
    color: #05073c;
    font-weight: 600;
    font-size: 17px;
    border-bottom: 2px solid #05073c;
    display: block;
    width: 100%;
    margin-bottom: 16px;
}

.related_link:hover {
    color: #2e73ba !important;
}

.related_link.active {
    color: #2e73ba !important;
}

.border_bottom {
    margin-top: 12px;
    border: 1px solid #515151;
}

.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    margin-bottom: 0.75em;
}

.custom-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: #007bff;
    border-radius: 50%;
    margin-top: 0.45em;
    flex-shrink: 0;
}


.contact-title{
    color: #ffff !important;
}
.btn_message_telegram{
    border: 1px solid;
    border-radius: 5px;
    background: #007bff;
    color: #fff;
    padding: 5px 28px;
}
/* end about */

/* curriculum */
.carousel-inner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-inner-content {
    position: absolute;
    top: 80px;
    bottom: 0;
}

.dec-item-course {
    border: 1px solid #D7D7D7;
    /* border-radius: 0px 0px 8px 8px; */
    padding: 17px;
    background: #fff;
    height: 200px;
}

.dec-item-course .des {
    font-size: 14px;
}

.img-course {
    width: 100%;
    height: 150px !important;
    border-radius: 8px 8px 0px 0px;
}

.img-course .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-course {
    position: absolute;
    right: 0;
    top: -4px;
}
.banner_curric{
    border-radius: 10px;
    padding: 10px;
    background: #fff;
}
.img-curric{
    width: 100%;
    height: 150px !important;
    border-radius: 8px 8px 0px 0px;
}
.banner_title {
    color: #2e73ba;
    font-size: 29px;
    font-weight: 700;
    padding: 17px 25px;
    margin-bottom: 18px;
    text-align: center;
    text-decoration: underline;
}
/*end curriculum */
