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

:root {
    /* Brand Colors: Royal Indigo & Silk Gold */
    --primary-color: #312E81;
    /* Indigo-900 */
    --primary-light: #4338CA;
    /* Indigo-700 */
    --primary-dark: #1E1B4B;
    /* Indigo-950 */

    --secondary-color: #D97706;
    /* Amber-600 */
    --secondary-light: #F59E0B;
    /* Amber-500 */
    --secondary-dark: #B45309;
    /* Amber-700 */

    --bg-body: #F8FAFC;
    /* Slate-50 */
    --bg-surface: #FFFFFF;
    --bg-accent: #EEF2FF;
    /* Indigo-50 */
    --bg-glass: rgba(255, 255, 255, 0.7);

    --text-primary: #0F172A;
    /* Slate-900 */
    --text-secondary: #475569;
    /* Slate-600 */
    --text-light: #94A3B8;
    /* Slate-400 */
    --text-white: #FFFFFF;

    --border-color: #E2E8F0;
    --border-glass: rgba(255, 255, 255, 0.4);

    /* Spacing System */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    /* Radius System */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* Elevated Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.06);

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* =========================================
   Minimal Floating Header
   ========================================= */
.fab-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Higher than FAB backdrop */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-2) var(--space-6);
}

.fab-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fab-header-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.fab-header-logo {
    height: 80px;
    /* Increased from 56px */
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.fab-header-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fab-header-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    /* Increased from 1.4rem */
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.fab-header-ids {
    font-size: 0.85rem;
    /* Increased from 0.7rem */
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 4px;
    display: flex;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

.header-id-separator {
    opacity: 0.4;
}

/* Language Select Styling */
.lang-select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 6px 32px 6px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.lang-select:hover {
    background-color: var(--bg-accent);
    border-color: var(--primary-color);
}

.lang-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.fab-header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.fab-header-seal {
    height: 80px;
    /* Increased from 64px */
    width: auto;
    padding: 2px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

/* =========================================
   Top-Left FAB Vertical Menu
   ========================================= */

.fab-menu-container {
    position: relative;
    /* Inside header brand now */
    display: flex;
    align-items: center;
}

/* Main FAB style trigger button in header */
.fab-main-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    background: var(--bg-accent);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1010;
}

.fab-main-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Icon toggle */
.fab-icon-open {
    display: flex;
}

.fab-icon-close {
    display: none;
}

.fab-menu-container.open .fab-main-btn {
    background: #dc2626;
    color: #fff;
}

.fab-menu-container.open .fab-icon-open {
    display: none;
}

.fab-menu-container.open .fab-icon-close {
    display: flex;
}

/* Backdrop */
.fab-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 990;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.fab-menu-container.open .fab-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* Vertical Dropdown Menu */
.fab-vertical-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 260px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--space-3);
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1005;
}

.fab-menu-container.open .fab-vertical-menu {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Vertical menu item list style */
.fab-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    transform: translateX(-10px);
    opacity: 0;
}

.fab-menu-container.open .fab-item {
    transform: translateX(0);
    opacity: 1;
    transition-delay: calc(var(--i) * 0.05s);
}

.fab-item:hover {
    background: var(--bg-accent);
    color: var(--primary-color);
    transform: translateX(5px) !important;
}

.fab-item-icon {
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.fab-item-label {
    font-size: 0.92rem;
    font-weight: 600;
}

.fab-item.active {
    background: var(--primary-color);
    color: #fff;
}

.fab-item.active .fab-item-icon {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .fab-header-title {
        font-size: 1.1rem;
    }

    .fab-header-logo {
        height: 36px;
    }

    .fab-header-seal {
        height: 42px;
    }

    .fab-vertical-menu {
        width: 240px;
    }
}

@media (max-width: 480px) {
    .fab-header {
        padding: var(--space-2) var(--space-3);
    }

    .fab-header-title {
        display: none;
        /* Hide village name on very small screens to fit FAB and Logo */
    }
}

/* =========================================
   Main Wrapper
   ========================================= */
.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-6);
    min-height: 80vh;
}

/* =========================================
   Home Split Layout Grid
   ========================================= */
.home-split-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.home-split-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    height: 100%;
}

.home-split-right {
    background: var(--bg-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.bento-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.bento-main {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 60%, var(--primary-light) 100%);
    color: var(--text-white);
    border: none;
    position: relative;
    overflow: hidden;
    text-align: center;
    align-items: center;
}

.bento-main::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.bento-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.premium-logo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    border-radius: 50%;
    background: #E0F2FE;
    padding: 0;
}

.bento-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bento-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-3);
    color: var(--text-white);
}

.bento-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: var(--space-6);
}

.bento-id-row {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
}

.id-tag {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.id-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.id-value {
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.05em;
}

.bento-stats {
    display: flex;
    flex-direction: column;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: var(--space-6);
    font-family: 'Playfair Display', serif;
}

.stat-icon {
    font-size: 1.5rem;
}

.bento-stat-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    flex: 1;
}

.bento-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    background: var(--bg-body);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.bento-stat-item:hover {
    background: var(--bg-accent);
    border-color: var(--primary-light);
}

.bento-stat-item .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.bento-stat-item .value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif;
}

.bento-stat-highlight {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border: none;
}

.bento-stat-highlight .label {
    color: rgba(255, 255, 255, 0.8);
}

.bento-stat-highlight .value {
    color: var(--text-white);
}

/* =========================================
   Home Leaders Grid
   ========================================= */
.home-leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

/* PM/CM row gets centered if needed, but flex wrap works too. 
   Using grid for rigid structure */

.leader-circle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-2);
    transition: transform var(--transition-base);
    text-align: center;
    cursor: default;
}

.leader-circle-card:hover {
    transform: translateY(-5px);
}

.leader-avatar-wrap {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    margin-bottom: var(--space-3);
    padding: 3px;
    background: conic-gradient(from 45deg, var(--bg-accent), var(--secondary-color), var(--primary-light), var(--bg-accent));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader-avatar-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    border: 2px solid white;
}

.leader-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: var(--space-1);
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.leader-role {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .home-split-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .home-leaders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .leader-avatar-wrap {
        width: 70px;
        height: 70px;
    }

    .bento-title {
        font-size: 2.2rem;
    }
}

/* Old Hero - kept for compatibility */
.hero-section {
    background: linear-gradient(135deg, var(--bg-accent) 0%, #FFFFFF 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-12) var(--space-8);
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    border: 1px solid var(--border-color);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Scheme External Links */
.scheme-link-external,
.scheme-btn-external {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-top: 1.5rem;
    transition: var(--transition-base);
    text-decoration: none;
}

.scheme-link-external:hover,
.scheme-btn-external:hover {
    background-color: var(--primary-dark);
    color: white;
}

.scheme-link-external .scheme-icon,
.scheme-btn-external svg {
    stroke: white;
    margin-left: 0.75rem;
}

/* Glassmorphism Design System */
.scheme-page-wrapper {
    padding: var(--space-8) var(--space-4);
    max-width: 1200px;
    margin: 0 auto;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    margin-bottom: var(--space-8);
}

.scheme-hero-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: var(--space-2);
    text-align: center;
}

.scheme-hero-subtitle {
    font-family: 'Outfit', sans-serif;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-12);
    font-size: 1.1rem;
}

.detail-section {
    margin-bottom: var(--space-8);
}

.detail-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--space-4);
}

.detail-title .icon {
    font-size: 1.8rem;
}

.detail-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.detail-list {
    margin-top: var(--space-4);
}

.detail-list li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-3);
    color: var(--text-secondary);
}

.detail-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: bold;
    font-size: 1.2rem;
}

.numbered-list {
    counter-reset: scheme-counter;
}

.numbered-list li::before {
    counter-increment: scheme-counter;
    content: counter(scheme-counter) ".";
}

.scheme-cta-box {
    text-align: center;
    margin-top: var(--space-12);
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.stat-card {
    background: var(--bg-surface);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary-color);
    transition: transform var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* =========================================
   Cards Grid
   ========================================= */
.section-title {
    text-align: center;
    margin-bottom: var(--space-8);
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    margin: var(--space-3) auto 0;
    border-radius: var(--radius-full);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.section-title-premium {
    font-size: 2.2rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
}

.section-title-premium::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    margin: var(--space-3) auto 0;
    border-radius: var(--radius-full);
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.info-card {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.info-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
    transform: translateY(-6px);
}

.info-card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-accent);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.card-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

.member-card {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    text-align: center;
}

.member-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.member-img-container {
    padding: var(--space-4);
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-frame {
    width: 90px;
    height: 90px;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.img-frame:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.1) rotate(2deg);
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}



.member-details {
    padding: var(--space-6);
}

.member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: var(--space-1);
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================
   GP Members Page - Mosaic Profile Cards
   ========================================= */
.members-page {
    max-width: 1400px;
    margin: 0 auto;
}

.members-page-header {
    text-align: left !important;
    margin-bottom: var(--space-8);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.members-page h1,
.members-page h2.section-title-premium,
.members-page h2,
.members-page h3,
.members-page h4,
.members-page-subtitle {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.members-page-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: var(--space-2);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.members-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-8);
}

.circle-card-3d {
    perspective: 800px;
    cursor: default;
}

.circle-card-inner {
    background: var(--bg-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99),
        box-shadow var(--transition-base);
    transform-style: preserve-3d;
    will-change: transform;
}

.circle-card-3d:hover .circle-card-inner {
    box-shadow: var(--shadow-xl);
}

.circle-card-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto var(--space-6);
    padding: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.circle-card-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.circle-card-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: var(--bg-accent);
    color: var(--primary-color);
}

.circle-card-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}

.circle-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
}

.circle-card-role {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.circle-card-phone {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: var(--space-1);
}

@media (max-width: 640px) {
    .members-mosaic {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .circle-card-ring {
        width: 80px;
        height: 80px;
    }

    .circle-card-inner {
        padding: var(--space-6) var(--space-4);
    }

    .circle-card-name {
        font-size: 0.9rem;
    }
}

/* Contact Us Page Bento Grid */
/* Removed redundant definition - consolidated at the end of file */


.site-footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #0C0A2E 100%);
    color: var(--text-white);
    padding: var(--space-12) 0 var(--space-6);
    margin-top: var(--space-16);
    border-top: 4px solid var(--secondary-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.footer-col h4 {
    color: var(--secondary-light);
    margin-bottom: var(--space-3);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.footer-col p {
    color: rgba(203, 213, 225, 0.8);
    margin-bottom: var(--space-2);
    font-size: 0.9rem;
}

.footer-col a {
    color: rgba(203, 213, 225, 0.8);
    display: inline;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-6);
    text-align: center;
    color: rgba(148, 163, 184, 0.6);
    font-size: 0.85rem;
}

/* =========================================
   Utilities
   ========================================= */
.btn {
    display: inline-block;
    padding: var(--space-3) var(--space-8);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(49, 46, 129, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn:hover {
    transform: scale(1.15);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    box-shadow: 0 8px 25px rgba(49, 46, 129, 0.5);
}

/* Footer Contact Button */
.footer-contact-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: var(--space-2) var(--space-8);
    border-radius: var(--radius-lg);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(49, 46, 129, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 180px;
}

.footer-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(49, 46, 129, 0.3);
    filter: brightness(1.1);
}

.footer-contact-btn:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .footer-contact-btn {
        width: 100%;
        justify-content: center;
        padding: var(--space-4);
    }
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--bg-accent);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-stats-grid {
        gap: var(--space-4);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   GP SERVICES DOCUMENT STYLING
   ========================================= */

.document-container {
    width: 100%;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #ccc;
    margin: 0 auto;
    /* Center the document */
    font-family: Arial, "Nirmala UI", sans-serif;
    color: #000;
}

.doc-header .title-main {
    font-size: 1.5em;
    font-weight: bold;
    padding-top: 5px;
}

.doc-header .title-sub {
    font-size: 0.9em;
    font-weight: normal;
}

/* General Sections */
.document-container .section {
    padding: 0 15px 10px 15px;
}

/* Reference List */
.reference-section p {
    font-size: 0.85em;
    margin-bottom: 5px;
    margin-top: 0;
}

.reference-section .ref-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    counter-reset: ref-counter;
}

.reference-section .ref-list li {
    font-size: 0.8em;
    padding-left: 15px;
    text-indent: -15px;
}

.reference-section .ref-list li:before {
    content: counter(ref-counter) ")";
    counter-increment: ref-counter;
    font-weight: bold;
    margin-right: 5px;
}

/* Table Section */
.section-title-table {
    background-color: var(--primary-color);
    color: var(--text-white);
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    padding: 7px 5px;
    margin: 10px -15px 0 -15px;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75em;
    margin-top: 5px;
    table-layout: fixed;
}

.doc-table,
.doc-table th,
.doc-table td {
    border: 1px solid #333;
}

.doc-table th,
.doc-table td {
    padding: 4px 5px;
    text-align: left;
    height: 30px;
    vertical-align: middle;
}

.doc-table thead th {
    background-color: #eee;
    font-weight: bold;
    color: #000;
}

/* Table Column Widths */
.doc-table td:nth-child(1) {
    width: 8%;
    text-align: center;
}

.doc-table td:nth-child(2) {
    width: 32%;
}

.doc-table td:nth-child(3) {
    width: 15%;
    text-align: center;
}

.doc-table td:nth-child(4) {
    width: 15%;
    text-align: center;
}

.doc-table td:nth-child(5) {
    width: 30%;
}

/* Blue Title List Section */
.section-title-list {
    background-color: var(--primary-color);
    color: var(--text-white);
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    padding: 7px 5px;
    margin: 15px -15px 0 -15px;
}

.list-content {
    background-color: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    padding: 10px;
    font-size: 0.8em;
    line-height: 1.4;
    margin-top: 5px;
}

.list-content .doc-list {
    padding-left: 20px;
    margin: 0;
    width: 50%;
}

.list-content li {
    margin-bottom: 5px;
}

/* Instruction Section */
.instruction-section {
    padding-top: 5px;
}

.instruction-section .doc-instruction-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    font-size: 0.8em;
    line-height: 1.4;
    counter-reset: instr-counter;
}

.instruction-section .doc-instruction-list li {
    padding-left: 15px;
    text-indent: -15px;
    margin-bottom: 10px;
}

.instruction-section .doc-instruction-list li:before {
    content: counter(instr-counter) ")";
    counter-increment: instr-counter;
    font-weight: bold;
    margin-right: 5px;
}

/* Document Footer */
.doc-footer {
    border-radius: 2px;
    border: 1px solid #333;
    color: #020202;
    text-align: center;
    font-size: 0.85em;
    padding: 5px 5px;
    margin: 5px;
}

/* Mahsul Services Styling */
.mahsvibhag-wrapper {
    width: 100%;
}

.preview-container {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    margin: 20px 0;
}

.doc-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-accent);
    padding: 1.5rem;
    color: var(--primary-dark);
}

.header-logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mh_gov_logo,
.lokseva_hakka {
    height: 60px;
    width: auto;
}

.doc-header-text {
    flex: 1;
}

.title-top {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.title-main {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.title-sub {
    font-size: 1rem;
    font-weight: 500;
}

.doc-body {
    padding: 2rem;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
}

.doc-body .section-title {
    left: 0;
    transform: none;
    width: 100%;
    display: block;
}

.mahsul-footer {
    background: var(--bg-accent);
    color: var(--text-primary);
    padding: 1.5rem 2rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.mahsul-footer h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.aaple_sarkar {
    height: 80px;
    width: auto;
}

/* =========================================
   YouTube Gallery Premium "Coming Soon"
   ========================================= */
.coming-soon-premium {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: var(--space-8);
    background: linear-gradient(135deg, var(--bg-accent) 0%, #e2e8f0 100%);
    border-radius: var(--radius-xl);
    margin: var(--space-8) 0;
    border: 1px solid var(--border-color);
}

.coming-soon-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--space-12);
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 600px;
    width: 100%;
}

.coming-soon-icon {
    font-size: 5rem;
    margin-bottom: var(--space-6);
    animation: pulse-slow 3s infinite ease-in-out;
}

.coming-soon-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: var(--space-4);
    font-weight: 700;
}

.coming-soon-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

@keyframes pulse-slow {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* =========================================
   Self Declaration — Isometric 3D Documents
   ========================================= */

/* --- Dark wrapper background --- */
.sd-iso-wrapper {
    background: linear-gradient(135deg, #1a1145 0%, #0f2027 50%, #0a0e27 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-8) var(--space-6);
    margin-top: var(--space-4);
    position: relative;
    overflow: hidden;
}

/* Subtle background grid pattern */
.sd-iso-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* --- Hero header inside dark wrapper --- */
.sd-iso-header {
    text-align: center;
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 1;
}

.sd-iso-header-icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-1);
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.4));
}

.sd-iso-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-2);
    text-shadow: 0 2px 20px rgba(139, 92, 246, 0.3);
}

.sd-iso-header p {
    color: rgba(203, 213, 225, 0.7);
    font-size: 1rem;
    font-weight: 400;
}

/* --- Grid for isometric cards --- */
.self-dec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 1.25rem;
    position: relative;
    z-index: 1;
    perspective: 1200px;
}

/* --- Individual 3D Document Card --- */
.self-dec-card {
    position: relative;
    background: linear-gradient(165deg, #fffef5 0%, #f5f0e6 60%, #ece4d4 100%);
    border: none;
    border-radius: 4px;
    padding: 1.25rem 1rem 1rem 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    min-height: 160px;
    transform: rotateY(-8deg) rotateX(4deg) scale(0.97);
    transform-style: preserve-3d;
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        8px 10px 24px rgba(0, 0, 0, 0.3),
        2px 4px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Folded corner */
.self-dec-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(225deg, #d1c9b8 0%, #e8e0d0 50%, transparent 50%);
    border-bottom-left-radius: 6px;
    box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.08);
    z-index: 2;
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Colored ribbon on the left side */
.self-dec-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 6px;
    height: 50px;
    border-radius: 0 4px 4px 0;
    transition: height 0.3s ease;
}

/* Ribbon colors — each card gets a unique color via nth-child */
.self-dec-card:nth-child(1)::after {
    background: #f59e0b;
}

.self-dec-card:nth-child(2)::after {
    background: #ef4444;
}

.self-dec-card:nth-child(3)::after {
    background: #3b82f6;
}

.self-dec-card:nth-child(4)::after {
    background: #10b981;
}

.self-dec-card:nth-child(5)::after {
    background: #8b5cf6;
}

.self-dec-card:nth-child(6)::after {
    background: #ec4899;
}

.self-dec-card:nth-child(7)::after {
    background: #f97316;
}

.self-dec-card:nth-child(8)::after {
    background: #06b6d4;
}

/* Alternating tilt for visual variety */
.self-dec-card:nth-child(even) {
    transform: rotateY(6deg) rotateX(-3deg) scale(0.97);
}

/* --- Hover: pop out and straighten --- */
.self-dec-card:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05) translateY(-10px);
    box-shadow:
        0 25px 50px rgba(139, 92, 246, 0.25),
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.self-dec-card:hover::before {
    width: 28px;
    height: 28px;
}

.self-dec-card:hover::after {
    height: 65px;
}

/* --- PDF Icon Badge --- */
.file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
    width: auto;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.file-info {
    width: 100%;
}

.file-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.file-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 0.5rem;
}

.file-size {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 100px;
}

.download-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.download-badge::after {
    content: '↓';
    font-size: 1rem;
}

/* --- Document title (form name) --- */
.self-dec-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
    min-height: auto;
    display: block;
    text-align: left;
    flex-grow: 1;
    font-family: 'Inter', 'Nirmala UI', sans-serif;
}

/* --- Faux ruled lines on the paper --- */
.sd-paper-lines {
    width: 100%;
    height: 28px;
    background: repeating-linear-gradient(to bottom,
            transparent 0px,
            transparent 6px,
            rgba(0, 0, 0, 0.04) 6px,
            rgba(0, 0, 0, 0.04) 7px);
    margin-top: auto;
    border-radius: 2px;
}

/* --- Download bar at the bottom --- */
.self-dec-download-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    width: 100%;
    padding: 8px 0 2px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(30, 41, 59, 0.45);
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    transition: color 0.3s ease;
}

.self-dec-card:hover .self-dec-download-hint {
    color: #7c3aed;
}

/* =========================================
   Responsive — Isometric 3D
   ========================================= */
@media (max-width: 1024px) {
    .self-dec-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .sd-iso-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .self-dec-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .sd-iso-wrapper {
        padding: var(--space-8) var(--space-4);
    }

    .sd-iso-header h2 {
        font-size: 1.5rem;
    }

    .self-dec-card,
    .self-dec-card:nth-child(even) {
        transform: rotateY(-4deg) rotateX(2deg) scale(0.98);
    }

    .self-dec-card:hover {
        transform: rotateY(0deg) rotateX(0deg) scale(1.03) translateY(-6px);
    }
}

@media (max-width: 768px) {
    .coming-soon-glass {
        padding: var(--space-8) var(--space-4);
    }

    .coming-soon-title {
        font-size: 2rem;
    }
}

/* =========================================
   Overlays & Lightboxes (Glassmorphism)
   ========================================= */
.confirmation-overlay,
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirmation-overlay.visible,
.lightbox-overlay.visible {
    display: flex;
    opacity: 1;
}

.confirmation-box,
.lightbox-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

.confirmation-overlay.visible .confirmation-box,
.lightbox-overlay.visible .lightbox-content {
    transform: scale(1);
}

.confirmation-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.confirmation-message {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: var(--space-6);
    white-space: pre-line;
}

.confirmation-buttons {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
}

.btn-confirm,
.btn-cancel {
    padding: var(--space-2) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-confirm {
    background: var(--primary-color);
    color: white;
}

.btn-confirm:hover {
    background: var(--primary-dark);
}

.btn-cancel {
    background: var(--bg-body);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-cancel:hover {
    background: #e2e8f0;
}

/* Video Lightbox Specifics */
.video-lightbox-content {
    max-width: 900px;
    padding: var(--space-4);
    position: relative;
    background: #000;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

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

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-lightbox:hover {
    color: var(--secondary-light);
}

/* =========================================
   Compact Scheme Cards (Home Page)
   ========================================= */
.compact-scheme-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.compact-scheme-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(49, 46, 129, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-2) var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 50px;
}

.compact-scheme-card:hover {
    background: #fff;
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.compact-scheme-icon {
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent);
    border-radius: 8px;
}

.compact-scheme-info {
    display: flex;
    flex-direction: column;
}

.compact-scheme-name {
    font-size: 0.95rem;
    /* Increased from 0.8rem */
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.compact-scheme-tag {
    font-size: 0.7rem;
    /* Increased from 0.6rem */
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Specific Bento Card Variations */
.bento-schemes {
    background: #FFFFFF !important;
}

/* Final Layout Fixes */
.bento-schemes {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* =========================================
   GP Members Page - Modern Civic Bento Layout
   ========================================= */

.members-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.members-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-flow: dense;
    gap: var(--space-6);
    padding: var(--space-8) 0;
}

/* Media query for larger screens to enable multi-column bento behavior */
@media (min-width: 1024px) {
    .members-bento-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: minmax(180px, auto);
    }
}

.members-bento-card {
    background: var(--bg-surface);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(49, 46, 129, 0.28);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.members-bento-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xl);
}

.members-bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.members-bento-card:hover::before {
    opacity: 1;
}

/* Card Variations */
@media (min-width: 1024px) {
    .members-bento-card.bento-large {
        grid-column: span 2;
        grid-row: span 2;
        padding: var(--space-8);
    }

    .members-bento-card.bento-medium {
        grid-column: span 2;
        flex-direction: row;
        align-items: center;
        gap: var(--space-6);
    }
}

/* Content Styles */
.bento-member-img-wrap {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-4);
    border: 2px solid var(--text-white);
    box-shadow: var(--shadow-md);
    background: var(--bg-accent);
}

.bento-large .bento-member-img-wrap {
    width: 140px;
    height: 140px;
    margin-bottom: var(--space-6);
}

.bento-medium .bento-member-img-wrap {
    margin-bottom: 0;
    flex-shrink: 0;
}

.bento-member-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bento-member-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.bento-large .bento-member-name {
    font-size: 1.85rem;
}

.bento-member-role {
    display: block;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-light);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.bento-member-contact-text {
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.bento-large .bento-member-role {
    font-size: 0.95rem;
}

.bento-member-desc {
    margin-top: var(--space-4);
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: none;
    /* Only show in large cards */
}

.bento-large .bento-member-desc {
    display: block;
}

.bento-tenure-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(49, 46, 129, 0.05);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(49, 46, 129, 0.1);
}

.section-title-premium {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-2);
}

.section-title-premium::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: var(--radius-full);
}

/* Contact Us Specific Grid */
.contact-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-8);
    padding: var(--space-8) 0;
    width: 100%;
}