/* =====================================
   PHILOSOPHY PAGE
===================================== */

.philosophy-hero {
    min-height: 590px;
    padding: 100px 8%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
    background: linear-gradient(120deg, #f8faff, #edf4ff);
    overflow: hidden;
}

.philosophy-hero-content {
    max-width: 650px;
}

.philosophy-hero h1 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.7rem, 5vw, 4.3rem);
    line-height: 1.15;
    color: var(--primary);
    margin: 20px 0;
    letter-spacing: -2px;
}

.philosophy-hero h1 span {
    display: block;
    color: var(--blue);
}

.philosophy-hero-content > p {
    max-width: 560px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 30px;
}


/* HERO VISUAL */

.philosophy-hero-visual {
    position: relative;
    height: 370px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.philosophy-visual-circle {
    width: 275px;
    height: 275px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dceaff, #b7d2ff);
    position: absolute;
}

.visual-card {
    position: absolute;
    z-index: 2;
    background: white;
    border: 1px solid #e5edfa;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(16, 45, 89, 0.09);
}

.visual-card-main {
    width: 210px;
    padding: 30px;
    text-align: center;
}

.visual-number {
    color: var(--blue);
    font-weight: 800;
    font-size: 0.8rem;
}

.visual-card-main h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin: 13px 0;
}

.visual-card-main p {
    color: var(--muted);
    font-size: 0.9rem;
}

.visual-card-top,
.visual-card-bottom {
    padding: 15px 20px;
}

.visual-card-top span,
.visual-card-bottom span {
    color: var(--blue);
    font-weight: 800;
}

.visual-card-top p,
.visual-card-bottom p {
    color: var(--primary);
    font-weight: 700;
    margin-top: 7px;
}

.visual-card-top {
    top: 30px;
    right: 0;
    transform: rotate(7deg);
}

.visual-card-bottom {
    bottom: 25px;
    left: 0;
    transform: rotate(-6deg);
}


/* CORE BELIEF */

.core-belief {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.belief-content h2 {
    color: var(--primary);
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.45;
    margin-bottom: 25px;
}

.belief-content p {
    color: var(--muted);
    line-height: 1.9;
    max-width: 750px;
}


/* PRINCIPLES */

.principles-section {
    background: #f8faff;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 50px;
}

.section-heading > p {
    color: var(--muted);
    line-height: 1.8;
    margin-top: 15px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.philosophy-card {
    position: relative;
    background: white;
    border: 1px solid var(--border);
    border-radius: 17px;
    padding: 32px;
    transition: 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-7px);
    border-color: #cbdcf8;
    box-shadow: 0 15px 35px rgba(16, 45, 89, 0.08);
}

.principle-number {
    position: absolute;
    top: 25px;
    right: 27px;
    color: #b5c8e6;
    font-size: 0.9rem;
    font-weight: 800;
}

.principle-symbol {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--light-blue);
    color: var(--blue);
    font-size: 1.7rem;
    margin-bottom: 25px;
}

.philosophy-card h3 {
    font-family: "Manrope", sans-serif;
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.philosophy-card p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.85;
}


/* AFRICA SECTION */

.africa-philosophy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.africa-content h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.3;
    color: var(--primary);
    margin: 18px 0;
}

.africa-content > p {
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 18px;
}

.africa-points {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.africa-point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.africa-point > span {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    color: var(--blue);
    border-radius: 12px;
    font-weight: 800;
}

.africa-point h3 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 8px;
}

.africa-point p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.92rem;
}


/* BUILDING PROCESS */

.building-philosophy {
    background: #f8faff;
}

.centered-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.centered-heading > p {
    color: var(--muted);
    line-height: 1.8;
    margin-top: 15px;
}

.building-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.building-step {
    flex: 1;
    min-height: 210px;
    padding: 25px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.building-step > span {
    display: block;
    color: var(--blue);
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.building-step h3 {
    color: var(--primary);
    font-family: "Manrope", sans-serif;
    margin-bottom: 12px;
}

.building-step p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.step-connector {
    color: var(--blue);
    font-size: 1.5rem;
    font-weight: 700;
}


/* PERSONAL COMMITMENT */

.personal-commitment {
    background: white;
}

.commitment-box {
    max-width: 950px;
    margin: auto;
    padding: 70px 60px;
    background: linear-gradient(130deg, #102d59, #174987);
    border-radius: 22px;
    text-align: center;
}

.commitment-box h2 {
    color: white;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.4;
    margin: 20px 0;
}

.commitment-box > p {
    max-width: 700px;
    margin: auto;
    color: #d6e4f8;
    line-height: 1.9;
}

.commitment-signature {
    display: inline-block;
    margin-top: 30px;
    color: #9fc4ff;
    font-weight: 700;
}


/* CTA */

.philosophy-cta {
    text-align: center;
    background: #f8faff;
}

.philosophy-cta-content {
    max-width: 800px;
    margin: auto;
}

.philosophy-cta h2 {
    color: var(--primary);
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 4vw, 2.7rem);
    line-height: 1.4;
    margin: 18px 0;
}

.philosophy-cta p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .philosophy-hero {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .philosophy-hero-visual {
        max-width: 500px;
        width: 100%;
        margin: auto;
    }

    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .africa-philosophy {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .building-steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .step-connector {
        display: none;
    }

}


@media (max-width: 600px) {

    .philosophy-hero {
        padding: 75px 6%;
    }

    .philosophy-hero h1 {
        font-size: 2.6rem;
        letter-spacing: -1px;
    }

    .philosophy-hero-visual {
        height: 310px;
    }

    .philosophy-visual-circle {
        width: 220px;
        height: 220px;
    }

    .visual-card-main {
        width: 180px;
        padding: 23px;
    }

    .visual-card-top,
    .visual-card-bottom {
        padding: 12px 15px;
    }

    .core-belief {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .philosophy-card {
        padding: 27px;
    }

    .building-steps {
        grid-template-columns: 1fr;
    }

    .building-step {
        min-height: auto;
    }

    .commitment-box {
        padding: 45px 25px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

}