html {
    scroll-padding-top: 110px;
}

:root {
    --bg-dark: #0e2040;
    --bg-deeper: #081426;
    --bg-card: rgba(20, 50, 95, 0.45);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-glow: rgba(59, 165, 224, 0.15);
    --primary: #3ba5e0;
    --primary-light: #6ebdec;
    --primary-glow: rgba(59, 165, 224, 0.45);
    --accent: #ffc233;
    --accent-red: #e74c3c;
    --text-main: #ffffff;
    --text-muted: #b0c8e8;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Layout Tokens (Desktop-First Base) */
    --section-spacing: 6.5rem;
    --grid-gap: 3rem;
    --card-padding: 3.5rem;
    --header-margin: 4.5rem;
}

/* Tablet & Mobile Progressive Downgrades */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 4rem;
        --grid-gap: 2rem;
        --card-padding: 2.5rem;
        --header-margin: 2.5rem;
    }
}

@media (max-width: 767px) {
    :root {
        --section-spacing: 2.5rem;
        --grid-gap: 1.25rem;
        --card-padding: 1.5rem;
        --header-margin: 1.5rem;
    }
}

/* Lucide Icon Global Styles */
i[data-lucide], svg.lucide {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    stroke-width: 2px;
}

.nav-icon-sm {
    width: 14px !important;
    height: 14px !important;
    margin-left: 4px;
    opacity: 0.7;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Animated Blob */
#glow-blob {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(59, 165, 224, 0.1) 50%, transparent 70%);
    opacity: 0.7;
    z-index: -1;
    pointer-events: none;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    100% { transform: translateX(-40%) scale(1.2); opacity: 0.8; }
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2, .section-title { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }

/* Readability - Constrained Line Length on Desktop */
.hero-p, .section-p {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.text-left .hero-p, .text-left .section-p {
    margin-left: 0;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.glass-panel {
    background: var(--bg-card);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--glass-glow);
}

/* Section Background Variants */
.section-variant-1 {
    background: radial-gradient(circle at 10% 20%, rgba(59, 165, 224, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(245, 166, 35, 0.03) 0%, transparent 50%);
}

.section-variant-2 {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deeper) 100%);
    border-top: 1px solid var(--glass-border);
}

.section-variant-3 {
    background: rgba(20, 40, 70, 0.3) url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Entrance Animations - Modern Staggered Look */
.reveal-up { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    visibility: hidden;
}
.reveal-up.active { 
    opacity: 1; 
    transform: translateY(0); 
    visibility: visible;
}

/* Fail-safe reveal for hero elements to avoid blank top section */
.hero .reveal-up,
.internal-hero .reveal-up,
.subpage-header .reveal-up {
    animation: revealIn 1s ease forwards 0.3s;
}

@keyframes revealIn {
    to { opacity: 1; transform: translateY(0); visibility: visible; }
}

.internal-hero {
    min-height: 350px;
    padding: 140px 2rem 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 112, 243, 0.6), rgba(10, 13, 20, 0.8), rgba(245, 166, 35, 0.3)), url('assets/images/other-tabs-header-banner/banner-bg.png') center/cover no-repeat;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
    .internal-hero {
        min-height: 240px;
        padding: 100px 1.25rem 40px;
    }
}

/* Inner container for .internal-hero — centers text properly on wide screens */
.internal-hero .hero-content-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.internal-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Direct children of .internal-hero without a container */
.internal-hero > h1,
.internal-hero > p,
.internal-hero > .reveal-up {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.internal-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg-main), transparent);
}

.internal-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
    text-align: center;
}

.internal-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
}

/* Shared subpage header class */
.subpage-header {
    background: linear-gradient(135deg, rgba(0, 112, 243, 0.6), rgba(10, 13, 20, 0.8), rgba(245, 166, 35, 0.3)), url('assets/images/other-tabs-header-banner/banner-bg.png') center/cover no-repeat;
    padding: 140px 2rem 80px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

@media (max-width: 767px) {
    .subpage-header {
        padding: 100px 1.25rem 40px;
        min-height: 240px;
    }
}

.subpage-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.subpage-header-inner h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: #fff;
}

.subpage-header-inner p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Navigation */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(14, 32, 64, 0.88);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(59, 165, 224, 0.15);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 1024px) {
    .header-container {
        padding: 0.75rem 1.25rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    max-width: 85%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0; /* Allow text to shrink/wrap properly */
}


.logo-img-placeholder {
    width: 70px;
    height: 70px;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.footer-logo {
    width: 110px;
    height: 110px;
    margin-bottom: 1rem;
    display: block;
    background: #ffffff;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.2rem;
    margin: 0;
    background: linear-gradient(to right, #fff, #d4e5f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .main-nav {
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .main-nav {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 80px 1.5rem 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        border-left: 1px solid var(--glass-border);
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }
}

/* Header action buttons group (search + hamburger) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.main-nav .btn-primary {
    margin-left: 1.5rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    box-shadow: 0 0 8px var(--primary-glow);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link.btn-primary::after {
    display: none;
}

/* Search Toggle Button */
.search-toggle {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    width: 38px;
    height: 38px;
}

.search-toggle:hover {
    background: rgba(59, 165, 224, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

/* ─── Search Overlay ─────────────────────────────── */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 14, 30, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 15vh 1.5rem 4rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    width: 100%;
    max-width: 680px;
    position: relative;
    transform: translateY(-16px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay.active .search-overlay-inner {
    transform: translateY(0);
}

/* Close button — top-right corner of the viewport, always */
.search-close-btn {
    position: fixed;
    top: 1.2rem;
    right: 1.2rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.35rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.search-close-btn:hover {
    background: rgba(229, 62, 62, 0.9);
    border-color: rgba(229, 62, 62, 0.6);
    color: #fff;
    transform: scale(1.08);
}

/* Label row above input */
.search-overlay-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
    text-align: left;
    padding-left: 0.25rem;
}

/* Input wrapper */
.search-input-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-input-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
    flex-shrink: 0;
}

.search-input {
    width: 100%;
    padding: 1.1rem 1.2rem 1.1rem 3.4rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: #fff;
    font-size: 1.15rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.search-input:focus {
    border-color: var(--primary);
    background: rgba(59, 165, 224, 0.05);
    box-shadow: 0 0 0 3px rgba(59, 165, 224, 0.12);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

/* Results container */
.search-results {
    max-height: 52vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.search-results::-webkit-scrollbar { width: 4px; }
.search-results::-webkit-scrollbar-track { background: transparent; }
.search-results::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }

/* Divider above results */
.search-results:not(:empty)::before {
    content: '';
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin-bottom: 0.75rem;
}

.search-placeholder-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.9rem;
    padding: 2.5rem 0;
    letter-spacing: 0.2px;
}

/* Individual result rows */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease;
    border: none;
    text-decoration: none;
    margin-bottom: 2px;
    border-left: 2px solid transparent;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--primary);
}

.search-result-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
}

.search-result-text {
    flex: 1;
    min-width: 0;
}

.search-result-text h4 {
    margin: 0 0 0.2rem 0;
    font-size: 0.97rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-text p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category tag on result */
.search-result-tag {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(59, 165, 224, 0.1);
    border: 1px solid rgba(59, 165, 224, 0.2);
    border-radius: 5px;
    padding: 2px 7px;
}

/* No results state */
.search-no-results {
    text-align: center;
    padding: 3rem 0;
    color: rgba(255, 255, 255, 0.35);
}

.search-no-results span {
    display: block;
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    opacity: 0.6;
}

/* Mobile overrides */
@media (max-width: 900px) {
    .search-overlay {
        padding: 12vh 1rem 3rem;
    }

    .search-close-btn {
        top: 0.8rem;
        right: 0.8rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .search-input {
        font-size: 1rem;
        padding: 1rem 1rem 1rem 3rem;
    }

    .search-result-item {
        padding: 0.85rem 0.75rem;
    }

    .search-result-tag {
        display: none;
    }
}

/* --- Organizational Tree Refinement --- */
.genealogy-scroll {
    overflow-x: auto;
    padding: 2rem 0 1rem 0;
    margin-bottom: 2rem;
    background: rgba(255,255,255,0.01);
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(255,255,255,0.05);
}

.genealogy-scroll::-webkit-scrollbar {
    height: 6px;
}
.genealogy-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 0 30px;
}
.genealogy-scroll::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 8px;
}
.genealogy-scroll::-webkit-scrollbar-thumb:hover {
    background: #ffc233;
}

.genealogy-tree ul {
    padding-top: 20px;
    position: relative;
    transition: all 0.5s;
}

.genealogy-tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
    transition: all 0.5s;
}

.genealogy-tree li::before, .genealogy-tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 2px solid var(--glass-glow);
    width: 50%;
    height: 20px;
}

.genealogy-tree li::after {
    right: auto;
    left: 50%;
    border-left: 2px solid var(--glass-glow);
}

.genealogy-tree li:only-child::after, .genealogy-tree li:only-child::before {
    display: none;
}

.genealogy-tree li:only-child {
    padding-top: 0;
}

.genealogy-tree li:first-child::before, .genealogy-tree li:last-child::after {
    border: 0 none;
}

.genealogy-tree li:last-child::before {
    border-right: 2px solid var(--glass-glow);
    border-radius: 0 5px 0 0;
}

.genealogy-tree li:first-child::after {
    border-radius: 5px 0 0 0;
}

.genealogy-tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid var(--glass-glow);
    width: 0;
    height: 20px;
}

.genealogy-tree li .member-view-box {
    padding: 10px;
    display: inline-block;
    border-radius: 12px;
    transition: all 0.5s;
}

.genealogy-tree li .member-details {
    padding: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    min-width: 180px;
    transition: all 0.3s ease;
}

.genealogy-tree li .member-details h3 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tree hover effects */
.genealogy-tree li .member-view-box:hover .member-details {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 165, 224, 0.4);
    border-color: var(--primary-light);
}

.pub-tab-btn.active-tab {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.search-result-tag {
    display: inline-block;
    background: rgba(255, 194, 51, 0.15);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-no-results {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
}

.search-no-results span {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #1e7ab8);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    color: #ffffff !important;
    box-shadow: 0 4px 15px var(--primary-glow);
    text-decoration: none;
    line-height: normal;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

/* Dropdowns */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 250px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Nested Dropdowns (Sub-menus) */
.nested-dropdown {
    position: relative;
    width: 100%;
}

.nested-content {
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    transition: max-height 0.4s ease-out;
}

.nested-dropdown.active .nested-content {
    max-height: 500px;
}

.nested-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.nested-trigger .arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.dropdown-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0.5rem 1.5rem;
}

.nested-dropdown.active .nested-trigger .arrow {
    transform: rotate(90deg);
}

.dropdown-item.sub-item {
    padding-left: 2.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

.dropdown-item.sub-item:hover {
    opacity: 1;
    background: rgba(59, 165, 224, 0.1);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
}

.arrow {
    font-size: 0.6rem;
    vertical-align: middle;
    margin-left: 2px;
}

/* Quick Links Card inside Notice Board */
.quick-links-card {
    display: flex;
    flex-direction: column;
}

.quick-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    background: rgba(255,255,255,0.03);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
}

.quick-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    transform: translateY(-2px);
    border-color: rgba(245, 166, 35, 0.3);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Main Content Wrapper */
#app-content {
    padding-top: 80px;
    min-height: calc(100vh - 200px);
    animation: fadeInContent 0.4s ease forwards;
}

/* Safe animation that doesn't break 'position: fixed' containing blocks */
@keyframes fadeInContent {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Sections */
.section-full {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ─── News Layout ─────────────────────────────── */
.news-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 2rem;
}

.news-section-title {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-align: left; /* Alignment requested to match Press Release */
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    margin: 2rem 0;
}

@media (max-width: 1024px) {
    .news-layout {
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .news-layout {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }
}

.news-main-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.horizontal-news-card {
    padding: 0;
    display: grid;
    grid-template-columns: min(320px, 38%) 1fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
}

@media (max-width: 767px) {
    .horizontal-news-card {
        display: flex;
        flex-direction: column;
    }
}

.news-article-img {
    height: 100%;
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
    .news-article-img {
        width: 100%;
        height: 220px;
    }
}

.news-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-date-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 1px solid var(--primary-light);
    z-index: 2;
}

.news-article-body {
    padding: var(--card-padding);
}

.news-article-body h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    color: #fff;
    font-weight: 800;
}

.news-article-body p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.read-more-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    transition: gap 0.2s;
}

.read-more-link:hover {
    gap: 14px;
}

/* Sidebar Specifics */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--grid-gap);
}

.sidebar-card {
    padding: var(--card-padding);
    border-radius: 24px;
}

.sidebar-accent { border-top: 4px solid var(--accent); }
.sidebar-primary { border-top: 4px solid var(--primary); background: var(--bg-deeper); }

.sidebar-title {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.sidebar-accent .sidebar-title { color: var(--accent); }
.sidebar-accent .sidebar-dot { background: var(--accent); }
.sidebar-primary .sidebar-title { color: var(--primary-light); }
.sidebar-primary .sidebar-dot { background: var(--primary); }

.sidebar-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-item {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.5rem;
}

.sidebar-item:last-child { border-bottom: none; }

.sidebar-item h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.sidebar-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.event-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.event-date-box {
    background: var(--primary);
    color: #fff;
    padding: 0.8rem;
    border-radius: 12px;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.event-month { font-size: 0.7rem; font-weight: 800; opacity: 0.8; }
.event-day { font-size: 1.2rem; font-weight: 900; }

.event-info h4 {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.event-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.hero-content-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a0aec0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Hero Fading Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fadeSlide 24s infinite ease-in-out;
}

.slide:nth-child(1) { animation-delay: 0s; background-color: #0e2040; }
.slide:nth-child(2) { animation-delay: 6s; background-color: #132b52; }
.slide:nth-child(3) { animation-delay: 12s; background-color: #0c1c38; }
.slide:nth-child(4) { animation-delay: 18s; background-color: #112648; }

@keyframes fadeSlide {
    0% { opacity: 0; transform: scale(1.05); }
    5% { opacity: 1; transform: scale(1.03); }
    25% { opacity: 1; transform: scale(1); }
    33% { opacity: 0; transform: scale(0.98); }
    100% { opacity: 0; }
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(14, 32, 64, 0.92) 0%, rgba(14, 32, 64, 0) 65%);
    z-index: 2;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 1024px) {
    .grid-3 {
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .grid-3 {
        display: flex;
        flex-direction: column;
    }
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .grid-2 {
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .grid-2 {
        display: flex;
        flex-direction: column;
    }
}

.card {
    padding: 2rem;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
}

.card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.governance-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2.5rem;
}

@media (max-width: 1024px) {
    .governance-card {
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .governance-card {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
}

/* Modals / Popups */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1; 
    visibility: visible;
}

/* User-Requested Classic White Modal Design */
.modal-content-light {
    background: #ffffff;
    color: #333333;
    max-width: 850px;
    width: 90%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden; 
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-body-light {
    padding: 3rem 4rem 2rem 4rem;
    overflow-y: auto;
}

/* Custom subtle scrollbar so it doesn't break the clean white box */
.modal-body-light::-webkit-scrollbar { width: 8px; }
.modal-body-light::-webkit-scrollbar-track { background: #fdfdfd; }
.modal-body-light::-webkit-scrollbar-thumb { background: #d0d0d0; border-radius: 4px; }
.modal-body-light::-webkit-scrollbar-thumb:hover { background: #aaaaaa; }

.modal-footer-light {
    background: #eeeeee;
    padding: 0.6rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid #dddddd;
}

.modal-close-btn {
    font-size: 1.8rem;
    color: #777777;
    background: none;
    border: none;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}
.modal-close-btn:hover {
    color: #222222;
}

.modal-overlay.active .modal-content-light {
    transform: translateY(0) scale(1);
}

/* Reusable Section Headers */
.section-header {
    display: flex; 
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    text-align: left;
    gap: 0.5rem;
    margin-bottom: var(--header-margin);
}

.section-header .section-title,
.section-header .section-p {
    display: block;
    width: 100%;
    text-align: left;
}

.section-header.text-center {
    align-items: center;
    text-align: center;
}

.news-section-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
    margin-bottom: 3rem;
}

/* Leadership Layouts */
.leader-card {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.leader-avatar {
    width: 150px; 
    height: 150px; 
    border-radius: 50%; 
    background: #222; 
    overflow: hidden; 
    border: 2px solid var(--primary); 
    flex-shrink: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.leader-avatar-alt {
    border-color: var(--accent);
}

.leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.leader-avatar span {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
}

/* Featured Images */
.img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

/* Glass Tables */
/* ─── Table Scroll Wrapper ───────────────────────────── */
.table-scroll-wrap {
    position: relative;
    width: 100%;
    overflow: hidden; /* clip the fade gradients */
    border-radius: 16px;
}

/* The actual scrolling container */
.table-scroll-wrap .table-inner {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    /* Fade-edge mask — shows L/R when scrollable */
    --fade: 32px;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0px,
        black var(--fade),
        black calc(100% - var(--fade)),
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0px,
        black var(--fade),
        black calc(100% - var(--fade)),
        transparent 100%
    );
}

/* When scrolled to start — remove left fade */
.table-scroll-wrap .table-inner.at-start {
    -webkit-mask-image: linear-gradient(
        to right,
        black 0px,
        black calc(100% - var(--fade)),
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        black 0px,
        black calc(100% - var(--fade)),
        transparent 100%
    );
}

/* When scrolled to end — remove right fade */
.table-scroll-wrap .table-inner.at-end {
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0px,
        black var(--fade),
        black 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0px,
        black var(--fade),
        black 100%
    );
}

/* Both at start AND end (no scroll needed) */
.table-scroll-wrap .table-inner.at-start.at-end {
    -webkit-mask-image: none;
    mask-image: none;
}

/* Scroll hint pill shown below table on mobile */
.table-scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    margin-top: 0.25rem;
}

.table-scroll-hint svg {
    opacity: 0.5;
}

@media (max-width: 900px) {
    .table-scroll-hint { display: flex; }
}

/* Custom scrollbar — always thin & branded */
.table-inner::-webkit-scrollbar {
    height: 5px;
}

.table-inner::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 99px;
    margin: 0 8px;
}

.table-inner::-webkit-scrollbar-thumb {
    background: rgba(59, 165, 224, 0.45);
    border-radius: 99px;
    transition: background 0.2s;
}

.table-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 165, 224, 0.75);
}

/* Firefox */
.table-inner {
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 165, 224, 0.45) rgba(255,255,255,0.04);
}

/* ─── Glass Table ─────────────────────────────────────── */
.glass-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 0;
    color: var(--text-main);
    /* Min-width stops columns collapsing — scroll kicks in instead */
    min-width: 640px;
}

.glass-table th, .glass-table td {
    padding: 1.1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    white-space: normal;
    vertical-align: top;
}

/* First column: label column — always bold, slightly separated */
.glass-table th:first-child,
.glass-table td:first-child {
    font-weight: 700;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    min-width: 140px;
    background: rgba(255,255,255,0.015);
}

.glass-table th {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(59, 165, 224, 0.07);
    position: sticky;
    top: 0;
    z-index: 2;
}

.glass-table tbody tr {
    transition: background 0.15s ease;
}

.glass-table tbody tr:hover {
    background: rgba(59, 165, 224, 0.05);
}

.glass-table tbody tr:last-child td {
    border-bottom: none;
}


.btn-table {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(0, 112, 243, 0.1);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-table:hover {
    background: var(--primary);
    color: #fff;
}

.btn-detail {
    background: rgba(245, 166, 35, 0.1);
    color: var(--accent);
}

.btn-detail:hover {
    background: var(--accent);
    color: #111;
}

/* Infinite Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    display: flex;
}

/* Gradient fades on the edges of the marquee */
.marquee-container::before, .marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

/* News Cards */
.news-card {
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 165, 224, 0.3);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.08);
}

.news-date-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.news-read-more {
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: var(--transition);
}

.news-read-more:hover {
    color: var(--accent) !important;
    transform: translateX(5px);
}

/* News Page Layout */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

.news-article-card {
    display: flex;
    gap: 0;
    padding: 0 !important;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.news-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.news-article-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.news-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-article-card:hover .news-article-img img {
    transform: scale(1.05);
}

.news-article-body {
    padding: 1.8rem;
}

.news-article-body h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Sidebar Items */
.sidebar-news-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
    cursor: pointer;
}

.sidebar-news-item:last-child {
    border-bottom: none;
}

.sidebar-news-item:hover {
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding-left: 0.5rem;
}

.sidebar-news-thumb {
    width: 70px;
    height: 55px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-news-item h4 {
    font-size: 0.9rem;
    margin: 0 0 0.3rem 0;
    line-height: 1.4;
    color: var(--text-main);
}

.sidebar-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Event Date Box */
.sidebar-event-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-event-item:last-child {
    border-bottom: none;
}

.sidebar-event-item h4 {
    margin: 0 0 0.2rem 0;
    font-size: 0.95rem;
}

.event-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    padding: 0.5rem 0.8rem;
    min-width: 55px;
    flex-shrink: 0;
}

.event-month {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-day {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

/* News Ticker */
.news-ticker-wrapper {
    background: rgba(14, 32, 64, 0.95);
    border-bottom: 1px solid rgba(59, 165, 224, 0.2);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.news-ticker-label {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: #111;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.news-ticker-track {
    display: inline-block;
    animation: ticker-scroll 120s linear infinite;
    padding-left: 1rem;
}

.news-ticker-track:hover {
    animation-play-state: paused;
}

.news-ticker-item {
    display: inline;
    padding: 0.6rem 2.5rem 0.6rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.news-ticker-item strong {
    color: var(--primary);
    margin-right: 0.5rem;
}

.news-ticker-divider {
    color: var(--accent);
    margin: 0 0.5rem;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 900px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
}

.marquee-track {
    display: flex;
    gap: 2rem;
    animation: scroll-left 55s linear infinite;
    width: max-content;
    padding: 1rem 0;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); } 
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 5.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: rgba(20, 35, 65, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    max-width: 450px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
    pointer-events: all;
    font-size: 0.92rem;
    font-weight: 500;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success { border-left: 4px solid #2ecc71; }
.toast.error { border-left: 4px solid #e74c3c; }
.toast.info { border-left: 4px solid var(--primary); }

.toast i[data-lucide], .toast svg.lucide {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.toast.success i, .toast.success svg.lucide { color: #2ecc71; }
.toast.error i, .toast.error svg.lucide { color: #e74c3c; }
.toast.info i, .toast.info svg.lucide { color: var(--primary); }

.spin {
    animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.doc-placeholder {
    width: 200px;
    height: 280px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.doc-placeholder:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6), inset 0 0 10px rgba(255,255,255,0.05);
    border: 1px solid var(--primary);
    color: var(--text-main);
}

/* Footer */
.glass-footer {
    background: rgba(14, 32, 64, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(59, 165, 224, 0.15);
    padding: 4rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }
}

.footer-col h3, .footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-col a, .footer-col p, .footer-section a {
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col a:hover, .footer-section a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-col a, .footer-section a {
    transition: all 0.3s ease;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact-item {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}


.footer-social-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.footer-social-icon svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: currentColor;
    margin: 0;
}

/* Brand colors by default */
.icon-whatsapp {
    background: #25D366;
    color: #fff;
}

.icon-linkedin {
    background: #0077b5;
    color: #fff;
}

.icon-facebook {
    background: #1877F2;
    color: #fff;
}

/* Hover: darken and lift */
.icon-whatsapp:hover {
    background: #1da851;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.icon-linkedin:hover {
    background: #005f8f;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 119, 181, 0.4);
}

.icon-facebook:hover {
    background: #1260c7;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin: 0;
    object-fit: contain;
}

.footer-brand h3 {
    margin: 0;
    line-height: 1.2;
    font-size: 1.3rem;
}

.footer-follow-heading {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.footer-mail-link {
    display: inline;
    color: inherit;
}

.footer-mail-link:hover {
    color: var(--primary) !important;
    text-decoration: underline;
}

/* Mobile Toggle (Desktop-First Base: Hidden) */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

@media (max-width: 900px) {
    .mobile-toggle {
        display: flex;
    }
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

@media (max-width: 900px) {
    /* Mobile Navigation Full-Screen Slide-Down */
    .main-nav { 
        display: flex;
        flex-direction: column;
        align-items: center; /* Center horizontally */
        justify-content: flex-start;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(35, 35, 35, 0.98); /* Match slightly lighter gray from mockup */
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 0;
        max-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        transition: max-height 0.4s ease;
        z-index: 999;
    }

    .main-nav.active {
        max-height: calc(100vh - 80px); /* Smoothly takes over screen */
        padding: 2rem 0; /* Add padding only when open */
    }

    /* Clean Mobile Links restricted STRICTLY to the top Navigation */
    .main-nav .nav-link {
        font-size: 1.6rem; 
        padding: 1rem 20px; 
        min-height: 44px; 
        width: 100%;
        border-bottom: none; 
        display: block;
        text-align: center;
        color: #ffffff;
        white-space: normal; 
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }

    /* Destroy the buggy desktop underline animation on mobile */
    .main-nav .nav-link::after {
        display: none !important;
    }

    /* Modern mobile active state - accurate white centered line */
    .main-nav .nav-link.active {
        color: #ffffff;
        background: transparent;
        border: none;
    }
    
    .main-nav .nav-link.active::before {
        display: none;
    }
    
    /* Create custom centered bottom line */
    .main-nav .nav-link.active::after {
        display: block !important;
        content: '';
        width: 80px;
        height: 3px;
        background: #ffffff;
        margin: 0.5rem auto 0;
        border-radius: 2px;
        position: static; 
        box-shadow: none;
    }

    /* Target the Contact Us button specifically in mobile to make it fat and clean */
    .main-nav .btn-primary {
        display: flex; /* force wrapper flex centering */
        align-items: center;
        justify-content: center;
        width: 80%;
        margin: 2rem auto !important; /* override the inline margin */
        padding: 1.2rem 1rem;
        font-size: 1.3rem;
        border-radius: 40px;
        color: #ffffff;
    }

    .main-nav .dropdown {
        width: 100%;
        text-align: center;
        padding: 0 20px; 
        box-sizing: border-box;
    }

    /* Kill the desktop hover glitch on mobile devices */
    .main-nav .dropdown:hover .dropdown-content.glass-panel {
        transform: none !important; 
    }

    /* By default, mobile dropdowns are HIDDEN accordions */
    .main-nav .dropdown-content.glass-panel {
        display: block;
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none !important; 
        background: transparent !important; 
        box-shadow: none !important;
        border: none !important;
        border-radius: 12px !important;
        padding: 0;
        margin: 0 auto;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease;
    }

    /* When toggled OPEN by JS */
    .main-nav .dropdown.mobile-expanded .dropdown-content.glass-panel {
        opacity: 1;
        visibility: visible;
        max-height: 600px;
        background: rgba(0, 0, 0, 0.25) !important;
        box-shadow: inset 0 0 10px rgba(0,0,0,0.3) !important;
        border: 1px solid rgba(255,255,255,0.03) !important;
        padding: 10px 0;
        margin: 10px auto 20px auto;
    }

    .main-nav .dropdown-item {
        padding: 1rem 20px; 
        min-height: 44px;
        border-bottom: none;
        font-size: 1.2rem; 
        text-align: center;
        display: block;
        color: var(--text-muted);
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }

    .mobile-toggle { 
        display: flex; 
        z-index: 1000; 
    }

    /* On mobile, search toggle is already in .header-actions — hide any leftover in nav */
    .main-nav .search-toggle {
        display: none !important;
    }
    
    /* Hamburger Animation */
    .mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Layout scaling */
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .section-full { padding: 3rem 1.5rem; }
    .logo-text h1 { font-size: 1rem; margin: 0; }
    .logo-text span { font-size: 0.72rem; }
    .logo { gap: 0.6rem; }
    .logo-img-placeholder { width: 50px; height: 50px; }
    
    #app-content { padding-top: 0 !important; }
    .hero { min-height: 100vh !important; }
    .internal-hero { 
        padding: 120px 1.5rem 50px !important; 
        min-height: 250px !important; 
    }
    
    .section-title { margin-bottom: 2rem; } /* Reduce ugly white space on small screens */
    
    .news-container {
        padding: 0 1.2rem !important;
    }

    .news-section-title {
        text-align: center !important;
        font-size: 1.8rem !important;
        margin-bottom: 2rem;
    }

    .news-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .horizontal-news-card {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important; /* Reset padding to allow full-width image */
    }

    .news-article-img {
        height: 250px !important;
        width: 100% !important;
    }

    .news-article-body {
        padding: 2rem 1.5rem !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .read-more-link {
        justify-content: center;
        width: 100%;
    }

    /* Governance and Press Cards also centered */
    .governance-card, 
    .press-card {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 1.5rem !important;
        text-align: center !important;
    }

    /* Leader Card Stacking */
    .leader-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 2rem 1.5rem !important;
    }

    .leader-avatar {
        margin-bottom: 1rem;
    }

    /* Hide the Organizational Hierarchy section on mobile - too complex to render */
    .hierarchy-section {
        display: none !important;
    }

    /* Mobile Genealogy Tree - Convert to simple vertical block list (unused, tree is hidden) */
    .genealogy-scroll-unused {
        overflow-x: hidden !important;
        overflow-y: visible !important;
        padding: 1rem 0.5rem !important;
        border-radius: 16px;
        min-height: 50px;
    }

    .genealogy-tree,
    .genealogy-tree ul,
    .genealogy-tree li {
        float: none !important;
        display: block !important;
        position: static !important;
        width: 100% !important;
        text-align: left !important;
        clear: both !important;
    }

    /* Kill all pseudo-element connector lines */
    .genealogy-tree li::before,
    .genealogy-tree li::after,
    .genealogy-tree ul::before,
    .genealogy-tree ul ul::before {
        display: none !important;
        content: none !important;
    }

    .genealogy-tree ul {
        padding: 0 0 0 1.2rem !important;
        margin: 0 !important;
        border-left: 2px solid rgba(59,165,224,0.3) !important;
    }

    /* Root ul: no indent */
    .genealogy-tree > ul {
        padding-left: 0 !important;
        border-left: none !important;
    }

    .genealogy-tree li {
        padding: 6px 0 !important;
    }

    .genealogy-tree li a {
        display: block !important;
    }

    .genealogy-tree li .member-view-box {
        display: block !important;
        padding: 4px 0 !important;
    }

    .genealogy-tree li .member-details {
        display: block !important;
        min-width: unset !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        padding: 0.8rem 1rem !important;
    }

    /* Responsive image scaling */
    .responsive-img-height {
        height: 400px !important;
    }

    /* Article layout stacking */
    .article-grid {
        grid-template-columns: 1fr !important;
    }

    .article-sidebar {
        position: static !important;
        margin-top: 2rem;
    }

    /* Table Responsiveness — legacy alias, now maps to table-inner styles */
    .table-responsive {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(59, 165, 224, 0.45) rgba(255,255,255,0.04);
    }
    .table-responsive::-webkit-scrollbar { height: 5px; }
    .table-responsive::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 99px; }
    .table-responsive::-webkit-scrollbar-thumb { background: rgba(59,165,224,0.45); border-radius: 99px; }
    .table-responsive::-webkit-scrollbar-thumb:hover { background: rgba(59,165,224,0.75); }
}

@media (max-width: 600px) {
    /* Typographic Adjustments */
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
    h3 { font-size: 1.3rem !important; }

    .news-article-body h3 {
        font-size: 1.5rem !important;
    }
    
    .header-container { padding: 0.8rem 1rem; }
    .logo-img-placeholder { width: 45px; height: 45px; padding: 3px; }
    .logo-text h1 { font-size: 0.85rem !important; margin: 0; line-height: 1.2; }
    .logo-text span { font-size: 0.62rem !important; }
    .logo { gap: 0.5rem; }
    .logo-img-placeholder { width: 44px; height: 44px; padding: 2px; }
    
    #app-content { padding-top: 0 !important; }
    .internal-hero { 
        padding: 110px 1.2rem 40px !important; 
        min-height: 230px !important; 
    }
    .internal-hero::after { height: 60px !important; }
    
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .hero-content-container { padding: 0 1.5rem; }
    
    .hero-btns {
        flex-direction: column !important;
        width: 100%;
        gap: 0.8rem !important;
    }
    
    .hero-btns .btn-primary, .hero-btns .btn-secondary {
        width: 100% !important;
        text-align: center;
        justify-content: center;
    }
    
    .section-full { padding: 2.5rem 1.2rem !important; }
    
    .card { padding: 1.5rem; }
    .glass-table th, .glass-table td { padding: 0.8rem 0.5rem; font-size: 0.85rem; }
    
    .btn-table { padding: 0.4rem 0.6rem; font-size: 0.75rem; }

    /* Force Leadership Cards to stack vertically on narrow phones so text isn't squished! */
    .leader-card { 
        flex-direction: column; 
        text-align: center; 
        gap: 1rem;
    }
    /* Force Headers to Stack Cleanly */
    .section-header {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .section-header h2 {
        text-align: center;
    }
    
    .modal-body-light {
        padding: 2rem 1.5rem 1rem 1.5rem; 
    }
    
    .modal-body-light img {
        float: none !important;
        display: block;
        margin: 0 auto 1.5rem auto !important;
        width: 180px !important;
    }

    /* Ensure genealogy tree text is readable on small phones */
    .genealogy-tree li .member-details h3 {
        font-size: 0.75rem !important;
    }

    /* Press releases — stack image above text on mobile */
    .press-card {
        grid-template-columns: 1fr !important;
    }

    .press-card > div:first-child {
        height: 160px !important;
        width: 100% !important;
    }

    /* Press filter input full-width on mobile */
    #press-filter-input {
        width: 100% !important;
    }
}

/* Gallery Specific Styles */
.gallery-filter-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.gallery-filter-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.gallery-filter-btn.active:hover {
    background: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(59, 165, 224, 0.4);
}

.gallery-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.gallery-card img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: var(--primary) !important;
}

/* Gallery Modal Styles */
.gallery-modal-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.gallery-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.modal-img-card {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid var(--glass-border);
    position: relative;
}

.modal-img-card:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

.detail-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.detail-modal-content {
    margin: auto;
    display: block;
    max-height: 85vh;
    max-width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
}

.detail-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    cursor: pointer;
}

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(14, 32, 64, 0.98);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.gallery-modal-close {
    position: fixed;
    top: 35px;
    right: 45px;
    color: #fff;
    font-size: 60px;
    cursor: pointer;
    z-index: 10001;
}

@keyframes zoomModal {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.gallery-album-header {
    text-align: left; 
    margin-bottom: 2.5rem;
}

.gallery-album-title {
    color: #fff; 
    margin-bottom: 0.5rem;
}

.gallery-album-desc {
    color: var(--text-muted);
}

/* Press Release List Styling */
.press-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.press-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.1) !important;
}

.press-card img {
    transition: transform 0.4s ease;
}

.press-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .press-card {
        grid-template-columns: 1fr !important;
    }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   FAQ Section Styles
   ========================================================================== */
.container-1250 {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-group {
    margin-bottom: 2rem;
}

.faq-category-title {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
}

.faq-category-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary);
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 165, 224, 0.3);
    transform: translateY(-2px);
}

.faq-item.active {
    background: rgba(14, 32, 64, 0.6);
    border-color: var(--primary);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.4;
    padding-right: 2rem;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--primary);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
}

.faq-answer-content {
    padding: 0 2rem 2rem 2rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.faq-answer-content p {
    margin: 0;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.05rem;
    }
    
    .faq-answer-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
        padding-top: 1.25rem;
    }
}