@media (max-width: 1285px) {
    .heading {
        line-height: 48px;
    }

    .subheading {
        font-size: clamp(27px, 3vw, 30px);
    }

    section.keynotespeak .speakerSwiper .card img {
        height: 100%;
    }

    section.keynotespeak .speakerSwiper .card-body {
        padding: 29px 20px;
        row-gap: 20px;
    }
}

@media (max-width: 991px) {
    .room-card {
        padding: 1.75rem;
    }

    .live-box {
        grid-template-columns: 1fr;
        column-gap: 0;
        padding: 55px 30px;
    }

    .live-box .vr {
        display: none;
    }

    .live-info {
        border-top: 1px solid rgba(20, 45, 75, 0.28);
    }

    .live-content {
        padding: 23px 0 !important;
    }

    .live-content.live-main {
        padding-top: 0 !important;
    }

    .live-content.live-info {
        padding-bottom: 0 !important;
    }

    .site-footer {
        padding: 45px 0;
    }

    .footer-wrap {
        gap: 30px;
    }

    .footer-right {
        gap: 20px;
    }

    .footer-nav {
        gap: 10px;
    }

    .footer-nav a {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: 40px 0;
    }

    .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }

    .footer-brand {
        width: 100%;
    }

    .footer-right {
        width: 100%;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
        row-gap: 12px;
    }

    .footer-nav a {
        font-size: 14px;
    }

    .copyright {
        font-size: 13px;
    }

    .modal-body-custom {
        padding: 2.25rem 1.25rem 1.5rem 1.25rem;
    }

    .modal-speaker-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modal-speaker-img-box {
        order: -1;
        max-width: 230px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .subtext span {
               display: none;
        opacity: 0;
    }

    .padding {
        padding: 62px 0;
    }

    .heading {
        line-height: 40px;
    }

    section.aboutus .abouttext {
        max-width: 364px;
    }

    section.keynotespeak .speakerSwiper .card img {
        height: 331px;
        object-position: 50% 20%;
    }

    section.keynotespeak .speakerSwiper .card-body {
        padding: 27px 23px;
    }

    section.keynotespeak .speakerSwiper .card-body .subheading {
                font-size: clamp(22px, 3vw, 30px);
    }

    section.programme .card .keynote-points {
        grid-template-columns: 1fr;
    }

    section.programme .card {
        height: 470px;
    }

    .booking-actions {
        grid-template-columns: 1fr;
    }

    .room-card {
        padding: 1.35rem 1.15rem;
    }

    .room-icon-wrapper {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        border-radius: 12px;
    }

    .room-badge {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .room-name {
        font-size: 1.2rem;
    }

    /* Optimized Mobile Pricing Block */
    .pricing-list {
        padding: 1rem;
        margin: 1.25rem 0;
        border-radius: 14px;
    }

    .price-row {
        padding: 0.65rem 0;
    }

    .occupancy-type {
        font-size: 0.95rem;
    }

    .occupancy-type i {
        font-size: 1rem;
    }

    .price-amount {
        font-size: 1.2rem;
    }

    .price-period {
        font-size: 0.72rem;
    }

    .live-box {
        display: block;
        padding: 37px 24px;
    }

    .live-content {
        padding: 30px 24px;
    }

    .live-info {
        border-left: 0;
        border-top: 1px solid rgba(20, 45, 75, 0.28);
    }

    .live-small-title {
        font-size: 13px;
    }

    .live-info h4 span {
        width: 4px;
        height: 4px;
        transform: translateY(1px);
    }

    /* .premium-partner-card img {
        width: 128px;
    } */

    .premium-partners-grid {
        grid-template-columns: 1fr;
    }

    .premium-partners-grid.afcip {
        max-width: 954px;
    }

    .premium-partner-card {
        padding: 16px 30px;
        min-height: 97px;
    }

    .sponsor-ribbon {
        padding: 6px 13px;
        font-size: clamp(10px, 2vw, 9px);
    }

    .tier-divider-text {
        margin: 0 14px;
    }

    section.partners .partnerSwiper .swiper-slide img {
        width: 200px !important;
        margin: 0 auto;
        display: flex;
    }

    section.partners .partnerSwiper .swiper-slide {
        height: 222px;
    }

    .site-footer {
        padding: 35px 0;
        margin-bottom: 45px;
    }

    .footer-wrap {
        gap: 30px;
    }

    .footer-nav {
        gap: 8px 10px;
    }

    .footer-nav a {
        font-size: 11px;
    }

    .copyright {
        font-size: 11px;
    }

    section.other-banner .card img {
height: 27vh;
        object-position: center 31%;
    }

    section.other-banner .heading {
        font-size: clamp(31px, 10vw, 54px);
    }

    section.other-banner .card-img-overlay {
        /* background: linear-gradient(181deg, #faf3e9, #faf3e938); */
        justify-content: center;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .footer-secretariat {
        padding-left: 0;
        padding-top: 20px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        width: 100%;
    }

    .random-grid {
        display: flex;
        flex-direction: column;
    }

    .span-col-2 {
        grid-column: span 1;
    }

    #profBioImage {
        width: 100%;
        height: auto;
        display: block;
        margin-top: 10px;
        margin-bottom: 20px !important;
    }

    .grid-card img {
        height: 260px;
    }

    .reg-card {
        padding: 32px 19px;
    }

    .examples-section {
        padding: 40px 22px;
    }

    .flag-img-wrapper {
        width: 60px;
        height: 36px;
    }

    .flag-country-name {
        font-size: 8px;
        font-weight: 600;
    }

    .flags-slider-section {
    padding: 16px 0;
}

section.schedule-hero .heading {
    font-size: clamp(29px, 3vw, 50px);
    line-height: normal;
}
}

@media (max-width: 380px) {
    .room-card {
        padding: 1.15rem 0.9rem;
    }

    .price-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.4rem;
    }

    .occupancy-type {
        font-size: 0.88rem;
        gap: 0.4rem;
    }

    .price-amount {
        font-size: 1.1rem;
    }
}