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

:root {
    --color-charcoal: #1A1A1A;
    --color-sandstone: #F2E8D9;
    --color-terracotta: #B97A57;
    --color-white: #FFFFFF;
    --color-orange: #E65100;
    --color-gold: var(--color-orange);
    --color-gray-light: #F9F9F9;
    --color-gray-medium: #E0E0E0;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --font-accent: 'Inter', sans-serif; /* For labels and tags */
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    --container-max-width: 1200px;
    --transition-base: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 30px 60px rgba(0,0,0,0.06);
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-charcoal);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem; /* Standard gutters */
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; }

/* Page Headers (Sub-pages) */
.page-header {
    background-color: var(--color-charcoal);
    color: white;
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.page-header .label {
    display: block;
    color: var(--color-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.page-header .text-muted {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
    max-width: 700px;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
    padding: 0.75rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100% !important;
    padding: 0 4rem !important;
}

.logo img {
    height: 36px;
    width: auto;
    transition: height 0.4s ease;
}

.header.scrolled .logo img {
    height: 30px;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.nav-link:hover {
    color: var(--color-terracotta);
    opacity: 1;
}

.member-btn {
    border: 1.5px solid var(--color-charcoal);
    padding: 0.7rem 1.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: var(--transition-base);
}

.member-btn:hover {
    background: var(--color-charcoal);
    color: white;
}

/* Hero Styles */
.hero-new {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-bottom: 5rem; /* Space from cards below */
}

.hero-overlay-new {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 40%, transparent 100%);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: flex-end;
    color: white;
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.hero-title-new {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.95;
    font-weight: 300; /* Lighter for a more "architectural" unique feel */
    font-family: var(--font-serif);
    letter-spacing: -0.03em;
}

.hero-title-new em {
    font-style: italic;
    font-family: var(--font-serif);
}

.hero-right {
    max-width: 420px;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-family: var(--font-sans);
}

.hero-link {
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.625rem;
    transition: var(--transition-base);
}

.hero-link:hover {
    color: white;
    border-bottom-color: white;
}

.hero-link:hover {
    border-bottom-color: white;
    transform: none;
}

.hero-link:hover {
    background-color: white;
    color: var(--color-charcoal);
    transform: translateY(-5px);
}

/* Audience Overlap Cards */
.audiences-overlap {
    margin-top: -120px;
    position: relative;
    z-index: 20;
}

.overlap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22rem;
}

.overlap-card {
    background: white;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-base);
    border: 1px solid var(--color-gray-medium);
}

.overlap-card:hover {
    transform: translateY(-15px);
    border-color: var(--color-gold);
}

.card-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    filter: grayscale(1) brightness(0.8);
    transition: 0.8s ease;
}

.overlap-card:hover .card-img {
    filter: grayscale(0) brightness(1);
}

.card-body {
    padding: 2.5rem;
}

.card-tag {
    display: inline-block;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    font-weight: 700;
}

.card-body p {
    font-size: 0.9375rem;
    opacity: 0.6;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.card-btn {
    border: 1px solid var(--color-gray-medium);
    width: 100%;
    padding: 1.2rem;
    text-align: left;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-base);
}

.card-btn:hover {
    border-color: var(--color-charcoal);
    background: var(--color-charcoal);
    color: white;
}

.card-btn span {
    transition: transform 0.3s ease;
}

.card-btn:hover span {
    transform: translateX(5px);
}

/* Quote Section */
.quote-section {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.4;
    max-width: 1100px;
    margin: 0 auto 2.5rem;
}

.quote-author {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    font-weight: 700;
    opacity: 0.4;
}

/* Four Pillars */
.pillars-section {
    background-color: var(--color-sandstone);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.compass-decor {
    position: absolute;
    bottom: -50px;
    left: -50px;
    opacity: 0.1; /* 0.5 was requested, but 0.1/0.2 is usually better for background decor. I'll use 0.15 for elegance. */
    color: var(--color-charcoal);
    pointer-events: none;
    transform: rotate(-15deg);
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
}

.pillars-title h2 {
    font-size: 3.5rem;
    max-width: 400px;
}

.pillars-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.pillar-item {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 2rem;
    transition: var(--transition-base);
}

.pillar-item:hover {
    border-top-color: var(--color-terracotta);
}

.pillar-num {
    font-family: var(--font-serif);
    color: var(--color-terracotta);
    font-size: 1rem;
    display: block;
    margin-bottom: 1.5rem;
}

.pillar-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.pillar-item p {
    font-size: 0.9375rem;
    opacity: 0.6;
    line-height: 1.7;
}

/* News Section Refinement */
.news-section-new {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-sandstone);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-lg);
}

.news-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.news-item-new {
    padding: 3rem;
    background: white;
    border: 1px solid var(--color-gray-medium);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.news-item-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--color-gold);
    transition: var(--transition-base);
}

.news-item-new:hover::before {
    height: 100%;
}

.news-item-new:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-premium);
    transform: translateY(-10px);
}

.news-meta-new {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.news-item-new h4 {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.news-item-new:hover h4 {
    color: var(--color-terracotta);
}

.news-link-new {
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.1em;
}

/* Footer Styles */
.footer-new {
    background-color: var(--color-charcoal);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: var(--spacing-xl);
}

.footer-logo img {
    height: 45px;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
}

.footer-desc {
    opacity: 0.5;
    font-size: 0.875rem;
    max-width: 320px;
    line-height: 1.8;
}

.footer-col h5 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 2.5rem;
    color: var(--color-gold);
}

.footer-list li {
    margin-bottom: 1rem;
}

.footer-list a {
    opacity: 0.4;
    font-size: 0.8125rem;
    transition: var(--transition-base);
}

.footer-list a:hover {
    opacity: 1;
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.625rem;
    opacity: 0.3;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-link:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: white;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--color-gold);
}

/* Mobile Menu Styles */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-charcoal);
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 1024px) {
    .mobile-nav-toggle { display: block; }
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        z-index: 1000;
    }
    .nav-list.active { right: 0; }
    .nav-list li { margin: 1.5rem 0; }
    .nav-link { font-size: 1.5rem; }
    .header .member-btn { display: none; }
    .header-container { padding: 0 1.5rem !important; }
}

/* Missions Section */
.missions-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    background-image: 
        radial-gradient(var(--color-gray-medium) 1px, transparent 1px),
        url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='0.02' stroke-width='0.5'%3E%3Cpath d='M20 20h160v160H20z'/%3E%3Cpath d='M20 60h160M20 100h160M20 140h160M60 20v160M100 20v160M140 20v160'/%3E%3Cpath d='M40 40h40v40H40zM120 40h40v80h-40zM40 100h60v60H40z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 40px 40px, 400px 400px;
    position: relative;
}

.missions-title {
    color: var(--color-charcoal); /* Changed to black/charcoal */
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-transform: none;
    margin-bottom: 1rem;
}

.missions-subtitle {
    font-size: 1.125rem;
    color: var(--color-charcoal);
    opacity: 0.6;
    margin-bottom: 5rem;
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.mission-item {
    display: flex;
    flex-direction: column;
}

.mission-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.mission-icon {
    width: 40px;
    height: 40px;
    color: var(--color-charcoal);
    opacity: 0.7;
}

.mission-item h3 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.25rem;
}

.mission-item p {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    opacity: 0.7;
}

/* Layout Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 992px) {
    .grid-2, .grid-3, .missions-grid, .overlap-grid, .news-grid-new {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Animations Fixes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Royal Messages Section */
.royal-messages-section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-white);
}

.royal-messages-section::before,
.royal-messages-section::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='none'/%3E%3Cpath d='M20 20h60v60H20z' stroke='%23C5A059' stroke-opacity='0.05' fill='none'/%3E%3Cpath d='M40 0v100M0 40h100' stroke='%23C5A059' stroke-opacity='0.05' fill='none'/%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.5;
}

.royal-messages-section::before { left: -50px; top: 0; }
.royal-messages-section::after { right: -50px; top: 0; transform: scaleX(-1); }

.royal-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.royal-row.reverse {
    grid-template-columns: 0.8fr 1.2fr;
    margin-bottom: 0;
}

.royal-text {
    padding: 2rem 0;
}

.royal-title {
    color: var(--color-terracotta);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.royal-date {
    display: block;
    color: var(--color-terracotta);
    font-weight: 600;
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.royal-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.arabic-text p {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    line-height: 2;
    text-align: justify;
}

.royal-image-container {
    position: relative;
}

.royal-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--color-gray-medium);
    position: relative;
    transition: var(--transition-base);
}

.royal-image-container::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--color-gold);
    z-index: -1;
    opacity: 0.3;
}

.royal-image:hover {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .royal-row, .royal-row.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .royal-image-container {
        order: -1;
    }
    .arabic-text p {
        text-align: center;
    }
}

/* Organisation Page Redesign Styles */
.president-hero-wrapper {
    background-color: var(--color-orange);
    color: var(--color-charcoal);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.president-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.president-image-box {
    position: relative;
    aspect-ratio: 4/5;
    border: 1px solid rgba(26, 26, 26, 0.15);
    background-color: rgba(26, 26, 26, 0.02);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.president-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.president-image-box:hover img {
    transform: scale(1.04);
}

.president-image-box::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--color-charcoal);
    z-index: 10;
    pointer-events: none;
    opacity: 0.8;
}

.president-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.president-label {
    display: inline-block;
    color: var(--color-charcoal);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.5rem;
}

.president-name {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--color-charcoal);
}

.president-quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-charcoal);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    border-left: 2px solid var(--color-charcoal);
    padding-left: 2rem;
}

.president-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    opacity: 0.85;
    margin-bottom: 3rem;
}

.president-signature {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-charcoal);
    opacity: 0.6;
}

/* Governance Flowchart */
.gov-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-medium);
}

.gov-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.gov-level {
    display: flex;
    justify-content: center;
    gap: 4rem;
    width: 100%;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.gov-node {
    background: white;
    border: 1px solid var(--color-gray-medium);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 320px;
    transition: var(--transition-base);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.gov-node:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-premium);
}

.gov-node-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-gold);
    background-color: var(--color-gray-light);
}

.gov-node-info h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.gov-node-info .gov-role {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Connective lines for Gov Tree */
.gov-tree::before {
    content: '';
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 50%;
    width: 1px;
    background: var(--color-gold);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

/* Search and Filter Sticky Section */
.sticky-filter-wrapper {
    position: sticky;
    top: 72px; /* standard header height */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-gray-medium);
    padding: 1.5rem 0;
    z-index: 99;
    transition: top 0.4s ease;
}

.header.scrolled + main .sticky-filter-wrapper {
    top: 60px;
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.filter-tabs {
    display: flex;
    gap: 0.75rem;
}

.filter-tab {
    background: none;
    border: 1px solid var(--color-gray-medium);
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-tab:hover, .filter-tab.active {
    background: var(--color-charcoal);
    color: white;
    border-color: var(--color-charcoal);
}

.search-box-wrapper {
    position: relative;
    width: 320px;
}

.search-input-field {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    font-size: 0.85rem;
    border: 1px solid var(--color-gray-medium);
    font-family: var(--font-sans);
    transition: var(--transition-base);
    background: white;
}

.search-input-field:focus {
    outline: none;
    border-color: var(--color-gold);
}

.search-icon-svg {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--color-charcoal);
    opacity: 0.4;
    pointer-events: none;
}

/* Members Grid Section */
.members-grid-section {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    min-height: 500px;
}

.members-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    transition: all 0.5s ease;
}

.member-card-new {
    background: white;
    border: 1px solid var(--color-gray-medium);
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.member-card-new.hidden {
    display: none;
}

.member-card-new:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-premium);
}

.member-img-new {
    height: 340px;
    width: 100%;
    object-fit: cover;
    filter: grayscale(0.2);
    transition: filter 0.5s ease, transform 0.8s ease;
    background-color: var(--color-gray-light);
}

.member-card-new:hover .member-img-new {
    filter: grayscale(0);
    transform: scale(1.02);
}

.member-info-new {
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid var(--color-gray-medium);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-name-new {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-charcoal);
}

.member-role-new {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.members-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 6rem 0;
    color: var(--color-charcoal);
    opacity: 0.5;
    font-size: 1.125rem;
    display: none;
}

@media (max-width: 1200px) {
    .members-grid-new {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .president-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .president-image-box {
        max-width: 400px;
        margin: 0 auto;
    }
    .president-text-box {
        text-align: center;
    }
    .president-quote {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--color-charcoal);
        border-bottom: 1px solid var(--color-charcoal);
        padding: 1.5rem 0;
    }
    .gov-node {
        width: 100%;
        max-width: 400px;
    }
    .gov-tree::before {
        display: none;
    }
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box-wrapper {
        width: 100%;
    }
    .members-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .members-grid-new {
        grid-template-columns: 1fr;
    }
    .filter-tabs {
        flex-wrap: wrap;
    }
    .filter-tab {
        flex: 1 1 calc(50% - 0.5rem);
        text-align: center;
        padding: 0.5rem 1rem;
    }
}