:root {
    --bg1: #081120;
    --bg2: #132743;
    --glass: rgba(255,255,255,.10);
    --glass-border: rgba(255,255,255,.18);
    --gold: #d4a64d;
    --gold-2: #f1d295;
    --text: #f5f7fb;
    --radius-sm: 14px;
    --radius-md: 18px;
    --radius-lg: 22px;
    --fs-xs: .72rem;
    --fs-sm: .80rem;
    --fs-md: .88rem;
    --fs-lg: 1rem;
    --fs-xl: 1.2rem;
    --fs-xxl: 1.5rem;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 14px;
}

html, body {
    min-height: 100%;
    margin: 0;
    background: radial-gradient(circle at top right, rgba(212,166,77,.18), transparent 20%), linear-gradient(135deg, var(--bg1), var(--bg2));
    color: var(--text);
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: var(--fs-md);
    line-height: 1.45;
}

.app-shell {
    min-height: 100vh;
   /* backdrop-filter: blur(3px);*/
    padding: .5rem;
}

.glass-nav, .glass-card, .mini-card {
    background: var(--glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.glass-nav {
    margin: 8px;
    border-radius: var(--radius-md);
    padding: .55rem .75rem;
}

.glass-card,
.mini-card {
    border-radius: var(--radius-lg);
    padding: .9rem;
}

.hero-card {
    overflow: hidden;
}

.brand-logo, .table-logo {
    object-fit: cover;
    border-radius: 50%;
}

.brand-logo {
    width: 38px;
    height: 38px;
}

.hero-logo {
    width: 180px;
    max-width: 100%;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.12);
}

/* CLUB LOGOS PANEL */
.club-logo-panel {
    padding-top: 1.5rem;
    background: transparent;
    border: none;
}

/* LOGO GRID */
.club-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
}

/* REMOVE CARD BACKGROUND */
.club-logo-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PURE LOGO LOOK */
.club-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    background: transparent !important;
    /* GOLDEN SHADOW */
    filter: drop-shadow(0 0 4px rgba(241,210,149,.36)) drop-shadow(0 6px 14px rgba(0,0,0,.34));
    transition: transform .25s ease, filter .25s ease;
}

    /* HOVER EFFECT */
    .club-logo:hover {
        transform: translateY(-4px) scale(1.05);
        filter: drop-shadow(0 0 8px rgba(241,210,149,.55)) drop-shadow(0 10px 20px rgba(0,0,0,.42));
    }

.club-logo-empty {
    color: rgba(245,247,251,.74);
    font-size: var(--fs-sm);
    line-height: 1.45;
}




.login-logo {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 50%;
}

.profile-avatar, .directory-photo, .review-photo {
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.15);
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.directory-photo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
}

.directory-photo-sm {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.05);
}

.review-photo {
    width: 140px;
    height: 140px;
    border-radius: 18px;
}

.table-logo {
    width: 34px;
    height: 34px;
}

.btn,
.btn-gold {
    font-size: var(--fs-sm);
    padding: .65rem .95rem;
    border-radius: 14px;
}

.btn-gold {
    color: #1b1b1b;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border: none;
}

    .btn-gold:hover {
        color: #111;
        filter: brightness(1.02);
    }

.form-control,
.form-select {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    color: white;
    border-radius: 14px;
    padding: .7rem .85rem;
    font-size: var(--fs-sm);
    min-height: 42px;
}

    .form-control:focus,
    .form-select:focus {
        background: rgba(255,255,255,.1);
        color: white;
        border-color: rgba(212,166,77,.55);
        box-shadow: 0 0 0 .2rem rgba(212,166,77,.12);
    }

    .form-select option {
        color: #111;
    }

label,
.form-label {
    font-size: var(--fs-sm);
    margin-bottom: .35rem;
}

.nav-link,
.brand-title,
.brand-subtitle,
.lead,
p,
li,
td,
th,
label,
h1,
h2,
h3,
h4,
h5,
h6
 {
    color: var(--text);
}

.brand-title {
    font-size: .95rem;
    font-weight: 700;
}

.brand-subtitle {
    font-size: var(--fs-xs);
    opacity: .85;
}

h1 {
    font-size: var(--fs-xxl);
    line-height: 1.2;
}

h2 {
    font-size: 1.2rem;
    line-height: 1.25;
}

h3 {
    font-size: 1.05rem;
}

h4 {
    font-size: .95rem;
}

h5, h6 {
    font-size: .88rem;
}

p, li, td, th, span, div {
    font-size: var(--fs-sm);
}

.lead {
    font-size: var(--fs-md);
    line-height: 1.5;
}

.nav-link {
    font-size: var(--fs-sm);
    padding: .45rem .55rem !important;
}

.text-light-emphasis {
    color: rgba(245,247,251,.78) !important;
}

.eyebrow {
    color: var(--gold-2);
    font-weight: 700;
    letter-spacing: .12em;
    font-size: .68rem;
}

.member-card {
    transition: transform .18s ease, box-shadow .18s ease;
    will-change: transform;
}

    .member-card:hover {
        transform: translateY(-2px);
    }

.members-directory-table tbody tr.clickable-table-row {
    cursor: pointer;
}

.members-directory-table tbody tr.clickable-table-row:focus {
    outline: 2px solid rgba(241,210,149,.5);
    outline-offset: -2px;
}

.member-details-modal .modal-dialog {
    height: calc(100dvh - 2rem);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.member-details-modal .modal-content {
    max-height: 100%;
}

.member-details-modal .modal-header {
    align-items: flex-start;
    gap: .75rem;
}

.member-details-modal .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.member-modal-title {
    min-width: 0;
}

.member-modal-actions {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-left: auto;
    flex-shrink: 0;
}

.member-modal-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border-radius: 50%;
}

.member-modal-download .bi {
    font-size: 1.15rem;
    line-height: 1;
}

.member-detail-panel {
    height: 100%;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.05);
}

.member-detail-panel h6 {
    color: var(--gold-2);
    font-weight: 700;
    margin-bottom: .85rem;
}

.member-detail-list {
    display: grid;
    grid-template-columns: minmax(110px, .45fr) 1fr;
    gap: .45rem .75rem;
    margin: 0;
}

.member-detail-list dt {
    color: rgba(245,247,251,.72);
    font-weight: 600;
}

.member-detail-list dd {
    margin: 0;
    color: var(--text);
    overflow-wrap: anywhere;
}

.table {
    --bs-table-bg: transparent;
    font-size: var(--fs-xs);
}

    .table th,
    .table td {
        padding: .55rem .45rem;
        vertical-align: middle;
    }

.table-responsive {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-bg-state: rgba(255,255,255,.06);
}

hr {
    border-color: rgba(255,255,255,.2);
}

::placeholder {
    color: rgba(255,255,255,.5) !important;
}

/* Mobile spacing helpers */
.container,
.container-fluid {
    padding-left: .75rem;
    padding-right: .75rem;
}

.row {
    --bs-gutter-x: .9rem;
    --bs-gutter-y: .9rem;
}

/* Tablets */
@media (min-width: 768px) {
    html {
        font-size: 15px;
    }

    .app-shell {
        padding: .9rem;
    }

    .glass-nav {
        margin: 12px;
        border-radius: 20px;
        padding: .7rem 1rem;
    }

    .glass-card,
    .mini-card {
        padding: 1.1rem;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .hero-logo {
        width: 240px;
    }

    .login-logo {
        width: 100px;
        height: 100px;
    }

    .profile-avatar {
        width: 82px;
        height: 82px;
    }

    .directory-photo {
        width: 72px;
        height: 72px;
    }

    .review-photo {
        width: 180px;
        height: 180px;
    }

    .table-logo {
        width: 40px;
        height: 40px;
    }

    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.45rem;
    }

    .lead {
        font-size: .95rem;
    }

    p, li, td, th, span, div {
        font-size: .84rem;
    }

    .table {
        font-size: .8rem;
    }
}

@media (max-width: 767.98px) {
    /* Reduce GPU-heavy effects on phones/tablets for smoother scrolling */
    .glass-nav,
    .glass-card,
    .mini-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(18, 31, 50, .92);
    }

    .club-logo,
    .club-logo:hover {
        filter: drop-shadow(0 6px 10px rgba(0,0,0,.35));
    }

    .member-details-modal .modal-header {
        flex-wrap: wrap;
    }

    .member-modal-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* =========================================================
   EAGLES FAMILY REDESIGN
   A restrained heritage treatment for the public experience.
========================================================= */
:root {
    --bg1: #050d19;
    --bg2: #0c2036;
    --gold: #c79a3b;
    --gold-2: #ead08c;
    --ivory: #f6f0e4;
    --text: #f7f8fa;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 85% 5%, rgba(199,154,59,.13), transparent 24rem),
        linear-gradient(145deg, #050d19 0%, #0a192a 48%, #0d243b 100%);
}

.app-shell {
    padding: 0;
}

.glass-nav {
    margin: 0;
    padding: .7rem 0;
    border: 0;
    border-bottom: 1px solid rgba(234,208,140,.16);
    border-radius: 0;
    background: rgba(5,13,25,.9);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    backdrop-filter: blur(18px);
}

.brand-logo {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(234,208,140,.6);
    box-shadow: 0 0 0 4px rgba(234,208,140,.06);
}

.brand-title {
    color: var(--ivory);
    font-size: .92rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.brand-subtitle {
    color: rgba(234,208,140,.74);
    letter-spacing: .07em;
}

.navbar .nav-link {
    position: relative;
    color: rgba(247,248,250,.78);
    font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--gold-2);
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    right: .75rem;
    bottom: .2rem;
    left: .75rem;
    height: 1px;
    background: var(--gold-2);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.navbar .dropdown-toggle::after {
    position: static;
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
    background: none;
    transform: none;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after {
    transform: scaleX(1);
}

.navbar .dropdown-toggle:hover::after,
.navbar .dropdown-toggle:focus::after {
    transform: none;
}

main.container {
    padding-top: 2rem !important;
    padding-bottom: 4rem !important;
}

.home-hero {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(234,208,140,.2);
    border-radius: 30px;
    background:
        linear-gradient(90deg, rgba(4,11,21,.98) 0%, rgba(6,18,32,.88) 55%, rgba(7,20,35,.55) 100%),
        url("../images/eagles-bg.png") center / cover;
    box-shadow: 0 28px 70px rgba(0,0,0,.38);
}

.home-hero::before {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: inherit;
    background:
        linear-gradient(90deg, var(--gold) 0 30%, transparent 30% 100%) top left / 100% 3px no-repeat,
        radial-gradient(circle at 78% 45%, rgba(234,208,140,.16), transparent 25%);
}

.hero-eagle-head {
    right: -6%;
    bottom: -15%;
    left: auto;
    width: 560px;
    max-width: 48%;
    opacity: .11;
    filter: grayscale(1) sepia(.35) drop-shadow(0 18px 40px rgba(0,0,0,.55));
}

.hero-title {
    max-width: 720px;
    color: var(--ivory);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.65rem, 5vw, 4.8rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.045em;
}

.hero-title-line {
    display: block;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    white-space: nowrap;
}

.hero-title-accent {
    display: flex;
    align-items: baseline;
    gap: .12em;
    min-height: 1.08em;
    padding-top: .05em;
    color: var(--gold-2);
    font-family: Georgia, "Times New Roman", serif;
    font-size: .88em;
    line-height: 1.08;
    letter-spacing: -.035em;
}

/* The Eagles wordmark intentionally retains its established script face. */
.hero-title .eagles-font,
.eagles-font {
    font-family: "Brush Script MT", cursive;
}

.hero-title .hero-eagles-word {
    display: inline-block;
    flex: 0 0 auto;
    font-family: "Brush Script MT", cursive;
    font-size: 1.12em;
    line-height: 1;
    letter-spacing: .01em;
}

.hero-family-word {
    display: inline-block;
    flex: 0 0 auto;
    font: inherit;
}

.home-hero .lead {
    max-width: 680px;
    color: rgba(247,248,250,.76) !important;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.75;
}

.hero-logo-wrap {
    width: min(310px, 78vw);
    border: 1px solid rgba(234,208,140,.16);
    background: radial-gradient(circle, rgba(234,208,140,.12), rgba(255,255,255,.025) 58%, transparent 59%);
}

.hero-logo {
    width: 220px;
    border: 6px solid rgba(246,240,228,.9);
    outline: 1px solid rgba(199,154,59,.72);
    outline-offset: 8px;
}

.hero-motto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    color: rgba(234,208,140,.72);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-motto span {
    width: 28px;
    height: 1px;
    background: rgba(234,208,140,.45);
}

.club-logo-panel {
    margin-top: 3.5rem !important;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(234,208,140,.13);
}

.club-logo {
    width: 82px;
    height: 82px;
    opacity: .86;
}

.section-panel,
.mission-card,
.feature-card {
    border-color: rgba(234,208,140,.14);
    background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
    box-shadow: 0 18px 46px rgba(0,0,0,.2);
}

.section-panel {
    padding: clamp(1.35rem, 3.5vw, 3rem);
    border-radius: 28px;
}

.section-panel h2,
.mission-card h3 {
    font-family: Georgia, "Times New Roman", serif;
}

.eyebrow {
    color: var(--gold-2);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.home-section-nav {
    justify-content: center;
    top: 76px;
    padding: .7rem;
    border-color: rgba(234,208,140,.12);
    background: rgba(7,18,31,.9);
    backdrop-filter: blur(16px);
}

.about-section,
.values-section,
.officers-section,
.logo-meaning-section {
    background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
}

.about-value-pill,
.premium-value-card,
.meaning-item,
.officer-highlight-card,
.contact-card {
    box-shadow: none;
}

.site-footer {
    border-top: 1px solid rgba(234,208,140,.16);
    background: #040b14;
    color: rgba(247,248,250,.72);
    padding: 2.2rem 0 1.2rem;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.site-footer-brand {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.site-footer-brand img {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(234,208,140,.45);
    border-radius: 50%;
}

.site-footer-brand strong,
.site-footer-brand span {
    display: block;
}

.site-footer-brand strong {
    color: var(--ivory);
    letter-spacing: .035em;
}

.site-footer-brand span {
    margin-top: .25rem;
    color: var(--gold-2);
    font-size: .76rem;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.1rem;
}

.site-footer-links a {
    color: rgba(247,248,250,.7);
    text-decoration: none;
}

.site-footer-links a:hover {
    color: var(--gold-2);
}

.site-footer-note {
    margin: 0;
    color: rgba(247,248,250,.55);
    text-align: right;
}

.site-footer-bottom {
    margin-top: 1.6rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(247,248,250,.42);
    font-size: .72rem;
    text-align: center;
}

@media (max-width: 991.98px) {
    .navbar .nav-link::after {
        display: none;
    }

    .home-hero {
        min-height: auto;
    }

    .hero-eagle-head {
        right: -20%;
        left: auto;
        opacity: .08;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .site-footer-note {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    main.container {
        padding-top: 1rem !important;
    }

    .home-hero {
        border-radius: 22px;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2.25rem, 11vw, 3.7rem);
    }

    .hero-title-line {
        white-space: normal;
    }

    .hero-title-accent {
        justify-content: center;
    }

    .home-hero .lead {
        margin-right: auto;
        margin-left: auto;
    }

    .home-hero .d-flex {
        justify-content: center;
    }

    .home-section-nav {
        justify-content: flex-start;
        top: 70px;
    }

    .club-logo-panel {
        margin-top: 2rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Desktop */
@media (min-width: 992px) {
    html {
        font-size: 16px;
    }

    .app-shell {
        padding: 1rem;
    }

    .glass-nav {
        margin: 16px;
        border-radius: 22px;
    }

    .glass-card,
    .mini-card {
        padding: 1.25rem;
    }

    .brand-logo {
        width: 56px;
        height: 56px;
    }

    .hero-logo {
        width: 320px;
    }

    .login-logo {
        width: 120px;
        height: 120px;
    }

    .profile-avatar {
        width: 92px;
        height: 92px;
    }

    .directory-photo {
        width: 84px;
        height: 84px;
        border-radius: 20px;
    }

    .review-photo {
        width: 220px;
        height: 220px;
        border-radius: 24px;
    }

    .table-logo {
        width: 46px;
        height: 46px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .lead {
        font-size: 1rem;
    }

    p, li, td, th, span, div {
        font-size: .88rem;
    }

    .table {
        font-size: .84rem;
    }
    
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
}

.table {
    width: 100%;
    min-width: 720px;
    margin-bottom: 0;
}

    .table th,
    .table td {
        white-space: nowrap;
        vertical-align: middle;
        font-size: .8rem;
    }

@media (max-width: 767.98px) {
    .table {
        min-width: 640px;
    }

        .table th,
        .table td {
            font-size: .75rem;
            padding: .55rem .5rem;
        }
}

.club-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
}

.club-table {
    min-width: 680px;
    --bs-table-bg: transparent;
}

    .club-table th,
    .club-table td {
        white-space: nowrap;
        vertical-align: middle;
    }

        .club-table td:nth-child(2) {
            white-space: normal;
            min-width: 180px;
        }

@media (max-width: 767.98px) {
    .club-table {
        min-width: 560px;
    }

        .club-table th,
        .club-table td {
            font-size: .75rem;
            padding: .6rem .5rem;
        }

        .club-table .btn {
            font-size: .72rem;
            padding: .45rem .7rem;
        }

    .table-logo {
        width: 32px;
        height: 32px;
    }
}

.mini-card {
    transition: transform .15s ease, box-shadow .15s ease;
}

    .mini-card:active {
        transform: scale(0.98);
    }

    .mini-card .badge {
        font-size: .7rem;
        padding: .35rem .6rem;
    }

@media (max-width: 767.98px) {
        .eagles-bg::after {
            background-size: 220px;
            background-position: center 110px;
            opacity: .18;
        }

        
    }
.eagles-bg {
    position: relative;
    min-height: 100vh;
}

    /* MAIN BACKGROUND */
    .eagles-bg::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        background-image: url('/images/eagles-bg.png');
        background-repeat: no-repeat;
        background-position: bottom right;
        background-size: 450px;
        opacity: 0.15; /* increase this if still not visible */
    }

    /* optional glass overlay */
    .eagles-bg::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -2;
        background: linear-gradient(135deg, rgba(8,17,32,.92), rgba(19,39,67,.92));
    }

.navbar-toggler {
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 12px;
    padding: .35rem .55rem;
    backdrop-filter: blur(10px);
}

.navbar-toggler-icon {
    background-image: none; /* remove default */
    width: 22px;
    height: 2px;
    background-color: var(--gold);
    position: relative;
    display: inline-block;
}

    /* Create 3 lines */
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: "";
        position: absolute;
        left: 0;
        width: 22px;
        height: 2px;
        background-color: var(--gold);
    }

    .navbar-toggler-icon::before {
        top: -6px;
    }

    .navbar-toggler-icon::after {
        top: 6px;
    }


/* FIX VALIDATION COLORS */
.field-validation-error,
.validation-summary-errors,
.text-danger {
    color: #ff6b6b !important; /* red */    
}

.text-warning {
    color: #ffc107 !important; /* gold/yellow */
}

.signature-pad-wrap {
    width: 100%;
    border: 1px dashed rgba(255,255,255,.25);
    border-radius: 16px;
    background: rgba(255,255,255,.04);
    overflow: hidden;
}

.signature-pad {
    display: block;
    width: 100%;
    height: 180px;
    touch-action: none;
}

.signature-preview-wrap {
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.04);
}

.signature-preview {
    display: block;
    max-width: 100%;
    height: auto;
}

.profile-photo-picker {
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

.profile-avatar-lg {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.16);
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    background: rgba(255,255,255,.05);
}

.profile-photo-picker:hover .profile-avatar-lg,
.profile-photo-picker:focus .profile-avatar-lg {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.photo-edit-badge {
    position: absolute;
    right: 2px;
    bottom: 10px;
    padding: .28rem .55rem;
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: .68rem;
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.eagles-font {
    font-family: "Brush Script MT", cursive;
    letter-spacing: 1px;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 20%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: var(--text);
    font-size: 1.1rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all .2s ease;
}

    .icon-btn:hover {
        background: rgba(255,255,255,.15);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,0,0,.25);
        color: white;
    }

    /* Logout red hover */
    .icon-btn.text-danger:hover {
        background: rgba(255, 0, 0, 0.15);
        color: #ff6b6b;
    }

.navbar .icon-btn {
    flex-shrink: 0;
}

.glass-dropdown {
    background: rgba(18, 31, 50, .98);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(0,0,0,.3);
    padding: .45rem;
    min-width: 210px;
}

.glass-dropdown .dropdown-item {
    color: var(--text);
    border-radius: 12px;
    font-size: var(--fs-sm);
    padding: .55rem .75rem;
}

.glass-dropdown .dropdown-item:hover,
.glass-dropdown .dropdown-item:focus {
    background: rgba(212,166,77,.18);
    color: var(--gold-2);
}

.glass-dropdown .dropdown-divider {
    border-color: rgba(255,255,255,.14);
}

@media (max-width: 576px) {
    .icon-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

.icon-btn i.bi-file-earmark-pdf {
    color: #ff4d4f;
}
html {
   /* scroll-behavior: smooth;*/
    scroll-padding-top: 120px;
}

/* HERO SECTION */
.home-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* EAGLE HEAD */
.hero-eagle-head {
    position: absolute;
    left: -80px;
    bottom: -20px;
    width: 420px;
    max-width: 45%;
    opacity: .18;
    z-index: 0;
    pointer-events: none;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,.45));
}

/* CONTENT ABOVE EAGLE */
.hero-content,
.club-logo-panel {
    position: relative;
    z-index: 2;
}

/* DESKTOP */
@media (min-width: 992px) {
    .hero-eagle-head {
        width: 520px;
        left: -120px;
        bottom: -40px;
        opacity: .20;
    }
}

/* MOBILE */
@media (max-width: 767.98px) {
    .hero-eagle-head {
        width: 280px;
        left: -90px;
        bottom: 0;
        opacity: .14;
    }
}

.home-hero,
.section-panel,
.info-card,
.feature-card {
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: -40% auto auto -15%;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241,210,149,.22), transparent 65%);
    pointer-events: none;
}

.hero-logo-wrap {
    width: min(360px, 100%);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241,210,149,.18), rgba(255,255,255,.04) 55%, transparent 72%);
}

.home-section-nav {
    display: flex;
    gap: .65rem;
    overflow-x: auto;
    padding: .85rem;
    position: sticky;
    top: 96px;
    z-index: 10;
}

.home-section-nav a {
    flex: 0 0 auto;
    color: var(--text);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    padding: .55rem .85rem;
    border-radius: 999px;
    font-size: var(--fs-sm);
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.home-section-nav a:hover,
.home-section-nav a:focus {
    background: rgba(212,166,77,.22);
    color: var(--gold-2);
    transform: translateY(-1px);
}

.section-heading {
    max-width: 720px;
}

.stat-card,
.value-card,
.officer-card,
.officer-count-card,
.meaning-item,
.contact-card {
    height: 100%;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.stat-card {
    min-height: 126px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.stat-number {
    color: var(--gold-2);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label,
.meaning-item span,
.contact-card span,
.officer-card p,
.officer-count-card span,
.value-card p,
.info-card p,
.feature-card p {
    color: rgba(245,247,251,.78);
}

.section-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(212,166,77,.18);
    color: var(--gold-2);
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.value-card i,
.contact-card i {
    color: var(--gold-2);
    font-size: 1.35rem;
    margin-bottom: .65rem;
    display: inline-block;
}

.value-card h4,
.officer-card h4,
.officer-group h3,
.feature-card h4 {
    color: var(--gold-2);
    font-weight: 700;
}

.officer-card {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
}

.officer-count-card {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

    .officer-count-card strong {
        color: var(--gold-2);
    }

.officer-group + .officer-group {
    margin-top: 1.2rem;
}

.officer-group h3 {
    font-size: 1rem;
    margin-bottom: .85rem;
}

.officer-photo-placeholder {
    flex: 0 0 86px;
    width: 86px;
    min-height: 104px;
    border: 1px dashed rgba(241,210,149,.5);
    border-radius: 16px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    background: rgba(212,166,77,.12);
    color: var(--gold-2);
    text-align: center;
}

    .officer-photo-placeholder i {
        font-size: 1.55rem;
    }

    .officer-photo-placeholder span {
        color: rgba(245,247,251,.72);
        font-size: var(--fs-xs);
        line-height: 1.15;
    }

.officer-details {
    min-width: 0;
}

.meaning-logo {
    width: min(260px, 100%);
    border-radius: 50%;
    border: 4px solid rgba(241,210,149,.35);
    box-shadow: 0 18px 55px rgba(0,0,0,.28);
}

.meaning-item {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.meaning-item strong,
.contact-card strong {
    color: var(--gold-2);
}

.contact-card {
    display: flex;
    flex-direction: column;
}

@media (max-width: 991.98px) {
    .home-section-nav {
        top: 82px;
    }
}

@media (max-width: 767.98px) {
    html {
        scroll-padding-top: 96px;
    }

    .home-section-nav {
        top: 72px;
        margin-left: -.25rem;
        margin-right: -.25rem;
    }

    .officer-card {
        gap: .75rem;
    }
}
/* TABLET */
@media (max-width: 991.98px) {
    .club-logo {
        width: 95px;
        height: 95px;
    }
}

/* MOBILE */
@media (max-width: 575.98px) {
    .club-logo-grid {
        gap: .85rem;
    }

    .club-logo {
        width: 78px;
        height: 78px;
    }
}


/* =========================
   OFFICERS SECTION
========================= */

.officers-section {
    position: relative;
    overflow: hidden;
}

/* BACKGROUND GLOW */
.officers-glow {
    position: absolute;
    inset: auto -120px -120px auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,166,77,.18), transparent 70%);
    pointer-events: none;
}

/* TITLE */
.officers-title {
    color: #fff;
    font-size: 2rem;
    line-height: 1.1;
}

.officers-description {
    font-size: .95rem;
    line-height: 1.7;
}

/* HIGHLIGHT CARD */
.officer-highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(212,166,77,.18), rgba(255,255,255,.05));
    border: 1px solid rgba(241,210,149,.18);
    box-shadow: 0 10px 30px rgba(0,0,0,.22), inset 0 0 20px rgba(241,210,149,.05);
}

    .officer-highlight-card i {
        color: var(--gold-2);
        font-size: 1.6rem;
    }

    .officer-highlight-card strong {
        display: block;
        color: var(--gold-2);
        margin-bottom: .35rem;
    }

    .officer-highlight-card span {
        color: rgba(255,255,255,.72);
        font-size: .82rem;
        line-height: 1.5;
    }

/* GROUP HEADER */
.officer-group-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

    .officer-group-header h3 {
        margin: 0;
        white-space: nowrap;
        color: var(--gold-2);
        font-weight: 800;
        font-size: 1.1rem;
        letter-spacing: .04em;
    }

.officer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(241,210,149,.55), transparent);
}

/* MODERN OFFICER CARD */
.modern-officer-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.10);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

/* GOLD GLOW */
.officer-card-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241,210,149,.18), transparent 70%);
}

/* HOVER */
.modern-officer-card:hover {
    transform: translateY(-6px);
    border-color: rgba(241,210,149,.30);
    box-shadow: 0 18px 35px rgba(0,0,0,.30), 0 0 25px rgba(212,166,77,.10);
}

/* PHOTO */
.modern-officer-card .officer-photo-placeholder {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    min-height: unset;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(212,166,77,.18), rgba(255,255,255,.05));
    border: 1px solid rgba(241,210,149,.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-2);
    box-shadow: inset 0 0 18px rgba(241,210,149,.06), 0 8px 22px rgba(0,0,0,.22);
}

    .modern-officer-card .officer-photo-placeholder i {
        font-size: 2rem;
    }

/* DETAILS */
.officer-details {
    position: relative;
    z-index: 2;
}

.officer-badge {
    display: inline-block;
    padding: .32rem .75rem;
    margin-bottom: .7rem;
    border-radius: 999px;
    background: rgba(212,166,77,.16);
    border: 1px solid rgba(241,210,149,.22);
    color: var(--gold-2);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.officer-details h4 {
    margin-bottom: .45rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.officer-details p {
    margin: 0;
    color: rgba(255,255,255,.72);
    line-height: 1.55;
    font-size: .82rem;
}

/* MOBILE */
@media (max-width: 767.98px) {

    .modern-officer-card {
        padding: 1rem;
        border-radius: 20px;
    }

        .modern-officer-card .officer-photo-placeholder {
            width: 74px;
            height: 74px;
            flex-basis: 74px;
        }

    .officer-details h4 {
        font-size: .92rem;
    }

    .officer-details p {
        font-size: .76rem;
    }

    .officers-title {
        font-size: 1.6rem;
    }
}

/* ===============================
   OFFICER POSTER GRID
================================= */

.officer-poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* CARD */
.officer-poster-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border: 1px solid rgba(241,210,149,.18);
    box-shadow: 0 15px 40px rgba(0,0,0,.35), 0 0 24px rgba(212,166,77,.08);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    isolation: isolate;
}

    /* GOLD GLOW */
    .officer-poster-card::before {
        content: "";
        position: absolute;
        inset: auto -60px -60px auto;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(241,210,149,.22), transparent 70%);
        z-index: 1;
    }

/* IMAGE */
.officer-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease, filter .45s ease;
}

/* OVERLAY */
.officer-poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.12) 45%, rgba(0,0,0,.02) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    z-index: 2;
}

/* CONTENT */
.officer-poster-content {
    width: 100%;
}

/* POSITION */
.officer-position {
    display: inline-block;
    margin-bottom: .45rem;
    padding: .28rem .72rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(212,166,77,.24), rgba(241,210,149,.12));
    border: 1px solid rgba(241,210,149,.25);
    color: var(--gold-2);
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(212,166,77,.14);
}

/* NAME */
.officer-poster-content h4 {
    margin: 0;
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 3px 10px rgba(0,0,0,.55);
}

/* HOVER */
.officer-poster-card:hover {
    transform: translateY(-10px);
    border-color: rgba(241,210,149,.40);
    box-shadow: 0 22px 50px rgba(0,0,0,.45), 0 0 30px rgba(212,166,77,.18);
}

    .officer-poster-card:hover .officer-poster-img {
        transform: scale(1.04);
        filter: brightness(1.03) contrast(1.02);
    }

/* MOBILE */
@media (max-width: 767.98px) {

    .officer-poster-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .officer-poster-content h4 {
        font-size: 1.1rem;
    }

    .officer-position {
        font-size: .66rem;
    }
}
/* =========================
   ABOUT SECTION
========================= */

.about-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

    .about-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,0) 45%), radial-gradient(circle at 15% 20%, rgba(241,210,149,.12), transparent 28%);
        pointer-events: none;
        z-index: 0;
    }

.about-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(4px);
    z-index: 0;
}

.about-glow-one {
    width: 360px;
    height: 360px;
    left: -140px;
    top: -120px;
    background: radial-gradient(circle, rgba(241,210,149,.18), transparent 70%);
}

.about-glow-two {
    width: 280px;
    height: 280px;
    right: -100px;
    bottom: -100px;
    background: radial-gradient(circle, rgba(212,166,77,.14), transparent 70%);
}

.about-title {
    max-width: 720px;
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -.02em;
}

.about-lead {
    font-size: 1rem;
    line-height: 1.75;
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.about-value-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem .9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(212,166,77,.18), rgba(255,255,255,.06));
    border: 1px solid rgba(241,210,149,.18);
    color: var(--gold-2);
    font-weight: 700;
    font-size: .78rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.18), inset 0 0 14px rgba(241,210,149,.04);
}

    .about-value-pill i {
        font-size: 1rem;
    }

/* STAT GRID */
.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* PREMIUM STAT CARDS */
.premium-stat-card {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
    border: 1px solid rgba(241,210,149,.18);
    box-shadow: 0 14px 35px rgba(0,0,0,.26), inset 0 0 22px rgba(255,255,255,.025);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

    .premium-stat-card::before {
        content: "";
        position: absolute;
        inset: -40% -30% auto auto;
        width: 140px;
        height: 140px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(241,210,149,.18), transparent 70%);
    }

    .premium-stat-card i {
        color: var(--gold-2);
        font-size: 1.35rem;
        margin-bottom: .15rem;
        filter: drop-shadow(0 0 8px rgba(212,166,77,.35));
    }

    .premium-stat-card .stat-number {
        color: var(--gold-2);
        font-size: 2.15rem;
        font-weight: 900;
        line-height: 1;
        letter-spacing: -.04em;
        text-shadow: 0 0 18px rgba(212,166,77,.22);
    }

    .premium-stat-card .stat-label {
        max-width: 120px;
        color: rgba(255,255,255,.78);
        font-size: .78rem;
        line-height: 1.35;
        text-align: center;
    }

    .premium-stat-card:hover {
        transform: translateY(-6px);
        border-color: rgba(241,210,149,.38);
        box-shadow: 0 20px 45px rgba(0,0,0,.34), 0 0 28px rgba(212,166,77,.12);
    }

/* MOBILE */
@media (max-width: 575.98px) {
    .about-stat-grid {
        grid-template-columns: 1fr;
    }

    .premium-stat-card {
        min-height: 130px;
    }

    .about-value-pill {
        width: 100%;
        justify-content: center;
    }
}

/* =========================
   ABOUT IMAGE
========================= */

.about-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 2rem;
    isolation: isolate;
}

/* GOLDEN GLOW */
.about-image-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241,210,149,.30), rgba(212,166,77,.12), transparent 72%);
    filter: blur(8px);
    z-index: 0;
}

/* EAGLE IMAGE */
.about-eagle-img {
    position: relative;
    z-index: 2;
    width: min(520px, 100%);
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 35px rgba(0,0,0,.45)) drop-shadow(0 0 18px rgba(212,166,77,.25));
    transition: transform .35s ease, filter .35s ease;
}

    /* HOVER EFFECT */
    .about-eagle-img:hover {
        transform: scale(1.03);
        filter: drop-shadow(0 24px 40px rgba(0,0,0,.50)) drop-shadow(0 0 26px rgba(241,210,149,.35));
    }

/* MOBILE */
@media (max-width: 991.98px) {

    .about-image-wrap {
        padding: 1rem 1rem 2rem;
    }

    .about-image-glow {
        width: 300px;
        height: 300px;
    }

    .about-eagle-img {
        width: min(360px, 90%);
    }
}

/* =========================
   MISSION / VISION / PURPOSE
========================= */

.mission-card {
    position: relative;
    overflow: hidden;
    padding: 1.35rem;
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035));
    border: 1px solid rgba(241,210,149,.16);
    box-shadow: 0 16px 42px rgba(0,0,0,.28), inset 0 0 24px rgba(255,255,255,.025);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.mission-card-glow {
    position: absolute;
    right: -80px;
    top: -80px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241,210,149,.22), rgba(212,166,77,.08), transparent 70%);
    pointer-events: none;
}

.featured-mission-card {
    border-color: rgba(241,210,149,.34);
    box-shadow: 0 20px 50px rgba(0,0,0,.34), 0 0 30px rgba(212,166,77,.12);
}

.mission-card:hover {
    transform: translateY(-8px);
    border-color: rgba(241,210,149,.38);
    box-shadow: 0 24px 55px rgba(0,0,0,.36), 0 0 30px rgba(212,166,77,.14);
}

.mission-card .section-icon {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(212,166,77,.24), rgba(255,255,255,.06));
    border: 1px solid rgba(241,210,149,.20);
    box-shadow: 0 10px 25px rgba(0,0,0,.22), 0 0 18px rgba(212,166,77,.12);
}

.mission-label {
    display: inline-block;
    margin-bottom: .45rem;
    color: var(--gold-2);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mission-card h3 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: .85rem;
}

.mission-card p {
    color: rgba(245,247,251,.78);
    font-size: .88rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.mission-list {
    position: relative;
    z-index: 2;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

    .mission-list li {
        position: relative;
        padding-left: 1.35rem;
        color: rgba(255,255,255,.76);
        font-size: .78rem;
        line-height: 1.45;
    }

        .mission-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--gold-2);
            font-weight: 900;
            text-shadow: 0 0 10px rgba(212,166,77,.35);
        }

/* =========================
   VALUES SECTION
========================= */

.values-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

    .values-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 0%, rgba(241,210,149,.13), transparent 34%), linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,0) 45%);
        pointer-events: none;
        z-index: 0;
    }

.values-bg-glow {
    position: absolute;
    left: 50%;
    bottom: -180px;
    transform: translateX(-50%);
    width: 620px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,166,77,.16), transparent 70%);
    filter: blur(8px);
    pointer-events: none;
}

.values-title {
    color: #fff;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.values-subtitle {
    max-width: 720px;
    margin: .75rem auto 0;
    line-height: 1.65;
}

/* PREMIUM VALUES */
.premium-value-card {
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
    border: 1px solid rgba(241,210,149,.16);
    box-shadow: 0 14px 35px rgba(0,0,0,.26), inset 0 0 20px rgba(255,255,255,.025);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

    .premium-value-card::after {
        content: "";
        position: absolute;
        right: -70px;
        top: -70px;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(241,210,149,.18), transparent 70%);
    }

.value-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(241,210,149,.16);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.premium-value-card i {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212,166,77,.24), rgba(255,255,255,.06));
    border: 1px solid rgba(241,210,149,.20);
    color: var(--gold-2);
    font-size: 1.3rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.22), 0 0 16px rgba(212,166,77,.12);
}

.premium-value-card h4 {
    position: relative;
    z-index: 2;
    margin-top: 1rem;
    margin-bottom: .55rem;
    color: var(--gold-2);
    font-weight: 800;
    font-size: 1.05rem;
}

.premium-value-card p {
    position: relative;
    z-index: 2;
    color: rgba(245,247,251,.76);
    font-size: .82rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.value-footnote {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding-top: .75rem;
    border-top: 1px solid rgba(241,210,149,.14);
    color: rgba(241,210,149,.82);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
}

.premium-value-card:hover {
    transform: translateY(-7px);
    border-color: rgba(241,210,149,.38);
    box-shadow: 0 22px 48px rgba(0,0,0,.35), 0 0 28px rgba(212,166,77,.14);
}

/* MOBILE */
@media (max-width: 767.98px) {
    .mission-card {
        padding: 1.15rem;
    }

        .mission-card h3 {
            font-size: 1.15rem;
        }

    .premium-value-card {
        padding: 1.1rem;
    }
}

/* =========================
   LOGO MEANING SECTION
========================= */

.logo-meaning-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

    .logo-meaning-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top left, rgba(241,210,149,.12), transparent 28%), linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,0) 45%);
        pointer-events: none;
    }

.logo-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(10px);
}

.logo-glow-left {
    width: 320px;
    height: 320px;
    left: -120px;
    top: -120px;
    background: radial-gradient(circle, rgba(241,210,149,.18), transparent 70%);
}

.logo-glow-right {
    width: 260px;
    height: 260px;
    right: -100px;
    bottom: -100px;
    background: radial-gradient(circle, rgba(212,166,77,.14), transparent 70%);
}

/* LOGO */
.meaning-logo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    isolation: isolate;
}

.meaning-logo-ring {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241,210,149,.28), rgba(212,166,77,.08), transparent 72%);
    filter: blur(6px);
    z-index: 0;
}

.meaning-logo {
    position: relative;
    z-index: 2;
    width: min(260px, 100%);
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 35px rgba(0,0,0,.42)) drop-shadow(0 0 20px rgba(212,166,77,.22));
    transition: transform .35s ease, filter .35s ease;
}

    .meaning-logo:hover {
        transform: scale(1.03);
        filter: drop-shadow(0 22px 40px rgba(0,0,0,.48)) drop-shadow(0 0 28px rgba(241,210,149,.35));
    }

/* TITLE */
.logo-title {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.15;
}

.logo-subtitle {
    max-width: 720px;
    line-height: 1.7;
}

/* ITEMS */
.meaning-item {
    height: 100%;
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
    border: 1px solid rgba(241,210,149,.14);
    box-shadow: 0 12px 30px rgba(0,0,0,.24), inset 0 0 18px rgba(255,255,255,.02);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

    .meaning-item:hover {
        transform: translateY(-5px);
        border-color: rgba(241,210,149,.34);
        box-shadow: 0 18px 40px rgba(0,0,0,.32), 0 0 22px rgba(212,166,77,.10);
    }

.featured-meaning-item {
    background: linear-gradient(145deg, rgba(212,166,77,.16), rgba(255,255,255,.04));
    border-color: rgba(241,210,149,.28);
}

/* ICON */
.meaning-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212,166,77,.22), rgba(255,255,255,.06));
    border: 1px solid rgba(241,210,149,.18);
    color: var(--gold-2);
    font-size: 1.2rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.22), 0 0 14px rgba(212,166,77,.10);
}

.meaning-item strong {
    display: block;
    margin-bottom: .35rem;
    color: var(--gold-2);
    font-size: .95rem;
    font-weight: 800;
}

.meaning-item span {
    color: rgba(245,247,251,.76);
    font-size: .82rem;
    line-height: 1.65;
}

/* MOBILE */
@media (max-width: 991.98px) {

    .meaning-logo-ring {
        width: 220px;
        height: 220px;
    }

    .meaning-logo {
        width: 200px;
    }
}


.project-card {
    color: var(--text);
    cursor: pointer;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .project-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0,0,0,.28);
    }

.project-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.project-modal-content {
    background: rgba(18, 31, 50, .98);
    color: var(--text);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.project-modal-image {
    max-height: 620px;
    object-fit: contain;
    background: rgba(0,0,0,.35);
}

.event-modal-carousel .carousel-indicators {
    margin-bottom: .65rem;
}

.event-modal-carousel .carousel-indicators [data-bs-target] {
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
}

.project-description {
    white-space: pre-line;
    line-height: 1.65;
}

.pagination .page-link {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.16);
    color: var(--text);
    border-radius: 12px;
}

.pagination .page-item.active .page-link {
    background: var(--gold);
    border-color: var(--gold);
    color: #111;
    font-weight: 700;
}

.pagination .page-item.disabled .page-link {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.08);
    color: rgba(245,247,251,.45);
}

.announcement-section {
    padding: 1.25rem;
}

.announcement-count {
    flex: 0 0 auto;
    color: var(--gold-2);
    border: 1px solid rgba(241,210,149,.22);
    background: rgba(212,166,77,.12);
    border-radius: 999px;
    padding: .45rem .8rem;
    font-weight: 700;
}

.announcement-carousel {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(241,210,149,.18);
    background: rgba(0,0,0,.28);
}

.announcement-carousel-image {
    height: clamp(260px, 52vw, 620px);
    object-fit: contain;
    background: rgba(0,0,0,.38);
}

.announcement-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 4.5rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.52) 55%, transparent);
    color: var(--text);
    z-index: 2;
}

.announcement-date {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: .45rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: rgba(212,166,77,.18);
    border: 1px solid rgba(241,210,149,.24);
    color: var(--gold-2);
    font-weight: 700;
    font-size: .68rem;
}

.announcement-caption h3 {
    margin: 0 0 .4rem;
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.45rem);
    font-weight: 800;
}

.announcement-caption p,
.announcement-admin-details {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(245,247,251,.8);
    line-height: 1.45;
}

.announcement-caption p {
    -webkit-line-clamp: 3;
    max-width: 840px;
    margin: 0;
}

.announcement-admin-details {
    -webkit-line-clamp: 2;
    max-width: 360px;
}

.announcement-admin-thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(0,0,0,.24);
}

.announcement-thumb-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
}

.announcement-edit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: .85rem;
}

.announcement-edit-image {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin: 0;
    padding: .65rem;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.05);
}

.announcement-edit-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    background: rgba(0,0,0,.24);
}

@media (max-width: 767.98px) {
    .announcement-section {
        padding: 1rem;
    }

    .announcement-carousel-image {
        height: 260px;
    }

    .announcement-caption {
        padding: 3.5rem .9rem .9rem;
    }

    .announcement-caption p {
        -webkit-line-clamp: 2;
    }
}

/* Final cascade for the public heritage theme. */
.home-hero {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(234,208,140,.2);
    border-radius: 30px;
    background:
        linear-gradient(90deg, rgba(4,11,21,.98) 0%, rgba(6,18,32,.88) 55%, rgba(7,20,35,.55) 100%),
        url("../images/eagles-bg.png") center / cover;
    box-shadow: 0 28px 70px rgba(0,0,0,.38);
}

.home-hero::before {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: inherit;
    background:
        linear-gradient(90deg, var(--gold) 0 30%, transparent 30% 100%) top left / 100% 3px no-repeat,
        radial-gradient(circle at 78% 45%, rgba(234,208,140,.16), transparent 25%);
}

.hero-eagle-head {
    right: -6%;
    bottom: -15%;
    left: auto;
    width: 560px;
    max-width: 48%;
    opacity: .11;
}

.hero-logo-wrap {
    width: min(310px, 78vw);
    border: 1px solid rgba(234,208,140,.16);
    background: radial-gradient(circle, rgba(234,208,140,.12), rgba(255,255,255,.025) 58%, transparent 59%);
}

.hero-logo {
    width: 220px;
}

.home-section-nav {
    top: 76px;
    justify-content: center;
    background: rgba(7,18,31,.9);
}

@media (max-width: 991.98px) {
    .home-hero {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        border-radius: 22px;
    }

    .hero-eagle-head {
        right: -20%;
        bottom: 0;
        left: auto;
        width: 280px;
        opacity: .08;
    }

    .home-section-nav {
        top: 70px;
        justify-content: flex-start;
    }
}

/* Assembly entry point: public actions and authorized management stay in one card. */
.assembly-promotion {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
}

.assembly-promotion-content {
    flex: 1 1 360px;
    min-width: 0;
}

.assembly-promotion-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.assembly-promotion-actions .btn {
    padding: 12px 22px;
}

.assembly-promotion-status {
    color: var(--gold);
    font-size: .85rem;
    text-underline-offset: 4px;
}

.assembly-promotion-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: .72rem;
    color: rgba(255,255,255,.7);
}

.assembly-promotion-qr img {
    display: block;
    border-radius: 8px;
    background: white;
    padding: 5px;
}

.assembly-promotion-management {
    flex: 1 0 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.assembly-promotion-management-label {
    color: rgba(255,255,255,.55);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.assembly-promotion-management a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.88);
    font-size: .85rem;
    text-decoration: none;
    padding: 5px 0;
}

.assembly-promotion-management a:hover,
.assembly-promotion-status:hover {
    color: var(--gold);
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .assembly-promotion {
        padding: 24px;
        gap: 20px;
    }

    .assembly-promotion-content {
        flex-basis: 100%;
    }

    .assembly-promotion-actions {
        flex: 1 1 210px;
        align-items: stretch;
        text-align: center;
    }

    .assembly-promotion-management {
        gap: 10px 20px;
    }

    .assembly-promotion-management-label {
        flex-basis: 100%;
    }
}
