@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

h1,
h2,
h3 {
    font-family: 'Plex', sans-serif;
}

.phone-icon {
    margin-right: 5px;
    vertical-align: middle;
    /* To align the icon vertically with the text */
}

.icon {
    margin-right: 5px;
    vertical-align: middle;
    /* To align the icon vertically with the text */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Plex', sans-serif;
    background-color: #5a5859;
}

.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

header {
    background-color: #5a5859;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px !important;
}

.logo {
    font-size: 16px;
    font-weight: bold;
    margin-left: 20px;
    margin-top: 8px;
}

.contact-info {}

.phone-number {
    margin-right: 15px;
    font-size: 20px;
    font-weight: bold;
}

.flag-image {
    width: 30px;
    height: auto;
}

.banner {
    height: 630px;
    /* You can adjust this height according to your preference */
    background-image: url('background-image.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    opacity: 80%;
    overflow: hidden;
    /* Add this line to hide any overflowing content */
}


.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    text-align: center;
    color: #fff;
    width: 1000px;
    /* Adjust this width to your preference */
    max-width: 90%;
    margin: auto;
}





.banner1 {
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


.banner1 img {
    max-width: 100%;
    height: auto;
    width: auto\9;
    /* For IE8 and earlier */
}


.banner-text h1 {
    margin: 0;
    font-size: 55px;
}

.content {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 0;
    width: 1200px;
}

.block {
    width: calc(33.33% - 20px);
    background-color: red;
    margin-bottom: 40px;
    padding: 20px;
    box-sizing: border-box;
    min-height: 530px;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: end;
    transition: background-image 0.5s ease;
}

.block1:hover {
    background-image: url('../en/img/school.jpg');
    /* Replace 'image1.jpg' with the URL of your first image */
    background-size: cover;
    /* Adjust as needed */
    background-repeat: no-repeat;
    /* Adjust as needed */
    background-position: center;
    /* Adjust as needed */
}

.block2:hover {
    background-image: url('../en/img/s1.jpg');
    background-size: cover;
    /* Adjust as needed */
    background-repeat: no-repeat;
    /* Adjust as needed */
    background-position: center;
    /* Adjust as needed */
}

.block3:hover {
    background-image: url('../img/tile3.jpg');
    background-size: cover;
    /* Adjust as needed */
    background-repeat: no-repeat;
    /* Adjust as needed */
    background-position: center;
    /* Adjust as needed */
}

.block4:hover {
    background-image: url('../en/img/s4.jpg');
    background-size: cover;
    /* Adjust as needed */
    background-repeat: no-repeat;
    /* Adjust as needed */
    background-position: center;
    /* Adjust as needed */
}

.block5:hover {
    background-image: url('../en/img/s3.jpg');
    background-size: cover;
    /* Adjust as needed */
    background-repeat: no-repeat;
    /* Adjust as needed */
    background-position: center;
    /* Adjust as needed */

}

.block6:hover {
    background-image: url('../en/img/tile6.jpg');
    background-size: cover;
    /* Adjust as needed */
    background-repeat: no-repeat;
    /* Adjust as needed */
    background-position: center;
    /* Adjust as needed */
}

.block-title {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 30px;
    color: white;
    width: 100%;
    text-align: left;
}

.block-text {
    margin-bottom: 15px;
    color: white;
    line-height: 35px;
}

.read-more {
    text-align: left;
    /* Align the "Read More" button to the left */
}

.read-more button {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

.section {
    width: 80%;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-text {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    font-size: 18px;
}

.section-text h2,
.section-text p {
    color: white;
    /* Set the text color to white */
}

.section-image {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.section-image img {
    max-width: 100%;
    height: auto;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
    gap: 10px;
}

.footer-content>div:not(.seprator) {
    width: 50%;
}

.seprator {
    background: #9d9a9a;
    height: 123px;
    width: 1px;
    margin: 0 150px;
    position: relative;
    top: 132px;
}

#navbar .contact-info {
    display: flex;
    align-items: center;
}

.contact-info p {
    font-size: 20px;
    margin-top: 50px;
    line-height: 29px;
}

.footer-bottom {
    border-top: 1px solid #999797;
    padding: 30px;
    text-align: center;
    font-size: 16px;
    margin-top: 30px;
}

.contact-details {
    text-align: left;
}

.menu-list {
    list-style: none;
    padding: 0;
}

.menu-list li {
    margin-right: 20px;
    margin-bottom: 20px;
}

.menu-list li a {
    font-size: 20px;
    text-decoration: none;
    color: #fff;
}

.menu-section h3,
.contact-info h3 {
    font-size: 25px;
}

.conatiner {
    width: 1540px;
    margin: auto;
    max-width: 90%;
}

#navbar {
    display: flex;
    justify-content: space-between;
}

.banner-text h1 {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.banner-text h1>span {
    position: relative;
}

/*.banner-text h1>span::after {*/
/*    content: "";*/
/*    width: calc(80%);*/
/*    height: 70px;*/
/*    background: #757474;*/
/*    display: block;*/
/*    position: absolute;*/
/*    top: -70px;*/
/*    z-index: 0;*/
/*    left: -40px;*/
/*}*/

.banner-text h1 img {
    position: relative;
    z-index: 999;
}

.block .text-content {
    font-size: 18px;
}

.footer-menus {
    display: flex;
    justify-content: space-between;
}

.button {
    position: relative;
    display: block;
    margin: 0px !important;
    padding: 0;
    border: none;
    background: none;
    color: #fff;
    font-size: 1.4em;
    transition: color 0.7s;
    height: 40px;
    width: 40px;
    /* background: #286aab; */
    border-radius: 50%;
    margin: 50px auto;
}

.button.button--click,
.button:focus {
    outline: none;
    color: #fff;
}

.button__icon {
    display: block;
}

.button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -35px 0 0 -35px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.button-effect::after {
    background: rgba(111, 148, 182, 0.2);
}

.button-effect.button--click::after {
    animation: effect 0.3s forwards;
}

@keyframes effect {
    0% {
        transform: scale3d(0.3, 0.3, 1);
    }

    25%,
    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale3d(1.2, 1.2, 1);
    }
}

a:link {
    color: white;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: white;
    background-color: transparent;
    text-decoration: none;
}

.pc-hide {
    display: none;
}

.mobile-hide {
    display: block;
}

.menu-bar {
    display: none !important;
}

.mobile-menu {
    display: none;
}

.title {
    display: none;
}


@media only screen and (max-width: 600px) {
    .mobile-hide {
        display: none !important;
    }

    .title {
        display: inline-block;
        left: 9px;
        position: relative;
    }

    .pc-hide {
        display: block;
    }

    #navbar {
        margin: 0;
    }

    #navbar .contact-info {
        display: block;
        font-size: 30px;
    }

    .menu-bar {
        display: block !important;
    }

    .banner-text h1 img {
        width: 100px;
    }

    .banner-text h1>span {
        font-size: 20px;
    }

    .banner {
        height: 198px;
        top: 44px;
    }

    .content {
        display: block;
    }

    /* .content {
        display: block;
    background: url(https://aa.darkforum.cc/img/background-image-vertical.jpg);
    margin: 0;
    padding: 5%;
    background-position: 0 41px;
    background-repeat: no-repeat;
    background-size: cover;
}

*/
    .block {
        width: 100% !important;
        min-height: 400px;
        margin-top: 30px;
    }

    .section-content {
        display: block;
        position: relative;
        top: -46px;
    }

    .footer-content {
        display: block;
    }

    .seprator {
        display: none;
    }

    .footer-content>div:not(.seprator) {
        width: 90%;
        margin: auto;
    }

    header {
        background-color: #393236;
    }

    .mobile-menu {
        display: block;
        position: absolute;
        top: 45px;
        background: #393236;
        left: 0;
        padding: 20px;
        text-align: right;
        width: calc(100% - 50px);
    }

    .mobile-menu a {
        display: block;
        padding: 4px;
        font-size: 20px;
    }

    .mobile-menu .lan-switch {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .banner1 {
        height: 208px;
        /*margin-top: 24px;*/
    }

    .ifream1 {
        width: 99%;
    }
}