@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px !important;
    overflow-x: clip !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif !important;
    background-color: #ffffff;
    overflow-x: clip !important;
}

.header {
    /* background-color: #ffffff; */
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    padding: 14px 0;
    position: fixed;
    width: 100%;
    z-index: 1050;
}

.blured_header {
    backdrop-filter: blur(74px);
}

.header.affix {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* padding: 14px 0; */
}

.header_subtract_image {
    position: absolute;
    bottom: -138px;
    z-index: -1;
    pointer-events: none;
    height: 124px;
    opacity: 1;
    transition: all 0.5s ease;
    transform: translateY(0);
}

.header.affix .header_subtract_image {
    transform: translateY(-124px);
    transition: all 0.5s ease;
    /* opacity: 0; */
}

.header_subtract_image2 {
    position: absolute;
    bottom: -38px;
    z-index: -1;
    pointer-events: none;
    height: 24px;
    opacity: 1;
    right: 0;
    transition: all 0.5s ease;
    transform: translateY(0);
}

.header.affix .header_subtract_image2 {
    transform: translateY(-24px);
    transition: all 0.5s ease;
    /* opacity: 0; */
}

.home_header.affix {
    padding-top: 0;
}

.home_header .navbar {
    height: 92px;
    /* padding-top: 14px !important; */
}

.home_header.affix .navbar {
    padding-top: 14px !important;
}

.home_header .navbar-brand img {
    position: absolute;
    top: 35px;
    z-index: 3;
    left: 5%;
    max-height: 130px;
    height: 130px;
    transition: all 0.5s ease;
}

.header.affix .navbar-brand img {
    max-height: 92px;
    height: 92px;
    position: static;
    transition: all 0.5s ease;

}

.header .logo_dark {
    display: none;
}

.header .logo_light {
    display: block;
}

.home_header .logo_dark {
    display: block;
}

.home_header .logo_light {
    display: none;
}

.header.affix .logo_dark {
    display: block;
}

.header.affix .logo_light {
    display: none;
}

:root {
    --primary-color: #C42C54;
    --secondary-color: #ECB93F;
    --text-color: #1A3854;
}

.navbar {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    position: relative;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-nav li {
    margin-right: 40px;
}

.navbar-nav li:last-child {
    margin-right: 0;
}

.navbar-nav li a {
    text-decoration: none !important;
    color: #000 !important;
    font-size: 16px;
    font-weight: normal;
    transition: color 0.3s ease;
}

.navbar-nav li a:hover {
    color: var(--secondary-color) !important;
}

.navbar-nav li.active a {
    color: var(--secondary-color) !important;
}

.insight_header .navbar-nav li a {
    color: #fff !important;
}

.insight_header .navbar-nav li a:hover {
    color: var(--secondary-color) !important;
}

.insight_header .navbar-nav li.active a {
    color: var(--secondary-color) !important;
}

.insight_header.affix .navbar-nav li a {
    color: #000 !important;
}

.insight_header.affix .navbar-nav li.active a {
    color: var(--secondary-color) !important;
}

.insight_header.affix .navbar-nav li a:hover {
    color: var(--secondary-color) !important;
}

.insight_header .navbar-toggler .bar {
    background-color: #fff;
}

.affix .navbar-toggler .bar {
    background-color: var(--text-color);
}

/* .navbar-nav li a:hover {
    color: #007bff !important;
}

.navbar-nav li.active a,
.navbar-nav li a.active {
    color: #007bff !important;
} */

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none !important;
    padding: 0 !important;
    margin-right: 0 !important;
}

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

/* Toggler - hidden on desktop */
.navbar-toggler {
    display: none !important;
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 8px !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1001;
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animated X when active */
.navbar-toggler.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler.active .bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Desktop: nav links always visible */
.navbar-collapse {
    display: flex !important;
    align-items: center !important;
    flex-basis: auto !important;
    flex-grow: 0 !important;
}

.navbar-collapse.open .navbar-nav li a {
    color: #000 !important;
}

.navbar-toggler.active .bar {
    background-color: var(--text-color) !important;
}

/* Mobile overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    z-index: 999;
}

.mobile-overlay.active {
    display: block;
}

/* Hero Section */
.hero {
    color: #fff;
    padding: 120px 0px;
    /* height: 100vh; */
    height: auto;
}

.hero_banner {
    background-color: #185F7A;
    background-image: url('/images/banner-bg2.webp');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    padding: 56px 64px;
    border-radius: 24px;
    /* margin-top: 20px; */
    height: 650px;
    /* position: relative; */
}

/* .subtract_image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
} */

.hero_text {
    display: flex;
    justify-content: start;
    align-items: center;
    height: 650px;
}

/* .hero_text p span {
    font-size: 48px;
    line-height: 48px;
    font-weight: 600;
    color: var(--primary-color);
    background-image: linear-gradient(45deg, var(--primary-color) 80%, var(--secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
} */

.hero_text h1 {
    font-size: 40px;
    line-height: 55px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    padding-right: 30px;
    width: 60%;
}

.sec_para {
    font-size: 24px;
    font-weight: 300;
    width: 70%;
}

.sec_para span {
    font-weight: 700;
    color: var(--secondary-color);
}

.primary_btn {
    background-color: var(--secondary-color);
    color: var(--text-color);
    height: 52px;
    width: 220px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    margin-top: 16px;
    font-size: 20px;
    box-shadow: 0px 4px 0 0 var(--text-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.primary_btn:hover {
    transform: translateY(2px);
    box-shadow: 0px 2px 0 0 var(--secondary-color);
    background-color: var(--text-color);
    color: var(--secondary-color);
}

.primary_btn::before,
.primary_btn::after {
    content: "";
    position: absolute;
    top: -6px;
    width: 8px;
    height: 72px;
    background: linear-gradient(180deg, #FFFF54 0%, #ECB93F 100%);
    transform: rotate(26deg);
    pointer-events: none;
    opacity: .4;
    transition: all 0.4s ease-in-out;
}

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

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

.primary_btn:hover::before {
    right: 220px;
    opacity: 0;
}

.primary_btn:hover::after {
    right: 207px;
    opacity: 0;
}

.hero_image {
    display: flex;
    align-items: end;
    justify-content: center;
    height: 100%;
}

.hero_image img {
    margin-top: 80px;
}

/* ========================= */
/*     Features Section       */
/* ========================= */
.features {
    /* padding: 80px 0; */
    padding-bottom: 100px;
}

.features-content {
    position: relative;
    padding: 32px;
    border-radius: 24px 24px 0 0;
}

.features-content::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px 2px 0 2px;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(180deg, #D60B52 0%, #E6B249 50%, #fff 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.features-card {
    background: #EFEFEF;
    background: linear-gradient(180deg, rgba(239, 239, 239, 1) 0%, rgba(255, 255, 255, 0) 100%);
    /* padding: 50px 60px 60px; */
    position: relative;
}

.features-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    padding: 12px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red {
    background-color: #E22C57;
}

.dot-orange {
    background-color: var(--secondary-color);
}

.dot-green {
    background-color: #3EB217;
}

.features_logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.features_logo img {
    height: 92px;
    width: auto;
}

.gradient_heading {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 48px;
    margin-bottom: 8px;
    margin-top: 0;
    color: var(--primary-color);
    background-image: linear-gradient(90deg, var(--primary-color) 30%, #eeb939 70%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 80px;
    padding: 48px;
    margin-top: 56px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
}

.feature-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 8px 0;
    line-height: 1.3;
    width: 80%;
}

.feature-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #505864;
    margin: 0;
    line-height: 30px;
}


/* Cognizance Section */
.insights {
    padding: 80px 0;
    padding-bottom: 120px;
    background: url('/images/congnizance_bg.webp');
    background-size: 100%;
    background-position: top center;
    background-repeat: no-repeat;
    color: #fff;
}

.insights p {
    text-align: center;
    font-size: 20px;
    font-weight: 300;
    color: #1e1e1e;
    margin-bottom: 64px;
}

/* Insights Grid */
.insights_grid {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 40px;
    padding: 0 0px 24px;
}

.insights_left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.insights_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.insight_item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.insight_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}


.insight_item:hover img {
    transform: scale(1.05);
}

.insight_large {
    height: 240px;
}

.insight_small {
    height: 208px;
}

.insights_right {
    display: flex;
}

.insight_tall {
    flex: 1;
    height: 100%;
}

.insights_right .insight_tall img {
    height: 488px;
}

.play_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2;
}

.insight_item:hover .play_btn {
    transform: translate(-50%, -50%) scale(1.1);
}

/* ============================================ */

footer {
    background: var(--text-color);
    padding: 120px 0 40px 0;
}

.shaping_future {
    padding: 32px 32px 102px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(35, 48, 64, 0) 100%);
    position: relative;
}

.shaping_future img {
    opacity: .2;
    margin-bottom: 14px;
}

.shaping_future h4 {
    color: #ffffff;
    font-size: 32px;
    line-height: 40px;
    font-weight: 600;
}

.coming_soon {
    padding-left: 44px;
    /* opacity: 0.4; */
    background: linear-gradient(90deg, #d60b5240 0%, rgba(248, 182, 0, 0) 100%);
    width: 412px;
    position: absolute;
    bottom: 54px;
    left: 0;
}

.coming_soon p {
    color: #ffffff;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    margin-bottom: 0;
}

.map_address {
padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    height: auto !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 0px !important;
    align-items: center;
}

.map_address iframe {
    border-radius: 16px !important;
    width: 115px !important;
    height: 115px !important;
}

.map_address p {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 0;
    padding: 0 24px;
}

.links {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-top: 64px;
    margin-bottom: 40px;
}

.footer_links h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
}

.footer_links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_links ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer_links ul li a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.footer_links ul li:hover a {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.terms {
    margin-bottom: 0;
    display: flex;
    /* align-items: center; */
    /* gap: 10px; */
    flex-direction: column;
}

.terms a {
    color: #ffffff;
    font-size: 12px;
    font-weight: 400;
    line-height: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.terms a:hover {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.join_community h4 {
    text-align: end;
}

.footer_social {
    display: flex;
    gap: 10px;
    justify-content: end;
}

.footer_social a {
    text-decoration: none;
}
.footer_social img{
    height: 40px;
    width: 40px;                           
}
.footer_social img:hover{
    filter: brightness(0) saturate(100%) invert(77%) sepia(42%) saturate(741%) hue-rotate(356deg) brightness(98%) contrast(92%);
}

.footer_social i {
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    height: 40px !important;
    width: 40px !important;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8.3px;
    transition: all 0.3s ease;
}

.footer_social i:hover {
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.copyright {
    margin-bottom: 0;
    opacity: .4;
    color: #ffffff;
    font-size: 12px;
}

/* ======================= Custom Popup & Banner CSS ======================= */
.ad-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ad-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.ad-modal-content {
    position: relative;
    width: 90%;
    max-width: 550px;
    /* background: #1b2f48;
    border-radius: 24px; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
}

.ad-modal-inner {
    /* padding: 60px 40px; */
    text-align: left;
    color: white;
    background: linear-gradient(135deg, #1b2f48 55%, #f4d03f 55%);
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.ad-modal-inner img {
    width: 100%;
}

.ad-modal-text h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    color: #fff;
}

.ad-modal-text h2 span {
    color: #EEB93F;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.ad-modal-text p {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.ad-close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    color: #000;
    border: none;
    background-color: transparent;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: transform 0.2s;
    line-height: 1;
    padding: 0;
}

.ad-close-btn i {
    font-size: 17px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); */
    border-radius: 50px;
}

/* .ad-close-btn:hover {
    transform: scale(1.1);
} */



.ad-banner {
    width: 100%;
    background-color: #1b2f48;
    background-image: url(../images/popupbanner.webp);
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 1040;
    display: none;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    /* margin-bottom: 40px; */
    height: 80px;
    position: relative;
    margin-top: -14px;
}

.banner-close-btn {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 2;
}

.ad-banner.show {
    display: block;
    animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}



.ad-banner-text {
    display: flex;
    align-items: center;
    height: 80px;
    gap: 15px;
    z-index: 2;
    position: relative;
}


.ad-banner-text h2 {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    color: #fff;
}

.ad-banner-text h2 span {
    color: var(--secondary-color);
}

.ad-banner-text p {
    font-size: 14px;
    margin: 0;
    color: #fff;
    font-weight: 300;
}

.ad-banner .banner-close-btn {
    z-index: 2;
}


/* ======================= View More Modal CSS ======================= */
.view-more-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.view-more-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.view-more-modal-content {
    position: relative;
    width: 90%;
    max-width: 1143px;
    background: transparent;
}

.view-more-modal-inner {
    background-color: #ffffff;
    background-image: url(../images/popup_bg.webp);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
    border-radius: 24px;
    padding: 48px;
    padding-bottom: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* .view-more-body {
    display: flex;
    align-items: center;
    gap: 30px;
} */

.view-more-text {
    flex: 1;
}

.view-more-text p {
    font-size: 20px;
    color: #1A3854;
    line-height: 1.6;
    margin-bottom: 20px;
    width: 65%;
}

.view-more-text p:last-child {
    margin-bottom: 0;
}

.view-more-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
}

.view-more-image img {
    max-width: 100%;
    height: auto;
}

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

.view-more-close-icon {
    /* reuse ad-close-btn but make sure it stands out */
    z-index: 2001;
}

@media (max-width: 768px) {
    .view-more-body {
        flex-direction: column;
    }

    .view-more-image {
        flex: 0 0 auto;
        margin-top: 20px;
    }
}

/* ======================= Insights Page Styles ======================= */
.insights_page_wrapper {
    background-color: #fafafa;
    padding-bottom: 80px;
    min-height: calc(100vh - 150px);
}

.innner_header_section {
    color: #fff;
    padding: 180px 0 220px;
    /* Big bottom padding for overlap */
    position: relative;
}

.insights_header {
    background-color: var(--primary-color);
    background-image: url(../images/insightbanner.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100%;
}

.insights_page_title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 5px;
}

.insights_page_subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 60px;
}

.insights_tabs_container {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 40px;
}

.insights_tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 40px;
}

.insights_tabs li {
    position: relative;
}

.insights_tabs li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    padding-bottom: 15px;
    display: inline-block;
    opacity: 0.9;
    transition: all 0.3s;
}

.insights_tabs li.active a {
    opacity: 1;
    font-weight: 600;
    transition: all 0.3s;
}

.insights_tabs li.active .bar {
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
    position: absolute;
    bottom: -3px;
    left: 0;
    border-radius: 10px;
}

.insights_tabs li a:hover {
    opacity: 1;
}

.featured_insight_details h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.featured_insight_details p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 0;
}

.insights_content_section {
    margin-top: -180px;
    /* Pull content up over the red header background */
    position: relative;
    z-index: 2;
}

.featured_insight_image {
    width: 100%;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
}

.featured_insight_image img {
    width: 100%;
    display: block;
    /* aspect-ratio: 21 / 9; */
    height: 680px;
    object-fit: cover;
}

.featured_play_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s;
}

.featured_insight_image:hover .featured_play_btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.other_insights_grid {
    margin: 0 -10px;
    /* margin-left: 4%; */
}

.other_insight_card {
    cursor: pointer;
    padding: 0 10px;
    outline: none;
}

.other_insight_thumb {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
    background: #e2e8f0;
    transition: all 0.3s ease;
    /* border: 3px solid transparent; */
}

/* Active thumbnail and hover states */
.other_insight_thumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.slick-current .other_insight_thumb::after,
.other_insight_card:hover .other_insight_thumb::after {
    opacity: 1;
}

.other_insight_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.other_insight_card:hover .other_insight_thumb img {
    transform: scale(1.05);
}

.small_play_btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    transform: translateY(10px);
}

.slick-current .small_play_btn,
.other_insight_card:hover .small_play_btn {
    opacity: 1;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.small_play_btn svg {
    margin-left: 3px;
}

.slick-current h3 {
    color: var(--primary-color) !important;
    background-image: linear-gradient(90deg, #C42C53 30%, #E6B249 70%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: block !important;
}

.other_insight_card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.other_insight_card:hover h3 {
    color: var(--primary-color);
    background-image: linear-gradient(90deg, #C42C53 30%, #E6B249 70%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.other_insight_card p {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
    font-weight: 300;
}

@media (max-width: 991px) {
    .insights_tabs {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .insights_page_title {
        font-size: 40px;
    }

    .innner_header_section {
        padding: 140px 0 160px;
    }

    .insights_content_section {
        margin-top: -120px;
    }

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

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

@media (max-width: 480px) {
    .posters_grid {
        grid-template-columns: 1fr;
    }

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

/* ======================= Posters Grid & Modal ======================= */
.posters_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 10px;
}

.poster_card {
    cursor: pointer;
    background: transparent;
    transition: transform 0.3s ease;
}

.poster_thumb {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.poster_thumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.poster_card:hover .poster_thumb::after {
    opacity: 1;
}

.poster_card .eye_icon {
    position: absolute;
    bottom: 24px;
    right: 24px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    transform: translateY(10px);
}

.poster_card:hover .eye_icon {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.poster_card:hover h3 {
    color: var(--primary-color);
    background-image: linear-gradient(90deg, #C42C53 30%, #E6B249 70%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.eye_icon svg {
    margin-left: 3px;
}

.poster_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.poster_card:hover .poster_thumb img {
    transform: scale(1.05);
}

.poster_card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    line-height: 1.4;
}

.poster_card p {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
    font-weight: 300;
}

/* Modal Styling */
.poster-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.poster-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.poster-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.poster-modal-content img {
    max-width: 550px;
    width: 550px;
    /* max-height: 90vh; */
    display: block;
    border-radius: 20px;
}

.poster-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 32px;
    height: 32px;
    background-color: var(--secondary-color);
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: transform 0.2s ease;
}

.poster-close-btn:hover {
    transform: scale(1.1);
}

/* ======================= Video Modal ======================= */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-close-btn {
    position: absolute;
    top: -45px;
    right: 0px;
    width: 32px;
    height: 32px;
    background-color: var(--secondary-color);
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: transform 0.2s ease;
}

.video-close-btn:hover {
    transform: scale(1.1);
}

.video-modal-content.instagram-ratio {
    max-width: 450px;
}

.video-modal-content.instagram-ratio .video-container {
    padding-bottom: 177.77%; /* 9:16 aspect ratio */
}

/* ============ BLOGS ================ */

.blogs_header {
    background-color: #006053;
    background-image: url(../images/blogsbanner.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100%;
}

.blogs_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 33px;
    row-gap: 40px;
    margin-top: 10px;
}

.blogs_card {
    cursor: pointer;
    background: transparent;
    transition: transform 0.3s ease;
}

.blogs_card a {
    text-decoration: none;
}

.blogs_card .primary_btn {
    height: 40px;
    width: 180px;
    border-radius: 6px;
    font-size: 16px;
}

.blogs_thumb {
    width: 100%;
    height: 275px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

/* .blogs_thumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.blogs_card:hover .blogs_thumb::after {
    opacity: 1;
}

.blogs_card .eye_icon {
    position: absolute;
    bottom: 24px;
    right: 24px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    transform: translateY(10px);
}

.blogs_card:hover .eye_icon {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
} */

.blogs_card:hover h3 {
    color: var(--primary-color);
    background-image: linear-gradient(90deg, #C42C53 30%, #E6B249 70%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.eye_icon svg {
    margin-left: 3px;
}

.blogs_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blogs_card:hover .blogs_thumb img {
    transform: scale(1.05);
}

.blogs_card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blogs_card p {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Custom Pagination */
.custom_pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 64px;
    margin-bottom: 80px;
}

.custom_pagination a {
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.custom_pagination .page_num {
    width: 24px;
    height: 24px;
    line-height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.custom_pagination .page_num.active {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.custom_pagination .page_num:hover:not(.active) {
    background-color: rgba(230, 178, 73, 0.2);
}

.custom_pagination .page_nav {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.custom_pagination .page_nav.prev,
.custom_pagination .page_nav.next {
    border: 2px solid var(--secondary-color);
    color: var(--text-color);
}

.custom_pagination .page_nav.prev.disabled,
.custom_pagination .page_nav.next.disabled {
    border: 2px solid #F3E0B5;
    color: #A0AAB4;
    pointer-events: none;
}

.custom_pagination .page_nav.prev:hover:not(.disabled),
.custom_pagination .page_nav.next:hover:not(.disabled) {
    background-color: var(--secondary-color);
}

/* ================================ */

.blogs-details {
    min-height: 600px !important;
    height: 600px !important;
    overflow: hidden;
    padding-bottom: 0px !important;
    position: relative;
}

.blogs-details::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 600px;
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.blogs-details img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.blogs_details_header {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 60%;
}

.blogs_details_header h2 {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.blogs_content {
    padding: 48px 0 115px 0;
}

.blogs_content h4 {
    font-size: 40px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 24px;
}

.blogs_content p {
    margin-bottom: 24px;
    font-size: 20px;
}

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

.recent_blogs {
    padding-left: 40px;
    position: sticky !important;
    top: 140px !important;
    align-self: flex-start;
    height: fit-content;
}

.recent_blogs h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 48px;
    position: relative;
}

.recent_blogs h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    height: 3px;
    width: 51px;
    background: var(--secondary-color);
}

.recent_blogs_content_text {
    border-bottom: 1px solid #1a39541f;
}

.recent_blogs_content_text a {
    text-decoration: none;
}

.recent_blogs_content_text span {
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    background: #006053;
    padding: 7.5px 10px;
    width: fit-content;

}

.recent_blogs_content_text h5 {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 24px;
    margin-top: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}