/* ============================================================
   MARYAM ENDOWMENT FUND - CUSTOM STYLES
   ============================================================ */

:root {
    --mef-primary: #0d6e4f;
    --mef-primary-dark: #095c41;
    --mef-gold: #c9a227;
    --mef-light: #f6f9f7;
    --mef-dark: #0d1f17;
}

* { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

body {
    background: var(--mef-light);
    color: var(--mef-dark);
    scroll-behavior: smooth;
}

/* ---------- Navbar / Logo ---------- */
.org-logo {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 2px;
}
.brand-name    { font-size: 1.05rem; color: var(--mef-primary) !important; }
.brand-tagline { font-size: .7rem; letter-spacing: .2px; }
.navbar-brand { text-decoration: none; }

/* ---------- Buttons ---------- */
.btn-primary {
    background: var(--mef-primary);
    border-color: var(--mef-primary);
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--mef-primary-dark);
    border-color: var(--mef-primary-dark);
}
.btn-gold {
    background: var(--mef-gold);
    border-color: var(--mef-gold);
    color: #fff;
}
.btn-gold:hover { background: #b08d1f; border-color: #b08d1f; color: #fff; }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--mef-primary) 0%, var(--mef-primary-dark) 100%);
    color: #fff;
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    right: -80px; top: -80px;
    width: 320px; height: 320px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}
.hero h1 { font-weight: 800; letter-spacing: -.5px; }
.hero .lead { opacity: .92; }

/* ---------- Cards ---------- */
.card-mef {
    border: none;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(13,31,23,.08);
    transition: transform .2s ease, box-shadow .2s ease;
}
.card-mef:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(13,31,23,.12);
}
.icon-circle {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,110,79,.1);
    color: var(--mef-primary);
    font-size: 1.4rem;
}

/* ---------- Criteria list ---------- */
.criteria-list li {
    padding: .6rem 0;
    border-bottom: 1px dashed #e2ebe6;
    display: flex;
    gap: .75rem;
    align-items: flex-start;
}
.criteria-list li:last-child { border-bottom: none; }
.criteria-list i { color: var(--mef-primary); font-size: 1.15rem; margin-top: 2px; }

/* ---------- Apply section ---------- */
.apply-section {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(13,31,23,.10);
    margin-top: -50px;
    position: relative;
    z-index: 2;
}
.captcha-box {
    display: flex;
    align-items: center;
    gap: 12px;
}
.captcha-img {
    height: 46px;
    border-radius: 8px;
    border: 1px solid #d6e3dc;
    cursor: pointer;
}
.captcha-refresh {
    font-size: 1.1rem;
    color: var(--mef-primary);
    cursor: pointer;
    user-select: none;
}
.captcha-refresh:hover { color: var(--mef-primary-dark); }

/* ---------- Feature strip ---------- */
.feature-strip {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 6px 24px rgba(13,31,23,.06);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--mef-dark);
    color: #fff;
}
.site-footer h6 { font-size: .95rem; }
.footer-link {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    display: inline-block;
    padding: .15rem 0;
    transition: color .2s;
}
.footer-link:hover { color: #fff; }
.footer-bottom { background: rgba(0,0,0,.25); }

/* ---------- Utilities ---------- */
.section-title {
    font-weight: 800;
    color: var(--mef-primary);
    letter-spacing: -.3px;
}
.divider-gold {
    width: 60px;
    height: 4px;
    background: var(--mef-gold);
    border-radius: 4px;
    margin: 12px 0 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero { padding: 50px 0 70px; }
    .apply-section { padding: 24px; margin-top: -30px; }
    .brand-tagline { display: none; }
}