/* =====================================================================
   Al-Ansor Trust Fund - public stylesheet
   Palette: emerald #087F5B, deep green #064E3B, turquoise #16B8A6,
            gold #F2C14E, coral #F47C66, cream #FFF9ED, grey #F4F7F6
   ===================================================================== */

:root {
    --atf-emerald: #087F5B;
    --atf-emerald-dark: #066a4c;
    --atf-deep: #064E3B;
    --atf-turquoise: #16B8A6;
    --atf-gold: #F2C14E;
    --atf-coral: #F47C66;
    --atf-cream: #FFF9ED;
    --atf-grey: #F4F7F6;
    --atf-ink: #12332a;
    --atf-muted: #5b6b66;
    --atf-white: #ffffff;
    --atf-radius: 1.25rem;
    --atf-shadow: 0 18px 45px -20px rgba(6, 78, 59, .35);
    --atf-shadow-sm: 0 10px 25px -15px rgba(6, 78, 59, .35);
    --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--bs-body-font-family);
    color: var(--atf-ink);
    background: var(--atf-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4, .navbar-brand {
    font-family: 'Poppins', var(--bs-body-font-family);
    font-weight: 700;
    letter-spacing: -.02em;
}

a { text-decoration: none; }

img { max-width: 100%; }

.text-emerald { color: var(--atf-emerald) !important; }
.text-deep { color: var(--atf-deep) !important; }
.text-turquoise { color: var(--atf-turquoise) !important; }
.text-gold { color: var(--atf-gold) !important; }
.text-coral { color: var(--atf-coral) !important; }
.text-muted-2 { color: var(--atf-muted) !important; }
.bg-cream { background-color: var(--atf-cream) !important; }
.bg-soft { background-color: var(--atf-grey) !important; }
.bg-deep { background-color: var(--atf-deep) !important; }
.bg-emerald { background-color: var(--atf-emerald) !important; }

/* ---------------------------------------------------------------- buttons */
.btn {
    border-radius: 50rem;
    font-weight: 600;
    padding: .7rem 1.5rem;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { box-shadow: 0 0 0 .25rem rgba(22,184,166,.4); }

.btn-atf {
    background: var(--atf-emerald);
    border: 2px solid var(--atf-emerald);
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(8,127,91,.7);
}
.btn-atf:hover, .btn-atf:focus { background: var(--atf-emerald-dark); border-color: var(--atf-emerald-dark); color: #fff; }

.btn-atf-outline {
    background: transparent;
    border: 2px solid var(--atf-emerald);
    color: var(--atf-emerald);
}
.btn-atf-outline:hover { background: var(--atf-emerald); color: #fff; }

.btn-atf-gold {
    background: var(--atf-gold);
    border: 2px solid var(--atf-gold);
    color: var(--atf-deep);
    box-shadow: 0 12px 24px -12px rgba(242,193,78,.8);
}
.btn-atf-gold:hover { background: #e6b13a; border-color: #e6b13a; color: var(--atf-deep); }

.btn-atf-coral {
    background: var(--atf-coral);
    border: 2px solid var(--atf-coral);
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(244,124,102,.8);
}
.btn-atf-coral:hover { background: #ef6a51; border-color: #ef6a51; color: #fff; }

.btn-atf-light {
    background: rgba(255,255,255,.14);
    border: 2px solid rgba(255,255,255,.65);
    color: #fff;
    backdrop-filter: blur(4px);
}
.btn-atf-light:hover { background: #fff; color: var(--atf-deep); border-color: #fff; }

/* ---------------------------------------------------------------- top bar */
.topbar {
    background: var(--atf-deep);
    color: rgba(255,255,255,.85);
    font-size: .85rem;
    padding: .5rem 0;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--atf-gold); }
.topbar .social a {
    display: inline-flex;
    width: 1.7rem; height: 1.7rem;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    margin-left: .25rem;
}
.topbar .social a:hover { background: var(--atf-gold); color: var(--atf-deep); }

/* ---------------------------------------------------------------- navbar */
.navbar-atf {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 30px -22px rgba(6,78,59,.6);
    padding-top: .5rem;
    padding-bottom: .5rem;
}
.navbar-atf .navbar-brand img {
    display: block;
    height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.navbar-atf .nav-link {
    color: var(--atf-ink);
    font-weight: 600;
    padding: .6rem 1rem !important;
    border-radius: 50rem;
    transition: color .18s ease, background-color .18s ease;
}
.navbar-atf .nav-link:hover,
.navbar-atf .nav-link.active { color: var(--atf-emerald); background: rgba(22,184,166,.1); }
.navbar-atf .dropdown-menu {
    border: 0;
    border-radius: 1rem;
    box-shadow: var(--atf-shadow);
    padding: .5rem;
}
.navbar-atf .dropdown-item { border-radius: .6rem; font-weight: 500; padding: .55rem .9rem; }
.navbar-atf .dropdown-item:hover { background: rgba(22,184,166,.1); color: var(--atf-emerald); }
.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------------------------------------------------------------- hero */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    color: #fff;
    background: var(--atf-deep);
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
    background-size: cover;
    background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide .hs-tint {
    position: absolute;
    inset: 0;
    opacity: .5;
}
.hero::after { content: none; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(6,78,59,.94) 8%, rgba(8,127,91,.72) 45%, rgba(22,184,166,.35) 100%);
}
.hero .container { position: relative; z-index: 3; }
.hero-captions { display: grid; }
.hero-content {
    grid-area: 1 / 1;
    max-width: 720px;
    padding: 5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .8s ease, transform .8s ease, visibility .8s ease;
}
.hero-content.active {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(242,193,78,.2);
    color: var(--atf-gold);
    border: 1px solid rgba(242,193,78,.5);
    padding: .4rem 1rem;
    border-radius: 50rem;
    font-weight: 600;
    font-size: .85rem;
    margin-bottom: 1.25rem;
}
.hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 4rem);
    line-height: 1.08;
    text-shadow: 0 3px 30px rgba(0,0,0,.28);
}
.hero p.lead { color: rgba(255,255,255,.92); font-size: 1.15rem; max-width: 620px; }
.hero-dots {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .55rem;
    z-index: 4;
}
.hero-dots button {
    width: 34px; height: 6px;
    border: 0; border-radius: 50rem;
    background: rgba(255,255,255,.35);
    transition: background-color .2s ease, width .2s ease;
}
.hero-dots button.active { background: var(--atf-gold); width: 52px; }

/* ---------------------------------------------------------------- quick cards */
.quick-cards { margin-top: -4.5rem; position: relative; z-index: 5; }
.quick-card {
    border: 0;
    border-radius: var(--atf-radius);
    box-shadow: var(--atf-shadow);
    overflow: hidden;
    height: 100%;
    transition: transform .25s ease;
    background: #fff;
}
.quick-card:hover { transform: translateY(-6px); }
.quick-card .quick-img { height: 150px; object-fit: cover; width: 100%; }
.quick-card .quick-icon {
    width: 54px; height: 54px;
    border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin: -34px auto 0;
    position: relative;
    color: #fff;
    box-shadow: var(--atf-shadow-sm);
}

/* ---------------------------------------------------------------- sections */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .78rem;
    color: var(--atf-emerald);
    margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--atf-gold); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.section-sub { color: var(--atf-muted); max-width: 720px; }
.bg-pattern-emerald { background: var(--atf-emerald); color: #fff; }
.bg-pattern-soft { background: var(--atf-grey); }

/* ---------------------------------------------------------------- service cards */
.service-card {
    background: #fff;
    border-radius: var(--atf-radius);
    border: 1px solid rgba(6,78,59,.07);
    box-shadow: var(--atf-shadow-sm);
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 6px;
    background: var(--accent, var(--atf-emerald));
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--atf-shadow); }
.service-icon {
    width: 66px; height: 66px;
    border-radius: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    background: var(--accent, var(--atf-emerald));
    margin-bottom: 1.25rem;
}
.service-card h5 { margin-bottom: .6rem; }
.service-card p { color: var(--atf-muted); margin-bottom: 1rem; }
.service-card .stretched-link::after { border-radius: var(--atf-radius); }

/* ---------------------------------------------------------------- hero split / about */
.about-img-wrap { position: relative; }
.about-img {
    border-radius: var(--atf-radius);
    box-shadow: var(--atf-shadow);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}
.about-badge {
    position: absolute;
    right: -1rem; bottom: -1rem;
    background: var(--atf-gold);
    color: var(--atf-deep);
    border-radius: 1rem;
    padding: 1.1rem 1.4rem;
    box-shadow: var(--atf-shadow);
    text-align: center;
}
.about-badge .num { font-size: 1.9rem; font-weight: 800; line-height: 1; }
.about-badge .lbl { font-size: .8rem; font-weight: 600; }
.about-list li { margin-bottom: .65rem; padding-left: 1.9rem; position: relative; }
.about-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute; left: 0; top: .1rem;
    color: var(--atf-turquoise);
}

/* ---------------------------------------------------------------- impact */
.impact-section {
    background:
        radial-gradient(1100px 400px at 12% 10%, rgba(22,184,166,.28), transparent 60%),
        radial-gradient(900px 400px at 92% 90%, rgba(242,193,78,.22), transparent 60%),
        linear-gradient(135deg, var(--atf-deep), var(--atf-emerald));
    color: #fff;
    position: relative;
    overflow: hidden;
}
.impact-card {
    text-align: center;
    padding: 1.75rem 1rem;
    border-radius: var(--atf-radius);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(3px);
    height: 100%;
    transition: transform .25s ease, background-color .25s ease;
}
.impact-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.14); }
.impact-icon {
    width: 62px; height: 62px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.55rem;
    color: var(--atf-deep);
    background: var(--icon-color, var(--atf-gold));
    box-shadow: 0 12px 30px -12px rgba(0,0,0,.5);
}
.impact-value { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.impact-label { font-weight: 600; margin-top: .4rem; }
.impact-date { font-size: .78rem; color: rgba(255,255,255,.7); }

/* ---------------------------------------------------------------- featured / news */
.feature-card, .news-card {
    border: 0;
    border-radius: var(--atf-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--atf-shadow-sm);
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover, .news-card:hover { transform: translateY(-6px); box-shadow: var(--atf-shadow); }
.feature-card .card-img-wrap, .news-card .card-img-wrap { position: relative; overflow: hidden; }
.feature-card img, .news-card img { height: 220px; width: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-card:hover img, .news-card:hover img { transform: scale(1.06); }
.card-tag {
    position: absolute; top: .9rem; left: .9rem;
    background: var(--atf-gold);
    color: var(--atf-deep);
    font-weight: 700; font-size: .72rem;
    padding: .3rem .75rem; border-radius: 50rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.news-date {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .8rem; color: var(--atf-muted); font-weight: 600;
}
.card-play {
    position: absolute; bottom: .9rem; right: .9rem;
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.6rem; height: 2.6rem; border-radius: 50%;
    background: rgba(6,78,59,.85); color: #fff; font-size: .85rem;
    box-shadow: 0 6px 18px -8px rgba(0,0,0,.6);
    transition: transform .2s ease, background-color .2s ease;
}
.news-card:hover .card-play { transform: scale(1.1); background: var(--atf-coral); }

/* article video embed */
.article-video {
    border-radius: var(--atf-radius, 1rem);
    overflow: hidden;
    box-shadow: 0 18px 40px -22px rgba(6,78,59,.6);
    background: #000;
}
.article-video iframe, .article-video video { border: 0; }
.video-preview { max-width: 640px; }
.video-preview {
    border-radius: .75rem; overflow: hidden; background: #000;
    box-shadow: 0 12px 30px -20px rgba(6,78,59,.6);
}
.news-card .card-body { padding: 1.5rem; }
.news-card h5 { font-size: 1.1rem; line-height: 1.35; }
.read-more { color: var(--atf-emerald); font-weight: 700; }
.read-more:hover { color: var(--atf-coral); }

/* ---------------------------------------------------------------- involved CTA */
.involved-card {
    border-radius: var(--atf-radius);
    padding: 2.2rem;
    color: #fff;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease;
}
.involved-card:hover { transform: translateY(-6px); }
.involved-card .ic { font-size: 2.4rem; margin-bottom: 1rem; }
.involved-1 { background: linear-gradient(135deg, var(--atf-emerald), var(--atf-turquoise)); }
.involved-2 { background: linear-gradient(135deg, #d99f2e, var(--atf-gold)); color: var(--atf-deep); }
.involved-3 { background: linear-gradient(135deg, #e2604a, var(--atf-coral)); }

/* ---------------------------------------------------------------- gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 991px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 1/1;
    box-shadow: var(--atf-shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(6,78,59,.82), transparent 65%);
    opacity: 0; transition: opacity .3s ease;
    display: flex; align-items: flex-end; padding: 1rem; color: #fff;
}
.gallery-item:hover .overlay { opacity: 1; }

/* ---------------------------------------------------------------- page hero */
.page-hero {
    position: relative;
    padding: 7.5rem 0 4.5rem;
    background: linear-gradient(120deg, var(--atf-deep), var(--atf-emerald));
    color: #fff;
    overflow: hidden;
}
.page-hero.with-image { background-size: cover; background-position: center; }
.page-hero .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(6,78,59,.92), rgba(8,127,91,.72));
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb-atf { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); }
.breadcrumb-atf a { color: var(--atf-gold); }
.breadcrumb-atf .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ---------------------------------------------------------------- content */
.content-body { font-size: 1.05rem; line-height: 1.85; color: #33433e; }
.content-body h2, .content-body h3 { margin-top: 2rem; margin-bottom: 1rem; color: var(--atf-deep); }
.content-body h3 { font-size: 1.35rem; }
.content-body ul, .content-body ol { padding-left: 1.3rem; }
.content-body li { margin-bottom: .45rem; }
.content-body a { color: var(--atf-emerald); font-weight: 600; }

.sidebar-card {
    border: 0;
    border-radius: var(--atf-radius);
    box-shadow: var(--atf-shadow-sm);
    overflow: hidden;
}
.sidebar-card .card-header { background: var(--atf-emerald); color: #fff; font-weight: 700; }
.sidebar-list a { display: block; padding: .7rem .25rem; border-bottom: 1px solid rgba(6,78,59,.08); color: var(--atf-ink); font-weight: 500; }
.sidebar-list a:hover { color: var(--atf-emerald); padding-left: .6rem; transition: padding .2s ease; }

/* ---------------------------------------------------------------- branch cards */
.branch-card {
    border: 0;
    border-radius: var(--atf-radius);
    box-shadow: var(--atf-shadow-sm);
    height: 100%;
    border-top: 5px solid var(--atf-turquoise);
    transition: transform .25s ease;
}
.branch-card:hover { transform: translateY(-6px); }
.branch-card .flag { font-size: 1.4rem; color: var(--atf-emerald); }

/* ---------------------------------------------------------------- forms */
.form-control, .form-select {
    border-radius: .85rem;
    border: 1.5px solid #dde5e2;
    padding: .8rem 1rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--atf-turquoise);
    box-shadow: 0 0 0 .2rem rgba(22,184,166,.18);
}
.form-label { font-weight: 600; color: var(--atf-deep); }
.contact-card {
    border: 0; border-radius: var(--atf-radius);
    box-shadow: var(--atf-shadow);
    padding: 2rem;
}
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.contact-info-item .ic {
    flex: 0 0 48px; height: 48px;
    border-radius: .9rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(22,184,166,.12); color: var(--atf-emerald); font-size: 1.2rem;
}

/* ---------------------------------------------------------------- donate */
.donate-bank {
    border-radius: var(--atf-radius);
    background: linear-gradient(135deg, var(--atf-deep), var(--atf-emerald));
    color: #fff; padding: 2rem;
}
.donate-bank .acct { font-size: 2rem; font-weight: 800; letter-spacing: .06em; }
.donate-step {
    display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px dashed rgba(6,78,59,.15);
}
.donate-step .n {
    flex: 0 0 40px; height: 40px; border-radius: 50%;
    background: var(--atf-gold); color: var(--atf-deep);
    display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.donate-online .card-header { background: var(--atf-emerald); color: #fff; font-weight: 700; }
.donate-amounts { display: flex; flex-wrap: wrap; gap: .5rem; }
.donate-amount {
    border: 1px solid rgba(6,78,59,.18); background: #fff; color: var(--atf-deep);
    border-radius: 999px; padding: .4rem 1.1rem; font-weight: 600; font-size: .9rem;
    cursor: pointer; transition: all .15s ease;
}
.donate-amount:hover { border-color: var(--atf-emerald); color: var(--atf-emerald); }
.donate-amount.active { background: var(--atf-emerald); border-color: var(--atf-emerald); color: #fff; }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--atf-deep); color: rgba(255,255,255,.78); padding-top: 4rem; }
.footer h6 { color: #fff; font-weight: 700; margin-bottom: 1.2rem; letter-spacing: .02em; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: var(--atf-gold); }
.footer .footer-logo { display: block; height: 56px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: .6rem; }
.footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 3rem; padding: 1.4rem 0;
    font-size: .88rem;
}
.footer .social a {
    display: inline-flex; width: 2.2rem; height: 2.2rem;
    align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,.1); margin-right: .4rem;
}
.footer .social a:hover { background: var(--atf-gold); color: var(--atf-deep); }
.footer-contact li { display: flex; gap: .7rem; }

/* ---------------------------------------------------------------- misc */
.divider-wave { display: block; width: 100%; height: 40px; }
.stat-strip { background: var(--atf-cream); }
.chip {
    display: inline-block; padding: .35rem .8rem; border-radius: 50rem;
    background: rgba(22,184,166,.12); color: var(--atf-emerald);
    font-weight: 600; font-size: .8rem; margin: 0 .3rem .5rem 0;
}
.avatar-circle {
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--atf-emerald); color: #fff; font-weight: 700;
}
.accordion-button:not(.collapsed) { background: rgba(22,184,166,.1); color: var(--atf-emerald); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }

/* ---------------------------------------------------------------- reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 991.98px) {
    .hero { min-height: 80vh; }
    .quick-cards { margin-top: 2.5rem; }
    .section { padding: 3.5rem 0; }
    .navbar-atf .navbar-brand img { height: 52px; }
}

/* ---------------------------------------------------------------- testimonials */
.testimonials-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(22, 184, 166, .10), transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(242, 193, 78, .16), transparent 45%),
        linear-gradient(180deg, #FFFDF7 0%, var(--atf-grey) 100%);
}
.testimonials-section .ts-watermark {
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15rem;
    line-height: 1;
    color: rgba(8, 127, 91, .045);
    pointer-events: none;
    z-index: 0;
}
.testimonials-section .container { position: relative; z-index: 1; }

.testimonial-card {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 2.5rem 2rem 2rem;
    background: var(--atf-white);
    border: 1px solid rgba(6, 78, 59, .07);
    border-radius: 1.5rem;
    box-shadow: 0 18px 44px rgba(6, 78, 59, .07);
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
.testimonial-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: var(--accent, linear-gradient(135deg, var(--atf-emerald), var(--atf-turquoise)));
    transform: scaleX(.22);
    transform-origin: left center;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 62px rgba(6, 78, 59, .16);
}
.testimonial-card:hover::before { transform: scaleX(1); }
.testimonial-card .quote-mark {
    position: absolute;
    top: 1.15rem;
    right: 1.35rem;
    font-size: 3.4rem;
    line-height: 1;
    color: rgba(8, 127, 91, .08);
    transition: color .35s ease, transform .35s ease;
}
.testimonial-card:hover .quote-mark {
    color: rgba(8, 127, 91, .18);
    transform: scale(1.08) rotate(-5deg);
}
.testimonial-card .t-rating {
    display: flex;
    gap: .2rem;
    margin-bottom: 1rem;
    color: var(--atf-gold);
    font-size: .82rem;
}
.testimonial-card .t-rating .fa-regular { color: rgba(6, 78, 59, .18); }
.testimonial-card .t-quote {
    position: relative;
    margin: 0 0 1.65rem;
    color: var(--atf-ink);
    font-size: 1.06rem;
    line-height: 1.75;
}
.testimonial-card .t-quote p { margin: 0; }
.testimonial-card .t-person {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(6, 78, 59, .08);
}
.testimonial-card .t-avatar {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    padding: 3px;
    border-radius: 50%;
    background: var(--accent, linear-gradient(135deg, var(--atf-emerald), var(--atf-turquoise)));
    display: inline-flex;
}
.testimonial-card .t-avatar img,
.testimonial-card .t-initial {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.testimonial-card .t-avatar img { object-fit: cover; border: 2px solid var(--atf-white); }
.testimonial-card .t-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--atf-white);
    border: 2px solid var(--atf-white);
    color: var(--atf-emerald-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}
.testimonial-card .t-meta { min-width: 0; }
.testimonial-card .t-meta strong {
    display: block;
    color: var(--atf-deep);
    font-size: 1rem;
    font-weight: 600;
}
.testimonial-card .t-meta span {
    display: block;
    color: var(--atf-muted);
    font-size: .82rem;
    line-height: 1.4;
}

@media (min-width: 992px) {
    .testimonials-section .row > *:nth-child(3n + 2) { margin-top: 2rem; }
}

/* ===================== EVENTS ===================== */
.event-card {
    position: relative;
    height: 100%;
    background: var(--atf-white);
    border: 1px solid rgba(6, 78, 59, .08);
    border-radius: var(--atf-radius);
    overflow: hidden;
    box-shadow: var(--atf-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.event-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: var(--accent, linear-gradient(90deg, var(--atf-emerald), var(--atf-turquoise)));
    z-index: 2;
}
.event-card:hover { transform: translateY(-5px); box-shadow: var(--atf-shadow); }
.event-card .event-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.event-card .event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.event-card:hover .event-media img { transform: scale(1.05); }
.event-media-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--atf-deep), var(--atf-emerald));
    color: rgba(255, 255, 255, .85);
    font-size: 2.6rem;
}
.event-date {
    position: absolute;
    left: 14px;
    bottom: -18px;
    width: 62px;
    padding: .4rem .25rem .5rem;
    border-radius: .85rem;
    background: var(--atf-white);
    box-shadow: var(--atf-shadow-sm);
    text-align: center;
    line-height: 1;
    z-index: 3;
}
.event-date .ed-day {
    display: block;
    color: var(--atf-emerald-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.55rem;
}
.event-date .ed-mon {
    display: block;
    margin-top: .2rem;
    color: var(--atf-coral);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.event-card .event-card-body { padding: 1.9rem 1.4rem 1.5rem; }
.event-card .event-card-body h5 { color: var(--atf-deep); }
.event-card .event-card-body h5 a { text-decoration: none; }
.event-card .event-card-body h5 a:hover { color: var(--atf-emerald); }
.event-meta {
    list-style: none;
    margin: 0 0 .85rem;
    padding: 0;
}
.event-meta li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    color: var(--atf-muted);
    font-size: .86rem;
    line-height: 1.5;
    margin-bottom: .35rem;
}
.event-meta li i { margin-top: .22rem; }

.event-past {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    height: 100%;
    background: var(--atf-white);
    border: 1px solid rgba(6, 78, 59, .08);
    border-radius: 1rem;
    box-shadow: var(--atf-shadow-sm);
    transition: transform .2s ease;
}
.event-past:hover { transform: translateY(-3px); }
.event-past .ep-date {
    flex: 0 0 auto;
    width: 66px;
    padding: .5rem .25rem;
    border-radius: .8rem;
    background: var(--atf-grey);
    text-align: center;
    line-height: 1.05;
}
.event-past .ep-date span {
    display: block;
    color: var(--atf-muted);
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.event-past .ep-date strong {
    display: block;
    color: var(--atf-deep);
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
}
.event-past .ep-body h5 a { text-decoration: none; }

.event-detail-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    background: var(--atf-grey);
    border: 1px solid rgba(6, 78, 59, .08);
}
.event-detail-bar > div {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--atf-ink);
    font-weight: 500;
    font-size: .92rem;
}
.event-detail-bar i { color: var(--atf-turquoise); }

.event-empty {
    width: 84px;
    height: 84px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--atf-grey);
    color: var(--atf-emerald);
    font-size: 2rem;
}

/* ---------------------------------------------------------------- members directory */
.member-card {
    background: #fff;
    border: 1px solid var(--atf-grey);
    border-radius: var(--atf-radius, 1rem);
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: 0 12px 30px -24px rgba(6,78,59,.5);
    transition: transform .25s ease, box-shadow .25s ease;
}
.member-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--atf-shadow);
    border-color: rgba(8,127,91,.35);
}
.member-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #087F5B, #16B8A6);
    color: #fff;
    font-weight: 700;
    font-size: 1.6rem;
    box-shadow: 0 10px 22px -12px rgba(8,127,91,.8);
}
.member-card h5 {
    margin-bottom: .25rem;
    font-size: 1.05rem;
    color: var(--atf-deep);
}
.member-type {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--atf-emerald);
    background: rgba(8,127,91,.1);
    padding: .2rem .7rem;
    border-radius: 50rem;
    margin-bottom: .75rem;
}
.member-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .85rem;
    color: var(--atf-muted);
}
.member-meta li { margin-top: .3rem; }
.member-meta i { color: var(--atf-turquoise); width: 1rem; }



