/* =========================================
   HESSED ELIYA - MAIN STYLE
   ========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Heebo", Arial, sans-serif;
    color: #17243a;
    background: #ffffff;
    line-height: 1.65;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.wrap {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
}

.narrow {
    max-width: 760px;
}

.center {
    text-align: center;
}


/* =========================================
   HEADER
   ========================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e8edf4;
    box-shadow: 0 3px 18px rgba(23, 59, 114, 0.05);
}

.nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    min-width: 0;
}

/* ===== LOGO FIX ===== */

.brand .site-logo {
    width: 50px !important;
    height: 50px !important;

    min-width: 50px !important;
    min-height: 50px !important;

    max-width: 50px !important;
    max-height: 50px !important;

    object-fit: contain !important;
    object-position: center;

    display: block !important;
    flex: 0 0 50px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.brand b {
    display: block;
    color: #163d78;
    font-size: 19px;
    line-height: 1.2;
    white-space: nowrap;
}

.brand small {
    display: block;
    color: #667085;
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.3;
}

.nav nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 700;
}

.nav nav a {
    transition: color 0.2s ease;
}

.nav nav a:hover {
    color: #1769b0;
}

.menu {
    display: none;
    background: transparent;
    border: 0;
    padding: 5px;
    margin: 0;
    font-size: 30px;
    line-height: 1;
    color: #173b72;
    cursor: pointer;
}


/* =========================================
   BUTTONS
   ========================================= */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    border-radius: 999px;
    padding: 14px 28px;

    background: #1769b0;
    color: #ffffff;

    font-weight: 800;

    border: 2px solid #1769b0;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 105, 176, 0.20);
}

.btn.small {
    padding: 9px 20px;
}

.btn.outline {
    background: transparent;
    color: #1769b0;
}

.btn.outline:hover {
    background: #1769b0;
    color: #ffffff;
}


/* =========================================
   HERO
   ========================================= */

.hero {
    padding: 70px 0;

    background:
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #ffffff 50%,
            #fff7e8 100%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 60px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;

    margin: 12px 0 20px;

    color: #173b72;
}

.hero p,
.lead {
    font-size: 20px;
    color: #596579;
}

.eyebrow {
    font-weight: 900;
    color: #d39b18;
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.hero-card {
    min-height: 430px;

    border-radius: 32px;
    overflow: hidden;

    box-shadow: 0 25px 60px rgba(27, 53, 82, 0.15);

    background: #ffffff;
}

.hero-card img {
    width: 100%;
    height: 430px;

    object-fit: cover;

    display: block;
}

.placeholder {
    min-height: 430px;

    display: grid;
    place-content: center;

    text-align: center;

    background: #163d78;
    color: #ffffff;
}

.placeholder strong {
    display: block;

    font-size: 44px;

    color: #eab93f;
}

.placeholder span {
    display: block;
    font-size: 22px;
}


/* =========================================
   SECTIONS
   ========================================= */

.section {
    padding: 80px 0;
}

.warm {
    background: #fff8ef;
}

.blue-soft {
    background: #f3f8fd;
}

.section h2 {
    font-size: clamp(34px, 4vw, 50px);

    margin: 6px 0 20px;

    color: #17243a;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 30px;
}


/* =========================================
   CARDS
   ========================================= */

.cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.card {
    background: #ffffff;

    border-radius: 24px;

    overflow: hidden;

    box-shadow: 0 12px 35px rgba(32, 52, 75, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);

    box-shadow: 0 18px 45px rgba(32, 52, 75, 0.13);
}

.card img {
    width: 100%;
    height: 220px;

    object-fit: cover;

    display: block;
}

.pad {
    padding: 24px;
}

.pad h3 {
    font-size: 24px;

    margin: 0 0 8px;
}

.pad p {
    margin: 0;

    color: #697386;
}

.icon {
    height: 220px;

    display: grid;
    place-items: center;

    font-size: 72px;

    background: #fff3df;
}


/* =========================================
   STATISTICS
   ========================================= */

.stats {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;

    text-align: center;
}

.stats article {
    padding: 30px 18px;

    border-left: 1px solid #dde4ed;
}

.stats article:last-child {
    border-left: 0;
}

.stats strong {
    display: block;

    font-size: 42px;
    line-height: 1.2;

    color: #1769b0;
}

.stats h3 {
    margin: 8px 0 3px;
}

.stats p {
    margin-bottom: 0;

    color: #6b7280;
}


/* =========================================
   DONATION
   ========================================= */

.donate {
    background: #173b72;

    color: #ffffff;
}

.donate-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.donate h2 {
    color: #ffffff;

    margin: 5px 0;
}

.donate p {
    color: rgba(255, 255, 255, 0.85);
}

.light {
    color: #f3c452;
}

.gold {
    background: #e4ae2c;

    border-color: #e4ae2c;

    color: #14243b;
}

.gold:hover {
    background: #f3c452;

    border-color: #f3c452;
}


/* =========================================
   EMPTY
   ========================================= */

.empty {
    grid-column: 1 / -1;

    padding: 50px;

    text-align: center;

    background: #f7f9fc;

    border-radius: 24px;

    color: #667085;
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    background: #102d58;

    color: #ffffff;

    padding: 55px 0 90px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 40px;
}

footer h3 {
    margin-top: 0;

    color: #f3c452;

    font-size: 26px;
}


/* =========================================
   MOBILE ACTIONS
   ========================================= */

.mobile-actions {
    display: none;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 850px) {

    .nav {
        min-height: 70px;
        gap: 12px;
    }

    .nav nav,
    .nav > .btn {
        display: none;
    }

    .menu {
        display: block;
    }

    .brand .site-logo {
        width: 46px !important;
        height: 46px !important;

        min-width: 46px !important;
        min-height: 46px !important;

        max-width: 46px !important;
        max-height: 46px !important;

        flex: 0 0 46px !important;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .hero-card,
    .placeholder {
        min-height: 320px;
    }

    .hero-card img {
        height: 320px;
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .donate-box {
        display: block;
    }

    .donate-box .btn {
        margin-top: 18px;
    }

    .mobile-actions {
        position: fixed;

        bottom: 12px;
        left: 14px;
        right: 14px;

        z-index: 200;

        display: grid;

        grid-template-columns: 1fr 1fr;

        background: #ffffff;

        padding: 8px;

        border-radius: 999px;

        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.20);
    }

    .mobile-actions a {
        text-align: center;

        padding: 12px;

        border-radius: 999px;

        font-weight: 800;
    }

    .mobile-actions a:first-child {
        background: #1769b0;

        color: #ffffff;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 560px) {

    .wrap {
        width: calc(100% - 28px);
    }

    .header .nav {
        min-height: 64px;

        gap: 8px;
    }

    .brand {
        gap: 7px;

        overflow: hidden;
    }

    /*
       IMPORTANT:
       prevents the original large logo image
       from expanding on mobile
    */

    .brand .site-logo {
        width: 42px !important;
        height: 42px !important;

        min-width: 42px !important;
        min-height: 42px !important;

        max-width: 42px !important;
        max-height: 42px !important;

        flex: 0 0 42px !important;

        object-fit: contain !important;

        display: block !important;
    }

    .brand b {
        font-size: 16px;

        white-space: nowrap;
    }

    .brand small {
        display: none;
    }

    .menu {
        flex: 0 0 auto;

        font-size: 28px;
    }

    .hero {
        padding: 30px 0 40px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p,
    .lead {
        font-size: 17px;
    }

    .actions {
        display: grid;

        grid-template-columns: 1fr;
    }

    .actions .btn {
        width: 100%;
    }

    .hero-card,
    .placeholder {
        min-height: 260px;

        border-radius: 22px;
    }

    .hero-card img {
        height: 260px;
    }

    .placeholder strong {
        font-size: 34px;
    }

    .placeholder span {
        font-size: 18px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .card img,
    .icon {
        height: 210px;
    }

    .stats {
        grid-template-columns: 1fr 1fr;

        gap: 0;
    }

    .stats article {
        padding: 24px 12px;
    }

    .stats strong {
        font-size: 32px;
    }

    .section {
        padding: 55px 0;
    }

    .section h2 {
        font-size: 34px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    footer {
        padding-bottom: 110px;
    }
}

/* =========================================
   FINAL HEADER LOGO FIX
   ========================================= */

.logo-box {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
}

.logo-box .site-logo {
    width: 52px !important;
    height: 52px !important;

    min-width: 0 !important;
    min-height: 0 !important;

    max-width: 52px !important;
    max-height: 52px !important;

    object-fit: contain !important;

    display: block !important;

    position: static !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
}

.brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

    margin-left: auto;
}

.brand-text {
    display: block;
}

.brand-text b {
    display: block;
    color: #163d78;
    font-size: 18px;
    line-height: 1.2;
}

.brand-text small {
    display: block;
    color: #667085;
    font-size: 11px;
    line-height: 1.3;
    margin-top: 3px;
}


/* MOBILE */

@media (max-width: 560px) {

    .logo-box {
        width: 42px;
        height: 42px;

        flex: 0 0 42px;
    }

    .logo-box .site-logo {
        width: 42px !important;
        height: 42px !important;

        max-width: 42px !important;
        max-height: 42px !important;
    }

    .brand-text b {
        font-size: 15px;
    }

    .brand-text small {
        display: none;
    }
}

h1,
h2,
h3,
h4,
.brand b {
    font-family: "Heebo", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -0.5px;
}

p {
    font-weight: 400;
}

.nav nav {
    font-weight: 600;
}

.btn {
    font-family: "Heebo", Arial, sans-serif;
    font-weight: 700;
}