@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Kalnia:wght@600&family=Manjari&family=Nova+Square&family=Poppins:ital,wght@0,200;0,300;0,400;1,500&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

.hidden {
    display: none;
}

body {
    background-color: rgb(247, 240, 231);
    font-family: 'Poppins', sans-serif;
}




.list-head {
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    margin-top: 1%;
    font-family: 'Josefin Sans', sans-serif;
}




.sjright {
    float: right;
    font-size: 20px;
    text-decoration: underline;
    cursor: pointer;
    color: #492b8b;
    border-left: 2px solid #2f1d54;
    padding-left: 10px;
    margin-top: 10px;
}

.sjright br {
    display: none;
}

@media (max-width:776px) {
    .list-head {
        font-size: 20px;
        font-weight: 600;
    }
}

@media (max-width:576px) {
    .list-head {
        font-size: 16px;
        font-weight: 600;
    }

    .sjright {
        font-size: 16px;

        margin-top: 0px;
    }

    .sjright br {
        display: block;
    }
}

@media (max-width:300px) {
    .sjright {
        font-size: 12px;
    }

}

.m-ad-main {
    display: none;
    overflow: hidden;
}

.m-ad {
    overflow: hidden;
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.368);
    width: 100%;
}

.m-ad-sub {
    width: auto;
    white-space: nowrap;
    animation: scrollNews2 20s linear infinite;
}

.m-ad span {
    margin: 10px;
}



main {
    display: grid;
    grid-template-areas: "article aside";
    grid-template-rows: auto;
}

article {
    grid-area: article;
}

article .row {
    margin: 0;
}

article h5 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 25px;
}

#sj {
    color: #6c40cc;
}

article button {
    border: none;
    padding: 5px 15px;
    background: transparent;
    position: absolute;
    right: 50%;
}

article button:hover {
    color: #6c40cc;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-indent: 1px;
    text-overflow: '';
    color: rgba(55, 55, 55, 0.719);
    cursor: pointer;
    border: 1px solid #000000;
}

select::-ms-expand {
    display: none;
}

select option {
    color: #000;
}


.dist,
.dist2 {
    height: 30px;
    border-radius: 5px;
    padding-left: 10px;
}



.dist:focus,
.dist2:focus {
    outline: none;
    border: 2px solid #6c40cc;
}

.dist2 {
    width: 50%;
}

aside {
    background: #fff5f5;
    grid-area: aside;
    height: 95vh;
    border-left: 1px solid #000;
    border-bottom: 2px solid #000;
    overflow: hidden;
}

.news-container {
    overflow: hidden;
}

.news {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    animation: scrollNews 15s linear infinite;

}

.news h6 {
    text-decoration: underline;
}

.news img {
    width: 100%;
}

@keyframes scrollNews {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(-100%);
    }
}

@keyframes scrollNews2 {
    0% {
        transform: translateX(50%);
    }

    100% {
        transform: translateX(-150%);
    }
}

.news div {
    margin: 0;
    padding-left: 10px;
    max-width: 300px;
}



.ad {
    height: 280px;
    border-radius: 10px;

}

.swiper {
    max-width: 700px;
    height: 280px;
}

.swiper .swiper-wrapper {
    height: 100%;
    width: 100%;

}

.swiper .swiper-slide {
    height: 100%;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.swiper .swiper-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* .ad img {
    object-fit: cover;
    width: 100%;
    height: 100%;

} */

.pro {
    height: 280px;
    border-radius: 10px;
    background: rgb(135, 111, 255);
    font-family: 'Nova Square', sans-serif;
    overflow: hidden;
}

.pros {
    height: 280px;
    width: 270px;
}

.pros .swiper-wrapper {
    height: 100%;
    width: 100%;
}

.pros .swiper-slide {
    height: 100%;
    width: 100%;
    position: relative;
}

.pros .swiper-slide img {
    position: absolute;
    height: 100%;
    right: -20px;
    top: 20px;
    transition: .5s;

}


.pros .swiper-slide h5 {
    position: absolute;
    top: 20%;
    font-size: 16px;
    color: #fff;
    max-width: 60%;
    transition: .5s;
}

.pros .swiper-slide a {
    z-index: 4;
    position: absolute;
    bottom: 5px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

.pros .swiper-slide:hover img {
    transform: scale(1.1);
    transition: .5s;
}

.pros .swiper-slide:hover h5 {
    transform: translateY(-30px)scale(1.1);
    transition: .5s;
}

.ser {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.icon {
    background: #fff;
    height: 120px;
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.icon a {
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 10px;
    border: 2px solid rgba(169, 169, 169, 0.499);

}

.icon a:hover {
    box-shadow: 0 0 8px rgba(78, 78, 78, 0.3);
}

.icon small {
    font-weight: 500;
}

@media (max-width:1200px) {
    article button {
        right: 49%;
    }

    .ad {
        height: 250px;
    }

    .swiper {
        max-width: 550px;
        height: 250px;
    }

    .pro {
        height: 250px;
    }

    .pros {
        height: 250px;
        width: 200px;
    }
}

@media (max-width:996px) {
    .ad {
        height: 150px;
    }

    .swiper {
        max-width: 380px;
        height: 150px;
    }

    .pro {
        height: 150px;
    }

    .pros {
        height: 150px;
        width: 120px;
    }

    .pros h5 {
        font-size: 14px;
        max-width: 60%;
    }

}

@media (max-width:796px) {
    .m-ad-main {
        display: block;
    }

    .ad {
        height: 200px;
    }

    .swiper {
        max-width: 450px;
        height: 200px;
    }

    .pro {
        height: 200px;
    }

    .pros {
        height: 200px;
        width: 160px;
    }

    article .dist2 {
        width: 100%;
    }

    article button {
        right: 5%;
    }

    aside {
        display: none;
    }

    main {
        grid-template-areas: "article";

    }

    .icon a {
        border: none;

    }
}

@media (max-width:576px) {

    .swiper {
        max-width: 380px;
        height: 200px;
    }

    .pros {
        height: 200px;
        width: 350px;
    }

    .pros img {
        right: -5px;
        top: 10px;
    }

    .pros h5 {
        font-size: 19px;
        max-width: 60%;
    }
}

@media (max-width:400px) {
    .ad {
        height: 150px;
    }

    .swiper {
        max-width: 270px;
        height: 150px;
    }

    .pro {
        height: 150px;
    }

    .pros {
        height: 150px;
        width: 245px;
    }


    article h5 {
        font-size: 20px;
    }

    .icon {
        width: 33.333%;
        transform: scale(0.8);

    }

}



/* about section */

#abt {
    margin-top: 3rem;
    min-height: 30vh;
    text-align: center;
    padding: 5rem 15rem 2rem;
}

.abt-content {}

.abt-content h5 {
    color: #492b8b;
}

.abt-content p {
    font-size: 14px;
}

@media (max-width:992px) {
    #abt {
        padding: 2rem 5rem;
    }
}

@media (max-width:576px) {
    #abt {
        padding: 1rem;
    }
}

/* list-style */

.list-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 95%;
    margin: 20px auto;
}

.list-main a {
    text-decoration: none;
}

.list-sub {
    margin: 0 auto;
    width: 180px;
    height: 220px;
    border-radius: 5px;
    border: 1px solid #4c357f;
    overflow: hidden;
    transition: .5s;
    position: relative;
}

.list-sub:hover {
    box-shadow: 0 0 8px rgba(78, 78, 78, 0.3);
    transition: .5s;
}

.list-sub:hover .sub-content,
.list-sub:hover img {
    transform: scale(1.03);
    transition: .5s;
}

.list-sub img {
    width: 100%;
    height: 70%;
    object-fit: contain;
    transition: .5s;

}

.list-main .sub-content {
    background: rgba(42, 14, 103, 0.348);
    width: 100%;
    height: 30%;
    color: #000000;
    transition: .5s;
}

.list-main .sub-content span {
    display: block;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}

.list-main .sub-content small {
    display: block;
    text-align: center;
    font-size: 14px;
}





@media (max-width:453px) {
    .list-main {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        align-items: center;
        gap: .5rem;
        width: 95%;
        margin: 20px auto;
    }

    .list-sub {
        margin: 0 auto;
        width: 140px;
        height: 180px;
        border-radius: 5px;
        border: 1px solid #492b8b;
    }

    .list-main .sub-content span {
        font-size: 10px;
    }

    .list-main .sub-content small {
        font-size: 10px;
    }

}




/* prolist style */

.prolist-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 95%;
    margin: 20px auto;
}

.prolist-main a {
    text-decoration: none;
}

.prolist-sub {
    margin: 0 auto;
    width: 180px;
    height: 220px;
    border-radius: 5px;
    border: 1px solid #4c357f;
    overflow: hidden;
    transition: .5s;
    position: relative;
}

.prolist-sub:hover {
    box-shadow: 0 0 8px rgba(78, 78, 78, 0.3);
    transition: .5s;
}

.prolist-sub:hover .sub-content,
.prolist-sub:hover img {
    transform: scale(1.03);
    transition: .5s;
}

.prolist-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
    z-index: 1;
    position: absolute;

}

.prolist-main .sub-content {
    background: #2a0e67cd;
    width: 100%;
    height: 30%;
    color: #ffffff;
    transition: .5s;
    z-index: 3;
    position: absolute;
    bottom: 0;
}

.prolist-main .sub-content span {
    display: block;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}

.prolist-main .sub-content small {
    display: block;
    text-align: center;
    font-size: 14px;
}





@media (max-width:453px) {
    .prolist-main {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        align-items: center;
        gap: .5rem;
        width: 95%;
        margin: 20px auto;
    }

    .prolist-sub {
        margin: 0 auto;
        width: 140px;
        height: 180px;
        border-radius: 5px;
        border: 1px solid #492b8b;
    }

    .prolist-main .sub-content span {
        font-size: 10px;
    }

    .prolist-main .sub-content small {
        font-size: 10px;
    }

}


/* detail style */

.head {
    background: #2f1d54;
    padding: 10px 40px;
    color: #fff;
}

.detail {
    width: 80%;
    margin: 50px auto;
    display: flex;
    height: auto;
    max-height: 40%;
    border: 1px solid #8c849c;
    border-radius: 5px;
    overflow: hidden;
}

.detail-img {
    width: 30%;
}

.detail-img img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.detail-content {
    width: 70%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px 0 0 100px;
    position: relative;
}

.limg {
    position: absolute;
    right: -10%;
    height: 100%;
    width: 50%;

}

.limg img {
    width: auto;
    height: 90%;
    opacity: 0.3;
}


.detail-content h6 {
    font-size: 25px;

}

.detail-content p {
    font-size: 20px;
    margin: 5px 0;
    max-width: 99%;
}

.detail-content a {
    text-decoration: none;
    font-size: 16px;
}

@media (max-width:996px) {

    .detail {
        width: 95%;
        margin: 50px auto;
        display: flex;
        height: auto;
        max-height: 40%;
    }

    .detail-img {
        width: 30%;
    }

    .detail-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .detail-content {
        width: 70%;


    }

    .limg {
        display: none;

    }
}

.detail-content h6 {
    font-size: 25px;

}

.detail-content p {
    font-size: 20px;
    margin: 5px 0;
    user-select: none;
}

.detail-content a {
    text-decoration: none;
    font-size: 16px;
    user-select: none;
}


@media (max-width:576px) {
    .detail {
        width: 80%;
        margin: 50px auto;
        height: auto;
        max-height: 40%;
        flex-direction: column;

    }

    .detail-img {
        width: 100%;
    }

    .detail-img img {
        width: 100%;
        height: 80%;
        object-fit: cover;
    }

    .detail-content {
        width: 100%;
        padding: 10px 0 5px 5px;
    }

    .detail-content h6 {
        font-size: 20px;

    }

    .detail-content p {
        font-size: 15px;
        margin: 0;
        overflow-wrap: break-word;
    }

    .detail-content a {
        text-decoration: none;
        font-size: 13px;
        overflow-wrap: break-word;
    }

}




/* jammaath list-style */

.jlist-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 95%;
    margin: 20px auto;
}

.jlist-main a {
    text-decoration: none;
}

.jlist-sub {
    margin: 0 auto;
    width: 180px;
    height: 220px;
    border-radius: 5px;
    border: 1px solid #4c357f;
    overflow: hidden;
    transition: .5s;
    position: relative;
}

.jlist-sub:hover {
    box-shadow: 0 0 8px rgba(78, 78, 78, 0.3);
    transition: .5s;
}

.jlist-sub:hover .sub-content,
.jlist-sub:hover img {
    transform: scale(1.03);
    transition: .5s;
}

.jlist-sub img {
    width: 100%;
    height: 70%;
    object-fit: contain;
    transition: .5s;

}

.jlist-main .sub-content {
    background: rgba(20, 136, 18, 0.596);
    width: 100%;
    height: 30%;
    color: #000000;
    transition: .5s;
}

.jlist-main .sub-content span {
    display: block;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}

.jlist-main .sub-content small {
    display: block;
    text-align: center;
    font-size: 14px;
}





@media (max-width:453px) {
    .jlist-main {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        align-items: center;
        gap: .5rem;
        width: 95%;
        margin: 20px auto;
    }

    .jlist-sub {
        margin: 0 auto;
        width: 140px;
        height: 180px;
        border-radius: 5px;
        border: 1px solid #492b8b;
    }

    .jlist-main .sub-content span {
        font-size: 10px;
    }

    .jlist-main .sub-content small {
        font-size: 10px;
    }

}

/* Jamaath detail style */

.jhead {
    background: #153d1f;
    padding: 10px 40px;
    color: #fff;
}

.jdetail {
    width: 80%;
    margin: 50px auto;
    display: flex;
    height: auto;
    max-height: 40%;
    border: 1px solid #8c849c;
    border-radius: 5px;
    overflow: hidden;
}

.jdetail-img {
    width: 30%;
}

.jdetail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jdetail-content {
    position: relative;
    width: 70%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px 0 0 100px;
}



.jdetail-content h6 {
    font-size: 25px;

}

.jdetail-content p {
    font-size: 20px;
    margin: 5px 0;
    max-width: 99%;
    user-select: none;
}

.jdetail-content a {
    text-decoration: none;
    font-size: 16px;
    user-select: none;
}

@media (max-width:996px) {

    .jdetail {
        width: 95%;
        margin: 50px auto;
        display: flex;
        height: auto;
        max-height: 40%;
    }

    .jdetail-img {
        width: 30%;
    }

    .jdetail-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .jdetail-content {
        width: 70%;


    }
}

.jdetail-content h6 {
    font-size: 25px;

}

.jdetail-content p {
    font-size: 20px;
    margin: 5px 0;
}

.jdetail-content a {
    text-decoration: none;
    font-size: 16px;
}


@media (max-width:576px) {
    .jdetail {
        width: 80%;
        margin: 50px auto;
        height: auto;
        max-height: 40%;
        flex-direction: column;

    }

    .jdetail-img {
        width: 100%;
    }

    .jdetail-img img {
        width: 100%;
        height: 80%;
        object-fit: cover;
    }

    .jdetail-content {
        width: 100%;
        padding: 10px 0 5px 5px;
    }

    .jdetail-content h6 {
        font-size: 20px;

    }

    .jdetail-content p {
        font-size: 15px;
        margin: 0;
        overflow-wrap: break-word;
    }

    .jdetail-content a {
        text-decoration: none;
        font-size: 13px;
        overflow-wrap: break-word;
    }

}

/* Pro detail style*/

.prodetail {
    min-height: 92vh;
}

.prodetail-sub {
    width: 60%;
    margin: 0 auto;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
}

.prodetail-img {
    width: 50%;
    height: 300px;
    text-align: center;

}

.prodetail-img img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 5px;
    background: #0606066b;
}

.prodetail-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.prodetail-content h6 {
    font-size: 22px;
    font-weight: 700;
}

.prodetail-content p {
    font-size: 16px;
    font-weight: 500;
}

.prodetail-abt {
    font-size: 16px;
    padding: 20px;
    margin-top: 10px;
    border-top: 1px solid #000;
    text-align: center;

}

@media (max-width:996px) {
    .prodetail-sub {
        width: 95%;
    }
}

@media (max-width:576px) {
    .prodetail-img {
        width: 100%;
    }

    .prodetail-content {
        width: 100%;

    }

    .prodetail-content h6 {
        font-size: 20px;
        font-weight: 600;
    }

    .prodetail-content p {
        font-size: 14px;
        font-weight: 500;
    }

    .prodetail-abt {
        font-size: 14px;
        padding: 10px;
        text-align: justify;

    }
}



/* news style */

.news-m-head {
    text-align: center;
    font-family: 'Kalnia', serif;
    border-bottom: 2px solid #000;
    font-size: 50px;
}

.news-head {}

.news-top {
    width: 90%;
    margin: 15px auto;
    border-bottom: 4px double #000;

}

.news-top img {
    width: 70%;
    margin: 0 auto;
    display: block;

}

.news-top h2 {
    font-size: 35px;

}

.news-top p {}

.news-bottom {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 5px;
}

.news-bottom-sub {
    display: flex;
    flex-direction: column;
    width: 35%;


}

.news-bottom-sub img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

@media (max-width:576px) {
    .news-bottom-sub {
        width: 90%;

    }
}


/* news detail style*/

.newsdetail {
    background: #ffffff4a;
    min-height: 92vh;
}

.newsdetail-sub {
    width: 60%;
    margin: 0 auto;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
}

.newsdetail-img {
    width: 100%;
    height: 300px;
    text-align: center;

}

.newsdetail-img img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 5px;
    background: #0606066b;
}

.newsdetail-abt {
    font-size: 16px;
    padding: 20px;
    margin-top: 10px;
    border-top: 1px solid #000;
    text-align: center;

}

.detailsub {
    font-weight: 500;
}

@media (max-width:996px) {
    .newsdetail-sub {
        width: 95%;
    }
}

@media (max-width:576px) {
    .newsdetail-abt {
        font-size: 14px;
        padding: 10px;
        text-align: justify;

    }
}



/*
---------------------------------------------
Footer
---------------------------------------------
*/

footer {
    border-top: 1px solid #979292;
    padding-top: 80px;
}

footer h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2f1d54;
    margin-bottom: 30px;
}

footer p,
footer a {
    color: #2a2a2a;
    text-decoration: none;
}

footer .logo img {
    max-width: 163px;
    margin-bottom: 30px;
}

footer .helpful-links {
    margin: 0px 45px;
}

footer .helpful-links ul li {
    display: block;
    margin-bottom: 15px;
}

footer .helpful-links ul li a {
    font-size: 15px;
    transition: all .3s;
}

footer .helpful-links ul li a:hover {
    color: #4c357f;
    border-bottom: 1px solid #4c357f;
}

footer .contact-us p {
    margin-bottom: 25px;
}

footer .contact-us a {
    transition: all .3s;
}

footer .contact-us a:hover {
    color: #4c357f;
    border-bottom: 1px solid #4c357f;
}

footer .sub-footer {
    text-align: center;
    margin-top: 10px;
    padding: 40px 0px;
    border-top: 1px solid #eee;
}

@media (max-width: 992px) {

    footer {
        text-align: center;
    }

    footer .about,
    footer .helpful-links {
        margin-bottom: 45px;
    }
}

/* gallery-style */

.gallery-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 95%;
    margin: 20px auto;
}

.gallery-sub {
    margin: 0 auto;
    width: 280px;
    height: 250px;
    border-radius: 5px;
    border: 1px solid #4c357f;
    overflow: hidden;
    transition: .5s;
    position: relative;
}

.gallery-sub:hover {
    box-shadow: 0 0 8px rgba(78, 78, 78, 0.3);
    transition: .5s;
}


.gallery-sub img {
    width: 100%;
    height: 70%;
    object-fit: contain;
    transition: .5s;

}

.gallery-main .sub-content {
    background: rgba(0, 0, 0, 0.077);
    width: 100%;
    height: 30%;
    color: #000000;
    transition: .5s;
    display: flex;
    flex-direction: column-reverse;
}

.gallery-main .sub-content small {
    display: block;
    text-align: center;
    font-size: 14px;
}



@media (max-width:453px) {
    .gallery-main {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        align-items: center;
        gap: .5rem;
        width: 95%;
        margin: 20px auto;
    }

    .gallery-sub {
        margin: 0 auto;
        width: 180px;
        height: 180px;
        border-radius: 5px;
        border: 1px solid #492b8b;
        padding: 1px;
    }
    .gallery-main .sub-content small {
        font-size: 10px;
    }

}





/* translator button */

.translator {
    background: transparent;
    padding: 2px 5px;
    border-radius: 1px;
    border: none;
    border-bottom: 1px solid #2f1d54;
    font-size: 14px;
}

#content2 {
    font-family: 'Manjari', sans-serif;
    font-size: 16px;
}