/* ===== CEEPA Landing page ===== */
.home-page { background: #fff; scroll-behavior: smooth; }
html { scroll-behavior: smooth; }

/* Navbar */
.home-navbar {
    background: #fff;
    box-shadow: 0 2px 12px rgba(26, 43, 109, .08);
    padding: .5rem 0;
}
.home-navbar .home-logo { height: 46px; width: auto; }
.home-navbar .nav-link {
    color: var(--brand-navy);
    font-weight: 600;
    padding: .5rem .9rem;
}
.home-navbar .nav-link:hover { color: var(--brand-olive-dark); }
.btn-login {
    background: var(--brand-navy);
    color: #fff;
    font-weight: 600;
    border-radius: .5rem;
    padding: .5rem 1.1rem;
}
.btn-login:hover { background: var(--brand-navy-dark); color: #fff; }

/* Hero */
.home-hero {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-light) 55%, var(--brand-olive) 170%);
    color: #fff;
    padding: 5rem 0 5.5rem;
}
.home-hero .hero-logo {
    max-width: 260px; width: 70%; height: auto;
    background: #fff; padding: 1rem 1.25rem; border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.hero-title { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; margin-top: .5rem; }
.hero-subtitle { max-width: 720px; font-size: 1.1rem; opacity: .92; }
.btn-olive {
    background: var(--brand-olive);
    color: var(--brand-navy);
    font-weight: 700;
    border: none;
}
.btn-olive:hover { background: var(--brand-olive-dark); color: var(--brand-navy); }

/* Sections */
.section-title {
    font-weight: 800;
    color: var(--brand-navy);
    position: relative;
    display: inline-block;
    padding-bottom: .5rem;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 64px; height: 4px;
    background: var(--brand-olive);
    border-radius: 2px;
}
.bg-light-blue { background: #f4f6fb; }

/* Feature cards */
.feature-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(26, 43, 109, .07);
    transition: transform .18s, box-shadow .18s;
    border-top: 4px solid transparent;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(26, 43, 109, .14);
    border-top-color: var(--brand-olive);
}
.feature-icon {
    width: 70px; height: 70px; margin: 0 auto;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem;
    color: var(--brand-navy);
    background: rgba(164, 196, 0, .18);
}
.feature-card h5 { color: var(--brand-navy); font-weight: 700; }

/* Contact */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eef1f9;
}
.contact-icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: .7rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand-navy);
    color: #fff;
    font-size: 1.2rem;
}
.contact-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; font-weight: 700; }
.contact-value { color: var(--brand-navy); font-weight: 600; text-decoration: none; }
.contact-value:hover { color: var(--brand-olive-dark); text-decoration: underline; }
.map-wrapper {
    height: 100%;
    min-height: 320px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(26, 43, 109, .12);
}

/* Footer */
.home-footer {
    background: var(--brand-navy);
    color: #fff;
}
.home-footer .footer-logo {
    height: 60px; width: auto;
    background: #fff; padding: .5rem .75rem; border-radius: .6rem;
}
.footer-social {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 1.1rem;
    transition: background .15s;
}
.footer-social:hover { background: var(--brand-olive); color: var(--brand-navy); }

@media (max-width: 575.98px) {
    .home-hero { padding: 3.5rem 0 4rem; }
    .contact-item { padding: .85rem 0; }
}

/* ===== Scroll reveal animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
    transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Hero decoration ===== */
.home-hero { position: relative; overflow: hidden; }
.hero-content { position: relative; z-index: 2; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 1; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

.hero-shape {
    position: absolute;
    color: rgba(255, 255, 255, .13);
    font-size: 3rem;
    z-index: 1;
    animation: floatY 6s ease-in-out infinite;
}
.hero-shape-1 { top: 14%; left: 8%; font-size: 3.5rem; animation-delay: 0s; }
.hero-shape-2 { top: 22%; right: 10%; font-size: 4rem; animation-delay: .8s; }
.hero-shape-3 { bottom: 26%; left: 14%; font-size: 2.6rem; animation-delay: 1.6s; }
.hero-shape-4 { top: 50%; right: 18%; font-size: 3rem; animation-delay: 2.2s; color: rgba(164,196,0,.25); }
.hero-shape-5 { bottom: 30%; right: 40%; font-size: 2.4rem; animation-delay: 1.2s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-18px) rotate(4deg); }
}
@media (max-width: 767.98px) {
    .hero-shape { display: none; }
}

/* ===== Stats band ===== */
.stats-band {
    background: #fff;
    padding: 2.5rem 0;
    margin-top: -1px;
}
.stat-band-item i {
    font-size: 2rem;
    color: var(--brand-olive-dark);
    background: rgba(164, 196, 0, .16);
    width: 64px; height: 64px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: .6rem;
}
.stat-band-value { font-size: 2rem; font-weight: 800; color: var(--brand-navy); line-height: 1; }
.stat-band-label { color: #64748b; font-size: .9rem; font-weight: 600; }


