/* ========================= */
/*   Tablet: max-width 991px  */
/* ========================= */
@media (max-width: 991px) {

    /* Show hamburger */
    .navbar-toggler {
        display: flex !important;
    }

    .hero_banner {
        padding: 20px 64px;
    }

    /* .hero_text p {
        padding-right: 0px;
    } */
    .hero_text h1 {
        width: 80%;
    }

    .sec_para {
        width: 90%;
    }

    .view-more-modal-inner {
        background-size: cover;
        padding: 40px;
        border-radius: 20px;
    }

    .home_header .navbar-brand img {
        max-height: 100px;
        height: 100px;
        top: 43px;
        left: 8%;
    }

    .header_subtract_image {
        bottom: -102px;
        height: 90px;
        left: -1px;
    }

    .header_subtract_image2 {
        right: -1px;
        bottom: -37px;
    }

    .ad-banner {
        margin-bottom: 20px;
        height: 50px;
        background-position: 530px center;
    }

    .ad-banner-text h2 {
        font-size: 20px;
    }

    .ad-banner-text p {
        font-size: 12px;
    }

    .ad-banner-text {
        height: 50px;
    }

    /* Mobile nav - slide-in from right */
    .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        right: -280px !important;
        width: 280px !important;
        height: 100vh !important;
        background-color: #fff !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 120px 30px 30px !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1) !important;
        transition: right 0.35s ease !important;
        z-index: 1000 !important;
        overflow-y: auto !important;
        flex-basis: auto !important;
        flex-grow: 0 !important;
    }

    .navbar-collapse.open {
        right: 0 !important;
    }

    .navbar-nav {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
    }

    .navbar-nav li {
        margin-right: 0 !important;
        border-bottom: 1px solid #f0f0f0;
    }

    .navbar-nav li:last-child {
        border-bottom: none;
    }

    .navbar-nav li a {
        display: block !important;
        padding: 14px 0 !important;
        font-size: 16px !important;
    }

    /* Features responsive */
    .features-card {
        padding: 30px 30px 40px;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
    }

    .gradient_heading {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .feature-content h3 {
        font-size: 22px;
    }

    .feature-content p {
        font-size: 18px;
        line-height: 1.4;
    }

    .features {
        padding-bottom: 60px;
    }

    .features-content {
        padding: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 0px;
        margin-top: 0px;
    }

    .feature-item {
        gap: 40px;
    }

    .features-dots {
        margin-bottom: 0px;
        padding: 0px;
    }

    .features_logo {
        margin-bottom: 24px;
    }

    .hero {
        height: auto;
        padding: 80px 0;
    }

    .hero_text {
        height: 800px;
    }

    .hero_image {
        height: 90%;
    }

    .hero_image img {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .insights {
        padding: 60px 0;
    }

    .insights_grid {
        grid-template-columns: 1fr;
    }

    .insight_tall {
        height: 320px;
        min-height: auto;
    }

    .insight_large {
        height: 320px;
    }

    .insight_small {
        height: 200px;
    }

    .insights_right .insight_tall img {
        height: 100%;
    }

    .insights_left {
        gap: 30px;
    }

    .insights_row {
        gap: 30px;
    }

    .insights_grid {
        gap: 30px;
    }

    .insights p {
        margin-bottom: 24px;
    }

    .row_reverse {
        flex-direction: column-reverse;
    }

    footer {
        padding: 80px 0 20px 0;
    }

    .shaping_future h4 {
        font-size: 24px;
        line-height: 30px;
        font-weight: 500;
    }

    .map_address {
        gap: 16px;
    }

    .map_address p {
        padding: 0 10px;
    }

    .insights_page_title {
        font-size: 40px;
    }

    .insights_page_subtitle {
        font-size: 18px;
    }

    .featured_insight_details h2 {
        font-size: 24px;
    }

    .featured_insight_image {
        margin-bottom: 24px;
    }

    .other_insight_thumb {
        height: 150px;
        border-radius: 16px;
    }

    .small_play_btn svg {
        scale: 0.7;
    }

    .featured_insight_image img {
        height: 380px;
    }

    .posters_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blogs_grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

    .poster_thumb {
        height: 330px;
    }

    .blogs_thumb {
        height: 330px;
    }

    .blogs-details {
        min-height: 487.39px !important;
        height: 487.39px !important;
    }

    .blogs-details::after {
        height: 487.39px;
    }

    .blogs-details img {
        height: 487.39px;
    }

    .recent_blogs {
        padding-left: 0px;
        margin-top: 40px;
        position: relative !important;
        top: auto !important;
        align-self: auto;
    }

    .blogs_details_header {
        width: 80%;
    }

    .blogs_details_header h2 {
        font-size: 32px;
        font-weight: 500;
    }

    .blogs_content h4 {
        font-size: 24px;
    }

    .blogs_content p {
        font-size: 16px;
    }

    .blogs_content ul li {
        font-size: 16px;
    }

    .recent_blogs_content_text h5 {
        font-size: 18px;
    }
/* 
    .links {
        gap: 24px;
        margin-top: 40px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .join_community h4 {
        text-align: start;
    }

    .footer_social {
        justify-content: start;
    } */
}

@media (max-width: 768px) {
    .hero_banner {
        padding: 20px 64px 64px 64px;
        border-radius: 20px;
        background-image: url(../images/banner-bg-mob.webp);
    }

    .header.affix .navbar-brand img {
        max-height: 80px;
        height: 80px;
    }

    /* .hero_text p {
        font-size: 32px;
        line-height: 1.4;
        margin-bottom: 24px;
    } */

    .hero_text {
        height: 850px;
    }

    .hero_text h1 {
        width: 73%;
        font-size: 36px;
        line-height: 45px;
    }

    .sec_para {
        width: 70%;
        font-size: 20px;
    }

    .view-more-text p {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 14px;
        width: 70%;
    }

    .view-more-footer {
        margin-top: 0px;
    }

    .insight_large {
        height: 350px;
    }

    .insight_small {
        height: 200px;
    }

    .insight_tall {
        height: 350px;
    }

    .featured_insight_image img {
        height: 350px;
    }

    .other_insight_thumb {
        height: 140px;
    }

    .poster_thumb {
        height: 330px;
    }

    .blogs_thumb {
        height: 220px;
    }

    .shaping_future h4 {
        font-size: 20px;
    }

    .poster-modal-content img {
        width: 100%;
    }

    .links {
        display: flex;
        align-items: start;
        flex-direction: column;
        gap: 24px;
        margin-top: 40px;
    }
         .join_community h4 {
             text-align: start;
         }
    
         .footer_social {
             justify-content: start;
         }

}

/* ========================= */
/*   Mobile: max-width 576px  */
/* ========================= */
@media (max-width: 576px) {

    html,
    body {
        scroll-padding-top: 70px !important;
    }

    .header_subtract_image {
        bottom: -83px;
        height: 70px;
        left: 0px;
    }

    .header_subtract_image2 {
        right: 0px;
        bottom: -34px;
        height: 20px;
    }

    .header.affix .navbar-brand img {
        max-height: 60px;
        height: 60px;
    }

    .home_header .navbar {
        height: 70px;
    }

    .home_header .navbar-brand img {
        max-height: 80px;
        height: 80px;
        top: 30px;
        left: 8%;
    }

    .hero_text h1 {
        width: 100%;
        font-size: 30px;
    }

    .sec_para {
        width: 100%;
        font-size: 16px;
        margin-bottom: 4px;
    }

    .view-more-modal-inner {
        padding: 24px;
        background-image: none;
        border-radius: 20px;
    }

    .view-more-text p {
        font-size: 15px;
        width: 100%;
    }

    .hero {
        padding: 88px 0px;
        padding-bottom: 0px;
        height: auto;
    }

    .hero_banner {
        padding: 20px 24px 32px 24px;
    }


    .primary_btn {
        height: 45px;
        width: 160px;
        font-size: 18px;
        box-shadow: 0px 3px 0 0 var(--text-color);
        border-radius: 10px;
    }

    .primary_btn::before,
    .primary_btn::after {
        width: 6px;
        height: 50px;
    }

    .primary_btn::before {
        right: 22px;
    }

    .primary_btn::after {
        right: 12px;
    }

    .navbar-brand img {
        max-height: 60px;
    }


    .view-more-image {
        display: none;
    }

    .ad-modal-inner {
        border-radius: 12px;
    }

    .hero_image img {
        width: 100%;
    }

    .ad-banner {
        margin-bottom: 20px;
        height: 70px;
        background-position: 300px center;
        background-size: cover;
    }

    .ad-banner-text h2 {
        font-size: 18px;
    }

    .ad-close-btn i {
        font-size: 12px;
        width: 24px;
        height: 24px;
        line-height: 24px;
    }

    .banner-close-btn {
        right: 24px;
    }

    .ad-banner-text {
        gap: 2px;
        flex-direction: column;
        height: 70px;
        align-items: flex-start;
        justify-content: center;
    }

    .navbar-collapse {
        width: 260px !important;
        right: -260px !important;
        padding: 70px 20px 20px !important;
    }

    .navbar-collapse.open {
        right: 0 !important;
    }

    /* Features responsive */
    .features {
        padding: 40px 0;
    }

    .features-content {
        padding: 10px;
    }

    .features_logo img {
        height: 60px;
    }

    .features-card {
        padding: 16px 16px 24px;
        border-radius: 14px;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    .gradient_heading {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .insights p {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .feature-item {
        gap: 14px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .feature-content h3 {
        font-size: 16px;
    }

    .feature-content p {
        font-size: 14px;
    }

    .insights_row {
        grid-template-columns: 1fr;
    }

    .insights_left {
        gap: 16px;
    }

    .insights_row {
        gap: 16px;
    }

    .insights_grid {
        gap: 16px;
    }

    .poster-modal-content img {
        width: 100%;
        border-radius: 16px;
    }

    .poster-close-btn {
        top: -8px;
        right: -8px;
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .video-close-btn {
        top: -32px;
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .insight_large,
    .insight_small,
    .insight_tall {
        height: auto;
        aspect-ratio: 16/9;
        border-radius: 16px;
    }

    .links {
        align-items: start;
        flex-direction: column;
        gap: 24px;
        margin-top: 40px;
    }

    .join_community h4 {
        text-align: start;
    }

    .shaping_future {
        padding: 32px 32px 64px;
        margin-bottom: 16px;
    }

    .coming_soon {
        bottom: 24px;
    }

    .insights_page_title {
        font-size: 32px;
        font-weight: 500;
    }

    .insights_page_subtitle {
        font-size: 16px;
        margin-bottom: 48px;
    }

    .insights_tabs {
        flex-wrap: nowrap;
        gap: 16px;
    }

    .insights_tabs li a {
        font-size: 12px;
    }

    .posters_grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .blogs_grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }

    .featured_insight_image {
        margin-bottom: 16px;
        border-radius: 16px;
    }

    .featured_insight_image img {
        height: 220px;
    }

    .other_insight_thumb {
        height: 100px;
        border-radius: 12px;
    }

    .play_btn svg {
        scale: 0.7;
    }

    .small_play_btn {
        bottom: 2px;
        right: 2px;
    }

    .small_play_btn svg {
        scale: 0.5;
    }

    .poster_thumb {
        border-radius: 16px;
        height: 350px;
    }

    .blogs_thumb {
        border-radius: 16px;
    }

    .shaping_future {
        border-radius: 20px;
    }

    .map_address {
        border-radius: 20px;
    }

    .map_address iframe {
        border-radius: 12px 12px 0 0;
    }

    .insights_page_wrapper {
        padding-bottom: 56px;
    }

}