:root {
    --bg-dark: #f0faf5;
    /* Light Greenish/White */
    --text-dark: #0f172a;
    /* Slate 900 for Contrast */
    --text-muted: #475569;
    /* Slate 600 */
    --glass-bg: rgba(255, 255, 255, 0.7);
    /* White with opacity */
    --glass-border: rgba(0, 0, 0, 0.1);

    /* Vibrant Accents */
    --primary-color: #14b8a6;
    --accent-indigo: #10b981;
    --accent-teal: #14b8a6;
    --accent-pink: #06b6d4;
    --gradient-primary: linear-gradient(135deg, var(--accent-indigo), var(--accent-teal));
    --gradient-glow: linear-gradient(135deg, var(--accent-pink), var(--accent-indigo));

    /* Fonts */
    --font-en: 'DM Sans', sans-serif;
    --font-hi: 'DM Sans', sans-serif;
}

html {
    overflow: hidden;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    color-scheme: light;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-dark);
    font-family: var(--font-en);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    word-break: break-word;
    overflow-wrap: break-word;
    margin: 0;
}

/* Ensure all text containers respect boundaries */
p,
li,
h1,
h2,
h3,
h4,
h5,
h6,
span,
a,
div {
    max-width: 100%;
}

/* Background Animated Blobs for "Premium" feel */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
    pointer-events: none;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-indigo);
    top: -100px;
    left: -100px;
    border-radius: 50%;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-teal);
    top: 50%;
    right: -50px;
    border-radius: 50%;
    animation-delay: -3s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-pink);
    bottom: -100px;
    left: 20%;
    border-radius: 50%;
    animation-delay: -6s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-30px) scale(1.1);
    }
}

/* Glassmorphism Utilities */
.glass-panel {
    background: #eafaf1; /* Mint Frost clay base */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 
        8px 8px 16px rgba(100, 160, 130, 0.18), 
        -8px -8px 16px rgba(255, 255, 255, 0.8),
        inset 1px 1px 2px rgba(255, 255, 255, 0.4);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Typography & Layout */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    flex-grow: 1;
}

/* Top Bar */
.top-bar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 6px 0;
    position: relative;
    z-index: 101;
}

.top-bar-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    overflow: hidden;
    flex: 1;
}

#news-ticker-container {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.ticker-label {
    color: var(--accent-teal);
    font-weight: 800;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#news-ticker {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 40s linear infinite;
}

.ticker-item {
    color: inherit;
    text-decoration: none;
    margin-right: 60px;
    transition: color 0.3s;
}

.ticker-item:hover {
    color: var(--text-dark);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.top-bar-right {
    white-space: nowrap;
    margin-left: 25px;
    color: var(--text-dark);
    font-weight: 600;
    font-family: var(--font-en);
    font-variant-numeric: tabular-nums;
}

/* Blog Ticker Banner (Below Hero) */
#blog-ticker-banner {
    width: 100%;
    background: rgba(15, 23, 42, 0.4);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    overflow: hidden;
    padding: 0;
    min-height: 40px;
    display: block !important;
}

.blog-ticker-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 40px;
}

.blog-ticker-label {
    background: var(--gradient-primary);
    padding: 0 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    color: white !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    height: 24px;
    line-height: 24px;
}

.blog-ticker-scroll {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    height: 40px;
    line-height: 40px;
}

.blog-ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: blogScroll 45s linear infinite;
}

.blog-ticker-set {
    display: inline;
}

.blog-ticker-item {
    font-weight: 600;
    white-space: nowrap;
    color: #ffffff !important;
    text-decoration: none;
    margin-right: 50px;
    font-size: 0.9rem;
}

.blog-ticker-item:hover {
    color: var(--accent-teal) !important;
}

@keyframes blogScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Header/Nav */
.glass-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 800;
    white-space: nowrap;
}

.logo-icon {
    font-size: 1.8rem;
}

.highlight {
    color: var(--accent-teal);
}

.desktop-nav {
    display: flex;
    gap: 24px;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.desktop-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--text-dark);
}

.nav-search {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2px 10px;
    height: 36px;
}

.nav-search input {
    background: transparent;
    border: none;
    color: var(--text-dark);
    outline: none;
    width: 100px;
    font-size: 0.9rem;
    transition: width 0.3s;
}

.nav-search input:focus {
    width: 150px;
}

.nav-search input::placeholder {
    color: var(--text-muted);
}

.nav-search button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0 5px;
}

.nav-search button:hover {
    color: var(--accent-indigo);
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
}

.glow-on-hover {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: transform 0.2s;
    font-size: 0.9rem;
    white-space: nowrap;
}

.glow-on-hover:hover {
    transform: scale(1.05);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Language Dropdown Custom UI */
.lang-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

#lang-menu-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s;
    font-size: 0.9rem;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

#lang-menu-btn:hover {
    transform: scale(1.05);
}

.lang-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    min-width: 140px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
}

.lang-dropdown-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    background: transparent;
    color: white;
    border: none;
    padding: 10px 16px;
    text-align: left;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Women Safety Highlight */
.nav-highlight-box {
    border: 2px solid #ec4899;
    /* Pink 500 */
    padding: 4px 10px;
    border-radius: 8px;
    animation: blink-border 1.5s infinite;
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899 !important;
    font-size: 0.85rem;
}

@keyframes blink-border {
    0% {
        border-color: #ec4899;
        box-shadow: 0 0 0px #ec4899;
    }

    50% {
        border-color: transparent;
        box-shadow: 0 0 10px #ec4899;
    }

    100% {
        border-color: #ec4899;
        box-shadow: 0 0 0px #ec4899;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    color: var(--text-dark);
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    margin-top: 60px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.badge {
    background: rgba(20, 184, 166, 0.2);
    color: #a5b4fc;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(20, 184, 166, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Share Buttons */
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    margin-left: 10px;
}

.share-btn:hover {
    background: var(--accent-indigo);
    color: white;
    transform: translateY(-2px);
}

.modal-footer-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
}

.share-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.share-modal-btn:hover {
    background: var(--accent-teal);
    color: #0d1117;
    transform: rotate(15deg);
}

.share-card-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    padding: 0;
}

.share-card-btn:hover {
    background: var(--accent-teal);
    color: #0d1117;
    transform: scale(1.1);
    border-color: var(--accent-teal);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--accent-indigo);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    z-index: 10001;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.search-bar {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 5px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 20;
}

.search-bar input {
    flex-grow: 1;
    background: none;
    border: none;
    padding: 15px 20px;
    color: white;
    font-size: 1rem;
    outline: none;
}

.search-bar button {
    background: var(--gradient-primary);
    color: white;
    padding: 0 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.search-bar button:hover {
    opacity: 0.9;
}

/* Hero State Selector Styling */
.state-selector-wrapper {
    position: relative;
    border-right: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
}

.hero-state-select {
    background: none;
    border: none;
    color: white;
    padding: 15px 10px 15px 20px;
    font-size: 0.95rem;
    cursor: pointer;
    outline: none;
    width: 160px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.hero-state-select option {
    background: #0f172a;
    color: white;
}

@media (max-width: 768px) {
    .state-selector-wrapper {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        border-radius: 8px 8px 0 0;
        width: 100%;
    }

    .hero-state-select {
        width: 100%;
        padding: 12px 20px;
    }
}


/* Faceted Search Layout */
.faceted-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin: 40px 0 80px;
    align-items: start;
}

/* Sidebar Styling */
.filter-sidebar {
    padding: 20px;
    border-radius: 12px;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Custom Scrollbar for Sidebar */
.filter-sidebar::-webkit-scrollbar {
    width: 6px;
}

.filter-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.filter-sidebar::-webkit-scrollbar-thumb {
    background: rgba(20, 184, 166, 0.4);
    border-radius: 10px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.filter-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.reset-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.reset-btn:hover {
    background: rgba(239, 68, 68, 0.4);
    color: #fff;
}

/* Accordion */
.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-base);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
}

.accordion-header .icon {
    font-size: 1.2rem;
    color: var(--accent-indigo);
    transition: transform 0.3s;
}

.accordion-content {
    display: none;
    padding: 15px 0 5px;
    flex-direction: column;
    gap: 10px;
}

.accordion-content.open {
    display: flex;
}

/* Filter Inputs */
.filter-select,
.filter-input-text {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 10px;
    border-radius: 6px;
    outline: none;
    font-family: inherit;
}

.filter-select option {
    background: #0f172a;
    color: white;
}

.accordion-content label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.accordion-content label:hover {
    color: white;
}

.accordion-content input[type="checkbox"],
.accordion-content input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.accordion-content input[type="radio"] {
    border-radius: 50%;
}

.accordion-content input[type="checkbox"]:checked,
.accordion-content input[type="radio"]:checked {
    background: var(--accent-indigo);
    border-color: var(--accent-indigo);
}

.accordion-content input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: -1px;
    left: 2px;
}

/* Results Column */
.results-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.meta-count {
    font-size: 1.1rem;
    color: var(--text-base);
}

.meta-count .highlight {
    font-size: 1.3rem;
    color: var(--accent-teal);
    margin: 0 5px;
}

.sort-by {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-by select {
    padding: 8px 15px;
    width: auto;
}

/* Vertical List Layout */
.schemes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Vertical Scheme Card */
.scheme-list-item {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.scheme-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(20, 184, 166, 0.4);
}

.scheme-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.scheme-list-item:hover::before {
    opacity: 1;
}

.list-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.list-item-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.list-item-ministry {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
    display: block;
}

.list-item-category {
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent-teal);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.list-item-desc {
    color: #475569;
    /* Darker slate for high contrast on light bg */
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 8px 0;
}

.list-item-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.list-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #cbd5e1;
}

/* Loading Skeleton */
.loading-skeleton {
    height: 250px;
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.5) 25%, rgba(51, 65, 85, 0.5) 50%, rgba(30, 41, 59, 0.5) 75%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.5s infinite ease-in-out;
}

@keyframes skeleton-loading {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: #0f172a;
    /* Solid dark base behind glass */
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
}

.close-modal:hover {
    background: rgba(239, 68, 68, 0.8);
}

.modal-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section h4 {
    color: var(--accent-teal);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Fixes for Light Theme Contrast */
.hero-subtitle {
    color: #475569;
    /* Darker text for visibility */
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.btn-highlight-hero {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white !important;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'DM Sans', sans-serif;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-highlight-hero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.5);
}

.modal-section p,
.modal-section li {
    color: #475569;
    /* Darker text for visibility */
    margin-bottom: 8px;
}

.modal-section ul {
    padding-left: 20px;
}

.apply-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

/* Visual Sitemap */
.visual-sitemap {
    margin-top: 60px;
    margin-bottom: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.sitemap-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.sitemap-section {
    flex: 1;
    min-width: 250px;
}

.sitemap-section h4 {
    color: var(--accent-indigo);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.1);
    padding-bottom: 8px;
}

.sitemap-section ul {
    list-style: none;
    padding: 0;
}

.sitemap-section ul li {
    margin-bottom: 10px;
}

.sitemap-section ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s, padding-left 0.2s;
}

.sitemap-section ul a:hover {
    color: var(--accent-indigo);
    padding-left: 5px;
}

/* Footer (AdSense Hub) */
.site-footer {
    margin-top: auto;
    padding: 60px 20px 20px;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
}

.footer-grid {
    max-width: 1536px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--accent-indigo);
}

.footer-col p {
    color: var(--text-muted);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

/* Animations */
.bounce-in {
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Blog Dedicated Card Layout Base */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

/* eSanjeevani / Timing Grids */
.timing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
}

.region-card {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Article content safety */
article,
.white-card {
    max-width: 100% !important;
    overflow-x: hidden;
    word-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

/* ──────────────────────────────────────────────
   RESPONSIVE: tablets (≤900px)
────────────────────────────────────────────── */
@media (max-width: 900px) {
    .faceted-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
        max-height: none;
        margin-bottom: 20px;
    }
}

/* ──────────────────────────────────────────────
   RESPONSIVE: mobile (≤768px)
────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Stop blobs from pushing page width */
    .blob {
        opacity: 0.25;
        width: 200px !important;
        height: 200px !important;
    }

    /* Sticky mobile nav slide-in overlay */
    .desktop-nav {
        position: fixed;
        top: 105px;
        /* Below glass-nav (60px) + safety-bar (45px) */
        left: -100%;
        width: 100%;
        height: calc(100vh - 105px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 30px 24px;
        transition: left 0.3s ease;
        gap: 18px;
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .desktop-nav.nav-active {
        left: 0;
        display: flex !important;
    }

    /* Hide nav-search inside mobile menu, show hamburger */
    .desktop-nav .nav-search {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Header: logo on left, controls (lang + hamburger) on right */
    .nav-container {
        padding: 10px 16px;
    }

    .header-controls {
        gap: 10px;
    }

    #lang-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Hero */
    .hero {
        padding: 30px 16px;
        margin-top: 55px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .search-bar {
        flex-direction: column;
        max-width: 100%;
    }

    .search-bar input,
    .search-bar button {
        width: 100%;
        border-radius: 8px;
    }

    .search-bar button {
        padding: 12px;
    }

    /* Scheme cards */
    .scheme-list-item {
        padding: 16px;
    }

    .list-item-header {
        flex-direction: column;
        gap: 8px;
    }

    .list-item-category {
        align-self: flex-start;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Sitemap */
    .sitemap-grid {
        flex-direction: column;
        gap: 20px;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Modal */
    .modal-content {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .modal-title {
        font-size: 1.4rem;
    }

    /* Results bar */
    .results-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Mobile Safety Sub-Header */
    .safety-mobile-bar {
        display: flex;
        position: fixed;
        top: 60px;
        /* Right below the glass-nav */
        left: 0;
        width: 100%;
        background: linear-gradient(90deg, #ec4899, #db2777);
        padding: 6px 16px;
        z-index: 998;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .safety-mobile-bar .safety-info {
        display: flex;
        align-items: center;
        gap: 8px;
        color: white;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.85rem;
    }

    .safety-mobile-bar .safety-blink {
        width: 8px;
        height: 8px;
        background: #fff;
        border-radius: 50%;
        animation: blink-red 0.8s infinite;
    }

    .safety-mobile-bar .safety-hotline {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 800;
        text-decoration: none;
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

    @keyframes blink-red {
        0% {
            opacity: 1;
            transform: scale(1);
        }

        50% {
            opacity: 0.3;
            transform: scale(1.2);
        }

        100% {
            opacity: 1;
            transform: scale(1);
        }
    }
}

/* Hide safety bar on desktop */
@media (min-width: 769px) {
    .safety-mobile-bar {
        display: none !important;
    }
}

/* Language Switch Data Tags overrides */
body.lang-hi {
    font-family: var(--font-hi);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 25px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.blog-card .card-category {
    background: rgba(30, 215, 96, 0.1);
    color: var(--accent-teal);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-card .card-title {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
}

.blog-card .card-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    flex-grow: 1;
    line-height: 1.6;
    margin-bottom: 25px;
}

.blog-card .read-more-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card .read-more-btn {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 8px 16px;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s;
}

.blog-card .read-more-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.blog-card .read-time {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Floating Contact Icon */
.contact-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    font-size: 24px;
}

.contact-float:hover {
    transform: scale(1.1) translateY(-5px);
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: white;
}

.contact-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-teal);
    animation: contact-pulse 2s infinite;
}

@keyframes contact-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .contact-float {
        bottom: 70px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
        z-index: 101;
    }
}

/* About Page Enhancements */
.about-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: 24px;
    margin-bottom: 40px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.mission-card {
    padding: 30px;
    text-align: left;
}

.mission-card i {
    font-size: 2rem;
    color: var(--accent-teal);
    margin-bottom: 20px;
    display: block;
}

.instagram-section {
    margin: 80px 0;
    text-align: center;
}

.instagram-header {
    margin-bottom: 40px;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.insta-item {
    aspect-ratio: 1;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.insta-item:hover img {
    transform: scale(1.1);
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: white;
    font-size: 1.5rem;
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

.partnership-box {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    margin: 40px 0;
    background: rgba(236, 72, 153, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.2);
}

@media (max-width: 768px) {
    .partnership-box {
        flex-direction: column;
        text-align: center;
    }
}

/* Chatbot Widget Styles */
#ai-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 100px;
    z-index: 999; 
    /* High enough for content, but below header/modals */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media (max-width: 768px) {
    #ai-chat-widget {
        right: 20px !important; /* Resetting basic mobile right */
        bottom: 25px !important;
        z-index: 999 !important;
    }

    #ai-chat-window {
        width: calc(100vw - 40px) !important;
        height: 60vh !important;
        max-height: 450px !important;
    }
}

#ai-chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
    position: relative;
}

#ai-chat-toggle:hover {
    transform: scale(1.1);
}

.chat-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(15, 23, 42, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(10px);
}

#ai-chat-toggle:hover .chat-tooltip {
    opacity: 1;
    transform: translateX(0);
}

#ai-chat-window {
    width: 350px;
    height: 500px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--accent-teal);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transform-origin: bottom right;
    transition: transform 0.3s, opacity 0.3s;
}

#ai-chat-window.hidden {
    transform: scale(0.8);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    bottom: 0;
    right: 0;
}

.chat-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bot-avatar {
    font-size: 1.5rem;
}

.chat-title h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--accent-teal);
}

.chat-status {
    font-size: 0.75rem;
    color: #10b981;
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.chat-close:hover {
    color: #ef4444;
}

.chat-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.bot-message {
    background: rgba(20, 184, 166, 0.15);
    color: var(--text-dark);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.user-message {
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.chat-input-area {
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 10px;
}

#chat-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 8px 15px;
    color: white;
    outline: none;
    font-size: 0.9rem;
}

#chat-input:focus {
    border-color: var(--accent-indigo);
}

#chat-send {
    background: var(--accent-indigo);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

#chat-send:hover {
    transform: scale(1.1);
    background: var(--accent-teal);
}

.typing-dots span {
    animation: typing 1.4s infinite ease-in-out both;
    display: inline-block;
    font-size: 1.2rem;
    line-height: 0.5;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slide-in-bottom {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slide-in-bottom 0.3s ease-out;
}

.slide-in-left {
    animation: slide-in-bottom 0.3s ease-out;
}

/* Mobile Responsiveness for Top Bar & Blog Ticker */
@media (max-width: 768px) {
    body {
        padding-top: 0;
        padding-bottom: 50px;
        /* Room for safety bar at bottom */
    }

    .top-bar {
        position: relative;
        height: auto;
        overflow: visible;
        z-index: 101;
    }

    .top-bar-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 8px 15px;
        gap: 5px;
        height: auto;
    }

    .glass-nav {
        position: sticky !important;
        top: 0 !important;
        height: auto !important;
    }

    .nav-container {
        position: relative;
    }

    .safety-mobile-bar {
        top: auto !important;
        bottom: 0 !important;
        height: auto;
        z-index: 100;
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3) !important;
    }

    .desktop-nav {
        position: absolute !important;
        top: 100% !important;
        left: -100%;
        width: 100%;
        height: 100vh !important;
        transition: left 0.3s ease;
    }

    .desktop-nav.nav-active {
        left: 0 !important;
    }

    #news-ticker-container {
        width: 100%;
        justify-content: center;
    }

    .top-bar-right {
        margin-left: 0;
        font-size: 0.75rem;
    }

    .blog-ticker-container {
        gap: 10px;
        padding: 0 10px;
    }

    .blog-ticker-label {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .blog-ticker-track {
        animation: blogScroll 30s linear infinite;
    }

    .blog-ticker-item {
        font-size: 0.75rem;
        margin-right: 30px;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    z-index: 10000;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
}

.cookie-banner.fade-out {
    transform: translateY(100%);
    opacity: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cookie-icon {
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite alternate;
}

.cookie-text h4 {
    color: var(--accent-teal);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cookie-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    max-width: 800px;
}

.cookie-actions {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
        bottom: 50px;
        /* Accounts for mobile safety bar */
    }

    .cookie-content {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-icon {
        font-size: 2rem;
    }

    .cookie-actions button {
        width: 100%;
    }
}

/* =========================================
   3D INDIAN FLAG ANIMATION & THEME OVERRIDES
   ========================================= */

/* Light Theme overrides for explicitly dark elements */
.top-bar {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--text-muted);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.85);
}

#lang-menu-btn,
.search-bar button,
.glow-on-hover {
    color: #fff;
    /* Keep text white on primary gradients */
}

.lang-dropdown-content {
    background: rgba(255, 255, 255, 0.95);
}

.lang-option {
    color: var(--text-dark);
}

.lang-option:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-search input {
    color: var(--text-dark);
}

.nav-search input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.hero::before {
    background: radial-gradient(circle, rgba(20, 184, 166, 0.05) 0%, transparent 60%);
}

.share-btn,
.share-modal-btn,
.share-card-btn {
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.share-btn:hover {
    color: white;
}

.search-bar {
    background: rgba(255, 255, 255, 0.6);
}

.search-bar input {
    color: var(--text-dark);
}

.hero-state-select {
    color: #1e293b;
    background-color: rgba(241, 245, 249, 0.9);
    border: none;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 36px 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    border-radius: 50px 0 0 50px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    min-width: 140px;
}

.hero-state-select option {
    background: #fff;
    color: #0f172a;
    padding: 8px;
}

.blog-ticker-banner {
    background: rgba(255, 255, 255, 0.6) !important;
}

.blog-ticker-item {
    color: var(--text-dark) !important;
}

.blog-ticker-item:hover {
    color: var(--accent-indigo) !important;
}

#news-ticker-container .ticker-item {
    color: var(--text-muted);
}

#news-ticker-container .ticker-item:hover {
    color: var(--accent-indigo);
}

/* 3D Flag Animation CSS */
.india-flag-3d-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 40px;
    perspective: 800px;
    z-index: 9999;
    pointer-events: none;
}

.india-flag-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: wave-3d 3s ease-in-out infinite alternate;
    border-radius: 4px;
    overflow: hidden;
}

.india-flag-3d .saffron {
    height: 33.33%;
    background-color: #FF9933;
    /* Deep Saffron */
}

.india-flag-3d .white {
    height: 33.33%;
    background-color: #FFFFFF;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.india-flag-3d .green {
    height: 33.33%;
    background-color: #138808;
    /* India Green */
}

.india-flag-3d .chakra {
    width: 12px;
    height: 12px;
    border: 1px solid #000080;
    /* Navy Blue */
    border-radius: 50%;
    position: relative;
    animation: spin 5s linear infinite;
}

.india-flag-3d .chakra::before,
.india-flag-3d .chakra::after {
    content: '';
    position: absolute;
    background-color: #000080;
}

/* Creating spokes simply */
.india-flag-3d .chakra::before {
    top: 0;
    left: 5px;
    width: 1px;
    height: 10px;
}

.india-flag-3d .chakra::after {
    top: 5px;
    left: 0;
    width: 10px;
    height: 1px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes wave-3d {
    0% {
        transform: rotateY(-15deg) rotateZ(2deg) translateY(0);
        box-shadow: -5px 10px 15px rgba(0, 0, 0, 0.1);
    }

    100% {
        transform: rotateY(15deg) rotateZ(-2deg) translateY(-5px);
        box-shadow: 5px 15px 25px rgba(0, 0, 0, 0.2);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .india-flag-3d-container {
        bottom: 80px;
        /* Above mobile chat bubble */
        right: 20px;
        width: 45px;
        height: 30px;
    }

    .india-flag-3d .chakra {
        width: 8px;
        height: 8px;
    }

    .india-flag-3d .chakra::before {
        top: 0;
        left: 3px;
        width: 1px;
        height: 6px;
    }

    .india-flag-3d .chakra::after {
        top: 3px;
        left: 0;
        width: 6px;
        height: 1px;
    }
}

.nav-dropdown-content a:hover {
    background: #f8fafc;
    color: var(--accent-teal);
    padding-left: 25px;
}

/* Hero Search Bar Visibility Fixes */
.search-bar {
    display: flex;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 30px auto 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.state-selector-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.hero-state-select {
    color: #1e293b !important;
    background: transparent !important;
    border: none !important;
    border-right: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 12px 35px 12px 20px !important;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    min-width: 160px;
}

.hero-state-select option {
    background: #fff;
    color: #1e293b;
}

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    color: #1e293b !important;
    outline: none;
}

.search-bar input::placeholder {
    color: #64748b !important;
}

.search-bar button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.search-bar button:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .search-bar {
        flex-direction: column;
        border-radius: 20px;
        gap: 10px;
        padding: 15px;
    }

    .hero-state-select {
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
        width: 100%;
        border-radius: 0 !important;
    }
}

/* =========================================
   GEN-Z AESTHETIC REVAMP & LIGHT HEADER FIX
   ========================================= */

/* Modern Pastel & Vibrant Palettes */
:root {
    --accent-indigo: #0ea5e9; /* Mint Sky Blue */
    --accent-teal: #14b8a6; /* Mint Teal */
    --accent-pink: #10b981; /* Emerald Green */
    --gradient-primary: linear-gradient(135deg, #14b8a6, #34d399); /* Mint Gradient */
    --gradient-glow: linear-gradient(135deg, #0ea5e9, #34d399);

    --bg-dark: #f0faf5 !important; /* Mint Frost Background */
    --text-dark: #0f172a !important; /* Slate Dark */
    --text-muted: #475569 !important;
    --glass-bg: rgba(255, 255, 255, 0.7) !important;
    --glass-border: rgba(100, 160, 130, 0.1) !important;
}

body {
    background-color: var(--bg-dark) !important;
    color: var(--text-dark) !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
}

/* Fix Header & Top Bar to beautiful light glass */
.top-bar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(100, 160, 130, 0.1) !important;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(100, 160, 130, 0.1) !important;
}

.desktop-nav a {
    color: var(--text-muted) !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px;
}

.desktop-nav a:hover {
    color: var(--accent-indigo) !important;
    transform: translateY(-2px);
}

.logo {
    color: var(--text-dark) !important;
    font-weight: 900 !important;
    letter-spacing: -0.5px;
}

/* Gen-Z Blobs! */
.blob-1 {
    background: var(--accent-pink) !important;
    opacity: 0.15 !important;
    filter: blur(100px) !important;
}

.blob-2 {
    background: var(--accent-teal) !important;
    opacity: 0.15 !important;
    filter: blur(100px) !important;
}

.blob-3 {
    background: var(--accent-indigo) !important;
    opacity: 0.15 !important;
    filter: blur(100px) !important;
}

/* Pill Shaped Inputs & Buttons */
.nav-search {
    border-radius: 50px !important;
    background: rgba(243, 244, 246, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 4px 15px !important;
}

.nav-search input {
    color: var(--text-dark) !important;
    font-weight: 600;
}

.nav-search button {
    color: var(--accent-indigo) !important;
}

.search-bar {
    border-radius: 50px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 8px !important;
}

.search-bar button,
.glow-on-hover,
.apply-btn,
#lang-menu-btn {
    border-radius: 50px !important;
    background: var(--gradient-primary) !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 800 !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.search-bar button:hover,
.glow-on-hover:hover,
.apply-btn:hover,
#lang-menu-btn:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5) !important;
}

/* Modern Soft Cards */
.scheme-list-item,
.blog-card,
.glass-panel {
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
}

.scheme-list-item:hover,
.blog-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
}

.list-item-category,
.card-category {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1)) !important;
    color: var(--accent-indigo) !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
}

.badge {
    border-radius: 50px !important;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.1), rgba(251, 191, 36, 0.1)) !important;
    color: var(--accent-pink) !important;
    border: 1px solid rgba(244, 63, 94, 0.2) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

.hero-state-select {
    border-radius: 50px 0 0 50px !important;
}

@media (max-width: 768px) {
    .hero-state-select {
        border-radius: 20px 20px 0 0 !important;
    }

    .search-bar {
        border-radius: 25px !important;
    }
}

/* Headings GenZ Pop */
h1.hero-title {
    font-weight: 900 !important;
    letter-spacing: -1.5px !important;
    line-height: 1.1 !important;
}

.gradient-text {
    background: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

/* Mobile Safety Bar override */
.safety-mobile-bar {
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-indigo)) !important;
    border-radius: 0 0 20px 20px !important;
}

/* Skeletons */
.loading-skeleton {
    background: linear-gradient(90deg, rgba(243, 244, 246, 0.8) 25%, rgba(229, 231, 235, 0.8) 50%, rgba(243, 244, 246, 0.8) 75%) !important;
    background-size: 400% 100% !important;
}

/* Restoring Modal & Overlay Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s;
}

.modal-overlay.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    background: #f0faf5 !important; /* Mint Frost Base */
    box-shadow: inset 4px 4px 10px rgba(255, 255, 255, 0.8), inset -4px -4px 10px rgba(100, 160, 130, 0.1), 0 10px 30px rgba(100, 160, 130, 0.2) !important;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: transparent;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: transform 0.2s;
}

.close-modal:hover {
    transform: rotate(90deg) scale(1.2);
    color: var(--accent-pink);
}

/* Animations */
.bounce-in {
    animation: bounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Menu Fixes */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
}

@media (max-width: 1200px) {
    .mobile-menu-btn {
        display: block;
    }

    .desktop-nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    .desktop-nav.nav-active {
        display: flex;
    }
}

/* Header Navigation Highlights & Dropdowns */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropbtn {
    background: transparent;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 220px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 15px;
    padding: 10px 0;
    top: 100%;
    left: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.nav-dropdown-content a {
    color: var(--text-muted) !important;
    padding: 10px 20px !important;
    text-decoration: none !important;
    display: block !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
    position: static !important;
    height: auto !important;
    width: auto !important;
    background: transparent !important;
}

.nav-dropdown-content a:hover {
    background-color: #f8fafc !important;
    color: var(--accent-indigo) !important;
    padding-left: 25px !important;
}

.nav-dropdown.active .nav-dropdown-content {
    display: block;
}

.status-nav-highlight {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--accent-indigo) !important;
    padding: 6px 12px !important;
    border-radius: 50px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.nav-highlight-box {
    background: var(--gradient-primary);
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
    font-weight: 800 !important;
}

.nav-highlight-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

/* Claymorphism Redesign Overrides: Mint Frost Theme */
:root {
    --bg-dark: #f0faf5; /* Mint Frost Base */
    --text-dark: #0f172a;
    --text-muted: #475569;
    --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(234, 250, 241, 0.92));
    --glass-border: rgba(100, 160, 130, 0.15);
    --primary-color: #14b8a6;
    --accent-indigo: #0ea5e9;
    --accent-teal: #14b8a6;
    --accent-pink: #10b981;
    --gradient-primary: linear-gradient(135deg, #0ea5e9, #14b8a6);
    --gradient-glow: linear-gradient(135deg, #34d399, #14b8a6);
}

html {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.85), transparent 32%),
        radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.08), transparent 26%),
        linear-gradient(180deg, #f0faf5 0%, #e8f4ec 100%);
}

body {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.8), transparent 18%),
        radial-gradient(circle at 85% 10%, rgba(20, 184, 166, 0.1), transparent 20%),
        radial-gradient(circle at 70% 80%, rgba(14, 165, 233, 0.08), transparent 16%),
        linear-gradient(180deg, #f0faf5 0%, #e8f4ec 100%);
    color: var(--text-dark);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    z-index: -2;
    border-radius: 999px;
    filter: blur(28px);
    pointer-events: none;
}

body::before {
    width: 18rem;
    height: 18rem;
    top: 7rem;
    right: 4rem;
    background: rgba(255, 255, 255, 0.6);
}

body::after {
    width: 22rem;
    height: 22rem;
    bottom: 2rem;
    left: 2rem;
    background: rgba(20, 184, 166, 0.1);
}

.blob {
    opacity: 0.22;
    filter: blur(110px);
}

.top-bar-container,
.nav-container,
.blog-ticker-container,
.container,
.site-footer,
.visual-sitemap,
.global-disclaimer-banner {
    width: min(1180px, calc(100% - 32px)) !important;
    max-width: 1180px !important;
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 4rem;
}

main > section,
main > article,
main > div,
main > aside {
    max-width: 100%;
}

.glass-panel,
.glass-card,
.blog-card,
.site-footer,
.modal-content,
.global-disclaimer-banner,
.cookie-banner,
.blog-overview-panel,
.blog-topic-card,
.blog-stat-tile {
    background: var(--glass-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    box-shadow:
        18px 18px 34px rgba(155, 138, 121, 0.24),
        -14px -14px 28px rgba(255, 252, 246, 0.9),
        inset 1px 1px 0 rgba(255, 255, 255, 0.65),
        inset -1px -1px 0 rgba(191, 175, 160, 0.18) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.glass-nav {
    background: rgba(236, 226, 214, 0.88) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 12px 26px rgba(136, 116, 93, 0.14);
}

.top-bar {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--text-muted) !important;
    border-bottom: 1px solid rgba(100, 160, 130, 0.15) !important;
}

.top-bar-right,
.ticker-item,
.blog-ticker-item,
.desktop-nav a,
.nav-dropbtn,
.logo-text,
.footer-col a,
.footer-bottom,
.hero-subtitle,
.list-item-desc,
.meta-count span,
.sort-by span {
    color: var(--text-dark) !important;
}

.desktop-nav a,
.nav-dropbtn,
#lang-menu-btn,
.lang-option,
.mobile-menu-btn,
.nav-search button,
.filter-select,
.filter-input-text,
.search-bar input,
.hero-state-select,
#search-btn,
#prevBtn,
#nextBtn,
#load-more-btn,
.apply-btn,
.btn-highlight-hero,
.reset-btn,
.glow-on-hover {
    border: 0 !important;
    background: linear-gradient(145deg, #eafaf1, #d8cabb) !important;
    color: var(--text-dark) !important;
    box-shadow:
        10px 10px 24px rgba(100, 160, 130, 0.22),
        -9px -9px 20px rgba(255, 255, 255, 0.86) !important;
}

/* Override back to transparent for nav elements per user request */
.desktop-nav > a,
.nav-dropbtn {
    background: transparent !important;
    box-shadow: none !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    padding: 8px 12px !important;
}

.desktop-nav > a:hover,
.nav-dropbtn:hover {
    color: var(--primary-color) !important;
    background: rgba(100, 160, 130, 0.1) !important;
    border-radius: 8px;
}

.nav-search,
.search-bar,
.results-meta,
.pagination-controls,
.blog-listing-header,
.blog-clay-hero,
.blog-overview-panel {
    border-radius: 32px !important;
}

.hero,
.results-meta,
.filter-sidebar,
.results-column,
.law-section,
.wizard-hero,
.quiz-hero,
.sandbox-hero,
.calc-hero,
.hero-section,
.compare-hero {
    border-radius: 34px !important;
}

.hero,
.blog-clay-hero {
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.nav-search {
    background: rgba(251, 245, 237, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow:
        inset 4px 4px 10px rgba(196, 179, 162, 0.28),
        inset -4px -4px 10px rgba(255, 255, 255, 0.72);
}

.nav-search input,
.search-bar input,
.hero-state-select,
.filter-select,
.filter-input-text {
    background: rgba(255, 249, 242, 0.78) !important;
    border-radius: 20px !important;
    color: var(--text-dark) !important;
}

.nav-highlight-box,
.status-nav-highlight,
.btn-highlight-hero,
.badge,
.blog-card-category,
.blog-chip,
.blog-eyebrow,
.blog-section-kicker {
    background: var(--gradient-primary) !important;
    color: #fff7f0 !important;
    box-shadow: 0 14px 24px rgba(184, 106, 77, 0.22) !important;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.blog-card {
    display: block;
    text-decoration: none;
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 100%;
    padding: 1.35rem;
}

.blog-card-title {
    color: var(--text-dark);
    font-size: 1.18rem;
    line-height: 1.35;
    margin: 0;
}

.blog-card-summary {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.blog-card-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.blog-card-date {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.read-more-btn {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.88rem;
}

.blog-clay-hero {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    gap: 1.25rem;
    align-items: stretch;
}

.blog-clay-title {
    font-size: clamp(2rem, 4.5vw, 3.65rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin: 0.5rem 0 1rem;
}

.blog-clay-subtitle {
    max-width: 58ch;
    color: var(--text-muted);
    font-size: 1.03rem;
}

.blog-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.blog-chip,
.blog-eyebrow,
.blog-section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-clay-stats,
.blog-topic-rail {
    display: grid;
    gap: 1rem;
}

.blog-stat-tile,
.blog-topic-card,
.blog-intent-card {
    padding: 1.2rem 1.25rem;
    border-radius: 26px;
}

.blog-stat-tile strong,
.blog-topic-card strong,
.blog-intent-card h3,
.blog-listing-header h2,
.blog-overview-panel h2 {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.45rem;
}

.blog-stat-tile span,
.blog-topic-card p,
.blog-intent-card p,
.blog-listing-header p,
.blog-overview-panel p {
    color: var(--text-muted);
}

.blog-intelligence-band {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.blog-intent-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.3rem;
}

.blog-listing-header {
    margin-top: 1.5rem;
    padding: 1.4rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.blog-sort-control {
    display: grid;
    gap: 0.45rem;
    min-width: 220px;
    color: var(--text-dark);
    font-weight: 700;
}

.site-footer {
    margin: 2rem auto 0;
    padding: 2rem !important;
}

.footer-grid {
    gap: 1.5rem;
}

.logo {
    min-width: 0;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 18px;
    background: linear-gradient(145deg, #ebf7f0, #d1efe0); /* Mint Frost Gradient */
    box-shadow:
        8px 8px 16px rgba(100, 160, 130, 0.18),
        -8px -8px 16px rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-text {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    letter-spacing: -0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.glass-nav {
    position: sticky;
    top: 0.75rem;
    z-index: 100;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    background: rgba(255, 255, 255, 0.85) !important; /* Pure Mint Frost Glass */
    border-bottom: 1px solid rgba(100, 160, 130, 0.15) !important;
}

.top-bar-container,
.nav-container,
.top-bar-left,
.top-bar-right,
#news-ticker-container,
#news-ticker,
.lang-dropdown-wrapper {
    min-width: 0;
}

.top-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

#news-ticker {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Consolidated Header Layout ── */
.nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important; /* Reduced from 20px */
    flex-wrap: nowrap !important;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    flex: 0 0 auto;
    flex-shrink: 0 !important;
    white-space: nowrap;
    z-index: 1;
}

/* Desktop nav = center column: links + search */
.desktop-nav {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important; /* Reduced from 24px */
    flex: 1 1 auto;
    min-width: 0;
    flex-shrink: 1 !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    overflow: visible;
}

.desktop-nav a {
    font-size: 13px !important; /* Slightly smaller for 'cool' look */
    font-weight: 300 !important; /* Thin as requested */
    text-transform: uppercase !important; /* All caps as requested */
    padding: 8px 10px !important; /* Reduced horizontal padding */
    white-space: nowrap !important;
    letter-spacing: 0.5px;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.desktop-nav a:hover {
    background: transparent !important; /* No background as requested */
    color: var(--accent-teal) !important;
    text-shadow: 0 0 5px rgba(20, 184, 166, 0.2);
}

.nav-dropbtn {
    font-size: 13px !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    padding: 8px 10px !important;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
}



/* Search bar inside desktop-nav — compact pill */
.nav-search {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto; /* Allow shrinking */
    max-width: 160px; /* Made slightly smaller */
    min-width: 110px;
    background: linear-gradient(145deg, #eafaf1, #d1efe0) !important;
    border-radius: 50px !important;
    padding: 3px 4px 3px 14px !important;
    box-shadow:
        inset 2px 2px 5px rgba(100, 160, 130, 0.12),
        inset -2px -2px 4px rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease;
}

.nav-search:focus-within {
    max-width: 220px;
    box-shadow: 
        inset 2px 2px 5px rgba(100, 160, 130, 0.12),
        inset -2px -2px 4px rgba(255, 255, 255, 0.5),
        0 0 0 2px rgba(20, 184, 166, 0.2) !important;
}

.nav-search input {
    min-width: 0;
    flex: 1 1 0%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 40px 8px 6px !important; /* Increased padding-right to 40px */
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--text-dark) !important;
    outline: none !important;
}

.nav-search input::placeholder {
    color: #9a8d7e !important;
    font-weight: 400 !important;
}



/* Search button → icon only */
.nav-search button {
    flex: 0 0 auto;
    white-space: nowrap;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.25) !important;
    transition: all 0.2s ease !important;
}

.nav-search button::before {
    content: '🔍' !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

.nav-search button:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35) !important;
}

/* Right cluster: Women Safety + Language + Menu */
.header-controls,
.header-right-cluster {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 0 0 auto;
    white-space: nowrap;
}

/* ── Women Safety: icon button (all viewports) ── */
.nav-highlight-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    font-size: 0 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: 2px solid rgba(20, 184, 166, 0.35) !important;
    background: linear-gradient(145deg, #e6fcf5, #ccebdf) !important;
    box-shadow:
        4px 4px 10px rgba(100, 160, 130, 0.15),
        -3px -3px 8px rgba(255, 255, 255, 0.6) !important;
    animation: none !important;
}

.nav-highlight-box::before {
    content: '🛡️' !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

.nav-highlight-box:hover {
    transform: scale(1.05) !important;
    border-color: rgba(20, 184, 166, 0.55) !important;
    box-shadow:
        4px 4px 12px rgba(20, 184, 166, 0.15),
        -3px -3px 8px rgba(255, 255, 255, 0.7) !important;
}

/* ── Language: icon button (all viewports) ── */
#lang-menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    font-size: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background: linear-gradient(145deg, #eafaf1, #d1efe0) !important;
    border: none !important;
    box-shadow:
        4px 4px 10px rgba(100, 160, 130, 0.15),
        -3px -3px 8px rgba(255, 255, 255, 0.6) !important;
}

#lang-menu-btn::before {
    content: '🌐' !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

#lang-menu-btn:hover {
    transform: scale(1.05) !important;
    box-shadow:
        4px 4px 12px rgba(100, 160, 130, 0.2),
        -3px -3px 8px rgba(255, 255, 255, 0.7) !important;
}

/* Hide all children inside lang button */
#lang-menu-btn > * {
    display: none !important;
}

#current-lang-display {
    display: none !important;
}

.mobile-menu-btn {
    display: none !important;
}

@media (min-width: 1201px) {
    .logo-text {
        overflow: visible;
        text-overflow: clip;
    }

    /* Desktop-only: freeze top bar + nav while scrolling */
    .top-bar {
        position: sticky !important;
        top: 0 !important;
        z-index: 1001 !important;
    }

    .glass-nav {
        position: sticky !important;
        top: 32px !important;   /* height of .top-bar (~32px) */
        z-index: 1000 !important;
    }
}

.nav-dropdown-content,
.lang-dropdown-content {
    background: rgba(240, 252, 246, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.82) !important;
    box-shadow:
        12px 12px 24px rgba(100, 160, 130, 0.18),
        -10px -10px 20px rgba(255, 255, 255, 0.86) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.nav-dropdown-content.show,
.lang-dropdown-content.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    display: block !important;
}

.lang-option {
    color: var(--text-dark) !important;
}

.nav-dropdown-content a,
.lang-option,
.site-footer a,
.visual-sitemap a {
    border-radius: 16px;
    text-transform: uppercase !important;
    font-weight: 300 !important;
    font-size: 12px !important;
}

.accordion-item,
.accordion-content,
.search-bar,
.state-selector-wrapper,
.stat-card,
.feature-card,
.scheme-card,
.resource-card,
.category-card,
.link-card {
    border-radius: 28px !important;
}

.visual-sitemap,
.global-disclaimer-banner,
.site-footer,
.blog-intelligence-band .glass-panel,
.blog-listing-header,
.pagination-controls,
.results-meta,
.filter-sidebar,
.schemes-list .scheme-list-item,
.stats-summary .glass-panel,
.todo-section,
.law-section,
.white-card,
.eeat-bio,
.faq-box,
.cta-box {
    border-radius: 28px !important;
}

.global-disclaimer-banner {
    background: linear-gradient(145deg, rgba(240, 252, 246, 0.95), rgba(220, 245, 235, 0.92)) !important;
    border: 1px solid rgba(255, 255, 255, 0.82) !important;
    box-shadow:
        18px 18px 32px rgba(100, 160, 130, 0.2),
        -14px -14px 26px rgba(255, 255, 255, 0.84) !important;
}

.visual-sitemap,
.site-footer {
    background: var(--glass-bg) !important;
}

@media (max-width: 1200px) {
    #ai-chat-widget {
        right: 80px !important;
        z-index: 999 !important;
    }
    .nav-container {
        flex-wrap: wrap !important;
        align-items: center;
    }

    .desktop-nav {
        display: none !important;
        order: 3;
        width: 100%;
    }

    .mobile-menu-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 48px;
        min-height: 48px;
        border-radius: 18px;
    }

    .desktop-nav.nav-active {
        display: grid !important;
        z-index: 2000 !important;
        gap: 0.8rem;
        padding: 1rem;
        position: static;
        width: 100%;
        border-radius: 24px;
        background: rgba(240, 252, 246, 0.98) !important; /* Fixed Beige bug */
        box-shadow:
            12px 12px 24px rgba(100, 160, 130, 0.18),
            -10px -10px 20px rgba(255, 255, 255, 0.86) !important;
    }

    .desktop-nav.nav-active a,
    .desktop-nav.nav-active .nav-dropbtn {
        width: 100%;
        padding: 0.8rem 0.95rem !important;
        border-radius: 18px;
        background: rgba(255, 250, 245, 0.7);
        white-space: normal;
        text-align: left;
    }

    .desktop-nav.nav-active .nav-dropdown {
        display: grid;
        gap: 0.6rem;
    }

    .desktop-nav.nav-active .nav-dropdown-content {
        position: static;
        display: grid;
        margin-top: 0;
        min-width: 0;
    }

    .nav-search {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .nav-search input {
        width: 100%;
        min-width: 0;
    }

    .header-right-cluster {
        margin-left: auto;
    }

    .blog-grid,
    .blog-intent-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-clay-hero,
    .blog-intelligence-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-container,
    .nav-container,
    .blog-ticker-container,
    .container,
    .site-footer,
    .visual-sitemap,
    .global-disclaimer-banner,
    main {
        width: min(100%, calc(100% - 20px)) !important;
    }

    .nav-container {
        padding: 10px 0 !important;
        gap: 0.75rem !important;
    }

    .top-bar-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
    }

    .top-bar-right {
        display: flex;
        justify-content: flex-end;
    }

    .header-controls {
        gap: 0.5rem;
        min-width: 0;
    }

    .header-right-cluster {
        gap: 0.5rem !important;
    }

    #lang-menu-btn,
    .mobile-menu-btn {
        padding: 0.7rem 0.9rem !important;
        min-height: 44px;
        border-radius: 16px;
        font-size: 0.85rem;
    }

    #current-lang-display {
        max-width: 88px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .blog-grid,
    .blog-intent-grid {
        grid-template-columns: 1fr;
    }

    .blog-listing-header {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-sort-control {
        min-width: 100%;
    }

    .hero,
    .blog-clay-hero,
    .blog-overview-panel,
    .filter-sidebar,
    .results-meta,
    .site-footer {
        border-radius: 24px !important;
    }

    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-bar input,
    .hero-state-select,
    #search-btn {
        width: 100%;
    }

    .logo {
        gap: 0.65rem;
    }

    .logo-icon {
        width: 2.3rem;
        height: 2.3rem;
        border-radius: 16px;
    }
}

/* ════════════════════════════════════════════════
   MOBILE MENU — FINAL OVERRIDES (must be last)
   ════════════════════════════════════════════════ */
@media (max-width: 1200px) {

    /* ═══ OPTION A: Icon-Only Header Buttons on Mobile ═══ */

    /* ── Logo: slightly smaller on mobile ── */
    .logo {
        font-size: 14px !important;
    }

    .logo-icon {
        font-size: 1.4rem !important;
        width: 2rem !important;
        height: 2rem !important;
    }

    .logo-text {
        font-size: 14px !important;
    }

    /* ── Right cluster: tight icon row ── */
    .header-controls,
    .header-right-cluster {
        gap: 8px !important;
        flex-shrink: 0 !important;
    }

    /* ── Shared icon button base ── */
    .header-right-cluster .nav-highlight-box,
    #lang-menu-btn,
    .mobile-menu-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        padding: 0 !important;
        border-radius: 12px !important;
        font-size: 0 !important;          /* hides all text */
        line-height: 1 !important;
        overflow: hidden !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        background: linear-gradient(145deg, #eafaf1, #d1efe0) !important;
        color: var(--text-dark) !important;
        box-shadow:
            4px 4px 10px rgba(100, 160, 130, 0.18),
            -3px -3px 8px rgba(255, 255, 255, 0.7) !important;
        border: none !important;
    }

    .header-right-cluster .nav-highlight-box:active,
    #lang-menu-btn:active,
    .mobile-menu-btn:active {
        transform: scale(0.92) !important;
        box-shadow:
            inset 2px 2px 5px rgba(100, 160, 130, 0.2),
            inset -2px -2px 5px rgba(255, 255, 255, 0.6) !important;
    }

    /* ── Women Safety: Shield icon ── */
    .header-right-cluster .nav-highlight-box {
        text-decoration: none !important;
        animation: none !important;
        border: 2px solid #ec489980 !important;
        background: linear-gradient(145deg, #e6fcf5, #ccebdf) !important;
    }

    .header-right-cluster .nav-highlight-box::before {
        content: '🛡️' !important;
        font-size: 18px !important;
        line-height: 1 !important;
    }

    /* ── Language: Globe icon ── */
    #lang-menu-btn::before {
        content: '🌐' !important;
        font-size: 18px !important;
        line-height: 1 !important;
    }

    /* Hide all children inside lang button on mobile */
    #lang-menu-btn > * {
        display: none !important;
    }

    /* ── Menu: Hamburger / Close icon ── */
    .mobile-menu-btn::before {
        content: '☰' !important;
        font-size: 20px !important;
        line-height: 1 !important;
        color: var(--text-dark) !important;
    }

    .mobile-menu-btn.is-open::before {
        content: '✕' !important;
        font-size: 18px !important;
    }

    /* ── Nav Container: single row ── */
    .nav-container {
        flex-wrap: wrap !important;
        position: relative !important;
        padding: 10px 12px !important;
        gap: 8px !important;
    }

    /* ── Desktop-Nav: HIDDEN by default on mobile ── */
    .desktop-nav {
        display: none !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        flex-direction: column !important;
        order: 10 !important;
    }

    /* ── Desktop-Nav: ACTIVE (open) state ── */
    .desktop-nav.nav-active {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        padding: 0 !important;
        margin-top: 8px !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        height: auto !important;
        max-height: none !important;
        z-index: auto !important;

        /* Premium clay container */
        background: linear-gradient(160deg,
            rgba(240, 252, 246, 0.98),
            rgba(230, 248, 240, 0.96)) !important;
        border: 1px solid rgba(255, 255, 255, 0.65) !important;
        box-shadow:
            12px 12px 28px rgba(100, 160, 130, 0.2),
            -10px -10px 22px rgba(255, 255, 255, 0.85),
            inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;

        /* Smooth entry animation */
        animation: mobileMenuOpen 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
    }

    @keyframes mobileMenuOpen {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ── Nav Links inside active mobile menu ── */
    .desktop-nav.nav-active > a,
    .desktop-nav.nav-active > .nav-dropdown > .nav-dropbtn {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 16px 22px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        font-size: 14px !important;
        font-weight: 300 !important;
        text-transform: uppercase !important;
        color: var(--text-dark) !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        border-bottom: 1px solid rgba(180, 165, 148, 0.15) !important;
        text-decoration: none !important;
        white-space: normal !important;
        text-align: left !important;
        transition: all 0.2s ease !important;
        position: static !important;
    }

    .desktop-nav.nav-active > a:last-of-type {
        border-bottom: none !important;
    }

    .desktop-nav.nav-active > a:hover,
    .desktop-nav.nav-active > a:active,
    .desktop-nav.nav-active > .nav-dropdown > .nav-dropbtn:hover {
        background: linear-gradient(145deg, rgba(240, 255, 250, 0.8), rgba(220, 245, 235, 0.6)) !important;
        color: var(--accent-indigo) !important;
        padding-left: 28px !important;
    }

    /* ── Status Check highlight on mobile ── */
    .desktop-nav.nav-active .status-nav-highlight {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .desktop-nav.nav-active .status-nav-highlight:hover {
        background: linear-gradient(145deg, rgba(255, 250, 243, 0.8), rgba(245, 237, 228, 0.6)) !important;
    }

    /* ── Tools Dropdown inside mobile menu ── */
    .desktop-nav.nav-active .nav-dropdown {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
        position: static !important;
        border-bottom: 1px solid rgba(180, 165, 148, 0.15) !important;
    }

    .desktop-nav.nav-active .nav-dropdown-content {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: rgba(240, 232, 222, 0.4) !important;
        box-shadow: none !important;
        border: none !important;
        gap: 0 !important;
    }

    .desktop-nav.nav-active .nav-dropdown-content a {
        padding: 14px 22px 14px 42px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #5a4d3e !important;
        border-bottom: 1px solid rgba(180, 165, 148, 0.1) !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .desktop-nav.nav-active .nav-dropdown-content a:last-child {
        border-bottom: none !important;
    }

    .desktop-nav.nav-active .nav-dropdown-content a:hover {
        background: rgba(240, 255, 250, 0.6) !important;
        color: var(--accent-indigo) !important;
        padding-left: 48px !important;
    }

    /* ── Search bar inside mobile menu ── */
    .desktop-nav.nav-active .nav-search {
        display: flex !important;
        width: calc(100% - 36px) !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 14px auto 16px !important;
        padding: 4px 8px !important;
        border-radius: 14px !important;
        flex-direction: row !important;
        align-items: center !important;
        background: linear-gradient(145deg, #f0fdf9, #e6fcf5) !important;
        box-shadow:
            inset 3px 3px 8px rgba(100, 160, 130, 0.15),
            inset -3px -3px 6px rgba(255, 255, 255, 0.5) !important;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
    }

    .desktop-nav.nav-active .nav-search input {
        width: 100% !important;
        flex: 1 1 auto !important;
        padding: 12px 14px !important;
        font-size: 14px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: var(--text-dark) !important;
    }

    .desktop-nav.nav-active .nav-search button {
        flex: 0 0 auto !important;
        padding: 10px 18px !important;
        border-radius: 10px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        background: var(--gradient-primary) !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(20, 184, 166, 0.25) !important;
        border: none !important;
        cursor: pointer !important;
        white-space: nowrap !important;
        width: auto !important;
    }
}

/* Extra-small screen tweaks */
@media (max-width: 480px) {
    .desktop-nav.nav-active > a,
    .desktop-nav.nav-active > .nav-dropdown > .nav-dropbtn {
        padding: 14px 18px !important;
        font-size: 14px !important;
    }

    .desktop-nav.nav-active .nav-dropdown-content a {
        padding: 12px 18px 12px 36px !important;
        font-size: 13px !important;
    }

    .logo-text {
        font-size: 13px !important;
    }

    .header-right-cluster .nav-highlight-box,
    #lang-menu-btn,
    .mobile-menu-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        border-radius: 10px !important;
    }

    .header-right-cluster .nav-highlight-box::before {
        font-size: 15px !important;
    }

    #lang-menu-btn::before {
        font-size: 15px !important;
    }

    .mobile-menu-btn::before {
        font-size: 17px !important;
    }
}
/* Mission & Educational Value Section - Mint Frost */
.mission-frost-box {
    max-width: 1440px;
    margin: 60px auto;
    padding: 40px;
    background: rgba(240, 252, 246, 0.7) !important;
    border-radius: 24px;
    border: 1px solid rgba(20, 184, 166, 0.15) !important;
    box-shadow: 
        20px 20px 60px rgba(100, 160, 130, 0.1),
        -20px -20px 60px rgba(255, 255, 255, 0.8) !important;
    font-family: 'Inter', sans-serif;
}

.mission-frost-box h2 {
    color: var(--accent-teal) !important;
    font-size: 2.2rem !important;
    margin-bottom: 25px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    color: #4a5568 !important;
    line-height: 1.8;
    font-size: 1.05rem;
}

.mission-column h3 {
    color: #1e293b !important;
    font-size: 1.4rem !important;
    margin-bottom: 15px !important;
    font-weight: 600 !important;
}

.mission-column p {
    margin-bottom: 15px;
}
