/* ==========================================================
   MADIBENG CONNECT
   ABOUT PAGE
   Complete About Page Styling
   ========================================================== */


/* ==========================================================
   ABOUT PAGE VARIABLES
   ========================================================== */

.mc-about-page {

    --mc-about-green: #198754;
    --mc-about-green-dark: #126c43;
    --mc-about-green-light: #e9f7ef;

    --mc-about-blue: #063b7a;
    --mc-about-blue-dark: #032a59;

    --mc-about-text: #172033;
    --mc-about-muted: #667085;
    --mc-about-border: #e6e9ee;
    --mc-about-white: #ffffff;
    --mc-about-light: #f7f9fc;

    color: var(--mc-about-text);

    overflow: hidden;
}


/* ==========================================================
   CONTAINER
   ========================================================== */

.mc-about-page .mc-container {

    width: min(1180px, calc(100% - 40px));

    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   ABOUT HERO
   ========================================================== */

.mc-about-hero {

    position: relative;

    overflow: hidden;

    padding: 105px 0 110px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(18, 108, 67, 0.98) 0%,
            rgba(25, 135, 84, 0.96) 48%,
            rgba(31, 157, 96, 0.91) 100%
        );
}


/* Decorative glow */

.mc-about-hero::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -190px;
    top: -260px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.09);

    pointer-events: none;
}


/* Decorative lower circle */

.mc-about-hero::after {

    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    left: -230px;
    bottom: -250px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);

    pointer-events: none;
}


/* ==========================================================
   HERO CONTENT
   ========================================================== */

.mc-about-hero-content {

    position: relative;

    z-index: 2;

    max-width: 850px;

    margin: 0 auto;

    text-align: center;
}


/* ==========================================================
   HERO EYEBROW
   ========================================================== */

.mc-about-eyebrow {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    padding: 8px 18px;

    border: 1px solid rgba(255, 255, 255, 0.28);

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1.4px;

    line-height: 1.4;
}


/* ==========================================================
   HERO TITLE
   ========================================================== */

.mc-about-hero h1 {

    margin: 0 0 22px;

    color: #ffffff;

    font-size: clamp(42px, 6vw, 72px);

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -2px;

    text-shadow:
        0 3px 18px rgba(0, 0, 0, 0.15);
}


/* ==========================================================
   HERO DESCRIPTION
   ========================================================== */

.mc-about-hero p {

    max-width: 720px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.95);

    font-size: 19px;

    line-height: 1.7;
}


/* ==========================================================
   INTRO SECTION
   ========================================================== */

.mc-about-intro {

    padding: 105px 0;

    background: #ffffff;
}


/* ==========================================================
   INTRO GRID
   ========================================================== */

.mc-about-intro-grid {

    display: grid;

    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr);

    gap: 80px;

    align-items: start;
}


/* ==========================================================
   SECTION LABEL
   ========================================================== */

.mc-about-section-label {

    display: inline-block;

    margin-bottom: 16px;

    color: var(--mc-about-green);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.6px;

    line-height: 1.4;
}


/* ==========================================================
   INTRO HEADING
   ========================================================== */

.mc-about-intro-heading h2 {

    margin: 0;

    color: var(--mc-about-blue-dark);

    font-size: clamp(34px, 4vw, 52px);

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -1.5px;
}


/* ==========================================================
   INTRO CONTENT
   ========================================================== */

.mc-about-intro-content {

    max-width: 720px;
}


.mc-about-intro-content p {

    margin: 0 0 22px;

    color: var(--mc-about-muted);

    font-size: 18px;

    line-height: 1.8;
}


.mc-about-intro-content p:last-child {

    margin-bottom: 0;
}


.mc-about-intro-content h2,
.mc-about-intro-content h3 {

    margin-top: 30px;

    margin-bottom: 15px;

    color: var(--mc-about-blue-dark);
}


/* ==========================================================
   DISCOVER SECTION
   ========================================================== */

.mc-about-discover {

    padding: 105px 0;

    background: var(--mc-about-light);
}


/* ==========================================================
   SECTION HEADING
   ========================================================== */

.mc-about-section-heading {

    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;
}


.mc-about-section-heading h2 {

    margin: 0 0 16px;

    color: var(--mc-about-blue-dark);

    font-size: clamp(32px, 4vw, 48px);

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -1.3px;
}


.mc-about-section-heading p {

    margin: 0;

    color: var(--mc-about-muted);

    font-size: 17px;

    line-height: 1.7;
}


/* ==========================================================
   ABOUT CARDS GRID
   ========================================================== */

.mc-about-cards {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 24px;
}


/* ==========================================================
   ABOUT CARD
   ========================================================== */

.mc-about-card {

    display: flex;

    gap: 22px;

    min-height: 210px;

    padding: 30px;

    border: 1px solid var(--mc-about-border);

    border-radius: 18px;

    background: #ffffff;

    color: inherit;

    text-decoration: none;

    box-shadow:
        0 8px 30px rgba(16, 24, 40, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.mc-about-card:hover {

    transform: translateY(-5px);

    border-color: rgba(25, 135, 84, 0.30);

    box-shadow:
        0 18px 42px rgba(16, 24, 40, 0.10);

    color: inherit;
}


/* ==========================================================
   CARD ICON
   ========================================================== */

.mc-about-card-icon {

    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: var(--mc-about-green-light);

    color: var(--mc-about-green);

    font-size: 21px;
}


/* ==========================================================
   CARD CONTENT
   ========================================================== */

.mc-about-card-content {

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.mc-about-card-title {

    margin-bottom: 10px;

    color: var(--mc-about-blue-dark);

    font-size: 21px;

    font-weight: 800;

    line-height: 1.25;
}


.mc-about-card-text {

    margin-bottom: 20px;

    color: var(--mc-about-muted);

    font-size: 15px;

    line-height: 1.65;
}


/* ==========================================================
   CARD LINK
   ========================================================== */

.mc-about-card-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: auto;

    color: var(--mc-about-green);

    font-size: 14px;

    font-weight: 800;
}


.mc-about-card-link i {

    transition: transform 0.2s ease;
}


.mc-about-card:hover .mc-about-card-link i {

    transform: translateX(4px);
}


/* ==========================================================
   PURPOSE SECTION
   ========================================================== */

.mc-about-purpose {

    padding: 110px 0;

    background: #ffffff;
}


/* ==========================================================
   PURPOSE GRID
   ========================================================== */

.mc-about-purpose-grid {

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 85px;

    align-items: center;
}


/* ==========================================================
   PURPOSE CONTENT
   ========================================================== */

.mc-about-purpose-content h2 {

    margin: 0 0 22px;

    color: var(--mc-about-blue-dark);

    font-size: clamp(35px, 4vw, 52px);

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -1.5px;
}


.mc-about-purpose-content p {

    margin: 0 0 20px;

    color: var(--mc-about-muted);

    font-size: 17px;

    line-height: 1.8;
}


.mc-about-purpose-content p:last-child {

    margin-bottom: 0;
}


/* ==========================================================
   PURPOSE POINTS
   ========================================================== */

.mc-about-purpose-points {

    display: flex;

    flex-direction: column;

    gap: 22px;
}


/* ==========================================================
   PURPOSE POINT
   ========================================================== */

.mc-about-point {

    display: flex;

    gap: 20px;

    padding: 24px;

    border: 1px solid var(--mc-about-border);

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 8px 25px rgba(16, 24, 40, 0.045);
}


/* ==========================================================
   PURPOSE POINT ICON
   ========================================================== */

.mc-about-point-icon {

    flex: 0 0 50px;

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: var(--mc-about-green-light);

    color: var(--mc-about-green);

    font-size: 18px;
}


/* ==========================================================
   PURPOSE POINT TEXT
   ========================================================== */

.mc-about-point h3 {

    margin: 0 0 6px;

    color: var(--mc-about-blue-dark);

    font-size: 18px;

    font-weight: 800;

    line-height: 1.3;
}


.mc-about-point p {

    margin: 0;

    color: var(--mc-about-muted);

    font-size: 14px;

    line-height: 1.6;
}


/* ==========================================================
   BUSINESS CTA
   ========================================================== */

.mc-about-business-cta {

    padding: 85px 0;

    background:
        linear-gradient(
            135deg,
            var(--mc-about-blue-dark) 0%,
            var(--mc-about-blue) 100%
        );

    color: #ffffff;
}


/* ==========================================================
   CTA INNER
   ========================================================== */

.mc-about-business-cta-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 45px;

    padding: 50px 55px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 22px;

    background: rgba(255, 255, 255, 0.06);

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.15);
}


/* ==========================================================
   CTA CONTENT
   ========================================================== */

.mc-about-business-cta-content {

    max-width: 700px;
}


.mc-about-business-cta .mc-about-section-label {

    color: #74d69d;
}


.mc-about-business-cta h2 {

    margin: 0 0 14px;

    color: #ffffff;

    font-size: clamp(30px, 4vw, 44px);

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -1px;
}


.mc-about-business-cta p {

    margin: 0;

    color: rgba(255, 255, 255, 0.84);

    font-size: 17px;

    line-height: 1.7;
}


/* ==========================================================
   CTA BUTTON
   ========================================================== */

.mc-about-cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 14px 24px;

    border: 0;

    border-radius: 10px;

    background: var(--mc-about-green);

    color: #ffffff;

    font-size: 15px;

    font-weight: 800;

    line-height: 1.2;

    text-decoration: none;

    white-space: nowrap;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.mc-about-cta-button:hover {

    background: #21a765;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.22);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991px) {

    .mc-about-hero {

        padding: 90px 0 95px;
    }


    .mc-about-intro {

        padding: 85px 0;
    }


    .mc-about-intro-grid {

        grid-template-columns: 1fr;

        gap: 35px;
    }


    .mc-about-discover {

        padding: 85px 0;
    }


    .mc-about-purpose {

        padding: 85px 0;
    }


    .mc-about-purpose-grid {

        grid-template-columns: 1fr;

        gap: 50px;
    }


    .mc-about-business-cta {

        padding: 70px 0;
    }


    .mc-about-business-cta-inner {

        padding: 42px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

    .mc-about-page .mc-container {

        width: min(100% - 32px, 1180px);
    }


    .mc-about-hero {

        padding: 78px 0 82px;
    }


    .mc-about-hero h1 {

        margin-bottom: 18px;

        font-size: clamp(38px, 11vw, 54px);

        letter-spacing: -1px;
    }


    .mc-about-hero p {

        font-size: 17px;

        line-height: 1.65;
    }


    .mc-about-eyebrow {

        margin-bottom: 18px;

        padding: 7px 14px;

        font-size: 11px;

        letter-spacing: 1.2px;
    }


    .mc-about-intro {

        padding: 70px 0;
    }


    .mc-about-intro-heading h2 {

        font-size: 38px;
    }


    .mc-about-intro-content p {

        font-size: 16px;

        line-height: 1.75;
    }


    .mc-about-discover {

        padding: 70px 0;
    }


    .mc-about-section-heading {

        margin-bottom: 40px;
    }


    .mc-about-section-heading h2 {

        font-size: 34px;
    }


    .mc-about-section-heading p {

        font-size: 16px;
    }


    .mc-about-cards {

        grid-template-columns: 1fr;

        gap: 18px;
    }


    .mc-about-card {

        min-height: auto;

        padding: 24px;

        gap: 17px;

        border-radius: 16px;
    }


    .mc-about-card-icon {

        flex-basis: 50px;

        width: 50px;
        height: 50px;

        font-size: 18px;
    }


    .mc-about-card-title {

        font-size: 19px;
    }


    .mc-about-card-text {

        font-size: 14px;
    }


    .mc-about-purpose {

        padding: 70px 0;
    }


    .mc-about-purpose-content h2 {

        font-size: 38px;
    }


    .mc-about-purpose-content p {

        font-size: 16px;

        line-height: 1.75;
    }


    .mc-about-point {

        padding: 20px;

        gap: 16px;
    }


    .mc-about-point-icon {

        flex-basis: 44px;

        width: 44px;
        height: 44px;
    }


    .mc-about-point h3 {

        font-size: 17px;
    }


    .mc-about-business-cta {

        padding: 60px 0;
    }


    .mc-about-business-cta-inner {

        flex-direction: column;

        align-items: flex-start;

        padding: 32px 25px;

        gap: 30px;

        border-radius: 18px;
    }


    .mc-about-business-cta h2 {

        font-size: 32px;
    }


    .mc-about-business-cta p {

        font-size: 16px;
    }


    .mc-about-cta-button {

        width: 100%;

        white-space: normal;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 480px) {

    .mc-about-page .mc-container {

        width: calc(100% - 28px);
    }


    .mc-about-hero {

        padding: 68px 0 72px;
    }


    .mc-about-hero h1 {

        font-size: 38px;
    }


    .mc-about-hero p {

        font-size: 16px;
    }


    .mc-about-intro {

        padding: 60px 0;
    }


    .mc-about-intro-heading h2 {

        font-size: 34px;
    }


    .mc-about-discover {

        padding: 60px 0;
    }


    .mc-about-section-heading h2 {

        font-size: 31px;
    }


    .mc-about-card {

        padding: 21px;
    }


    .mc-about-card-icon {

        flex-basis: 46px;

        width: 46px;
        height: 46px;
    }


    .mc-about-purpose {

        padding: 60px 0;
    }


    .mc-about-purpose-content h2 {

        font-size: 34px;
    }


    .mc-about-point {

        padding: 18px;
    }


    .mc-about-business-cta-inner {

        padding: 28px 20px;
    }


    .mc-about-business-cta h2 {

        font-size: 29px;
    }

}


/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

.mc-about-card:focus-visible,
.mc-about-cta-button:focus-visible {

    outline: 3px solid rgba(25, 135, 84, 0.35);

    outline-offset: 4px;
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .mc-about-card,
    .mc-about-card-link i,
    .mc-about-cta-button {

        transition: none;
    }

}