:root{--deeni-blue:#174873;--deeni-gold:#e79800}body{background:#fff}.skip-link{position:absolute;left:-9999px;top:8px;z-index:999999999;background:#fff;padding:12px}.skip-link:focus{left:8px}.header .logo img{height:62px;max-width:100%;object-fit:contain}.header .top-bar{padding:12px 0 0}.topBar p a{color:#fff}.header .menu>li>a{padding:13px 10px;font-size:12px}.header a[aria-current=page]{color:var(--deeni-gold)}.header .child-nav{max-height:420px;overflow-y:auto}.nav-help{color:var(--deeni-gold)!important}.mobile-menu-toggle{padding:8px 0;font-size:15px;cursor:pointer}.status-wrap{padding-top:24px}.module{margin-bottom:64px}.information-boxes>div:not(.clearfix){min-height:280px;padding:35px}.information-boxes h3{font-size:22px}.information-boxes p{min-height:70px;color:#fff}.information-boxes .button{margin-bottom:0}.feature-section{padding:60px 0}.deeni-feature{padding:20px 12px;margin-bottom:22px}.deeni-feature>i{font-size:34px;color:var(--deeni-gold);margin-bottom:18px}.deeni-feature h3{font-size:19px}.deeni-feature p{line-height:1.8}.welcome-message video{width:100%;max-height:420px;background:#102a42}.rich-content{overflow-wrap:anywhere}.rich-content img{max-width:100%;height:auto}.rich-content table{max-width:100%}.about-image{width:100%;height:360px;object-fit:cover}.testimonial-detail{width:100%!important}.testimonials .testimonial{padding:28px;background:#f7f7f7;border-left:3px solid var(--deeni-gold)}.testimonials cite{font-style:normal;font-weight:bold;color:var(--deeni-blue)}.post .post-content{padding:22px}.news-card-image{width:100%;height:220px;object-fit:cover}.news-feature-image{width:100%;max-height:420px;object-fit:cover}.blog-post{margin-bottom:42px}.post-meta{font-size:13px;margin:15px 0}.news-type{padding-left:12px}.article-image{display:block;max-height:650px;max-width:100%;object-fit:contain;margin:24px 0}.empty-state{padding:30px;background:#f7f7f7;border-left:3px solid var(--deeni-gold)}.album-card{border:1px solid #e9e9e9;margin-bottom:28px}.album-card img{width:100%;height:240px;object-fit:cover}.album-detail{padding:22px}.album-detail h2{font-size:20px}.deeni-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.deeni-gallery img{width:100%;height:250px;object-fit:cover}.deeni-gallery figure{margin:0}.deeni-gallery figcaption{padding:8px 0}.video-card{margin-bottom:28px}.video-card iframe{width:100%;height:auto;aspect-ratio:16/9;background:#102a42}.video-card h2{font-size:17px;padding-top:12px}.vaccination-gallery{margin-top:30px}video{width:100%;max-height:440px}.search-panel{padding:25px;background:#f7f7f7;margin-bottom:32px}.search-panel input,.search-panel select{margin-bottom:0}.search-button{padding-top:27px}.student-column:nth-child(4n+1){clear:both}.student-card{margin-bottom:32px;text-align:center}.student-card .teacher-thumb img{width:100%;height:235px;object-fit:cover}.student-card .teacher-meta h2,.student-card .teacher-meta h2 a{font-size:17px}.student-placeholder{height:235px;background:#edf2f7;display:flex;align-items:center;justify-content:center;font-size:60px;color:var(--deeni-blue)}.student-profile-photo{width:100%;max-height:440px;object-fit:contain;background:#f7f7f7}.profile-details dt{margin-top:18px}.profile-details dd{margin-left:0}.field-error{color:#b52525}.contact-form textarea{resize:vertical}.contact-info{margin-bottom:26px}.document-card{border:1px solid #e9e9e9;min-height:260px;padding:26px}.document-card h2{font-size:19px}.footer .footer-widget address{font-style:normal;margin-bottom:18px;color:#ccc}.footer .footer-widget a{color:#ddd}.footer .quick-links ul{width:100%}.footerbottom a{color:#fff}.call-to-action h2,.call-to-action h2 a{font-size:21px;color:#fff}.call-to-action .button{margin-bottom:0}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--deeni-gold);outline-offset:3px}
@media(max-width:1023px){.header .menu>li>a{font-size:11px;padding:10px 7px}.header .logo img{height:52px}.information-boxes>div:not(.clearfix){padding:24px;min-height:300px}}@media(max-width:639px){.topBar .menu{text-align:left}.topBar li{padding:6px}.header{padding:15px 0}.header .top-bar{padding-top:8px}.header .menu>li>a{font-size:14px;padding:13px 8px}.header .nav-wrap{clear:both}.header .logo img{height:56px}.module{margin-bottom:42px}.information-boxes>div:not(.clearfix){min-height:0;padding:28px}.information-boxes p{min-height:0}.feature-section{padding:35px 0}.deeni-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.deeni-gallery img{height:165px}.student-column:nth-child(4n+1){clear:none}.student-column:nth-child(2n+1){clear:both}.student-card .teacher-thumb img,.student-placeholder{height:185px}.student-card .teacher-meta h2,.student-card .teacher-meta h2 a{font-size:15px}.search-button{padding-top:16px}.search-panel input,.search-panel select{margin-bottom:12px}.about-image{height:260px;margin-bottom:25px}.title-section h1{font-size:25px}.call-to-action .button{margin-top:15px}.footerTop .footer-widget{margin-bottom:30px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Align the contact strip and navigation with the supplied theme. */
.topBar .menu{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;margin:0}
.topBar .menu>li{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;line-height:25px}
.topBar .menu>li>a{display:inline-flex;align-items:center;gap:6px;padding:0;line-height:25px}
.topBar .menu>li>a i{line-height:inherit}
.header .logo img{height:40px}
.header .top-bar{padding:0;width:100%}
.header .menu>li>a{font-size:14px;padding:12px;line-height:20px;white-space:nowrap}
.student-search-controls{display:flex;gap:12px;align-items:stretch}
.student-search-controls input{flex:1;min-width:0}
.student-search-controls .button{margin:0}
.student-results-heading,.student-centers h2{font-size:20px;margin-bottom:22px}
.student-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.student-grid .student-card{min-width:0;margin:0 0 24px;padding:0}
.student-grid .teacher-thumb img,.student-grid .student-placeholder{height:auto;aspect-ratio:1/1;width:100%}
.student-grid .teacher-meta{padding:16px 5px}
.student-grid .teacher-meta h2{line-height:1.5}
.student-grid .empty-state{grid-column:1/-1}
.center-list{list-style:none;margin:0;border-top:2px solid var(--deeni-gold)}
.center-list li{border-bottom:1px solid #e9e9e9}
.center-list a{display:block;padding:12px 14px;line-height:1.6;overflow-wrap:anywhere}
.center-list a:hover,.center-list a[aria-current=page]{background:#f7f7f7;color:var(--deeni-blue)}
.center-list a[aria-current=page]{box-shadow:inset 3px 0 var(--deeni-gold);font-weight:700}
@media(min-width:1024px){
    .header>.row{display:flex;align-items:center}
    .header>.row>.columns:first-child{width:20%;flex:0 0 20%}
    .header .nav-wrap{width:80%;flex:0 0 80%}
    .topBar>.row{display:flex;align-items:center}
}
@media(min-width:640px) and (max-width:1023px){
    .header>.row>.columns:first-child{width:18%}
    .header .nav-wrap{width:82%}
    .header .menu>li>a{font-size:11px;padding:12px 6px}
    .header .logo img{height:36px}
    .topBar>.row>.columns{width:100%}
    .topBar .left-side p{float:none;text-align:center}
    .topBar .menu{justify-content:center}
    .student-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:639px){
    .topBar .menu{justify-content:center;gap:0 12px}
    .topBar .menu>li{padding:3px 0;white-space:normal}
    .header .logo img{height:40px}
    .header .menu>li>a{font-size:14px;padding:13px 15px}
    .student-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
    .student-centers{margin-top:30px}
    .student-search{padding:18px}
}

.topBar .trust-link a,.topBar .trust-label span{color:#fff}
.topBar .trust-label{gap:8px}
.topBar .menu>li,.topBar .menu>li>a,.topBar .menu>li>button,.topBar .trust-label span,.topBar .trust-label [lang=ar]{font-family:Lato,sans-serif;font-size:14px;line-height:25px}
.topBar,.header,.topBar p,.topBar a,.topBar span,.topBar button,.header a,.header button,.header span,.topBar .trust-label [lang=ar],.header .menu>li>a{font-family:Lato,sans-serif;font-size:14px}
.donate-button{background:#e79800;color:#fff;border:1px solid #e79800;border-radius:3px;padding:7px 11px;font-family:inherit;font-size:14px;font-weight:700;line-height:20px;cursor:pointer;white-space:nowrap}
.donate-button:hover{background:#c78000;border-color:#c78000}
.donation-dialog{position:fixed;inset:0;margin:auto;width:700px;max-width:calc(100% - 32px);max-height:90vh;padding:0;border:0;background:#fff;color:#fff;box-shadow:0 20px 70px #0006;overflow-y:auto}
.donation-dialog:not([open]){display:none}
.donation-dialog::backdrop{background:rgba(0,0,0,.65)}
.donation-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#4d751d;padding:12px 22px}
.donation-heading h2{color:#fff;font-size:22px;line-height:1.35;margin:0}
.donation-close{background:transparent;color:#fff;font-size:34px;line-height:1;border:0;padding:0 3px;cursor:pointer}
.donation-body{margin:5px 22px;border:3px solid green;text-align:center;padding:5px}
.donation-body img{display:block;width:auto;max-width:100%;max-height:65vh;height:auto;margin:auto;object-fit:contain}
.donation-footer{background:#4d751d;color:#fff;font-size:14px;font-weight:700;line-height:1.6;margin:0;padding:12px 22px}
@media(min-width:1024px){.topBar>.row>.left-side{width:23%;flex:0 0 23%}.topBar>.row>.columns:last-child{width:77%;flex:0 0 77%}.topBar .menu>li{padding:7px 5px}}
@media(max-width:639px){.donation-heading{padding:12px 15px}.donation-heading h2{font-size:18px}.donation-body{margin:5px 10px}.donation-footer{padding:12px 15px}.topBar .trust-label{flex-wrap:wrap;justify-content:center}}

.welcome-video video{display:block}
.welcome-preview{overflow:hidden;min-height:0}
.welcome-copy-inner>.button{align-self:flex-start;flex-shrink:0;margin-top:16px}
@media(min-width:640px){
    .welcome-row{display:flex;align-items:stretch}
    .welcome-copy{position:relative}
    .welcome-copy-inner{position:absolute;inset:0 15px;display:flex;flex-direction:column;overflow:hidden}
    .welcome-copy-inner h2,.welcome-copy-inner h3{flex-shrink:0}
    .welcome-preview{flex:1}
    .welcome-preview p{margin-bottom:0}
}
@media(max-width:639px){.welcome-copy{margin-top:24px}.welcome-copy-inner{display:flex;flex-direction:column}}

/* Main navigation: a soft rail, strong active state and gold action. */
.header{border-bottom:1px solid #e7edf3;box-shadow:0 5px 20px rgba(23,72,115,.08)}
.header #responsive-menu>ul{padding:6px;border:1px solid #e4ebf2;border-radius:12px;background:#f3f6fa;box-shadow:inset 0 1px 0 #fff}
.header #responsive-menu>ul>li>a{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;padding:13px 11px;border:0!important;border-radius:8px;font-family:Lato,sans-serif;font-size:14px;font-weight:700;line-height:20px;letter-spacing:.15px;color:#174873!important;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease}
.header #responsive-menu>ul>li>a:hover,.header #responsive-menu>ul>li>a:focus-visible{background:#fff;color:#123956!important;box-shadow:0 3px 10px rgba(23,72,115,.12)}
.header #responsive-menu>ul>li>a[aria-current=page]{background:#174873;color:#fff!important;box-shadow:0 4px 10px rgba(23,72,115,.2)}
.header #responsive-menu>ul>li>a[aria-current=page]::before{content:"";position:absolute;left:calc(50% - 10px);bottom:5px;width:20px;height:3px;border-radius:3px;background:#f2b42d}
.header #responsive-menu>ul>li>a.nav-help{margin-left:5px;background:#f2b42d;color:#173650!important;box-shadow:0 3px 9px rgba(186,126,0,.16)}
.header #responsive-menu>ul>li>a.nav-help:hover,.header #responsive-menu>ul>li>a.nav-help:focus-visible{background:#ffc84a;color:#102c42!important;box-shadow:0 4px 12px rgba(186,126,0,.24)}
.header #responsive-menu>ul>li>a.nav-help[aria-current=page]::before{background:#174873}
@media(min-width:640px) and (max-width:1199px){
    .header #responsive-menu>ul{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px}
    .header #responsive-menu>ul>li>a{padding:11px 9px}
}
@media(max-width:639px){
    .header #responsive-menu>ul{margin-top:14px;padding:7px;background:#f3f6fa}
    .header #responsive-menu>ul>li>a{justify-content:flex-start;padding:13px 15px;margin:2px 0;color:#174873!important}
    .header #responsive-menu>ul>li>a[aria-current=page]::before{left:5px;top:calc(50% - 10px);bottom:auto;width:3px;height:20px}
    .header #responsive-menu>ul>li>a.nav-help{margin:8px 0 0;justify-content:center}
    .header #responsive-menu .child-nav{border-radius:8px;overflow:hidden}
}

/* Keep the full supplied logo visible at every display size. */
.header{padding-top:12px;padding-bottom:12px}
.header .logo a{display:block;position:relative;width:160px;max-width:100%;height:56px;overflow:hidden}
.header .logo img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;transform:none}
@media(min-width:640px) and (max-width:1023px){.header .logo a{width:140px;height:50px}}
@media(max-width:639px){.header .logo a{width:150px;height:54px;margin:auto}}

.purpose-section{padding:72px 0;background:linear-gradient(135deg,#f2f6fa 0%,#fbfcfe 65%,#fff8e9 100%)}
.purpose-intro{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px;margin-bottom:36px}
.purpose-eyebrow{display:inline-block;font-size:11px;letter-spacing:2px;font-weight:700;color:#805300;margin-bottom:14px}
.purpose-intro h2{font-size:36px;line-height:1.2;letter-spacing:-1px;margin:0 0 12px;color:#173f61}
.purpose-intro h2 span{font-size:inherit;font-family:inherit;color:#ad7200}
.purpose-intro .purpose-subtitle{font-size:17px;line-height:1.6;color:#52677a;margin:0}
.purpose-description{font-size:15px;line-height:1.85;color:#52677a;margin:0;border-left:3px solid #edb637;padding-left:25px}
.purpose-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.purpose-card{position:relative;min-width:0;padding:28px;background:#fff;border:1px solid #e4ebf2;border-radius:14px;box-shadow:0 6px 20px rgba(23,72,115,.04);transition:box-shadow .2s ease,border-color .2s ease}
.purpose-card:hover{border-color:#d5ad59;box-shadow:0 12px 28px rgba(23,72,115,.1)}
.purpose-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}
.purpose-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:13px;background:#edf4fb;color:#174873;font-size:23px}
.purpose-card:nth-child(even) .purpose-icon{background:#fff4d9;color:#946000}
.purpose-number{font-size:27px;font-weight:700;color:#d9e3ec;font-family:Montserrat,sans-serif}
.purpose-card h3{font-size:20px;line-height:1.4;margin:0 0 6px;color:#173f61}
.purpose-tagline{font-size:13px;font-weight:700;color:#946000;line-height:1.6;margin-bottom:14px}
.purpose-card-description{font-size:14px;line-height:1.85;color:#5a6875;margin:0}
.purpose-invitation{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px 32px;margin-top:30px;background:#174873;border-radius:14px;border-left:5px solid #f2b42d}
.purpose-invitation h3{color:#fff;font-size:21px;line-height:1.4;margin:0 0 8px}
.purpose-invitation p{color:#e0ebf5;font-size:14px;line-height:1.7;margin:0}
.purpose-actions{display:flex;align-items:center;gap:24px;flex-shrink:0}
.purpose-actions .purpose-about{color:#fff;font-size:14px;line-height:1.5}
.purpose-about i{margin-left:6px;color:#f2b42d}
.purpose-actions .button{background:#f2b42d;color:#173650;margin:0;border-radius:7px;white-space:nowrap}
.purpose-actions .button:hover{background:#ffc84a}
@media(max-width:1023px){.purpose-intro{gap:28px}.purpose-intro h2{font-size:30px}.purpose-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purpose-invitation{flex-wrap:wrap}.purpose-actions{flex-shrink:1}}
@media(max-width:639px){.purpose-section{padding:42px 0}.purpose-intro{grid-template-columns:1fr;gap:20px;margin-bottom:26px}.purpose-intro h2{font-size:29px}.purpose-description{padding-left:18px}.purpose-grid{grid-template-columns:1fr;gap:16px}.purpose-card{padding:24px}.purpose-invitation{padding:24px 20px;gap:22px}.purpose-actions{flex-wrap:wrap;gap:18px}.purpose-eyebrow{letter-spacing:1.4px}}

/* Community testimonials. */
.alumni-section{position:relative;padding:64px 0;background:linear-gradient(120deg,#103452,#174873 65%,#205678);margin-bottom:0;overflow:hidden}
.alumni-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:65px}
.alumni-intro{padding:8px 0}
.alumni-eyebrow{display:inline-block;color:#f7c45a;font-size:11px;letter-spacing:2px;font-weight:700;margin-bottom:20px}
.alumni-intro h2{color:#fff;font-size:38px;line-height:1.2;letter-spacing:-.7px;margin:0}
.alumni-intro h2 span{display:block;font:inherit;color:#f7c45a;margin-top:6px}
.alumni-heading-line{height:3px;width:56px;background:#f7c45a;border-radius:3px;margin:25px 0}
.alumni-intro>p{font-size:16px;line-height:1.9;color:#e1ebf3;margin-bottom:22px;max-width:370px}
.alumni-intro-note{display:inline-flex;align-items:center;gap:10px;color:#d2e0ec;font-size:13px}
.alumni-intro-note i{color:#f7c45a;font-size:20px}
.alumni-carousel{min-width:0}
.alumni-section .testimonials{max-width:none;margin:0}
.alumni-section .testimonials .testimonial{display:flow-root;padding:30px 34px;text-align:left;border:1px solid #fff;border-radius:16px;background:#fff;box-shadow:0 10px 25px #071d3020}
.alumni-section .testimonial .testimonial-detail{float:none;width:100%;padding:0}
.alumni-section .alumni-quote{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#fff4da;color:#b07700;font-size:22px;margin-bottom:20px}
.alumni-section .testimonial-detail>p{font-size:16px;line-height:1.85;color:#40566a;margin-bottom:26px}
.alumni-person{display:flex;align-items:center;gap:13px;border-top:1px solid #e7edf3;padding-top:20px}
.alumni-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#eaf2f8;color:#174873;font-size:19px;font-weight:700}
.alumni-section .testimonials cite{display:block;font-family:Lato,sans-serif;font-size:16px;color:#174873;font-style:normal;font-weight:700}
.alumni-section .testimonials cite::before{content:none}
.alumni-section cite span{display:block;font-size:13px;font-weight:400;color:#697b8a;margin-top:2px}
.alumni-section cite span i{color:#b07700;margin-right:4px}
.alumni-section .owl-dots{display:flex;align-items:center;gap:3px;text-align:left;margin-top:17px}
.alumni-section .owl-dot{padding:5px!important}
.alumni-section .owl-dot span{display:block;width:9px;height:9px;border-radius:50%;background:#89a1b6;transition:width .2s ease,background-color .2s ease}
.alumni-section .owl-dot.active span{width:26px;border-radius:6px;background:#f7c45a}
@media(max-width:1023px){.alumni-layout{gap:30px}.alumni-intro h2{font-size:31px}.alumni-section .testimonials .testimonial{padding:26px}}
@media(max-width:639px){.alumni-section{padding:42px 0}.alumni-layout{grid-template-columns:1fr;gap:28px}.alumni-intro h2{font-size:30px}.alumni-intro h2 span{display:inline}.alumni-intro>p{max-width:none}.alumni-section .testimonials .testimonial{padding:24px 20px}.alumni-section .testimonial-detail>p{font-size:15px}.alumni-section .testimonial-detail cite{margin-left:0}.alumni-section .owl-dots{justify-content:center;text-align:center}}

/* Deeni Maktab community photo behind the footer content. */
.footer{background:#033a33}
.footer::after{content:none}
.footer .footerTop{background:linear-gradient(90deg,rgba(2,35,30,.55),rgba(2,35,30,.82) 65%,rgba(2,35,30,.8)),url('../images/footer-deeni-community.jpg') center center/cover no-repeat;border-top:3px solid #dca52d}
.footer .footer-widget h2{color:#fff}
.footer .footer-widget p,.footer .footer-widget address,.footer .footer-widget li,.footer .footer-widget a{color:#e0e9f0}
.footer .footer-widget a:hover{color:#f7c45a}
.footer .tx-div{background:#f7c45a}
.footer .footerbottom{background:#022b25;border-top:1px solid #ffffff1a}

.about-identity-intro{max-width:850px;margin-bottom:30px}
.about-identity-intro h2{color:#174873;font-size:30px;margin-bottom:16px}
.about-identity-intro>p{font-size:16px;line-height:1.85;color:#52677a;margin-bottom:0}
.about-support-link{display:inline-block;margin-top:18px;font-weight:700;color:#174873}
.about-support-link i{margin-left:5px;color:#a46c00}

.about-overview-content{display:flow-root}
.about-overview .about-image{float:left;width:calc(50% - 15px);height:360px;margin:0 30px 20px 0;object-fit:cover}
.about-overview .rich-content{line-height:1.85}
@media(max-width:639px){.about-overview .about-image{float:none;width:100%;height:auto;margin:0 0 24px}}

/* Keep student portraits and their default placeholders in the same circle. */
.student-grid .student-card .teacher-thumb{aspect-ratio:1/1;width:100%;border-radius:50%;overflow:hidden}
.student-grid .student-card .teacher-thumb img,.student-grid .student-card .student-placeholder{display:flex;width:100%;height:100%;aspect-ratio:1/1;border-radius:50%;object-fit:cover}
