/* ==========================================================================
   Page styles: pages/maristmission.html
   Global/shared styles live in assets/css/style.css (and tailwind.css).
   ========================================================================== */

/* ====================================================
   MARIST MISSION — Charity Theme Design System
   Inspired by: Dribbble #21145904
   Primary: #FF5C00 (vibrant orange)
   Secondary: #1a1a1a (near-black)
   Light BG: #fff / Dark BG: #0f0f0f
==================================================== */

:root {
    --mm-orange: #FF5C00;
    --mm-orange-light: #FF7A2E;
    --mm-orange-pale: #FFF3ED;
    --mm-dark: #1a1a1a;
    --mm-muted: #6b7280;
    --mm-card-bg: #ffffff;
    --mm-section-alt: #F9F5F2;
}

.dark {
    --mm-card-bg: #1c1c1c;
    --mm-section-alt: #111111;
}

/* Brush stroke accent underline */
.brush-underline {
    position: relative;
    display: inline-block;
}
.brush-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 8px;
    background: var(--mm-orange);
    border-radius: 4px 2px 6px 2px;
    transform: rotate(-1deg);
    clip-path: polygon(0% 30%, 2% 0%, 20% 10%, 40% 0%, 60% 15%, 80% 5%, 100% 20%, 98% 100%, 80% 90%, 60% 100%, 40% 88%, 20% 98%, 0% 85%);
}

/* Section label pill */
.mm-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mm-orange-pale);
    color: var(--mm-orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255, 92, 0, 0.2);
}

.dark .mm-label {
    background: rgba(255,92,0,0.12);
    border-color: rgba(255,92,0,0.3);
}

/* Stat card */
.stat-card {
    background: var(--mm-orange);
    color: #fff;
    border-radius: 20px;
    padding: 28px 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(255,92,0,0.3); }
.stat-card.alt {
    background: var(--mm-dark);
}
.dark .stat-card.alt { background: #2a2a2a; }

/* Mission focus card */
.focus-card {
    background: var(--mm-card-bg);
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid rgba(0,0,0,0.07);
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}
.dark .focus-card { border-color: rgba(255,255,255,0.07); }
.focus-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--mm-orange);
    transition: width 0.4s ease;
    border-radius: 0 3px 3px 0;
}
.focus-card:hover::before { width: 100%; }
.focus-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,0.10); }
.dark .focus-card:hover { box-shadow: 0 24px 48px rgba(0,0,0,0.4); }

.focus-icon {
    width: 56px; height: 56px;
    background: var(--mm-orange-pale);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    color: var(--mm-orange);
    margin-bottom: 20px;
    transition: background 0.3s;
}
.dark .focus-icon { background: rgba(255,92,0,0.15); }
.focus-card:hover .focus-icon { background: var(--mm-orange); color: #fff; }

/* Sector tab card */
.sector-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sector-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.15); }

/* Big number stat */
.big-stat {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    line-height: 1;
    color: var(--mm-orange);
}

/* Orange CTA button */
.mm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--mm-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}
.mm-btn:hover { background: var(--mm-orange-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,92,0,0.35); }

.mm-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--mm-orange);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 13px 28px;
    border-radius: 100px;
    border: 2px solid var(--mm-orange);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}
.mm-btn-outline:hover { background: var(--mm-orange); color: #fff; transform: translateY(-2px); }

/* Global presence map country pill */
.country-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--mm-card-bg);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 100px;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 700;
    color: var(--mm-dark);
    transition: all 0.25s ease;
    text-decoration: none;
}
.dark .country-pill { border-color: rgba(255,255,255,0.1); color: #e4e4e4; }
.country-pill:hover { background: var(--mm-orange); color: #fff; border-color: var(--mm-orange); transform: scale(1.05); }
.country-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mm-orange); flex-shrink: 0; }

/* Scroll fade-in */
.mm-fade { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.mm-fade.in { opacity: 1; transform: none; }

/* Province stat bar */
.stat-bar-fill {
    height: 8px;
    border-radius: 100px;
    background: var(--mm-orange);
    width: 0;
    transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* Quote pullout */
.mm-quote {
    border-left: 4px solid var(--mm-orange);
    padding: 20px 28px;
    background: var(--mm-orange-pale);
    border-radius: 0 12px 12px 0;
}
.dark .mm-quote { background: rgba(255,92,0,0.08); }

/* Shape blob decoration */
.blob-orange {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,92,0,0.08);
    pointer-events: none;
    filter: blur(60px);
}

/* Tab navigation for sectors */
.sector-tab {
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    background: transparent;
    color: var(--mm-muted);
}
.sector-tab.active, .sector-tab:hover {
    background: var(--mm-orange);
    color: #fff;
    border-color: var(--mm-orange);
}

/* Timeline for sector details */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 6px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--mm-orange);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--mm-orange);
}
.dark .timeline-item::before { border-color: #1c1c1c; }

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 400px;
    background: #18181b;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 32px;
    padding: 32px 0;
    z-index: 5000;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    display: none;
    animation: slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
