.section-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.section-description {
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: black;
    font-size: 1rem;
}

/* =========================================================
   FIRST SECTION - ABOUT THE CFA (REDESIGNED)
   ========================================================= */
#about-section {
    padding: 4rem 1rem;
}

.card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

/* --- Compact card --- */
.custom-card-horizontal {
    width: 100%;
    max-width: 950px;
    padding: 20px 24px;
    border: none;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    text-align: left;
    position: relative;
    overflow: hidden;
}

    /* title row: icon beside title on same row */
    .custom-card-horizontal .horizontal-card-title {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
        color: #000;
        font-weight: 700;
        font-size: 1.15rem;
    }

        /* Icon without box - just the icon itself */
        .custom-card-horizontal .horizontal-card-title i {
            font-size: 1.5rem;
            flex-shrink: 0;
        }

    /* description: starts from beginning of line, normal flow */
    .custom-card-horizontal .horizontal-card-text {
        color: #6c757d;
        font-size: 0.945rem;
        line-height: 1.5;
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 0;
        max-width: 100%;
        overflow-wrap: break-word;
    }

/* Icon colors for first section - using brand colors */
.icon-mission {
    color: #AA050E;
}

.icon-vision {
    color: #AA050E;
}

.icon-funding {
    color: #AA050E;
}

/* ===== SECTION BACKGROUND ===== */


section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* =========================================================
   SECOND SECTION - HOW IT WORKS
   ========================================================= */
#how-it-works-section {
    color: #000;
    padding: 3rem 2rem;
    border-radius: 10px;
}

.big-red-card {
    color: #000;
    border-radius: 15px;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.big-card-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    text-align: center;
}

.big-card-description {
    font-size: 1rem;
    color: #000;
    margin-bottom: 3rem;
    text-align: center;
}

.process-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    color: #000;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    min-height: 220px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.process-card-title {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.process-card-text {
    flex-grow: 1;
    color: black;
    margin: 0 0 15px 0;
    text-align: center;
}

.process-card .icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Step colors using brand palette */
#how-it-works-section .process-card .icon-box.icon-blue {
    background-color: #2A206F;
    color: white;
}

#how-it-works-section .process-card .icon-box.icon-green {
    background-color: #823077;
    color: white;
}

#how-it-works-section .process-card .icon-box.icon-purple {
    background-color: #AA050E;
    color: white;
}

#how-it-works-section .process-card .icon-box.icon-pink {
    background-color: #FC9399;
    color: white;
}

.step-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    margin-top: auto;
    border-radius: 50rem;
    border: 2px solid;
    background-color: transparent !important;
}

/* Badge outline colors matching icon boxes */
.bg-blue {
    border-color: #2A206F !important;
    color: #2A206F !important;
}

.bg-green {
    border-color: #823077 !important;
    color: #823077 !important;
}

.bg-purple {
    border-color: #AA050E !important;
    color: #AA050E !important;
}

.bg-pink {
    border-color: #FC9399 !important;
    color: #FC9399 !important;
}

/* =========================================================
   THIRD SECTION - CONTACT (FOOTER STYLE)
   ========================================================= */
.contact-footer {
    background-color: #2A206F; /* Brand primary color */
    border-top: 2px solid #1F1854;
    padding: 2rem 0;
    margin-top: 0;
    font-size: 0.875rem;
    color: #ffffff;
}

    .contact-footer .container {
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 0.75rem;
    }

.contact-content {
    line-height: 1.6;
    padding: 0 0.75rem;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-description {
    margin: 0 auto 1.5rem auto;
    text-align: center;
    color: #ffffff;
    max-width: 600px;
}

.contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #ffffff;
    position: relative;
    top: -0.5rem;
}

    .contact-email i {
        font-size: 1.25rem;
        color: #ffffff;
    }

    .contact-email span {
        color: #ffffff;
        word-break: break-word;
    }

/* =========================================================
   MOBILE RESPONSIVE STYLES
   ========================================================= */

/* Tablets and smaller */
@media (max-width: 768px) {
    .contact-footer {
        padding: 1.5rem 0;
    }

    .contact-title {
        font-size: 1.3rem;
    }

    .contact-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .contact-email {
        font-size: 0.95rem;
        flex-wrap: wrap;
    }
}
.contact-email a {
    color: #ffffff;
    text-decoration: none;
    word-break: break-word;
}

    .contact-email a:hover {
        text-decoration: underline;
    }

/* Mobile phones */
@media (max-width: 576px) {
    .contact-footer {
        padding: 1.25rem 0;
    }

    .contact-title {
        font-size: 1.2rem;
    }

    .contact-description {
        font-size: 0.9rem;
    }

    .contact-email {
        font-size: 0.9rem;
    }

        .contact-email i {
            font-size: 1.1rem;
        }
}
