/* Eramena brand palette supplied by the owner. */
:root {
  --brand-navy: #1B1464;
  --brand-orange: #F7931E;
  --brand-teal: #0F5853;
  --brand-mint: #6FD1C7;
  --brand-sand: #E8E3D6;
  --surface: #FFFFFF;
  --surface-warm: #F8F6F1;
  --surface-mint: #E8F6F3;
  --text-muted: #5F6076;
  --border: #DDD8CE;
  --field-border: #8D889D;
  --orange-hover: #EC8612;
}
@font-face{font-family:Cairo;src:url('../fonts/cairo-0.woff2');font-weight:400;font-display:swap}
@font-face{font-family:Cairo;src:url('../fonts/cairo-2.woff2');font-weight:600;font-display:swap}
@font-face{font-family:Cairo;src:url('../fonts/cairo-3.woff2');font-weight:700;font-display:swap}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--brand-navy);background:#fff;font:16px/1.65 Arial,Helvetica,sans-serif}
html[lang=ar] body{font-family:Cairo,Arial,sans-serif}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button,a,input,select,textarea{touch-action:manipulation}
button{cursor:pointer}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--brand-navy);outline-offset:4px}
h1,h2,h3,p{margin:0}
h1{font-size:42px;line-height:1.2;letter-spacing:-1.5px}
h2{font-size:32px;line-height:1.3;letter-spacing:-.8px}
h3{font-size:20px;line-height:1.4}
html[lang=ar] h1,html[lang=ar] h2{letter-spacing:0;line-height:1.7}
p{margin:14px 0}
img{display:block;max-width:100%}
.container{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.header{border-bottom:1px solid var(--border);background:white}
.nav{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:96px}
.brand{display:inline-flex;align-items:center;gap:7px;font-family:Arial,Helvetica,sans-serif;font-size:27px;letter-spacing:-.8px;direction:ltr;flex-shrink:0}
.brand strong{font-weight:800}
.brand-logo{width:56px;height:56px;object-fit:contain;flex-shrink:0;border-radius:10px;background:white}
.nav nav{display:flex;gap:26px;font-size:14px;font-weight:600}
.nav nav a:hover,.text-link:hover{color:var(--brand-navy)}
.nav-tools{display:flex;align-items:center;gap:18px}
.lang{font-size:14px}
.button{border:0;border-radius:7px;background:var(--brand-orange);color:var(--brand-navy);padding:15px 23px;font-weight:600;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:12px;line-height:1.5;transition:background .2s,transform .2s}
.button:hover{background:var(--orange-hover);transform:translateY(-1px)}
.button.small{padding:10px 17px;background:var(--brand-navy);color:white}
.button.small:hover{background:#30257B}
.button.secondary{background:var(--surface-warm);color:var(--brand-navy);box-shadow:inset 0 0 0 1px var(--border)}
.button.secondary:hover{background:var(--brand-sand)}
.button.accent{background:var(--brand-orange);color:var(--brand-navy)}
.text-link{color:var(--brand-teal);font-weight:600}
.hero{background:linear-gradient(115deg,var(--surface-warm),var(--brand-sand));padding:66px 0 74px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:65px;align-items:center}
.eyebrow{color:var(--brand-teal);font-size:12px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase;margin-bottom:17px;display:flex;align-items:center;gap:10px}
.eyebrow>span{width:7px;height:7px;background:var(--brand-orange);border-radius:50%}
.hero h1{font-size:60px;line-height:1.05;letter-spacing:-2.5px;max-width:530px}
.hero p{color:var(--text-muted);font-size:17px;max-width:450px;line-height:1.8;margin:25px 0 30px}
.hero-caption{display:flex;gap:12px;align-items:center;font-size:12px;color:var(--text-muted);margin-top:27px;max-width:340px}
.mini-icon{font-size:28px;color:var(--brand-navy)}
.hero-visual{isolation:isolate;position:relative;height:460px;transform:rotate(2deg)}
.hero-visual::before{content:"";position:absolute;width:150px;height:150px;inset-inline-end:-20px;top:-20px;border:2px solid var(--brand-orange);border-radius:50%;z-index:-1}
.hero-visual>img{height:100%;width:100%;object-fit:cover;border-radius:110px 14px 100px 14px}
.photo-label{backdrop-filter:blur(6px);position:absolute;bottom:35px;left:28px;background:#1B1464B3;color:white;font-size:10px;letter-spacing:1.5px;padding:7px 12px;border-radius:4px}
.floating-card{position:absolute;top:33px;left:-27px;background:white;box-shadow:0 10px 40px #1B146414;border-radius:9px;padding:15px 20px;display:flex;align-items:center;gap:12px;transform:rotate(-2deg)}
.floating-card>span{background:var(--brand-mint);color:var(--brand-teal);padding:2px 10px;font-size:30px;border-radius:50%}
.floating-card strong,.floating-card small{display:block}
.floating-card strong{font-size:14px}
.floating-card small{font-size:9px;letter-spacing:1px;color:var(--text-muted);margin-top:4px}
.section{padding-top:70px;padding-bottom:70px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}
.section-heading p,.steps p{color:var(--text-muted)}
.section-heading .eyebrow{margin-bottom:8px}
.section-heading>.text-link{white-space:nowrap;font-size:13px}
.program-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.program-card{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:white;transition:transform .2s,box-shadow .2s}
.program-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px #1B146412}
.program-image{height:218px;display:block;position:relative;background:var(--brand-sand)}
.program-image img{width:100%;height:100%;object-fit:cover}
.type-badge{box-shadow:0 2px 9px #1B146414;position:absolute;inset-inline-start:16px;top:16px;background:white;padding:4px 12px;border-radius:6px;font-size:11px;font-weight:700;color:var(--brand-navy)}
.example-badge{position:absolute;bottom:12px;inset-inline-end:12px;font-size:10px;background:#1B1464D9;color:white;border-radius:4px;padding:2px 8px}
.program-body{padding:21px}
.program-country{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;color:var(--text-muted)}
.funding{color:var(--brand-teal);background:var(--surface-mint);padding:2px 8px;border-radius:4px;font-size:10px}
.program-card h3{font-size:20px;margin-top:15px;min-height:56px}
.program-card p{font-size:13px;color:var(--text-muted)}
.program-bottom{border-top:1px solid var(--border);padding-top:15px;display:flex;justify-content:space-between;font-size:12px;gap:8px;margin-top:22px;color:var(--text-muted)}
.program-bottom>a{color:var(--brand-navy);font-weight:700}
.steps{background:var(--surface-mint);border-top:1px solid var(--border)}
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:65px;margin-top:40px}
.step-number{color:var(--brand-teal);font-size:37px;font-weight:700;display:block;margin-bottom:15px}
.steps p{font-size:14px}
.journey-band{background:var(--brand-teal);color:white;padding:43px 0}
.journey-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}
.journey-inner h2{max-width:540px}
.page-heading{background:var(--brand-sand);padding:48px 0}
.page-heading p,.lead{color:var(--text-muted);font-size:17px;line-height:1.9}
.page-heading h1{margin-top:7px}
.filter-bar{display:flex;gap:12px;margin-bottom:22px}
.filter-bar input{flex:1;min-width:0}
.filter-bar select{max-width:210px}
.filter-bar input,.filter-bar select,.form input:not([type=checkbox]),.form textarea{border:1px solid var(--field-border);border-radius:7px;padding:12px 14px;background:white;color:var(--brand-navy);width:100%;font-size:14px}
.results,.muted{font-size:13px;color:var(--text-muted)}
.empty-state{grid-column:1/-1;text-align:center;padding:60px 25px;background:var(--surface-warm);border:1px dashed var(--border);border-radius:12px;color:var(--text-muted)}
.empty-state h2,.empty-state h3{color:var(--brand-navy);margin-bottom:16px}
.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:45px;align-items:start}
.detail-photo{height:370px;width:100%;object-fit:cover;border-radius:14px;margin-bottom:26px}
.detail-copy h2{font-size:24px;margin:30px 0 16px}
.prose{white-space:pre-line;line-height:1.95;color:var(--text-muted)}
.back-link{display:inline-flex;font-size:14px;color:var(--text-muted);margin-bottom:28px}
.panel{background:var(--surface-warm);border:1px solid var(--border);border-radius:12px;padding:25px}
.panel h2{font-size:23px}
.panel h3{margin-bottom:20px}
.panel dl{margin:23px 0}
.panel dl>div{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid var(--border);font-size:13px}
.panel dt{color:var(--text-muted)}
.panel dd{margin:0;font-weight:600;text-align:end}
.panel .button{width:100%}
.notice{border-radius:8px;background:var(--surface-mint);padding:17px 21px;color:var(--brand-teal);margin:20px 0;font-size:14px}
.notice.success{background:var(--surface-mint);color:var(--brand-teal)}
.notice.error{background:#fff0ed;color:#9f3528}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.contact-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:85px}
.form{display:flex;flex-direction:column;gap:19px}
.form label{font-size:13px;font-weight:600;display:flex;flex-direction:column;gap:7px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.form textarea{resize:vertical}
.form .checkbox{display:flex;flex-direction:row;gap:10px;align-items:flex-start;font-size:12px;font-weight:400;line-height:1.8}
.checkbox input{margin-top:5px;flex-shrink:0;accent-color:var(--brand-navy)}
.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.auth-card{max-width:480px;margin:auto;padding:35px;border:1px solid var(--border);border-radius:14px;box-shadow:0 12px 45px #1B146408}
.auth-card h1{font-size:31px;margin-bottom:25px}
.auth-links{font-size:14px;margin-top:25px}
.narrow{max-width:820px;min-height:450px}
.account-list{margin:25px 0 50px;display:grid;gap:16px}
.account-item{display:flex;justify-content:space-between;gap:20px;align-items:center;border:1px solid var(--border);border-radius:10px;padding:23px}
.account-item small{font-size:10px;color:var(--text-muted)}
.status{color:var(--brand-navy);font-size:13px;font-weight:700}
.actions{display:flex;align-items:center;gap:18px}
.pagination{display:flex;gap:20px;align-items:center;justify-content:center;margin-top:35px}
footer{background:var(--brand-navy);color:var(--brand-sand);padding-top:50px;font-size:13px}
footer .brand{color:white}
footer .brand-logo{width:60px;height:60px;border-radius:12px}
footer a:hover{color:var(--brand-mint)}
footer p{max-width:310px;color:#CDC9E1}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:70px;padding-bottom:40px}
.footer-grid>div>a:not(.brand){display:block;margin-top:12px}
footer h3{color:white;font-size:14px;margin-bottom:17px}
.footer-bottom{border-top:1px solid #48417F;padding-block:20px;display:flex;justify-content:space-between;gap:15px;font-size:11px}
.footer-bottom>div{display:flex;gap:23px}
.sr-only,.skip{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.skip:focus{position:fixed;top:10px;left:10px;width:auto;height:auto;clip:auto;padding:10px;background:white;z-index:99}
html[dir=rtl] .hero-visual{transform:rotate(-2deg)}
html[dir=rtl] .hero h1{font-size:50px;line-height:1.55}
html[dir=rtl] .floating-card{left:auto;right:-25px;transform:rotate(2deg)}
@media(max-width:1000px){.nav{gap:18px}
.nav nav{gap:15px;font-size:12px}
.hero-grid{gap:35px}
.hero h1{font-size:46px}
.hero-visual{height:390px}
.program-country{flex-wrap:wrap}
.detail-grid{grid-template-columns:minmax(0,1fr) 300px;gap:25px}
.contact-grid{gap:40px}
.nav-tools{gap:10px}
.brand{font-size:23px}
.container{width:calc(100% - 40px)}
}
@media(max-width:720px){.nav{flex-wrap:wrap;padding-block:18px;gap:14px}
.nav nav{order:3;width:100%;justify-content:space-between;overflow:auto;white-space:nowrap;gap:17px;padding-top:10px;border-top:1px solid var(--border)}
.nav-tools{margin-inline-start:auto}
.brand{font-size:24px}
.brand-logo{width:44px;height:44px}
.hero{padding:37px 0 45px}
.hero-grid{grid-template-columns:1fr;gap:38px}
.hero h1,html[dir=rtl] .hero h1{font-size:42px}
.hero p{font-size:16px}
.hero-visual{height:340px;max-width:480px;width:calc(100% - 15px);margin:auto}
.floating-card{left:-10px;top:24px}
.hero-caption{margin-top:20px}
.hero-visual>img{border-radius:80px 14px 70px 14px}
.section{padding-block:45px}
.section-heading{display:block}
.section-heading>.text-link{display:inline-block;margin-top:9px}
h1{font-size:33px}
h2{font-size:27px}
.program-grid{grid-template-columns:1fr}
.program-image{height:240px}
.program-card h3{min-height:0}
.program-country{flex-wrap:nowrap}
.steps-grid{grid-template-columns:1fr;gap:30px}
.step-number{font-size:28px;margin-bottom:8px}
.journey-inner{display:block}
.journey-inner .button{margin-top:23px}
.filter-bar{flex-wrap:wrap}
.filter-bar input{flex-basis:100%}
.filter-bar select{max-width:none;width:calc(50% - 6px)}
.filter-bar .button{width:100%}
.detail-grid,.about-grid,.contact-grid{grid-template-columns:1fr;gap:30px}
.detail-photo{height:250px}
.form-row{grid-template-columns:1fr}
.auth-card{padding:25px}
.footer-grid{grid-template-columns:1fr 1fr;gap:30px}
.footer-grid>div:first-child{grid-column:1/-1}
.footer-bottom{flex-direction:column}
.account-item{align-items:flex-start;flex-direction:column}
.actions{flex-wrap:wrap}
.page-heading{padding-block:35px}
.eyebrow{font-size:10px}
html[dir=rtl] .floating-card{right:-10px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
*{transition:none!important}
}


@media(max-width:380px){.nav{gap:10px}
.nav-tools{gap:10px}
.brand{font-size:20px}
.brand-logo{width:38px;height:38px}
.nav-tools .button.small{padding:9px 11px;font-size:12px}
.lang{font-size:12px}
}


/* Static-site interactions and accessibility. Edit the palette at the top. */
[hidden] { display: none !important; }
.header nav a[aria-current="page"] { color: var(--brand-teal); text-decoration: underline; text-underline-offset: 7px; }
.filter-actions { display: flex; align-items: center; gap: 16px; justify-content: space-between; margin-bottom: 24px; }
.filter-actions .results { margin: 0; }
.filter-actions button { padding: 8px 14px; }
.contact-email { display: inline-block; color: var(--brand-teal); font-weight: 700; overflow-wrap: anywhere; }
.contact-fields { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 19px; }
.contact-fields:disabled { opacity: .6; }
.contact-fields:disabled button { cursor: not-allowed; }
.contact-status { margin: 0; }
.form-hint { color: var(--text-muted); font-size: 13px; }
.detail-contact { margin-top: 16px; }
@media (max-width: 380px) {
  .nav-tools .button.small { max-width: 108px; white-space: normal; text-align: center; }
  .filter-actions { align-items: flex-start; }
}
