/* Requested refinements */
.navbar.navbar-solid {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .team-orbit {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 430px;
        min-height: 0;
        overflow: visible;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        scroll-snap-type: none;
    }

    .team-card,
    .team-card-large,
    .team-card-offset,
    .team-card-slim,
    .team-orbit:hover .team-card:not(:hover),
    .team-orbit.has-active .team-card:not(.is-active),
    .team-orbit:focus-within .team-card:not(:focus),
    .team-card:hover,
    .team-card.is-active,
    .team-card:focus,
    .team-card:focus-within,
    .team-card-offset:hover {
        flex: none !important;
        width: 100%;
        height: 430px;
        min-height: 430px;
        transform: none;
        filter: none;
    }

    .team-card::after {
        opacity: 1;
        transform: none;
    }

    .team-card-body,
    .team-card:hover .team-card-body,
    .team-card.is-active .team-card-body,
    .team-card:focus .team-card-body,
    .team-card:focus-within .team-card-body {
        opacity: 1;
        transform: none;
    }
}

.navbar.navbar-solid .nav-link,
.navbar.navbar-solid .nav-logo,
.navbar.navbar-solid .hamburger {
    color: var(--text-dark);
    text-shadow: none;
}

.nav-menu {
    gap: 24px;
}

.hero-fundraising-card {
    width: min(620px, 92vw);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 18px;
    padding: 18px 22px;
    margin: 0 auto 24px;
    box-shadow: 0 18px 45px rgba(18, 53, 42, 0.1);
    animation: fadeIn 1.2s ease;
}

.fundraising-card-top,
.fundraising-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.fundraising-card-top span {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.fundraising-card-top strong {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
}

.fundraising-progress {
    height: 14px;
    border-radius: 999px;
    background: #e8eadf;
    overflow: hidden;
    margin: 12px 0 10px;
}

.fundraising-progress span {
    display: block;
    min-width: 8px;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
}

.fundraising-card-bottom {
    color: #59656f;
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.pledge-btn-hero {
    font-size: 1.5rem;
    padding: 15px 42px;
    animation: fadeIn 1.5s ease;
}

.pledge-page-hero {
    padding: 150px 20px 90px;
    background:
        linear-gradient(135deg, rgba(18, 53, 42, 0.94), rgba(27, 77, 62, 0.9)),
        url('../img/logo.png') center/contain no-repeat;
    color: var(--white);
    text-align: center;
}

.pledge-page-hero h1 {
    color: var(--white);
    font-size: 4rem;
}

.pledge-page-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
}

.pledge-page {
    padding: var(--section-padding);
    background: #f8f8f2;
}

.pledge-page-form {
    max-width: 980px;
    margin: 0 auto;
}

.volunteer-hero {
    position: relative;
    overflow: hidden;
    padding: 160px 20px 100px;
    background:
        linear-gradient(135deg, rgba(18, 53, 42, 0.96), rgba(27, 77, 62, 0.88)),
        url('../img/logo.png') right 10% center/360px no-repeat;
    color: var(--white);
}

.volunteer-hero::before {
    content: '';
    position: absolute;
    inset: auto -12% -35% auto;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 50%;
    animation: volunteerHalo 12s ease-in-out infinite;
}

.volunteer-hero::after {
    content: '';
    position: absolute;
    inset: 18% auto auto -140px;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.14), transparent 70%);
}

.volunteer-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
    gap: 54px;
    align-items: center;
}

.volunteer-hero-copy h1 {
    max-width: 720px;
    color: var(--white);
    font-size: clamp(3rem, 7vw, 5.7rem);
    line-height: 0.98;
    margin-bottom: 24px;
}

.volunteer-hero-copy p {
    max-width: 660px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

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

.volunteer-hero-actions .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.62);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.volunteer-hero-actions .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.volunteer-status-card {
    position: relative;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 22px;
    padding: 34px;
    color: var(--text-dark);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    animation: volunteerCardFloat 5s ease-in-out infinite;
}

.volunteer-card-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--secondary), var(--secondary-light));
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 22px;
    box-shadow: 0 14px 28px rgba(212, 175, 55, 0.25);
}

.volunteer-status-card h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.volunteer-status-card ul {
    margin-bottom: 20px;
}

.volunteer-status-card li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fdf7df;
    color: var(--primary);
    font-weight: 800;
}

.volunteer-status-card li i {
    color: var(--secondary);
}

.volunteer-status-card p {
    color: #59656f;
}

.volunteer-intro {
    padding: 80px 20px;
    background: var(--white);
}

.volunteer-intro-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
    gap: 44px;
    align-items: center;
}

.volunteer-intro-copy h2 {
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    line-height: 1.1;
}

.volunteer-intro-copy p {
    color: #59656f;
    font-size: 1.08rem;
}

.volunteer-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.volunteer-pillar {
    min-height: 220px;
    background: linear-gradient(180deg, #ffffff, #fdfcf5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(18, 53, 42, 0.07);
    transition: var(--transition);
}

.volunteer-pillar:hover {
    transform: translateY(-7px);
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 26px 58px rgba(18, 53, 42, 0.12);
}

.volunteer-pillar i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.volunteer-pillar h3 {
    font-size: 1.35rem;
}

.volunteer-pillar p {
    color: #59656f;
}

.volunteer-application {
    padding: 90px 20px;
    background:
        linear-gradient(180deg, #f8f8f2 0%, #ffffff 100%);
}

.volunteer-form-shell {
    max-width: 1040px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(18, 53, 42, 0.1);
}

.volunteer-form-heading {
    padding: 42px 44px 28px;
    background:
        linear-gradient(135deg, rgba(27, 77, 62, 0.08), rgba(212, 175, 55, 0.14));
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.volunteer-form-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 10px;
}

.volunteer-form-heading p {
    max-width: 650px;
    color: #59656f;
}

.volunteer-form {
    padding: 38px 44px 44px;
}

.volunteer-form-section {
    padding: 28px 0;
    border-bottom: 1px solid #eee8d2;
}

.volunteer-form-section:first-of-type {
    padding-top: 0;
}

.volunteer-form-section h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.55rem;
}

.volunteer-form-section h3::before {
    content: '';
    width: 8px;
    height: 28px;
    border-radius: 999px;
    background: var(--secondary);
}

.volunteer-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.volunteer-form .form-group input,
.volunteer-form .form-group textarea,
.volunteer-form .form-group select {
    min-height: 50px;
    background: #fffefa;
    border-color: #e5dec7;
}

.volunteer-form .form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.volunteer-form .form-group input:focus,
.volunteer-form .form-group textarea:focus,
.volunteer-form .form-group select:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.volunteer-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin-top: 10px;
}

.volunteer-check-grid .checkbox-container,
.volunteer-consent .checkbox-container {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
    color: #43515d;
}

.volunteer-check-grid .checkmark,
.volunteer-consent .checkmark {
    margin-right: 0;
    margin-top: 3px;
}

.volunteer-consent {
    margin-top: 8px;
}

.volunteer-submit {
    width: 100%;
    margin-top: 28px;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.08rem;
}

.hidden-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.volunteer-page-hero {
    padding: 150px 20px 82px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(212, 175, 55, 0.58), rgba(212, 175, 55, 0.46)),
        linear-gradient(135deg, rgba(18, 53, 42, 0.94), rgba(27, 77, 62, 0.82)),
        url('../img/logo.png') center 55%/260px no-repeat;
}

.volunteer-page-hero h1 {
    margin: 0;
    color: #20242a;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.volunteer-page {
    padding: 66px 20px 86px;
    background: var(--white);
}

.volunteer-page-container {
    max-width: 760px;
}

.volunteer-form-card {
    min-height: 1280px;
    padding: 34px 58px 70px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.5) 48%, rgba(255, 255, 255, 0.3) 100%),
        linear-gradient(180deg, #d9d3bb 0%, #c9c19f 100%);
    box-shadow: 0 18px 48px rgba(18, 53, 42, 0.1);
}

.volunteer-form-intro {
    position: relative;
    background: #655000;
    color: var(--white);
    padding: 36px 38px 28px;
    margin-bottom: 0;
}

.volunteer-form-intro::after {
    content: '..';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #211a00;
    color: var(--white);
    font-size: 0.8rem;
    line-height: 1;
}

.volunteer-form-intro h2 {
    margin-bottom: 12px;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
}

.volunteer-form-intro p {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.86rem;
    line-height: 1.55;
}

.volunteer-form-intro .volunteer-age-note {
    margin-top: 18px;
    margin-bottom: 0;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.volunteer-ms-form {
    background: rgba(255, 255, 255, 0.82);
    padding: 28px 38px 40px;
}

.volunteer-required-note,
.volunteer-help-text,
.volunteer-privacy-note {
    color: #525252;
    font-size: 0.78rem;
    line-height: 1.5;
}

.volunteer-ms-form h3 {
    margin: 24px 0 24px;
    color: #1f2428;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
}

.volunteer-ms-form .form-group {
    margin-bottom: 28px;
}

.volunteer-ms-form .form-group label {
    color: #1f2428;
    font-size: 0.86rem;
    font-weight: 500;
}

.volunteer-ms-form .form-group label span,
.volunteer-consent-box span {
    color: #b3261e;
}

.volunteer-ms-form .form-group input,
.volunteer-ms-form .form-group select,
.volunteer-ms-form .form-group textarea {
    min-height: 31px;
    padding: 7px 10px;
    border: 0;
    border-radius: 2px;
    background: var(--white);
    color: #20242a;
    font-size: 0.86rem;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.volunteer-ms-form .form-group textarea {
    min-height: 92px;
    resize: vertical;
}

.volunteer-ms-form .form-group input:focus,
.volunteer-ms-form .form-group select:focus,
.volunteer-ms-form .form-group textarea:focus {
    outline: 2px solid rgba(101, 80, 0, 0.35);
    box-shadow: none;
}

.volunteer-short-field select {
    max-width: 245px;
}

.volunteer-choice-list {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.volunteer-choice-list label,
.volunteer-consent-box label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #1f2428;
    font-size: 0.86rem;
}

.volunteer-choice-list input,
.volunteer-consent-box input {
    margin-top: 2px;
}

.volunteer-consent-box {
    padding: 14px;
    background: rgba(101, 80, 0, 0.08);
    border-left: 3px solid #655000;
}

.volunteer-next-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 32px;
    margin-top: 10px;
    padding: 7px 18px;
    border: 0;
    border-radius: 2px;
    background: #655000;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.volunteer-next-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

@keyframes volunteerHalo {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.75; }
    50% { transform: translate3d(-26px, -18px, 0) scale(1.06); opacity: 1; }
}

@keyframes volunteerCardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
    .volunteer-hero::before,
    .volunteer-status-card {
        animation: none;
    }
}

.footer-contact-card {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 24px;
    align-items: start;
}

.footer-fundraising-badge {
    width: 150px;
    max-height: 210px;
    object-fit: contain;
    justify-self: end;
}

.eid-ended {
    display: none;
    max-width: 760px;
    margin: 34px auto 0;
    text-align: center;
    background: linear-gradient(180deg, #fff, #fdfcf5);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 22px;
    padding: 42px 34px;
    box-shadow: 0 20px 55px rgba(18, 53, 42, 0.08);
}

.eid-ended.active {
    display: block;
}

.eid-ended-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
}

.eid-ended h3 {
    font-size: 2rem;
}

.eid-ended p {
    color: #59656f;
    margin: 0 auto 24px;
    max-width: 620px;
}

.eid-wrapper.is-expired {
    display: none;
}

.team-orbit {
    display: flex;
    gap: 14px;
    align-items: stretch;
    min-height: 430px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1120px;
}

.team-card,
.team-card-large,
.team-card-offset,
.team-card-slim {
    grid-column: auto;
    grid-row: auto;
    position: relative;
    flex: 1 1 0;
    min-width: 82px;
    min-height: 430px;
    height: 430px;
    display: block;
    transform: none;
    border-radius: 10px;
    isolation: isolate;
    overflow: hidden;
    background: #122f27;
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow: 0 24px 60px rgba(18, 53, 42, 0.14);
    transition: flex 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.team-card-large .team-photo,
.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, #fdfcf5 0%, #ece5ca 100%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.team-photo-wrap {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.35), transparent 34%),
        linear-gradient(180deg, #fffdf4 0%, #f4edcf 100%);
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 26, 21, 0.08) 0%, rgba(8, 26, 21, 0.18) 42%, rgba(8, 26, 21, 0.88) 100%);
    pointer-events: none;
}

.team-card::after {
    content: '';
    position: absolute;
    inset: 14px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    opacity: 0;
    transform: scaleX(0.94);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.team-card:nth-child(2),
.team-card:nth-child(4) {
    margin-top: 0;
}

.team-card:hover,
.team-card.is-active,
.team-card:focus,
.team-card:focus-within,
.team-card-offset:hover {
    flex: 3.2 1 0;
    transform: translateY(-6px);
    box-shadow: 0 34px 80px rgba(18, 53, 42, 0.22);
}

.team-orbit:hover .team-card:not(:hover),
.team-orbit.has-active .team-card:not(.is-active),
.team-orbit:focus-within .team-card:not(:focus) {
    flex: 0.62 1 0;
    filter: saturate(0.82);
}

.team-orbit:hover .team-card:hover,
.team-orbit.has-active .team-card.is-active,
.team-orbit:focus-within .team-card:focus {
    flex: 3.2 1 0 !important;
    flex-grow: 3.2 !important;
    filter: none;
}

.team-card:hover::after,
.team-card.is-active::after,
.team-card:focus::after,
.team-card:focus-within::after {
    opacity: 1;
    transform: scaleX(1);
}

.team-card:hover .team-photo,
.team-card.is-active .team-photo,
.team-card:focus .team-photo,
.team-card:focus-within .team-photo {
    transform: scale(1.04);
}

.team-card-slim .team-photo-wrap {
    min-height: 0;
}

.team-card-body {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 0;
    color: var(--white);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.team-card:hover .team-card-body,
.team-card.is-active .team-card-body,
.team-card:focus .team-card-body,
.team-card:focus-within .team-card-body {
    opacity: 1;
    transform: translateY(0);
}

.team-role {
    background: rgba(253, 247, 223, 0.96);
    color: var(--primary);
    border-color: rgba(212, 175, 55, 0.5);
    max-width: 100%;
}

.team-card h3 {
    color: var(--white);
    font-size: clamp(1.25rem, 2vw, 1.85rem);
    line-height: 1.1;
    margin-bottom: 0;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.supporter-track {
    --supporter-card-width: 210px;
    --supporter-gap: 18px;
    --supporter-count: 10;
    display: flex;
    gap: 0;
    width: max-content;
    will-change: transform;
    animation: supporterMarqueeSmooth 58s linear infinite;
}

.supporter-set {
    display: flex;
    flex-shrink: 0;
    justify-content: flex-start;
    gap: var(--supporter-gap);
    width: calc((var(--supporter-card-width) * var(--supporter-count)) + (var(--supporter-gap) * var(--supporter-count)));
    min-width: calc((var(--supporter-card-width) * var(--supporter-count)) + (var(--supporter-gap) * var(--supporter-count)));
    padding-right: var(--supporter-gap);
}

.supporter-logo {
    flex: 0 0 var(--supporter-card-width);
    flex-direction: column;
    gap: 12px;
    min-height: 150px;
    height: 150px;
    padding: 16px 16px 14px;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07)),
        rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.supporter-logo::after {
    content: attr(data-name);
    color: #fff8df;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.supporter-logo img {
    width: 100%;
    max-height: 78px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    padding: 8px;
}

@keyframes supporterMarqueeSmooth {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(calc(-1 * ((var(--supporter-card-width) * var(--supporter-count)) + (var(--supporter-gap) * var(--supporter-count)))), 0, 0);
    }
}

.event-card {
    cursor: pointer;
}

.eid-details-list,
.event-info-card,
.event-modal-meta {
    background: #f1f2f0;
    border: 1px solid #e1e4df;
    border-radius: 18px;
    padding: 18px 20px;
}

.eid-details-list {
    margin-bottom: 25px;
}

.eid-details-list li:last-child,
.event-meta li:last-child,
.event-modal-meta li:last-child {
    margin-bottom: 0;
}

.eid-details-list a,
.event-info-card a,
.event-modal-meta a {
    color: var(--primary);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.eid-details-list a:hover,
.event-info-card a:hover,
.event-modal-meta a:hover {
    color: var(--secondary);
}

.event-info-card h2 {
    margin-bottom: 10px;
}

.event-image-panel img[src$="logo.png"] {
    object-fit: contain;
    padding: 24px;
}

.event-image-panel img[src$="event-townhall-meeting.jpeg"] {
    object-fit: contain;
    padding: 8px;
    background: #fdfcf5;
}

.event-card:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.7);
    outline-offset: 4px;
}

.event-qr {
    cursor: zoom-in;
}

.event-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(8, 26, 21, 0.78);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(8px);
}

.event-modal.active {
    display: flex;
}

.event-modal-card {
    width: min(1120px, 100%);
    max-height: 88vh;
    overflow: auto;
    background: var(--white);
    border-radius: 24px;
    padding: 26px;
    display: grid;
    grid-template-columns: minmax(260px, 430px) 1fr 170px;
    gap: 28px;
    align-items: start;
    position: relative;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.3);
    animation: modalRise 0.28s ease;
}

.event-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    z-index: 2;
}

.event-modal-image img {
    width: 100%;
    max-height: 590px;
    object-fit: contain;
    background: #fdfcf5;
    border-radius: 18px;
    border: 4px solid var(--secondary);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.event-modal-status {
    display: inline-flex;
    background: #fdf7df;
    color: var(--primary);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 800;
    margin-bottom: 14px;
}

.event-modal-body h2 {
    font-size: 2.35rem;
    line-height: 1.15;
}

.event-modal-subtitle {
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 22px;
}

.event-modal-meta {
    display: grid;
    gap: 13px;
    margin: 24px 0;
}

.event-modal-meta li {
    display: grid;
    grid-template-columns: 24px 72px 1fr;
    gap: 10px;
    color: var(--text-dark);
    align-items: start;
}

.event-modal-meta i {
    color: var(--secondary);
    margin-top: 3px;
}

.event-modal-highlights {
    background: var(--accent);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.event-modal-highlights p {
    margin-bottom: 9px;
}

.event-modal-qr {
    margin-top: 48px;
    background: #fdfcf5;
    border: 2px dashed var(--secondary);
    border-radius: 16px;
    padding: 14px;
    color: var(--primary);
    text-align: center;
    font-weight: 800;
}

.event-modal-qr img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin: 0 auto 8px;
}

@media (max-width: 1100px) {
    .team-orbit {
        min-height: 380px;
    }

    .team-card,
    .team-card-large,
    .team-card-offset,
    .team-card-slim {
        min-height: 380px;
        height: 380px;
    }

    .team-card:hover,
    .team-card.is-active,
    .team-card:focus,
    .team-card:focus-within,
    .team-card-offset:hover {
        flex: 2.35 1 0;
    }

    .team-orbit:hover .team-card:hover,
    .team-orbit.has-active .team-card.is-active,
    .team-orbit:focus-within .team-card:focus {
        flex: 2.35 1 0 !important;
        flex-grow: 2.35 !important;
    }

    .event-modal-card {
        grid-template-columns: 320px 1fr;
    }

    .event-modal-qr {
        grid-column: 1 / -1;
        margin-top: 0;
        width: 190px;
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .event-modal-qr img {
        width: 72px;
        height: 72px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 0;
    }

    .fundraising-card-top,
    .fundraising-card-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

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

    .donate-btn-hero,
    .pledge-btn-hero {
        width: min(320px, 100%);
        text-align: center;
        font-size: 1.15rem;
    }

    .pledge-page-hero h1 {
        font-size: 2.8rem;
    }

    .volunteer-hero {
        padding: 135px 20px 76px;
        background-size: 230px;
        background-position: right -40px top 95px;
    }

    .volunteer-hero-grid,
    .volunteer-intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .volunteer-hero-copy h1 {
        font-size: 3.1rem;
    }

    .volunteer-hero-actions {
        flex-direction: column;
    }

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

    .volunteer-status-card {
        padding: 26px;
        animation: none;
    }

    .volunteer-pillars,
    .volunteer-field-grid,
    .volunteer-check-grid {
        grid-template-columns: 1fr;
    }

    .volunteer-intro,
    .volunteer-application {
        padding: 62px 20px;
    }

    .volunteer-form-heading,
    .volunteer-form {
        padding-left: 22px;
        padding-right: 22px;
    }

    .volunteer-form-heading {
        padding-top: 32px;
    }

    .volunteer-page-hero {
        padding: 128px 20px 62px;
        background-size: 190px;
    }

    .volunteer-page {
        padding: 34px 0 64px;
    }

    .volunteer-page-container {
        padding: 0 14px;
    }

    .volunteer-form-card {
        min-height: 0;
        padding: 20px 14px 44px;
    }

    .volunteer-form-intro,
    .volunteer-ms-form {
        padding-left: 18px;
        padding-right: 18px;
    }

    .volunteer-form-intro h2 {
        font-size: 1.35rem;
    }

    .volunteer-short-field select {
        max-width: 100%;
    }

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

    .footer-fundraising-badge {
        justify-self: start;
    }

    .team-orbit {
        display: grid;
        grid-template-columns: 1fr;
        min-height: 0;
        max-width: 430px;
    }

    .team-card,
    .team-card-large,
    .team-card-offset,
    .team-card-slim {
        height: 430px;
        min-height: 430px;
        flex: none;
        transform: none;
    }

    .team-orbit:hover .team-card:not(:hover),
    .team-orbit.has-active .team-card:not(.is-active),
    .team-orbit:focus-within .team-card:not(:focus),
    .team-card:hover,
    .team-card.is-active,
    .team-card:focus,
    .team-card:focus-within,
    .team-card-offset:hover {
        flex: none;
        transform: none;
        filter: none;
    }

    .team-card::after {
        opacity: 1;
        transform: none;
    }

    .team-card-body {
        opacity: 1;
        transform: none;
    }

    .team-card:nth-child(2),
    .team-card:nth-child(4) {
        margin-top: 0;
    }

    .supporter-set {
        width: calc((var(--supporter-card-width) * var(--supporter-count)) + (var(--supporter-gap) * var(--supporter-count)));
        justify-content: flex-start;
    }

    .event-modal-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .event-modal-body h2 {
        font-size: 1.9rem;
    }

    .event-modal-meta li {
        grid-template-columns: 24px 1fr;
    }

    .event-modal-meta strong,
    .event-modal-meta span {
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    .team-orbit {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 430px;
        min-height: 0;
        overflow: visible;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        scroll-snap-type: none;
    }

    .team-card,
    .team-card-large,
    .team-card-offset,
    .team-card-slim,
    .team-orbit:hover .team-card:not(:hover),
    .team-orbit.has-active .team-card:not(.is-active),
    .team-orbit:focus-within .team-card:not(:focus),
    .team-card:hover,
    .team-card.is-active,
    .team-card:focus,
    .team-card:focus-within,
    .team-card-offset:hover {
        flex: none !important;
        width: 100%;
        height: 430px;
        min-height: 430px;
        transform: none;
        filter: none;
    }

    .team-card::after {
        opacity: 1;
        transform: none;
    }

    .team-card-body,
    .team-card:hover .team-card-body,
    .team-card.is-active .team-card-body,
    .team-card:focus .team-card-body,
    .team-card:focus-within .team-card-body {
        opacity: 1;
        transform: none;
    }
}

/* ===========================
   Volunteer Page - LSIC refined design
   =========================== */
.volunteer-page-hero {
    position: relative;
    overflow: hidden;
    padding: 165px 20px 96px;
    background:
        linear-gradient(135deg, rgba(18, 53, 42, 0.97), rgba(27, 77, 62, 0.9)),
        url('../img/logo.png') right 9% center/360px no-repeat;
    color: var(--white);
}

.volunteer-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 20%, rgba(212, 175, 55, 0.18), transparent 28%),
        radial-gradient(circle at 92% 80%, rgba(212, 175, 55, 0.12), transparent 26%);
    pointer-events: none;
}

.volunteer-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 54px;
    align-items: center;
}

.volunteer-page-hero .section-kicker,
.volunteer-info-copy .section-kicker,
.volunteer-application-aside .section-kicker {
    color: var(--secondary);
    text-align: left;
}

.volunteer-page-hero h1 {
    max-width: 720px;
    margin: 0 0 22px;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
}

.volunteer-page-hero p {
    max-width: 660px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.17rem;
}

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

.volunteer-ghost-btn {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.volunteer-ghost-btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.volunteer-hero-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 20px;
    padding: 32px;
    color: var(--text-dark);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
    animation: volunteerLift 5s ease-in-out infinite;
}

.volunteer-hero-card > i {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--secondary), var(--secondary-light));
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
}

.volunteer-hero-card h2 {
    font-size: 1.65rem;
}

.volunteer-hero-card p {
    margin: 0 0 20px;
    color: #59656f;
    font-size: 1rem;
}

.volunteer-hero-card ul {
    display: grid;
    gap: 12px;
}

.volunteer-hero-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-weight: 800;
}

.volunteer-hero-card li span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fdf7df;
    color: #8a6b00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
}

.volunteer-info-band {
    padding: 82px 20px;
    background: var(--white);
}

.volunteer-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 44px;
    align-items: center;
}

.volunteer-info-copy h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.08;
}

.volunteer-info-copy p {
    color: #59656f;
    font-size: 1.05rem;
}

.volunteer-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.volunteer-values div {
    min-height: 218px;
    padding: 26px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 16px;
    background: linear-gradient(180deg, var(--white), #fdfcf5);
    box-shadow: 0 18px 45px rgba(18, 53, 42, 0.07);
    transition: var(--transition);
}

.volunteer-values div:hover {
    transform: translateY(-7px);
    border-color: rgba(212, 175, 55, 0.52);
    box-shadow: 0 24px 58px rgba(18, 53, 42, 0.12);
}

.volunteer-values i {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.volunteer-values strong,
.volunteer-values span {
    display: block;
}

.volunteer-values strong {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.28rem;
    margin-bottom: 8px;
}

.volunteer-values span {
    color: #59656f;
}

.volunteer-page {
    padding: 90px 20px;
    background:
        linear-gradient(180deg, #f8f8f2 0%, #ffffff 100%);
}

.volunteer-application-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.volunteer-application-aside {
    position: sticky;
    top: 110px;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(160deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 22px 55px rgba(18, 53, 42, 0.17);
}

.volunteer-application-aside h2 {
    color: var(--white);
    font-size: 2.1rem;
    line-height: 1.08;
}

.volunteer-application-aside p {
    color: rgba(255, 255, 255, 0.82);
}

.volunteer-contact-note {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.volunteer-contact-note i {
    color: var(--secondary);
    margin-top: 4px;
}

.volunteer-form-card {
    min-height: 0;
    padding: 0;
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 22px;
    box-shadow: 0 26px 70px rgba(18, 53, 42, 0.1);
    overflow: hidden;
}

.volunteer-premium-form {
    padding: 38px;
}

.volunteer-form-section {
    padding: 0 0 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee8d2;
}

.volunteer-form-section h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--primary);
    font-size: 1.55rem;
}

.volunteer-form-section h3::before {
    content: '';
    width: 8px;
    height: 28px;
    border-radius: 999px;
    background: var(--secondary);
}

.volunteer-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.volunteer-field-grid .field-wide {
    grid-column: 1 / -1;
}

.volunteer-premium-form .form-group {
    margin-bottom: 0;
}

.volunteer-premium-form label {
    display: block;
    color: #33434f;
    font-weight: 700;
    margin-bottom: 8px;
}

.volunteer-premium-form label span,
.volunteer-consent-box strong {
    color: var(--error);
}

.volunteer-premium-form input,
.volunteer-premium-form select,
.volunteer-premium-form textarea {
    width: 100%;
    min-height: 50px;
    border: 1px solid #e3ddc8;
    border-radius: 10px;
    background: #fffefa;
    padding: 12px 14px;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.volunteer-premium-form textarea {
    min-height: 126px;
    resize: vertical;
}

.volunteer-premium-form input:focus,
.volunteer-premium-form select:focus,
.volunteer-premium-form textarea:focus {
    border-color: var(--secondary);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.13);
}

.volunteer-choice-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.volunteer-choice-list label,
.volunteer-consent-box label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 14px;
    border: 1px solid #e8e1c9;
    border-radius: 12px;
    background: #fdfcf5;
    color: #33434f;
    font-weight: 700;
}

.volunteer-choice-list input,
.volunteer-consent-box input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
    accent-color: var(--primary);
    flex: 0 0 auto;
}

.volunteer-consent-box {
    margin-bottom: 24px;
}

.volunteer-captcha {
    background: #f8f8f2;
    border: 1px dashed rgba(212, 175, 55, 0.55);
}

.volunteer-captcha input {
    max-width: 180px;
    margin: 10px auto 0;
}

.volunteer-submit-btn {
    width: 100%;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.05rem;
}

@keyframes volunteerLift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
    .volunteer-hero-card {
        animation: none;
    }
}

@media (max-width: 992px) {
    .volunteer-hero-content,
    .volunteer-info-grid,
    .volunteer-application-layout {
        grid-template-columns: 1fr;
    }

    .volunteer-application-aside {
        position: static;
    }

    .volunteer-values {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .volunteer-page-hero {
        padding: 132px 20px 74px;
        background-size: 220px;
        background-position: right -64px top 82px;
    }

    .volunteer-page-hero h1 {
        font-size: 3rem;
    }

    .volunteer-hero-actions {
        flex-direction: column;
    }

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

    .volunteer-info-band,
    .volunteer-page {
        padding: 60px 20px;
    }

    .volunteer-premium-form {
        padding: 24px;
    }

    .volunteer-field-grid,
    .volunteer-choice-list {
        grid-template-columns: 1fr;
    }

    .volunteer-application-aside,
    .volunteer-hero-card {
        padding: 24px;
    }
}

/* ===========================
   Final interaction refinements
   =========================== */
.volunteer-hero-actions .btn-primary {
    background: var(--white);
    color: var(--text-dark);
    box-shadow: 0 12px 28px rgba(8, 26, 21, 0.18);
}

.volunteer-hero-actions .btn-primary:hover {
    background: #fdfcf5;
    color: var(--primary-dark);
}

.hero .social-icons {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 26px;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding-bottom: 44px;
    }

    .nav-menu .nav-link {
        display: inline-flex;
        justify-content: center;
        width: auto;
        margin: 0 auto;
        padding: 4px 0;
    }

    .nav-menu .nav-link::after {
        left: 50%;
        right: auto;
        bottom: 0;
        width: 22px;
        max-width: 70%;
        transform: translateX(-50%) scaleX(0);
        transform-origin: center;
    }

    .nav-menu .nav-link:hover::after,
    .nav-menu .nav-link:focus::after {
        width: 22px;
        transform: translateX(-50%) scaleX(1);
    }

    .team-orbit {
        display: flex;
        min-height: 360px;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding: 0 18px 12px;
        margin-left: -18px;
        margin-right: -18px;
    }

    .team-card,
    .team-card-large,
    .team-card-offset,
    .team-card-slim {
        flex: 0 0 82px;
        width: auto;
        height: 360px;
        min-height: 360px;
        transform: none;
        scroll-snap-align: center;
    }

    .team-orbit:hover .team-card:not(:hover),
    .team-orbit.has-active .team-card:not(.is-active),
    .team-orbit:focus-within .team-card:not(:focus),
    .team-card-offset:hover {
        flex: 0 0 82px;
        transform: none;
        filter: saturate(0.82);
    }

    .team-orbit:hover .team-card:hover,
    .team-orbit.has-active .team-card.is-active,
    .team-orbit:focus-within .team-card:focus,
    .team-card:hover,
    .team-card.is-active,
    .team-card:focus,
    .team-card:focus-within {
        flex: 0 0 min(330px, calc(100vw - 72px)) !important;
        transform: translateY(-4px);
        filter: none;
    }

    .team-card-body {
        opacity: 0;
        transform: translateY(18px);
    }

    .team-card:hover .team-card-body,
    .team-card.is-active .team-card-body,
    .team-card:focus .team-card-body,
    .team-card:focus-within .team-card-body {
        opacity: 1;
        transform: translateY(0);
    }

    .team-card:hover::after,
    .team-card.is-active::after,
    .team-card:focus::after,
    .team-card:focus-within::after {
        opacity: 1;
        transform: scaleX(1);
    }
}

@media (max-width: 768px) {
    .team-orbit {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 430px;
        min-height: 0;
        overflow: visible;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        scroll-snap-type: none;
    }

    .team-card,
    .team-card-large,
    .team-card-offset,
    .team-card-slim,
    .team-orbit:hover .team-card:not(:hover),
    .team-orbit.has-active .team-card:not(.is-active),
    .team-orbit:focus-within .team-card:not(:focus),
    .team-card:hover,
    .team-card.is-active,
    .team-card:focus,
    .team-card:focus-within,
    .team-card-offset:hover {
        flex: none !important;
        width: 100%;
        height: 430px;
        min-height: 430px;
        transform: none;
        filter: none;
    }

    .team-card::after {
        opacity: 1;
        transform: none;
    }

    .team-card-body,
    .team-card:hover .team-card-body,
    .team-card.is-active .team-card-body,
    .team-card:focus .team-card-body,
    .team-card:focus-within .team-card-body {
        opacity: 1;
        transform: none;
    }
}
