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

    .navbar-brand span {
        font-size: 12px;
    }

    .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;
    }

    .navbar {
        padding: 8px 6px;
    }

    .navbar-expand-lg .navbar-nav {
        gap: 5px;
    }
}

@media (max-width: 1439px) and (min-width: 1200px) {
    .navbar-nav .nav-link {
        font-size: 13px;
    }

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

@media (max-width: 1266px) and (min-width: 991px) {
    .switch {
        width: 80px;
        height: 35px;
    }

    .navbar-brand span {
        display: none;
    }

    .navbar-brand img {
        height: 50px;
    }
}

@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: auto;
        margin: 4px 8px 4px 4px;
        color: #fff !important;
    }
}

@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-section .container {
        margin-top: 20px;
    }

    .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;
        margin: auto;
    }

    .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,
    .modal-dialog-media {
        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,
    .modal-dialog-media {
        height: 80vh !important;
        display: flex;
        align-items: center;
    }

    .preview-modal-sampan .modal-dialog-sampan {
        max-width: 100vw;
    }

    .section-title {
        padding-top: 30px;
    }

    .section-line {
        margin-top: 28px;
    }
    .section-divider {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .swiper-button-prev {
        left: 88% !important;
    }

    .image-frame-wrapper {
        width: 100%;
    }

    .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;
    }

    .navbar-mob .nav-link {
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .en,
    .hi {
        margin-top: -7px !important;
    }

    .switch::before {
        left: -4px !important;
        width: 36px !important;
        height: 22px !important;
    }

    .switch {
        width: 80px !important;
        height: 30px !important;
    }

    .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;
    }

    #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) {
    .membership-bg .container {
        padding-top: 0px !important;
    }

    .white-bg-modal-sampan {
        height: 35vh;
    }
}

@media (max-width: 767px) and (min-width: 320px) {
    .sampann-detail-row {
        display: none !important;
    }

    .sampann-detail-row-mob {
        padding: 20px;
    }

    .event-text {
        height: 110px;
    }

    .event-sapankaryakarm-content {
        height: 186px;
    }
}

@media (min-width: 992px) {
    .navbar-mob {
        display: none !important;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
        gap: 5px;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .navbar-nav-mob {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .navbar-mob .nav-link {
        color: #ffffff !important;
        font-weight: 400;
        font-size: 16px;
        padding: 10px 6px;
        border-radius: 20px;
        transition:
            background-color 0.3s ease,
            color 0.3s ease;
    }

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

    .navbar {
        padding: 8px 6px;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .navbar-nav-mob {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .navbar-mob .nav-link {
        color: #ffffff !important;
        font-weight: 400;
        font-size: 14px;
        padding: 8px 6px;
        border-radius: 20px;
        transition:
            background-color 0.3s ease,
            color 0.3s ease;
    }

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

    .navbar {
        padding: 8px 6px;
    }
}

@media (max-width: 768px) and (min-width: 576px) {
}

@media (max-width: 480px) and (min-width: 320px) {
    .play-overlay {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .custom-carousel-wrapper {
        height: 340px !important;
    }

    .switch::before {
        left: -4px !important;
        width: 35px !important;
        height: 22px !important;
    }

    .en-lang .head-navbar {
        font-size: 13px;
    }

    .hi-lang .floating-action-button {
        top: 50%;
        right: -28px;
    }

    .eng-lang .floating-action-button {
        right: -56px;
    }

    .navbar-mob .nav-link {
        color: #ffffff;
        font-weight: 400;
        font-size: 11px;
        padding: 6px 6px;
        border-radius: 20px;
        /* transition: background-color 0.3s ease, color 0.3s ease; */
        margin: 2px 2px 2px 2px;
    }

    .navbar-nav-mob {
        width: 100%;
        display: flex;
        flex-direction: row;
    }

    .navbar {
        padding: 5px 6px;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: rgb(236 80 33);
        width: auto;
        margin: 2px 2px 2px 2px;
        color: #fff;
    }

    .hero-section {
        padding-top: 8rem !important;
    }

    .en-lang .switch::before {
        left: 4px !important;
        width: 36px !important;
        height: 22px !important;
    }

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

@media (min-width: 1024px) {
    .hi-lang .floating-action-button {
        top: 50%;
        right: -27px;
        font-size: 14px;
    }

    .en-lang .floating-action-button {
        top: 50%;
        right: -56px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .hi-lang .floating-action-button {
        top: 50%;
        right: -28px;
    }

    .eng-lang .floating-action-button {
        right: -56px;
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    .hi-lang .floating-action-button {
        top: 50%;
        right: -28px;
    }

    .eng-lang .floating-action-button {
        right: -56px;
    }
}

@media (max-width: 575px) and (min-width: 499px) {
    .hi-lang .floating-action-button {
        top: 50%;
        right: -28px;
    }

    .eng-lang .floating-action-button {
        right: -56px;
    }
}

@media (max-width: 498px) and (min-width: 481px) {
    .hi-lang .floating-action-button {
        top: 50%;
        right: -28px;
    }

    .eng-lang .floating-action-button {
        right: -56px;
    }
}

@media (max-width: 425px) and (min-width: 375px) {
    .switch::before {
        left: -4px !important;
        width: 35px !important;
        height: 22px !important;
    }

    .en-lang .switch::before {
        left: 4px !important;
        width: 40px !important;
        height: 22px !important;
    }

    .hi-lang .floating-action-button {
        top: 50%;
        right: -28px;
    }

    .eng-lang .floating-action-button {
        right: -56px;
    }
}

@media (max-width: 425px) and (min-width: 375px) {
    .navbar-mob .nav-link {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .switch::before {
        left: 4px !important;
        width: 44px !important;
        height: 27px !important;
    }

    .floating-action-button {
        top: 40%;
    }
}

@media (max-width: 475px) and (min-width: 426px) {
    .switch::before {
        left: 7px !important;
        width: 42px !important;
        height: 26px !important;
    }
}

@media (max-width: 375px) and (min-width: 320px) {
    .switch::before {
        left: -4px !important;
        width: 35px !important;
        height: 22px !important;
    }
}

@media (max-width: 475px) and (min-width: 376px) {
    .switch::before {
        left: 8px !important;
        width: 40px !important;
        height: 27px !important;
    }

    .en-lang .switch::before {
        left: 4px !important;
        width: 44px !important;
        height: 28px !important;
    }
}
@media (max-width: 650px) and (min-width: 320px) {
    .mobile-visible-menu {
        display: flex !important;
        background-color: #fff;
    }

    .navbar-mob .mobile-visible-menu li a {
        color: #e24c00 !important;
        font-weight: 700;
        margin: 4px 8px 4px 4px;
    }

    .navbar-mob .mobile-visible-menu li a.active-nav-item-mobile {
        color: #fff !important;
    }

    .mob-none {
        display: none;
    }
   
}