
/* =========================================================
   EN FUEGO FC — WEBSITE STYLES
   Youth Sports Exelsior
   Brand: Royal Navy, Deep Navy, Yellow and Gold
========================================================= */

/* =========================
   1. BRAND VARIABLES
========================= */

:root {
    --ef-navy: #0E2379;
    --ef-deep-navy: #0E2146;
    --ef-yellow: #ECE350;
    --ef-gold: #B5A128;
    --ef-grey-blue: #C8D1D1;
    --ef-white: #FFFFFF;

    --ef-text: #263247;
    --ef-muted: #667085;
    --ef-light: #F5F7FB;
    --ef-border: #E3E8F0;

    --ef-radius: 18px;
    --ef-radius-sm: 10px;

    --ef-shadow:
        0 16px 40px rgba(14, 33, 70, 0.09);

    --ef-shadow-hover:
        0 22px 48px rgba(14, 33, 70, 0.15);

    --ef-transition: 0.25s ease;
}


/* =========================
   2. GLOBAL STYLES
========================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    color: var(--ef-text);
    background: var(--ef-white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ef-navy);
    text-decoration: none;
    transition:
        color var(--ef-transition),
        background-color var(--ef-transition);
}

a:hover {
    color: var(--ef-gold);
}

section[id] {
    scroll-margin-top: 85px;
}

::selection {
    color: var(--ef-deep-navy);
    background: var(--ef-yellow);
}


/* =========================
   3. ACCESSIBILITY
========================= */

:focus-visible {
    outline: 3px solid var(--ef-gold);
    outline-offset: 4px;
}

.ef-skip-link {
    position: absolute;
    z-index: 9999;
    top: -100px;
    left: 16px;
    padding: 12px 18px;
    color: var(--ef-deep-navy);
    background: var(--ef-yellow);
    border-radius: var(--ef-radius-sm);
    font-weight: 700;
}

.ef-skip-link:focus {
    top: 12px;
}


/* =========================================
   EN FUEGO FC — SPORTY HEADER & NAVIGATION
========================================= */

.website-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #0E2146;
    box-shadow: 0 5px 24px rgba(9, 22, 48, 0.16);
}

.website-navbar {
    min-height: 88px;
    padding: 12px 0;
    background: #0E2146;
    border-bottom: 3px solid var(--ef-yellow);
}

/* Club identity */
.website-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    max-width: calc(100% - 65px);
    margin-right: 20px;
    padding: 0;
    white-space: normal;
}

.website-brand-logo,
.website-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border: 2px solid var(--ef-yellow);
    border-radius: 12px;
}

.website-brand-logo {
    padding: 4px;
    background: #FFFFFF;
    object-fit: contain;
}

.website-brand-mark {
    color: var(--ef-yellow);
    background: rgba(255, 255, 255, 0.07);
    font-size: 1.8rem;
}

.website-brand-content {
    min-width: 0;
}

.website-brand-name {
    display: block;
    color: #FFFFFF;
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.website-brand-tagline {
    display: block;
    margin-top: 3px;
    color: var(--ef-yellow);
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Navigation links */
.website-navbar .navbar-nav {
    gap: 5px;
}

.website-navbar .website-nav-link {
    position: relative;
    padding: 12px 13px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.91rem;
    font-weight: 650;
    transition: color 0.2s ease;
}

.website-navbar .website-nav-link::after {
    position: absolute;
    right: 13px;
    bottom: 5px;
    left: 13px;
    height: 2px;
    background: var(--ef-yellow);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.website-navbar .website-nav-link:hover,
.website-navbar .website-nav-link:focus {
    color: var(--ef-yellow);
}

.website-navbar .website-nav-link:hover::after,
.website-navbar .website-nav-link:focus::after {
    transform: scaleX(1);
}

/* Support button */
.website-navbar .website-navbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 17px;
    color: var(--ef-deep-navy);
    background: var(--ef-yellow);
    border: 2px solid var(--ef-yellow);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.website-navbar .website-navbar-cta:hover,
.website-navbar .website-navbar-cta:focus {
    color: #FFFFFF;
    background: transparent;
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

/* Mobile menu toggle */
.website-navbar .website-navbar-toggler {
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    box-shadow: none;
}

.website-navbar .website-navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(236, 227, 80, 0.25);
}

.website-navbar .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* Tablet and mobile navigation */
@media (max-width: 991.98px) {
    .website-navbar {
        min-height: 78px;
        padding: 10px 0;
    }

    .website-brand-logo,
    .website-brand-mark {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .website-brand-name {
        font-size: 1rem;
    }

    .website-brand-tagline {
        font-size: 0.7rem;
    }

    .website-navbar .navbar-collapse {
        margin-top: 15px;
        padding: 14px;
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }

    .website-navbar .navbar-nav {
        align-items: stretch !important;
        gap: 3px;
    }

    .website-navbar .website-nav-link {
        padding: 12px;
        border-radius: 6px;
    }

    .website-navbar .website-nav-link::after {
        display: none;
    }

    .website-navbar .website-nav-link:hover,
    .website-navbar .website-nav-link:focus {
        background: rgba(255, 255, 255, 0.07);
    }

    .website-navbar .website-navbar-cta {
        width: 100%;
        margin-top: 8px;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .website-navbar {
        padding: 9px 0;
    }

    .website-brand {
        gap: 9px;
        margin-right: 8px;
    }

    .website-brand-logo,
    .website-brand-mark {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 9px;
    }

    .website-brand-mark {
        font-size: 1.4rem;
    }

    .website-brand-name {
        font-size: 0.91rem;
        letter-spacing: 0;
    }

    .website-brand-tagline {
        max-width: 205px;
        font-size: 0.64rem;
        line-height: 1.35;
    }

    .website-navbar .website-navbar-toggler {
        padding: 6px 8px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .website-navbar *,
    .website-navbar *::before,
    .website-navbar *::after {
        transition: none !important;
    }
}




/* =========================
   5. SHARED BUTTONS
========================= */

.ef-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.ef-btn-primary,
.ef-btn-outline,
.ef-btn-donate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 13px 23px;
    border: 2px solid transparent;
    border-radius: 9px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    transition:
        transform var(--ef-transition),
        box-shadow var(--ef-transition),
        color var(--ef-transition),
        background-color var(--ef-transition);
}

.ef-btn-primary {
    color: var(--ef-white);
    background: var(--ef-navy);
    border-color: var(--ef-navy);
}

.ef-btn-primary:hover {
    color: var(--ef-deep-navy);
    background: var(--ef-yellow);
    border-color: var(--ef-yellow);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 33, 70, 0.14);
}

.ef-btn-outline {
    color: var(--ef-deep-navy);
    background: transparent;
    border-color: var(--ef-navy);
}

.ef-btn-outline:hover {
    color: var(--ef-white);
    background: var(--ef-navy);
    transform: translateY(-2px);
}

.ef-btn-donate {
    color: var(--ef-deep-navy);
    background: var(--ef-yellow);
    border-color: var(--ef-yellow);
}

.ef-btn-donate:hover {
    color: var(--ef-white);
    background: transparent;
    border-color: var(--ef-white);
    transform: translateY(-2px);
}

.ef-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: var(--ef-navy);
    font-weight: 700;
}

.ef-text-link span {
    transition: transform var(--ef-transition);
}

.ef-text-link:hover span {
    transform: translateX(5px);
}


/* =========================
   6. HERO SECTION
========================= */

.ef-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 90px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(236, 227, 80, 0.17),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #FFFFFF 0%,
            #F5F7FC 65%,
            #EEF2FA 100%
        );
}

.ef-hero::before {
    position: absolute;
    right: -150px;
    bottom: -220px;
    width: 460px;
    height: 460px;
    border: 65px solid rgba(14, 35, 121, 0.035);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.ef-hero .container {
    position: relative;
    z-index: 1;
}

.ef-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--ef-navy);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}

.ef-hero-title {
    max-width: 760px;
    margin: 0 0 22px;
    color: var(--ef-deep-navy);
    font-size: clamp(2.5rem, 5.5vw, 4.6rem);
    font-weight: 850;
    letter-spacing: -2.5px;
    line-height: 1.08;
}

.ef-hero-title span {
    display: block;
    color: var(--ef-navy);
}

.ef-hero-text {
    max-width: 610px;
    margin-bottom: 18px;
    color: var(--ef-muted);
    font-size: 1.08rem;
    line-height: 1.85;
}

.ef-hero-motto {
    margin: 22px 0 0;
    padding-left: 15px;
    color: var(--ef-deep-navy);
    border-left: 4px solid var(--ef-gold);
    font-size: 0.98rem;
    font-style: italic;
    font-weight: 700;
}

.ef-hero-crest {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 370px;
    padding: 34px;
    background: var(--ef-white);
    border: 1px solid rgba(14, 35, 121, 0.08);
    border-radius: 28px;
    box-shadow: var(--ef-shadow);
}

.ef-crest-image {
    display: block;
    width: 100%;
    max-width: 340px;
    max-height: 370px;
    object-fit: contain;
}

.ef-crest-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 240px;
    padding: 20px;
    color: var(--ef-white);
    background: var(--ef-navy);
    border: 8px solid var(--ef-yellow);
    border-radius: 50%;
    text-align: center;
}

.ef-crest-initials {
    color: var(--ef-yellow);
    font-size: 4.4rem;
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 1.1;
}

.ef-crest-placeholder > span:nth-child(2) {
    margin-top: 12px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.ef-crest-placeholder small {
    margin-top: 5px;
    font-size: 0.6rem;
    letter-spacing: 1px;
}

.ef-hero-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    color: var(--ef-muted);
    font-size: 0.87rem;
    font-weight: 600;
    text-align: center;
}

.ef-caption-line {
    display: inline-block;
    width: 30px;
    height: 3px;
    flex-shrink: 0;
    background: var(--ef-gold);
}


/* =========================
   7. SHARED SECTION STYLES
========================= */

.ef-section {
    padding: 95px 0;
}

.ef-section-title {
    margin: 0 0 22px;
    color: var(--ef-deep-navy);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.2;
}

.ef-section p {
    color: var(--ef-muted);
    line-height: 1.9;
}

.ef-section-heading {
    max-width: 740px;
    margin: 0 auto 48px;
}

.ef-section-heading .ef-section-title {
    margin-bottom: 15px;
}

.ef-section-heading > p {
    max-width: 620px;
    margin: 0 auto;
}


/* =========================
   8. ABOUT SECTION
========================= */

.ef-about {
    background: var(--ef-white);
}

.ef-about-panel {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    padding: 42px;
    color: var(--ef-white);
    background:
        linear-gradient(
            145deg,
            var(--ef-navy),
            var(--ef-deep-navy)
        );
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow);
}

.ef-about-panel::after {
    position: absolute;
    right: -65px;
    bottom: -85px;
    width: 230px;
    height: 230px;
    border: 35px solid rgba(236, 227, 80, 0.13);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.ef-panel-label {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--ef-yellow);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ef-about-panel h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    color: var(--ef-white);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 850;
    letter-spacing: -1px;
    line-height: 1.2;
}

.ef-about-panel h2 span {
    display: block;
    color: var(--ef-yellow);
}

.ef-about-panel p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.82);
}

.ef-panel-motto {
    position: relative;
    z-index: 1;
    margin-top: 28px;
    padding-top: 20px;
    color: var(--ef-white);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.ef-panel-motto strong {
    display: block;
    color: var(--ef-yellow);
}


/* =========================
   9. VALUES SECTION
========================= */

.ef-values {
    background: var(--ef-light);
}

.ef-value-card {
    height: 100%;
    padding: 30px 25px;
    background: var(--ef-white);
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius);
    transition:
        transform var(--ef-transition),
        box-shadow var(--ef-transition),
        border-color var(--ef-transition);
}

.ef-value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(181, 161, 40, 0.6);
    box-shadow: var(--ef-shadow-hover);
}

.ef-value-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 23px;
    color: var(--ef-deep-navy);
    background: var(--ef-yellow);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 900;
}

.ef-value-card h3 {
    margin-bottom: 12px;
    color: var(--ef-deep-navy);
    font-size: 1.2rem;
    font-weight: 800;
}

.ef-value-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
}


/* =========================
   10. DONATION SECTION
========================= */

.ef-donate {
    position: relative;
    overflow: hidden;
    color: var(--ef-white);
    background:
        linear-gradient(
            120deg,
            var(--ef-navy),
            var(--ef-deep-navy)
        );
}

.ef-donate::after {
    position: absolute;
    top: -130px;
    right: -100px;
    width: 350px;
    height: 350px;
    border: 55px solid rgba(236, 227, 80, 0.1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.ef-donate .container {
    position: relative;
    z-index: 1;
}

.ef-eyebrow-light {
    color: var(--ef-yellow);
}

.ef-donate .ef-section-title {
    max-width: 780px;
    color: var(--ef-white);
}

.ef-donate p {
    max-width: 740px;
    color: rgba(255, 255, 255, 0.83);
}

.ef-donate-note {
    margin-top: 18px;
    font-size: 0.92rem;
    font-weight: 600;
}


/* =========================
   11. CONTACT SECTION
========================= */

.ef-contact {
    background: var(--ef-white);
}

.ef-contact-card {
    height: 100%;
    padding: 35px;
    background: var(--ef-light);
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius);
}

.ef-contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 17px 0;
    border-bottom: 1px solid var(--ef-border);
    overflow-wrap: anywhere;
}

.ef-contact-item:first-child {
    padding-top: 0;
}

.ef-contact-item:last-of-type {
    border-bottom: none;
}

.ef-contact-label {
    display: block;
    color: var(--ef-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ef-contact-item strong,
.ef-contact-item > span:not(.ef-contact-label) {
    color: var(--ef-deep-navy);
}

.ef-contact-item a {
    width: fit-content;
    color: var(--ef-navy);
    font-weight: 700;
}

.ef-contact-item a:hover {
    color: var(--ef-gold);
}

.ef-contact-registration {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 18px;
    padding-top: 22px;
    border-top: 2px solid var(--ef-yellow);
}

.ef-contact-registration strong {
    display: block;
    margin-top: 6px;
    color: var(--ef-deep-navy);
    font-size: 1rem;
}

/* =========================================
   EN FUEGO FC — SPORTY FOOTER
========================================= */

.website-footer {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.78);
    background: #091630;
}

.website-footer a {
    color: #FFFFFF;
    text-decoration: none;
    transition:
        color 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease;
}

.website-footer a:hover {
    color: var(--ef-yellow);
}

/* Club identity banner with team photograph */
.website-footer-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 58px 0;
    background-color: var(--ef-deep-navy);
    background-image:
        linear-gradient(
            90deg,
            rgba(9, 22, 48, 0.96) 0%,
            rgba(14, 33, 70, 0.86) 58%,
            rgba(14, 35, 121, 0.55) 100%
        ),
        url("../imgs/website/3.jpg");
    background-size: cover;
    background-position: center 40%;
    border-bottom: 3px solid var(--ef-yellow);
}

.website-footer-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.website-footer-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--ef-yellow);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.website-footer-banner h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.15;
}

.website-footer-banner p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    font-style: italic;
}

.website-footer-support {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    min-height: 48px;
    padding: 12px 20px;
    color: var(--ef-deep-navy) !important;
    background: var(--ef-yellow);
    border: 2px solid var(--ef-yellow);
    border-radius: 8px;
    font-weight: 800;
}

.website-footer-support:hover {
    color: #FFFFFF !important;
    background: transparent;
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

/* Main footer content */
.website-footer-main {
    padding-top: 58px;
    padding-bottom: 55px;
}

.website-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: 100%;
}

.website-footer-logo {
    display: block;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    padding: 5px;
    background: #FFFFFF;
    border: 2px solid var(--ef-yellow);
    border-radius: 12px;
    object-fit: contain;
}

.website-footer-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    color: var(--ef-yellow);
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid var(--ef-yellow);
    border-radius: 12px;
    font-size: 1.8rem;
}

.website-footer-title {
    color: #FFFFFF;
    font-size: 1.15rem;
    font-weight: 850;
    line-height: 1.4;
}

.website-footer-tagline {
    display: block;
    margin-top: 3px;
    color: var(--ef-yellow);
    font-size: 0.8rem;
    line-height: 1.5;
}

.website-footer-description {
    max-width: 430px;
    margin: 22px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.93rem;
    line-height: 1.85;
}

/* Registration details */
.website-footer-registration {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.website-footer-registration > span {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 115px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.055);
    border-left: 3px solid var(--ef-yellow);
    border-radius: 0 6px 6px 0;
}

.website-footer-registration small {
    color: rgba(255, 255, 255, 0.57);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.website-footer-registration strong {
    color: #FFFFFF;
    font-size: 0.95rem;
}

/* Column headings */
.website-footer-heading {
    position: relative;
    margin: 5px 0 25px;
    padding-bottom: 13px;
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 800;
}

.website-footer-heading::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 3px;
    background: var(--ef-yellow);
    border-radius: 2px;
    content: "";
}

/* Navigation links */
.website-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.website-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.website-footer-links a i {
    color: var(--ef-yellow);
    font-size: 0.7rem;
}

.website-footer-links a:hover {
    color: var(--ef-yellow);
    transform: translateX(4px);
}

/* Contact information */
.website-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.website-footer-contact > a,
.website-footer-address {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.website-footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: var(--ef-yellow);
    background: rgba(255, 255, 255, 0.07);
    border-radius: 8px;
}

.website-footer-contact > a:hover .website-footer-icon {
    color: var(--ef-deep-navy);
    background: var(--ef-yellow);
}

.website-footer-contact .website-footer-whatsapp {
    color: #55E58A;
}

/* Copyright strip */
.website-footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.website-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.website-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    line-height: 1.7;
}

.website-footer-bottom .website-powered-by a {
    color: var(--ef-yellow);
    font-weight: 800;
}

.website-footer-bottom .website-powered-by a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Tablet and mobile */
@media (max-width: 767.98px) {
    .website-footer-banner {
        padding: 42px 0;
        background-position: center;
    }

    .website-footer-banner-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .website-footer-main {
        padding-top: 42px;
        padding-bottom: 38px;
    }

    .website-footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

@media (max-width: 575.98px) {
    .website-footer-banner h2 {
        font-size: 1.8rem;
    }

    .website-footer-support {
        width: 100%;
    }

    .website-footer-brand {
        align-items: flex-start;
    }

    .website-footer-logo,
    .website-footer-brand-mark {
        width: 54px;
        height: 54px;
    }

    .website-footer-title {
        font-size: 1rem;
    }

    .website-footer-tagline {
        font-size: 0.75rem;
    }

    .website-footer-registration {
        gap: 8px;
    }

    .website-footer-registration > span {
        flex: 1;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .website-footer *,
    .website-footer *::before,
    .website-footer *::after {
        transition: none !important;
    }
}

/* =========================
   13. WHATSAPP FLOATING BUTTON
========================= */

.ef-whatsapp-fab {
    position: fixed;
    z-index: 1040;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    color: var(--ef-deep-navy);
    background: var(--ef-yellow);
    border: 2px solid var(--ef-white);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(14, 33, 70, 0.22);
    font-size: 1.5rem;
    transition:
        transform var(--ef-transition),
        box-shadow var(--ef-transition);
}

.ef-whatsapp-fab:hover {
    color: var(--ef-deep-navy);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(14, 33, 70, 0.28);
}


/* =========================
   14. RESPONSIVE — TABLETS
========================= */

@media (max-width: 991.98px) {
    .ef-hero {
        padding: 75px 0 70px;
    }

    .ef-hero-title {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }

    .ef-hero-crest {
        min-height: 300px;
    }

    .ef-crest-image {
        max-height: 300px;
    }

    .ef-section {
        padding: 75px 0;
    }

    .ef-about-panel {
        min-height: auto;
    }

    .ef-donate .text-lg-end {
        text-align: left !important;
    }
}


/* =========================
   15. RESPONSIVE — MOBILE
========================= */

@media (max-width: 575.98px) {
    html {
        scroll-padding-top: 75px;
    }

    section[id] {
        scroll-margin-top: 75px;
    }

    .ef-hero {
        padding: 55px 0 50px;
    }

    .ef-hero-title {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
        letter-spacing: -1.4px;
    }

    .ef-hero-text {
        font-size: 1rem;
    }

    .ef-hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .ef-hero-actions .btn {
        width: 100%;
    }

    .ef-hero-crest {
        min-height: 250px;
        padding: 25px;
        border-radius: 20px;
    }

    .ef-crest-image {
        max-height: 250px;
    }

    .ef-crest-placeholder {
        width: 200px;
        height: 200px;
    }

    .ef-crest-initials {
        font-size: 3.5rem;
    }

    .ef-hero-caption {
        align-items: flex-start;
        font-size: 0.8rem;
    }

    .ef-section {
        padding: 58px 0;
    }

    .ef-section-title {
        font-size: 2rem;
        letter-spacing: -0.6px;
    }

    .ef-section-heading {
        margin-bottom: 32px;
    }

    .ef-about-panel {
        padding: 30px 25px;
    }

    .ef-value-card {
        padding: 25px 22px;
    }

    .ef-contact-card {
        padding: 25px 20px;
    }

    .ef-contact-registration {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ef-btn-primary,
    .ef-btn-outline,
    .ef-btn-donate {
        width: 100%;
    }

    .ef-whatsapp-fab {
        right: 15px;
        bottom: 15px;
        width: 52px;
        height: 52px;
    }
}


/* =========================
   16. REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================
   WHATSAPP FLOATING BUTTON FIX
========================= */

.ef-whatsapp-fab {
    position: fixed !important;
    right: 22px !important;
    bottom: 22px !important;
    z-index: 9999 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 58px !important;
    min-width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 !important;
    margin: 0 !important;

    color: #FFFFFF !important;
    background-color: #25D366 !important;
    border: 2px solid #FFFFFF !important;
    border-radius: 50% !important;

    font-size: 28px !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22) !important;
    transform: none;
}

.ef-whatsapp-fab:hover {
    color: #FFFFFF !important;
    background-color: #128C7E !important;
    border-color: #FFFFFF !important;
    transform: translateY(-3px) !important;
}

.ef-whatsapp-fab i,
.ef-whatsapp-fab svg {
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 !important;
    padding: 0;
    flex-shrink: 0;
}

.ef-whatsapp-fab:focus-visible {
    outline: 3px solid #0E2379 !important;
    outline-offset: 4px;
}

@media (max-width: 575.98px) {
    .ef-whatsapp-fab {
        right: 15px !important;
        bottom: 15px !important;
        width: 52px !important;
        min-width: 52px !important;
        height: 52px !important;
        min-height: 52px !important;
    }
}

/* =========================
   WHATSAPP BUTTON ANIMATION
========================= */

.ef-whatsapp-fab {
    animation: ef-whatsapp-pulse 2.5s ease-in-out infinite;
    transform-origin: center;
}

.ef-whatsapp-fab:hover {
    animation-play-state: paused;
    transform: translateY(-4px) scale(1.05) !important;
}

@keyframes ef-whatsapp-pulse {
    0%,
    100% {
        box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
    }

    50% {
        box-shadow:
            0 0 0 8px rgba(37, 211, 102, 0.15),
            0 5px 22px rgba(0, 0, 0, 0.24);
    }
}

/* Respect visitors who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ef-whatsapp-fab {
        animation: none !important;
    }
}

/* Team photography */

.ef-hero-photo {
    position: relative;
    display: block;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
}

.ef-team-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ef-hero-photo .ef-team-photo {
    min-height: 390px;
    aspect-ratio: 4 / 3;
}

.ef-photo-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 30px 22px 20px;
    color: #FFFFFF;
    background: linear-gradient(
        transparent,
        rgba(14, 33, 70, 0.92)
    );
}

.ef-photo-caption span {
    color: #ECE350;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.ef-photo-caption small {
    font-size: 0.85rem;
}

.ef-about-photo {
    overflow: hidden;
    margin: 30px 0;
    border-radius: 18px;
    box-shadow: var(--ef-shadow);
}

.ef-about-photo .ef-team-photo {
    aspect-ratio: 16 / 9;
    object-position: center 40%;
}

@media (max-width: 575.98px) {
    .ef-hero-photo .ef-team-photo {
        min-height: 260px;
    }
}

/* TEAM SECTION — BLUE TINT + MOVING BACKGROUND */

#team.ef-values {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--ef-deep-navy);
}

/* Moving photo with a subtle blue overlay */
#team.ef-values::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -3%;

    background-image:
        linear-gradient(
            rgba(14, 35, 121, 0.48),
            rgba(14, 33, 70, 0.58)
        ),
        url("../imgs/website/3.jpg");

    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;

    animation: ef-team-background-move 30s ease-in-out infinite alternate;
    will-change: transform;
}

/* Soft blue glow over the photograph */
#team.ef-values::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;

    background: linear-gradient(
        115deg,
        rgba(70, 110, 210, 0.15),
        rgba(14, 35, 121, 0.08),
        rgba(14, 33, 70, 0.20)
    );

    pointer-events: none;
}

/* Content stays above the background */
#team.ef-values .container {
    position: relative;
    z-index: 1;
}

/* Heading contrast */
#team.ef-values .ef-eyebrow {
    color: var(--ef-yellow);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

#team.ef-values .ef-section-title {
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

#team.ef-values .ef-section-heading > p {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

/* Cards stay crisp and readable */
#team.ef-values .ef-value-card {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Gentle movement */
@keyframes ef-team-background-move {
    from {
        transform: scale(1.02) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.06) translate3d(-0.5%, 0.5%, 0);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    #team.ef-values::before {
        animation: none;
        transform: none;
        will-change: auto;
    }
}

/* Mobile framing */
@media (max-width: 575.98px) {
    #team.ef-values::before {
        background-position: center 30%;
    }
}


/* =========================================
   ENQUIRY FORM — EN FUEGO FC
========================================= */

.ef-enquiry-form-wrap {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(14, 35, 121, 0.16);
}

.ef-enquiry-heading {
    margin-bottom: 1.25rem;
}

.ef-enquiry-heading h3 {
    margin: 0.4rem 0 0.5rem;
    color: var(--ef-deep-navy);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 750;
}

.ef-enquiry-heading p {
    margin-bottom: 0;
    color: #5D6678;
    line-height: 1.65;
}

.ef-enquiry-form-wrap .form-label {
    color: var(--ef-deep-navy);
    font-weight: 600;
    font-size: 0.92rem;
}

.ef-enquiry-form-wrap .form-control {
    min-height: 46px;
    border: 1px solid #D5DCE8;
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    background-color: #FFFFFF;
    color: #172033;
    box-shadow: none;
}

.ef-enquiry-form-wrap textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.ef-enquiry-form-wrap .form-control:focus {
    border-color: var(--ef-navy);
    box-shadow: 0 0 0 3px rgba(14, 35, 121, 0.12);
}

.ef-enquiry-form-wrap .btn {
    min-height: 48px;
    font-weight: 700;
}

#enquiryFormFeedback:empty {
    display: none;
}

@media (max-width: 575.98px) {
    .ef-enquiry-form-wrap {
        margin-top: 1.5rem;
        padding-top: 1.4rem;
    }
}


:root {
    --ef-gold-dark: #8F7F1F;          /* readable gold on white */
    --ef-navy-soft: #E6E9F5;
    --ef-shadow-card: 0 12px 32px rgba(14, 33, 70, 0.08);
}

/* ---------- Contrast + focus fixes ---------- */

a:hover,
.ef-contact-item a:hover {
    color: var(--ef-gold-dark);       /* gold #B5A128 on white was ~2.6:1 */
}

:focus-visible {
    outline: 3px solid var(--ef-navy);
    outline-offset: 4px;
}

.website-header :focus-visible,
.website-footer :focus-visible,
.ef-donate :focus-visible,
#team.ef-values :focus-visible {
    outline-color: var(--ef-yellow);  /* yellow ring on dark surfaces */
}

/* ---------- Eyebrow: small yellow accent bar ---------- */

.ef-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ef-eyebrow::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: var(--ef-yellow);
    box-shadow: 0 0 0 1px rgba(14, 33, 70, 0.08);
}

.ef-section-heading .ef-eyebrow { justify-content: center; }

/* ---------- Hero polish ---------- */

.ef-hero-title span {
    background: linear-gradient(90deg, var(--ef-navy), #2B3E94);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ef-hero-photo {
    box-shadow: 0 24px 56px rgba(14, 33, 70, 0.22);
    border: 4px solid var(--ef-white);
    outline: 2px solid rgba(236, 227, 80, 0.9);
    outline-offset: 6px;
}

.ef-btn-primary::after,
.ef-btn-donate::after {
    content: "\2192";
    transition: transform var(--ef-transition);
}

.ef-btn-primary:hover::after,
.ef-btn-donate:hover::after {
    transform: translateX(4px);
}

/* ---------- Stats strip (sits under the hero) ---------- */

.ef-stats {
    position: relative;
    z-index: 2;
    margin-top: -46px;
    padding-bottom: 20px;
}

.ef-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    background: var(--ef-deep-navy);
    border-bottom: 4px solid var(--ef-yellow);
    border-radius: var(--ef-radius);
    box-shadow: 0 20px 44px rgba(14, 33, 70, 0.28);
}

.ef-stat {
    padding: 26px 22px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.ef-stat:last-child { border-right: 0; }

.ef-stat strong {
    display: block;
    color: var(--ef-yellow);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
}

.ef-stat span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* ---------- Programs ---------- */

.ef-programs { background: var(--ef-white); }

.ef-program-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 34px 28px 30px;
    background: var(--ef-white);
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow-card);
    transition:
        transform var(--ef-transition),
        box-shadow var(--ef-transition);
}

.ef-program-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--ef-navy), var(--ef-yellow));
}

.ef-program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ef-shadow-hover);
}

.ef-program-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    color: var(--ef-white);
    background: var(--ef-navy);
    border-radius: 14px;
    font-size: 1.5rem;
}

.ef-program-card h3 {
    margin-bottom: 10px;
    color: var(--ef-deep-navy);
    font-size: 1.25rem;
    font-weight: 800;
}

.ef-program-card ul {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.ef-program-card li {
    position: relative;
    padding: 7px 0 7px 26px;
    color: var(--ef-muted);
    font-size: 0.93rem;
    border-top: 1px solid var(--ef-border);
}

.ef-program-card li::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 2px;
    width: 10px;
    height: 10px;
    background: var(--ef-yellow);
    border: 2px solid var(--ef-navy);
    border-radius: 50%;
}

/* ---------- Existing cards: lift + clearer hierarchy ---------- */

.ef-contact-card {
    box-shadow: var(--ef-shadow-card);
    border-top: 5px solid var(--ef-navy);
}

.ef-enquiry-form-wrap {
    padding: 28px;
    background: var(--ef-white);
    border: 1px solid var(--ef-border);
    border-top: 5px solid var(--ef-yellow);
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow-card);
}

/* ---------- Scroll reveal (needs the small script) ---------- */

.js-reveal .ef-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.js-reveal .ef-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 767.98px) {
    .ef-stats { margin-top: -28px; }

    .ef-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .ef-stat:nth-child(2) { border-right: 0; }

    .ef-stat:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 575.98px) {
    .ef-enquiry-form-wrap { padding: 20px 16px; }
    .ef-hero-photo { outline-offset: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal .ef-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* =========================================
   EN FUEGO FC — DONOR SECTION
   Full background + subtle motion
========================================= */

.ef-donor-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 100px 20px;
    background-color: #0e2146;

    /* Existing team image */
    background-image:
        linear-gradient(
            115deg,
            rgba(8, 20, 55, 0.94) 0%,
            rgba(14, 35, 121, 0.82) 55%,
            rgba(8, 20, 55, 0.91) 100%
        ),
        url("/static/imgs/website/1.jpg");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Animated background layer */
.ef-donor-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -4%;
    background-image: url("/static/imgs/website/1.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.12;
    transform: scale(1.04);
    animation: efDonorBackgroundMotion 24s ease-in-out infinite alternate;
    pointer-events: none;
    opacity: 35%;
}

/* Soft gold glow */
.ef-donor-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 320px;
    height: 320px;
    top: -150px;
    right: -90px;
    border-radius: 50%;
    background: rgba(236, 227, 80, 0.13);
    filter: blur(65px);
    pointer-events: none;
}

/* Main content */
.ef-donor-section .ef-donor-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Heading */
.ef-donor-section .ef-donor-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #ece350;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.ef-donor-section .ef-donor-heading h2 {
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.25);
}

.ef-donor-section .ef-donor-divider {
    width: 72px;
    height: 4px;
    margin: 0 auto 22px;
    border-radius: 10px;
    background: #ece350;
    box-shadow: 0 0 18px rgba(236, 227, 80, 0.3);
}

.ef-donor-section .ef-donor-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.9;
}

/* Donor card */
.ef-donor-section .ef-donor-card {
    position: relative;
    max-width: 560px;
    margin: 42px auto 0;
    padding: 38px 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-top: 4px solid #ece350;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 24px 65px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(236, 227, 80, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.ef-donor-section .ef-donor-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        110deg,
        transparent,
        rgba(236, 227, 80, 0.12),
        transparent
    );
    pointer-events: none;
    transition: left 0.7s ease;
}

.ef-donor-section .ef-donor-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 30px 75px rgba(0, 0, 0, 0.3),
        0 0 35px rgba(236, 227, 80, 0.13);
}

.ef-donor-section .ef-donor-card:hover::before {
    left: 140%;
}

/* Donor logo */
.ef-donor-section .ef-donor-logo {
    display: flex;
    min-height: 120px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.ef-donor-section .ef-donor-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 125px;
    object-fit: contain;
}

/* Placeholder when logo isn't available */
.ef-donor-section .ef-donor-logo-placeholder {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #b5a128;
}

.ef-donor-section .ef-donor-logo-placeholder i {
    font-size: 2.6rem;
}

.ef-donor-section .ef-donor-logo-placeholder span {
    color: #657084;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Donor name and appreciation */
.ef-donor-section .ef-donor-name {
    margin: 0 0 12px;
    color: #0e2379;
    font-size: 1.4rem;
    font-weight: 800;
}

.ef-donor-section .ef-donor-thank-you {
    display: block;
    color: #657084;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Gentle background zoom and drift */
@keyframes efDonorBackgroundMotion {
    0% {
        transform: scale(1.04) translate3d(0, 0, 0);
    }

    100% {
        transform: scale(1.13) translate3d(-1%, 1%, 0);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .ef-donor-section {
        padding: 70px 16px;
        background-position: center;
    }

    .ef-donor-section .ef-donor-heading p {
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .ef-donor-section .ef-donor-card {
        margin-top: 30px;
        padding: 30px 20px;
    }
}

/* Accessibility: respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .ef-donor-section::before {
        animation: none;
    }

    .ef-donor-section .ef-donor-card,
    .ef-donor-section .ef-donor-card::before {
        transition: none;
    }

    .ef-donor-section .ef-donor-card:hover {
        transform: none;
    }
}
