*{margin:0;padding:0;box-sizing:border-box}
:root{
    --navy:#062b59;
    --blue:#0b63b6;
    --blue2:#1687d9;
    --green:#159b5b;
    --gold:#d7aa3d;
    --text:#172b43;
    --muted:#66768a;
    --soft:#f3f7fb;
    --white:#fff;
    --shadow:0 18px 50px rgba(6,43,89,.12);
    --radius:24px
}
html{scroll-behavior:smooth}
body{font-family:'Cairo',Tahoma,Arial,sans-serif;color:var(--text);background:#fff;line-height:1.8}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,92%);margin:auto}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(6,43,89,.08)}
.nav-wrap{min-height:84px;display:flex;align-items:center;gap:25px}
.brand{display:flex;align-items:center;gap:12px;min-width:370px}
.brand img{width:62px;height:62px;object-fit:contain;border-radius:14px}
.brand .center-logo{width:58px;height:58px;margin-right:5px}
.brand-text{display:flex;flex-direction:column;line-height:1.35}
.brand-text strong{font-size:18px;color:var(--navy)}
.brand-text span{font-size:13px;color:var(--muted)}
.main-nav{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-right:auto}
.main-nav a{padding:9px 14px;border-radius:12px;font-weight:600;font-size:14px;transition:.25s}
.main-nav a:hover{background:#eaf3fb;color:var(--blue)}
.menu-toggle{display:none;border:0;background:none;padding:8px;cursor:pointer}
.menu-toggle span{display:block;width:26px;height:3px;background:var(--navy);margin:5px;border-radius:4px}
.hero{min-height:620px;position:relative;display:flex;align-items:center;overflow:hidden;background-image:url('1.jpeg');background-size:cover;background-position:center}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,34,70,.92),rgba(7,66,118,.75),rgba(7,90,145,.25))}
.hero-content{position:relative;z-index:2;color:#fff;padding:90px 0;max-width:850px}
.hero-badge{display:inline-flex;padding:7px 16px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(255,255,255,.1);font-size:13px;margin-bottom:20px;direction:ltr}
.hero h1{font-size:clamp(38px,5vw,66px);line-height:1.3;font-weight:800;letter-spacing:-1px}
.hero h1 span{color:#a8e2ff}
.hero p{font-size:18px;max-width:690px;color:rgba(255,255,255,.88);margin:22px 0 30px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:12px 24px;border-radius:14px;font-weight:700;transition:.25s;border:1px solid transparent}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--green);color:#fff;box-shadow:0 10px 25px rgba(21,155,91,.25)}
.btn-light{background:#fff;color:var(--navy)}
.btn-dark{background:var(--navy);color:#fff}
.btn.small{padding:10px 18px;font-size:14px}
.hero-wave{position:absolute;bottom:-1px;left:0;right:0;height:70px;background:#fff;clip-path:ellipse(65% 70% at 50% 100%)}
.quick-bar{position:relative;margin-top:-5px;z-index:5}
.quick-grid{background:#fff;border-radius:22px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}
.quick-grid div{text-align:center;padding:22px;border-left:1px solid #edf1f5}
.quick-grid div:last-child{border-left:0}
.quick-grid b{display:block;font-size:27px;color:var(--blue);line-height:1.2}
.quick-grid span{font-size:13px;color:var(--muted)}
.section{padding:100px 0}
.section-soft{background:var(--soft)}
.section-heading{text-align:center;max-width:750px;margin:0 auto 45px}
.section-heading.align-right{text-align:right;margin-right:0;margin-left:0}
.eyebrow{display:inline-block;color:var(--green);font-weight:800;font-size:12px;letter-spacing:.7px;text-transform:uppercase;margin-bottom:8px;direction:ltr}
.section-heading h2{font-size:clamp(28px,3vw,42px);line-height:1.3;color:var(--navy);margin-bottom:10px}
.section-heading p{color:var(--muted);font-size:15px}
.test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.test-card{position:relative;overflow:hidden;min-height:280px;padding:28px;border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);border:1px solid #e8eef5;transition:.3s}
.test-card:hover{transform:translateY(-8px);border-color:#c8dced}
.test-card:before{content:"";position:absolute;top:0;right:0;width:100%;height:5px;background:var(--blue)}
.test-card.english:before{background:#1d6fc4}
.test-card.arabic:before{background:var(--green)}
.test-card.computer:before{background:var(--gold)}
.test-icon{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;background:#eaf4fc;color:var(--blue);font-size:20px;font-weight:800;margin-bottom:22px;direction:ltr}
.arabic .test-icon{background:#e9f8f0;color:var(--green)}
.computer .test-icon{background:#fff7e2;color:#a87911}
.test-tag{font-size:12px;font-weight:800;color:var(--muted);direction:ltr;display:block;margin-bottom:7px}
.test-body h3{font-size:19px;line-height:1.65;color:var(--navy);margin-bottom:9px}
.test-body p{font-size:13px;color:var(--muted);margin-bottom:18px}
.test-link{font-weight:800;color:var(--blue);font-size:13px}
.two-col{display:grid;grid-template-columns:1.55fr .8fr;gap:60px;align-items:center}
.instruction-list{display:grid;gap:10px}
.instruction{display:grid;grid-template-columns:52px 1fr;gap:14px;align-items:center;background:#fff;border:1px solid #e5ecf3;border-radius:16px;padding:13px 16px}
.instruction b{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#edf6fd;color:var(--blue);font-size:12px;direction:ltr}
.instruction p{font-size:14px;color:#506176}
.info-card{padding:38px;background:linear-gradient(150deg,var(--navy),#0a5797);color:#fff;border-radius:30px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.info-card:after{content:"";position:absolute;width:170px;height:170px;border:30px solid rgba(255,255,255,.06);border-radius:50%;left:-80px;bottom:-80px}
.info-card-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:17px;background:rgba(255,255,255,.13);font-size:27px;margin-bottom:22px}
.info-card h3{font-size:24px;margin-bottom:10px}
.info-card p{color:rgba(255,255,255,.8);font-size:14px;margin-bottom:25px}
.gallery{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:18px}
.gallery>div{height:330px;border-radius:22px;overflow:hidden;box-shadow:var(--shadow);background:#ddd}
.gallery>div:first-child{height:330px}
.gallery img{width:100%;height:100%;object-fit:cover;transition:.5s}
.gallery>div:hover img{transform:scale(1.04)}
.contact-section{padding-top:40px}
.contact-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:24px;align-items:stretch}
.map-card,.social-card{background:#fff;border:1px solid #e6edf4;border-radius:26px;padding:28px;box-shadow:var(--shadow)}
.map-card iframe{width:100%;height:330px;border:0;border-radius:18px}
.social-card{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center}
.social-card h2{font-size:27px;color:var(--navy);margin-bottom:8px}
.social-card p{font-size:13px;color:var(--muted);max-width:330px;margin-bottom:20px}
.qr{width:180px;height:180px;object-fit:cover;border-radius:16px;margin-bottom:18px;border:8px solid #f2f5f8}
.site-footer{background:#061f3e;color:#d7e2ee;margin-top:20px}
.footer-main{min-height:115px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.footer-brand{display:flex;align-items:center;gap:12px}
.footer-brand img{width:55px;height:55px;object-fit:contain;border-radius:12px;background:#fff}
.footer-brand strong,.footer-brand span{display:block}
.footer-brand strong{color:#fff}
.footer-brand span{font-size:15px;color:#9eb2c9}
.footer-links{display:flex;gap:18px;flex-wrap:wrap}
.footer-links a{font-size:12px;color:#a9bed3}
.footer-links a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:17px 0;text-align:center}
.footer-bottom p{font-size:15px;color:#91a7bf;direction:ltr}
.footer-bottom strong{color:#dce9f5;font-size:15px}
@media(max-width:1000px){
    .brand{min-width:0}
    .brand .center-logo{display:none}
    .main-nav{gap:0}
    .main-nav a{padding:8px 9px;font-size:13px}
    .test-grid{grid-template-columns:1fr}
    .test-card{min-height:230px}
    .two-col,.contact-grid{grid-template-columns:1fr}
    .info-card{max-width:600px;margin:auto}
}
@media(max-width:760px){
    .site-header{position:relative}
    .nav-wrap{min-height:74px;justify-content:space-between}
    .brand img{width:52px;height:52px}
    .brand-text strong{font-size:15px}
    .brand-text span{font-size:11px}
    .menu-toggle{display:block}
    .main-nav{display:none;position:absolute;top:74px;right:0;left:0;background:#fff;padding:12px 4%;box-shadow:0 15px 25px rgba(0,0,0,.08);flex-direction:column;align-items:stretch}
    .menu-open .main-nav{display:flex}
    .main-nav a{text-align:center;padding:12px}
    .hero{min-height:590px}
    .hero-content{padding:70px 0}
    .hero h1{font-size:39px}
    .hero p{font-size:15px}
    .quick-grid{grid-template-columns:repeat(2,1fr)}
    .quick-grid div{border-bottom:1px solid #edf1f5}
    .section{padding:70px 0}
    .gallery{grid-template-columns:1fr 1fr}
    .gallery>div,.gallery>div:first-child{height:240px}
    .gallery>div:first-child{grid-column:1/-1}
    .footer-main{padding:25px 0;flex-direction:column;align-items:flex-start}
    .footer-bottom p{line-height:1.3}
}
@media(max-width:480px){
    .hero h1{font-size:32px}
    .hero-actions .btn{width:100%}
    .gallery{grid-template-columns:1fr}
    .gallery>div,.gallery>div:first-child{height:250px;grid-column:auto}
    .instruction{grid-template-columns:44px 1fr;padding:10px}
    .instruction b{width:36px;height:36px}
}
