
:root{
  --green:#70923d; --green-dk:#1F6E30; --green-soft:#EAF4EC;
  --ink:#16241a; --muted:#5b6b60; --line:#dde7df; --bg:#ffffff;
  --amber:#F2A93B; --shadow:0 12px 40px rgba(31,110,48,.10);
  --font-en:'Sora',system-ui,sans-serif; --font-ar:'Tajawal',system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font-en);color:var(--ink);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased}
body[dir="rtl"]{font-family:var(--font-ar)}
.ar{display:none}
body[dir="rtl"] .en{display:none}
body[dir="rtl"] .ar{display:inline}
img{max-width:100%}
a{text-decoration:none;color:inherit}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}

/* ---- Header ---- */
header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:74px;gap:16px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:20px;color:var(--green-dk)}
.brand .eye{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--green),var(--green-dk));display:grid;place-items:center;color:#fff;font-size:18px}
.nav-links{display:flex;gap:28px;align-items:center;font-size:15px;font-weight:600}
.nav-links a{color:var(--muted);transition:color .2s}
.nav-links a:hover{color:var(--green-dk)}
.nav-actions{display:flex;gap:10px;align-items:center}
.lang-btn{border:1.5px solid var(--line);background:#fff;border-radius:999px;padding:8px 16px;font-weight:700;font-size:14px;cursor:pointer;color:var(--green-dk);font-family:inherit}
.lang-btn:hover{border-color:var(--green)}
.btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:12px 22px;font-weight:700;font-size:15px;cursor:pointer;border:none;font-family:inherit;transition:transform .15s,box-shadow .2s}
.btn-primary{background:#70923d;color:#fff;box-shadow:0 6px 18px rgba(46,158,69,.32)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(46,158,69,.42)}
.btn-ghost{background:#fff;color:var(--green-dk);border:1.5px solid var(--green)}
.btn-ghost:hover{background:var(--green-soft)}
/* @media(max-width:860px){.nav-links{display:none}} */

/* ---- Hero ---- */
.hero{position:relative;overflow:hidden;background:
  radial-gradient(1200px 500px at 80% -10%,rgba(46,158,69,.14),transparent 60%),
  linear-gradient(180deg,#fbfdfb,#fff)}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:50px;align-items:center;padding-block: 74px 64px;}
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--green-soft);color:var(--green-dk);font-weight:700;font-size:13px;padding:7px 14px;border-radius:999px;letter-spacing:.02em}
.hero h1{font-size:clamp(34px,5vw,56px);line-height:1.08;font-weight:800;margin:20px 0 16px;letter-spacing:-.02em}
.hero h1 .accent{color:#70923d}
.hero p.lead{font-size:18px;color:var(--muted);max-width:560px;margin-bottom:28px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.hero-trust{display:flex;gap:26px;margin-top:34px;flex-wrap:wrap}
.hero-trust div{display:flex;flex-direction:column}
.hero-trust b{font-size:24px;color:var(--green-dk);font-weight:800}
.hero-trust span{font-size:13px;color:var(--muted)}
.hero-card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:30px}
.hero-card h3{font-size:18px;font-weight:700;margin-bottom:6px}
.hero-card .sub{font-size:14px;color:var(--muted);margin-bottom:18px}
.field{margin-bottom:14px}
.field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:var(--ink)}



.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fbfdfb;
    color: var(--ink);
    font-family: inherit;
    font-size: 15px;
}

.field textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--green);
    background: #fff;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--muted);
    opacity: 0.85;
}
/* .field input,.field select{width:100%;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;font-size:15px;font-family:inherit;background:#fbfdfb}
.field input:focus,.field select:focus{outline:none;border-color:var(--green);background:#fff} */
.form-note{font-size:12px;color:var(--muted);margin-top:10px;text-align:center}
.badge-strip{display:flex;gap:14px;align-items:center;justify-content:center;padding:18px 0;border-top:1px solid var(--line);flex-wrap:wrap}
.badge-strip span{font-size:13px;color:var(--muted);font-weight:600}
@media(max-width:860px){.hero-grid{grid-template-columns:1fr;gap:34px;padding-block:44px}}

/* ---- Section ---- */
section.block{padding:15px 0}
.sec-head{text-align:center;max-width:680px;margin:0 auto 48px}
.sec-head .eyebrow{margin-bottom:14px}
.sec-head h2{font-size:clamp(26px,3.6vw,38px);font-weight:800;letter-spacing:-.02em;margin-bottom:12px}
.sec-head p{color:var(--muted);font-size:17px}

/* courses */
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.card{border:1px solid var(--line);border-radius:18px;padding:26px;background:#fff;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:#cfe3d4}
.card .ico{width:48px;height:48px;border-radius:14px;background:var(--green-soft);display:grid;place-items:center;font-size:22px;margin-bottom:16px}
.card h3{font-size:19px;font-weight:700;margin-bottom:8px}
.card p{font-size:14px;color:var(--muted);margin-bottom:16px;flex:1}
.card .price{font-size:15px;font-weight:700;color:var(--green-dk);margin-bottom:4px}
.card .dur{font-size:13px;color:var(--muted);margin-bottom:16px}
.card a.clink{font-weight:700;color:var(--green);font-size:14px}
@media(max-width:980px){.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.cards{grid-template-columns:1fr}}

/* why */
.why{background:var(--green-soft)}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.why-item{background:#fff;border-radius:16px;padding:26px;border:1px solid #d8e8db}
.why-item .ico{font-size:26px;margin-bottom:12px}
.why-item h3{font-size:17px;font-weight:700;margin-bottom:6px}
.why-item p{font-size:14px;color:var(--muted)}
@media(max-width:840px){.why-grid{grid-template-columns:1fr}}

/* offer band */
.offer{background:linear-gradient(120deg,var(--green-dk),var(--green));color:#fff;border-radius:24px;padding:48px;display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap}
.offer h2{font-size:30px;font-weight:800;margin-bottom:8px}
.offer p{opacity:.92;font-size:16px;max-width:520px}
.offer .btn-primary{background:#fff;color:var(--green-dk)}

/* testimonial */
.quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.quote{border:1px solid var(--line);border-radius:16px;padding:26px;background:#fff}
.stars{color:var(--amber);font-size:16px;margin-bottom:10px;letter-spacing:2px}
.quote p{font-size:15px;color:var(--ink);margin-bottom:14px}
.quote .who{font-size:13px;color:var(--muted);font-weight:600}
@media(max-width:840px){.quotes{grid-template-columns:1fr}}

/* gallery */
.gal{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.gal figure{position:relative;border-radius:16px;overflow:hidden;aspect-ratio:4/3;background:var(--green-soft);border:1px solid var(--line);display:grid;place-items:center;transition:transform .2s,box-shadow .2s}
.gal figure:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.gal .ph{font-size:34px;opacity:.55}
.gal figcaption{position:absolute;bottom:0;left:0;right:0;padding:12px 14px;background:linear-gradient(0deg,rgba(19,33,26,.78),transparent);color:#fff;font-size:13px;font-weight:600}
@media(max-width:840px){.gal{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.gal{grid-template-columns:1fr}}

/* footer */
footer{background:#13211a;color:#cfe0d4;padding:54px 0 30px;margin-top:10px}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;margin-bottom:34px}
.foot-grid h4{color:#fff;font-size:15px;margin-bottom:14px;font-weight:700}
.foot-grid a,.foot-grid p{display:block;color:#a9c2b1;font-size:14px;margin-bottom:8px}
.foot-grid a:hover{color:#fff}
.foot-bottom{border-top:1px solid #2a3d31;padding-top:20px;font-size:13px;color:#8aa593;text-align:center}
@media(max-width:760px){.foot-grid{grid-template-columns:1fr}}

/* whatsapp float */
.wa{position:fixed;bottom:24px;right:24px;z-index:60;background:#25D366;color:#fff;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-size:28px;box-shadow:0 8px 24px rgba(37,211,102,.45);transition:transform .2s}
.wa:hover{transform:scale(1.08)}
body[dir="rtl"] .wa{right:auto;left:24px}

/* reveal */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}

/* ---- Shared inner pages ---- */
.nav-links a.active{color:var(--green-dk)}
.page-hero{background:radial-gradient(1200px 500px at 80% -10%,rgba(46,158,69,.14),transparent 60%),linear-gradient(180deg,#fbfdfb,#fff);padding:64px 0 48px;border-bottom:1px solid var(--line)}
.page-inner .page-hero .eyebrow{margin-bottom:16px}
.page-hero h1{font-size:clamp(30px,4.4vw,46px);line-height:1.1;font-weight:800;letter-spacing:-.02em;margin-bottom:14px;max-width:100%}
.page-hero p.lead{font-size:18px;color:var(--muted);max-width:640px}
.crumb{font-size:13px;color:var(--muted);margin-bottom:18px}
.crumb a:hover{color:var(--green-dk)}
.page-inner section.block{padding:64px 0}
.block.tint{background:var(--green-soft)}
.page-inner .sec-head{max-width:720px;margin:0 auto 40px;text-align:center}
.page-inner .sec-head h2{font-size:clamp(24px,3.2vw,34px);font-weight:800;letter-spacing:-.02em;margin-bottom:10px}
.page-inner .sec-head p{color:var(--muted);font-size:16px}
.prose{max-width:760px;margin:0 auto;font-size:17px;color:var(--ink)}
.prose p{margin-bottom:18px;color:var(--muted)}
.prose p strong{color:var(--ink)}

/* ---- About page ---- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:8px}
.stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;text-align:center}
.stat b{display:block;font-size:30px;color:var(--green-dk);font-weight:800;margin-bottom:4px}
.stat span{font-size:13px;color:var(--muted)}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.feature{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px}
.feature .ico{font-size:26px;margin-bottom:12px}
.feature h3{font-size:17px;font-weight:700;margin-bottom:6px}
.feature p{font-size:14px;color:var(--muted)}
@media(max-width:840px){.feature-grid{grid-template-columns:1fr}}
@media(max-width:760px){.stats{grid-template-columns:1fr 1fr}}

/* ---- Gallery page ---- */
.page-gallery .gal .ph{font-size:38px}

/* ---- Corporate page ---- */
.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:8px}
.tier{border:1px solid var(--line);border-radius:18px;padding:28px;background:#fff;text-align:center}
.tier.featured{border-color:var(--green);box-shadow:var(--shadow)}
.tier h3{font-size:18px;font-weight:700;margin-bottom:6px;color:var(--green-dk)}
.tier .size{font-size:13px;color:var(--muted);margin-bottom:14px}
.tier .disc{font-size:30px;font-weight:800;margin-bottom:14px}
.tier ul{list-style:none;text-align:start;font-size:14px;color:var(--muted)}
.tier li{padding:6px 0;border-bottom:1px dashed var(--line)}
@media(max-width:840px){.tiers{grid-template-columns:1fr}}

/* ---- Shared call to action ---- */
.cta-band{background:linear-gradient(120deg,var(--green-dk),var(--green));color:#fff;border-radius:24px;padding:48px;text-align:center}
.cta-band h2{font-size:30px;font-weight:800;margin-bottom:10px}
.cta-band p{opacity:.92;font-size:16px;max-width:560px;margin:0 auto 22px}
.cta-band .btn-primary{background:#fff;color:var(--green-dk)}

/* ---- Courses listing page ---- */
.page-courses .cards{grid-template-columns:repeat(2,1fr);gap:24px}
.ccard{border:1px solid var(--line);border-radius:18px;padding:30px;background:#fff;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column}
.ccard:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:#cfe3d4}
.ccard .ico{width:52px;height:52px;border-radius:14px;background:var(--green-soft);display:grid;place-items:center;font-size:24px;margin-bottom:16px}
.ccard h3{font-size:21px;font-weight:700;margin-bottom:8px}
.ccard p{font-size:14px;color:var(--muted);margin-bottom:14px;flex:1}
.ccard .dur{font-size:13px;color:var(--green-dk);font-weight:600;margin-bottom:16px}
.ccard a.clink{font-weight:700;color:var(--green);font-size:14px}
@media(max-width:760px){.page-courses .cards{grid-template-columns:1fr}}

/* ---- Course detail pages ---- */
.page-hero .meta-row{display:flex;gap:22px;flex-wrap:wrap;margin-top:22px}
.page-hero .meta-row .m{display:flex;flex-direction:column}
.page-hero .meta-row b{font-size:18px;color:var(--green-dk);font-weight:800}
.page-hero .meta-row span{font-size:13px;color:var(--muted)}
.page-inner .page-hero .hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.twocol{display:grid;grid-template-columns:1fr 1fr;gap:40px;max-width:960px;margin:0 auto}
.panel h3{font-size:18px;font-weight:700;margin-bottom:14px;color:var(--green-dk)}
.checklist{list-style:none}
.checklist li{padding:9px 0 9px 28px;position:relative;font-size:15px;color:var(--ink);border-bottom:1px dashed var(--line)}
body[dir="rtl"] .checklist li{padding:9px 28px 9px 0}
.checklist li:before{content:"âœ“";position:absolute;left:0;color:var(--green);font-weight:800}
body[dir="rtl"] .checklist li:before{left:auto;right:0}
.factbox{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}
.factbox .row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.factbox .row:last-child{border-bottom:none}
.factbox .row .k{color:var(--muted)}
.factbox .row .v{font-weight:700;color:var(--ink);text-align:end}
.related{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.rel{border:1px solid var(--line);border-radius:14px;padding:20px;background:#fff;transition:transform .2s,box-shadow .2s}
.rel:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.rel .ico{font-size:22px;margin-bottom:8px}
.rel h4{font-size:15px;font-weight:700;margin-bottom:4px}
.rel span{font-size:13px;color:var(--green)}
@media(max-width:760px){.twocol{grid-template-columns:1fr;gap:30px}.related{grid-template-columns:1fr}}

/* ---- Success stories page ---- */
.page-success .quote p{margin-bottom:16px}
.quote .person{display:flex;align-items:center;gap:12px}
body[dir="rtl"] .quote .person{flex-direction:row-reverse}
.quote .avatar{width:46px;height:46px;border-radius:50%;flex:0 0 46px;object-fit:cover;background:linear-gradient(135deg,var(--green-soft),#d6ebda);border:1px solid var(--line);display:grid;place-items:center;font-weight:800;font-size:15px;color:var(--green-dk)}
.quote .meta .who{font-size:14px;color:var(--ink);font-weight:700}
.quote .meta .course{font-size:12px;color:var(--muted)}

/* ---- Reusable utilities extracted from inline styles ---- */
.btn-block{width:100%;justify-content:center}
.section-offset{margin-top:30px}
.helper-note{text-align:center;color:var(--muted);font-size:13px;margin-top:22px}
.helper-note.compact{margin-top:18px}



.social-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
    direction: ltr;
}

.social-icons a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 10px 17px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
    transition: 0.3s ease;
}

.social-icons a i {
    width: 28px;
    font-size: 25px;
    text-align: center;
}

.social-icons a span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.social-icons a:hover {
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.28);
}

.social-icons .instagram:hover {
    background: linear-gradient(
        135deg,
        #405de6,
        #833ab4,
        #c13584,
        #fd1d1d,
        #fcb045
    );
}

.social-icons .facebook:hover {
    background-color: #1877f2;
}

.social-icons .linkedin:hover {
    background-color: #0a66c2;
}

.social-icons .whatsapp:hover {
    background-color: #25d366;
}

@media (max-width: 600px) {
    .social-icons {
        flex-direction: column;
        align-items: stretch;
    }

    .social-icons a {
        width: 100%;
    }
}




.logo {
    display: flex;
    align-items: center;
    height: 74px;
    flex-shrink: 0;
}

.navbar-logo {
    display: block;
    width: auto;
    height: 58px;
    max-width: 180px;
    object-fit: contain;
}



@media (max-width: 600px) {
    .navbar-logo {
        height: 40px;
        max-width: 150px;
    }
} 




/* Footer contact links only */
footer .foot-grid .nv-contact-item {
    width: fit-content;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #a9c2b1;
    text-decoration: none;
    direction: ltr;
    transition: color 0.25s ease, transform 0.25s ease;
}

footer .foot-grid .nv-contact-item > i {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(48, 207, 106, 0.12);
    color: #30cf6a;
    font-size: 16px;
}

footer .foot-grid .nv-contact-value {
    min-width: 0;
    color: inherit;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

footer .foot-grid .nv-contact-item:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* Footer copyright row only */
footer .foot-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 30px;
    padding-top: 22px;
    border-top: 1px solid #2a3d31;
    color: #8aa593;
    font-size: 13px;
    line-height: 1.6;
    text-align: initial;
}

@media (max-width: 760px) {
    footer .foot-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}



.nv-footer-contacts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* gap: 25px 45px; */
}

.nv-contact-item {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nv-contact-item > i {
    width: 26px;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 22px;
    text-align: center;
}

.nv-contact-content {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
}

.nv-contact-content strong,
.nv-contact-value {
    display: inline;
    margin: 0;
    color: inherit;
}

.nv-contact-item:hover,
.nv-contact-item:hover > i {
    color: #2e9e45;
}

@media (max-width: 700px) {
    .nv-footer-contacts {
        flex-direction: column;
        align-items: flex-start;
        /* gap: 18px; */
    }

    .nv-contact-item {
        font-size: 14px;
        
    }


}

















/* Footer bottom: copyright left, social icons right */
footer .foot-bottom {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 24px;
    border-top: 1px solid #2a3d31;
    text-align: left;
    direction: ltr;
}

footer .foot-copy {
    max-width: 680px;
    color: #8aa593;
    font-size: 13px;
    line-height: 1.7;
}

footer .nv-footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
    direction: ltr;
}

footer .nv-footer-socials a {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-size: 23px;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

footer .nv-footer-socials a:hover {
    transform: translateY(-3px);
    border-color: #2e9e45;
    background: #2e9e45;
}

body[dir="rtl"] footer .foot-copy {
    direction: rtl;
    text-align: right;
}

@media (max-width: 760px) {
    footer .foot-bottom {
        flex-direction: column;
        text-align: center;
    }

    footer .nv-footer-socials {
        margin-left: 0;
    }

    body[dir="rtl"] footer .foot-copy {
        text-align: center;
    }
}
/* Footer bottom professional alignment */
footer .foot-bottom {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 28px;
    padding-top: 26px;
    border-top: 1px solid #2a3d31;
    direction: ltr;
}

footer .foot-copy {
    min-width: 0;
    margin: 0;
    color: #8aa593;
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
}


footer .nv-parent-logo img {
    display: block;
    width: 105px;
    height: 30px;
    object-fit: contain;
}

/* Social icons — always one row */
footer .nv-footer-socials {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center;
    gap: 10px;
    width: auto;
    margin: 0;
    flex-shrink: 0;
    direction: ltr;
}

footer .nv-footer-socials a {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

/* Tablet */
@media (max-width: 1240px) {
    footer .foot-bottom {
        grid-template-columns: 1fr auto;
    }

    footer .foot-copy {
        grid-column: 1 / -1;
        white-space: normal;
    }
}

/* Mobile */
@media (max-width: 600px) {
    footer .foot-bottom {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}







/* Belherzi Group — first footer column only */
footer .foot-grid .nv-group-lockup {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    width: fit-content;
    margin-top: 107px;
    direction: ltr;

    /* زِد القيمة لتنزيل اللوقو */
    transform: none;
}

footer .foot-grid .nv-group-lockup-label {
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    white-space: nowrap;
}

footer .foot-grid .nv-group-lockup a {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

footer .foot-grid .nv-group-lockup img {
    display: block;
/* عدلتو بتاريخ 10-9-2026
القيمه حقت ال width:180px */
    width: 230px !important;

    height: auto !important;
    max-width: none !important;
    max-height: none;
    object-fit: contain;
    margin:15px 0 0 -10px!important;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    filter: brightness(1.45);
}

@media (max-width: 760px) {
    footer .foot-grid .nv-group-lockup {
        margin-top: 26px;
        transform: translateY(15px);
    }

    footer .foot-grid .nv-group-lockup img {
        width: 190px !important;
    }
}

footer .foot-grid .nv-group-lockup {
    flex-direction: column !important;
    align-items: flex-start !important;
}

/* إزاحة لوقو Belherzi للشمال فقط */
footer .foot-grid .nv-group-lockup a {
    transform: translateX(-8px) !important;
}






/* Navbar final correction */
header .nav.wrap {
    position: relative;
    width: 100%;
    max-width: none;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 clamp(28px, 3vw, 56px);
}

/* Logo */
header .nav > .logo,
header .nav > .brand {
    flex: 0 0 160px;
}

header .navbar-logo {
    width: auto;
    height: 58px;
    max-width: 160px;
}



header .nav-links a {
    display: inline-block;
       color: var(--muted);
    white-space: nowrap;
    transition: color 0.2s, background-color 0.2s;

}

/* Show one language only */
header .nav-links .ar {
    display: none;
}

body[dir="rtl"] header .nav-links .en {
    display: none;
}

body[dir="rtl"] header .nav-links .ar {
    display: inline;
}

/* Right side */
header .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    margin-inline-start: auto;
}

/* Language */
header .lang-btn {
    min-width: 82px;
    height: 44px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--green-dk);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    appearance: none;
    transition: border-color 0.2s;

}

header .lang-btn:hover {
    border-color: var(--green);
}

header .lang-btn > .en {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

header .lang-btn > .ar {
    display: none;
}

body[dir="rtl"] header .lang-btn > .en {
    display: none;
}

body[dir="rtl"] header .lang-btn > .ar {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

header .lang-flag {
    width: 24px !important;
    height: 16px !important;
    object-fit: cover;
    border-radius: 2px;
}

/* Consultation button */
header .nav-cta {
    width: auto;
    height: 44px;
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 5px 14px rgba(46, 158, 69, 0.22);
}

@media (max-width: 1300px) {
    header .nav-cta {
        padding: 0 12px;
        font-size: 11px;
    }
}



/* Mobile navigation controls */
header .nav-toggle {
    display: none;
}


header .nav-links > .nav-mobile-cta {
    display: none;
}

header .nav-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--green-dk);
    cursor: pointer;
    appearance: none;
    touch-action: manipulation;
}

header .nav-toggle:focus-visible,
header .nav-links a:focus-visible {
    outline: 3px solid rgba(46, 158, 69, 0.3);
    outline-offset: 3px;
}

header .nav-toggle-icon {
    display: grid;
    gap: 4px;
}

header .nav-toggle-icon span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

header .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

header .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
    opacity: 0;
}

header .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1100px) {


    header .nav.wrap {
    height: 72px;
    padding-inline: clamp(16px, 3vw, 32px);
}

    header .nav > .logo,
    header .nav > .brand {
        flex: 0 1 auto;
    }

    header .navbar-logo {
        height: 50px;
        max-width: 140px;
    }

    header .nav-actions {
        gap: 8px;
    }

    header .nav-cta {
        display: none;
    }

    header .nav-toggle {
        display: inline-flex;
    }

header .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: clamp(12px, 3vw, 32px);
    right: clamp(12px, 3vw, 32px);
    width: auto;
    max-height: calc(100vh - 100px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 14px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(22, 36, 26, 0.16);
    font-size: 15px;
    text-align: start;
    white-space: normal;
    transform: none;
    z-index: 100;
}
    


    header .nav-links.is-open {
        display: flex;
    }

    header .nav-links > a:not(.nav-mobile-cta) {
        width: 100%;
        padding: 11px 13px;
        border-radius: 10px;
    }

    header .nav-links > a:not(.nav-mobile-cta):hover {
        background: var(--green-soft);
    }

    header .nav-links .nav-mobile-cta {
        width: 100%;
        min-height: 46px;
        margin-top: 8px;
        display: inline-flex;
        justify-content: center;
        color: #fff;
    }
}

@media (max-width: 600px) {
    header .nav.wrap {
        padding-inline: 14px;
        gap: 12px;
    }

    header .navbar-logo {
        height: 44px;
        max-width: 120px;
    }

    header .lang-btn {
        min-width: 64px;
        height: 40px;
        padding-inline: 10px;
    }

    header .nav-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    header .nav-links {
        left: 10px;
        right: 10px;
    }
}






header .nav-links a:hover,
header .nav-links a.active {
    color: var(--green-dk);
}





/* Footer RTL correction */
body[dir="rtl"] footer .foot-bottom {
    direction: rtl;
}

body[dir="rtl"] footer .foot-grid .nv-contact-item {
    direction: rtl;
}

body[dir="rtl"] footer .foot-grid .nv-contact-item:hover {
    transform: translateX(-4px);
}

@media (max-width: 600px) {
    body[dir="rtl"] footer .foot-copy {
        text-align: center;
    }
}






/* Arabic form alignment */
body[dir="rtl"] .field input,
body[dir="rtl"] .field textarea {
    text-align: right;
}

/* Arabic text fields */
body[dir="rtl"] .field input[name="name"],
body[dir="rtl"] .field textarea {
    direction: rtl;
}

/* Keep numbers and email correctly ordered */
body[dir="rtl"] .field input[type="tel"],
body[dir="rtl"] .field input[type="email"] {
    direction: ltr;
    text-align: right;
}


/* Align hero content with the form on larger screens only */
@media (min-width: 861px) {
    .hero-grid > div:first-child {
        align-self: start;
    }
}












/* =========================================
   Consultation form location fields
   ========================================= */

#leadForm .location-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

#leadForm .location-row .field {
    min-width: 0;
}

#leadForm .location-row.single-column {
    grid-template-columns: 1fr;
}

#leadForm .is-hidden {
    display: none !important;
}

#leadForm .city-other-input {
    margin-top: 8px;
}

/* Phone number with country code */
#leadForm .phone-control {
    width: 100%;
    display: flex;
    align-items: center;
    direction: ltr;
    overflow: hidden;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fbfdfb;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

#leadForm .phone-control:focus-within {
    border-color: var(--green);
    background: #fff;
}

#leadForm .phone-prefix {
    flex: 0 0 auto;
    padding: 12px 12px 12px 14px;
    border-right: 1px solid var(--line);
    color: var(--green-dk);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    direction: ltr;
}

#leadForm .phone-control input {
    flex: 1;
    width: auto;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    direction: ltr;
    text-align: left;
}

#leadForm .phone-control input:focus {
    border: 0;
    background: transparent;
}

/* Keep phone numbers LTR in Arabic */
body[dir="rtl"] #leadForm .phone-control input {
    direction: ltr;
    text-align: left;
}

/* Wider form on large desktop screens only */
@media (min-width: 1101px) {
    .hero-with-location-form .hero-grid {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(0, 1.1fr);
        gap: 40px;
    }
}

/* Stack new fields safely on smaller screens */
@media (max-width: 1100px) {
    #leadForm .location-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}






/* Align hero content with the form on desktop */
@media (min-width: 1101px) {
    .hero-with-location-form .hero-grid {
        align-items: stretch;
    }

    .hero-with-location-form .hero-grid > div:first-child {
        align-self: stretch;
        display: flex;
        flex-direction: column;
    }

    .hero-with-location-form .hero-trust {
        margin-top: auto;
    }
}


/* Catalogue download — Courses and Corporate pages */
.courses-page .catalogue-download,
.corporate-page .catalogue-download {
    display: flex;
    justify-content: flex-start;
    margin-top: 24px;
}

.courses-page .catalogue-download .catalogue-btn,
.corporate-page .catalogue-download .catalogue-btn {
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

body[dir="ltr"] .catalogue-download .catalogue-btn.en {
    display: inline-flex;
}

body[dir="ltr"] .catalogue-download .catalogue-btn.ar {
    display: none;
}

body[dir="rtl"] .catalogue-download .catalogue-btn.en {
    display: none;
}

body[dir="rtl"] .catalogue-download .catalogue-btn.ar {
    display: inline-flex;
}

@media (max-width: 600px) {
    .courses-page .catalogue-download,
    .corporate-page .catalogue-download {
        justify-content: center;
        margin-top: 20px;
    }

    .courses-page .catalogue-download .catalogue-btn,
    .corporate-page .catalogue-download .catalogue-btn {
        width: 100%;
        max-width: 400px;
    }
}



/* Home hero closing statement */
.hero-with-location-form .hero-closing {
    margin: -14px 0px 57px 0;
    color: var(--green-dk);
    font-weight: 800;
    line-height: 1.5;
}


/* Fix Arabic Home hero heading line overlap */
body[dir="rtl"] .hero h1 {
    line-height: 1.28;
    letter-spacing: 0;
}












/* Add this directly after the existing .gal figure rule. */
.gal figure > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.gal figure:hover > img {
  transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
  .gal figure > img {
    transition: none;
  }
}














/* =========================================================
   Belherzi Group companies — footer only
   Paste at the very end of assets/css/main.css
   ========================================================= */

footer .nv-group-network {
  width: 100%;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: end;
  gap: 32px;
  margin: 0 0 36px;
  direction: ltr;
}

footer .nv-group-parent,
footer .nv-group-companies {
  min-width: 0;
}

footer .nv-group-title {
  display: block;
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

footer .nv-group-brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  background: transparent;
}

footer .nv-group-brand img {
  display: block;
  width: 180px;
  height: 65px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(1.45);
}

footer .nv-group-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(96px, 1fr));
  gap: 12px;
}

footer .nv-company-logo {
  height: 68px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              border-color 0.25s ease;
}

footer .nv-company-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

footer .nv-company-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 158, 69, 0.72);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

@media (max-width: 980px) {
  footer .nv-group-network {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 24px;
  }

  footer .nv-group-brand img {
    width: 160px;
  }

  footer .nv-group-logos {
    grid-template-columns: repeat(3, minmax(96px, 1fr));
  }
}

@media (max-width: 680px) {
  footer .nv-group-network {
    display: block;
    margin-bottom: 30px;
  }

  footer .nv-group-parent {
    margin-bottom: 24px;
  }

  footer .nv-group-brand img {
    width: 150px;
    height: 58px;
  }

  footer .nv-group-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  footer .nv-company-logo {
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  footer .nv-company-logo {
    transition: none;
  }
}




/* Enlarge company logos inside footer cards */
footer .nv-company-logo {
    padding: 4px 6px;
}

footer .nv-company-logo img {
    transform: scale(1.32);
    transform-origin: center;
}






/* =========================================================
   Belherzi footer logos — compact, aligned and RTL-aware
   Replace the previous white-logo override block with this.
   ========================================================= */

footer .nv-group-network {
  width: 100%;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: start;
  column-gap: 24px;
  margin: 0 0 36px;
  direction: ltr;
}

/* The two titles share one row and all logos share one row. */
footer .nv-group-parent,
footer .nv-group-companies {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 82px;
}

footer .nv-group-companies {
  position: relative;
}

/* Decorative separator between the parent logo and company logos. */
footer .nv-group-companies::before {
  content: "";
  position: absolute;
  inset-inline-start: -12px;
  top: 36px;
  bottom: 7px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(67, 186, 91, 0.35) 14%,
    #63dd7d 50%,
    rgba(67, 186, 91, 0.35) 86%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(67, 186, 91, 0.42);
}

footer .nv-group-companies::after {
  content: "";
  position: absolute;
  inset-inline-start: -15px;
  top: calc(50% + 15px);
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #63dd7d;
  box-shadow: 0 0 11px rgba(99, 221, 125, 0.7);
  transform: translateY(-50%) rotate(45deg);
}

footer .nv-group-title {
  display: block;
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

footer .nv-group-brand {
  width: 100%;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  background: transparent;
}

footer .nv-group-brand img {
  display: block;
  width: 180px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(1.45);
}

footer .nv-group-logos {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 12px;
}

footer .nv-company-logo {
  flex: 0 1 clamp(96px, 8.5vw, 118px);
  width: clamp(96px, 8.5vw, 118px);
  height: 72px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ZDS is much wider than the other logos, so give it a little more width. */


footer .nv-company-logo img,
footer .nv-company-logo:nth-child(5) img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.94;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.28));
  transform: none !important;
  transform-origin: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

footer .nv-company-logo:hover {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

footer .nv-company-logo:hover img,
footer .nv-company-logo:nth-child(5):hover img {
  opacity: 1;
  transform: translateY(-3px) !important;
}

/* Arabic: move the group logo to the right and start company logos beside it. */
body[dir="rtl"] footer .nv-group-network {
  direction: rtl;
}

body[dir="rtl"] footer .nv-group-title {
  text-align: right;
}

body[dir="rtl"] footer .nv-group-brand,
body[dir="rtl"] footer .nv-group-logos {
  justify-content: flex-start;
}

body[dir="rtl"] footer .nv-group-brand img {
  object-position: right center;
}

body[dir="rtl"] footer .nv-group-logos {
  direction: rtl;
}

@media (max-width: 980px) {
  footer .nv-group-network {
    grid-template-columns: 160px minmax(0, 1fr);
    column-gap: 20px;
  }

  footer .nv-group-companies::before {
    inset-inline-start: -10px;
  }

  footer .nv-group-companies::after {
    inset-inline-start: -13px;
  }

  footer .nv-group-parent,
  footer .nv-group-companies {
    grid-template-rows: auto auto;
  }

  footer .nv-group-brand {
    height: 72px;
  }

  footer .nv-group-brand img {
    width: 155px;
    max-height: 64px;
  }

  footer .nv-group-logos {
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    gap: 12px;
  }

  footer .nv-company-logo,
  footer .nv-company-logo:nth-child(5) {
    width: 100%;
    height: 66px;
  }
}

@media (max-width: 680px) {
  footer .nv-group-network {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 22px;
    margin-bottom: 30px;
  }

  footer .nv-group-parent,
  footer .nv-group-companies {
    width: 100%;
  }

  footer .nv-group-companies::before {
    inset-inline: 0;
    top: -12px;
    bottom: auto;
    width: 100%;
    height: 2px;
    background: linear-gradient(
      to right,
      transparent 0%,
      rgba(67, 186, 91, 0.35) 18%,
      #63dd7d 50%,
      rgba(67, 186, 91, 0.35) 82%,
      transparent 100%
    );
  }

  footer .nv-group-companies::after {
    inset-inline-start: 50%;
    top: -15px;
    transform: translateX(-50%) rotate(45deg);
  }

  footer .nv-group-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
  }

  footer .nv-company-logo,
  footer .nv-company-logo:nth-child(5) {
    height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  footer .nv-company-logo img {
    transition: none;
  }
}












/* Equal visible spacing between footer logos */
@media (min-width: 981px) {
  footer .nv-group-logos {
    gap: 16px;
  }

footer .nv-group-logos > .nv-company-logo {
  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;
}

 footer .nv-group-logos > .nv-company-logo img {
  width: auto !important;
  height: auto !important;
  max-width: none;
  max-height: none;
}

  footer .nv-company-logo img[src*="/atwr.webp"] {
    width: 78px !important;
  }

  footer .nv-company-logo img[src*="/nvti.webp"] {
    width: 115px !important;
  }

  footer .nv-company-logo img[src*="/sai.webp"] {
    width: 111px !important;
  }

  footer .nv-company-logo img[src*="/stc.webp"] {
    width: 120px !important;
  }

  footer .nv-company-logo img[src*="/zenithgate.webp"] {
    width: 93px !important;
  }

  footer .nv-company-logo img[src*="/zds.webp"] {
    width: 120px !important;
  }
}


























