.rs-menu-area nav#navMenu ul li.current-menu-item>a {
    color: #21a7d0 !important;
}

.hide {
    display: none;
}

.madrasa-logo {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),        /* soft base shadow */
    0 8px 20px rgba(255, 223, 0, 0.3),    /* yellow light glow */
    0 0 30px rgba(255, 223, 0, 0.5);
    border-radius: 12px;
    background-color: #fffbe6;
    padding: 5px;
}
.madrasa-logo:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15),
    0 12px 30px rgba(255, 223, 0, 0.4),
    0 0 40px rgba(255, 223, 0, 0.7);
    transition: box-shadow 0.3s ease;
}
#loader {
    background-color: rgba(4, 62, 100, 0.04) !important;
}

.notice {
    height: 40px;
    background: #273c66;
    color: white;
}

.contact-us {
    width: 380px;
    margin-left: 10px;
}

.contact-us li {
    display: inline-block;
    min-width: 185px;
    margin: 0;
    line-height: 65px;
}

.contact-us li a {
    color: #000;
}

#rs-header .menu-area.menu-sticky {
    background-color: #202c54;
}

.full-width-header.header-style2 .rs-header .menu-area .rs-menu-area {
    justify-content: start;
}

.menu-area.menu-sticky #navMenu ul.sub-menu.visible>li>a {
    color: #bbb !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.menu-area.menu-sticky #navMenu ul.sub-menu.visible>li:hover {
    background: #005085;
    transition: all 0.3s;
}
.menu-area.menu-sticky #navMenu ul.sub-menu.visible>li:hover a {
    color: #0b5ed7 !important;
}

.madrasa {
    padding-top: 20px;
    text-align: center !important;
    min-width: max-content;
    height: 170px;
    margin: auto;
}

.madrasa h4,
.madrasa h5,
.madrasa h6,
.madrasa p {
    margin: 0;
    color: white
}

.madrasa h4 {
    color: #ff7373;
    text-shadow: 1px 1px 0px #000000;
    margin-bottom: 10px;
    font-size: 40px;
}

.madrasa p {
    font-size: 18px;
}

.madrasa h6 {
    margin: 2px 0 5px 0;
    font-size: 18px;
    color: #00bb61;
}

.logo {
    position: absolute;
    max-width: 100px;
    overflow: hidden;
    margin-top: 3.3%;
    margin-left: 15px;
}

.logo img {
    border-radius: 5px;
    max-height: 100%
}

.date-time {
    min-width: max-content;
    margin: auto;
    color: #f5deb3;
}

.date-time-style {
    min-width: max-content;
    display: inline-block;
    margin-right: 5px;
}

.notice-right {
    position: absolute;
    right: 0;
    z-index: 999;
    background: #ffffff00;
    display: inline-block;
    width: 20px;
    height: 26px;
}

.menu-area.menu-sticky .sticky-logo {
    display: none;
}

.menu-area.menu-sticky.sticky .sticky-logo {
    display: block;
}

.sticky-logo {
    height: 70px;
    width: 120px;
    margin-right: 15px;
}

.sticky-logo img {
    border-radius: 4px;
    max-width: 100%;
    max-height: 100%;
}

.madrasa-info h4,
.madrasa-info h5,
.madrasa-info h6,
.madrasa-info p {
    margin: 0;
    color: white;
    text-align: center;
}

.madrasa-info p {
    font-size: 10px;
}

.mobile-menu .madrasa-info {
    z-index: 9;
    /*height: 90px;*/
    min-width: 100%;
}

.mobile-menu .madrasa-info h4 {
    font-size: 13px;
    margin-top: 10px;
}

.madrasa-info .date-time-container {
    font-size: 12px !important;
}

.date-time-container i {
    font-size: 18px !important;
}

.date-time-container i.fa.fa-calendar {
    margin-right: 3px !important;
}

.date-time-container i.fa-clock-o {
    margin: 0 3px 0 6px !important;
}

/*Date & Time*/
.today-d {
    display: block;
    width: 115px;
}

#date {
    display: block;
    width: 50px;
}

.today-c {
    display: inline-block;
    width: 18px;
}


.marquee {
    min-width: 300px;
    max-width: 1270px;
    overflow: hidden;
    border: 1px solid #ccc;
    background: black;
    color: #202c54;
}

#notice_scroll,
#notice_scroll a,
#notice_scroll span {
    font-weight: 500;
    font-size: 15px !important;
}

#notice_scroll a {
    font-family: 'SolaimanLipi';
    color: #333333 !important;
}

#notice_scroll a:hover {
    color: #21a7d0 !important;
}

.full-width-header .rs-header .topbar-area {
    background: #043e64;
    background-color: #043e64;

    /*background: rgb(224, 231, 247);*/
    /*background: linear-gradient(90deg, rgba(224, 231, 247, 1) 0%, rgba(214, 222, 237, 1) 48%, rgba(246, 208, 183, 1) 100%);*/
}

.full-width-header.header-style2 .rs-header .menu-area .rs-menu-area .main-menu .rs-menu ul.sub-menu {
    background: #043e64;
}
.menu-area.menu-sticky #navMenu ul>li>a {
    color: #bbb !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* .full-width-header.header-style2 .rs-header .menu-area .rs-menu-area .main-menu .rs-menu ul.sub-menu { */
.full-width-header.header-style2 .rs-header .menu-area.menu-sticky #navMenu ul>li>a:hover {
    color: #21a7d0 !important;
}

#important_p .donation-part {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: #ffffffde;
}

#important_p .donation-part p {
    padding: 0 10px 12px 10px;
}

#important_p .im-photo {
    max-width: 115px;
    max-height: 120px;
    float: left;
    margin: 0 15px 0 0;
}

#important_p h5 {
    background-color: #eeeeee;
    padding: 12px 5px 5px 10px;
}

.read-more {
    display: inline-block;
    min-width: 125px;
    margin-left: 5px;
}

.read-more>a {
    color: #273c66;
    padding-right: 22px;
    position: relative;
    font-weight: bold;
    margin-left: 0.5rem !important;
}

.read-more>a:hover {
    color: #0da3d1;
}

.read-more>a:after {
    position: absolute;
    content: "\f136";
    font-family: Flaticon;
    font-style: normal;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    color: #273c66;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.read-more:hover:after {
    right: 0;
    color: #0da3d1;
}

.rs-latest-events.style1 .event-wrap .events-short .date-part .date {
    font-size: 32px;
    font-family: 'Nunito', sans-serif;
}

.rs-latest-events.style1 .event-wrap .events-short .date-part {
    width: 85px;
    margin-right: 15px;
    padding: 8px 0 16px;
}

.rs-latest-events.style1 .event-wrap .events-short h4.title {
    font-size: 16px !important;
}

.rs-latest-events.style1 .event-wrap .events-short .date-part .month {
    margin-bottom: 5px;
}

.rs-latest-events.style1 h3.title {
    z-index: 2;
    text-align: center;
    position: relative;
    font-size: 20px;
    background: #dde0e1;
    padding: 7px;
}

.btn-part {
    /*position: absolute;*/
    /*bottom: 25px;*/
    /*right: 100px;*/
    /*z-index: 2;*/
}

.events-scroll-container .btn-part {
    background-color: #3532320d;
    bottom: 0;
    right: 1px;
    padding: 3px 10px;
    border-radius: 5px;
}

.events-scroll-container .btn-part:hover {
    background-color: #e1e1e1 !important;
}

.rs-about.style2 .about-intro {
    padding: 30px 50px 95px;
}

.madrasa-info {
    display: none;
}

@media only screen and (max-width: 990px) {
    .madrasa-info {
        display: block;
    }
}

@media only screen and (max-width: 990px) and (min-width: 375px) {

    .clock-songit {
        display: none !important;
    }

    .today-d {
        width: 88px;
    }

    .today-c {
        width: 18px;
    }

    .menu-area.menu-sticky .sticky-logo, .menu-area.menu-sticky.sticky .sticky-logo {
        display: block;
        float: left;
        max-width: 45px;
        max-height: 55px;
        margin-top: 20px;
    }
}

.attached-file.icon-img {
    height: 80px;
    max-width: 100%;
}

.pointer {
    cursor: pointer;
}

.speech-details .person img {
    width: 220px;
    max-height: 240px;
    border-radius: 5px;
    margin: 15px;
}

.speech-details .person>.title {
    min-width: 100%;
    margin-bottom: 20px;
    padding: 25px 40px 15px 40px;
    border-bottom: 1px solid #c1c1c1;
}

.speech-details .person h3 {
    margin: 0 0 0 18px;
}

.owl-carousel .owl-stage-outer {
    max-height: 380px !important;
}

.owl-carousel .owl-stage {
    display: flex;
}

.owl-carousel .owl-item img {
    width: auto;
    height: 100%;
}

.pagination-part nav a.relative, .pagination-part nav span.relative {
    border: 0 !important;
}

.card-part {
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

#teachers_corner .team-item:after {
    width: calc(100% - -2px);
    height: calc(100% - -15px);
    border-radius: 5px;
    margin-top: -10px;
}

#teachers_corner>h4.title {
    margin: 10px 0 25px 0;
    text-align: left !important;
}
#teachers_corner .team-item .content-part ul.social-links {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#teachers_corner .team-item .content-part {
    width: calc(100% - 20px);
    margin-top: -15px;
}

#teachers_corner .team-item h6 {
    text-align: center !important;
    margin-bottom: 10px !important;
}

.rs-testimonial.style2 #teachers_corner .team-item img {
    margin-bottom: 10px !important;
    max-height: 185px;
}

.profile-section .image-column .inner-column {
    text-align: center;
}

#teachers_corner .owl-item .team-item {
    border-radius: 5px;
}

#teachers_corner h4.bd-name {
    font-size: 17px !important;
}

#teachers_corner h6.bd-name {
    font-size: 15px !important;
}

#teachers_corner .owl-nav {
    top: -50px;
}

#teachers_corner .owl-nav .owl-prev:hover i, #teachers_corner .owl-nav .owl-next:hover i {
    color: #21a7d0 !important;
}

#teacher_details .image>img {
    max-width: 320px;
    max-height: 330px;
}

#teacher_details .unordered-list li::before {
    color: #ff7f00;
}

#teacher_details .unordered-list li {
    display: block;
    position: relative;
    padding-left: 25px;
    padding-bottom: 15px;
    font-weight: 500;
    line-height: 25px;
}

#teacher_details .unordered-list li:before {
    position: absolute;
    top: 0;
    left: 0;
    content: "\f105";
    font-family: FontAwesome;
    color: #21a7d0;
    font-size: 20px;
}

.unordered-list li label {
    width: 170px;
    margin-right: 8px;
}

#teacher_details ul.unordered-list>li>span {
    padding: 0 8px !important;
}

#rs-blog .blog-item .image-part img {
    max-height: 270px;
    aspect-ratio: 6 / 4;
}

.clock-songit {
    position: absolute;
    max-width: max-content;
    right: 0;
    display: flex;
}

#songit {
    height: 25px;
    max-width: 250px;
    margin-left: 10px;
}

/* CKEditor Style */
.ckeditor-content-style {
    padding: 15px 10px 10px 15px;
}

.ckeditor-content-style h1 {
    font-size: 35px
}

.ckeditor-content-style h2 {
    font-size: 30px
}

.ckeditor-content-style h3 {
    font-size: 26px;
    margin: 0 0 8px;
}
.ckeditor-content-style h4 {
    margin: 0 0 8px;
}

.ckeditor-content-style strong {
    font-size: 16px;
    color: #112958;
}

.ckeditor-content-style p {
    margin: 0 0 5px;
    line-height: 1.6;
}
.owl-carousel .owl-nav button {
    border: 0;
    background-color: transparent;
    color: #505050;
}

.about-us h3.sub-title {
    color: #ff7373;
    text-align: center;
    width: 100%;
    margin-top: 10px;
    padding-right: 11%;
}

.table-border-covered {
    border: 1px solid #e1e1e1;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.paragraph-text-start p {
    text-align: left !important;
}

.paragraph-mb-3px p {
    margin-bottom: 3px !important;
}

.current-site-email {
    color: #21a7d0;
    color: #10c7ff;
    position: absolute;
    bottom: 50px;
    right: 15px;
}

.current-site-email>i {
    margin-right: 3px;
    line-height: 28px;
}

.gallery-body {
    display: flex;
    flex-wrap: wrap;
    justify-self: start;
    white-space: 1px;
}

.gallery.blog-item {
    transition: all 0.9s;
}

.gallery.blog-item h5 {
    text-align: center;
    color: #2196F3;
    font-size: 20px;
    display: none;
    z-index: 1022;
    position: absolute;
    top: 0;
    transition: all 0.9s;
    text-shadow: 0px 0px 2px #c5c5c5;
    width: max-content;
    margin: auto;
    border-radius: 5px;
    padding: 5px 5px 2px 8px;
    background-color: rgb(255 255 255 / 65%);
}

.gallery.blog-item:hover h5 {
    display: block;
}

.gallery-body>a {
    max-width: 50%;
}

.gallery-body>a>img {
    max-width: 100%;
    border: 3px solid white;
    border-radius: 5px;
    box-shadow: 0px 1px 5px 0 #b9bbbe;
}

.video-gallery .img-part {
    background-size: cover;
    background-position: center;
    width: 100%;
}

.video-gallery .media-icon.orange-color .popup-videos {
    color: #ff5421;
    background: #ffffff;
}

.rs-footer .footer-top {
    padding: 200px 0 50px
}

.menu-area.menu-sticky #navMenu ul>li>form>a {
    color: #bbb;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.full-width-header.header-style2 .rs-header .menu-area.menu-sticky #navMenu ul>li>form>a:hover {
    color: #21a7d0 !important;
}

/* Apply this CSS in your main stylesheet or within a <style> block */
.ck-content table,
.ck-editor__editable table,
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 0.95rem;
    line-height: 1.5;
    background-color: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-radius: 6px;
    overflow: hidden;
}

.ck-content table th,
.ck-editor__editable table th,
table th {
    background-color: #f4f6f9;
    color: #333;
    font-weight: 600;
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid #ddd;
}

.ck-content table td,
.ck-editor__editable table td,
table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    color: #444;
}

.ck-content table tr:last-child td,
.ck-editor__editable table tr:last-child td,
table tr:last-child td {
    border-bottom: none;
}

.ck-content table tr:nth-child(even),
.ck-editor__editable table tr:nth-child(even),
table tr:nth-child(even) {
    background-color: #f9f9f9;
}

@media (max-width: 768px) {
    .ck-content table,
    .ck-editor__editable table,
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
/*---------------------------*/
/* ---------------------------
   Typography: h1–h6, p, span
---------------------------- */
.ck-content h1,
.ck-content h2,
.ck-content h3,
.ck-content h4,
.ck-content h5,
.ck-content h6 {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #212529;
}

.ck-content h1 { font-size: 2rem; border-bottom: 2px solid #dee2e6; padding-bottom: 0.3rem; }
.ck-content h2 { font-size: 1.75rem; border-bottom: 1px solid #dee2e6; padding-bottom: 0.25rem; }
.ck-content h3 { font-size: 1.5rem; }
.ck-content h4 { font-size: 1.25rem; }
.ck-content h5 { font-size: 1.1rem; }
.ck-content h6 { font-size: 1rem; color: #6c757d; }

/* Paragraphs */
.ck-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #343a40;
    margin-bottom: 1rem;
}

/* Span (inline) */
.ck-content span {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Strong and Emphasis */
.ck-content strong {
    font-weight: 600;
    color: #000;
}

.ck-content em {
    font-style: italic;
    color: #555;
}

/* ---------------------------
   Div blocks
---------------------------- */
.ck-content div {
    font-size: 1rem;
    line-height: 1.7;
    color: #212529;
    margin-bottom: 1rem;
}

/* ---------------------------
   Table Styling
---------------------------- */
.ck-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: #fff;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 0.25rem;
    overflow: hidden;
}

.ck-content table th,
.ck-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    text-align: left;
    vertical-align: top;
}

.ck-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #212529;
}

.ck-content table tr:nth-child(even) {
    background-color: #fdfdfe;
}

/* Responsive table for small devices */
@media (max-width: 768px) {
    .ck-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
.bangla-text {
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'SolaimanLipi', 'Kalpurush', sans-serif !important;
    font-size: 1rem;
    line-height: 1.8;
    color: #212529;
}

#important_p .row {
    display: flex;
    flex-wrap: wrap; /* Ensures wrapping still works on small screens */
}

#important_p .col-lg-4 {
    display: flex;
}

#important_p .col-lg-4 > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}