/* Landing Page Styles - Exact reference design (light, clean) */

html {
    scroll-behavior: smooth;
}

/* Prevent horizontal scroll on all viewports */
body.landing-page {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Hero gradient fills from top through header + hero section (hero-content) */
.landing-page {
    width: 100%;
    min-height: 100vh;
    color: #111;
    --category-hero-padding-top: 70px;
    /* background:
        radial-gradient(
            1000px circle at 50% 1%,
            rgb(238,149,82) 0%,
            rgba(160,130,255,0.35) 35%,
            rgba(150, 120, 255, 0.25) 55%,
            rgba(150, 120, 255, 0.15) 65%,
            rgba(150, 120, 255, 0.08) 72%,
            rgba(150, 120, 255, 0.03) 78%,
            transparent 85%
        ),
        #eef1f6; */
    background-size: 100% 70vh;
    background-position: center top;
    background-repeat: no-repeat;
    background-image: url("../images/tn-stats_bg_2.svg");
}

@media (max-width: 768px) {
    .landing-page {
        --category-hero-padding-top: 10px;
    }
}

@media (min-width: 1025px) {
    .landing-page {
        --category-hero-padding-top: 10px;
    }
}

/* Top Announcement Banner - hidden on all pages; header shows logo centered only */
.top-banner {
    display: none !important;
}

.top-banner {
    position: relative;
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 35%, #fcd34d 70%, #fde68a 100%);
    color: #1c1917;
    padding: 10px 0;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
}

.top-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 Q25 10 50 20 T100 20 T150 20 T200 20' stroke='rgba(255,255,255,0.15)' fill='none' stroke-width='1'/%3E%3Cpath d='M0 25 Q30 15 60 25 T120 25 T180 25' stroke='rgba(255,255,255,0.1)' fill='none' stroke-width='1'/%3E%3C/svg%3E") repeat-x;
    opacity: 0.6;
    pointer-events: none;
}

.top-banner-inner {
    position: relative;
    z-index: 1;
}

.top-banner p {
    margin: 0;
    font-weight: 600;
}

.top-banner-new {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #b45309;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    margin-right: 6px;
}

.top-banner-cta {
    color: #1c1917;
    text-decoration: none;
    margin-left: 4px;
    font-weight: 700;
}

.top-banner-cta:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.top-banner-deco {
    color: rgba(28, 25, 23, 0.5);
    font-size: 14px;
    flex-shrink: 0;
}

.top-banner-deco-left {
    margin-right: 8px;
}

.top-banner-deco-right {
    margin-left: 8px;
}

/* Landing Header - transparent so hero gradient shows through; solid on scroll */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    background: transparent;
    transition: box-shadow 0.25s ease, background 0.25s ease;
    overflow: visible;
}

.landing-header.is-scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    background: #ffffff;
}

.landing-header .logo-section {
    color: #111;
}

/* Hamburger: hidden on desktop, shown on tablet + mobile */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}

.hamburger-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #111;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.landing-header.menu-open .hamburger-btn .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.landing-header.menu-open .hamburger-btn .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.landing-header.menu-open .hamburger-btn .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Overlay when menu is open */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 298;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.landing-header.menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Panel: fixed on right, slides right-to-left (translateX(100%) → 0) */
.mobile-menu-panel {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(320px, 85vw);
    max-width: 320px;
    background: #fff;
    z-index: 299;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.landing-header.menu-open .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 16px 20px;
    flex-shrink: 0;
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #374151;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.06);
}

.mobile-menu-nav {
    padding: 0 16px 24px;
    flex: 1;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list li {
    margin: 0;
}

.mobile-nav-link {
    display: block;
    padding: 14px 16px;
    color: #111;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-nav-link:hover {
    background: rgba(0, 0, 0, 0.06);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 38px 50px;
    padding: 10px 0px;
    position: relative;
}

.logo-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}

/* Desktop: keep menus aligned like screenshot, but lock logo to true center */
@media (min-width: 1025px) {
    .header-content {
        flex-wrap: nowrap;
        gap: 46px;
    }

    .header-content .logo-stack {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Give the centered logo a safe zone so menus don't crowd it */
    .header-content {
        --logo-safe: 60px;
    }

    .nav-left,
    .nav-right {
        flex: 1 1 0;
        min-width: 0;
    }

    .nav-left {
        padding-right: var(--logo-safe);
        justify-content: flex-end;
    }

    .nav-right {
        padding-left: var(--logo-safe);
        justify-content: flex-start;
    }
}

/* Left: 2 menus - only as wide as content, no stretch */
.nav-left {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 48px;
}

/* Center: logo */
.logo-section {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-main {
    font-size: 26px;
    font-weight: 600;
    color: #111111;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: lowercase;
}

.logo-main img {
    display: block;
    max-height: 48px;
    width: 180px;
    max-width: 200px;
}

.header-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.62) 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
    max-width: 100%;
}

.header-breadcrumb-link {
    display: inline-flex;
    align-items: center;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.header-breadcrumb-link:hover {
    color: #0f172a;
    text-decoration: none;
    transform: translateY(-1px);
}

.header-breadcrumb-link:first-child {
    color: #0f172a;
}

.header-breadcrumb-link:first-child::before {
    content: '';
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    flex-shrink: 0;
}

.header-breadcrumb-current {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.18);
    background: linear-gradient(135deg, rgba(224, 231, 255, 0.96), rgba(191, 219, 254, 0.9));
    color: #0f172a;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.header-breadcrumb-current:hover {
    background: linear-gradient(135deg, rgba(224, 231, 255, 1), rgba(191, 219, 254, 0.96));
}

.header-breadcrumb-separator {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    opacity: 1;
}

.category-breadcrumb-shell {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 0 18px;
    padding: 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.category-breadcrumb-shell--offset {
    margin-top: var(--category-breadcrumb-offset, 120px);
}

.category-breadcrumb-shell::-webkit-scrollbar {
    display: none;
}

/* Responsive: reduce top spacing on smaller screens */
@media (max-width: 1024px) {
    .category-breadcrumb-shell {
        padding-top: 130px;
    }
}

@media (max-width: 768px) {
    .category-breadcrumb-shell {
        padding-top: 110px;
        padding-bottom: 4px;
    }
}

@media (max-width: 600px) {
    .category-breadcrumb-shell {
        padding-top: 100px;
        padding-bottom: 4px;
    }
}

@media (max-width: 480px) {
    .category-breadcrumb-shell {
        padding-top: 90px;
        padding-bottom: 4px;
    }
}

@media (max-width: 380px) {
    .category-breadcrumb-shell {
        padding-top: 80px;
        padding-bottom: 2px;
    }
}

/* JS sets margin-top via --category-breadcrumb-offset to clear the fixed header.
   Without this, responsive padding-top above stacks on top and pushes content too far down on mobile. */
.category-breadcrumb-shell.category-breadcrumb-shell--offset {
    padding-top: 0;
}

.category-breadcrumb-shell .header-breadcrumb {
    margin: 0;
}

.breadcrumb-search-shell {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 8px 20px 10px;
}

.breadcrumb-search-shell .insight-search-section,
.breadcrumb-search-shell .data-search-section {
    width: min(100%, 720px);
    margin: 0;
}

.breadcrumb-search-shell+.state-selector-bar {
    padding-top: 4px;
    padding-bottom: 0;
}

.breadcrumb-search-shell+.state-selector-bar+.state-wise-main {
    padding-top: 10px;
}

.state-wise-main .page-header:empty {
    display: none;
    margin: 0;
}

/* Right: 2 menus - only as wide as content, no stretch */
.nav-right {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 48px;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-list li {
    margin: 0;
    padding: 0;
}

.nav-left a,
.nav-right a {
    color: #111;
}

.nav-link {
    color: #111111;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.02em;
}

.nav-link:hover {
    color: #374151;
}

.nav-link.active {
    color: #111;
    text-decoration: underline;
    text-decoration-color: #f59e0b;
    text-underline-offset: 5px;
}

.nav-link i {
    font-size: 10px;
}

.nav-arrow {
    font-size: 10px;
    opacity: 0.7;
}

/* Pill CTAs - dark gradient primary, light secondary */
.nav-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    white-space: nowrap;
}

.nav-btn-primary {
    background: linear-gradient(180deg, #374151 0%, #1f2937 100%);
    color: #fff;
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.nav-btn-primary:hover {
    background: linear-gradient(180deg, #4b5563 0%, #374151 100%);
    color: #fff;
}

.nav-btn-secondary {
    background: #f3f4f6;
    color: #111111;
    border: 1px solid #e5e7eb;
}

.nav-btn-secondary:hover {
    background: #e5e7eb;
    color: #111;
}

/* Dropdown Menu - light theme, show on hover; bridge gap so hover doesn't break */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 0;
    margin-top: 0;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 300;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: visibility 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

/* Invisible bridge so moving mouse from trigger to menu doesn't lose hover */
.dropdown-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 12px;
}

.dropdown:hover .dropdown-menu,
.dropdown.dropdown-open .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: #f3f4f6;
    color: #111;
}

/* Hero Section - gradient from .landing-page fills through here to hero-content */
.landing-hero {
    position: relative;
    padding: 40px 0 30px;
    background: transparent;
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    overflow-x: clip;
    overflow-y: visible;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    /* background: radial-gradient(ellipse 100% 80% at 50% -20%, rgba(251, 191, 36, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse 80% 50% at 50% 30%, rgba(147, 197, 253, 0.25) 0%, transparent 55%); */
    pointer-events: none;
}

/* GSAP path effect: flowing line + dots + starburst (behind hero content) */
.hero-path-effect {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

.hero-path-svg {
    width: 100%;
    height: 100%;
    min-height: 280px;
}

.hero-path-line {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
}

.hero-path-dot {
    opacity: 0;
}

.hero-path-effect #heroPathStarburst {
    transform-origin: 0 0;
}

/* Decorative white swoosh/shape below nav */
.hero-deco-shape {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 120px;
    /* background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 120'%3E%3Cpath fill='rgba(255,255,255,0.9)' d='M0 120 L0 60 Q80 20 160 50 Q240 80 320 40 L320 120 Z'/%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' d='M40 80 Q120 40 160 70 Q200 100 280 60'/%3E%3C/svg%3E") no-repeat center;
     */
    background-size: contain;
    pointer-events: none;
}

/* Hero glow / parallax transform (smooth scroll-driven scale) */
.hero-glow {
    transition: transform 0.28s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.parallax_effect {
    display: block;
    width: 100%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    /* Global responsive top spacing with 100px minimum on all screens */
    padding-top: clamp(60px, 5vh, 100px);
    text-align: center;
    z-index: 1;
}

/* Search row: search bar with GSAP animation floating on it */
.search-row {
    margin-top: 24px;
}

.search-row .search-container {
    position: relative;
    margin-top: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-row .search-split {
    margin-left: auto;
    margin-right: auto;
}

/* GSAP animation floats on top of search container (right side); pointer-events: none keeps search clickable */
.landing-hero .container-gsap {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 280px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.landing-hero #svg-stage {
    width: 100%;
    height: 100%;
    max-width: 280px;
    overflow: visible;
    transform-origin: center center;
}

/* Large light-blue pill - India's Sovereign AI Platform style */
.hero-category-tag {
    display: inline-block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 14px 28px;
    background: #dbeafe7a;
    color: #1e40af;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
    border: none;
}

.hero-title-main {
    font-size: clamp(56px, 12vw, 72px);
    font-weight: 600;
    color: #011148;
    line-height: 1;
    margin: 0;
    letter-spacing: 0px;
    font-family: 'Season Mix', sans-serif;
    /* text-transform: uppercase; */
}

.hero-title-secondary {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 400;
    color: #011148;
    line-height: 1;
    margin: 8px 0 24px 0;
    letter-spacing: 0px;
    font-family: 'Season Mix', sans-serif;
}

.hero-subtitle {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 36px;
    font-weight: 400;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Laptop responsiveness (1024px–1366px): tighter hero and balanced search width */
@media (min-width: 1024px) and (max-width: 1366px) {
    .landing-hero {
        min-height: calc(100vh - 260px);
        /* Keep hero tag/content below fixed header on laptop widths */
        padding: 96px 0 20px;
    }

    .hero-content {
        max-width: 780px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-title-main {
        font-size: clamp(48px, 6vw, 62px);
    }

    .hero-title-secondary {
        font-size: clamp(34px, 4.8vw, 52px);
        margin: 6px 0 18px 0;
    }

    .hero-subtitle {
        font-size: 17px;
        margin-bottom: 28px;
        max-width: 640px;
    }

    .search-row {
        margin-top: 18px;
    }

    .search-row .search-container,
    .search-split {
        max-width: 700px;
    }

    .search-split-left {
        min-width: 150px;
    }
}

/* Hero primary CTA - dark pill */
.hero-cta {
    display: inline-block;
    padding: 8px 16px;
    background: #f3f4f6;
    color: #374151 !important;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.25s;
    box-sizing: border-box;
}


.hero-cta:hover {
    /* background: linear-gradient(180deg, #4b5563 0%, #374151 100%); */
    background: #dbeafe;
    color: #1e40af !important;
    border-color: #93c5fd;
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* Search Container */
.search-container {
    position: relative;
    z-index: 2;
    margin-top: 24px;
}

.search-split {
    display: flex;
    align-items: stretch;
    max-width: 600px;
    margin: 0 auto 20px;
    background: #ffffff;
    border-radius: 50px;
    border: 1px solid #d6e0ff;
    box-shadow: 0 1px 3px #EEB2F3;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.search-split:focus-within {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.25);
}

.search-split-left {
    flex: 0 0 auto;
    min-width: 160px;
    background: #f4f7ff;
    border-radius: 50px 0 0 50px;
}

.search-split-select {
    width: 100%;
    height: 100%;
    min-height: 50px;
    padding: 0 42px 0 22px;
    border: none;
    background: transparent;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

/* Button-only variant for home category control (no dropdown) */
.search-split-button {
    text-align: left;
    background-image: none;
}

.search-split-select:focus {
    outline: none;
}

.search-split-select:hover {
    color: #0f172a;
}

.search-split:focus-within .search-split-left {
    background: #eef2ff;
}

/* Custom category select: hidden native select + .custom-select UI */
.hidden-select {
    display: none;
}

/* Allow custom dropdown list to expand below search pill */
.search-split {
    overflow: visible;
}

.search-split-left .custom-select {
    position: relative;
    width: 100%;
    min-width: 160px;
    font-size: 14px;
}

.search-split-left .custom-select .select-selected {
    padding: 0 14px 0 22px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: none;
    border-radius: 50px 0 0 50px;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    transition: background 0.2s;
}

.search-split-left .custom-select .select-selected::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #64748b;
    flex-shrink: 0;
    margin-left: 4px;
}

.search-split-left .custom-select .select-selected:hover {
    background: rgba(238, 242, 255, 0.6);
}

.search-split-left .custom-select .select-items {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: none;
    z-index: 1000;
    max-height: 320px;
    overflow-y: auto;
}

.search-split-left .custom-select .select-items div {
    padding: 2px 15px;
    margin: 2px 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    transition: background 0.15s;
}

.search-split-left .custom-select .select-items div:hover {
    background: #e5e7eb;
}

.search-split-left .custom-select .select-items div.active {
    background: #3366d6;
    color: #fff;
}

.search-split-divider {
    width: 1px;
    background: #e2e8f0;
    flex-shrink: 0;
    margin: 12px 0;
    align-self: stretch;
}

.search-split-wrapper {
    position: relative;
    width: 100%;
}

.search-split-right {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 6px 8px 6px 14px;
    /* background: #fff; */
    border-radius: 0 50px 50px 0;
}

.search-suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
}

.search-suggestions-list li {
    margin: 0;
    padding: 0;
}

.search-suggestions-list .search-suggestion-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    text-align: left;
    border: none;
    background: transparent;
    color: #111;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

.search-suggestions-list .search-suggestion-item .suggestion-thumb {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
}

.search-suggestions-list .search-suggestion-item .suggestion-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.search-suggestions-list .search-suggestion-item .suggestion-text {
    min-width: 0;
    flex: 1 1 auto;
}

.search-suggestions-list .search-suggestion-item:hover,
.search-suggestions-list .search-suggestion-item:focus,
.search-suggestions-list .search-suggestion-item[aria-selected="true"] {
    background: #f3f4f6;
    outline: none;
}

.search-suggestions-list .search-suggestion-item .suggestion-label {
    font-weight: 600;
    display: block;
    line-height: 1.25;
    font-size: 14px;
}

.search-suggestions-list .search-suggestion-item .suggestion-meta {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    line-height: 1.35;
    font-weight: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.search-split-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: #111;
    padding: 0 8px;
}

.search-split-input::placeholder {
    color: #9ca3af;
}

.search-split-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    /* background: linear-gradient(180deg, #E9B2F4 0%, #B2CBFA 100%); */
    background-color: #0A59C8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s, background 0.2s;
}

.search-split-btn:hover {
    /* background: linear-gradient(180deg, #4b5563 0%, #374151 100%); */
    background-color: #AFA3F7;
    transform: scale(1.05);
}

.search-split-btn i {
    font-size: 14px;
}

/* Insight-page search bar placed inside the year filter row */
.year-filter-inline--with-search .search-container.data-search-section {
    flex: 1 1 460px;
    min-width: 320px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    display: block;
}

.year-filter-inline--with-search .search-split-wrapper {
    width: 100%;
}

.year-filter-inline--with-search .search-split {
    width: 100%;
    max-width: 680px;
    margin: 0 0 0 auto;
}

.year-filter-inline--with-search .search-split-left,
.year-filter-inline--with-search .search-split-divider {
    display: block;
}

.year-filter-inline--with-search .search-split-left {
    min-width: 150px;
    flex-basis: 150px;
}

.year-filter-inline--with-search .search-split-right {
    padding-left: 10px;
}

.year-filter-inline--with-search .search-suggestions-list {
    top: calc(100% + 4px);
}

.search-box {
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 6px 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.25s;
}

.search-box:focus-within {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.25);
}

.search-icon {
    color: #9ca3af;
    font-size: 18px;
    margin-right: 14px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #111111;
    font-size: 16px;
    font-weight: 500;
    padding: 0;
}

.search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.search-btn {
    background: linear-gradient(180deg, #374151 0%, #1f2937 100%);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
    margin-left: 14px;
    flex-shrink: 0;
}

.search-btn:hover {
    background: linear-gradient(180deg, #4b5563 0%, #374151 100%);
    transform: scale(1.05);
}

.search-btn i {
    color: #fff;
    font-size: 16px;
}

/* Search tags - light theme pills */
.search-tags-label {
    color: #6b7280;
    font-size: 14px;
    margin: 20px 0 12px 0;
    font-weight: 500;

}

.search-tags-wrap {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 20px;
}

.search-tags-path {
    position: absolute;
    left: 50%;
    top: -8px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 420px;
    height: 56px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

.search-tags-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.search-tags-path-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
}

.search-tags-dot {
    opacity: 0;
}

.search-tags-wrap .search-tags {
    position: relative;
    z-index: 1;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 20px;
}

.search-container .search-tag,
a.search-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f3f4f6;
    color: #374151 !important;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.25s;
    box-sizing: border-box;
}

a.search-tag.search-tag--trending {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

a.search-tag .tag-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff;
    font-size: 10px;
    box-shadow: 0 6px 14px rgba(239, 68, 68, 0.22);
}

/* NEW text badge */
/* NEW! ribbon badge for trending items */
.search-tag-container {
    position: relative;
    display: inline-block;
}

.tag-ribbon-new {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    background: #ff0080;
    /* bright pink like in image */
    color: #fff;
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 900;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    white-space: nowrap;
    pointer-events: none;
    text-transform: uppercase;
}

.tag-ribbon-new::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 4px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #cc0066;
    /* darker pink for fold */
}

/* "All Categories" quick access pill */
a.search-tag.search-tag--all {
    background: #111827;
    color: #ffffff !important;
    border-color: #111827;
}

a.search-tag.search-tag--all:hover {
    background: #1f2937;
    color: #ffffff !important;
    border-color: #1f2937;
    transform: translateY(-1px);
}

.search-container .search-tag:hover,
a.search-tag:hover {
    background: #dbeafe;
    color: #1e40af !important;
    border-color: #93c5fd;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.search-container .search-tag:visited,
a.search-tag:visited {
    color: #374151 !important;
    text-decoration: none !important;
}

/* Cards section: auto carousel with arrows */
.landing-cards-section {
    padding: 30px 0 64px;
}

.landing-cards-section .container {
    max-width: min(1440px, calc(100vw - 24px));
    padding-left: 12px;
    padding-right: 12px;
}

/* Related categories carousel on category pages (same design as landing-cards-carousel) */
.main-content.category-landing .related-categories-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.main-content.category-landing .related-categories-section .section-title {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 0 0 24px 0;
}

.landing-cards-heading {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 0 0 24px 0;
}

/* Carousel wrapper */
.landing-cards-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0px;
}

.landing-cards-carousel::before,
.landing-cards-carousel::after {
    content: none;
}

.landing-cards-carousel::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: clamp(56px, 8vw, 120px);
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(to right, #fafafa 0%, rgb(255 255 255 / 82%) 38%, transparent 100%);
    z-index: 99;
}

.landing-cards-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: clamp(56px, 8vw, 120px);
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(to left, #fafafa 0%, rgba(255, 255, 255, 0.9) 38%, transparent 100%);
}

/* Arrows: icon only, no button border/background */
.landing-cards-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.landing-cards-arrow:hover {
    color: #0844a7;
}

.landing-cards-arrow:focus {
    outline: none;
    color: #0844a7;
}

/* Track: horizontal scroll, overflow-x hidden (no visible scrollbar), smooth scroll */
.landing-cards-section .card-container.landing-cards-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 25px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-width: 0;
    padding-bottom: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.landing-cards-section .landing-cards-track::-webkit-scrollbar {
    display: none;
}

/* Card link: fixed width for carousel */
.landing-cards-section .landing-cards-track .landing-card-link {
    /* Responsive card width across all screens */
    flex: 0 0 clamp(220px, 78vw, 280px);
    scroll-snap-align: start;
}

/* Make arrows overlay (don’t steal track width on small screens) */
.landing-cards-carousel .landing-cards-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.landing-cards-carousel .landing-cards-arrow.landing-cards-prev,
.landing-cards-carousel .landing-cards-arrow.prev {
    left: 10px;

}

.landing-cards-carousel .landing-cards-arrow.landing-cards-next,
.landing-cards-carousel .landing-cards-arrow.next {
    right: 10px;
}

@media (max-width: 600px) {
    .landing-cards-carousel {
        padding: 0 44px;
        gap: 0;
    }

    .landing-cards-carousel::before {
        left: 0;
        width: clamp(40px, 12vw, 72px);
    }

    .landing-cards-carousel::after {
        right: 0;
        width: clamp(40px, 12vw, 72px);
    }

    .landing-cards-carousel .landing-cards-arrow {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .landing-cards-carousel .landing-cards-arrow.landing-cards-prev,
    .landing-cards-carousel .landing-cards-arrow.prev {
        left: 2px;
    }

    .landing-cards-carousel .landing-cards-arrow.landing-cards-next,
    .landing-cards-carousel .landing-cards-arrow.next {
        right: 2px;
    }

    .landing-cards-section .card-container.landing-cards-track {
        gap: 16px;
        padding-left: 8px;
        padding-right: 8px;
        scroll-padding-inline: 8px;
    }

    /* Slightly smaller card on mobile so carousel has breathing room and peek of next card */
    .landing-cards-section .landing-cards-track .landing-card-link {
        flex: 0 0 min(72vw, 260px);
    }
}

@media (max-width: 480px) {
    .landing-cards-section .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .landing-cards-carousel {
        padding: 0 36px;
    }

    .landing-cards-carousel .landing-cards-arrow {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .landing-cards-section .card-container.landing-cards-track {
        padding-left: 6px;
        padding-right: 6px;
        gap: 12px;
    }

    .landing-cards-section .landing-cards-track .landing-card-link {
        flex: 0 0 min(70vw, 240px);
    }

    .landing-cards-section .card img {
        height: 180px;
    }

    .landing-cards-section .card-content {
        padding: 10px 12px;
        bottom: 8px;
        left: 8px;
        right: 8px;
        /* background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 60%, transparent 100%); */
    }

    .landing-cards-section .card-content h3 {
        font-size: 14px;
        line-height: 1.35;
    }
}

@media (min-width: 900px) {
    .landing-cards-section .container {
        max-width: min(1520px, calc(100vw - 40px));
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Card link wraps whole card */
.landing-cards-section .landing-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* Card */
.landing-cards-section .card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .landing-cards-section .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
} */

/* Image */
.landing-cards-section .card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* Badges */
.landing-cards-section .badge-group {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 1;
}

.landing-cards-section .badge {
    background: #2d1b69;
    color: #fff;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 20px;
    line-height: 1.2;
}

/* Floating content */
.landing-cards-section .card-content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    /* background: linear-gradient(180deg, #e9b2f49d 0%, #B2CBFA 100%); */
    border-radius: 16px;
    padding: 12px 14px;
    /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); */
    z-index: 2;
}

/* Title */
.landing-cards-section .card-content h3 {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

}

/* Location */
.landing-cards-section .card-content .location {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 13px;
    color: #6b6b6b;
}

/* Hide any leftover old markup */
.landing-cards-section .landing-card-desc,
.landing-cards-section .landing-card-body {
    display: none !important;
}

/* Marquee banners (angled ribbons) – infinite loop (auto-duplicated) */
.banner {
    width: 100%;
    overflow: hidden;
    padding: 14px 0;
}

.banner-left {
    background: #EFADF2;
    transform: rotate(2deg);
}

.banner-right {
    background: #0A59C8;
    transform: rotate(-3deg);
    margin-top: -40px;
}

/* Mobile: no rotation; full viewport width so marquee crosses edge-to-edge (break out of any column) */
@media (max-width: 768px) {
    .banner {
        width: 100vw;
        max-width: 100vw;
        position: relative;
        left: 50%;
        right: auto;
        margin-left: 0;
        margin-right: 0;
        padding: 12px 0;
        box-sizing: border-box;
        /* Full-bleed + cancel desktop ribbon rotation */
        transform: translateX(-50%);
    }

    .banner-right {
        margin-top: 0;
    }

    .banner {
        padding: 12px 0;
    }

    .banner .text {
        font-size: 16px;
        padding-right: 40px;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 10px 0;
    }

    .banner .text {
        font-size: 14px;
        padding-right: 32px;
    }
}

.home-gallery-section {
    padding: 44px 0 72px;
}

.home-gallery-header {
    text-align: center;
    margin-bottom: 22px;
}

.home-gallery-header h2 {
    margin: 0 0 6px 0;
    font-size: 22px;
    font-weight: 800;
    color: #111;
}

.home-gallery-header p {
    margin: 0;
    color: #6b7280;
}

.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 0;
    list-style: none;
    margin: 0;
}

.home-gallery-grid .gallery-item {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.home-gallery-grid .gallery-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-gallery-grid .gallery-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #eef2f7;
    overflow: hidden;
}

.home-gallery-grid .gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-gallery-grid .gallery-caption {
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: #011148;
    text-align: center;
}

.home-gallery-cta {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

@media (max-width: 900px) {
    .home-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .home-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.banner .track {
    display: flex;
    width: max-content;
    gap: 0;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.banner .text {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    padding-right: 20px;
    line-height: 1;
}

/* LEFT → RIGHT */
.banner-left .track {
    animation: scrollRight 18s linear infinite;
}

/* RIGHT → LEFT */
.banner-right .track {
    animation: scrollLeft 18s linear infinite;
}

/* KEY: 2 copies → 50% */
@keyframes scrollLeft {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes scrollRight {
    from {
        transform: translate3d(-50%, 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    /* width is handled by clamp() above */
    /* Tablet + mobile: logo left, hamburger right; menu slides in from right */
    .hamburger-btn {
        display: none !important;
    }

    .header-content .nav-left,
    .header-content .nav-right {
        display: none;
    }

    .header-content {
        justify-content: center;
        padding: 12px 16px;
    }

    .header-content .logo-stack {
        order: 0;
        flex: 0 0 auto;
        justify-content: center;
        align-items: center;
    }

    /* Keep logo crisp and avoid width/height distortion on tablet+mobile. */
    .landing-header .logo-section img {
        width: clamp(132px, 34vw, 170px);
        max-width: 100%;
        height: auto;
        max-height: 46px;
        object-fit: contain;
    }
}
@media (max-width: 768px) {
    .landing-page {
        background-size: 100%;
        background-position: center top;
    }

    .landing-page .container {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    /* Fixed header + hero content spacing on mobile */
    .landing-hero {
        padding-top: 70px;
    }

    .landing-cards-section {
        padding: 32px 0 48px;
    }

    .landing-cards-section .container {
        overflow-x: hidden;
    }
}

@media (max-width: 600px) {
    /* width is handled by clamp() above */
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        align-items: center;
    }

    .logo-stack {
        align-items: flex-start;
        gap: 8px;
    }

    .header-breadcrumb {
        justify-content: center;
        font-size: 12px;
        padding: 8px 12px;
        gap: 8px;
        max-width: 100%;
    }

    .header-breadcrumb-link:first-child::before {
        width: 7px;
        height: 7px;
        margin-right: 7px;
    }

    .header-breadcrumb-current {
        padding: 5px 10px;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nav-actions {
        margin-top: 15px;
        flex-wrap: wrap;
    }

    .nav-btn-primary,
    .nav-btn-secondary {
        display: inline-block;
    }

    .hero-category-tag {
        font-size: 12px;
        padding: 6px 14px;
    }

    /* Hide floating graphic on mobile to prevent cut-off and keep UI clean */
    .landing-hero .container-gsap {
        display: none;
    }

    .hero-title-main {
        font-size: 56px;
        letter-spacing: -2px;
    }

    .hero-title-secondary {
        font-size: 40px;
        margin-left: 0;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 16px;
        padding-left: 16px;
        padding-right: 16px;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
    }

    .hero-content {
        padding-left: 12px;
        padding-right: 12px;
        max-width: 100%;
    }

    .hero-cta {
        padding: 14px 26px;
        font-size: 15px;
    }

    .search-row .search-container {
        max-width: 100%;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .search-split {
        max-width: 100%;
        width: 100%;
        border-radius: 28px;
        box-sizing: border-box;
    }

    .search-split-left {
        min-width: 110px;
    }

    .search-tags-wrap,
    .search-tags {
        max-width: 100%;
    }

    .search-box {
        padding: 12px 20px;
    }

    .logo-main {
        font-size: 36px;
    }

    .logo-medium {
        font-size: 14px;
    }

    .logo-small {
        font-size: 12px;
    }

    .year-filter-inline--with-search .search-container.data-search-section {
        flex-basis: 100%;
        min-width: 0;
        width: 100%;
        margin-left: 0;
    }

    .year-filter-inline--with-search .search-split {
        max-width: 100%;
    }

    .year-filter-inline--with-search .search-split-right {
        padding-left: 12px;
    }
}

@media (max-width: 480px) {
    .landing-page {
        background-size: 100%;
    }

    /* Slightly more room on narrow phones to avoid overlap under header/logo */
    .landing-hero {
        padding-top: 82px;
    }

    .hero-title-main {
        font-size: 44px;
    }

    .hero-title-secondary {
        font-size: 32px;
        margin-left: 0;
    }

    .search-split-left {
        min-width: 90px;
    }

    .search-split-select {
        font-size: 14px;
        padding-left: 14px;
    }

    .search-box {
        padding: 10px 15px;
        display: none;
    }

    .search-input {
        font-size: 14px;
    }

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

    .year-filter-inline--with-search .search-container.data-search-section {
        flex-basis: 100%;
        width: 100%;
    }
}

/* Ultra-small phones: stack category + keyword to avoid cramped dropdown UI */
@media (max-width: 420px) {
    .search-split {
        flex-direction: column;
        align-items: stretch;
        border-radius: 18px;
    }

    .search-split-left {
        min-width: 100%;
        border-radius: 18px 18px 0 0;
    }

    .search-split-select {
        min-height: 44px;
        padding: 0 40px 0 16px;
        background-position: right 14px center;
        border-bottom: 1px solid #e5e7eb;
        text-align: center;
    }

    .search-split-divider {
        display: none;
    }

    .search-split-right {
        padding: 6px 10px 6px 12px;
        border-radius: 0 0 18px 18px;
    }

    .year-filter-inline--with-search .search-split-left {
        min-width: 100%;
        flex-basis: auto;
    }

    .year-filter-inline--with-search .search-split-divider {
        display: none;
    }

    .year-filter-inline--with-search .search-split {
        max-width: 100%;
    }
}

/* Very small phones (e.g. 320px): keep hero headlines on-screen */
@media (max-width: 360px) {
    .hero-title-main {
        font-size: 36px;
        letter-spacing: -1.5px;
    }
    .hero-title-secondary {
        font-size: 26px;
        letter-spacing: -0.5px;
    }
    .hero-subtitle {
        font-size: 14px;
        padding-left: 8px;
        padding-right: 8px;
    }
    .landing-header .logo-section img {
        max-width: 140px;
    }
}

/* Footer Styling for Landing Page - soft glow gradient (SVG) */
.landing-page .footer {
    background: transparent;
    /* border-top: 1px solid rgba(0, 0, 0, 0.06); */
    color: #374151;
}

.landing-page .footer .footer-glow {
    display: block;
    top: -60%;
    width: 140%;
    opacity: 0.98;
    transform-origin: center bottom;
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

@media (max-width: 768px) {
    .landing-page .footer .footer-glow {
        top: auto;
        bottom: 0;
    }
}

.landing-page .footer .footer-glow-svg {
    object-position: center 85%;
}

.landing-page .footer h3 {
    color: #111111;
}

.landing-page .footer a {
    color: #4b5563;
}




.landing-page .footer a:hover {
    color: #1e40af;
}


.landing-page .footer .footer-social a {
    color: #fff;
}

.landing-page .footer p {
    color: #6b7280;
}

/* Smooth transitions - avoid heavy global transition */
.landing-page .nav-link,
.landing-page .nav-btn,
.landing-page .search-tag,
.landing-page .hero-cta {
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

/* Health page: dataset cards – image left (full height), right title + description + Preview & Share */
.datasets-list-health .dataset-card-with-image {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.datasets-list-health .dataset-card-with-image:hover {
    transform: translateY(-2px);
}

/* Education page: same card layout as Health */
.datasets-list-education .dataset-card-with-image {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.datasets-list-education .dataset-card-with-image:hover {
    transform: translateY(-2px);
}

/* Governance page: card layout and left-side GOVERNANCE DATA image */
.datasets-list-governance .dataset-card-with-image {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.datasets-list-governance .dataset-card-with-image:hover {
    transform: translateY(-2px);
}

.datasets-list-governance .dataset-card-image.governance-card-image {
    flex-shrink: 0;
    width: 200px;
    min-height: 140px;
    align-self: stretch;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.datasets-list-governance .dataset-card-image.governance-card-image img {
    display: none;
}

.datasets-list-governance .dataset-card-image.governance-card-image .dataset-card-image-title {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.datasets-list-governance .governance-card-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
}

.datasets-list-governance .governance-card-placeholder i {
    font-size: 28px;
    font-weight: 300;
    opacity: 0.95;
}

.datasets-list-governance .governance-card-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
    line-height: 1.3;
}

.datasets-list-governance .dataset-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 24px;
}

.datasets-list-governance .dataset-card-body .dataset-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px 16px;
    width: 100%;
    margin-bottom: 10px;
}

.datasets-list-governance .dataset-card-body .dataset-header h3 {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.datasets-list-governance .dataset-card-body .dataset-header .dataset-badge {
    flex-shrink: 0;
    align-self: flex-start;
}

/* Infrastructure page: same card layout and alignment as Governance */
.datasets-list-infrastructure .dataset-card-with-image {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.datasets-list-infrastructure .dataset-card-with-image:hover {
    transform: translateY(-2px);
}

/* All category dataset cards: put share buttons fixed top-right and keep text clear */
.datasets-list-health .dataset-card-body,
.datasets-list-education .dataset-card-body,
.datasets-list-governance .dataset-card-body,
.datasets-list-infrastructure .dataset-card-body,
.datasets-list-others .dataset-card-body {
    position: relative;
    /* padding-right: 180px; */
}

.datasets-list-infrastructure .dataset-card-image.governance-card-image {
    flex-shrink: 0;
    width: 200px;
    min-height: 140px;
    align-self: stretch;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.datasets-list-infrastructure .dataset-card-image.governance-card-image img {
    display: none;
}

.datasets-list-infrastructure .governance-card-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
}

.datasets-list-infrastructure .governance-card-placeholder i {
    font-size: 28px;
    font-weight: 300;
    opacity: 0.95;
}

.datasets-list-infrastructure .governance-card-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
    line-height: 1.3;
}

.datasets-list-infrastructure .dataset-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 24px;
}

.datasets-list-infrastructure .dataset-card-body .dataset-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px 16px;
    width: 100%;
    margin-bottom: 10px;
}

.datasets-list-infrastructure .dataset-card-body .dataset-header h3 {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.datasets-list-infrastructure .dataset-card-body .dataset-header .dataset-badge {
    flex-shrink: 0;
    align-self: flex-start;
}

/* Others category – same card layout as governance/infrastructure */
.datasets-list-others .dataset-card-with-image {
    display: flex;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.datasets-list-others .dataset-card-with-image:hover {
    transform: translateY(-2px);
}

.datasets-list-others .dataset-card-image.governance-card-image {
    flex-shrink: 0;
    width: 200px;
    min-height: 160px;
}

.datasets-list-others .governance-card-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 160px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: #fff;
}

.datasets-list-others .governance-card-placeholder i {
    font-size: 28px;
    opacity: 0.9;
}

.datasets-list-others .governance-card-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.datasets-list-others .dataset-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 20px;
}

.datasets-list-others .dataset-card-body .dataset-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.datasets-list-others .dataset-card-body .dataset-header h3 {
    flex: 1;
    margin: 0;
    font-size: 1.1rem;
}

.datasets-list-others .dataset-card-body .dataset-header .dataset-badge {
    flex-shrink: 0;
    align-self: flex-start;
}

.dataset-card-image {
    flex-shrink: 0;
    width: 200px;
    min-height: 120px;
    align-self: stretch;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dataset-card-image .dataset-card-image-title {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 10px;
}

.dataset-card-image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.dataset-card-body {
    position: relative;
    flex: 1;
    padding: 20px 24px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dataset-card-body .dataset-header,
.dataset-card-body .dataset-description,
.dataset-card-body .dataset-meta {
    max-width: calc(100% - 80px);
}
@media (max-width: 1200px) {
    .dataset-card-body {
        padding-right: 50px;
    }
}
@media (max-width: 992px) {
    .dataset-card-body {
        padding: 18px 22px;
        padding-right: 50px;
    }
}
@media (max-width: 768px) {
    .dataset-card-body {
        padding: 18px 20px;
        padding-right: 50px;
    }
    .dataset-card-body .dataset-header,
    .dataset-card-body .dataset-description,
    .dataset-card-body .dataset-meta {
        max-width: 100%;
    }
}

.dataset-card-body .dataset-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    margin-bottom: 10px;
    width: 100%;
}

.dataset-card-body .dataset-header h3 {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.dataset-card-body .dataset-header h3 a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.dataset-card-body .dataset-header h3 a:hover {
    border-bottom-color: currentColor;
}

.dataset-card-body .dataset-description {
    margin-bottom: 12px;
}

.dataset-card-body .dataset-meta {
    margin-bottom: 14px;
}

.dataset-card-body .dataset-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 16px;
    margin-top: auto;
    padding-right: 4px;
}

.dataset-share {
    position: absolute;
    bottom: 20px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    z-index: 5;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

.dataset-share-label {
    font-size: 13px;
    color: #6b7280;
    margin-right: 2px;
    flex-shrink: 0;
}

.dataset-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    transition: transform 0.2s, opacity 0.2s;
    text-decoration: none;
    flex-shrink: 0;
}

.dataset-share-btn:hover {
    transform: scale(1.1);
    opacity: 0.95;
}

.dataset-share-btn.reddit {
    background: #ff4500;
    color: #fff !important;
}

.dataset-share-btn.linkedin {
    background: #0a66c2;
    color: #fff !important;
}

.dataset-share-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.dataset-share-btn.whatsapp {
    background: #25d366;
}

.dataset-share-btn.facebook {
    background: #1877f2;
}

.dataset-share-btn.twitter {
    background: #000;
    color: #fff !important;
}

.dataset-share-btn.twitter i,
.dataset-share-btn.twitter .fa-x-twitter {
    color: #fff !important;
}

.dataset-share-btn.twitter .x-logo-icon {
    display: block;
}

.dataset-share-btn.twitter .x-logo-icon path {
    fill: #fff;
}

.dataset-share-btn.copy-url {
    background: #64748b;
    color: #fff !important;
}

.dataset-share-btn.copy-url:hover {
    background: #475569;
}

.dataset-share-copy-btn {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #374151;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.dataset-share-copy-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

@media (max-width: 640px) {

    .datasets-list-health .dataset-card-with-image,
    .datasets-list-education .dataset-card-with-image,
    .datasets-list-governance .dataset-card-with-image,
    .datasets-list-infrastructure .dataset-card-with-image,
    .datasets-list-others .dataset-card-with-image {
        flex-direction: column;
    }

    .dataset-card-image,
    .datasets-list-governance .dataset-card-image.governance-card-image,
    .datasets-list-infrastructure .dataset-card-image.governance-card-image,
    .datasets-list-others .dataset-card-image.governance-card-image {
        width: 100%;
        min-height: 160px;
        align-self: auto;
    }

    .datasets-list-governance .governance-card-placeholder,
    .datasets-list-infrastructure .governance-card-placeholder,
    .datasets-list-others .governance-card-placeholder {
        gap: 8px;
    }

    .datasets-list-governance .governance-card-placeholder i,
    .datasets-list-infrastructure .governance-card-placeholder i,
    .datasets-list-others .governance-card-placeholder i {
        font-size: 24px;
    }

    .dataset-card-body {
        padding: 18px 20px;
        padding-right: 22px;
    }

    .dataset-card-body .dataset-header,
    .dataset-card-body .dataset-description,
    .dataset-card-body .dataset-meta {
        max-width: 100%;
    }

    .dataset-share {
        position: static;
        top: auto;
        right: auto;
        margin-bottom: 10px;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 6px;
    }

    .dataset-share-label {
        display: none;
    }
}
/* 
Parallax Footer Zone */
/* .state-selector-bar {
    min-height: 100px;
} */

/* body{
    font-family: 'Raleway', sans-serif;
}

h1{
    font-family: 'Playfair Display', serif;
}

.dataset-card h3{
    font-family: 'Rufina', serif;
} */

.state-selector-content {
    display: none;
}

.quick-stats-block {
    display: none;
}

.info-toggle-btn {
    display: none;
}

.gallery-page-title {
    font-family: 'Season Mix', sans-serif;
}

.dataset-share-label {
    display: none
}

/* Category landing pages: center-aligned page header and description */
.main-content.category-landing .container>.page-header {
    text-align: center;
    margin-bottom: 12px;
}

.main-content.category-landing .container>.page-header h1 {
    margin-bottom: 10px;
}

.main-content.category-landing .container>.page-header p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 480px) {
    .main-content.category-landing .container > .page-header h1 {
        font-size: clamp(1.65rem, 6.5vw, 2rem);
        line-height: 1.12;
    }

    .main-content.category-landing .container > .page-header p {
        font-size: 0.9375rem;
        line-height: 1.55;
        padding: 0 2px;
    }

    .category-breadcrumb-shell .header-breadcrumb {
        font-size: 12px;
        gap: 6px;
        padding: 8px 10px;
    }

    .category-breadcrumb-shell .header-breadcrumb-current {
        padding: 5px 10px;
    }
}

/* Extra top space below fixed header (responsive) */
.main-content.category-landing {
    /* style.css sets padding: 50px 0; this overrides top to add ~70px extra */
    padding-top: var(--category-hero-padding-top);
}

.search-split-select-options option {
    background-color: red;
    border: 1px solid #081187;
    border-radius: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}


.card_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            #07163A,
            rgba(0, 0, 0, 0.2),
            transparent);
    z-index: 0;
    transition: 0.3s ease;
}

.aboutpage-content {
    padding-top: clamp(96px, 12vh, 150px);
    padding-bottom: 72px;
    position: relative;
}

.aboutpage-content .page-header {
    text-align: center;
    margin: 0 auto 48px;
    max-width: 800px;
    padding: 34px 28px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.aboutpage-content .page-header h1 {
    margin: 0 0 12px;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #0956c2;
}

.aboutpage-content .page-header p {
    /* max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4b5563; */
}

.results-panel .placeholder-text {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 16px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    min-height: 84px;
}

.state-results-content:hover {
    background: linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)) padding-box, var(--tnstats-soft-gradient) border-box;
}

/* .results-panel .placeholder-text {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
    border-color: transparent;
    background: linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)) padding-box, var(--tnstats-soft-gradient) border-box;
} */


.results-panel .no-selection {
    display: none;
}

.state-details-header .data-type{
    display: none!important;
}
