#dsspHS {background: #e7edf0;}
#dsspHS, #dsspHS img{width:100%; max-width:100%; height:auto;position:fixed;bottom:0;z-index: 9999999; margin:0px auto; text-align:center;}
@media only screen and (max-width: 767px){  #dsspHS {background: #cfd0db!important; margin-bottom: -20px;} }
#closeHB {position: fixed; right: 5px;bottom:5px;width: 44px; height:44px;opacity: 0.8;z-index: 99999999; background:#fff; -moz-border-radius: 50%;  -webkit-border-radius: 50%; -khtml-border-radius: 50%;border-radius: 50%;}
#closeHB:hover {opacity: 1;}
#closeHB:before, #closeHB:after {position: absolute;left: 20px;content: ' ';height: 28px;width: 1px;background-color: #000;bottom: 8px;}
#closeHB:before {transform: rotate(45deg);}
#closeHB:after {transform: rotate(-45deg);}
@media only screen and (max-width: 768px){
    #closeHB{width: 25px; height: 25px; bottom: 60px; right: 19px;}
    #closeHB:before, #closeHB:after {left: 12px;height: 15px;bottom: 4px;}
}

.c-hamburger {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

.c-hamburger span,
.c-hamburger::before,
.c-hamburger::after {
    position: absolute;
    left: 0;
    width: 100%;
    /*height: 4px;*/
    background: #2c3e50;
    transition: all 0.3s ease;
    border-radius: 2px;
}

#hamburgerToggle span,
#hamburgerToggle::before,
#hamburgerToggle::after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: #2c3e50;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.c-hamburger span {
    top: 10px;
}

.c-hamburger::before {
    content: "";
    top: 0;
}

.c-hamburger::after {
    content: "";
    bottom: 0;
}

/* ACTIVE STATE (turn to X) */
.c-hamburger.is-active span {
    opacity: 0;
}

.c-hamburger.is-active::before {
    transform: translateY(10px) rotate(45deg);
}

.c-hamburger.is-active::after {
    transform: translateY(-10px) rotate(-45deg);
}

#imageModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Overlay background */
    z-index: 9999;
}

#imageModal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the modal */
    background: white;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

#imageModal .modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

#closeModal {
    position: absolute;
    top: -12px;
    right: -12px;
    font-size: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    cursor: pointer;
}
.special-bg-section .intro {
    color: #fff !important;
}

.special-bg-section h3 a:hover {
    color: #fff !important;
}

.home-first .card-content {
    padding-bottom: 0 !important;
}

.border-top {
    border-top: 1px solid #ccc;
}

.bg-off-red {
    background-color: #F7EFE9;
    border: 1px solid red;
}

.logo-style {
    font-family: "Manufacturing Consent", system-ui;
    font-size: 64px;
    color: #000033; /* dark navy */
}

@media only screen and (max-width: 767px) {
    .home-first .h1 {
        font-size: 26px;
        line-height: 36px !important;
    }
}

.sm_Sc_title{
    display: none;
}



/*.flex-container {*/
/*    display: flex;*/
/*    justify-content: end;*/
/*}*/


img.footer-img {
    max-width: 100%;
    height: auto!important;
}

@media print, screen and (max-width: 63.9988em) {
    .logo-style {
        font-family: "Manufacturing Consent", system-ui;
        font-size: 80px;
        color: #000033;
    }

    .big_Sc_title{
        display: none;
    }

    .top-header .logo-section {
        width: 13rem;
    }

    .c-hamburger {
        width: 60px;        /* icon width */
        height: 50px;       /* total icon height */
        position: relative;
        display: inline-block;
        cursor: pointer;
    }

    .c-hamburger.is-active {
        width: 82px;
        height: 40px;
        position: relative;
        display: inline-block;
        cursor: pointer;
    }

    .c-hamburger span,
    .c-hamburger span::before,
    .c-hamburger span::after {
        content: '';
        display: block;
        background-color: #333;   /* line color */
        height: 7px;              /* line thickness */
        width: 100%;
        border-radius: 2px;
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }

    /* middle line */
    .c-hamburger span {
        top: 50%;
        transform: translateY(-50%);
    }

    /* top line — increased gap */
    .c-hamburger span::before {
        top: -17px;  /* was -10px — increased space */
    }

    /* bottom line — increased gap */
    .c-hamburger span::after {
        top: 17px;   /* was 10px — increased space */
    }

    .off-canvas .button-wrapper {
        padding: 1.3125rem .75rem 1.5625rem 0;
    }

    #imageModal .modal-content {
        max-width: 50em;
    }

    #dsspHS, #dsspHS img {
        height: 8em!important;
    }

    iframe#imageIframe {
        height: 9em;
    }

    #closeHB {
        bottom: 2.5em!important;
    }

    ul.footer-menu {
        height: 12em;
    }
    ul.footer-menu li a {
        font-size: 27px;
    }

    ul.menu.footer-menu li {
        width: 13rem;
    }

    .md-footer .footer-nav ul li {
        margin: 0 0 2.5rem;
    }

    .md-footer .footer-nav ul {
        margin: 0;
        -moz-column-count: 4;
        column-count: 3;
    }

    /*.flex-container {*/
    /*    display: flex;*/
    /*    justify-content: end;*/
    /*    margin-right: 26px;*/
    /*}*/

    i.bi.bi-facebook, i.bi.bi-youtube, i.bi.bi-twitter, i.bi.bi-instagram {
        font-size: 2.5rem;
    }

    .l-footer .copyright strong {
        font-size: xx-large;
    }

    .sm_Sc_title {
        display: inline-block;
        font-size: xxx-large;
        line-height: 3.8rem!important;
    }

    .card .card-image {
        margin-bottom: .55rem;
    }

    div#page {
        margin-top: 3rem;
    }

    .top-header {
        height: 6.5rem;
    }

    .bangla-btn {
        height: 4rem;
        width: 8rem;
    }

    .text-14 {
        font-size: 1.5rem;
    }

    h4, .type-counter li:before, .h4 {
        font-size: xxx-large !important;
        line-height: 1.5!important;
    }

    .card .intro {
        font-size: 2.1em!important;
        color: black;
    }

    p.intro.lc-3.fs-16.lh-24 {
        font-size: 2.2em!important;
        line-height: 1.7em;
    }

    .card-content h3.title a {
        font-size: xxx-large;
        line-height: 1.5em;
    }

    /*.border-right :last-child img {*/
    /*    width: 100%;*/
    /*    height: auto;*/
    /*    object-fit: fill;*/
    /*    display: block;*/
    /*    background-color: #f2f2f2;*/
    /*}*/

    .border-right :last-child img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
        background-color: #f8f8f8; /* ঐচ্ছিক - ফাঁকা জায়গায় রঙ */
    }


    .card.c_responsive, .row.c_responsive, .c_responsive {
        padding: 30px;
        margin: 20px;
        box-shadow: 1px 1px 16px 4px rgba(80, 80, 80, .6);
        border-radius: 15px;
    }

    .detailed-content p {
        font-size: 2rem;
    }

    .detailed-content h3 {
        font-size: 2.5rem !important;
    }
    .pane-content h1 {
        font-size: xxx-large;
    }

}

.abgc .il-icon {
    display: none !important;
}

.gallery-slider .slick-arrow:after, .content-slider .slick-arrow:after {
    content: "";
    background-image: url(/frontend/arrow.png);
    background-position: -151px -239px;
    width: 25px;
    height: 24px;
    display: block;
}

.card.position-relative.card.p-10.slick-slide {
    width: 342px!important;
}

#magic-line {
    transition: left 0.5s ease, width 0.5s ease;
}
.story-page-hero.RJoJJ {
    max-width: 473px !important;
}
.story-page-hero.RJoJJ img.qt-image.image.note-float-right {
    max-width: 473px!important;
}

.border-right :not(.bg-off-red):last-child {
    border-right: none !important;
}
