/* ═══════════════════════════════════════════════════════════════════
   Adom Fie CCR — Landing Page Stylesheet
   Fonts: Outfit (body) | Colors: brand blue/purple palette
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --bg:         #F4F6F9;
    --white:      #FFFFFF;
    --black:      #0D1117;
    --primary:    #1E40AF;
    --secondary:  #6D28D9;
    --accent:     #EEF2FF;
    --gray-light: #E5E9F0;
    --gray:       #64748B;
    --text-muted: #94A3B8;
    --radius-xl:  36px;
    --radius-lg:  24px;
    --radius-md:  16px;
    --radius-sm:  10px;
    --shadow-sm:  0 2px 12px rgba(0, 0, 0, 0.05);
    --shadow-md:  0 8px 28px rgba(0, 0, 0, 0.08);
    --shadow-lg:  0 20px 50px rgba(0, 0, 0, 0.10);
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--black);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}

/* ── Container ─────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1320px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px 52px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.05);
}

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 44px;
}

.brand {
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--black);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.25s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    letter-spacing: 0.2px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 64, 175, 0.28);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    background:
        linear-gradient(120deg, rgba(12, 36, 97, 0.72) 0%, rgba(109, 40, 217, 0.35) 100%),
        url('../images/back.jpg') center / cover no-repeat;
    height: 580px;
    border-radius: var(--radius-xl);
    padding: 80px 64px;
    color: var(--white);
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* overflow: hidden REMOVED — lets the floating CTA extend below the hero */
}

/* Bottom fade vignette */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.32) 100%);
    border-radius: var(--radius-xl);
    pointer-events: none;
}

/* Decorative grain texture overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    border-radius: var(--radius-xl);
    pointer-events: none;
    opacity: 0.5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.92);
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
    width: fit-content;
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34D399;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.75); }
}

.hero h1 {
    font-size: 60px;
    font-weight: 800;
    max-width: 640px;
    line-height: 1.1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #93C5FD, #C4B5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 19px;
    max-width: 480px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

/* ── Floating CTA Box ──────────────────────────────────────────────── */
.floating-cta {
    position: absolute;
    bottom: -44px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 22px 32px;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: var(--shadow-lg);
    width: 88%;
    max-width: 920px;
    color: var(--black);
    z-index: 10;
}

.cta-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-right: 24px;
    border-right: 1px solid var(--gray-light);
}

.cta-col:nth-last-of-type(2) { border-right: none; }

.cta-col span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.cta-col strong {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: var(--black);
    transition: color 0.2s ease;
}

.cta-col strong:hover { color: var(--primary); }

.cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    padding: 14px 30px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(30, 64, 175, 0.32);
}

/* ═══════════════════════════════════════════════════════════════════
   STATS GRID
   ═══════════════════════════════════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.6fr;
    gap: 24px;
    margin-top: 110px;
    margin-bottom: 100px;
}

.stat-card {
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 210px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover { transform: translateY(-6px); }

.stat-light {
    background: var(--bg);
    border: 1px solid var(--gray-light);
}

.stat-light:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.stat-light h3 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--primary);
    letter-spacing: -2px;
    line-height: 1;
}

.stat-light p {
    color: var(--gray);
    font-size: 16px;
    font-weight: 500;
}

.stat-image {
    background:
        linear-gradient(145deg, rgba(30, 64, 175, 0.62), rgba(109, 40, 217, 0.72)),
        url('../images/back.jpg') center / cover;
    color: var(--white);
    box-shadow: 0 10px 32px rgba(109, 40, 217, 0.22);
}

.stat-image h3 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -2px;
    line-height: 1;
}

.stat-image p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    font-weight: 500;
}

.stat-dark {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    box-shadow: 0 12px 36px rgba(30, 64, 175, 0.28);
}

.stat-dark h3 {
    font-size: 68px;
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1;
    flex-shrink: 0;
}

.stat-dark p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.watermark {
    position: absolute;
    right: -8px;
    bottom: -30px;
    font-size: 150px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -6px;
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION TITLES
   ═══════════════════════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--accent);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.8px;
    line-height: 1.15;
}

.section-subtitle {
    margin-top: 12px;
    font-size: 17px;
    color: var(--gray);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Legacy single-line title (used inside stats-grid wrapper) */
h2.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    color: var(--black);
    position: relative;
    display: block;
    letter-spacing: -0.6px;
}

/* ═══════════════════════════════════════════════════════════════════
   MINISTRY / TEAM CARDS
   ═══════════════════════════════════════════════════════════════════ */
.ministry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.ministry-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    cursor: default;
}

.ministry-card:hover {
    transform: translateY(-7px);
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-light);
}

.m-icon {
    font-size: 28px;
    background: var(--white);
    color: var(--primary);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.1);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.ministry-card:hover .m-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    transform: scale(1.08) rotate(-3deg);
}

.ministry-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
}

.ministry-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.65;
    flex: 1;
}

.arrow-link {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.ministry-card:hover .arrow-link {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(45deg);
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICE TIMES
   ═══════════════════════════════════════════════════════════════════ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover { transform: translateY(-5px); }

.service-card.service-light {
    background: var(--bg);
    border: 1px solid var(--gray-light);
}

.service-card.service-light:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.service-card.service-featured {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 12px 36px rgba(30, 64, 175, 0.28);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.service-light .service-icon {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.service-featured .service-icon {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.service-light h3 { color: var(--black); }
.service-featured h3 { color: var(--white); }

.service-time {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 6px;
}

.service-light .service-time { color: var(--primary); }
.service-featured .service-time { color: rgba(255, 255, 255, 0.95); }

.service-detail {
    font-size: 14px;
    font-weight: 500;
}

.service-light .service-detail { color: var(--gray); }
.service-featured .service-detail { color: rgba(255, 255, 255, 0.75); }

.service-watermark {
    position: absolute;
    bottom: -24px;
    right: -8px;
    font-size: 120px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    user-select: none;
    line-height: 1;
    letter-spacing: -4px;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--bg);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--gray-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
    background: var(--white);
}

.contact-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    background: var(--accent);
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    transform: scale(1.08);
}

.contact-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

.contact-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
    margin-top: 100px;
    padding: 40px 0 12px;
    border-top: 1px solid var(--gray-light);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--black);
}

.footer-brand img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-copy {
    font-size: 14px;
    color: var(--gray);
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION SPACING
   ═══════════════════════════════════════════════════════════════════ */
.section-gap { margin-top: 110px; }

/* ═══════════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .container { padding: 30px; }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-dark { grid-column: 1 / -1; }

    .service-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    body { padding: 10px; }

    .container {
        padding: 20px;
        border-radius: var(--radius-lg);
    }

    .hero {
        padding: 50px 28px;
        height: auto;
        min-height: 460px;
        align-items: center;
        text-align: center;
    }

    .hero h1 { font-size: 40px; letter-spacing: -0.5px; }
    .hero p  { font-size: 16px; }
    .hero-badge { margin-left: auto; margin-right: auto; }

    .stats-grid {
        grid-template-columns: 1fr;
        margin-top: 220px;
    }

    .floating-cta {
        flex-direction: column;
        gap: 18px;
        position: absolute;
        bottom: -190px;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        padding: 22px 20px;
    }

    .cta-col {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--gray-light);
        padding-right: 0;
        padding-bottom: 14px;
    }
    .cta-col:nth-last-of-type(2) { border-bottom: none; padding-bottom: 0; }

    .cta-btn { width: 100%; justify-content: center; }

    .nav-links { display: none; }

    .ministry-grid,
    .contact-grid { grid-template-columns: 1fr; }

    .service-grid { grid-template-columns: 1fr; }

    .section-title { font-size: 30px; }

    .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
