@media (max-width: 1199px) and (min-width: 992px) {
    .navbar-nav .nav-link {
        padding: 6px 4px;
        font-size: 13px;
    }

    .navbar-brand span {
        font-size: 1rem;
    }

    .lyrics-card p {
        font-size: 1rem;
        line-height: 1.1;
    }

    .card-desc {
        -webkit-line-clamp: 1;
    }
    .card-sampannimg {
        height: 90px;
        object-fit: cover;
    }
    .karyakram {
        height: 190px;
    }
    .event-image {
        height: 165px;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
      .white-bg-modal-sampan {
        height: 80vh;
    }
    .sahitya-btn {
        margin-bottom: 5px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .sahitya-btn {
        margin-bottom: 3px;
    }

    .sapan-karyakarm-btn {
        right: 0;
    }

    .event-card {
        width: 100%;
    }

    .first-row {
        display: block;
    }

    .music-player-bar {
        margin-bottom: 20px;
    }

    .lyrics-card p {
        font-size: 1rem;
        line-height: 1.1;
        font-weight: 500;
    }

    .gallery-img-details .img-details img {
        margin-bottom: 20px;
    }
    .card-sampannimg {
        height: 100px;
    }
    .karyakram {
        height: 220px;
    }
    .event-image {
        height: auto;
    }
}

@media (max-width: 991px) and (min-width: 320px) {
    .mob-slidebar {
        display: block !important;
    }

    /* .navbar-expand-lg {
        display: ruby-text;
    } */

    .navbar-expand-lg .container {
        width: auto;
        align-items: flex-end;
        margin: 0;
        padding: 0;
    }
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: rgb(236 80 33);
        width: 30%;
        margin: auto;
    }
}

@media (max-width: 493px) {
    .menu-last {
        justify-content: center;
    }
   
}

@media (max-width: 575px) and (min-width: 320px) {
     .media-flex{
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
    .last-footer {
        flex-direction: column;
    }
    .card-sampannimg {
        height: auto;
    }

    .navbar-brand img {
        height: 30px;
        width: auto;
    }

    .navbar-brand span {
        font-size: 1rem;
    }

    .toggle-btn button {
        height: 35px;
        padding: 1px;
    }

    .menu-last {
        justify-content: end;
    }

    .navbar {
        margin: 0;
    }

    .mob-slidebar {
        position: absolute;
        top: 0;
        right: 10px;
    }

    #mem-contact .mem-contact-form {
        padding: 1rem !important;
    }

    .section-heading,
    .karya-event-detail-section h2 {
        font-size: 22px;
    }

    .btn-outline-danger {
        margin-top: 10px;
    }

    .lyrics-grid {
        width: 95%;
        margin: auto;
    }

    .chhand-columns > div {
        padding: 10px 10px;
    }

    .lyrics-card p {
        font-size: 1rem;
        line-height: 1.1;
    }

    .about-img {
        width: 250px;
        height: 250px;
    }

    .img-background-decor::before {
        transform: rotate(327deg);
    }

    .img-background-decor {
        width: 300px;
        height: 250px;
    }

    .blog-detail-section {
        padding-top: 6rem !important;
    }

    .container {
        gap: 0.5rem;
    }

    .hero-heading {
        font-size: 2.5rem;
    }

    .hero-logo {
        height: 160px;
        width: auto;
    }

    .hero-section {
        padding-top: 3rem;
    }

    .sapan-karyakarm-btn {
        position: inherit;
        left: 0px;
        top: 0px;
    }

    .sapan-karyakarm-btn a {
        font-size: 12px;
        padding: 5px 14px;
    }

    .event-card {
        border-right: none;
        border-bottom: 4px solid var(--primary-color);
    }

    p {
        font-size: 14px !important;
    }

    .event-title {
        font-size: 1rem;
    }

    .custom-dropdown {
        flex-direction: column;
    }

    .custom-dropdown label {
        font-size: 14px;
    }

    .section-header {
        margin-bottom: 20px !important;
    }

    .hi {
        margin-top: -6px;
    }

    .en {
        margin-top: -6px;
    }

    .switch::before {
        top: 2px;
        width: 48px;
        height: 27px;
    }

    .switch {
        height: 30px;
    }

    .event-image {
        height: 200px;
        width: 100%;
        object-fit: cover;
    }

    .event-text {
        height: 160px;
    }

    .event-card {
        height: 100%;
        flex-direction: column;
    }

    .card-desc {
        -webkit-line-clamp: 2;
    }

    .literature-entry img {
        width: 50%;
    }

    .membership-imgbox img {
        object-position: 0px center;
    }

    #mem-contact .mem-contact-form {
        margin-top: 15px;
    }

    .mem-contact-form label {
        font-weight: 600;
        font-size: 14px;
        margin-top: 5px;
    }

    .animated-markers .marker {
        padding: 8px 14px;
        border-radius: 5px;
        font-size: 12px;
    }
    .hero-logo {
        height: 100px;
    }
    .hero-heading {
        font-size: 2rem;
    }
    .about-section,
    #artwork-gallery {
        padding: 3rem 0;
    }
    .btn-custom {
        padding: 4px 20px;
        border-radius: 14px;
        font-size: 14px;
    }
    .music-player-bar img {
        height: 100px;
        margin: 10px 0;
    }
    .song-info h4 {
        font-size: 16px;
    }
    .custom-audio {
        height: 30px !important;
    }
    .chhand-card h4,
    .lyrics-card h4 {
        font-size: 24px;
        margin-bottom: 15px;
        padding-top: 10px;
    }
    .chhand-columns > div {
        padding: 20px 20px;
        border-radius: 0px;
    }
    .chhand-columns {
        gap: 10px;
        padding: 0;
    }
    .lyrics-card {
        padding: 0px;
    }
    .select2-container {
        width: 100% !important;
    }
    .white-bg {
    height: 100px;
    }
    .white-bg-modal {
    height: 70vh;
        width: 100vw;
    }
         .white-bg-modal-sampan {
        height: 52vh;
    }
    .preview-modal-media .modal-dialog-media {
    max-width: 92vw;
    max-height: 100vh;
    }
    .carousel-control-prev-icon.white-icon, .carousel-control-next-icon.white-icon{
        font-size:18px;
    }
    .btn-close.btn-close-white {
    font-size: 14px;
    width: 20px;
    height: 20px;
}
.mob-close-btn{
    display: block !important;
}
.sampan-modal-dialog {
    margin-top: 0 ;
}
.modal-footer{
    font-size:15px !important;
}
    .modal-body p {
        font-size: 15px !important;
    }
    
.mob-preview-modal{
        position: relative;
    height: auto !important;
}
.sampan-modal-dialog{
        height: 100vh !important;
    display: flex;
    align-items: center;
}
.preview-modal-sampan .modal-dialog-sampan{
    max-width:100vw;
}
}

@media (max-width: 768px) {
      .white-bg-modal-sampan {
        height: 60vh;
    }
    .open-img-card{
        flex-direction: column;
        gap:10px;
    }
   
    .event-image {
        height: auto;
        width: 100%;
        object-fit: cover;
    }

    .event-text {
        height: 140px;
    }

    .literature-entry img {
        width: 100%;
    }
    .karyakram {
        height: auto;
    }
}

@media (max-width: 991px) {
    .row-container {
        margin: 0 auto;
    }
}

@media (max-width: 414px) {
    .event-card {
        height: 100%;
        flex-direction: column;
    }

    .card-desc {
        -webkit-line-clamp: 1;
    }

    event-content {
        height: 180px;
    }
}

@media (max-width: 425px) and (min-width: 375px) {
             .white-bg-modal-sampan {
        height: 46vh;
    }
.modal-pad-center{
        padding: 0.5rem;
}
    .toggle-btn button {
        height: 28px;
    }

    #language-label {
        font-size: 0.95rem;
    }

    .hero-logo {
        height: 200px;
    }
}

@media (max-width: 375px) {
    
.modal-pad-center{
        padding: 0.5rem;
}
    .hero-logo {
        width: auto;
    }

    .navbar-brand {
        margin: 0 15px;
    }

    .img-background-decor {
        width: 250px;
        height: 200px;
    }

    .about-img {
        width: 200px;
        height: 200px;
    }

    .artwork-card {
        width: 280px;
    }

    .justify-around {
        justify-content: space-around;
    }

    .hero-section {
        padding: 3rem 0.2rem !important;
    }

    .navbar-brand span {
        display: none;
    }

    #language-label {
        font-size: 0.8rem;
    }

    .toggle-btn button {
        height: 28px;
        border: none !important;
    }

    .blog-detail-section {
        padding-top: 1rem !important;
    }

    .literature-entry img {
        width: 100%;
    }

    .schedule-section,
    .event-section,
    .gallery-section {
        padding: 40px 0 !important;
    }

    #literature,
    #mem-contact {
        padding-top: 40px;
    }

    .gallery-section h2 {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .literature-table td {
        padding: 0.5em;
    }

    .btn-outline-primary,
    .btn-outline-danger {
        border-radius: 10px !important;
    }

    .last-footer {
        align-items: center;
    }

    .last-footer span {
        text-align: center;
    }

    .table-tr {
        border-radius: 12px 0 0 0 !important;
    }

    .table-td {
        border-radius: 0 12px 0 0 !important;
    }
}

@media (max-width: 786px) {
    .logo-content {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0 !important;
    }
    .sahitya-btn {
        margin-top: 0px !important;
    }
    .btn-outline-danger,
    .btn-outline-primary {
        border-radius: 8px !important;
    }
}

@media (max-width: 374px) and (min-width: 320px){
        .white-bg-modal-sampan {
        height: 35vh;
    }
}

@media (max-width: 767px) and (min-width: 320px) {
        .event-text {
        height: 110px;
    }
    .event-sapankaryakarm-content {
    height: 186px;
}
}