/*
Theme Name: Benaa
Theme URI: https://benaahd.org
Author: TechBoiL
Author URI: https://techboil.com
Description: Standalone lightweight theme for Benaa (جمعية البناء والتنمية الإنسانية) - no page builder, native Gutenberg blocks, self-hosted fonts.
Version: 1.0.0
Text Domain: benaa
*/

@font-face{font-family:"Tajawal";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/tajawal-400.woff2") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:"Tajawal";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/tajawal-500.woff2") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:"Tajawal";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/tajawal-700.woff2") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:"Tajawal";font-style:normal;font-weight:900;font-display:swap;src:url("fonts/tajawal-900.woff2") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+0000-00FF,U+2000-206F,U+20AC}

:root{--ink:#07323a;--deep:#003e49;--teal:#16b8c2;--teal2:#087f89;--gold:#f1b928;--paper:#f7fbfa;--muted:#64797c;--shadow:0 20px 55px rgba(0,52,61,.12)}
*{box-sizing:border-box}
.wp-block-group__inner-container{display:contents}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Tajawal",Arial,sans-serif;line-height:1.8;font-size:16px}
p{margin:0}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
h1,h2,h3,h4{margin:0;font-family:"Tajawal",Arial,sans-serif;font-weight:700}
ul{margin:0;padding:0;list-style:none}
.bh-wrap{width:min(1160px,calc(100% - 40px));margin-inline:auto}

/* buttons */
.bh-btn{display:inline-flex}
.bh-btn a,.bh-btn .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border-radius:12px;font-family:"Tajawal",Arial,sans-serif;font-weight:800;font-size:1rem;line-height:1;border:1px solid transparent;transition:.25s;cursor:pointer}
.bh-btn a:hover,.bh-btn .wp-block-button__link:hover{transform:translateY(-3px)}
.bh-btn-gold a,.bh-btn-gold .wp-block-button__link{background:var(--gold)!important;color:#18343a!important;box-shadow:0 12px 28px rgba(241,185,40,.28)}
.bh-btn-outline a,.bh-btn-outline .wp-block-button__link{border-color:rgba(255,255,255,.35);color:#fff!important;background:rgba(255,255,255,.08)!important}
.bh-btn-white a,.bh-btn-white .wp-block-button__link{background:#fff!important;color:var(--deep)!important}

/* topline */
.bh-topline{background:#002e36;color:#d5eaec;font-size:.82rem}
.bh-top-inner{display:flex;justify-content:space-between;align-items:center;min-height:37px}
.bh-top-message,.bh-top-email{color:#d5eaec}

/* nav */
.bh-nav{height:86px;background:rgba(255,255,255,.96);position:sticky;top:0;z-index:100;box-shadow:0 5px 24px rgba(0,50,58,.07)}
.bh-nav-inner{height:86px;display:flex;justify-content:space-between;align-items:center;position:relative}
.bh-brand{display:flex;align-items:center;gap:12px}
.bh-brand-logo{margin:0;width:62px}
.bh-brand-logo img{width:62px;height:62px;border-radius:50%;object-fit:cover}
.bh-brand-copy{display:flex;flex-direction:column}
.bh-brand-name{color:var(--ink);font-size:16px;line-height:1.35;font-weight:400}
.bh-brand-name strong{font-weight:700}
.bh-brand-tag{color:var(--teal2);font-size:13.3333px;line-height:1.8;font-weight:700}
.bh-nav-links{display:flex;gap:28px;align-items:center}
.bh-nav-link{font-weight:700;font-size:1rem;line-height:1.8;color:var(--ink)}
.bh-nav-link:hover{color:var(--teal2)}
.bh-nav-cta{margin-inline-start:20px}
.bh-menu{display:none;background:#e9f5f4;color:var(--ink);border:0;border-radius:10px;padding:10px;font-size:1.4rem;min-width:46px;cursor:pointer}

/* hero */
.bh-hero{min-height:717px;position:relative;color:#fff;overflow:hidden;background-image:linear-gradient(90deg,rgba(0,40,48,.98) 2%,rgba(0,53,62,.88) 48%,rgba(0,53,62,.30)),url('/wp-content/uploads/2026/08/hero-bg-v2.webp');background-position:center;background-size:cover}
.bh-hero:before{content:"";position:absolute;width:470px;height:470px;border:1px solid rgba(27,190,199,.25);border-radius:50%;inset-inline-end:-180px;top:-130px;box-shadow:0 0 0 55px rgba(27,190,199,.04),0 0 0 110px rgba(27,190,199,.025)}
.bh-hero-inner{min-height:717px;display:flex;justify-content:center;flex-direction:column;position:relative}
.bh-hero-copy{max-width:720px;padding:90px 0}
.bh-badge{display:inline-flex;align-self:flex-start;align-items:center;gap:9px;width:auto;color:#fff;padding:7px 14px;border:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.18);border-radius:50px;font-size:16px;font-weight:700;line-height:28.8px}
.bh-badge span{color:var(--gold);font-size:12.8px;line-height:28.8px}
.bh-hero-title{margin-top:22px;margin-bottom:22px;font-size:clamp(2.6rem,6.5vw,5.3rem);font-weight:700;line-height:1.14;color:#fff}
.bh-hero-title em,.bh-hero-title span{font-style:normal;color:var(--gold)}
.bh-hero-text{max-width:610px;color:#d7e8e9;font-size:1.22rem;line-height:1.8}
.bh-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}
.bh-hero-note{display:flex;gap:12px;align-items:center;margin-top:45px;color:#d8e8e9}
.bh-note-logo{margin:0;width:54px}
.bh-note-logo img{width:54px;height:54px;border-radius:50%;border:2px solid var(--teal);object-fit:cover}
.bh-note-text{color:#d8e8e9;line-height:1.45}

/* stats */
.bh-stats{position:relative;margin-top:-54px;z-index:3}
.bh-stats-grid{background:#fff;box-shadow:var(--shadow);border-radius:22px;overflow:hidden;display:flex}
.bh-stat{flex:1;display:flex;flex-direction:column;padding:27px 22px;text-align:center;border-inline-start:1px solid #e8efee}
.bh-stat:first-child{border-inline-start:0}
.bh-stat-num{font-size:2rem;font-weight:700;color:var(--teal2);line-height:1.2}
.bh-stat-label{color:var(--muted);font-size:.9rem;line-height:1.8}

/* sections */
.bh-section{padding:100px 0}
.bh-eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--teal2);font-weight:800;font-size:.9rem;width:auto}
.bh-eyebrow:before{content:"";width:27px;height:3px;background:var(--gold);border-radius:5px}
.bh-eyebrow-light{color:#59d5dc}
.bh-section-title{margin:8px 0 10px;font-size:clamp(2rem,4vw,3.25rem);line-height:1.25;font-weight:700;color:var(--ink)}
.bh-body{color:var(--muted);font-size:1rem;line-height:1.8}
.bh-section-head{max-width:680px;margin-bottom:38px}
.bh-section-head .bh-body{font-size:1.05rem}

/* about */
.bh-about-grid{display:flex;gap:70px;align-items:center}
.bh-about-media{flex:1;position:relative}
.bh-about-image{margin:0}
.bh-about-image img{border-radius:28px;width:100%;height:520px;object-fit:cover}
.bh-logo-card{position:absolute;inset-inline-start:-25px;bottom:30px;background:#fff;padding:13px;border-radius:20px;box-shadow:var(--shadow);width:auto}
.bh-about-logo{margin:0;width:125px}
.bh-about-logo img{width:125px;height:125px;border-radius:15px;object-fit:cover}
.bh-about-copy{flex:1}
.bh-about-copy .bh-section-title{margin:10px 0 18px;font-size:clamp(2rem,4vw,3.2rem);line-height:1.3}
.bh-values{display:flex;flex-wrap:wrap;gap:13px;margin:26px 0}
.bh-value{flex:1 1 calc(50% - 6.5px);background:#fff;border:1px solid #e3eeec;padding:15px;border-radius:13px;font-weight:800}
.bh-value span{color:var(--gold);margin-inline-end:8px}

/* programs */
.bh-programs{background:#eaf4f2}
.bh-program-grid{display:flex;flex-wrap:wrap;gap:22px}
.bh-program{flex:1 1 calc(50% - 11px);background:#fff;border-radius:22px;overflow:hidden;transition:.3s}
.bh-program:hover{transform:translateY(-8px);box-shadow:var(--shadow)}
.bh-program-image{margin:0}
.bh-program-image img{height:230px;width:100%;object-fit:cover}
.bh-program-body{padding:25px}
.bh-program-icon{width:48px;height:48px;margin-top:-49px;position:relative;background:var(--gold);border:5px solid #fff;border-radius:14px;display:grid;place-items:center;font-size:1.35rem;line-height:1}
.bh-program-title{margin:16px 0 5px;font-size:1.35rem;color:var(--ink)}
.bh-program-text{color:var(--muted);line-height:1.8}
.bh-program-link{margin-top:14px}
.bh-program-link a,.bh-program-link .wp-block-button__link{padding:0;background:none!important;color:var(--teal2)!important;font-weight:800;font-size:1rem;min-height:auto}

/* impact */
.bh-impact{background:var(--deep);color:#fff;position:relative;overflow:hidden}
.bh-impact:after{content:"بناء";position:absolute;inset-inline-start:-30px;bottom:-150px;font-size:18rem;font-weight:900;color:rgba(255,255,255,.025)}
.bh-impact-grid{display:flex;gap:70px;align-items:center;position:relative;z-index:1}
.bh-impact-copy{flex:0 0 42.5%}
.bh-impact .bh-section-title{font-size:clamp(2rem,4vw,3.4rem);line-height:1.3;color:#fff}
.bh-impact .bh-body{color:#b9d3d6}
.bh-impact-copy .bh-btn{margin-top:16px}
.bh-impact-cards{flex:1;display:flex;flex-wrap:wrap;gap:16px}
.bh-impact-card{flex:1 1 calc(50% - 8px);padding:25px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);border-radius:18px}
.bh-impact-num{font-size:2.2rem;color:var(--gold);line-height:1.2}
.bh-impact-label{color:#c8dddf;line-height:1.8}

/* join CTA */
.bh-join{padding:90px 0}
.bh-joinbox{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(120deg,#0ba8b1,#056671);color:#fff;border-radius:28px;padding:55px;gap:35px;position:relative;overflow:hidden;flex-wrap:wrap}
.bh-joinbox:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;border:55px solid rgba(255,255,255,.06);inset-inline-start:-60px;top:-80px}
.bh-join-title{font-size:clamp(2rem,4vw,3rem);color:#fff;line-height:1.2}
.bh-join-text{color:#d9f1f2;max-width:620px;line-height:1.8}
.bh-joinbox .bh-btn{position:relative;z-index:1;white-space:nowrap}

/* footer */
.bh-footer{background:#002d35;color:#c7dcde;padding:65px 0 22px}
.bh-foot-grid{display:flex;gap:60px;flex-wrap:wrap}
.bh-foot-main{flex:1 1 46.67%}
.bh-foot-col{flex:1 1 20%}
.bh-foot-brand{display:flex;gap:14px;align-items:center;color:#fff}
.bh-foot-logo{margin:0;width:76px}
.bh-foot-logo img{width:76px;height:76px;border-radius:50%;object-fit:cover}
.bh-foot-name{line-height:1.45}
.bh-foot-desc{margin-top:16px;max-width:460px;color:#c7dcde;line-height:1.8}
.bh-foot-hours{color:#c7dcde;line-height:1.8}
.bh-foot-title{color:#fff;font-size:1.17rem;margin-bottom:8px}
.bh-foot-link{display:block;margin-top:8px;color:#c7dcde;font-size:1rem}
.bh-foot-link:hover{color:var(--gold)}
.bh-copyright{border-top:1px solid rgba(255,255,255,.1);margin-top:40px;padding-top:20px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.bh-copyright-text{font-size:.85rem;color:#c7dcde}
.bh-dev-credit{font-size:.85rem}
.bh-dev-credit a{color:#c7dcde;text-decoration:none;opacity:.75}
.bh-dev-credit a:hover{opacity:1;color:var(--gold)}

@media(max-width:900px){
.bh-nav-links{display:flex;position:absolute;top:86px;left:50%;right:auto;width:100vw;background:rgba(7,50,58,.97);padding:0 16px;box-shadow:var(--shadow);flex-direction:row!important;flex-wrap:nowrap;justify-content:center;align-items:center;gap:14px!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;max-height:0;opacity:0;pointer-events:none;transform:translateX(-50%) translateY(-6px);transition:max-height .32s ease,opacity .25s ease,transform .3s ease,padding .32s ease}
.bh-nav-links.is-open{max-height:90px;opacity:1;pointer-events:auto;transform:translateX(-50%) translateY(0);padding:16px}
.bh-menu{display:block}
.bh-nav-links .bh-nav-link{font-size:.82rem;white-space:nowrap;flex:0 0 auto;color:#fff}
.bh-nav-links .bh-nav-link:hover{color:var(--gold)}
.bh-nav-cta{display:none}
.bh-hero,.bh-hero-inner{min-height:620px}
.bh-hero{background-position:62% center}
.bh-stats-grid{flex-wrap:wrap}
.bh-stat{flex:1 1 50%;border-inline-start:1px solid #e8efee}
.bh-stat:nth-child(odd){border-inline-start:0}
.bh-about-grid,.bh-impact-grid{flex-direction:column}
.bh-about-media,.bh-about-copy,.bh-impact-copy,.bh-impact-cards{flex:1 1 100%}
.bh-about-media{order:2}
.bh-about-image img{height:400px}
.bh-program{flex:1 1 calc(50% - 11px)}
.bh-joinbox{align-items:flex-start;flex-direction:column}
.bh-foot-main{flex:1 1 100%}
.bh-foot-col{flex:1 1 calc(50% - 30px)}
}
@media(max-width:600px){
.bh-wrap{width:min(100% - 28px,1160px)}
.bh-top-email{display:none}
.bh-brand-name{font-size:.8rem}
.bh-brand-logo,.bh-brand-logo img{width:52px;height:52px}
.bh-hero-copy{padding:70px 0}
.bh-hero-text{font-size:1.05rem}
.bh-stats{margin-top:-25px}
.bh-stat{padding:20px 8px}
.bh-stat-num{font-size:1.55rem}
.bh-section{padding:72px 0}
.bh-about-grid{gap:35px}
.bh-logo-card{inset-inline-start:12px}
.bh-value,.bh-program,.bh-impact-card{flex:1 1 100%}
.bh-joinbox{padding:32px 25px}
.bh-foot-grid{flex-direction:column}
.bh-foot-main,.bh-foot-col{flex:1 1 100%}
.bh-copyright{font-size:.75rem}
}

/* contact page */
.bh-page-hero{background:var(--deep);color:#fff;padding:80px 0 60px}
.bh-page-hero .bh-section-title{color:#fff;margin-top:8px}
.bh-page-hero .bh-body{color:#b9d3d6;max-width:640px}
.bh-contact-grid{display:flex;gap:60px;align-items:flex-start}
.bh-contact-info{flex:0 0 34%;display:flex;flex-direction:column;gap:18px}
.bh-contact-card{background:#fff;border:1px solid #e3eeec;border-radius:16px;padding:22px}
.bh-contact-card-label{color:var(--muted);font-size:.85rem;margin-bottom:6px}
.bh-contact-card-value{color:var(--ink);font-weight:700;font-size:1.05rem;line-height:1.6}
.bh-contact-card-value a{color:var(--teal2)}
.bh-contact-form{flex:1;background:#fff;border:1px solid #e3eeec;border-radius:22px;padding:36px;box-shadow:var(--shadow)}
.bh-form-row{display:flex;gap:16px;flex-wrap:wrap}
.bh-form-field{flex:1 1 calc(50% - 8px);margin-bottom:18px;min-width:200px}
.bh-form-field.bh-field-full{flex:1 1 100%}
.bh-form-field label{display:block;font-weight:700;color:var(--ink);margin-bottom:8px;font-size:.92rem}
.bh-form-field input,.bh-form-field textarea{width:100%;border:1px solid #d8e5e4;border-radius:10px;padding:13px 14px;font-family:"Tajawal",Arial,sans-serif;font-size:1rem;color:var(--ink);background:var(--paper)}
.bh-form-field input:focus,.bh-form-field textarea:focus{outline:2px solid var(--teal);border-color:var(--teal)}
.bh-form-field textarea{min-height:140px;resize:vertical}
.bh-form-honeypot{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.bh-form-notice{border-radius:12px;padding:14px 18px;margin-bottom:22px;font-weight:700}
.bh-form-notice.is-success{background:#e4f7ee;color:#0c7a4a}
.bh-form-notice.is-error{background:#fdecec;color:#b3261e}
.bh-form-submit{border:0}
@media(max-width:900px){
.bh-contact-grid{flex-direction:column}
.bh-contact-info{flex:1 1 100%;flex-direction:row;flex-wrap:wrap}
.bh-contact-card{flex:1 1 calc(50% - 9px)}
.bh-contact-form{padding:26px}
}

/* about page - value cards (full description, not tooltip-only) */
.bh-value-cards{display:flex;flex-wrap:wrap;gap:18px;margin-top:26px}
.bh-value-card{flex:1 1 calc(50% - 9px);background:#fff;border:1px solid #e3eeec;border-radius:16px;padding:22px}
.bh-value-card-title{font-weight:800;color:var(--ink);font-size:1.05rem;margin-bottom:8px;display:flex;align-items:center;gap:8px}
.bh-value-card-title span{color:var(--gold)}
.bh-value-card-desc{color:var(--muted);line-height:1.8}
@media(max-width:600px){
.bh-value-card{flex:1 1 100%}
}
