/* ═══════════════════════════════════════════════════
   Will2Live Theme — Main Stylesheet
   ═══════════════════════════════════════════════════ */

:root {
    --dark: #0a1628;
    --dark-blue: #1a3a5c;
    --primary: #2d6a9f;
    --primary-light: #3d8bc4;
    --accent: #48c6ef;
    --accent-dark: #36a8cc;
    --text: #1a1a2e;
    --text-light: #4b5563;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --light-bg: #f8fafc;
    --highlight-bg: #f0f7ff;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.1);
    --navy: #0a1628;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.25s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; margin-top: 0; }
p { margin-top: 0; }
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}
.text-center { text-align: center; }

/* ── Buttons ── */
.btn {
    display: inline-block;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.4;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 17px; padding: 14px 36px; }
.btn-sm { font-size: 13px; padding: 8px 20px; }
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--white);
}
.btn-accent {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}
.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--dark);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}
/* ── Site Header & Logo ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-logo-img {
    display: block;
    width: auto;
    height: 110px;
    max-width: 100%;
    transition: height 0.3s ease, opacity 0.3s ease;
}

/* Always use white/cyan logo — visible on all backgrounds */
.site-logo-white { display: block; }
.site-logo-color { display: none; }

.site-header.scrolled .site-logo-img {
    height: 70px;
}

@media (max-width: 992px) {
    .site-logo-img {
        height: 75px;
    }
    .site-header.scrolled .site-logo-img {
        height: 50px;
    }
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: 1100px;
    margin: 0 auto;
    transition: padding 0.3s ease;
}
.site-header.scrolled .header-inner {
    padding: 8px 24px;
}
.site-branding { flex-shrink: 0; }
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
}
.site-logo:hover { color: var(--accent); }
.site-logo-icon { font-size: 28px; }
.site-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}
.nav-menu li a {
    display: block;
    padding: 8px 14px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
}
.nav-menu li a:hover,
.nav-menu li.current_page_item a {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}
.nav-cta { margin-left: 8px; }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero Section ── */
.hero-section {
    color: var(--white);
    padding: 140px 0 120px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.55) 0%, rgba(26,58,92,0.40) 50%, rgba(45,106,159,0.25) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 16px;
}
.hero-accent {
    background: linear-gradient(135deg, #48c6ef, #6f86d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    max-width: 580px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Sections ── */
.section { padding: 60px 0; }
.section-highlight { background: var(--highlight-bg); }
.section-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}
.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 16px;
    max-width: 600px;
    margin: -24px auto 32px;
}

/* ── Mission Box ── */
.mission-box {
    background: linear-gradient(135deg, var(--dark), var(--dark-blue));
    color: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.mission-box h2 {
    font-size: 28px;
    margin-bottom: 20px;
}
.mission-box p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 650px;
    margin: 0 auto 16px;
}

/* ── Offer Grid (Redesigned — icons offset to side) ── */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.offer-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px 28px 28px;
    text-align: left;
    transition: var(--transition);
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    overflow: hidden;
}
.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.offer-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    color: var(--text);
}
.offer-card:hover::before {
    opacity: 1;
}
.offer-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(45,106,159,0.08), rgba(72,198,239,0.12));
    border-radius: 12px;
    font-size: 22px;
    color: var(--primary);
    transition: var(--transition);
}
.offer-card:hover .offer-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
}
.offer-card-body {
    flex: 1;
    min-width: 0;
}
.offer-card-body h3 {
    font-size: 17px;
    margin: 0 0 6px;
    font-weight: 600;
}
.offer-card-body p {
    font-size: 13.5px;
    color: var(--text-light);
    margin: 0 0 10px;
    line-height: 1.6;
}
.offer-link {
    font-weight: 600;
    color: var(--primary);
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.offer-card:hover .offer-link {
    color: var(--primary-light);
}

/* Offer Grid — Mobile */
@media (max-width: 992px) {
    .offer-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Team Grid (Home) ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}
.team-card {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
}
.team-img-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
}
.team-img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto;
}
.team-card h3 { font-size: 20px; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--primary); font-weight: 600; display: block; margin-bottom: 12px; }
.team-card p { font-size: 14px; color: var(--text-light); }

/* ── CTA Section ── */
.section-cta {
    background: linear-gradient(135deg, var(--dark), var(--dark-blue));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}
.section-cta h2 {
    font-size: clamp(28px, 3.5vw, 38px);
    margin-bottom: 12px;
}
.section-cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    max-width: 550px;
    margin: 0 auto 28px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Page Hero ── */
.page-hero {
    position: relative;
    background: url('../images/hero-bg.jpg') center / cover no-repeat;
    color: var(--white);
    padding: 130px 0 60px;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.50) 0%, rgba(26,58,92,0.35) 50%, rgba(45,106,159,0.20) 100%);
    z-index: 0;
}
.page-hero > * {
    position: relative;
    z-index: 1;
}
.page-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin: 0;
}
.page-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin-top: 8px;
}
.breadcrumb {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--accent); }

/* ── Page Content ── */
.page-content { max-width: 800px; }
.page-content h2 { font-size: 26px; margin: 32px 0 16px; }
.page-content h3 { font-size: 20px; margin: 24px 0 12px; }
.page-content p { margin-bottom: 16px; color: var(--text-light); }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 16px; }
.page-content li { margin-bottom: 8px; color: var(--text-light); }

/* ── About Page ── */
.about-intro { max-width: 800px; }
.about-intro h2 { font-size: 28px; margin-bottom: 16px; }
.about-intro p { font-size: 16px; color: var(--text-light); margin-bottom: 16px; }
.about-team { max-width: 800px; margin: 0 auto; }
.about-member {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    align-items: center;
}
.about-member-img { text-align: center; }

.about-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.team-avatar-lg {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto;
}
.about-member-text h3 { font-size: 22px; margin-bottom: 4px; }
.about-role { font-size: 14px; color: var(--primary); font-weight: 600; display: block; margin-bottom: 12px; }
.about-member-text p { font-size: 15px; color: var(--text-light); margin-bottom: 12px; }
.about-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 32px 0;
}
.about-us-block { max-width: 700px; margin: 0 auto; text-align: center; }
.about-us-block h2 { font-size: 28px; margin-bottom: 20px; }
.about-us-block p { font-size: 16px; color: var(--text-light); margin-bottom: 16px; }

/* ── Courses Page ── */
.courses-intro { max-width: 700px; margin: 0 auto 32px; }
.notice-box {
    background: var(--highlight-bg);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 15px;
}
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.course-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
}
.course-card-icon { font-size: 36px; margin-bottom: 12px; }
.course-card h3 { font-size: 18px; margin-bottom: 8px; }
.course-card p { font-size: 14px; color: var(--text-light); margin-bottom: 8px; }
.course-note { font-size: 13px; color: var(--gray-light); font-style: italic; }
.course-card-support {
    background: linear-gradient(135deg, #fefcf5, #fef7ec);
    border-color: #f0b27a;
}

/* ── Services Page ── */
.services-intro { max-width: 700px; margin: 0 auto 32px; text-align: center; font-size: 16px; color: var(--text-light); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    position: relative;
}
.service-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.service-badge-coming { background: var(--gray-light); }
.service-icon { font-size: 36px; margin-bottom: 12px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }

/* ── Donate Page ── */
.donate-icon { font-size: 48px; margin-bottom: 16px; }
.donate-intro { max-width: 650px; margin: 0 auto; }
.donate-intro h2 { font-size: 28px; margin-bottom: 16px; }
.donate-message { font-size: 16px; color: var(--text-light); margin-bottom: 12px; }
.donate-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}
.donate-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
}
.donate-card-icon { font-size: 40px; margin-bottom: 12px; }
.donate-card h3 { font-size: 18px; margin-bottom: 8px; }
.donate-card p { font-size: 14px; color: var(--text-light); margin-bottom: 8px; }
.donate-disclaimer { font-size: 13px; color: var(--gray-light); }
.donate-card-patreon { border-color: var(--primary); }

/* ── Blog Grid ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.blog-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.blog-card-body { padding: 24px; }
.blog-card-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
}
.blog-card-date { color: var(--gray); }
.blog-card-cat {
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 10px;
}
.blog-card-title {
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.4;
}
.blog-card-title a { color: var(--text); }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}
.blog-card-link {
    font-weight: 600;
    font-size: 14px;
}
.blog-pagination {
    margin-top: 40px;
    text-align: center;
    display: flex;
    gap: 4px;
    justify-content: center;
}
.blog-pagination a, .blog-pagination span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
}
.blog-pagination .current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.blog-pagination a:hover {
    background: var(--highlight-bg);
}

/* ── Single Post ── */
.post-meta {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}
.post-cat {
    background: rgba(255,255,255,0.15);
    padding: 2px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
.post-article { max-width: 100%; }
.post-article h2 { font-size: 24px; margin: 32px 0 16px; }
.post-article h3 { font-size: 19px; margin: 24px 0 12px; }
.post-article p { margin-bottom: 16px; color: var(--text-light); line-height: 1.8; }
.post-article ul, .post-article ol { padding-left: 24px; margin-bottom: 16px; color: var(--text-light); }
.post-article li { margin-bottom: 8px; }
.post-article blockquote {
    border-left: 4px solid var(--primary);
    margin: 24px 0;
    padding: 16px 24px;
    background: var(--highlight-bg);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-light);
}

/* ── Sidebar ── */
.single-post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}
.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.sidebar-card h3, .sidebar-card h4 {
    font-size: 16px;
    margin-bottom: 12px;
}
.sidebar-card p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }
.sidebar-cta {
    background: linear-gradient(135deg, var(--dark), var(--dark-blue));
    color: var(--white);
    border: none;
}
.sidebar-cta h3, .sidebar-cta p { color: var(--white); }
.sidebar-cta p { opacity: 0.8; }
.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-categories li { margin-bottom: 8px; }
.sidebar-categories a {
    font-size: 14px;
    padding: 4px 0;
    display: block;
    border-bottom: 1px solid var(--border);
}
.empty-state { text-align: center; padding: 60px 0; color: var(--gray); }

/* ── Footer ── */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}
.footer-heading {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 16px;
}
.footer-desc { font-size: 14px; line-height: 1.7; }
.footer-tagline {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    margin-top: 8px;
}
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav li { margin-bottom: 10px; }
.footer-nav a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}
.footer-nav a:hover { color: var(--accent); }
.footer-col p { font-size: 14px; margin-bottom: 8px; }
.footer-col p a { color: rgba(255,255,255,0.6); }
.footer-col p a:hover { color: var(--accent); }
.footer-cta { margin-top: 16px; }
.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 13px;
}
/* ── Our Story Image ── */
.our-story-img-wrapper {
    max-width: 700px;
    margin: 0 auto 28px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.our-story-img {
    display: block;
    width: 100%;
    height: auto;
}

/* ── Mobile Sticky CTA ── */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--accent);
    color: var(--dark);
    text-align: center;
    padding: 14px;
    font-weight: 700;
    font-size: 16px;
    z-index: 99;
    border: none;
}
.mobile-cta:hover { color: var(--dark); background: var(--accent-dark); }

/* ── ═══════════════════════════════════════════
   Responsive Breakpoints
   ═══════════════════════════════════════════ */

/* Tablet & Below */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .single-post-layout { grid-template-columns: 1fr; }
    .single-post-sidebar { position: static; }
    .about-member { grid-template-columns: 1fr; text-align: center; }
    .about-member-img { margin-bottom: 16px; text-align: center; }
    .about-photo { display: inline-block; }
    .team-avatar-lg { margin: 0 auto; }
}

/* Mobile */
@media (max-width: 992px) {
    .section { padding: 40px 0; }

    /* Header / Nav */
    .menu-toggle { display: flex; }
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 16px 24px;
        display: none;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .main-navigation.active { display: flex; }
    .nav-menu { flex-direction: column; width: 100%; gap: 0; }
    .nav-menu li a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-cta { margin: 12px 0 0; text-align: center; display: block; }

    /* Hero */
    .hero-section { padding: 110px 0 80px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    /* Page hero */
    .page-hero { padding: 100px 0 40px; }
    .courses-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .donate-options { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    /* Mission */
    .mission-box { padding: 32px 24px; }

    /* CTA */
    .cta-actions { flex-direction: column; align-items: stretch; }
    .section-cta { padding: 60px 0; }

    /* Mobile CTA */
    .mobile-cta { display: block; }
    body { padding-bottom: 56px; }

    /* Page hero */
    .page-hero { padding: 40px 0; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .page-content { padding: 0; }
}

/* ═══════════════════════════════════════════════════
   Quick Contact Form (Footer)
   ═══════════════════════════════════════════════════ */
.footer-col-form .footer-heading {
    color: var(--white);
}
.qc-field {
    margin-bottom: 8px;
}
.qc-field input,
.qc-field textarea {
    width: 100%;
    font-family: inherit;
    font-size: 13px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    transition: border-color 0.15s, background 0.15s;
}
.qc-field input::placeholder,
.qc-field textarea::placeholder {
    color: rgba(255,255,255,0.4);
}
.qc-field input:focus,
.qc-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.12);
}
.qc-field textarea {
    resize: vertical;
    min-height: 60px;
}
.qc-submit-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}
.qc-msg {
    font-size: 12px;
    transition: opacity 0.2s;
}
.qc-msg.success {
    color: #6fcf97;
}
.qc-msg.error {
    color: #f28b82;
}

/* ═══════════════════════════════════════════════════
   Quick Contact Modal
   ═══════════════════════════════════════════════════ */
.qc-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10,22,40,0.7);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.qc-modal-overlay.active {
    display: flex;
}
.qc-modal {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-height: 90vh;
    overflow-y: auto;
}
.qc-modal h3 {
    font-size: 20px;
    margin: 0 0 4px;
    color: var(--text);
}
.qc-modal-desc {
    font-size: 14px;
    color: var(--gray);
    margin: 0 0 20px;
}
.qc-modal .qc-field input,
.qc-modal .qc-field textarea {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-size: 14px;
}
.qc-modal .qc-field input::placeholder,
.qc-modal .qc-field textarea::placeholder {
    color: var(--gray-light);
}
.qc-modal .qc-field input:focus,
.qc-modal .qc-field textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 2px rgba(45,106,159,0.12);
}
.qc-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.qc-modal-close:hover {
    color: var(--text);
}
.qc-modal .qc-submit-row .btn {
    font-size: 14px;
    padding: 10px 24px;
}

/* ═══════════════════════════════════════════════════
   Mobile Floating Action Buttons
   ═══════════════════════════════════════════════════ */
.mobile-fab-group {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    flex-direction: row;
    gap: 0;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.mobile-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    padding: 14px 12px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    line-height: 1;
    transition: opacity 0.15s;
}
.mobile-fab:active {
    opacity: 0.8;
}
.mobile-fab .ti {
    font-size: 18px;
}
.mobile-fab-msg {
    background: transparent;
    color: var(--accent);
}
.mobile-fab-msg:hover {
    color: var(--accent);
}
.mobile-fab-donate {
    background: transparent;
    color: var(--white);
}
.mobile-fab-donate:hover {
    color: var(--white);
}

/* Divider between the two buttons */
.mobile-fab-msg {
    border-right: 1px solid rgba(255,255,255,0.08);
}

/* Show FABs on mobile, hide old mobile-cta */
@media (max-width: 992px) {
    .mobile-fab-group {
        display: flex;
    }
    .mobile-cta {
        display: none !important;
    }
    body {
        padding-bottom: 60px;
    }
}
