/* =====================================================
   Kafou Charity Website - Balanced Master V29.0
   Features: Huge Header (130px) + Optimized Layout
   Developed by: Legendary AI Programmer
=====================================================
*/

/* 🔥 إضافة Font Awesome للأيقونات 🔥 */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* --- 1. المتغيرات والأساسيات --- */
:root {
    --primary-color: #6a428c;       
    --primary-dark: #50326b;
    --primary-light: #f3eff6;
    --secondary-color: #55ac4f;     
    --secondary-dark: #3c9634;
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --bg-body: #ffffff;
    --white: #ffffff;
    --border-color: #e9ecef;
    
   
    --header-height: 130px; 
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Tajawal', sans-serif;
    --shadow-header: 0 4px 30px rgba(0,0,0,0.05);
    --shadow-card: 0 5px 15px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }
html { scroll-behavior: smooth; font-size: 15px; }



body {
    font-family: var(--font-main);
    direction: rtl;
    text-align: right;
    background-color: var(--bg-body);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height);

   
    display: flex;           
    flex-direction: column;  
    min-height: 100vh;       
}

main {
    flex: 1;                
    width: 100%;              
    display: flex;         
    flex-direction: column;   
}

footer {
    flex-shrink: 0;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { width: 90%; max-width: 1250px; margin: 0 auto; padding: 0 15px; }

/* --- 2. الهيدر (Header) --- */
header {
    background-color: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-header);
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex; align-items: center;
    transition: transform 0.4s ease;
    width: 100%;
}

header .container {
    width: 100%; max-width: 100%; padding: 0 40px;
    display: flex; justify-content: space-between; align-items: center;
}

header.header-hidden { transform: translateY(-100%); }

.header-content { display: flex; justify-content: space-between; align-items: center; width: 100%; position: static; }

.logo {
    width: 280px; 
    height: 110px; 
    flex-shrink: 0; 
    display: flex; align-items: center; justify-content: flex-start;
    margin-left: 20px; 
    position: relative; z-index: 1200;
}
.logo img {
    max-height: 100%;
    width: auto; 
    max-width: 100%;
    object-fit: contain; 
    transition: transform 0.3s;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}
.logo img:hover { transform: scale(1.05); }

@media (min-width: 993px) {
    nav {
        flex-grow: 1; display: flex; justify-content: center; padding: 0 10px;
    }
    nav ul { display: flex; gap: 20px; align-items: center; margin: 0; padding: 0; }
    nav ul li { position: relative; padding: 10px 0; }
    
    nav ul li a {
        color: var(--text-color); font-weight: 700; font-size: 1rem;
        display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-radius: 8px;
        white-space: nowrap;
    }
    nav ul li a:hover, nav ul li a.active { color: var(--primary-color); background-color: var(--primary-light); }
    
    .dropdown-content {
        position: absolute; top: 100%; right: 50%; transform: translateX(50%) translateY(15px);
        background: var(--white); min-width: 240px; box-shadow: var(--shadow-card);
        border-radius: 12px; border-top: 4px solid var(--secondary-color);
        opacity: 0; visibility: hidden; transition: var(--transition); z-index: 1001; padding: 10px;
    }
    .dropdown-content::before {
        content: ''; position: absolute; top: -8px; right: 50%; transform: translateX(50%);
        border-width: 0 8px 8px 8px; border-style: solid;
        border-color: transparent transparent var(--secondary-color) transparent;
    }
    .dropdown:hover .dropdown-content { opacity: 1; visibility: visible; transform: translateX(50%) translateY(0); }
    .dropdown-content a {
        display: flex; align-items: center; gap: 10px; padding: 10px 15px;
        font-size: 0.9rem; border-radius: 6px; border-bottom: none; margin-bottom: 2px;
    }
    .dropdown-content a:hover { background-color: var(--primary-light); color: var(--primary-color); }
    
    .scrollable-menu { max-height: 450px; overflow-y: auto; }
    .mobile-menu-btn { display: none; }
}

/* الأزرار (يسار) */
.header-actions { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.donate-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white) !important; padding: 12px 30px; border-radius: 50px;
    font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 15px rgba(85, 172, 79, 0.25); white-space: nowrap;
}
.donate-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(85, 172, 79, 0.35); }

@media (max-width: 992px) {
    :root { --header-height: 100px; }
    
    header .container { padding: 0 20px; }
    
    .header-content { justify-content: space-between; position: static; }
    .logo { width: 140px; height: 80px; margin-left: 0; }
    .logo img { max-height: 100%; }

    .mobile-menu-btn {
        display: flex; align-items: center; justify-content: center;
        background: var(--primary-light); border: none;
        width: 45px; height: 45px; border-radius: 12px;
        font-size: 1.4rem; color: var(--primary-color);
        cursor: pointer; z-index: 2000;
    }
    nav {
        position: fixed; top: 0; right: -100%;
        width: 280px; height: 100vh; background: var(--white);
        z-index: 9999; box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 120px 0 50px; overflow-y: auto; display: block;
    }
    nav.active { right: 0; }
    .nav-overlay { display: none !important; }
    nav ul { flex-direction: column; width: 100%; gap: 0; }
    nav ul li { width: 100%; border-bottom: 1px solid #f5f5f5; }
    nav ul li a {
        padding: 16px 25px; font-size: 1rem; font-weight: 600; color: var(--text-color); width: 100%;
        display: flex; justify-content: space-between;
    }
    .dropdown-content {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; background: #fafafa;
        display: none; width: 100%; padding: 0; border-top: 1px solid #eee;
    }
    .dropdown.active .dropdown-content { display: block; animation: slideDown 0.3s ease; }
    .dropdown-content a { padding: 12px 25px 12px 35px; font-size: 0.9rem; color: #666; border-bottom: 1px solid #eee; }
    .donate-btn { padding: 10px 20px; font-size: 0.9rem; }
}
@media (max-width: 480px) {
    .donate-btn span { display: none; }
    .donate-btn { padding: 0; width: 42px; height: 42px; justify-content: center; border-radius: 50%; }
}

.hero-slider-section {
    width: 100%; 
    height: auto; 
    min-height: 500px; 
    max-height: 750px;
    position: relative; 
    margin-top: 0;
}

.swiper { 
    width: 100%; 
    height: 100%; 
}

/* الإطار الأساسي */
.slider-frame {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5; 
}

.slide-image {
    width: 100%; 
    height: 100%;
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.8s ease-out;
}

.swiper-slide-active .slide-image {
    transform: scale(1.01);
}

.slide-image::after {
    content: ''; 
    position: absolute;
    top: 20px; 
    left: 20px; 
    right: 20px; 
    bottom: 20px;
    border-radius: 20px; 
    pointer-events: none;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--white); 
    background: rgba(106, 66, 140, 0.5);
    width: 45px; 
    height: 45px; 
    border-radius: 50%;
    backdrop-filter: blur(4px); 
    transition: 0.3s;
}

.swiper-button-next:after, .swiper-button-prev:after { 
    font-size: 1rem; 
    font-weight: bold; 
}

.swiper-button-next:hover, .swiper-button-prev:hover { 
    background: var(--secondary-color); 
}

.swiper-pagination-bullet-active { 
    background: var(--secondary-color) !important; 
}


@media (max-width: 768px) {
.hero-slider-section {
    width: 100%; 
    height: calc(100vh - var(--header-height)); 
    min-height: 500px; 
    max-height: 800px;
    position: relative; 
    overflow: hidden;
}
    
    .slide-image::after { 
        top: 15px; 
        left: 15px; 
        right: 15px; 
        bottom: 15px;
        border-radius: 15px;
    }
    
    .swiper-button-next, .swiper-button-prev { 
        display: none; 
    }
}

@media (max-width: 480px) {
    .hero-slider-section { 
        height: 45vh;
        min-height: 300px;
        max-height: 400px;
    }
    
    .slide-image::after { 
        top: 10px; 
        left: 10px; 
        right: 10px; 
        bottom: 10px;
        border-radius: 10px;
        border-width: 0.5px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slider-section { 
        height: 60vh;
        min-height: 450px;
    }
}

.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: var(--white) !important; 
    padding: 60px 0; position: relative; overflow: hidden;
    z-index: 10; text-align: center;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M1 6h2v2H1V6zm0-2h2v2H1V4zm0-2h2v2H1V2zm0 8h2v2H1v-2zm0 2h2v2H1v-2zm0 2h2v2H1v-2zm0 2h2v2H1v-2zM5 6h2v2H5V6zm0-2h2v2H5V4zm0-2h2v2H5V2zm0 8h2v2H5v-2zm0 2h2v2H5v-2zm0 2h2v2H5v-2zm0 2h2v2H5v-2zM9 6h2v2H9V6zm0-2h2v2H9V4zm0-2h2v2H9V2zm0 8h2v2H9v-2zm0 2h2v2H9v-2zm0 2h2v2H9v-2zm0 2h2v2H9v-2z'/%3E%3C/g%3E%3C/svg%3E");
    margin-top: -30px; border-radius: 25px 25px 0 0;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.stat-item {
    background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15); 
    padding: 25px 20px;
    border-radius: 15px; transition: transform 0.3s ease;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.stat-item:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.12); }
.stat-icon-box {
    font-size: 2.5rem; color: var(--secondary-color); background: var(--white);
    width: 70px; height: 70px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.stat-number { 
    font-size: 3rem; font-weight: 800; line-height: 1.1; 
    color: var(--white) !important; font-family: 'Arial', sans-serif; display: block;
}
.plus-sign { font-size: 1.5rem; color: var(--secondary-color); font-weight: bold; margin-bottom: 5px; }
.stat-item h3 { font-size: 1.1rem; font-weight: 500; opacity: 0.95; margin: 0; }
@media (max-width: 768px) {
    .stats { padding: 50px 0; } .stats-grid { gap: 20px; }
    .stat-number { font-size: 2.5rem; }
}

section { padding: 70px 0; }
.section-title {
    text-align: center; margin-bottom: 50px;
    color: var(--primary-color); font-size: 2rem; font-weight: 800;
    position: relative; padding-bottom: 15px;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; right: 50%; transform: translateX(50%);
    width: 60px; height: 4px; background: var(--secondary-color); border-radius: 10px;
}
.btn {
    display: inline-block; background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white); padding: 12px 30px; border-radius: 50px; font-weight: bold; border: none; margin: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); font-size: 0.95rem;
}
.btn:hover { transform: translateY(-3px); }
.btn-outline { background: transparent; border: 2px solid var(--white); box-shadow: none; }
.btn-outline:hover { background: var(--white); color: var(--primary-color); }

/* --- 8. الأهداف (Goals - Compact) --- */
.goals-section { background-color: #f9fbfc; padding: 70px 0; }
.goals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; }
.goal-item {
    background: var(--white); padding: 30px 20px; border-radius: 15px; text-align: center;
    border: 1px solid rgba(0,0,0,0.03); box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: all 0.3s; position: relative; overflow: hidden;
}
.goal-item::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0); transition: transform 0.3s ease;
}
.goal-item:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.goal-item:hover::after { transform: scaleX(1); }
.goal-icon {
    width: 70px; height: 70px; margin: 0 auto 15px; background: rgba(106, 66, 140, 0.08);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--primary-color); transition: 0.3s;
}
.goal-item:hover .goal-icon { background: var(--primary-color); color: var(--white); transform: rotateY(360deg); }
.goal-item h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-color); }
.goal-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

/* --- 9. البرامج (List Style - Compact) --- */
.programs-section { padding: 70px 0; background-color: var(--white); }
.programs-list { display: flex; flex-direction: column; gap: 20px; max-width: 1000px; margin: 0 auto; }
.program-list-item {
    display: flex; align-items: center; background: var(--white);
    border: 1px solid rgba(0,0,0,0.05); border-radius: 12px; padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); transition: all 0.3s; position: relative; overflow: hidden;
}
.program-list-item::before {
    content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 5px;
    background-color: var(--primary-color); opacity: 0; transition: opacity 0.3s;
}
.program-list-item:hover { transform: translateX(-8px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.program-list-item:hover::before { opacity: 1; }
.prog-icon {
    width: 65px; height: 65px; background: rgba(106, 66, 140, 0.1);
    color: var(--primary-color); border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; flex-shrink: 0; margin-left: 25px;
}
.prog-details { flex-grow: 1; }
.prog-details h3 { font-size: 1.25rem; color: var(--text-color); margin-bottom: 8px; font-weight: 700; }
.prog-details p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; margin: 0; }
.btn-text { color: var(--secondary-color); font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.btn-text:hover { color: var(--primary-color); gap: 12px; }
@media (max-width: 768px) {
    .program-list-item { flex-direction: column; text-align: center; padding: 25px 20px; }
    .program-list-item:hover { transform: translateY(-5px); }
    .program-list-item::before { width: 100%; height: 4px; top: 0; bottom: auto; }
    .prog-icon { margin: 0 0 15px 0; }
}



.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 35px;
    width: 100%;
}

.special-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column; position: relative;
}

.special-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(106, 66, 140, 0.15);
    border-color: var(--primary-light);
}
.special-card-img {
    height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #ffffff; 
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;🔥 */
    transition: transform 0.5s ease;
}

.special-card:hover .special-card-img img {
    transform: scale(1.05); /* تكبير خفيف جداً */
}
.special-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(106, 66, 140, 0.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}

.special-card:hover .special-overlay { opacity: 1; }

.special-overlay a {
    color: white; font-weight: bold; border: 2px solid white;
    padding: 10px 25px; border-radius: 30px; text-decoration: none;
}
.special-overlay a:hover { background: white; color: var(--primary-color); }

.special-card-body {
    padding: 30px 25px; text-align: right; flex-grow: 1;
    display: flex; flex-direction: column; position: relative;
}

.special-icon {
    width: 60px; height: 60px; background: var(--secondary-color);
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; position: absolute; top: -30px; left: 25px;
    border: 4px solid white; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.special-card-body h3 {
    margin-top: 15px; margin-bottom: 15px; font-size: 1.3rem;
    font-weight: 800; color: var(--primary-color);
}

.special-card-body p {
    color: #666; font-size: 0.95rem; line-height: 1.7;
    margin-bottom: 25px; flex-grow: 1;
}

.special-btn {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--text-color); font-weight: 700; text-decoration: none;
    font-size: 0.95rem; transition: 0.3s; margin-top: auto;
    padding-top: 20px; border-top: 1px solid #f5f5f5;
}

.special-btn:hover { color: var(--secondary-color); gap: 15px; }

@media (max-width: 768px) {
    .special-grid { grid-template-columns: 1fr; gap: 30px; }
    .special-card-img { height: 200px; }
}

footer { background: #23272b; color: #fff; padding: 80px 0 30px; }
.footer-column h3 { color: var(--secondary-color); margin-bottom: 25px; font-size: 1.2rem; border-bottom: 2px solid var(--secondary-color); display: inline-block; padding-bottom: 5px; }
.footer-links a { display: block; margin-bottom: 10px; color: #ddd; font-size: 0.95rem; }

.accessibility-toolbar {
    position: fixed; top: 180px; left: 0; background: var(--primary-color);
    border-radius: 0 12px 12px 0; padding: 10px; z-index: 900;
    display: flex; flex-direction: column; gap: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.accessibility-btn {
    background: var(--white); border: none; border-radius: 50%; width: 38px; height: 38px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--primary-color); transition: 0.2s;
}
.accessibility-btn:hover { background: var(--secondary-color); color: var(--white); }

@media (max-width: 768px) {
    .accessibility-toolbar {
        top: auto; bottom: 20px; left: 50%; transform: translateX(-50%);
        flex-direction: row; border-radius: 50px; padding: 8px 20px;
        width: max-content; background: rgba(106, 66, 140, 0.95);
        border: 1px solid rgba(255,255,255,0.2); z-index: 1800;
    }
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.goal-card-img {
    position: relative;
    height: 300px; 
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.goal-card-img:hover {
    transform: translateY(-10px);
}

.goal-bg {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.goal-card-img:hover .goal-bg {
    transform: scale(1.1);
}

.goal-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(106, 66, 140, 0.9) 0%, rgba(106, 66, 140, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: white;
    text-align: right;
}

.goal-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.goal-overlay p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}


.id-card-container {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(106, 66, 140, 0.2); 
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
    max-width: 350px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.id-card-container::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 150px; height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.id-card-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(106, 66, 140, 0.4);
}

.id-card-img {
    width: 100%;
    height: 240px; 
    border-radius: 15px 15px 50px 15px; 
    overflow: hidden;
    background-color: #fff;
    border: 4px solid var(--secondary-color); 
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.id-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.id-card-container:hover .id-card-img img {
    transform: scale(1.1);
}

.id-card-name {
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.id-card-container p {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.9);
    display: inline-block;
    padding: 2px 12px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.id-info-box {
    background: rgba(255, 255, 255, 0.1); 
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 10px 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.id-info-label {
    color: rgba(255, 255, 255, 0.8); 
    font-weight: normal;
    font-size: 0.9rem;
}

.id-info-value {
    color: #ffffff; 
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
}


.kafou-stats-container {
    display: flex;            
    justify-content: center;  
    flex-wrap: wrap;        
    gap: 20px;               
    padding: 20px 0;
    width: 100%;
}

.kafou-stat-box {
    width: 160px;             
    height: 160px;
    
    background: #fff;
    border: 1px solid #f0f0f0; 
    border-radius: 15px;      /
    
    display: flex;
    flex-direction: column;  
    align-items: center;      
    justify-content: center;  
    
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease-in-out;
    cursor: default;
}

.kafou-stat-box:hover {
    transform: translateY(-5px);  
    border-color: #4CAF50;         
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.15); 
}

.kafou-stat-box .k-icon {
    font-size: 2rem;
    color: #4CAF50;      
    margin-bottom: 10px;
}

.kafou-stat-box .k-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9rem;
    color: #777;
    font-weight: bold;
    margin-bottom: 5px;
}

.kafou-stat-box .k-number {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #333;
    line-height: 1;
}

.kafou-stat-box .k-plus {
    font-size: 1rem;
    color: #4CAF50;
    vertical-align: top;
}
body.high-contrast { --primary-color: #000080; --secondary-color: #008000; --bg-body: #ffffff; --text-color: #000000; }
body.large-text { font-size: 1.25rem; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.fas, .fab, .far, .fa-solid, .fa-brands, .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.fa, .fas, .far, .fal, .fad, .fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}

.fa-classic, .fa-solid, .far, .fas {
    font-family: 'Font Awesome 6 Free';
}

.fa-brands, .fab {
    font-family: 'Font Awesome 6 Brands';
}

.donate-btn i,
.btn i,
.stat-icon-box i,
.goal-icon i,
.prog-icon i,
.special-icon i,
.accessibility-btn i,
.map-icon-bg i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

.kafou-map-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: #eee url('https://maps.googleapis.com/maps/api/staticmap?center=27.5236,41.6961&zoom=14&size=800x600&maptype=satellite&key=YOUR_API_KEY') no-repeat center center;
    background-size: cover;
}

.map-link-overlay {
    position: absolute;
    inset: 0;
    background: rgba(106, 66, 140, 0.2); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.4s ease;
}

.map-link-overlay:hover {
    background: rgba(106, 66, 140, 0.4);
}

.map-icon-bg {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    margin-bottom: 15px;
    transform: transition 0.3s;
}

.map-link-overlay:hover .map-icon-bg {
    transform: scale(1.1) rotate(10deg);
}

.map-btn-text {
    color: white;
    font-weight: bold;
    background: #4285F4;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}