/**************************************************************************************
* Generic Element Styles
**************************************************************************************/

a {
    text-decoration: none;
}

body {
    font-family: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    letter-spacing: 0.1px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h2 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Decorative accent line under section headings */
h2.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 2px;
    margin-top: 0.6rem;
}

h2.section-title.text-center::after {
    margin-left: auto;
    margin-right: auto;
}

section + section {
    margin-top: 4rem;
}

/**************************************************************************************
* Entrance Animations
**************************************************************************************/

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: none;
}

/**************************************************************************************
* Navbar Styles
**************************************************************************************/

nav.navbar {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    transition: padding 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

nav.navbar.scrolled {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.82) !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.navbar-brand img {
    height: 90px;
    transition: height 0.3s ease;
}

.navbar-brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.nav-donate-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.38rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

/* Centre the pill vertically when it lives inside a nav-item */
.nav-item-donate {
    display: flex;
    align-items: center;
}

.nav-mobile-controls {
    margin-left: auto;
    gap: 0.9rem;
}



nav.navbar.scrolled .navbar-brand img {
    height: 54px;
}

.nav-link {
    font-weight: 600;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover {
    text-decoration: none;
}

/**************************************************************************************
* Button Styles
**************************************************************************************/

.btn {
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.btn:hover {
    transform: translateY(-2px);
}

.nav-item-language {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0.9rem;
}

.lang-switch-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.15rem;
    border: 0;
    margin: 0;
    min-inline-size: 0;
}

.nav-language-mobile {
    align-items: center;
    border-radius: 999px;
    padding: 0.15rem;
    margin-left: auto;
    margin-right: 0.55rem;
}

.lang-switch-link {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lang-switch-link:hover {
    transform: none;
}

@media (max-width: 991px) {
    .navbar-brand-wrap {
        gap: 0.55rem;
    }

    .nav-mobile-controls {
        display: flex;
        gap: 0.9rem;
    }

    .nav-donate-mobile {
        padding: 0.3rem 0.7rem;
        font-size: 0.75rem;
    }

    .nav-item-language {
        justify-content: center;
        margin-top: 0.75rem;
        margin-left: 0;
    }

    .nav-language-mobile .lang-switch-link {
        padding: 0.2rem 0.48rem;
    }
}

.btn-pta {
    border-radius: 999px;
    padding: 0.75rem 2rem;
}

/**************************************************************************************
* Breadcrumb Styles
**************************************************************************************/

.breadcrumb-bar {
    padding: 0.6rem 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.breadcrumb {
    margin-bottom: 0;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    font-size: 1.1rem;
    line-height: 1;
    padding-right: 0.25rem;
}

.breadcrumb-item a {
    text-decoration: none;
    transition: color 0.2s ease;
}

main.wrapper {
    padding-top: 1.5rem;
}

/**************************************************************************************
* Hero Styles
**************************************************************************************/

.hero-section {
    position: relative;
    height: 52vh;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-content {
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.92;
}

/**************************************************************************************
* Card Styles
**************************************************************************************/

.card {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fff;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    font-weight: 700;
    font-size: 1.2rem;
}

.card-body {
    padding: 1.5rem;
}

/* Clickable action cards */
.action-card {
    cursor: pointer;
}

.action-card .card {
    display: flex;
    flex-direction: column;
}

.action-card .card-body {
    flex: 1;
}

.action-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0 0 16px 16px;
}

.action-card-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.action-card:hover .action-card-arrow {
    transform: translateX(4px);
}

/* Non-clickable static cards — no hover lift, no pointer, no shadow */
.static-card .card {
    cursor: default;
    box-shadow: none;
}

.static-card .card:hover {
    transform: none;
    box-shadow: none;
}

.static-card .fund-card {
    cursor: default;
}

.static-card .fund-card:hover .fund-icon {
    transform: none;
}

/* Keep the 3 Get Involved cards equal height */
#donate .action-link,
#volunteer .action-link,
#events .action-link {
    display: block;
    height: 100%;
}

#donate .action-link .card,
#volunteer .action-link .card,
#events .action-link .card {
    height: 100%;
}

.involved-text {
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/**************************************************************************************
* Next Event Highlight
**************************************************************************************/

.next-event-highlight {
    border-radius: 16px;
    overflow: hidden;
}

.next-event-highlight-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
}

.next-event-highlight-body {
    padding: 1.5rem;
}

.next-event-title {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.next-event-name {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.event-date {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

/**************************************************************************************
* PTA Icon
**************************************************************************************/

.pta-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

/**************************************************************************************
* Fund Cards
**************************************************************************************/

.fund-icon {
    width: 130px;
    height: 130px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.fund-icon-sm {
    width: 90px;
    height: 90px;
    border-radius: 16px;
}

.fund-card:hover .fund-icon {
    transform: scale(1.08) translateY(-4px);
}

.fund-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

/**************************************************************************************
* Fundraising Thermometer
**************************************************************************************/

.fundraising-header {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.fundraising-stat {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 2rem;
}

.fundraising-goal {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 2rem;
}

.fundraising-stat-label {
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fundraising-stat-amount {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
}

.fundraising-thermometer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
}

.thermometer-container {
    width: 44px;
    height: 130px;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
}

.thermometer-fill {
    width: 100%;
    position: absolute;
    bottom: 0;
    border-radius: 0 0 22px 22px;
    transition: height 0.6s ease;
}

.thermometer-fill.full {
    border-radius: 22px;
}

.thermometer-percentage {
    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.4rem;
}

.fundraising-description {
    font-size: 0.9rem;
    text-align: center;
}

/**************************************************************************************
* Responsive
**************************************************************************************/

@media (max-width: 768px) {

    .hero-section {
        height: 44vh;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 575px) {
    .fundraising-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .fundraising-stat {
        text-align: center;
    }

    .fundraising-goal {
        text-align: center;
        margin-top: 0;
    }

    .thermometer-container {
        width: 36px;
        height: 110px;
    }
}

/**************************************************************************************
* Join Us Banner
**************************************************************************************/

.join-us-banner {
    border-radius: 20px;
    padding: 3.5rem;
    overflow: hidden;
}

.join-us-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.join-us-lead {
    font-size: 1.05rem;
    opacity: 0.88;
    line-height: 1.7;
    margin-bottom: 0;
}

.join-us-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.join-us-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.join-us-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.join-us-list strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.join-us-list p {
    font-size: 0.88rem;
    margin: 0;
    opacity: 0.82;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .join-us-banner {
        padding: 2rem 1.5rem;
    }

    .join-us-title {
        font-size: 1.75rem;
    }
}

.committee-role-desc {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-top: 0.35rem;
    margin-bottom: 0;
    opacity: 0.65;
}

/**************************************************************************************
* Events Page Styles
**************************************************************************************/

/* Filters */
.events-filters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.events-filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.events-filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 48px;
    flex-shrink: 0;
    opacity: 0.5;
}

.events-filter-btn {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}

/* Event cards */
.events-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.events-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 58px;
    border-radius: 12px;
    flex-shrink: 0;
    line-height: 1;
}

.events-date-day {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.events-date-month {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 0.15rem;
}

.events-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.events-card-summary {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.events-card-description {
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.8;
}

.events-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    font-size: 0.8rem;
}

.events-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

.events-meta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.events-meta-link:hover {
    opacity: 0.75;
}

.events-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.events-ticket-btn {
    padding: 0.4rem 1.1rem;
    font-size: 0.875rem;
    border-radius: 999px;
}

/* Badges */
.events-badge,
.events-category-badge,
.events-term-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Past events */
.past-event-date {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    opacity: 0.6;
}

.past-event-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.events-location-link {
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.events-location-link:hover {
    opacity: 0.75;
}

/* Past events section hidden when empty */
#past-events-section:not(.visible) {
    display: none;
}

/* Hide filter groups when empty */
#filter-terms:has(button:only-child),
#filter-categories:has(button:only-child) {
    display: none;
}

/**************************************************************************************
* Donate Page Styles
**************************************************************************************/

.donate-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    text-decoration: none;
}

.donate-fund-example {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: 0.4rem;
    margin-bottom: 0;
}

.donate-qr-placeholder {
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 220px;
    border: 2px dashed;
}

.donate-qr-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    opacity: 0.7;
}

/**************************************************************************************
* Volunteer Page Styles
**************************************************************************************/

.volunteer-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.volunteer-why-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.volunteer-commitment-card {
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    height: 100%;
}

.volunteer-commitment-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.volunteer-commitment-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.volunteer-commitment-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
}

.volunteer-skills-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.volunteer-skills-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.volunteer-skills-list span {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.volunteer-form-note {
    font-size: 0.8rem;
    opacity: 0.6;
}

.volunteer-required {
    font-size: 0.85rem;
}

.volunteer-form .form-control {
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
}

.volunteer-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.btn-volunteer-submit {
    border-radius: 999px;
    padding: 0.65rem 1.75rem;
    font-weight: 700;
}

.volunteer-form-message {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/**************************************************************************************
* News Page Styles
**************************************************************************************/

/* Filters */
.news-filters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.news-filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.news-filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 48px;
    flex-shrink: 0;
    opacity: 0.5;
}

.news-filter-btn {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Cards */
.news-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.78rem;
}

.news-card-date {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-card-summary {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* Category badge */
.news-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Fundraising impact */
.news-impact {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin-top: 0.5rem;
}

.news-impact-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.news-impact-body {
    flex: 1;
    min-width: 0;
}

.news-impact-amount {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.news-impact-goal {
    font-weight: 500;
    font-size: 0.82rem;
    opacity: 0.65;
}

.news-impact-bar {
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
}

.news-impact-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* Load more */
.news-load-more-btn {
    border-radius: 999px;
    padding: 0.7rem 2rem;
}

.news-load-more-count {
    font-weight: 500;
    font-size: 0.82rem;
    opacity: 0.75;
}


/**************************************************************************************
* Committee Hub
**************************************************************************************/

.hub-welcome {
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
}

.hub-welcome-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex-shrink: 0;
}

.hub-welcome-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.hub-welcome-role {
    font-size: 0.8rem;
    margin-bottom: 0;
    opacity: 0.65;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.hub-logout-btn {
    font-size: 0.875rem;
    padding: 0.45rem 1.1rem;
}

.hub-alert-count {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.hub-alerts-empty {
    font-size: 0.875rem;
    color: #888;
}

.hub-alerts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hub-alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-radius: 12px;
    padding: 1.1rem 1.4rem;
    font-size: 0.95rem;
    border-left: 4px solid transparent;
}

.hub-alert strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.hub-alert-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

@media (max-width: 575.98px) {
    .hub-alert {
        padding: 1rem 1.1rem;
        gap: 0.85rem;
    }
}

.hub-doc-group {
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
}

.hub-doc-group-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
}

.hub-doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hub-doc-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
}

.hub-doc-item + .hub-doc-item {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hub-doc-icon {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.hub-doc-name {
    flex: 1;
}

.hub-doc-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}

/**************************************************************************************
* Login Page
**************************************************************************************/

.login-card {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.login-card-header {
    padding: 2rem 2rem 1.5rem;
}

.login-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 1rem;
}

.login-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    letter-spacing: -0.3px;
}

.login-card-sub {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.75;
}

.login-card-body {
    padding: 0 2rem 2rem;
    flex: 1;
}

.login-label {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
    display: block;
}

.login-optional {
    font-weight: 400;
    opacity: 0.6;
}

.login-input {
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
}

.login-forgot-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.login-modal .modal-body {
    padding: 1.5rem;
}

.login-modal-body p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.login-modal-btn {
    font-weight: 700;
}

.login-submit-btn {
    font-weight: 700;
}

.login-register-notice {
    font-size: 0.8rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.login-register-notice-icon {
    margin-right: 0.3rem;
}

.login-register-btn {
    font-weight: 700;
}

.login-register-footer-note {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 0.85rem;
    margin-bottom: 0;
    opacity: 0.6;
}

.login-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
}

.login-alert-icon {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/**************************************************************************************
* Constitution Page
**************************************************************************************/

.constitution-download-banner {
    border-radius: 16px;
    padding: 1.75rem 2rem;
}

.constitution-download-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    flex-shrink: 0;
}

.constitution-download-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.constitution-download-sub {
    font-size: 0.9rem;
    opacity: 0.8;
}

.constitution-download-btn {
    white-space: nowrap;
}

.constitution-clauses {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
}

.constitution-clause {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
}

.constitution-clause + .constitution-clause {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.constitution-clause-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    width: 2.5rem;
    flex-shrink: 0;
    padding-top: 0.2rem;
}

.constitution-clause-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.constitution-clause-body p,
.constitution-clause-body ul {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.constitution-clause-body ul {
    padding-left: 1.25rem;
}

.constitution-clause-body ul li {
    margin-bottom: 0.25rem;
}

@media (max-width: 575.98px) {
    .constitution-clause {
        padding: 1.25rem 1.25rem;
        gap: 1rem;
    }

    .constitution-download-banner {
        padding: 1.25rem;
    }

    .constitution-download-btn {
        width: 100%;
        text-align: center;
    }
}

/**************************************************************************************
* Footer Styles
**************************************************************************************/

footer {
    padding: 4rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-title {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-contact {
    font-size: 0.95rem;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact i {
    width: 20px;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-contact a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-info {
    font-size: 0.95rem;
}

.footer-address {
    display: flex;
}

.footer-address i {
    margin-top: 0.15rem;
}

.footer-charity-note {
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.footer-charity-note i {
    margin-top: 0.15rem;
}

.footer-divider {
    margin: 2rem 0;
    opacity: 0.15;
}

.footer-copyright {
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    justify-content: flex-end;
}

.footer-bottom-links li + li::before {
    content: '·';
    margin-right: 1.5rem;
    opacity: 0.4;
    pointer-events: none;
}

.footer-bottom-links a {
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

/* Mobile: stack copyright + links centred */
@media (max-width: 767.98px) {
    .footer-bottom .row > [class*="col"] {
        text-align: center !important;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 0.5rem;
    }
}

