:root{--blue:#083b9b;--blue2:#0c4dbc;--navy:#07275f;--ink:#14233d;--muted:#60708a;--sand:#e7b34f;--pale:#f3f6fb;--line:#dfe6ef;--white:#fff;--radius:12px;--shadow:0 20px 50px rgba(8,39,95,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:88px}body{margin:0;color:var(--ink);font-family:'DM Sans',sans-serif;background:#fff}h1,h2,h3,strong{font-family:'Manrope',sans-serif}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.shell{width:min(1180px,calc(100% - 40px));margin:auto}.skip-link{position:fixed;left:16px;top:-60px;z-index:999;background:#fff;padding:12px}.skip-link:focus{top:16px}.topbar{background:var(--navy);color:#dce8ff;font-size:12px}.topbar .shell{height:36px;display:flex;align-items:center;justify-content:space-between}.topbar p{margin:0}.topbar a,.topbar button{color:inherit}.topbar i{margin-right:7px}.topbar>div>div{display:flex;align-items:center;gap:15px}.top-sep{height:15px;width:1px;background:#ffffff40}.lang-btn{border:0;background:none;cursor:pointer}.nav{height:82px;background:#fff;position:sticky;top:0;z-index:100;box-shadow:0 2px 20px #14233d12}.nav-inner{height:100%;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:11px;margin-right:auto}.brand img{width:62px;height:62px;object-fit:contain}.brand strong{font-size:22px;color:var(--blue);letter-spacing:.04em}.brand small{display:block;font-size:8.5px;line-height:1.35;color:#66738a;text-transform:uppercase;letter-spacing:.05em}.nav-links{display:flex;height:100%;align-items:center;gap:24px}.nav-links a{height:100%;display:flex;align-items:center;font-size:13px;font-weight:600;position:relative}.nav-links a:after{content:'';height:3px;position:absolute;bottom:0;left:0;right:100%;background:var(--blue);transition:.25s}.nav-links a:hover:after,.nav-links a.active:after{right:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:5px;padding:14px 23px;font-weight:700;font-size:13px;cursor:pointer;transition:.25s}.btn:hover{transform:translateY(-2px)}.btn-donate,.btn-primary{background:var(--blue);color:white}.menu-toggle{display:none}
.hero{min-height:700px;background:linear-gradient(90deg,rgba(4,20,52,.92) 0%,rgba(4,25,64,.75) 39%,rgba(4,25,64,.08) 72%),url('../img/oevc-hero.png') center/cover no-repeat;color:#fff;position:relative;display:flex;align-items:center}.hero-content{padding-bottom:100px}.hero h1{font-size:clamp(42px,5vw,66px);line-height:1.1;letter-spacing:-.04em;max-width:780px;margin:17px 0 22px}.hero p{font-size:18px;line-height:1.7;max-width:630px;color:#e0e8f5}.eyebrow{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.18em;color:var(--blue);display:flex;align-items:center;gap:10px}.eyebrow span{display:inline-block;width:30px;height:2px;background:currentColor}.eyebrow.light{color:#9ebff9}.hero-actions{display:flex;gap:12px;margin-top:35px}.btn-white{background:#fff;color:var(--blue)}.btn-outline{border:1px solid #ffffff99;color:#fff}.hero-foot{position:absolute;bottom:0;left:0;right:0;background:#071f52de;backdrop-filter:blur(10px)}.hero-foot .shell{min-height:100px;display:grid;grid-template-columns:repeat(3,1fr)}.hero-foot .shell>div{display:flex;align-items:center;gap:17px;border-right:1px solid #ffffff24;padding:20px 38px}.hero-foot .shell>div:first-child{padding-left:0}.hero-foot i{font-size:27px;color:#8cb6ff}.hero-foot strong,.hero-foot small{display:block}.hero-foot strong{font-size:14px}.hero-foot small{font-size:11px;color:#aebbd2;margin-top:4px}
.section{padding:100px 0}.section-head{margin-bottom:50px}.section-head h2{font-size:clamp(32px,4vw,46px);line-height:1.15;letter-spacing:-.035em;margin:13px 0}.section-head p{color:var(--muted);line-height:1.75}.centered{text-align:center;max-width:700px;margin-left:auto;margin-right:auto}.centered .eyebrow{justify-content:center}.split{display:flex;align-items:end;justify-content:space-between;gap:40px}.split>p{max-width:480px;margin:0}.stats{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line);box-shadow:var(--shadow)}.stats article{text-align:center;padding:36px 15px;border-right:1px solid var(--line);background:#fff}.stats article:last-child{border:0}.stats i{display:block;color:var(--blue);font-size:25px;margin-bottom:17px}.stats strong,.stats strong+span{font-size:31px;color:var(--navy)}.stats p{margin:8px auto 0;color:var(--muted);font-size:12px;max-width:150px}.programs{background:var(--pale)}.program-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.program-card{background:#fff;border:1px solid var(--line);padding:28px;min-height:285px;position:relative;transition:.25s}.program-card:hover{transform:translateY(-7px);box-shadow:var(--shadow);border-color:#9bb9ec}.program-card>span{position:absolute;right:22px;top:22px;font-size:12px;color:#a5b0c0}.program-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#eaf1ff;color:var(--blue);font-size:20px}.program-card h3{font-size:18px;margin:25px 0 10px}.program-card p{font-size:13px;line-height:1.65;color:var(--muted)}.program-card a{font-size:12px;font-weight:700;color:var(--blue);position:absolute;bottom:25px}.program-card.featured{background:var(--blue);color:#fff}.program-card.featured .program-icon{background:#ffffff22;color:#fff}.program-card.featured p,.program-card.featured>span,.program-card.featured a{color:#dce8ff}
.projects,.publications{background:var(--navy);color:#fff}.projects .section-head{align-items:center}.text-link{color:#fff;font-size:13px;font-weight:700}.text-link i{margin-left:7px}.project-grid{display:grid;grid-template-columns:1.15fr .85fr;grid-template-rows:1fr 1fr;gap:18px}.project-card{background:white;color:var(--ink);display:grid;grid-template-columns:44% 56%;min-height:260px}.project-main{grid-row:span 2;display:block}.project-img{background-image:linear-gradient(#061f5210,#061f5255),url('../img/oevc-hero.png');background-size:cover;position:relative;min-height:100%}.project-main .project-img{height:300px}.pos-one{background-position:62% center}.pos-two{background-position:85% center}.pos-three{background-position:48% center}.project-img span{position:absolute;left:20px;bottom:18px;background:#fff;color:var(--blue);padding:7px 11px;font-size:10px;font-weight:800;text-transform:uppercase}.project-copy{padding:28px}.project-copy small{color:var(--blue);font-weight:800;letter-spacing:.12em}.project-copy h3{margin:9px 0 10px;line-height:1.35;font-size:21px}.project-copy p{color:var(--muted);font-size:13px;line-height:1.6}.project-copy dl{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);margin-top:25px;padding-top:12px}.project-copy dl div{padding:9px}.project-copy dt{font-size:10px;color:#8290a5;text-transform:uppercase}.project-copy dd{font-size:12px;font-weight:700;margin:3px 0}.project-copy>a{color:var(--blue);font-weight:700;font-size:12px}.project-mini{display:flex;gap:30px;margin-top:20px}.project-mini span{font-size:10px;color:#8996a7;text-transform:uppercase}.project-mini b{display:block;font-size:12px;color:var(--ink);text-transform:none}.news{background:#fff}.blue{color:var(--blue)}.news-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:45px}.story-photo,.story-thumb{background-image:url('../img/oevc2.jpeg');background-size:cover}.story-photo{height:325px;background-position:70% center}.story-body{padding:25px 0}.story span{background:#eaf1ff;color:var(--blue);padding:6px 9px;font-size:10px;text-transform:uppercase;font-weight:800}.story time{font-size:11px;color:#8290a5;margin-left:10px}.story h3{font-size:24px;margin:17px 0 8px}.story p{color:var(--muted)}.story a{font-size:12px;color:var(--blue);font-weight:700}.story-list{display:flex;flex-direction:column}.story-list .story{display:grid;grid-template-columns:145px 1fr;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.story-thumb{height:105px}.t2{background-position:80%}.t3{background-position:45%}.t4{background-position:95%}.story-list h3{font-size:15px;margin:10px 0}
.gallery{background:var(--pale)}.gallery-tabs{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-bottom:30px}.gallery-tabs button{border:1px solid var(--line);background:#fff;padding:9px 14px;font-size:11px;color:var(--muted);cursor:pointer}.gallery-tabs button.active{background:var(--blue);color:#fff}.gallery-grid{display:grid;grid-template-columns:1.3fr .7fr .7fr;grid-template-rows:170px 170px;gap:10px}
.story-thumb.t2 {
  background-image: url('../img/PICT.jpeg') !important;
  background-size: cover;
  background-position: center;
}


.gallery-grid .g4 {
  background-image: url('../img/1.jpeg') !important;
  background-size: cover;
  background-position: center;
}
    .gallery-grid .g1{
  grid-row:span 2;
  background:url('../img/oevc6.jpeg') center/cover no-repeat;
}

.gallery-grid .g2{
  background:url('../img/oevc7.jpeg') center/cover no-repeat;
}

.gallery-grid .g3{
  background:url('../img/oevc8.jpeg') center/cover no-repeat;
}

.gallery-grid .g4{
  background:url('../img/oevc-hero.png') center/cover no-repeat;
}.gallery-grid>a{background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;gap:14px}.gallery-grid>a i{width:45px;height:45px;border-radius:50%;border:1px solid #fff;display:grid;place-items:center}.gallery-grid small{color:#bed0f0}.publications .section-head p{color:#b8c5dc}.pub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.pub-grid>a{background:#0b3479;border:1px solid #ffffff20;padding:26px;display:flex;align-items:center;gap:19px}.pub-grid>a>i{font-size:34px;color:#9bbcff}.pub-grid span>*{display:block}.pub-grid small{font-size:9px;color:#9fb1ce;letter-spacing:.12em}.pub-grid strong{margin:8px 0 20px;font-size:15px}.pub-grid em{font-style:normal;font-size:11px;color:#dce6f8}.partners .section-head{margin-bottom:30px}.partner-row{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line)}.partner-row span{min-height:100px;display:flex;align-items:center;justify-content:center;gap:10px;border-right:1px solid var(--line);font-weight:700;font-size:12px;color:#58677c}.partner-row i{font-size:21px;color:var(--blue)}
.donate{background:linear-gradient(100deg,#083b9b,#0e54c9);color:#fff}.donate-wrap{display:grid;grid-template-columns:1fr 460px;gap:90px;align-items:center}.donate-copy h2{font-size:47px;line-height:1.15;margin:17px 0}.donate-copy p{color:#d9e6fa;line-height:1.7}.trust{display:flex;gap:25px;font-size:12px;margin-top:30px}.trust i{color:#f0c764}.donate-panel{background:#fff;color:var(--ink);padding:28px;box-shadow:0 20px 60px #00163844}.frequency{display:grid;grid-template-columns:1fr 1fr;background:#edf2f9;padding:4px;margin-bottom:20px}.frequency button{border:0;padding:11px;background:transparent;color:#64748a}.frequency button.active{background:#fff;color:var(--blue);font-weight:700}.amounts{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-bottom:20px}.amounts button{border:1px solid var(--line);background:#fff;padding:11px 5px;font-weight:700}.amounts button.active{border-color:var(--blue);color:var(--blue);background:#edf3ff}.donate-panel label{font-size:11px;color:#64748a}.donate-panel select{width:100%;padding:13px;border:1px solid var(--line);margin:7px 0 18px}.btn-gold{width:100%;background:var(--sand);color:#102044}.donate-panel>small{display:block;text-align:center;color:#8995a8;font-size:9px;margin-top:12px}.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px}.contact-details>div{display:flex;gap:18px;margin-bottom:22px}.contact-details>div>i{color:var(--blue);width:20px;margin-top:4px}.contact-details small,.contact-details strong{display:block}.contact-details small{color:#8a96a8;font-size:9px;letter-spacing:.12em;margin-bottom:3px}.contact-details strong{font-size:13px}.contact-details iframe{border:0;width:100%;height:180px;margin-top:15px;filter:saturate(.7)}.contact-form{background:var(--pale);padding:35px}.contact-form>div{display:grid;grid-template-columns:1fr 1fr;gap:15px}.contact-form label{display:block;font-size:11px;color:#56647a;margin-bottom:17px}.contact-form input,.contact-form select,.contact-form textarea{display:block;width:100%;margin-top:7px;border:1px solid var(--line);background:#fff;padding:13px;outline:none}.contact-form textarea{resize:vertical}.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:var(--blue)}.form-status{font-size:12px;color:#167348}
footer{background:#051d47;color:#b7c5dc}.footer-grid{padding:65px 0;display:grid;grid-template-columns:2fr 1fr 1fr 1.3fr;gap:70px}.footer-brand img{width:90px;height:90px;object-fit:contain;background:#fff;border-radius:50%;padding:5px}.footer-brand p{max-width:300px;line-height:1.7;font-size:13px}footer h3{color:#fff;font-size:13px;margin-bottom:20px}footer .footer-grid>div>a{display:block;font-size:12px;margin:12px 0}footer p{font-size:12px;line-height:1.6}.social{display:flex;gap:8px}.social a{width:34px;height:34px;border:1px solid #ffffff2d;display:grid;place-items:center}.footer-bottom{border-top:1px solid #ffffff18;padding:18px 0;font-size:10px}.footer-bottom .shell{display:flex;justify-content:space-between}.footer-bottom span:last-child{display:flex;gap:20px}.floating {
    position: fixed;
    right: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 26px;
    box-shadow: 0 12px 30px #0003;
    z-index: 9999;
    text-decoration: none;
}

.floating {
    position: fixed;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 26px;
    box-shadow: 0 12px 30px #0003;
    z-index: 9999;
    text-decoration: none;
}

.whatsapp-float {
    right: 22px;
    bottom: 22px;
    background: #25D366;
}

.facebook-float {
    right: 88px;
    bottom: 22px;
    background: #1877F2;
}
.instagram-float {
    right: 154px;
    bottom: 22px;
    background: #E4405F;
}
}
}. reveal{opacity:0;transform:translateY(20px);transition:.7s ease}.reveal.visible{opacity:1;transform:none}
@media(max-width:1020px){.nav-links{position:fixed;inset:118px 0 auto;background:#fff;display:none;height:auto;padding:25px;box-shadow:var(--shadow);flex-direction:column;align-items:flex-start}.nav-links.open{display:flex}.nav-links a{height:auto}.menu-toggle{display:flex;border:0;background:none;width:38px;gap:5px;flex-direction:column}.menu-toggle span{height:2px;width:24px;background:var(--navy)}.btn-donate{margin-left:auto}.stats{grid-template-columns:repeat(3,1fr)}.stats article:nth-child(3){border-right:0}.program-grid{grid-template-columns:repeat(2,1fr)}.project-grid{grid-template-columns:1fr}.project-main{grid-row:auto}.project-card{min-height:300px}.donate-wrap{grid-template-columns:1fr 400px;gap:40px}.footer-grid{grid-template-columns:2fr 1fr 1fr}.footer-grid>div:last-child{grid-column:1/-1}}
@media(max-width:720px){.shell{width:min(100% - 28px,1180px)}.topbar p{display:none}.topbar .shell{justify-content:flex-end}.nav{height:74px}.brand img{width:52px;height:52px}.brand small{display:none}.btn-donate{padding:11px 14px}.hero{min-height:720px;background-position:65% center}.hero-content{padding-bottom:140px}.hero h1{font-size:39px}.hero p{font-size:15px}.hero-foot .shell{grid-template-columns:1fr}.hero-foot .shell>div{display:none}.hero-foot .shell>div:first-child{display:flex;min-height:85px}.section{padding:70px 0}.split{display:block}.stats{grid-template-columns:1fr 1fr}.stats article:nth-child(3){border-right:1px solid var(--line)}.stats article:nth-child(even){border-right:0}.stats article:last-child{grid-column:1/-1}.program-grid{grid-template-columns:1fr}.project-card{display:block}.project-card .project-img{height:230px}.news-grid{grid-template-columns:1fr}.story-list .story{grid-template-columns:110px 1fr}.gallery-grid{grid-template-columns:1fr 1fr;grid-template-rows:180px 130px 130px}.gallery-grid .g1{grid-column:span 2;grid-row:auto}.gallery-grid>a{grid-column:span 2}.pub-grid,.partner-row{grid-template-columns:1fr}.partner-row span{border-bottom:1px solid var(--line)}.donate-wrap,.contact-grid{grid-template-columns:1fr}.donate-copy h2{font-size:37px}.donate-panel{padding:20px}.amounts{grid-template-columns:repeat(3,1fr)}.contact-form>div{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr;gap:35px}.footer-brand{grid-column:1/-1}.footer-grid>div:last-child{grid-column:1/-1}.footer-bottom .shell{flex-direction:column;align-items:center;gap:8px}.hero-actions{flex-direction:column;align-items:flex-start}}
.language-switcher{position:relative}.lang-btn{min-width:92px;text-align:start}.language-menu{display:none;position:absolute;top:31px;inset-inline-end:0;width:165px;background:#fff;color:var(--ink);padding:7px;box-shadow:0 15px 40px #00143338;border:1px solid var(--line);z-index:120}.language-menu.open{display:block}.language-menu button{display:flex;width:100%;align-items:center;gap:12px;border:0;background:#fff;padding:10px;text-align:start;color:var(--ink);cursor:pointer}.language-menu button:hover,.language-menu button.active{background:#edf3ff;color:var(--blue)}.language-menu b{width:29px;color:var(--blue)}
[dir="rtl"] body{font-family:'Vazirmatn','DM Sans',sans-serif;text-align:right}[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] strong{font-family:'Vazirmatn','Manrope',sans-serif}[dir="rtl"] .brand{margin-right:0;margin-left:auto}[dir="rtl"] .hero{background-image:linear-gradient(270deg,rgba(4,20,52,.92) 0%,rgba(4,25,64,.75) 39%,rgba(4,25,64,.08) 72%),url('../img/oevc-hero.png')}[dir="rtl"] .program-card>span{right:auto;left:22px}[dir="rtl"] .project-img span{left:auto;right:20px}[dir="rtl"] .story time{margin-left:0;margin-right:10px}[dir="rtl"] input,[dir="rtl"] textarea,[dir="rtl"] select{text-align:right}[dir="rtl"] .floating{right:auto;left:22px}[dir="rtl"] .text-link i,[dir="rtl"] .project-copy>a i,[dir="rtl"] .story a i{transform:rotate(180deg)}

/* Flexible content cards: prevent long English, Dari and Pashto text from colliding. */
.program-card{display:flex;flex-direction:column;min-height:320px;padding-bottom:26px;overflow:hidden}.program-card p{margin-bottom:22px;overflow-wrap:anywhere}.program-card a{position:static;margin-top:auto;align-self:flex-start}
.project-grid{grid-template-rows:auto auto;align-items:stretch}.project-main{grid-row:1 / span 2}.project-card{min-height:0;height:auto;overflow:hidden}.project-card:not(.project-main){grid-template-columns:minmax(180px,42%) minmax(0,58%)}.project-card:not(.project-main) .project-img{min-height:250px}.project-copy{min-width:0}.project-copy h3,.project-copy p,.project-copy dd,.project-mini span{overflow-wrap:anywhere;word-break:normal}.project-copy dl{gap:4px}.project-copy dl div{min-width:0}.project-copy>a{display:inline-flex;align-items:center;gap:7px;margin-top:8px}.project-mini{flex-wrap:wrap;row-gap:12px}
.news-grid{align-items:start}.story,.story>div{min-width:0}.story-body>span,.story-list .story>div:last-child>span,.story time{display:inline-block;vertical-align:middle}.story time{white-space:nowrap}.story h3{clear:both;line-height:1.45;overflow-wrap:anywhere}.story p{line-height:1.7;overflow-wrap:anywhere}.story-list .story{align-items:start;min-height:142px}.story-list .story>div:last-child{padding-top:2px}.story-list h3{margin:12px 0 8px}.story-list a{display:inline-block;margin-top:2px}
@media(max-width:1020px){.project-main{grid-row:auto}.project-card:not(.project-main){grid-template-columns:minmax(220px,38%) minmax(0,62%)}.story-list .story{min-height:135px}}
@media(max-width:720px){.program-card{min-height:0}.project-card:not(.project-main){display:block}.project-card:not(.project-main) .project-img{min-height:0;height:220px}.project-copy{padding:24px 20px}.project-copy dl{grid-template-columns:1fr 1fr}.story-body{padding-bottom:35px}.story-list .story{grid-template-columns:100px minmax(0,1fr);gap:15px;min-height:130px}.story-thumb{height:100px}.story time{display:block;margin:8px 0 0!important}.story-list h3{margin-top:8px}}
@media(max-width:430px){.project-copy dl{grid-template-columns:1fr}.story-list .story{grid-template-columns:1fr}.story-thumb{height:180px}.story-list .story>div:last-child{padding:8px 2px 5px}}

/* OEVC leadership */
.leadership{background:#fff}.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1000px;margin:0 auto}.team-card{position:relative;background:#fff;border:1px solid var(--line);box-shadow:0 18px 45px rgba(8,39,95,.09);overflow:hidden;transition:transform .3s ease,box-shadow .3s ease}.team-card:hover{transform:translateY(-7px);box-shadow:0 24px 55px rgba(8,39,95,.16)}.team-card:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--blue),#5c91e9);z-index:2}.team-photo{height:355px;background:linear-gradient(180deg,#f5f7fb,#e8edf5);overflow:hidden}.team-photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center top;transition:transform .45s ease}.team-card:hover .team-photo img{transform:scale(1.025)}.team-info{position:relative;padding:23px 25px 25px;border-top:1px solid var(--line)}.team-info:after{content:"";position:absolute;right:25px;top:26px;width:34px;height:34px;border-radius:50%;background:#edf3ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23083b9b' stroke-width='1.8'%3E%3Cpath d='M12 2v20M2 12h20'/%3E%3C/svg%3E") center/14px no-repeat}.team-info span{display:block;color:var(--blue);font-size:9px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px}.team-info h3{font-size:20px;margin:0 45px 5px 0;line-height:1.3}.team-info p{color:var(--muted);font-size:13px;margin:0;font-weight:600}[dir="rtl"] .team-info:after{right:auto;left:25px}[dir="rtl"] .team-info h3{margin:0 0 5px 45px}
@media(max-width:850px){.team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.team-card:last-child{grid-column:auto;width:auto;justify-self:stretch}}
@media(max-width:570px){.team-grid{grid-template-columns:repeat(3,minmax(190px,1fr));max-width:none;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 2px 14px}.team-card{scroll-snap-align:start}.team-card:last-child{grid-column:auto;width:auto}.team-photo{height:230px}}

/* Compact single-row leadership presentation. */
.leadership .section-head{margin-bottom:34px}.team-grid{max-width:900px;gap:18px}.team-photo{height:255px}.team-info{padding:18px 20px 20px}.team-info:after{right:18px;top:19px;width:30px;height:30px}.team-info h3{font-size:17px;margin-right:38px}.team-info p{font-size:12px}.team-info span{font-size:8px;margin-bottom:6px}[dir="rtl"] .team-info:after{right:auto;left:18px}[dir="rtl"] .team-info h3{margin-right:0;margin-left:38px}
@media(max-width:570px){.team-photo{height:230px}}

/* Final leadership layout: four equal cards in one compact row. */
.leadership{padding-top:72px;padding-bottom:78px}.leadership .section-head{margin-bottom:28px}.leadership .section-head h2{font-size:36px}.leadership .section-head p{max-width:650px;margin:10px auto 0}.leadership .team-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:1fr!important;gap:16px!important;max-width:1080px!important;overflow:visible!important;padding:0!important}.leadership .team-card,.leadership .team-card:last-child{display:block!important;grid-column:auto!important;grid-row:1!important;width:100%!important;min-width:0!important;justify-self:stretch!important}.leadership .team-photo{height:220px!important}.leadership .team-photo img{object-position:center 16%}.leadership .team-info{padding:15px 17px 17px}.leadership .team-info:after{display:none}.leadership .team-info h3{font-size:16px;margin:0 0 4px!important}.leadership .team-info p{font-size:11px;line-height:1.5}.leadership .team-info span{font-size:7.5px}
@media(max-width:650px){.leadership{padding:55px 0}.leadership .section-head h2{font-size:29px}.leadership .team-grid{grid-template-columns:repeat(4,minmax(190px,1fr))!important;gap:10px!important;width:100%!important;overflow-x:auto!important;scroll-snap-type:x mandatory;padding:0 2px 14px!important}.leadership .team-card{scroll-snap-align:start}.leadership .team-photo{height:190px!important}.leadership .team-info{padding:12px 10px 14px}.leadership .team-info h3{font-size:13px;line-height:1.3}.leadership .team-info p{font-size:9.5px;line-height:1.4}.leadership .team-info span{font-size:6.5px;letter-spacing:.06em;white-space:normal}}
.form-status.error{color:#a82d2d}.contact-form button:disabled{opacity:.65;cursor:wait}.footer-bottom .shell{gap:18px;flex-wrap:wrap}.footer-bottom .shell>span:last-child{display:inline}.bct-credit{margin-inline-start:auto}.bct-credit a{color:#fff;font-weight:700}.social a{transition:background .2s ease,transform .2s ease}.social a:hover{background:var(--blue);color:#fff;transform:translateY(-2px)}
@media(max-width:720px){.bct-credit{margin-inline-start:0}}
.site-credit{background:#031633;color:#8fa4c5;text-align:center;padding:10px 20px;font-size:10px}.site-credit a{color:#fff;font-weight:700}
.project-img.pos-two{background-image:linear-gradient(#061f5210,#061f5248),url('../img/project-inclusive-education.png');background-position:center center}.project-img.pos-three{background-image:linear-gradient(#061f5210,#061f5248),url('../img/project-clean-water.png');background-position:center center}
.field-video{position:relative;overflow:hidden;background:linear-gradient(125deg,#061d46 0%,#0a3c91 100%);color:#fff}.field-video:before{content:"";position:absolute;width:420px;height:420px;border:80px solid rgba(255,255,255,.035);border-radius:50%;left:-210px;bottom:-260px}.video-layout{position:relative;display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.45fr);gap:clamp(35px,6vw,80px);align-items:center}.video-copy h2{margin:15px 0 20px;color:#fff;font-size:clamp(34px,4vw,54px);line-height:1.08}.video-copy p{color:#d4e0f3;font-size:16px;line-height:1.8;margin:0 0 25px}.video-copy .text-link{color:#fff}.video-frame{position:relative;background:#020b1c;border:1px solid rgba(255,255,255,.22);padding:9px;box-shadow:0 30px 70px rgba(0,8,26,.45)}.video-frame video{display:block;width:100%;max-height:560px;aspect-ratio:16/10;object-fit:contain;background:#000}.video-badge{position:absolute;left:-18px;bottom:28px;display:flex;align-items:center;gap:9px;background:#fff;color:var(--navy);padding:12px 17px;font-size:11px;font-weight:800;box-shadow:0 12px 30px rgba(0,0,0,.24)}.video-badge i{color:var(--blue);font-size:18px}[dir=rtl] .video-badge{left:auto;right:-18px}@media(max-width:780px){.video-layout{grid-template-columns:1fr}.video-copy{max-width:620px}.video-frame video{aspect-ratio:auto;max-height:70vh}.video-badge{left:8px;bottom:18px}[dir=rtl] .video-badge{right:8px}}
.story-thumb.t2{background-image:linear-gradient(#061f5208,#061f5230),url('../img/project-inclusive-education.png');background-position:center center}.story-thumb.t3{background-image:linear-gradient(#061f5208,#061f5230),url('../img/project-clean-water.png');background-position:center center}.story-thumb.t4 {
    background-image: linear-gradient(#061f5208,#061f5230), url('../img/inclusive-education-partnership.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.leadership a.team-photo{display:block}.team-info h3 a{color:inherit}.team-profile-link{display:inline-flex;align-items:center;gap:6px;color:var(--blue);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;margin-top:10px}.team-profile-link i{font-size:8px;transition:transform .2s ease}.team-profile-link:hover i{transform:translateX(3px)}[dir="rtl"] .team-profile-link i{transform:rotate(180deg)}[dir="rtl"] .team-profile-link:hover i{transform:rotate(180deg) translateX(3px)}
.identity{background:#f4f7fb;position:relative;overflow:hidden}
.identity::before{content:"";position:absolute;width:360px;height:360px;border:70px solid rgba(8,59,155,.035);border-radius:50%;right:-170px;top:-170px}
.identity-intro{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(35px,7vw,100px);align-items:end;margin-bottom:50px}
.identity-intro h2{max-width:560px;margin:13px 0 0;font:800 clamp(34px,4.4vw,58px)/1.08 Manrope,sans-serif;color:var(--navy)}
.identity-intro>p{margin:0;color:var(--muted);font-size:17px;line-height:1.85}
.identity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.identity-card{position:relative;min-height:390px;padding:38px 34px;background:#fff;border:1px solid var(--line);box-shadow:0 15px 45px rgba(7,39,95,.06);transition:.3s ease}
.identity-card:hover{transform:translateY(-7px);box-shadow:0 24px 60px rgba(7,39,95,.12)}
.identity-card::after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:var(--blue)}
.mission-card{background:var(--navy);color:#fff;border-color:var(--navy)}
.mission-card::after{background:var(--sand)}
.identity-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:#eaf1ff;color:var(--blue);font-size:21px;margin-bottom:42px}
.mission-card .identity-icon{background:rgba(255,255,255,.11);color:#fff}
.identity-card small{font-weight:800;font-size:11px;letter-spacing:.16em;color:var(--blue)}
.mission-card small{color:#9ebcf0}.identity-card h3{font:800 24px/1.25 Manrope,sans-serif;color:var(--navy);margin:13px 0 17px}
.mission-card h3{color:#fff}.identity-card p{margin:0;color:var(--muted);line-height:1.75}
.mission-card p{color:#cfdaec}
[dir=rtl] .identity-card,[dir=rtl] .identity-intro{text-align:right}
@media(max-width:900px){.identity-intro{grid-template-columns:1fr;gap:22px}.identity-grid{grid-template-columns:1fr}.identity-card{min-height:auto}.identity-icon{margin-bottom:25px}}
.bank-modal[hidden]{display:none}.bank-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px}.bank-modal-backdrop{position:absolute;inset:0;background:rgba(3,19,48,.78);backdrop-filter:blur(4px)}.bank-modal-card{position:relative;background:#fff;width:min(820px,100%);max-height:calc(100vh - 40px);overflow:auto;box-shadow:0 28px 90px rgba(0,18,53,.35);border-radius:10px}.bank-modal-close{position:absolute;z-index:2;right:18px;top:18px;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:var(--navy);cursor:pointer}.bank-modal-head{background:linear-gradient(120deg,var(--navy),var(--blue));padding:35px 72px 30px 35px;color:#fff}.bank-modal-head>span{font-size:11px;font-weight:800;letter-spacing:.16em;color:#bcd2f7}.bank-modal-head h2{font-size:30px;margin:9px 0}.bank-modal-head p{margin:0;color:#d8e5f8}.bank-summary{display:grid;grid-template-columns:1fr auto;gap:4px 20px;padding:17px 35px;background:#edf3fc;border-bottom:1px solid var(--line)}.bank-summary span,.bank-summary small{color:var(--muted);font-size:11px}.bank-summary strong{grid-row:span 2;color:var(--blue);align-self:center}.bank-tabs{display:grid;grid-template-columns:1fr 1fr;padding:20px 35px 0}.bank-tabs button{border:0;border-bottom:3px solid var(--line);background:#fff;padding:13px;font-weight:700;color:var(--muted);cursor:pointer}.bank-tabs button.active{color:var(--blue);border-color:var(--blue)}.bank-tab-panel{display:none;padding:22px 35px}.bank-tab-panel.active{display:block}.bank-notice{display:flex;gap:13px;background:#f6f8fc;border-left:3px solid var(--blue);padding:14px;color:#526178;font-size:12px;line-height:1.6}.bank-notice i{color:var(--blue);margin-top:3px}.bank-details{margin:18px 0 0}.bank-details>div{display:grid;grid-template-columns:195px 1fr;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}.bank-details dt{color:var(--muted);font-size:11px;font-weight:700}.bank-details dd{margin:0;color:var(--navy);font-size:12px;font-weight:700;line-height:1.65;overflow-wrap:anywhere}.bank-details button{border:0;background:transparent;color:var(--blue);cursor:pointer;margin-left:6px}.bank-modal-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:5px 35px 20px}.bank-help{font-size:12px;color:var(--blue);font-weight:700}.bank-disclaimer{margin:0;padding:17px 35px;background:#fff8e8;color:#6d5b31;font-size:10px;line-height:1.6}.bank-disclaimer i{margin-right:6px}.bank-copy-toast{position:fixed;z-index:1100;left:50%;bottom:25px;transform:translateX(-50%);background:#092858;color:#fff;padding:11px 18px;border-radius:4px;font-size:12px;box-shadow:var(--shadow)}body.bank-modal-open{overflow:hidden}[dir=rtl] .bank-modal-close{right:auto;left:18px}[dir=rtl] .bank-modal-head{padding:35px 35px 30px 72px}[dir=rtl] .bank-notice{border-left:0;border-right:3px solid var(--blue)}[dir=rtl] .bank-details button{margin-left:0;margin-right:6px}
@media(max-width:620px){.bank-modal{padding:0}.bank-modal-card{max-height:100vh;height:100%;border-radius:0}.bank-modal-head{padding:28px 58px 24px 22px}.bank-modal-head h2{font-size:25px}.bank-summary,.bank-tab-panel{padding-left:22px;padding-right:22px}.bank-tabs{padding:16px 22px 0}.bank-details>div{grid-template-columns:1fr;gap:5px}.bank-modal-actions{padding:5px 22px 20px;align-items:stretch;flex-direction:column}.bank-modal-actions .btn{width:100%}}
.instagram-float {
    position: fixed;
    right: 154px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #E4405F;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 26px;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 12px 30px #0003;
}
.program-photo {
    width: 100%;
    height: 210px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 16px;
}

.program-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.project-img {
  position: relative;
  overflow: hidden;
}

.project-img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
}

.project-img span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
}
header.hero {
    background-image:
        linear-gradient(rgba(10, 25, 45, 0.58), rgba(10, 25, 45, 0.65)),
        url("../img/oevc4.jpeg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

font-weight: 600;
}

.video-wrap {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px;
align-items: center;
}

@media (max-width: 768px) {
.video-wrap {
grid-template-columns: 1fr;
}
}

/* OEVC Three Videos Side-by-Side Gallery */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1050px;
  margin: 30px auto 0;
  align-items: start;
}


.partnership-photo-gallery {
    display: block;
    width: 100%;
    margin: 15px 0;
}

.partnership-photo-gallery img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 0 15px;
    border-radius: 6px;
}

.training-section,
.celebrations-section {
  padding: 80px 0;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.training-card,
.celebration-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 40, 60, 0.06);
}

.training-card img,
.celebration-card img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.training-body,
.celebration-body {
  padding: 22px;
}

.training-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #1676a8;
  font-size: 12px;
  font-weight: 700;
   text-transform: uppercase;
  letter-spacing: 0.5px;
}

.training-body h3,
.celebration-body h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.4;
}

.training-body p,
.celebration-body p {
  margin: 0;
  color: #5c6875;
  font-size: 14px;
  line-height: 1.8;
}

.celebrations-section {
  background: #f5f8fb;
}

.celebrations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 768px) {
  .training-section,
  .celebrations-section {
    padding: 55px 0;
  }

  .training-grid,
  .celebrations-grid {
    grid-template-columns: 1fr;
  }

  .training-card img,
  .celebration-card img {
    height: 220px;
  }
}



.celebrations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 768px) {
  .celebrations-grid {
    grid-template-columns: 1fr;
  }
}


  border-radius: 10px;
}

.news-grid > article.partnership-story .story-body {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .news-grid > article.partnership-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .news-grid > article.partnership-story .partnership-photo-gallery img {
    height: auto;
    max-height: 300px;
  }
}

.news-grid > article.partnership-story .partnership-photo-gallery img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
}

.news-grid > article.partnership-story .story-body {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .news-grid > article.partnership-story {
    grid-template-columns: minmax(0, 1fr);
  }
}



.campaigns-heading {
    width: 100%;
    padding: 35px 15px;
    text-align: center;
    background: #f5f3ed;
}

.campaigns-heading h2 {
    margin: 0;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.3;
}










.campaigns {
  background: #f3f7f4;
  padding: 75px 0;
}

.campaigns .section-head {
  max-width: 760px;
  margin: 0 auto 38px;
}

.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.campaign-card {
  background: #fff;
  border: 1px solid #e1eae4;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 5px 20px rgba(25, 60, 40, 0.05);
}

.campaign-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #e4f1e9;
  color: #25856b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  margin-bottom: 18px;
}

.campaign-card h3 {
  margin: 0 0 12px;
}

.campaign-card p {
  line-height: 1.8;
  margin: 0 0 22px;
}

.campaign-card .btn {
  margin-top: auto;
}

.campaigns-footer {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

@media (max-width: 850px) {
  .campaigns-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .campaigns-grid {
    grid-template-columns: 1fr;
  }
}




/* Fix: Support Our Campaigns heading */
#impact .section-head h2,
#campaigns .section-head h2,
.section-head h2 {
    text-transform: none !important;
}







/* OEVC - Smaller Story, Mission and Vision Cards */

#about .identity-grid {
    gap: 18px !important;
    align-items: stretch !important;
}

#about .identity-card {
    padding: 22px 18px !important;
    min-height: 0 !important;
}

#about .identity-card .identity-icon {
    margin-bottom: 12px !important;
}

#about .identity-card small {
    font-size: 11px !important;
}

#about .identity-card h3 {
    font-size: 19px !important;
    line-height: 1.4 !important;
    margin: 8px 0 10px !important;
}

#about .identity-card p {
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin-bottom: 0 !important;
}




/* OEVC HERO - FADE SLIDESHOW */

header.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-image: none !important;
    background-color: #17283b;
}



/* Background image layers */
header.hero > .hero-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #07275f;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    pointer-events: none;
    image-rendering: auto;
}

header.hero > .hero-slide-bg.is-active {
    opacity: 1;
}

/* Keep existing hero content above the images */
header.hero > *:not(.hero-slide-bg) {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    header.hero > .hero-slide-bg {
        transition: none;
    }
}


.story-thumb {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
}
.economy-thumb {
  background-position: center center;
}






/* OEVC news: image beside text */
.news-side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.news-side-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  margin: 0;
}

.news-side-card > .story-thumb,
.news-side-card > .partnership-photo-gallery {
  flex: 0 0 145px;
  width: 145px;
  height: 125px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.news-side-card .partnership-photo-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 8px;
}

.news-side-card > .story-thumb {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.news-side-card .story-body {
  flex: 1;
  min-width: 0;
  padding: 0;
}

.news-side-card .story-body h3 {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.news-side-card .story-body p {
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .news-side-grid {
    grid-template-columns: 1fr;
  }

  .news-side-card > .story-thumb,
  .news-side-card > .partnership-photo-gallery {
    flex-basis: 115px;
    width: 115px;
    height: 110px;
  }
}



/* =========================================
   OEVC SUCCESS STORY - KARIMA
   Same image size and layout as Imam story
   ========================================= */

.news-side-card .story-body {
    flex: 1;
    min-width: 0;
}

.news-side-card .story-body h3 {
    overflow-wrap: anywhere;
}

.news-side-card .story-body p {
    font-size: 14px;
    line-height: 1.6;
}

/* Karima Read More / Read Less links */
#karima-read-more,
#karima-full-text a {
    display: inline-block;
    margin-top: 8px;
    color: var(--blue, #083b9b);
    text-decoration: none;
    font-weight: 600;
}

#karima-read-more:hover,
#karima-full-text a:hover {
    text-decoration: underline;
}

/* Full story headings */
#karima-full-text h3 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.45;
}

/* Full story lists */
#karima-full-text ul {
    padding-left: 22px;
    margin: 10px 0;
}

#karima-full-text li {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.6;
}

/* Mobile layout */
@media (max-width: 700px) {
    .news-side-card .story-body {
        flex: 1;
        min-width: 0;
    }

    .news-side-card .story-body h3 {
        font-size: 16px;
    }
}



/* ================================
   OUR PROJECTS SECTION
================================ */

.our-projects {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #f7f9fc;
}

.our-projects .section-head {
  margin-bottom: 42px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(7, 39, 95, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(7, 39, 95, 0.13);
}



.project-image {
  position: relative;
  width: 100%;
  height: 150px;
  max-height: 150px;
  overflow: hidden;
  background: #e8edf5;
}

.project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.04);
}

.project-category {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-block;
  max-width: calc(100% - 28px);
  padding: 7px 12px;
  border-radius: 6px;
  background: #083b9b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.project-content h3 {
  margin: 0 0 12px;
  color: #07275f;
  font-family: 'Manrope', sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}

.project-content p {
  margin: 0 0 22px;
  color: #596579;
  font-size: 15px;
  line-height: 1.8;
}

.project-read-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 4px;
  color: #083b9b;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.project-read-more:hover {
  gap: 14px;
  color: #07275f;
}

.project-read-more i {
  font-size: 13px;
}

/* TABLETS */
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .project-image {
    height: 210px;
  }

  .project-content {
    padding: 20px;
  }
}

/* MOBILE PHONES */
@media (max-width: 600px) {
  .our-projects {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

 .project-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}


  .project-content {
    padding: 22px;
  }

  .project-content h3 {
    font-size: 18px;
  }

  .project-content p {
    font-size: 14px;
  }


}

/* OEVC Community Videos */
.oevc-video-section {
    padding-top: 35px;
    padding-bottom: 35px;
}

.oevc-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 900px;
    margin: 20px auto 0;
}

.oevc-video-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e5eaf1;
    box-shadow: 0 4px 12px rgba(7, 39, 95, 0.08);
}

.oevc-video-card video {
    display: block;
    width: 100%;
    height: 130px;
    object-fit: cover;
    background: #111827;
}

.oevc-video-content {
    padding: 10px;
}

.oevc-video-content h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #07275f;
}

.oevc-video-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .oevc-video-grid {
        grid-template-columns: 1fr;
    }

    .oevc-video-card video {
        height: 200px;
    }
}



/* FIX: OEVC Community Videos Layout */
#video .oevc-video-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 20px auto 0 !important;
}

#video .oevc-video-card {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

#video .oevc-video-card video {
    display: block !important;
    width: 100% !important;
    height: 130px !important;
    object-fit: cover !important;
}

@media (max-width: 600px) {
    #video .oevc-video-grid {
        grid-template-columns: 1fr !important;
    }

    #video .oevc-video-card video {
        height: 200px !important;
    }
}



/* OEVC Videos - Force Three Columns */
#video .oevc-video-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 850px !important;
    margin: 20px auto !important;
}

#video .oevc-video-card {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

#video .oevc-video-card video {
    display: block !important;
    width: 100% !important;
    height: 120px !important;
    object-fit: cover !important;
}

#video .oevc-video-content {
    padding: 8px !important;
}

#video .oevc-video-content h3 {
    font-size: 14px !important;
}

#video .oevc-video-content p {
    font-size: 12px !important;
}

@media (max-width: 600px) {
    #video .oevc-video-grid {
        grid-template-columns: 1fr !important;
    }

    #video .oevc-video-card video {
        height: 190px !important;
    }
}




/* OEVC Videos - Smaller Side-by-Side Layout */
#video .oevc-video-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 1050px !important;
    margin: 0 auto !important;
    align-items: start !important;
}

#video .oevc-video-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
}

#video .oevc-video-card video {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 160px !important;
    object-fit: cover !important;
    border-radius: 8px;
}

/* Tablet */
@media (max-width: 768px) {
    #video .oevc-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 520px) {
    #video .oevc-video-grid {
        grid-template-columns: 1fr !important;
    }

    #video .oevc-video-card video {
        height: 200px !important;
    }
}



/* FINAL FIX: Equal image dimensions in Featured Projects */
.projects .project-grid .project-card .project-img {
    width: 100% !important;
    height: 240px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
}

/* Images inside project cards */
.projects .project-grid .project-card .project-img img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Mobile */
@media (max-width: 720px) {
    .projects .project-grid .project-card .project-img {
        height: 220px !important;
        min-height: 0 !important;
    }
}


/* Larger Disability Inclusion project image */
#projects .project-main .disability-large-image {
    height: 420px !important;
    min-height: 420px !important;
    width: 100% !important;
    overflow: hidden !important;
}

#projects .project-main .disability-large-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

@media (max-width: 720px) {
    #projects .project-main .disability-large-image {
        height: 300px !important;
        min-height: 300px !important;
    }
}
