/*==========================================================
  CHILDREN'S HOPE — Custom Enhancements
  Palette : #FF1B4C (primary red) | #192437 (dark navy)
==========================================================*/

/* ── 1. STATS BAR ────────────────────────────────────────*/
.ch-stats-bar {
    background: #FF1B4C;
    padding: 0;
}
.ch-stats-bar .ch-stats-inner {
    display: flex;
    flex-wrap: wrap;
}
.ch-stat-item {
    flex: 1 1 25%;
    text-align: center;
    padding: 22px 10px;
    border-right: 1px solid rgba(255,255,255,.18);
    min-width: 150px;
}
.ch-stat-item:last-child { border-right: none; }
.ch-stat-item .ch-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}
.ch-stat-item .ch-stat-lbl {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,.8);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 5px;
}
@media (max-width: 767px) {
    .ch-stat-item { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,.15); }
    .ch-stat-item:nth-child(2) { border-right: none; }
    .ch-stat-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ── 2. ABOUT — SKILL BARS ───────────────────────────────*/
.ch-skill-bars { margin-top: 24px; }
.ch-skill-bar { margin-bottom: 14px; }
.ch-skill-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.ch-skill-bar-header .ch-skill-name {
    font-size: 13px;
    font-weight: 600;
    color: #192437;
}
.ch-skill-bar-header .ch-skill-pct {
    font-size: 12px;
    font-weight: 700;
    color: #FF1B4C;
}
.ch-skill-track {
    background: #edf0f4;
    height: 6px;
    border-radius: 4px;
    overflow: hidden;
}
.ch-skill-fill {
    height: 6px;
    border-radius: 4px;
    background: linear-gradient(90deg, #FF1B4C, #ff4d70);
    transition: width 1.2s ease;
}

/* ── 3. ACTION CARD — CATEGORY BADGE ────────────────────*/
.services-item .services-thumb { position: relative; overflow: hidden; }
.ch-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #FF1B4C;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    z-index: 2;
    pointer-events: none;
}

/* ── 4. NEWSLETTER SECTION ───────────────────────────────*/
.ch-newsletter-section {
    background: #192437;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}
.ch-newsletter-section::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,27,76,.08);
    pointer-events: none;
}
.ch-newsletter-section::after {
    content: '';
    position: absolute;
    left: 5%;
    bottom: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,27,76,.05);
    pointer-events: none;
}
.ch-nl-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.ch-nl-text h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}
.ch-nl-text p {
    color: rgba(255,255,255,.55);
    font-size: 13px;
    margin: 0;
}
.ch-nl-form {
    display: flex;
    gap: 0;
    min-width: 360px;
    max-width: 440px;
    flex: 1 1 360px;
}
.ch-nl-form input[type="email"] {
    flex: 1;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.15);
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #fff;
    font-size: 13px;
    padding: 12px 18px;
    outline: none;
    transition: border-color .2s;
}
.ch-nl-form input[type="email"]::placeholder { color: rgba(255,255,255,.3); }
.ch-nl-form input[type="email"]:focus { border-color: #FF1B4C; }
.ch-nl-form button {
    background: #FF1B4C;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 0 4px 4px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
.ch-nl-form button:hover { background: #e0102e; }
@media (max-width: 767px) {
    .ch-nl-inner { flex-direction: column; align-items: flex-start; }
    .ch-nl-form { min-width: 0; width: 100%; max-width: 100%; }
}

/* ── 5. FOOTER ENHANCEMENTS ──────────────────────────────*/
.footer-area .footer-news-mini .news-mini-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-area .footer-news-mini .news-mini-item:last-child { border: none; }
.footer-area .footer-news-mini .news-mini-thumb {
    width: 54px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.footer-area .footer-news-mini .news-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.footer-area .footer-news-mini .news-mini-meta {
    font-size: 10px;
    color: rgba(255,255,255,.35);
    letter-spacing: .5px;
    margin-bottom: 3px;
}
.footer-area .footer-news-mini .news-mini-title a {
    font-size: 12px;
    color: rgba(255,255,255,.7);
    line-height: 1.5;
    transition: color .2s;
}
.footer-area .footer-news-mini .news-mini-title a:hover { color: #FF1B4C; }

/* Bouton don dans le footer */
.ch-footer-donate {
    display: inline-block;
    margin-top: 14px;
    background: #FF1B4C;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 9px 20px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background .2s;
}
.ch-footer-donate:hover { background: #e0102e; }

/* ── 6. PROJECTS — PROGRESS BAR ──────────────────────────*/
.ch-proj-progress { margin-top: 8px; }
.ch-proj-progress .ch-prog-track {
    background: rgba(255,255,255,.1);
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}
.ch-proj-progress .ch-prog-fill {
    height: 4px;
    border-radius: 2px;
    background: #FF1B4C;
}
.ch-proj-progress .ch-prog-label {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: rgba(255,255,255,.4);
    letter-spacing: .5px;
}

/* ── 7. SÉPARATION RESPONSABLES / PROJETS ───────────────*/
/*
 * Le thème applique margin-bottom: -237px sur .leadership-area
 * pour faire flotter les cartes sur .project-2-area.
 * Ce chevauchement cause des problèmes avec le contenu actuel.
 * On annule le margin négatif et on ajoute un vrai espacement.
 */
.leadership-area {
    margin-bottom: 0 !important;
    padding-bottom: 80px;
    background: #fff;
    position: relative;
    z-index: 11;
}
.project-2-area {
    position: relative;
    z-index: 10;
    /* Supprime tout décalage résiduel */
    margin-top: 0 !important;
}

/* ── 8. FOOTER COPYRIGHT BAR ─────────────────────────────*/
.footer-copyright-links a {
    color: rgba(255,255,255,.4);
    font-size: 12px;
    text-decoration: none;
    transition: color .2s;
}
.footer-copyright-links a:hover { color: #FF1B4C; }
