body {
    /* min-height: 500vh; */
}

.banner {
    width: 100%;
    height: 600px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.banner .img-container {
    width: 100%;
    height: 100%;
}

.banner .img-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: left center;
}

.banner .swiper .swiper-button-next, .banner .swiper .swiper-button-prev {
    background-color: #fff;
    color: var(--secondary-color);
    border: 3px solid var(--secondary-color);
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 50%;
    box-shadow: 0 0 20px -4px #000;
}
.banner .swiper .swiper-button-next {
    left: 20px;
}
.banner .swiper .swiper-button-prev {
    right: 20px;
}

.layout-padding {
    /* padding-left: 60px;
    padding-right: 60px; */
    padding-inline: 60px;
}

.intro {
    position: relative;
    padding-top: 40px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../assets/img/star-pattern.png);
    /* background-color: red; */
    opacity: 0.2;
    z-index: -2;
}

.intro::after {
    content: "";
    position: absolute;
    bottom: -2%;
    left: 0;
    width: 100%;
    height: 95px;
    z-index: -1;
    /* background-color: rgba(255, 0, 0, 0.249); */
    background: #ffffff;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0) 100%);
}

.intro h1 {
    text-align: center;
}

.intro p {
    font-size: 22px;
    text-align: justify;
}

.intro .two {
    text-align: center;
    max-width: 60%;
    color: #820000;
}


.links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
    text-align: center;
}

.links .link:nth-child(2) {
    flex-basis: 50%;
}

.links .link h1 {
    font-size: 40px;
}

.links .link {
    flex-basis: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 1px solid var(--secondary-color);
    /* background-color: var(--primary-color); */
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 25px;
    padding: 10px;
    border-radius: 10px;
    height: fit-content;
    transition: .3s;
}
.links .link:hover {
    background-color: var(--secondary-color);
    color: #fff;
}



.courses-container {
    margin-top: 30px;
    padding-block: 20px;
}

/* .courses-container > h1 {
    text-align: center;
    font-size: 44px;
    margin-bottom: 25px;
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
} */

.courses {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 20px;
    column-gap: 30px;
}

.courses .course {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border: 1px solid #000; */
    font-size: 25px;
    color: var(--secondary-color);
    padding: 10px;

    border: 1px solid var(--secondary-color);
    /* background-color: var(--primary-color); */
    text-decoration: none;
    border-radius: 10px;
    transition: .3s;
}
.courses .course:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.courses .course h1 {
    font-size: 36px;
}




.books-container {
    margin: 40px 0;
    /* padding: 0 50px; */
}

.head {
    text-align: center;
    margin-bottom: 28px;
    background-color: var(--primary-color);
    padding: 5px 0;
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
    font-size: 44px;
    border: 2px dashed var(--secondary-color);
    border-radius: 4px;
    width: 100%;
}

.books-container .books {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.books-container .books .book {
    flex-basis: 160px;
}

.books-container .books .book img {
    width: 100%;
}



.bayan-container {
    margin-top: 60px;
}

.bayans {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: thin; 
}

/* .bayans::-webkit-scrollbar {
  width: 1px;
}

.bayans::-webkit-scrollbar-thumb {
  background: gray;
  border-radius: 2px;
}

.bayans::-webkit-scrollbar-track {
  background: transparent;
} */

.bayans .bayan {
    /* width: 30%; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border: 1px solid #000; */
    
    color: var(--secondary-color);
    padding: 10px 15px;

    border: 1px solid var(--secondary-color);
    /* background-color: var(--primary-color); */
    text-decoration: none;
    border-radius: 10px;
    transition: .3s;
}
.bayans .bayan:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.bayans .bayan h4 {
    font-size: 30px ;
    white-space: nowrap;
}
.bayans .bayan p {
    font-size: 16px;
}




.channel-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 24px;
    /* background-color: rgb(245, 204, 204); */
    background-color: #c8f3d2;
    padding: 5px 30px;
    margin-top: 50px;

}

.channel-container .qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.channel-container .qr-code-container .qr-code-img  {
    border: 5px solid #000;
    padding: 4px;
    border-radius: 5px;
    margin-top: 15px;
    background-color: #fff;
}

.channel-container .qr-code-container .qr-code-img img {
    width: 120px;
    border-radius: 5px;
}


.channel-container .channel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.channel-container .channel-content > p {
    font-size: 30px;
    width: 70%;
    text-align: center;
}

.channel-container .functions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 50px;
    font-size: 22px;
    margin-top: 10px;
}


.channel-container .img-container img {
    width: 170px;
}





footer {
    display: flex;
    background-color: var(--primary-color);
    padding: 15px 20px;
    gap: 20px;
    font-size: 24px;
}

footer .english {
    font-size: 20px;
}

footer > div {
    /* background-color: rgb(207, 238, 252); */
    flex-basis: 25%;
}

footer h4 {
    color: var(--secondary-color);
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    margin-bottom: 8px;
}

footer  img {
    width: 180px;
}

footer .list .list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px dashed #cdcdcd;
}

footer .list .list-item .icon {
    color: var(--secondary-color);
    font-size: 15px;
}


footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 6px;
}
footer .social-icons .icon {
    color: #fff;
    background-color: var(--secondary-color);
    width: 35px;
    height: 35px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 1px solid var(--secondary-color);
    transition: .2s;
}
footer .social-icons .icon:hover {
    background-color: transparent;
    color: var(--secondary-color);
}



@media screen and (max-width: 960px) {
    footer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 700px) {
    .layout-padding {
        padding-inline: 20px;
    }
    .channel-container {
        flex-direction: column;
        gap: 30px;
        padding: 10px 20px;
    }
    .channel-container .channel-content > p {
        font-size: 26px;
        width: 100%;
    }


}

@media screen and (max-width: 425px) {
    footer {
        grid-template-columns: 1fr;
    }
    .intro .two {
        max-width: 100%;
    }
    .links {
        flex-direction: column;
        align-items: unset;
        margin-top: 30px;
    }
    .links .link {
        flex-basis: 100%;
    }
    .courses {
        flex-direction: column;
        align-items: stretch;
    }
    .courses .course {
        width: 100%;
    }
}