/* ============================================================
   JAHLAL FOUNDATION — style.css
   Gold Theme | UK Non-Profit Charity
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --gold: #b8972e;
    --gold-light: #d4af47;
    --gold-pale: #f4e8c1;
    --gold-dark: #8a6f1e;
    --black: #0d0d0d;
    --charcoal: #1a1a1a;
    --dark-grey: #2c2c2c;
    --mid-grey: #5a5a5a;
    --light-grey: #f5f3ee;
    --white: #ffffff;
    --cream: #faf7f2;
    --border: rgba(184, 151, 46, 0.2);
    --shadow-gold: 0 4px 30px rgba(184, 151, 46, 0.15);
    --shadow-dark: 0 8px 40px rgba(0, 0, 0, 0.12);
    --font-display: "Playfair Display", Georgia, serif;
    --font-serif: "Source Serif 4", Georgia, serif;
    --font-body: "Lato", "Helvetica Neue", sans-serif;
    --transition: 0.3s ease;
    --radius: 6px;
    --radius-lg: 12px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--black);
    font-weight: 600;
    line-height: 1.25;
}

p {
    color: var(--mid-grey);
    margin-bottom: 1rem;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--gold-dark);
}

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

section {
    padding: 90px 0;
}

/* ---------- Utility ---------- */
.text-gold {
    color: var(--gold) !important;
}
.bg-gold {
    background-color: var(--gold) !important;
}
.bg-black {
    background-color: var(--black) !important;
}
.bg-cream {
    background-color: var(--cream) !important;
}
.bg-charcoal {
    background-color: var(--charcoal) !important;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.2rem;
}

.section-title span {
    color: var(--gold);
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--mid-grey);
    max-width: 600px;
    line-height: 1.8;
}

.divider-gold {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 1rem 0 1.5rem;
    border: none;
}

.divider-gold.center {
    margin: 1rem auto 1.5rem;
}

/* ---------- Buttons ---------- */
.btn-gold {
    background: var(--gold);
    color: var(--white);
    border: 2px solid var(--gold);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 34px;
    border-radius: var(--radius);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(184, 151, 46, 0.35);
}

.btn-gold-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 34px;
    border-radius: var(--radius);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-gold-outline:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 34px;
    border-radius: var(--radius);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-white-outline:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-donate {
    background: var(--gold);
    color: var(--white) !important;
    border: 2px solid var(--gold);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: var(--radius);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-donate:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* ---------- Top Bar ---------- */
.topbar {
    background: var(--charcoal);
    padding: 9px 0;
    font-size: 0.82rem;
}
.topbar a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition);
}
.topbar a:hover {
    color: var(--gold);
}
.topbar-right a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    font-size: 0.8rem;
}

/* ---------- Navbar ---------- */
#mainNav {
    background: var(--black);
    padding: 5px 0;
    border-bottom: 1px solid rgba(184, 151, 46, 0.2);
    transition: all 0.4s ease;
    z-index: 999;
}
#mainNav.scrolled {
    padding: 0px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-logo {
    height: 56px;
    transition: height var(--transition);
}
#mainNav.scrolled .nav-logo {
    height: 46px;
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 8px 14px !important;
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
}
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold) !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}
.navbar-nav .nav-link.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    background: var(--charcoal);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    min-width: 240px;
    box-shadow: var(--shadow-dark);
    margin-top: 8px;
}
.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 4px;
    transition: all var(--transition);
    display: flex;
    align-items: center;
}
.dropdown-item:hover {
    background: rgba(184, 151, 46, 0.15);
    color: var(--gold);
}
.dropdown-divider {
    border-color: var(--border);
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
    background: var(--black);
    padding: 100px 0 70px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1520769669658-f07657f5a307?w=1600&q=80")
        center/cover no-repeat;
    opacity: 0.5;
    background-repeat: no-repeat;
    background-origin: cover;
    background-position: bottom;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--white);
    margin-bottom: 0.5rem;
}
.page-hero h1 span {
    color: var(--gold);
}
.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}
.breadcrumb-item {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}
.breadcrumb-item.active {
    color: var(--gold);
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.35);
}
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
}
.breadcrumb-item a:hover {
    color: var(--gold);
}

/* ============================================================
   HOME PAGE
   ============================================================ */

/* Hero Slider */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 80px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184, 151, 46, 0.2);
    border: 1px solid rgba(184, 151, 46, 0.4);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-title span {
    color: var(--gold-light);
    font-style: italic;
}
.hero-desc {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    line-height: 1.85;
    margin-bottom: 2.5rem;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}
.hero-dot.active {
    background: var(--gold);
    width: 28px;
    border-radius: 5px;
}

/* Ticker */
.ticker-bar {
    background: var(--gold);
    padding: 12px 0;
    overflow: hidden;
}
.ticker-label {
    background: var(--black);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 18px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}
.ticker-inner {
    overflow: hidden;
    flex: 1;
}
.ticker-track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}
.ticker-item {
    color: var(--black);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.ticker-item .bi {
    font-size: 0.9rem;
}
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Stats Banner */
.stats-banner {
    background: var(--charcoal);
    padding: 0;
    position: relative;
}
.stat-item {
    padding: 50px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
}
.stat-item:last-child {
    border-right: none;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 0.4rem;
    display: block;
}
.stat-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* Mission Section */
.mission-section {
    background: var(--cream);
}
.mission-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.mission-image-wrap img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
}
.mission-badge-float {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold);
    color: var(--white);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-display);
    box-shadow: 0 8px 30px rgba(184, 151, 46, 0.4);
}
.mission-badge-float .num {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}
.mission-badge-float .lbl {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    opacity: 0.9;
    margin-top: 4px;
}
.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--mid-grey);
}
.mission-list li:last-child {
    border-bottom: none;
}
.mission-list .icon-wrap {
    width: 36px;
    height: 36px;
    background: var(--gold-pale);
    color: var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Services Cards */
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: var(--gold);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gold-pale);
    color: var(--gold);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--white);
}
.service-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    color: var(--black);
}
.service-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
}
.service-link {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}
.service-link:hover {
    gap: 10px;
    color: var(--gold-dark);
}

/* Impact Section */
.impact-section {
    background: var(--black);
    position: relative;
    overflow: hidden;
}
.impact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1400&q=60")
        center/cover;
    opacity: 0.08;
}
.impact-content {
    position: relative;
    z-index: 1;
}

/* Donate CTA */
.donate-section {
    background: var(--gold);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.donate-section::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}
.donate-section::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
}
.donate-content {
    position: relative;
    z-index: 1;
}
.qr-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    max-width: 200px;
    margin: 0 auto;
}
.qr-card img {
    width: 100%;
    border-radius: var(--radius);
}
.qr-card p {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin: 10px 0 0;
}

/* Blog Cards */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-dark);
}
.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.blog-card-body {
    padding: 28px;
}
.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 0.8rem;
    font-size: 0.78rem;
    color: var(--mid-grey);
}
.blog-meta .cat {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.blog-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    transition: color var(--transition);
}
.blog-card:hover h4 {
    color: var(--gold);
}
.blog-card p {
    font-size: 0.9rem;
}
.blog-read-more {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.blog-read-more:hover {
    gap: 10px;
    color: var(--gold-dark);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-values .value-item {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}
.about-values .value-item:hover {
    background: var(--cream);
    border-color: var(--gold);
    transform: translateY(-4px);
}
.value-icon {
    width: 70px;
    height: 70px;
    background: var(--gold-pale);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 1.2rem;
}
.team-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.team-card:hover {
    box-shadow: var(--shadow-gold);
    border-color: var(--gold);
    transform: translateY(-4px);
}
.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--gold-pale);
    border-radius: 50%;
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gold);
    margin: 0 auto 1.2rem;
}
.team-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}
.team-card .role {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

/* ============================================================
   SERVICES PAGES
   ============================================================ */
.service-detail-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    height: 100%;
    position: relative;
    transition: all 0.4s ease;
}
.service-detail-card:hover {
    box-shadow: var(--shadow-gold);
    border-color: var(--gold);
}
.service-detail-card .number {
    position: absolute;
    top: 28px;
    right: 28px;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold-pale);
    line-height: 1;
}
.service-detail-card .icon-lg {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gold-pale), #fffbe9);
    color: var(--gold);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}
.service-detail-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}
.service-detail-card ul {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
}
.service-detail-card ul li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--mid-grey);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.service-detail-card ul li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}
.info-banner {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--black) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid .blog-card-img {
    height: 240px;
}
.blog-detail-hero img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}
.blog-content {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.9;
}
.blog-content h2,
.blog-content h3 {
    font-family: var(--font-display);
    margin: 2rem 0 1rem;
}
.blog-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 16px 24px;
    margin: 2rem 0;
    background: var(--cream);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.blog-content blockquote p {
    color: var(--charcoal);
    font-style: italic;
    margin: 0;
}
.sidebar-widget {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 28px;
}
.sidebar-widget h5 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card {
    background: var(--charcoal);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
}
.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 0.6rem;
}
.contact-info-card .subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.contact-detail-item:last-child {
    border-bottom: none;
}
.contact-detail-item .ci-icon {
    width: 46px;
    height: 46px;
    background: rgba(184, 151, 46, 0.15);
    border: 1px solid rgba(184, 151, 46, 0.3);
    color: var(--gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-detail-item .ci-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 3px;
}
.contact-detail-item .ci-value {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}
.contact-detail-item .ci-value a {
    color: rgba(255, 255, 255, 0.85);
}
.contact-detail-item .ci-value a:hover {
    color: var(--gold);
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-dark);
}
.contact-form-card h3 {
    margin-bottom: 0.4rem;
}
.contact-form-card .subtitle {
    color: var(--mid-grey);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.form-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 6px;
}
.form-control,
.form-select {
    border: 1.5px solid #e0d9ca;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--cream);
    transition: all var(--transition);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 151, 46, 0.12);
    background: var(--white);
    outline: none;
}
.form-control::placeholder {
    color: #bbb;
}
textarea.form-control {
    resize: vertical;
    min-height: 140px;
}
.form-feedback {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    display: none;
    margin-top: 1rem;
}
.form-feedback.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.form-feedback.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* ============================================================
   DONATE PAGE
   ============================================================ */
.donate-page {
    background: var(--cream);
}
.donate-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 50px 44px;
    text-align: center;
}
.donate-qr-wrap {
    display: inline-block;
    background: var(--white);
    border: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin: 2rem 0;
    box-shadow: var(--shadow-gold);
}
.donate-qr-wrap img {
    width: 220px;
    height: 220px;
    display: block;
}
.donate-amount-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem 0;
}
.amount-pill {
    padding: 10px 22px;
    border: 2px solid var(--border);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--mid-grey);
    cursor: pointer;
    transition: all var(--transition);
    background: var(--white);
}
.amount-pill:hover,
.amount-pill.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--black);
}
.footer-top {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-logo {
    /* height: 52px; */
    width: 150px;
}
.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0;
}
.footer-social .social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: all var(--transition);
}
.footer-social .social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-heading {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links a::before {
    content: "\F285";
    font-family: "bootstrap-icons";
    font-size: 0.6rem;
    color: var(--gold);
}
.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-contact li:last-child {
    border-bottom: none;
}
.footer-contact .bi {
    color: var(--gold);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-contact span,
.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    line-height: 1.5;
}
.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 22px 0;
    background: rgba(0, 0, 0, 0.4);
}
.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.83rem;
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.83rem;
}
.footer-bottom a:hover {
    color: var(--gold);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition);
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(184, 151, 46, 0.45);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up:nth-child(2) {
    transition-delay: 0.1s;
}
.fade-up:nth-child(3) {
    transition-delay: 0.2s;
}
.fade-up:nth-child(4) {
    transition-delay: 0.3s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    section {
        padding: 70px 0;
    }
    .hero-section {
        height: auto;
        min-height: 100vh;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    .stat-item:last-child {
        border-bottom: none;
    }
    .mission-badge-float {
        bottom: 10px;
        right: 10px;
        width: 100px;
        height: 100px;
    }
    .mission-badge-float .num {
        font-size: 1.5rem;
    }
    .navbar-nav {
        padding: 1rem 0;
    }
    .navbar-nav .nav-link {
        padding: 10px 6px !important;
    }
    .navbar-nav .nav-link::after {
        display: none;
    }
    .contact-form-card {
        padding: 32px 24px;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 55px 0;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .page-hero {
        padding: 80px 0 50px;
    }
    .mission-image-wrap img {
        height: 320px;
    }
    .ticker-label {
        display: none;
    }
    .donate-card {
        padding: 32px 24px;
    }
    .info-banner {
        padding: 28px 20px;
    }
}



/* ── Media Page Exclusive Styles ───────────────────────── */
/* Hero */
.media-hero {
    background: var(--black);
    padding: 110px 0 80px;
    position: relative;
    overflow: hidden;
}

.media-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1600&q=60")
        center/cover no-repeat;
    opacity: 0.1;
}

.media-hero-content {
    position: relative;
    z-index: 1;
}

/* Filter Bar */
.filter-bar-wrap {
    background: var(--white);
    position: sticky;
    top: 72px;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    padding: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 28px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mid-grey);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    position: relative;
}

.filter-btn .count {
    background: var(--gold-pale);
    color: var(--gold-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    color: var(--gold);
    background: var(--cream);
}

.filter-btn.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: var(--cream);
}

.filter-btn.active .count {
    background: var(--gold);
    color: var(--white);
}

.filter-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
    flex-shrink: 0;
}

.filter-search-wrap {
    margin-left: auto;
    padding: 10px 24px;
    flex-shrink: 0;
}

.filter-search {
    border: 1.5px solid var(--border);
    border-radius: 30px;
    padding: 8px 16px 8px 38px;
    font-size: 0.82rem;
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--cream);
    width: 200px;
    transition: all 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23B8972E' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.099zm-5.44 1.406a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
}

.filter-search:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 151, 46, 0.1);
    width: 240px;
}

/* Stats strip */
.gallery-stats {
    padding: 20px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.gallery-stat-text {
    font-size: 0.85rem;
    color: var(--mid-grey);
}

.gallery-stat-text strong {
    color: var(--gold);
}

.view-toggle {
    display: flex;
    gap: 6px;
}

.view-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--mid-grey);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.view-btn.active,
.view-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* Gallery Grid */
.gallery-grid {
    columns: 4;
    column-gap: 14px;
}

.gallery-grid.view-3 {
    columns: 3;
}

.gallery-grid.view-2 {
    columns: 2;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 14px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    display: block;
}

/* Hide filtered items */
.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

/* Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-top {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s ease 0.05s;
}

.gallery-item:hover .gallery-overlay-top {
    opacity: 1;
    transform: translateY(0);
}

.gallery-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.gallery-tag.uk {
    background: rgba(184, 151, 46, 0.85);
    color: var(--white);
}

.gallery-tag.bd {
    background: rgba(0, 106, 78, 0.85);
    color: var(--white);
}

.gallery-tag.both {
    background: rgba(50, 50, 50, 0.85);
    color: var(--white);
}

.gallery-zoom-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.gallery-zoom-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.gallery-overlay-bottom {
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease 0.05s;
}

.gallery-item:hover .gallery-overlay-bottom {
    opacity: 1;
    transform: translateY(0);
}

.gallery-caption {
    font-family: var(--font-serif);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin: 0 0 4px;
    font-weight: 600;
}

.gallery-location {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* No results */
.no-results {
    display: none;
    text-align: center;
    padding: 80px 20px;
}

.no-results .icon {
    font-size: 3.5rem;
    color: var(--gold-pale);
    margin-bottom: 1rem;
}

.no-results h4 {
    color: var(--mid-grey);
    font-size: 1.2rem;
}

/* Fancybox custom overrides */
.fancybox__caption {
    font-family: var(--font-serif) !important;
    font-size: 0.95rem !important;
}

.fancybox__toolbar {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7),
        transparent
    ) !important;
}

/* Loading skeleton */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0ebe0 25%, #e8e2d4 50%, #f0ebe0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: var(--radius-lg);
    margin-bottom: 14px;
}

/* Section intro */
.gallery-section {
    background: var(--cream);
    padding: 60px 0 80px;
}

/* Responsive */
@media (max-width: 1200px) {
    .gallery-grid {
        columns: 3;
    }

    .gallery-grid.view-3 {
        columns: 3;
    }
}

@media (max-width: 991px) {
    .gallery-grid {
        columns: 2;
    }

    .gallery-grid.view-3 {
        columns: 2;
    }

    .gallery-grid.view-2 {
        columns: 2;
    }
}

@media (max-width: 575px) {
    .gallery-grid,
    .gallery-grid.view-3,
    .gallery-grid.view-2 {
        columns: 1;
    }

    .filter-search-wrap {
        display: none;
    }

    .filter-btn {
        padding: 14px 18px;
    }
}
