@font-face {
    font-family: "Noto Kufi Arabic";
    src: url("../fonts/NotoKufiArabic-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Noto Kufi Arabic";
    src: url("../fonts/NotoKufiArabic-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Noto Kufi Arabic";
    src: url("../fonts/NotoKufiArabic-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --color-primary: #035B73;
    --color-gold: #BC935A;
    --color-ivory: #F8F6F1;
    --color-mist: #E7EEF0;
    --color-ink: #142D36;
    --color-soft-gold: #EBDCC7;
    --color-ink-muted: rgba(20, 45, 54, 0.72);
    --color-ink-subtle: rgba(20, 45, 54, 0.55);
}

* {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            font-family: "Noto Kufi Arabic", sans-serif;
            background-color: var(--color-ivory);
            color: var(--color-ink);
            line-height: 1.6;
        }
        a { text-decoration: none; color: inherit; }
        button { font-family: inherit; cursor: pointer; border: none; }
        
        /* Colors & Utilities */
        .brand-green { background-color: var(--color-primary); color: var(--color-ivory); }
        .brand-green:hover { background-color: var(--color-ink); }
        .text-brand-green { color: var(--color-primary); }
        .bg-soft-gray { background-color: var(--color-mist); }
        .bg-badge-cream { background-color: var(--color-soft-gold); color: var(--color-ink); }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

        /* Navbar */
        header {
            background-color: var(--color-ivory);
            border-bottom: 1px solid var(--color-mist);
            position: sticky;
            top: 0;
            z-index: 50;
        }
        .nav-inner {
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo-box { display: flex; align-items: center; gap: 12px; }
        .logo-icon {
            width: 40px; height: 40px; border-radius: 50%;
            background-color: var(--color-primary); color: var(--color-ivory);
            display: flex; align-items: center; justify-content: center; font-weight: bold;
        }
        .logo-title { font-size: 20px; font-weight: 800; color: var(--color-primary); display: block; line-height: 1.1; }
        .logo-sub { font-size: 12px; color: var(--color-ink-muted); }
        .nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; color: var(--color-ink-muted); }
        .nav-links a.active { color: var(--color-primary); font-weight: 700; }
        .nav-links a:hover { color: var(--color-primary); }
        .nav-actions { display: flex; align-items: center; gap: 12px; }
        .btn-outline {
            border: 1px solid var(--color-soft-gold); background: var(--color-ivory); color: var(--color-ink);
            padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600;
            display: inline-flex; align-items: center; gap: 8px; transition: 0.5s
        }
        .language-button {  color: var(--color-ink);
            padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600;
            display: inline-flex; align-items: center; gap: 8px; transition: 0.5s}
            .language-button:hover {color: var(--color-primary)}
        .btn-outline:hover { background: var(--color-primary); transition: 0.5s; color: var(--color-ivory); }

        /* Hero Section */
        .hero {
            background: url("../img/hero.png") center / cover no-repeat;
            background-size: contain;
            background-position: right;
            background-repeat: no-repeat;
            padding: 80px 20px;
        }
        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: center;
            min-height: 380px;
        }
        .hero h1 { font-size: 52px; font-weight: 800; color: var(--color-ink); line-height: 1.2; margin-bottom: 20px; }
        .hero h1 span { color: var(--color-primary); display: block; }
        .hero p { font-size: 18px; color: var(--color-ink-muted); margin-bottom: 28px; max-width: 520px; }
        .hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
        .btn-primary {
            background-color: var(--color-primary); color: var(--color-ivory); padding: 14px 28px;
            border-radius: 8px; font-size: 16px; font-weight: 700;
            display: inline-flex; align-items: center; gap: 8px;
        }
        .btn-primary:hover { background-color:#BC935A; }
        .btn-secondary {
            background-color: var(--color-ivory); color: var(--color-ink); border: 1px solid var(--color-soft-gold);
            padding: 14px 28px; border-radius: 8px; font-size: 16px; font-weight: 700;
            display: inline-flex; align-items: center; gap: 8px; transition: 0.5s
    ;
        }
        .btn-secondary:hover { background-color: var(--color-primary); color:var(--color-white); transition: background-color 220ms ease; }
        .sponsors-bar { display: flex; align-items: center; gap: 14px; }
        .sponsors-copy { font-size: 13px; color: var(--color-ink-muted); }
        .sponsors-caption { color: var(--color-ink-subtle); }
        .avatars { display: flex; }
        .avatar {
            width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--color-ivory);
            background-color: var(--color-soft-gold); margin-left: -10px;
            display: flex; align-items: center; justify-content: center;
            font-size: 12px; font-weight: bold; color: var(--color-ink);
        }
        .avatar img{border-radius: 50%; }
        .hero-media {
            position: relative;
            min-height: 380px;
            
        }

        /* Stats */
        .stats-wrapper { margin-top: -40px; position: relative; z-index: 10; }
        .stats-card {
            background: var(--color-ivory); border-radius: 16px; padding: 28px;
            box-shadow: 0 4px 20px rgba(20,45,54,0.08); border: 1px solid var(--color-mist);
            display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
        }
        .stat-item { display: flex; align-items: center; justify-content: center; gap: 16px; border-left: 1px solid var(--color-mist); }
        .stat-item:last-child { border-left: none; }
        .stat-icon {
            width: 60px; height: 60px; border-radius: 50%; background: var(--color-mist);
            color: var(--color-primary); display: flex; align-items: center; justify-content: center;
            transition: box-shadow 220ms ease;
        }
        .stat-icon svg { width: 30px; height: 30px; }
        .stat-icon-primary { color: var(--color-primary); }
        .stat-icon-gold { color: var(--color-gold); }
        .stat-item:hover .stat-icon {
            box-shadow: 0 8px 18px rgba(20,45,54,0.12);
        }
        .stat-num { font-size: 28px; font-weight: 800; color: var(--color-ink); line-height: 1.1; }
        .stat-label { font-size: 13px; color: var(--color-ink-muted); }

        /* How it works */
        .section { padding: 72px 0; }
        .section-header { text-align: center; margin-bottom: 48px; }
        .section-title { font-size: 30px; font-weight: 800; color: var(--color-ink); }
        .section-sub { font-size: 15px; color: var(--color-ink-muted); margin-top: 8px; }
        .how-it-works .section-header { margin-bottom: 24px; }
        .steps-card {
            padding: 50px 32px; border: 1px solid rgba(20,45,54,0.08); border-radius: 18px;
            background: rgba(255,255,255,0.72); box-shadow: 0 4px 18px rgba(20,45,54,0.035);
        }
        .steps-grid {
            display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr) 32px minmax(0, 1fr);
            align-items: center; gap: 20px; direction: rtl;
        }
        .step-item { display: flex; align-items: center; gap: 16px; min-width: 0; }
        .step-icon {
            width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%;
            background: #F2F8F3; border: 1px solid #E5EFE7; color: #155B46;
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 0 0 6px rgba(242,248,243,0.55);  transition: 0.5s;
        }
        .step-icon:hover {background: #BC935A; color: var(--color-ivory); transition: 0.5s;}
        .step-icon svg { width: 34px; height: 34px; }
        .step-copy { min-width: 0; }
        .step-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
        .step-num {
            color: var(--color-ink-subtle); font-size: 10px; font-weight: 700; flex: 0 0 auto;
        }
        .step-title { font-size: 16px; font-weight: 700; color: var(--color-ink); }
        .step-desc { font-size: 12px; line-height: 1.8; color: var(--color-ink-muted); }
        .step-arrow { color: rgba(20,45,54,0.48); display: flex; justify-content: center; }
        .step-arrow svg { width: 24px; height: 24px; }
        .step-arrow-line { stroke-dasharray: 1.5 3; }

        /* Children Cards */
        .children-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
        .children-link { font-size: 14px; font-weight: 700; color: var(--color-ink-muted); }
        .children-link:hover { color: var(--color-primary); }
        .cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
        .child-card {
            background: var(--color-ivory); border-radius: 16px; overflow: hidden;
            border: 1px solid var(--color-mist); box-shadow: 0 2px 8px rgba(20,45,54,0.04);
            display: flex; flex-direction: column;
        }
        .child-img {
            background: var(--color-mist); position: relative;
            display: flex; align-items: center; justify-content: center; color: var(--color-ink-muted); font-size: 14px;
        }
        .fav-btn {
            position: absolute; top: 12px; left: 12px; width: 32px; height: 32px;
            border-radius: 50%; background: rgba(248,246,241,0.92); color: var(--color-primary);
            display: flex; align-items: center; justify-content: center;
        }
        .fav-btn:hover { background: var(--color-primary); color: var(--color-ivory); }
        .child-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
        .child-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
        .child-name { font-size: 16px; font-weight: 700; color: var(--color-ink); }
        .child-age { font-size: 12px; color: var(--color-ink-muted); }
        .child-loc { font-size: 12px; color: var(--color-ink-subtle); margin-bottom: 16px; }
        .child-meta {
            margin-top: auto; padding-top: 12px; border-top: 1px solid var(--color-mist);
            display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;
        }
        .badge { padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; }
        .price { font-size: 12px; font-weight: 500; color: var(--color-ink); }
        .btn-card {
            width: 100%; background: var(--color-primary); color: var(--color-ivory); padding: 10px;
            border-radius: 8px; font-size: 14px; font-weight: 700;
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        }
        .payment-icon { width: 17px; height: 17px; flex: 0 0 auto; }
        .btn-card:hover { background: #BC935A; }

        /* Ways to give */
        .ways-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
        .way-card {
            padding: 24px 16px; border-radius: 16px; border: 1px solid var(--color-mist);
            text-align: center; transition: 0.2s;
        }
        .way-card:hover { border-color: var(--color-primary); background: var(--color-ivory); box-shadow: 0 8px 16px rgba(20,45,54,0.06); }
        .way-icon {
            width: 48px; height: 48px; margin: 0 auto 12px;
            display: flex; align-items: center; justify-content: center; color: #155B46;
        }
        .way-icon svg {
            width: 36px; height: 36px;
        }
        .way-title { font-size: 15px; font-weight: 700; color: var(--color-ink); margin-bottom: 6px; }
        .way-desc { font-size: 12px; color: var(--color-ink-muted); }

        /* Trust & Transparency */
        .trust-panel {
            display: grid; grid-template-columns: 190px minmax(0, 1fr); direction: ltr;
            min-height: 184px; border-radius: 16px; background: #F0EFEC;
        }
        .trust-photo { min-width: 0; min-height: 184px; overflow: hidden; border-radius: 16px 0 0 16px; }
        .trust-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; display: block; }
        .trust-content { direction: rtl; min-width: 0; padding: 14px 22px 0; display: flex; flex-direction: column; }
        .trust-title { text-align: center; font-size: 20px; margin-bottom: 8px; }
        .trust-features { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; }
        .trust-feature {
            min-width: 0; min-height: 58px; padding: 0 10px;
            display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
            text-align: center;
        }
        .trust-feature:not(:last-child) { border-left: 1px solid rgba(20,45,54,0.12); }
        .trust-feature svg { width: 22px; height: 22px; flex: 0 0 auto; color: #65756F; }
        .trust-feature span { font-size: 11px; line-height: 1.55; font-weight: 700; color: var(--color-ink); }
        .trust-cta { display: flex; justify-content: center; margin-top: 10px; margin-bottom: -10px; }
        .trust-cta .btn-outline {
            min-width: 230px; justify-content: center; padding: 7px 18px; border-color: #E1E2DF;
            background: #fff; box-shadow: 0 2px 8px rgba(20,45,54,0.08);
        }
        .trust-cta .btn-outline svg { width: 17px; height: 17px; }

        /* Bottom CTA */
        .bottom-cta {
            background: linear-gradient(rgba(20,45,54,0.78), rgba(20,45,54,0.78)), url("../img/footer.jpg") center / cover no-repeat;
            color: var(--color-ivory); padding: 60px 20px; text-align: center;
        }
        .bottom-cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; line-height: 1.3; }
        .bottom-cta h2 span { color: var(--color-ivory); display: block; }
        .bottom-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
        .bottom-cta .btn-primary { background-color: var(--color-primary); }
        .btn-glass {
            background: rgba(248,246,241,0.1); border: 1px solid rgba(248,246,241,0.35);
            color: var(--color-ivory); padding: 14px 28px; border-radius: 8px; font-size: 16px; font-weight: 700;
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        }
        .btn-glass:hover { background: rgba(248,246,241,0.2); }

        @media (max-width: 992px) {
            .hero-grid { grid-template-columns: 1fr; }
            .hero-grid { min-height: 0; }
            .hero-media { display: none; }
            .stats-card, .cards-grid { grid-template-columns: repeat(2, 1fr); }
            .ways-grid { grid-template-columns: repeat(3, 1fr); }
            .trust-panel { grid-template-columns: 150px minmax(0, 1fr); }
            .trust-content { padding-right: 14px; padding-left: 14px; }
            .trust-feature { padding-right: 6px; padding-left: 6px; }
            .nav-links { display: none; }
        }
        @media (max-width: 800px) {
            .trust-features { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
            .trust-feature { min-height: 56px; }
            .trust-feature:not(:last-child) { border-left: none; }
            .trust-feature:nth-child(1), .trust-feature:nth-child(2), .trust-feature:nth-child(4) {
                border-left: 1px solid rgba(20,45,54,0.12);
            }
        }
        @media (max-width: 600px) {
            .stats-card, .steps-grid, .cards-grid, .ways-grid { grid-template-columns: 1fr; }
            .stat-item { border-left: none; border-bottom: 1px solid var(--color-mist); padding-bottom: 16px; }
            .steps-card { padding: 24px 20px; }
            .steps-grid { gap: 14px; }
            .step-item { gap: 16px; }
            .step-arrow { transform: rotate(90deg); }
            .trust-panel { grid-template-columns: 1fr; }
            .trust-photo { height: 170px; min-height: 0; border-radius: 16px 16px 0 0; }
            .trust-content { padding: 18px 16px 0; }
            .trust-features { grid-template-columns: 1fr; row-gap: 0; }
            .trust-feature {
                min-height: 44px; flex-direction: row; justify-content: flex-start; gap: 12px;
                padding: 8px 4px; text-align: right; border-left: none !important;
            }
            .trust-feature:not(:last-child) { border-bottom: 1px solid rgba(20,45,54,0.1); }
            .trust-feature svg { width: 20px; height: 20px; }
            .trust-feature span { font-size: 12px; }
            .trust-cta { margin-top: 12px; }
            .trust-cta .btn-outline { min-width: min(230px, 100%); }
        }

        @media (prefers-reduced-motion: reduce) {
            .stat-icon { transition: none; }
        }