/* 
   Institute for Transforming Sikkim (ITS) - Stylesheet
   Design System: Modern Glassmorphic Corporate & Sustainable Development Theme
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Light Mode */
    --primary: #0a5c3a;
    /* Deep Sikkim Emerald Green */
    --primary-light: #168e5d;
    --accent: #d4a373;
    /* Pristine Himalayan Gold */
    --accent-hover: #c39262;
    --secondary: #1e3d59;
    /* Slate/Alpine Blue */
    --bg-main: #f4f7f6;
    /* Soft green-gray background */
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-color: rgba(10, 92, 58, 0.1);
    --text-primary: #1c2e24;
    --text-secondary: #4a5c53;
    --card-shadow: 0 8px 32px 0 rgba(10, 92, 58, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --nav-height: 105px;
}

[data-theme="dark"] {
    /* Color Palette - Dark Mode */
    --primary: #12b373;
    /* Vivid Sikkim Emerald Green */
    --primary-light: #24d28d;
    --accent: #e5b382;
    /* Pristine Himalayan Gold */
    --accent-hover: #f3c495;
    --secondary: #2c5282;
    /* Alpine Blue */
    --bg-main: #0c120f;
    /* Deep jungle night black */
    --bg-card: rgba(20, 32, 27, 0.85);
    --border-color: rgba(36, 210, 141, 0.15);
    --text-primary: #e6f1ec;
    --text-secondary: #9cb3a7;
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-bg: rgba(15, 25, 21, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
}

body {
    background-color: var(--bg-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
.btn {
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    border: none;
    outline: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Utility Layouts & Typography */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    text-transform: uppercase;
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Header & Floating Navigation */
header {
    width: 100%;
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

header.scrolled {
    height: 75px;
    background: var(--bg-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo-img,
.seal-img {
    height: 58px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    transition: all 0.4s ease;
}

[data-theme="dark"] .logo-img {
    filter: invert(1) hue-rotate(180deg) brightness(1.2) contrast(1.1);
}

header.scrolled .logo-img,
header.scrolled .seal-img {
    height: 42px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-menu-logo {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-item a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-item a:hover {
    color: var(--primary-light);
}

.nav-item a:hover::after {
    width: 100%;
}

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

/* Theme Toggle */
.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.theme-toggle-btn:hover {
    background: var(--border-color);
    transform: rotate(15deg);
}

.theme-toggle-btn .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle-btn .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle-btn .moon-icon {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    z-index: 1010;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: var(--border-color);
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
    background-image: linear-gradient(to right, rgba(10, 92, 58, 0.85), rgba(30, 61, 89, 0.7)), url('../assets/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    overflow: hidden;
}

[data-theme="dark"] .hero-section {
    background-image: linear-gradient(to right, rgba(12, 18, 15, 0.92), rgba(10, 20, 30, 0.85)), url('../assets/hero.png');
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.3s;
}

.hero-badge {
    background: rgba(212, 163, 115, 0.25);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), #ffdfba);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: var(--accent);
    color: #1c2e24;
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 20px rgba(212, 163, 115, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Glass Card Hero Widget */
.hero-widget {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0.95);
    animation: zoomIn 1s forwards 0.6s;
}

.hero-widget h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.widget-stat {
    margin-bottom: 20px;
}

.widget-stat:last-child {
    margin-bottom: 0;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.70);
    margin-bottom: 6px;
    display: block;
}

.stat-val-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.stat-val {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-change {
    font-size: 0.85rem;
    color: #48bb78;
    font-weight: 600;
}

.stat-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.stat-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    border-radius: 3px;
}

/* About / Mandate Section */
.about-section {
    background: var(--bg-main);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-graphics {
    position: relative;
}

.about-img-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 4px solid var(--bg-card);
    aspect-ratio: 4/3;
    background-image: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo-backdrop {
    width: 50%;
    height: 50%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

.about-badge-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    border-radius: 16px;
    padding: 24px;
    max-width: 260px;
    backdrop-filter: blur(10px);
}

.about-badge-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.about-badge-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.about-text h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.mandate-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mandate-point {
    display: flex;
    gap: 12px;
}

.mandate-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(10, 92, 58, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.mandate-desc h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.mandate-desc p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Key Focus Pillars */
.pillars-section {
    background: var(--bg-main);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--pillar-color, var(--primary));
    transition: height 0.4s ease;
    z-index: -1;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(10, 92, 58, 0.12);
}

.pillar-card:hover::before {
    height: 100%;
    opacity: 0.03;
}

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(10, 92, 58, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.pillar-card:hover .pillar-icon-box {
    background: var(--pillar-color, var(--primary));
    color: #ffffff;
    transform: scale(1.05);
}

.pillar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.pillar-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pillar-color, var(--primary));
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.pillar-card:hover .pillar-link {
    gap: 12px;
    color: var(--pillar-color, var(--primary-light));
}

/* Vision 2047 Dashboard Section */
.dashboard-section {
    background: var(--bg-main);
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 40px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.db-title h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.db-title p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.db-tabs {
    display: flex;
    gap: 8px;
    background: var(--border-color);
    padding: 4px;
    border-radius: 10px;
}

.db-tab-btn {
    background: transparent;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.db-tab-btn.active {
    background: var(--bg-main);
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.db-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.metric-box {
    background: var(--bg-main);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.metric-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.metric-target-row {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}

.db-chart-container {
    background: var(--bg-main);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-title {
    font-size: 1rem;
    font-weight: 600;
}

.chart-legend {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-current {
    background: var(--primary);
}

.legend-target {
    background: var(--accent);
}

/* Virtual Bar Chart Representation */
.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
    justify-content: center;
}

.chart-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.chart-row-label {
    width: 80px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.chart-bar-outer {
    flex-grow: 1;
    height: 24px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.chart-bar-inner {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    width: 0;
    transition: width 1s ease-out;
}

.chart-bar-target {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent);
    z-index: 2;
}

.chart-val-display {
    width: 40px;
    text-align: right;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Publications Section */
.publications-section {
    background: var(--bg-main);
}

.pubs-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.search-box {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 48px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 92, 58, 0.15);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.filter-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tag {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tag.active,
.filter-tag:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.pubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.pub-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.pub-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.pub-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.pub-tag {
    color: var(--primary-light);
}

.pub-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-primary);
}

.pub-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.pub-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.pub-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pub-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.pub-download-btn:hover {
    color: var(--accent);
}

/* Leadership Section */
.leadership-section {
    background: var(--bg-main);
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-content: center;
}

.leader-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all 0.3s;
}

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

.leader-img-box {
    aspect-ratio: 1/1;
    width: 100%;
    background-image: linear-gradient(135deg, var(--secondary), var(--primary));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* We will display a nice placeholder avatar or graphic inside */
.leader-avatar-placeholder {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.leader-info {
    padding: 30px 20px;
}

.leader-role-badge {
    background: rgba(10, 92, 58, 0.08);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.leader-name {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.leader-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.leader-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.leader-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s;
}

.leader-social-link:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Contact & Feedback Form Section */
.contact-section {
    background: var(--bg-main);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.contact-info-panel {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    padding: 40px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-info-panel::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.info-title h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.info-title p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.info-list {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
}

.info-details h4 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-details p {
    font-size: 1rem;
}

.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 92, 58, 0.15);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    background: var(--primary);
    color: #ffffff;
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

.form-submit-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 92, 58, 0.2);
}

/* Footer Section */
footer {
    background: #081a12;
    color: #a0aec0;
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] footer {
    background: #050a08;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 1.5px;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s;
}

.footer-social-link:hover {
    background: var(--primary);
    color: #ffffff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

/* Viewport Scroll Animations class */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Anonymous Feedback Board styling */
.feedback-post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feedback-post-card:hover {
    box-shadow: 0 8px 24px rgba(10, 92, 58, 0.06);
    transform: translateY(-2px);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.post-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.topic-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-eco-tourism {
    background: rgba(212, 163, 115, 0.15);
    color: var(--accent);
}

.badge-agriculture {
    background: rgba(10, 92, 58, 0.1);
    color: var(--primary-light);
}

.badge-digital {
    background: rgba(30, 61, 89, 0.1);
    color: var(--secondary);
}

[data-theme="dark"] .badge-digital {
    color: #63b3ed;
}

.badge-energy {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

[data-theme="dark"] .badge-energy {
    color: #2dd4bf;
}

.badge-general {
    background: rgba(74, 92, 83, 0.1);
    color: var(--text-secondary);
}

.post-title {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.post-body {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    margin-top: 5px;
}

.action-btn {
    background: transparent;
    border: none;
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.2s;
    padding: 4px 8px;
    border-radius: 4px;
}

.action-btn:hover {
    color: var(--primary);
    background: var(--border-color);
}

.action-btn.active {
    color: var(--primary);
}

.action-btn.vote-btn.upvote-btn.active {
    background: rgba(10, 92, 58, 0.08);
    color: var(--primary);
    border-color: rgba(10, 92, 58, 0.25);
}

.action-btn.vote-btn.downvote-btn.active {
    background: rgba(229, 62, 62, 0.08);
    color: #e53e3e;
    border-color: rgba(229, 62, 62, 0.25);
}

[data-theme="dark"] .action-btn.vote-btn.downvote-btn.active {
    background: rgba(245, 101, 101, 0.12);
    color: #fc8181;
    border-color: rgba(245, 101, 101, 0.25);
}

/* Comments Section */
.comment-drawer {
    display: none;
    border-top: 1px dashed var(--border-color);
    padding-top: 16px;
    margin-top: 5px;
    flex-direction: column;
    gap: 16px;
}

.comment-drawer.active {
    display: flex;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-item {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-item.admin-comment {
    border-left: 4px solid var(--primary);
    background: rgba(10, 92, 58, 0.03);
}

[data-theme="dark"] .comment-item.admin-comment {
    background: rgba(36, 210, 141, 0.04);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.commenter-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-badge {
    background: var(--primary);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-time {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.comment-body {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Comment Form */
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    background: var(--bg-main);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.comment-form-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 30px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .about-grid,
    .contact-grid {
        gap: 40px;
    }
}

@media (max-width: 1100px) {

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .hero-section {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 40px);
        padding-bottom: 60px;
        align-items: flex-start;
    }

    .top-leaders-bar {
        justify-content: center;
        margin-bottom: 20px;
        margin-top: 10px;
    }

    .hero-badge {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .mandate-points {
        grid-template-columns: 1fr;
    }

    .hero-widget {
        padding: 24px;
        margin-top: 20px;
    }

    .logo-text {
        display: none;
    }

    .logo-img,
    .seal-img {
        height: 50px;
        width: auto;
    }

    header.scrolled .logo-img,
    header.scrolled .seal-img {
        height: 40px;
        width: auto;
    }

    .nav-links {
        display: flex;
        /* Always display flex to allow transform transition */
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(10, 92, 58, 0.1);
        flex-direction: column;
        padding: 80px 24px 40px 24px;
        gap: 6px;
        align-items: center;
        overflow-y: auto;
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-menu-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
        width: 100%;
    }

    .mobile-logo-img {
        height: auto;
        width: 100%;
        max-width: 180px;
        border-radius: 0;
        margin-bottom: 12px;
        box-shadow: none;
        background: transparent;
        padding: 0;
    }

    .mobile-logo-text {
        font-weight: 800;
        font-size: 1.5rem;
        letter-spacing: 1px;
        color: #1c2e24;
        font-family: 'Outfit', sans-serif;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-item a {
        display: block;
        padding: 8px 0;
        font-size: 1.05rem;
        font-weight: 600;
        color: #1c2e24 !important;
        /* Force dark text color for legibility on white background drawer */
        border-bottom: 1px solid rgba(10, 92, 58, 0.08);
        transition: color 0.2s, background-color 0.2s;
    }

    .nav-item:last-child a {
        border-bottom: none;
    }

    .nav-item a:hover {
        color: var(--primary);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        /* Must be above nav-links */
    }

    .hamburger.active {
        border-color: rgba(10, 92, 58, 0.2) !important;
    }

    .hamburger.active span {
        background-color: #1c2e24 !important;
        /* Force dark lines when active (open drawer) */
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .about-grid,
    .dashboard-grid,
    .contact-grid,
    .leaders-grid {
        grid-template-columns: 1fr !important;
    }

    .about-graphics {
        order: 2;
        margin-top: 40px;
    }

    .about-badge-card {
        right: 0;
        bottom: -20px;
    }

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

@media (max-width: 600px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-title-wrapper {
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .db-metrics {
        grid-template-columns: 1fr;
    }

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

    .form-group.full-width {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .post-images-grid.grid-2,
    .post-images-grid.grid-3,
    .post-images-grid.grid-4 {
        grid-template-columns: 1fr;
    }

    .post-images-grid.grid-1 .post-image-item,
    .post-images-grid.grid-2 .post-image-item,
    .post-images-grid.grid-3 .post-image-item,
    .post-images-grid.grid-4 .post-image-item {
        height: 200px;
    }

    .form-image-preview-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Feedback Evidence Image Grid & Upload Styles */
.post-images-grid {
    display: grid;
    gap: 8px;
    margin: 14px 0 6px 0;
    border-radius: 12px;
    overflow: hidden;
}

.post-images-grid.grid-1 {
    grid-template-columns: 1fr;
}

.post-images-grid.grid-2 {
    grid-template-columns: 1fr 1fr;
}

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

.post-images-grid.grid-4 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.post-image-item {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.25s ease, filter 0.25s ease;
    border: 1px solid var(--border-color);
}

.post-image-item:hover {
    transform: scale(1.015);
    filter: brightness(0.95);
}

.post-images-grid.grid-1 .post-image-item {
    height: 300px;
}

.post-images-grid.grid-2 .post-image-item {
    height: 180px;
}

.post-images-grid.grid-3 .post-image-item {
    height: 140px;
}

.post-images-grid.grid-4 .post-image-item {
    height: 130px;
}

/* Image upload preview area inside form */
.form-image-preview-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.preview-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.preview-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-image-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(239, 68, 68, 0.85);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.preview-image-remove:hover {
    background: rgb(239, 68, 68);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--card-shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:not(.show) {
    transform: translateY(20px);
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 25px rgba(10, 92, 58, 0.25);
    color: #ffffff;
}

.back-to-top:active {
    transform: scale(0.95) translateY(0);
}

/* Leadership Card Hover Effects */
.leader-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(10, 92, 58, 0.15) !important;
    border-color: var(--primary) !important;
}

/* Top Leaders Banner below Header */
.top-leaders-bar {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
    width: 100%;
    margin-bottom: 0px;
    z-index: 10;
    flex-wrap: wrap;
    margin-top: 30px;

}

.top-leader-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.top-leader-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.top-leader-img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.top-leader-info {
    display: flex;
    flex-direction: column;
}

.top-leader-info h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.top-leader-info p {
    font-size: 0.76rem;
    color: var(--accent);
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dark theme overrides if necessary */
[data-theme="dark"] .top-leader-card {
    background: rgba(20, 32, 27, 0.5);
    border-color: rgba(36, 210, 141, 0.25);
}

[data-theme="dark"] .top-leader-card:hover {
    background: rgba(36, 210, 141, 0.15);
    border-color: var(--accent);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .top-leaders-bar {
        justify-content: center;
        margin-top: 10px;
        margin-bottom: 0px;
        gap: 12px;
    }

    .top-leader-card {
        padding: 8px 14px;
        gap: 10px;
    }

    .top-leader-img {
        width: 44px;
        height: 44px;
    }

    .top-leader-info h4 {
        font-size: 0.85rem;
    }

    .top-leader-info p {
        font-size: 0.7rem;
    }
}

/* Organization Chart / Leadership Tree Layout */
.org-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 40px auto;
    position: relative;
}

.org-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 450px;
    width: 100%;
}

.org-node.chairman-node {
    max-width: 500px;
}

.org-node.vice-chairman-node {
    max-width: 400px;
}

.org-node.member-secretary-node {
    max-width: 350px;
}

/* Connectors */
.org-connector-vertical {
    width: 3px;
    height: 45px;
    background: #e2e8f0;
    position: relative;
}

[data-theme="dark"] .org-connector-vertical {
    background: #2d3748;
}

.org-connector-vertical.arrow::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 6px 0 6px;
    border-style: solid;
    border-color: #cbd5e0 transparent transparent transparent;
}

[data-theme="dark"] .org-connector-vertical.arrow::after {
    border-color: #4a5568 transparent transparent transparent;
}

/* Horizontal connector line for children */
.org-branch-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Horizontal bar representing the orange bar with arrows pointing down */
.org-horizontal-bar {
    width: 84%;
    height: 10px;
    background: #ed8936;
    /* Orange color from the diagram */
    border-radius: 5px;
    margin: 10px auto;
    position: relative;
    box-shadow: 0 4px 10px rgba(237, 137, 54, 0.25);
}

.org-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 10px;
}

.org-member-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Red arrow pointing to each member */
.org-member-arrow {
    width: 3px;
    height: 35px;
    background: #e53e3e;
    /* Red arrow */
    position: relative;
    margin-bottom: 12px;
}

.org-member-arrow::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 6px 0 6px;
    border-style: solid;
    border-color: #e53e3e transparent transparent transparent;
}

/* Member Cards styles */
.org-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    padding: 24px 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Outlines for profile pictures matching diagram */
.org-img-wrapper {
    position: relative;
    border-radius: 50%;
    padding: 4px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.org-img-wrapper.gold {
    background: linear-gradient(135deg, #d4af37, #f9e8a2);
    border: 3px solid #d4af37;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.org-img-wrapper.silver {
    background: linear-gradient(135deg, #c0c0c0, #f0f0f0);
    border: 3px solid #b8b8b8;
    box-shadow: 0 8px 20px rgba(160, 160, 160, 0.15);
}

.org-img-wrapper.red {
    background: linear-gradient(135deg, #e53e3e, #fbb6b6);
    border: 3px solid #e53e3e;
    box-shadow: 0 8px 20px rgba(229, 62, 62, 0.15);
}

.org-title-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.org-title-label.gold {
    background: rgba(212, 175, 55, 0.1);
    color: #b8860b;
}

.org-title-label.silver {
    background: rgba(160, 160, 160, 0.12);
    color: #606060;
}

[data-theme="dark"] .org-title-label.silver {
    color: #b0b0b0;
}

.org-title-label.red {
    background: rgba(229, 62, 62, 0.08);
    color: #e53e3e;
}

.org-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.org-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .org-horizontal-bar {
        display: none;
    }

    .org-member-arrow {
        display: none;
    }

    .org-connector-vertical {
        height: 30px;
    }
}

/* Interactive About Section Tabs */
.its-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.its-tab-btn:hover {
    background: var(--border-color);
    color: var(--primary);
    transform: translateY(-1px);
}

.its-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(10, 92, 58, 0.2);
}

.its-tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out forwards;
}

.its-tab-content.active {
    display: block;
}

/* Tab internal grid layouts */
.tab-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.tab-feature-card {
    background: rgba(10, 92, 58, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.tab-feature-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

.tab-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(10, 92, 58, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

/* Strategic Roadmap Timeline styling */
.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--border-color);
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -27px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-card);
}

.timeline-item:hover .timeline-dot {
    background: var(--primary);
    transform: scale(1.2);
}

.timeline-content {
    background: rgba(10, 92, 58, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.timeline-content h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 12px;
}

/* Governing Body Table styling */
.governing-table-wrapper {
    overflow-x: auto;
}

.governing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.governing-table th {
    background: rgba(10, 92, 58, 0.05);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-align: left;
    padding: 14px 18px;
    border-bottom: 2px solid var(--border-color);
}

.governing-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.governing-table tr:hover td {
    background: rgba(10, 92, 58, 0.02);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .tab-cols {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Golden Jubilee & Hero Visual Enhancement Styles */
@keyframes floatEmblem {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

.floating-emblem {
    animation: floatEmblem 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.35));
}

.emblem-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.22) 0%, rgba(10, 92, 58, 0.15) 50%, transparent 75%);
    border-radius: 50%;
    animation: pulseGlow 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-jubilee-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 38px 28px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-jubilee-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.2), rgba(16, 185, 129, 0.2));
    border: 1px solid rgba(212, 160, 23, 0.5);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f59e0b;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.15);
    margin-bottom: 24px;
    z-index: 1;
}

.mandate-pill-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: 100%;
    margin-top: 20px;
    z-index: 1;
}

.mandate-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 14px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mandate-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    border-color: rgba(212, 160, 23, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mandate-pill-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.mandate-pill-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.mandate-pill-sub {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

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

/* /* Mobile & Tablet Responsive Enhancements (Desktop design remains 100% untouched) */
@media (max-width: 992px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .hero-widget {
        order: -1;
    }

    .hero-logo-img {
        max-height: 320px !important;
    }
    
    .vision-hero-card {
        padding: 28px 24px !important;
    }
    
    .tab-cols {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px !important;
        padding-bottom: 45px !important;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.25 !important;
    }

    .hero-desc {
        font-size: 0.95rem !important;
        line-height: 1.55 !important;
    }

    .hero-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .hero-actions .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .vision-hero-card {
        padding: 22px 18px !important;
        border-radius: 20px !important;
        margin-top: 24px !important;
    }

    .vision-hero-card div[style*="grid"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .its-tabs-container {
        padding: 22px 16px !important;
        border-radius: 18px !important;
        margin-top: 20px !important;
    }

    /* Horizontal scroll for tab buttons on mobile devices */
    .filter-tags, .its-tabs-nav, .media-tab-nav, .gallery-tabs-nav {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-bottom: 10px !important;
        gap: 10px !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
    }

    .filter-tag, .its-tab-btn, .gallery-tab-btn {
        flex-shrink: 0 !important;
        padding: 9px 18px !important;
        font-size: 0.85rem !important;
    }

    .pubs-grid, .leaders-grid, .videos-grid, .albums-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .pub-card, .video-card, .album-card {
        padding: 20px !important;
        width: 100% !important;
    }

    .policy-notification {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
        padding: 18px 20px !important;
    }

    .governing-table th, .governing-table td {
        padding: 10px 12px !important;
        font-size: 0.82rem !important;
    }

    .hero-jubilee-card {
        padding: 24px 18px !important;
        border-radius: 20px !important;
    }

    .mandate-pill-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .top-leaders-bar {
        justify-content: center !important;
        gap: 10px !important;
        flex-direction: column !important;
    }

    .top-leader-card {
        width: 100% !important;
        justify-content: flex-start !important;
        border-radius: 16px !important;
        padding: 10px 16px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .org-card {
        padding: 22px 18px !important;
        width: 100% !important;
    }

    .org-img-wrapper {
        width: 100px !important;
        height: 100px !important;
    }

    .org-img-wrapper.gold {
        width: 115px !important;
        height: 115px !important;
    }

    /* Dark Mode Mobile Nav Drawer Styling */
    [data-theme="dark"] .nav-links {
        background: rgba(18, 28, 22, 0.98) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    [data-theme="dark"] .nav-item a {
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    [data-theme="dark"] .hamburger.active span {
        background-color: #ffffff !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .section-title {
        font-size: 1.55rem !important;
    }

    .section-subtitle {
        font-size: 0.75rem !important;
    }

    .hero-title {
        font-size: 1.7rem !important;
    }

    .search-box {
        max-width: 100% !important;
    }

    .pub-card h3 {
        font-size: 1.1rem !important;
    }

    .hero-logo-img {
        max-height: 250px !important;
    }

    .seal-img {
        height: 32px !important;
    }

    .logo-img {
        height: 36px !important;
    }
}