/* ==================================================
KPR RWANDA - CLEAN MASTER STYLE.CSS
================================================== */

/* ===== RESET ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    line-height: 1.7;

    background: linear-gradient(
        to bottom,
        #f7f9fc,
        #eef4fb,
        #ffffff
    );
}

/* ===== COLORS ===== */

:root {
    --primary: #4da6ff;
    --dark: #0b3d91;
    --gold: #d4af37;
    --light-gold: #fff9dc;
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(0, 0, 0, .08);
}



/* =========================================================
   RUNNING MESSAGE â€” EXACT PH. AFRICA ENGINE
   ========================================================= */

.running-container {
    position: relative;
    width: 100%;
    height: 42px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #fff3b0;

    z-index: 4000;
}

.running-text {
    width: max-content;

    white-space: nowrap;

    padding: 0;

    animation:
        uyrRunningMessage 30s linear infinite;
}

@keyframes uyrRunningMessage {

    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }

}

/* ===== DIVIDERS ===== */

.gold-divider {
    height: 4px;
    background: var(--gold);
}

.kpr-divider {
    height: 2px;
    background: linear-gradient(to right,
            transparent,
            var(--primary),
            transparent);
}

/* ===== HERO ===== */

.hero {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(rgba(255, 249, 220, .95),
            rgba(255, 249, 220, .95));
}

.hero-content {
    max-width: 900px;
    margin: auto;
}

.hero h1 {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.15rem;
    max-width: 750px;
    margin: auto;
}

/* ===== BUTTONS ===== */

.btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 15px 8px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

.primary {
    background: var(--gold);
    color: black;
}

.secondary {
    background: var(--dark);
    color: white;
}

/* ===== SECTIONS ===== */

.section {
    padding: 70px 20px;
    max-width: 1200px;
    margin: auto;
}

.section h2 {
    text-align: center;
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 2rem;
}

/* ===== FEATURE BOX ===== */

.feature-box {
    background: var(--light-gold);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 1000px;
    margin: auto;
}

/* ===== GRID ===== */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* ===== CARDS ===== */

.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: .3s;
}

.card:hover {
    transform: translateY(-8px);
}

.card h3 {
    color: var(--dark);
    margin-bottom: 12px;
}

/* ===== GLANCE SECTION ===== */

.glance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.glance-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.glance-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* ===== ABOUT BOX ===== */

.about-container {
    background: var(--light-gold);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 1000px;
    margin: auto;
}

.about-seal {
    width: 120px;
    margin-bottom: 20px;
}

/* ===== IMPACT ===== */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.stat {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat h3 {
    color: var(--gold);
    font-size: 2rem;
}

/* ===== PARTNERS ===== */

.carousel {
    max-width: 700px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.carousel-window {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.carousel-img {
    max-width: 250px;
    display: none;
}

.carousel-img.active {
    display: block;
}

.carousel-btn {
    background: var(--gold);
    color: black;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
}

/* ===== FOOTER ===== */

footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 30px 20px;
    border-top: 4px solid var(--gold);
}

.footer-seal {
    width: 60px;
    display: block;
    margin: 0 auto 10px;
}
/* ===== MOBILE ===== */

@media(max-width:768px) {

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 50px 15px;
    }

    .carousel-btn {
        background: #ffffff;
        border: 2px solid #d4af37;
        color: #0b3d91;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        font-size: 22px;
        cursor: pointer;
        transition: 0.3s;
    }

    .carousel-btn:hover {
        background: #d4af37;
        color: white;
    }

    /* ===== LIVE IMPACT INTRO BOX ===== */

    .impact-intro-box {
        max-width: 900px;
        margin: 40px auto;
        padding: 25px 35px;

        background: #fff8d6;
        border-left: 6px solid #d4af37;

        border-radius: 12px;

        text-align: center;

        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

    .impact-intro-box h2 {
        color: #0b3d91;
        margin-bottom: 10px;
    }

    .impact-intro-box p {
        color: #444;
        font-size: 16px;
        line-height: 1.7;
    }

    /* ===== STRATEGIC PARTNERSHIPS ===== */

    .partners-preview {
        text-align: center;
        max-width: 1200px;
        margin: 0 auto;
    }

    .partners-preview h2 {
        text-align: center;
        margin-bottom: 15px;
    }

    .partners-preview p {
        text-align: center;
        max-width: 900px;
        margin: 0 auto 30px auto;
        line-height: 1.7;
    }

    .partners-preview .grid {
        justify-content: center;
    }

    .partners-preview .card {
        text-align: center;
    }

    .partners-preview .btn {
        display: inline-block;
        margin: 30px auto 0;
    }

    /* Center Program Button */

    .btn-center {
        text-align: center;
        margin-top: 25px;
    }

    .btn-center {
        text-align: center;
        margin-top: 30px;
    }

    .section {
        text-align: center;
    }

    .section h2 {
        text-align: center;
    }

    .section p {
        text-align: center;
    }

    .btn-center {
        text-align: center;
        margin-top: 30px;
    }

    .impact {
        text-align: center;
    }

    .impact .btn {
        display: inline-block;
    }

    .impact-action {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 30px;
    }

    .impact-action {
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .impact-action .btn {
        display: inline-block;
    }

    .partners-preview .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        max-width: 1000px;
        margin: 30px auto;
    }

    .partners-preview .card {
        text-align: center;
    }

    .partners-preview .grid {
        display: flex;
        justify-content: center;
        gap: 25px;
        flex-wrap: wrap;
    }

    .partners-preview .card {
        width: 300px;
        text-align: center;
    }

    /* ===== KPR PILLARS ===== */

    .pillars-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 1100px;
        margin: 30px auto;
    }

    .pillar-card {
        background: white;
        padding: 25px;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        border-top: 4px solid #d4af37;
    }

    .pillar-card:hover {
        transform: translateY(-5px);
        transition: .3s;
    }

    /* Center the 7th pillar */

    .pillar-card:last-child {
        grid-column: 2;
    }

    .programs-action {
        text-align: center;
        margin-top: 25px;
    }

    .pillars-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit), minmax(280px, 1fr);
        gap: 25px;
        margin-top: 40px;
    }

    .pillar-card {
        background: white;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        transition: 0.3s;
        text-align: center;
        border-top: 5px solid #d4af37;
    }

    .pillar-card:hover {
        transform: translateY(-8px);
    }

    .pillars-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        max-width: 1200px;
        margin: 40px auto;
    }

    .pillar-card {
        background: white;
        padding: 30px;
        border-radius: 15px;
        text-align: center;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        border-top: 5px solid #d4af37;
        transition: .3s;
    }

    .pillar-card:hover {
        transform: translateY(-8px);
    }

    .section-button {
        text-align: center;
        margin-top: 25px;
    }

    .pillars-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        margin: 40px auto;
        max-width: 1200px;
    }

    .pillar-card {
        background: #fff;
        padding: 30px;
        border-radius: 15px;
        text-align: center;
        box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
        border-top: 5px solid #d4af37;
        transition: .3s;
    }

    .pillar-card:hover {
        transform: translateY(-8px);
    }

    .pillar-icon {
        font-size: 45px;
        margin-bottom: 15px;
    }

    .pillar-card h3 {
        color: #0b3d91;
        margin-bottom: 12px;
    }

    /* ===== Programs Section ===== */

    .programs-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        margin: 40px auto;
        max-width: 1200px;
    }

    .program-card {
        background: white;
        padding: 30px;
        border-radius: 15px;
        text-align: center;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        border-top: 5px solid #d4af37;
        transition: 0.3s;
    }

    .program-card:hover {
        transform: translateY(-8px);
    }

.program-card h3 {
        color: #0b3d91;
        margin-bottom: 12px;
    }

    .section-button {
        text-align: center;
        margin-top: 30px;
    }

    .impact-intro {
        max-width: 800px;
        margin: 15px auto 35px;
        text-align: center;
    }

    .impact-icon {
        font-size: 45px;
        margin-bottom: 15px;
    }

    .impact-box {
        background: white;
        padding: 30px;
        border-radius: 15px;
        text-align: center;
        border-top: 5px solid #d4af37;
        box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
        transition: .3s;
    }

    .impact-box:hover {
        transform: translateY(-8px);
    }

    .impact-box h3 {
        color: #0b3d91;
        font-size: 32px;
        margin-bottom: 10px;
    }

    /* ===== IMPACT GRID ===== */

    .impact-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        max-width: 1000px;
        margin: 40px auto;
    }

    .impact-box {
        background: white;
        padding: 30px;
        border-radius: 15px;
        text-align: center;
        border-top: 5px solid #d4af37;
        box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
        transition: .3s;
    }

    .impact-box:hover {
        transform: translateY(-8px);
    }

    .impact-icon {
        font-size: 50px;
        margin-bottom: 15px;
    }

    .impact-box h3 {
        color: #0b3d91;
        font-size: 32px;
        margin-bottom: 10px;
    }

    .partner-intro-card {
        background: white;
        padding: 30px;
        border-radius: 15px;
        text-align: center;
        max-width: 800px;
        margin: 30px auto;
        border-top: 5px solid #d4af37;
        box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    }

    .partner-intro-card h3 {
        color: #0b3d91;
        margin-bottom: 15px;
    }

    .partner-intro-card p {
        max-width: 650px;
        margin: auto;
        line-height: 1.7;
    }

    /* ===== HERO INTRO CARD ===== */

    .hero-intro-card {
        background: #fff8dc;
        border-top: 5px solid #d4af37;
        border-radius: 15px;
        padding: 30px;
        max-width: 850px;
        margin: 35px auto;
        text-align: center;
        box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    }

    .hero-intro-icon {
        font-size: 50px;
        margin-bottom: 15px;
    }

    .hero-intro-card h3 {
        color: #0b3d91;
        margin-bottom: 15px;
    }

    .hero-intro-card p {
        max-width: 700px;
        margin: auto;
        line-height: 1.8;
        color: #333;
    }

    .founder-box {
        background: linear-gradient(180deg,
                #fffdf4 0%,
                #fff8dc 100%);

        border-top: 5px solid #d4af37;

        max-width: 1000px;

        margin: 30px auto;

        padding: 35px;

        border-radius: 18px;

        text-align: center;

        box-shadow: 0 5px 20px rgba(0, 0, 0, .08);

        transition: .3s;
    }

    .founder-box:hover {
        transform: translateY(-5px);
    }

    .founder-box h2 {
        color: #0b3d91;
        margin-bottom: 15px;
    }

    .founder-box h3 {
        color: #d4af37;
        margin-bottom: 15px;
    }

    .founder-box ul {
        list-style: none;
        padding: 0;
    }

    .founder-box li {
        padding: 8px;
    }

    .quote-box {
        background: linear-gradient(180deg,
                #fff8dc,
                #fff3bf);

        border-left: 6px solid #d4af37;

        max-width: 1000px;

        margin: 40px auto;

        padding: 40px;

        border-radius: 18px;

        text-align: center;

        box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    }

    .about-intro-box,
    .about-box,
    .founder-box {

        max-width: 1000px;
        margin: 35px auto;
        padding: 35px 45px;

        background: linear-gradient(135deg,
                rgba(255, 248, 210, .96),
                rgba(255, 255, 255, .92));

        border: 1px solid rgba(212, 175, 55, .35);
        border-left: 6px solid #d4af37;

        border-radius: 18px;

        box-shadow:
            0 8px 25px rgba(0, 0, 0, .10);

        transition: all .35s ease;
    }

    .about-intro-box:hover,
    .about-box:hover,
    .founder-box:hover {

        transform: translateY(-4px);

        box-shadow:
            0 15px 35px rgba(0, 0, 0, .15);
    }

    /* ================= KPR PILLARS ================= */

    .pillars-section {
        text-align: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px;
    }

    .pillars-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 30px;
    }

    .pillar-box {
        width: 300px;
        background: linear-gradient(135deg,
                rgba(255, 248, 210, 0.95),
                rgba(255, 255, 255, 0.95));
        border-left: 5px solid #d4af37;
        border-radius: 15px;
        padding: 25px;
        text-align: center;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        transition: 0.3s;
    }

    .pillar-box:hover {
        transform: translateY(-6px);
    }

    .pillar-box h3 {
        color: #0b3d91;
        margin: 0;
        line-height: 1.5;
    }

    /* ================= PHB THEORY ================= */

    .founder-box {
        max-width: 1000px;
        margin: 40px auto;
        padding: 35px;
        text-align: center;

        background: linear-gradient(135deg,
                rgba(255, 248, 210, 0.95),
                rgba(255, 255, 255, 0.95));

        border-left: 5px solid #d4af37;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }

    .founder-box h2 {
        color: #0b3d91;
        margin-bottom: 20px;
    }

    .founder-box p {
        line-height: 1.8;
        margin-bottom: 15px;
    }

    .founder-box blockquote {
        margin: 25px auto;
        padding: 20px;
        max-width: 800px;
        background: rgba(212, 175, 55, 0.15);
        border-left: 5px solid #d4af37;
        border-radius: 10px;
        font-style: italic;
        font-size: 1.1rem;
        line-height: 1.8;
    }

    /* ================= JOIN THE MOVEMENT ================= */

    .join-box {
        max-width: 1000px;
        margin: 40px auto;
        padding: 40px 30px;
        text-align: center;

        background: linear-gradient(135deg,
                rgba(255, 248, 210, 0.95),
                rgba(255, 255, 255, 0.95));

        border-left: 5px solid #d4af37;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }

    .join-box h2 {
        color: #0b3d91;
        margin-bottom: 20px;
    }

    .join-box p {
        line-height: 1.9;
        max-width: 850px;
        margin: 0 auto 25px;
    }

    .join-buttons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    /* ================= OUR APPROACH ================= */

    .approach-box {
        max-width: 1000px;
        margin: 40px auto;
        padding: 40px 30px;
        text-align: center;

        background: linear-gradient(135deg,
                rgba(255, 248, 210, 0.95),
                rgba(255, 255, 255, 0.95));

        border-left: 5px solid #d4af37;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }

    .approach-box h2 {
        color: #0b3d91;
        margin-bottom: 20px;
    }

    .approach-box p {
        max-width: 850px;
        margin: 0 auto 25px;
        line-height: 1.9;
    }

    .approach-button {
        display: flex;
        justify-content: center;
    }

    /* ================= WHY KPR MATTERS ================= */

    .why-kpr-box {
        max-width: 1100px;
        margin: 40px auto;
        padding: 40px 30px;
        text-align: center;

        background: linear-gradient(135deg,
                rgba(255, 248, 210, 0.95),
                rgba(255, 255, 255, 0.95));

        border-left: 5px solid #d4af37;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }

    .why-kpr-box h2 {
        color: #0b3d91;
        margin-bottom: 20px;
    }

    .why-kpr-box>p {
        max-width: 850px;
        margin: 0 auto 30px;
        line-height: 1.9;
    }

    .why-kpr-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .why-card {
        background: white;
        padding: 25px;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    .why-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .why-card h3 {
        color: #0b3d91;
        margin-bottom: 10px;
    }

    /* ================= MISSION & VISION ================= */

    .mission-vision-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
        max-width: 1000px;
        margin: 40px auto;
    }

    .mission-box,
    .vision-box {
        max-width: 500px;
        margin: 20px auto;

        background: linear-gradient(135deg,
                rgba(255, 248, 210, 0.95),
                rgba(255, 255, 255, 0.95));

        padding: 35px;
        text-align: center;

        border-left: 5px solid #d4af37;
        border-radius: 15px;

        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }

    .mission-box h2,
    .vision-box h2 {
        color: #0b3d91;
        margin-bottom: 15px;
        text-align: center;
    }

    .mission-box p,
    .vision-box p {
        line-height: 1.8;
        text-align: center;
    }

    /* DONOR NAME */
    #donorName {
        position: absolute;
        top: 250px;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 34px;
        font-weight: bold;
        color: #000;
    }

    /* AMOUNT */
    #donationAmount {
        position: absolute;
        top: 600px;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 24px;
        font-weight: bold;
    }

    /* AMOUNT IN WORDS */
    #amountWords {
        position: absolute;
        top: 470px;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 18px;
        font-style: italic;
    }

    /* DATE */
    #issueDate {
        position: absolute;
        top: 590px;
        left: 260px;
        font-size: 18px;
    }

    /* CERTIFICATE NUMBER */
    #certificateNumber {
        position: absolute;
        top: 610px;
        right: 240px;
        font-size: 18px;
        text-align: right;
    }

    /* DONATION ID */
    #donationId {
        position: absolute;
        top: 615px;
        left: 260px;
        font-size: 16px;
    }

    .overlay {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    /* DONOR NAME */
    #donorName {
        position: absolute;
        top: 255px;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 34px;
        font-weight: bold;
        color: #000;
    }

    /* AMOUNT */
    #donationAmount {
        position: absolute;
        top: 430px;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 24px;
        font-weight: bold;
    }

    /* AMOUNT IN WORDS */
    #amountWords {
        position: absolute;
        top: 470px;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 18px;
        font-style: italic;
    }

    /* DATE */
    #issueDate {
        position: absolute;
        top: 590px;
        left: 260px;
        font-size: 18px;
    }

    /* CERTIFICATE NUMBER */
    #certificateNumber {
        position: absolute;
        top: 610px;
        right: 240px;
        font-size: 18px;
        text-align: right;
    }

    /* DONATION ID */
    #donationId {
        position: absolute;
        top: 615px;
        left: 260px;
        font-size: 16px;
    }

    /* DATE */
    #issueDate {
        position: absolute;
        top: 590px;
        left: 260px;
        font-size: 18px;
    }

    /* CERTIFICATE NUMBER */
    #certificateNumber {
        position: absolute;
        top: 610px;
        right: 240px;
        font-size: 18px;
        text-align: right;
    }

    /* DONATION ID */
    #donationId {
        position: absolute;
        top: 615px;
        left: 260px;
        font-size: 16px;
    }

    /* DATE */
    #issueDate {
        position: absolute;
        top: 590px;
        left: 260px;
        font-size: 18px;
    }

    /* DONATION ID */
    #donationId {
        position: absolute;
        top: 615px;
        left: 260px;
        font-size: 16px;
    }

    /* CERTIFICATE NUMBER */
    #certificateNumber {
        position: absolute;
        top: 610px;
        right: 240px;
        font-size: 18px;
        text-align: right;
    }

    /* QR CODE */
    #qrCode {
        position: absolute;
        right: 95px;
        bottom: 100px;
    }

    .controls {
        text-align: center;
        margin-top: 20px;
    }

    .download-btn {
        background: #0b3d91;
        color: white;
        border: none;
        padding: 12px 25px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 16px;
    }

    .download-btn:hover {
        background: #072a66;
    }

    .controls {
        text-align: center;
        margin-top: 20px;
        border: 2px solid red;
    }

    #certificate {
        width: 1200px;
        height: 850px;
        margin: auto;
        position: relative;
        background: url('images/donor-certificate-template.png') center center no-repeat;
        background-size: cover;
    }

    .overlay {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    /* DONOR NAME */
    #donorName {
        position: absolute;
        top: 255px;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 34px;
        font-weight: bold;
        color: #000;
    }

    /* AMOUNT */
    #donationAmount {
        position: absolute;
        top: 430px;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 24px;
        font-weight: bold;
    }

    /* AMOUNT IN WORDS */
    #amountWords {
        position: absolute;
        top: 470px;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 18px;
        font-style: italic;
    }

    /* DATE */
    #issueDate {
        position: absolute;
        top: 610px;
        left: 260px;
        font-size: 18px;
    }

    /* DONATION ID */
    #donationId {
        position: absolute;
        top: 635px;
        left: 260px;
        font-size: 16px;
    }

    /* CERTIFICATE NUMBER */
    #certificateNumber {
        position: absolute;
        top: 630px;
        right: 240px;
        font-size: 18px;
        text-align: right;
    }

    /* QR CODE */
    #qrCode {
        position: absolute;
        right: 95px;
        bottom: 100px;
    }


/* ==========================
   PREVIEW CARD
========================== */

.preview-card {
    margin-top: 25px;
    padding: 20px;
    background: #ffffff;
    border: 2px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.preview-card h3 {
    margin-top: 0;
    color: #0b3d91;
}

    /* ==========================
   KPR SEAL (Middle Right)
========================== */

    #kprSeal {
        position: absolute;

        width: 130px;
        height: auto;

        top: 50%;
        right: 55px;

        transform: translateY(-50%);

        opacity: 0.95;

        z-index: 5;

        pointer-events: none;
    }

    /* ==========================================
   ABOUT PAGE CONTENT BOXES
========================================== */

    .about-intro-box,
    .about-box,
    .founder-box {

        max-width: 1000px;
        margin: 40px auto;
        padding: 35px 45px;

        background: rgba(255, 248, 210, 0.92);

        border: 1px solid rgba(212, 175, 55, 0.35);

        border-radius: 18px;

        box-shadow:
            0 8px 25px rgba(0, 0, 0, .12),
            inset 0 0 30px rgba(255, 255, 255, .45);

        backdrop-filter: blur(4px);

        transition: all .35s ease;
    }

    .about-intro-box:hover,
    .about-box:hover,
    .founder-box:hover {

        transform: translateY(-4px);

        box-shadow:
            0 15px 35px rgba(0, 0, 0, .18),
            0 0 18px rgba(212, 175, 55, .25);
    }

    .about-intro-box h2,
    .about-box h2,
    .founder-box h2 {

        text-align: center;
        color: #0d47a1;
        margin-bottom: 20px;
        font-size: 2rem;
    }

    .about-intro-box p,
    .about-box p,
    .founder-box p {

        line-height: 1.9;
        font-size: 1.08rem;
        color: #333;
        text-align: justify;
    }

    .founder-box blockquote {

        margin: 25px 0;
        padding: 20px 25px;

        background: rgba(255, 255, 255, .55);

        border-left: 6px solid #d4af37;

        border-radius: 10px;

        font-style: italic;
        color: #444;
    }

    /* ===============================
   KPR GOLD CONTENT CARD
=================================*/

    .kpr-gold-card {

        max-width: 1000px;
        margin: 40px auto;

        padding: 35px 45px;

        background: linear-gradient(135deg,
                #fffdf5 0%,
                #fff8dc 45%,
                #ffffff 100%);

        border-left: 7px solid #d4af37;

        border-radius: 20px;

        box-shadow:
            0 10px 30px rgba(0, 0, 0, .12);

        transition: .35s;
    }

    .kpr-gold-card:hover {

        transform: translateY(-5px);

        box-shadow:
            0 18px 40px rgba(0, 0, 0, .18);
    }

    .kpr-gold-card h2 {

        text-align: center;
        color: #0b3d91;

        margin-bottom: 20px;
    }

    .kpr-gold-card p {

        line-height: 1.9;
        color: #333;

        text-align: justify;
    }

    .kpr-gold-card blockquote {

        margin: 25px 0;

        padding: 20px;

        background: #fffdf2;

        border-left: 6px solid #d4af37;

        border-radius: 12px;

        font-style: italic;
    }

    /* ===========================================
   ABOUT HERO
=========================================== */

    .about-hero {

        max-width: 1100px;

        margin: 45px auto;

        padding: 20px;
    }

    .about-hero-card {

        background: linear-gradient(135deg,
                #fffdf5 0%,
                #fff8dc 45%,
                #ffffff 100%);

        border-top: 6px solid #d4af37;

        border-radius: 22px;

        padding: 50px;

        text-align: center;

        box-shadow:
            0 12px 35px rgba(0, 0, 0, .12);

        transition: .35s;
    }

    .about-hero-card:hover {

        transform: translateY(-6px);

        box-shadow:
            0 18px 40px rgba(0, 0, 0, .18);
    }

    .about-hero-icon {

        font-size: 60px;

        margin-bottom: 20px;
    }

    .about-hero-card h1 {

        color: #0b3d91;

        font-size: 2.3rem;

        margin-bottom: 15px;
    }

    .hero-line {

        width: 110px;

        height: 4px;

        background: #d4af37;

        margin: 20px auto 30px;

        border-radius: 20px;
    }

    .about-hero-card p {

        max-width: 850px;

        margin: 20px auto;

        line-height: 1.9;

        font-size: 1.08rem;

        color: #333;
    }

/* ===================================================
   ABOUT HERO CARD
=================================================== */

.about-hero-card{

    width:90%;
    max-width:1100px;

    margin:40px auto;

    padding:45px;

    background:linear-gradient(
        to bottom,
        #fffef8,
        #fff8d6,
        #fffdf5
    );

    border:2px solid #d4af37;

    border-radius:20px;

    box-shadow:0 12px 30px rgba(0,0,0,.12);

    text-align:center;
}

.about-hero-card h2{

    color:#0b3d91;

    font-size:42px;

    margin-bottom:20px;
}

.hero-divider{

    width:120px;

    height:4px;

    margin:20px auto 35px;

    background:#d4af37;

    border-radius:20px;
}

.about-hero-card p{

    max-width:900px;

    margin:20px auto;

    font-size:22px;

    line-height:1.9;

    color:#333;
}
}

/* ================= DONATION AMOUNT BUTTONS ================= */

.amount-btn{

    padding:18px;

    border:2px solid #D4AF37;

    border-radius:12px;

    background:white;

    color:#0b3d91;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.30s;

}
/* ==========================================
   KPR OVAL LOGO
========================================== */

.kpr-logo-frame{

    width:120px;
    height:90px;

    margin:0 auto 15px;

    background:#fff;

    border:5px solid #d4af37;   /* Gold ring */

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    box-shadow:
        0 0 12px rgba(212,175,55,.55),
        0 3px 12px rgba(0,0,0,.20);

}

/* Logo */

.kpr-logo-oval{

    width:72px;
    height:72px;

    object-fit:contain;

    border-radius:50%;

}

.amount-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));

    gap:15px;

    margin-top:25px;

}

.amount-btn{

    padding:18px;

    background:white;

    border:2px solid #D4AF37;

    border-radius:12px;

    color:#0b3d91;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.30s;

}

.amount-btn:hover{

    background:#D4AF37;

    color:#0b3d91;

    transform:translateY(-3px);

    box-shadow:0 8px 18px rgba(0,0,0,.15);

}

.amount-btn.active{

    background:#0b3d91;

    color:white;

    border-color:#0b3d91;
}

/* ================= HERO MESSAGE ================= */

.hero-message{

    max-width:850px;

    margin:30px auto;

    padding:30px;

    background:linear-gradient(
        135deg,
        #fffdf5 0%,
        #fff6d8 50%,
        #fffdf5 100%
    );

    border:2px solid #D4AF37;

    border-radius:18px;

    text-align:center;

    font-size:22px;

    line-height:1.8;

    color:#0b3d91;

    box-shadow:0 12px 25px rgba(0,0,0,.10);

    transition:.35s;

}

.hero-message:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 35px rgba(0,0,0,.15);

}

/* ================= PROGRAMS ================= */

.program-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:28px;

    margin-top:35px;

}

.program-card{

    background:linear-gradient(to bottom,rgba(255, 236, 150, 0.75),rgba(255, 248, 220, 0.55),rgba(255,255,255,0.90));border-radius:18px;padding:35px;text-align:center;transition:.35s;box-shadow:0 10px 25px rgba(0,0,0,0.12);border-top:8px solid #d4a017;

}

.program-card:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 30px rgba(0,0,0,.18);

}

.program-card h3{

    color:#8a6508;

    margin-bottom:15px;

    font-size:24px;

}

.program-card p{

    color:#444;

    line-height:1.8;

    font-size:16px;

}

/* ================= IMPACT ================= */

.impact-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    margin-top:35px;

}

.impact-card{

    background:linear-gradient(
        135deg,
        #fffdf5,
        #fff6d8,
        #fffdf5
    );

    border:2px solid #D4AF37;

    border-radius:18px;

    padding:35px 20px;

    text-align:center;

    transition:.35s;

    box-shadow:0 8px 18px rgba(0,0,0,.10);

}

.impact-card:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 28px rgba(0,0,0,.18);

}

.impact-card h2{

    color:#0b3d91;

    font-size:42px;

    margin-bottom:12px;

}

.impact-card p{

    color:#444;

    font-size:17px;

    line-height:1.6;

}

/* ================= HOME HERO ================= */

.hero-home{

    background-image:
        linear-gradient(
            rgba(11,61,145,.45),
            rgba(11,61,145,.45)
        ),
        url("images/home-image.png");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    min-height:720px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:80px 20px;

}

.hero-overlay{

    max-width:900px;

    background:rgba(255,255,255,.0);

    backdrop-filter:blur(1px);

    -webkit-backdrop-filter:blur(4px);

    border:1px solid rgba(255,255,255,.18);

    border-radius:22px;

    padding:45px;

    box-shadow:0 10px 30px rgba(0,0,0,.18);

}

.hero-overlay h1{

    color:#ffffff;

    font-size:52px;

    margin-bottom:25px;

    line-height:1.3;

    text-shadow:2px 2px 8px rgba(0,0,0,.4);

}

.hero-overlay p{

    color:white;

    font-size:24px;

    line-height:1.8;

    text-shadow:2px 2px 6px rgba(0,0,0,.35);

}

/* ================= LONG INFORMATION BOXES ================= */

.long-card{

    display:flex;

    align-items:center;

    gap:25px;

    background:linear-gradient(135deg,#fffdf5,#fff6d8);

    border-left:8px solid #D4AF37;

    border-radius:18px;

    padding:25px 30px;

    margin:25px auto;

    max-width:1100px;

    box-shadow:0 12px 30px rgba(0,0,0,.10);

    transition:.35s;

}

.long-card:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 35px rgba(0,0,0,.18);

}

.long-icon{

    font-size:52px;

    min-width:70px;

    text-align:center;

}

.long-content h3{

    color:#0b3d91;

    margin-bottom:10px;

    font-size:28px;

}

.long-content p{

    font-size:18px;

    line-height:1.8;

    color:#444;

}

/* ================= VSD TIMELINE ================= */

.timeline{

    position:relative;

    max-width:1100px;

    margin:60px auto;

}

.timeline::before{

    content:"";

    position:absolute;

    left:38px;

    top:0;

    bottom:0;

    width:5px;

    background:#D4AF37;

    border-radius:20px;

}

.timeline-item{

    display:flex;

    align-items:flex-start;

    margin-bottom:50px;

    position:relative;

}

.timeline-icon{

    width:80px;

    height:80px;

    border-radius:50%;

    background:#0b3d91;

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    font-weight:bold;

    border:5px solid #D4AF37;

    z-index:2;

    flex-shrink:0;

}

.timeline-content{

    margin-left:30px;

    background:linear-gradient(
        135deg,
        #fffdf5,
        #fff6d8
    );

    border-radius:18px;

    padding:28px;

    box-shadow:0 12px 25px rgba(0,0,0,.10);

    flex:1;

    transition:.35s;

}

.timeline-content:hover{

    transform:translateY(-5px);

    box-shadow:0 20px 35px rgba(0,0,0,.18);

}

.timeline-content h3{

    color:#0b3d91;

    margin-bottom:15px;

    font-size:28px;

}

.timeline-content p{

    line-height:1.8;

    color:#444;

    font-size:18px;

}

.timeline-content ul{

    margin-top:15px;

    padding-left:20px;

}

.timeline-content li{

    margin:8px 0;

}

.timeline-intro{

    max-width:950px;

    margin:auto;

    text-align:center;

    font-size:20px;

    line-height:1.9;

    color:#555;

}

.change-grid{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:25px;
    flex-wrap:wrap;
    margin-top:45px;

}

.change-card{

    width:240px;

    padding:30px;

    text-align:center;

    border-radius:20px;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.25);

    transition:.4s;

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.change-card:hover{

    transform:translateY(-10px);

}

.change-icon{

    font-size:55px;

    margin-bottom:15px;

}

.change-card h3{

    color:#0b3d91;

    margin-bottom:15px;

}

.change-card p{

    line-height:1.8;

}

.change-arrow{

    font-size:45px;

    color:#D4AF37;

    font-weight:bold;

}

.final-card{

    background:linear-gradient(
        135deg,
        #0b3d91,
        #1e64d6
    );

    color:white;

}

.final-card h3{

    color:white;

}

/* ================= FUTURE ================= */

.future-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

gap:30px;

margin-top:50px;

}

.future-card{

padding:35px;

background:rgba(255,255,255,.0);

backdrop-filter:blur(02px);

border-radius:22px;

border:1px solid rgba(255,255,255,.15);

transition:.4s;

box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.future-card:hover{

transform:translateY(-10px);

}

.future-icon{

font-size:50px;

margin-bottom:20px;

}

.future-card h3{

color:#0b3d91;

margin-bottom:15px;

}

.future-card p{

line-height:1.9;

}

/* ================= VISION BANNER ================= */

.vision-banner{

margin:80px auto;

padding:60px 40px;

background:linear-gradient(135deg,#0b3d91,#164fa5);

color:white;

border-radius:25px;

text-align:center;

box-shadow:0 20px 45px rgba(0,0,0,.2);

}

.vision-banner h2{

font-size:38px;

margin-bottom:20px;

}

.vision-banner p{

max-width:900px;

margin:auto;

line-height:2;

font-size:18px;

}

/* ================= PHILOSOPHY ================= */

.philosophy-box{

margin:50px auto;

max-width:700px;

padding:40px;

text-align:center;

background:rgba(255,255,255,.08);

backdrop-filter:blur(12px);

border-radius:25px;

border:1px solid rgba(255,255,255,.25);

box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.philosophy-box h3{

font-size:28px;

color:#0b3d91;

margin:22px 0;

}

/* =======================================================
   FOUNDER HERO
======================================================= */

.founder-hero{

    min-height:100vh;

    background:
    linear-gradient(
    rgba(5,20,45,.45),
    rgba(5,20,45,.45)
    ),

    url("images/founder-page.png");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:80px 20px;

}

/* ================= GLASS ================= */

/* ================= GLASS ================= */

.founder-glass{

    width:min(900px,92%);

    background:rgba(255,255,255,.03);

backdrop-filter:blur(6px);

-webkit-backdrop-filter:blur(6px);

border:1px solid rgba(255,255,255,.25);

    border-radius:28px;

    padding:60px;

    text-align:center;

    color:white;

    box-shadow:
    0 8px 30px rgba(0,0,0,.20);

}

/* ================= TEXT ================= */

.founder-glass h1{

    font-size:52px;

    margin-bottom:15px;

    color:#FFD700;

}

.founder-glass h2{

    font-size:28px;

    margin-bottom:25px;

    color:white;

}

.founder-glass p{

    font-size:20px;

    line-height:1.9;

    color:#f5f5f5;

}

/* ================= MOBILE ================= */

@media(max-width:768px){

.founder-glass{

padding:35px;

}

.founder-glass h1{

font-size:34px;

}

.founder-glass h2{

font-size:22px;

}

.founder-glass p{

font-size:17px;

}

}


/* ==========================================
   WEBSITE FLOATING BUTTONS
========================================== */

.website-floating-actions{

    position: fixed !important;

    right: 25px !important;

    top: 50% !important;
 bottom: auto !important;

    transform: translateY(-50%) !important;

    display: flex !important;

    flex-direction: column !important;

    gap: 16px !important;

    z-index: 999999 !important;

}

.website-floating-btn{

    width:62px;

    height:62px;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    font-size:28px;

    color:#0B3D91;

    background:rgba(255,255,255,.92);

    -webkit-backdrop-filter:blur(12px);

    backdrop-filter:blur(12px);

    border:3px solid #D4AF37;

    border-radius:50%;

    box-shadow:0 10px 25px rgba(11,61,145,.15);

}

.website-floating-btn:hover{

    background:#0B3D91;

    color:#fff;

}

/* ==========================================
   MENTORSHIP FLOATING ACTION BUTTONS
   ========================================== */

.website-floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;

    display: flex;
    flex-direction: column;
    gap: 12px;

    z-index: 9999;
}

.website-floating-btn {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    text-decoration: none;
    cursor: pointer;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.website-floating-btn:hover {
    transform: translateY(-3px);

    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.28);
}
/* =========================================================
   PH. AFRICA MENTORSHIP â€” MODULE GLASS SYSTEM
   ========================================================= */

.module-container {
    width: min(1180px, 92%);
    margin: 40px auto 80px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Shared glass block */

.module-welcome,
.module-title,
.module-ecosystem,
.module-list,
.module-guidance,
.module-next-step {
    position: relative;
    padding: 34px;
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.55);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* Welcome */

.module-welcome {
    text-align: center;
    padding: 48px 34px;
}

.module-welcome h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
}

.module-welcome p {
    margin: 8px auto;
    max-width: 760px;
    line-height: 1.7;
}

/* Selected pathway */

.module-title {
    text-align: center;
}

.module-title h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

/* Ecosystem */

.module-ecosystem h2,
.module-list h2,
.module-guidance h2,
.module-next-step h2 {
    margin-top: 0;
}

.module-ecosystem ul {
    margin: 18px 0 0;
    padding-left: 24px;
}

.module-ecosystem li {
    margin: 10px 0;
    line-height: 1.6;
}

/* Module grid */

.module-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.module-buttons button {
    min-height: 90px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.58);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.module-buttons button:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.82);

    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.module-buttons button:active {
    transform: translateY(-1px);
}

/* Guidance */

.module-guidance p {
    max-width: 850px;
    line-height: 1.75;
    margin: 12px 0;
}

/* Next step */

.module-next-step {
    text-align: center;
}

.module-next-step p {
    line-height: 1.7;
}

.module-next-step button {
margin: 12px 6px 0;
padding: 13px 24px;
border: none;
border-radius: 10px;
background: #1976d2;
color: #ffffff;
cursor: pointer;
font-weight: 700;
font-size: 15px;
transition:
transform 0.25s ease,
box-shadow 0.25s ease,
background 0.25s ease;
}

.module-next-step button:hover {
transform: translateY(-3px);
background: #1565c0;
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
/* =========================================================
   MODULE MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .module-container {
        width: min(94%, 600px);
        margin-top: 25px;
        gap: 20px;
    }

    .module-welcome,
    .module-title,
    .module-ecosystem,
    .module-list,
    .module-guidance,
    .module-next-step {
        padding: 25px 20px;
        border-radius: 19px;
    }

    .module-welcome {
        padding: 34px 20px;
    }

    .module-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .module-buttons button {
        min-height: 75px;
        padding: 12px 8px;
    }
}

@media (max-width: 420px) {

    .module-buttons {
        grid-template-columns: 1fr;
    }

    .module-buttons button {
        min-height: 65px;
    }
}


/* ==========================================
   MODULE GLASS SECTIONS â€” COMPLETION
========================================== */

.module-ecosystem,
.module-list,
.module-guidance {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;
    padding: 30px;
    margin: 28px auto;
    max-width: 1100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.module-ecosystem h2,
.module-list h2,
.module-guidance h2 {
    margin-top: 0;
}

.module-ecosystem ul {
    margin: 20px 0 0;
    padding-left: 25px;
}

.module-ecosystem li {
    margin-bottom: 10px;
}

.module-list .module-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.module-list .module-buttons button {
    width: 100%;
}

.module-guidance p {
    line-height: 1.7;
}

@media (max-width: 700px) {

    .module-ecosystem,
    .module-list,
    .module-guidance {
        padding: 22px;
        margin: 20px 12px;
        border-radius: 16px;
    }

    .module-list .module-buttons {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   UNIT GLASS-BLOCK DESIGN
========================================================= */

.unit-container {
    width: min(1100px, 92%);
    margin: 40px auto 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.unit-welcome,
.unit-title,
.unit-ecosystem,
.unit-conversation,
.unit-reflection,
.unit-mission,
.unit-results,
.unit-next {
    padding: 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.unit-welcome {
    text-align: center;
}

.unit-welcome h1,
.unit-title h2,
.unit-ecosystem h2,
.unit-conversation h2,
.unit-reflection h2,
.unit-mission h2,
.unit-results h2,
.unit-next h2 {
    margin-top: 0;
}

.unit-title {
    text-align: center;
}

.unit-ecosystem ul {
    margin: 16px 0 0;
    padding-left: 24px;
}

.unit-ecosystem li {
    margin-bottom: 8px;
}

.unit-conversation #conversationBox {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 18px 0;
}

.unit-conversation #conversationBox p {
    margin: 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
}

.unit-conversation input,
.unit-reflection textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.72);
    font: inherit;
}

.unit-reflection textarea {
    min-height: 140px;
    resize: vertical;
}

.unit-conversation button,
.unit-mission button,
.unit-next button {
    margin-top: 14px;
}

.unit-results {
    text-align: center;
}

.unit-next {
    text-align: center;
}

@media (max-width: 700px) {

    .unit-container {
        width: min(94%, 1100px);
        margin-top: 24px;
        margin-bottom: 50px;
        gap: 16px;
    }

    .unit-welcome,
    .unit-title,
    .unit-ecosystem,
    .unit-conversation,
    .unit-reflection,
    .unit-mission,
    .unit-results,
    .unit-next {
        padding: 20px;
        border-radius: 16px;
    }

    .unit-conversation input,
    .unit-reflection textarea {
        font-size: 16px;
    }
}

/* =========================================================
   END UNIT GLASS-BLOCK DESIGN
========================================================= */

/* =========================================================
   PH. AFRICA â€” MENTORSHIP PATHWAYS
   PREMIUM FIRST-ENCOUNTER DESIGN
========================================================= */

.academy-container {
    width: min(1180px, 92%);
    margin: 48px auto 90px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* =========================================================
   SHARED GLASS PANELS
========================================================= */

.academy-welcome,
.academy-ecosystem,
.academy-grid,
.academy-guidance,
.academy-next-step {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.88),
            rgba(255,255,255,0.64)
        );

    border: 1px solid rgba(255,255,255,0.72);

    box-shadow:
        0 18px 50px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.85);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* =========================================================
   WELCOME
========================================================= */

.academy-welcome {
    text-align: center;
    padding: 58px 40px;
}

.academy-welcome::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    top: -120px;
    right: -80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.38);
}

.academy-welcome::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    bottom: -110px;
    left: -70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.30);
}

.academy-welcome h1 {
    position: relative;
    z-index: 1;

    margin: 0 0 16px;

    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.academy-welcome p {
    position: relative;
    z-index: 1;

    max-width: 780px;
    margin: 10px auto;

    font-size: 1.05rem;
    line-height: 1.7;
}

/* =========================================================
   ECOSYSTEM
========================================================= */

.academy-ecosystem h2,
.academy-grid h2,
.academy-guidance h2,
.academy-next-step h2 {
    margin: 0 0 22px;

    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 750;
    letter-spacing: -0.02em;
}

.academy-ecosystem ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.academy-ecosystem li {
    padding: 14px 18px;
    border-radius: 14px;

    background: rgba(255,255,255,0.48);
    border: 1px solid rgba(255,255,255,0.62);

    line-height: 1.5;
}

/* =========================================================
   PATHWAYS SECTION
========================================================= */

.academy-grid {
    padding: 40px;
}

.academy-grid > h2 {
    text-align: center;
    margin-bottom: 30px;
}

.academy-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* =========================================================
   PATHWAY CARDS
========================================================= */

.academy-buttons button {
    position: relative;

    min-height: 150px;
    padding: 28px 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.90),
            rgba(255,255,255,0.60)
        );

    box-shadow:
        0 10px 28px rgba(0,0,0,0.07),
        inset 0 1px 0 rgba(255,255,255,0.9);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    font: inherit;
    font-size: 1.05rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

/* subtle premium top line */

.academy-buttons button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;

    height: 3px;
    border-radius: 0 0 8px 8px;

    background: currentColor;
    opacity: 0.18;
}

/* hover */

.academy-buttons button:hover {
    transform: translateY(-5px);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.98),
            rgba(255,255,255,0.72)
        );

    box-shadow:
        0 18px 38px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,1);
}

/* keyboard accessibility */

.academy-buttons button:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}

/* =========================================================
   GUIDANCE
========================================================= */

.academy-guidance p {
    max-width: 900px;
    margin: 10px 0;

    line-height: 1.75;
    font-size: 1.02rem;
}

/* =========================================================
   NEXT STEP
========================================================= */

.academy-next-step {
    text-align: center;
    padding: 38px 34px;
}

.academy-next-step p {
    margin: 0 0 22px;
    line-height: 1.6;
}

.academy-next-step button {
    min-width: 210px;
    padding: 13px 22px;

    border: 0;
    border-radius: 999px;

    font: inherit;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.academy-next-step button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .academy-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .academy-ecosystem ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {

    .academy-container {
        width: min(94%, 1180px);
        margin-top: 24px;
        margin-bottom: 55px;
        gap: 18px;
    }

    .academy-welcome,
    .academy-ecosystem,
    .academy-grid,
    .academy-guidance,
    .academy-next-step {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .academy-welcome {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .academy-buttons {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .academy-buttons button {
        min-height: 110px;
        padding: 22px 18px;
    }
}

/* =========================================================
   END PREMIUM PATHWAYS DESIGN
========================================================= */

/* =========================================================
   PREMIUM PATHWAY CARDS
========================================================= */

.academy-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.academy-buttons button {
    position: relative;
    width: 100%;
    min-height: 92px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    color: inherit;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease;
}

.academy-buttons button:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.academy-buttons button:active {
    transform: translateY(-1px);
}

.academy-buttons button:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 620px) {

    .academy-buttons {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .academy-buttons button {
        min-height: 76px;
        padding: 18px 20px;
        font-size: 1rem;
    }
}

/* =========================================================
   END PREMIUM PATHWAY CARDS
========================================================= */

/* =========================================================
   PREMIUM PATHWAYS FIRST-ENCOUNTER DESIGN
========================================================= */

.academy-container {
    width: min(1120px, 92%);
    margin: 42px auto 80px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.academy-welcome {
    position: relative;
    padding: 52px 42px;
    border-radius: 26px;
    text-align: center;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.94),
            rgba(255, 255, 255, 0.72)
        );
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

.academy-welcome::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 255, 255, 0.55),
            transparent 32%
        );
}

.academy-welcome h1 {
    position: relative;
    margin: 0 auto 16px;
    max-width: 850px;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.academy-welcome p {
    position: relative;
    max-width: 760px;
    margin: 10px auto;
    font-size: 1.08rem;
    line-height: 1.7;
}

.academy-ecosystem {
    padding: 34px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.60);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.academy-ecosystem h2 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.academy-ecosystem ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.academy-ecosystem li {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.academy-grid {
    padding: 38px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.academy-grid h2 {
    margin: 0;
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.academy-guidance {
    padding: 34px;
    border-radius: 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.60);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.academy-guidance h2 {
    margin-top: 0;
}

.academy-guidance p {
    max-width: 780px;
    margin: 12px auto;
    line-height: 1.7;
}

.academy-next-step {
    padding: 32px;
    border-radius: 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.academy-next-step h2 {
    margin-top: 0;
}

.academy-next-step p {
    margin-bottom: 20px;
}

@media (max-width: 620px) {

    .academy-container {
        width: min(94%, 1120px);
        margin-top: 24px;
        margin-bottom: 50px;
        gap: 16px;
    }

    .academy-welcome {
        padding: 36px 22px;
        border-radius: 20px;
    }

    .academy-welcome p {
        font-size: 1rem;
    }

    .academy-ecosystem,
    .academy-grid,
    .academy-guidance,
    .academy-next-step {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .academy-ecosystem ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* =========================================================
   END PREMIUM PATHWAYS FIRST-ENCOUNTER DESIGN
========================================================= */







.unit-next button {
display: inline-block;
min-width: 180px;
padding: 12px 22px;
margin: 14px 6px 0;
border: 1px solid #333;
border-radius: 6px;
background: #fff;
color: #222;
font-size: 16px;
font-weight: 600;
line-height: 1.2;
text-align: center;
cursor: pointer;
}

.unit-next button:hover {
background: #f2f2f2;
}

.unit-next button:focus {
outline: 2px solid #333;
outline-offset: 2px;
}

.unit-next button {
margin: 14px 8px 0;
}

@media (max-width: 600px) {
.unit-next button {
display: block;
width: 100%;
max-width: 280px;
margin: 12px auto 0;
}
}

.unit-conversation button,
.unit-mission button {
display: inline-block;
min-width: 180px;
padding: 12px 22px;
margin: 14px 6px 0;
border: 1px solid #333;
border-radius: 6px;
background: #fff;
color: #222;
font-size: 16px;
font-weight: 600;
line-height: 1.2;
text-align: center;
cursor: pointer;
}

.unit-conversation button:hover,
.unit-mission button:hover {
background: #f2f2f2;
}

.unit-conversation button:focus,
.unit-mission button:focus {
outline: 2px solid #333;
outline-offset: 2px;
}

@media (max-width: 600px) {
.unit-conversation button,
.unit-mission button {
display: block;
width: 100%;
max-width: 280px;
margin: 12px auto 0;
}
}

.unit-conversation button,
.unit-mission button {
display: inline-block;
min-width: 180px;
padding: 12px 22px;
margin: 14px 6px 0;
border: 1px solid #333;
border-radius: 6px;
background: #fff;
color: #222;
font-size: 16px;
font-weight: 600;
line-height: 1.2;
text-align: center;
cursor: pointer;
}

.unit-conversation button:hover,
.unit-mission button:hover {
background: #f2f2f2;
}

.unit-conversation button:focus,
.unit-mission button:focus {
outline: 2px solid #333;
outline-offset: 2px;
}

@media (max-width: 600px) {
.unit-conversation button,
.unit-mission button {
display: block;
width: 100%;
max-width: 280px;
margin: 12px auto 0;
}
}
