/* =========================
   Global Font - Cairo
========================= */

html,
body,
button,
input,
textarea,
select {
  font-family: "Cairo", sans-serif;
}
:root{
  --navy:#2520a5;
  --navy-2:#3024b7;
  --purple:#5a35c9;
  --lavender:#eeecff;
  --yellow:#ffe6a2;
  --cream:#fffaf0;
  --ink:#17145b;
  --muted:#625e83;
  --green:#13b96d;
  --shadow:0 18px 45px rgba(43,30,135,.13);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: "Cairo", sans-serif;
  background:linear-gradient(180deg,#fffdf7 0%,#f7f4ff 100%);
  color:var(--ink);
  line-height:1.65;
}

/* شعار وطن في الهيدر */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  direction: rtl;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-mark {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  color: inherit;
}



.video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 20px 0;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}



/* شعار وطن في الفوتر */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-brand img {
  width: 120px;
  height: auto;
  max-height: 70px;
  object-fit: contain;

  /* إذا كان الشعار داكنًا */
  background: #fff;
  padding: 8px;
  border-radius: 12px;
}

.footer-title {
  display: flex;
  flex-direction: column;
}

.footer-title strong {
  font-size: 26px;
  line-height: 1.4;
}

.footer-title span {
  font-size: 14px;
  opacity: .8;
}

a{text-decoration:none;color:inherit}
button{font:inherit}
.container{width:min(1160px,calc(100% - 32px));margin-inline:auto}
.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(37,32,165,.08);
}
.nav{height:78px;display:flex;align-items:center;gap:32px}
.brand{display:flex;align-items:center;gap:8px;font-weight:900;color:var(--navy);line-height:.9}
.brand-mark{font-size:25px}
.brand-sub{font-size:18px;letter-spacing:1px}
.nav-links{display:flex;gap:28px;margin-inline:auto;font-weight:700;color:#38337b}
.nav-links a:hover{color:var(--purple)}
.nav-cta{
  background:var(--navy);color:#fff;padding:10px 18px;border-radius:999px;
  font-weight:800;box-shadow:0 8px 22px rgba(37,32,165,.2)
}
.hero{
  min-height:680px;
  position:relative;
  overflow:hidden;
  background-image:url("assets/wtn-design.jpg");
  background-size:cover;
  background-position:center top;
  isolation:isolate;
}
.hero-overlay{
  position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,rgba(255,255,255,.05),rgba(255,255,255,.05) 45%,rgba(255,255,255,.18));
}
.hero-content{min-height:680px;display:flex;align-items:flex-end;padding:60px 0}
.hero-copy{width:min(650px,100%);margin-right:auto;margin-left:0;display:none}
.eyebrow{display:inline-block;background:rgba(255,255,255,.82);border-radius:999px;padding:7px 14px;font-size:13px;font-weight:800;color:var(--navy)}
.hero h1{font-size:clamp(30px,4vw,54px);line-height:1.25;margin:18px 0 12px}
.hero p{font-size:20px;font-weight:700}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:14px;font-weight:800;border:1px solid transparent;cursor:pointer}
.btn-primary{background:var(--navy);color:#fff}
.btn-light{background:#fff;color:var(--navy);border-color:#e7e4ff}
.section{padding:90px 0}
.resources{position:relative}
.section-heading{text-align:center;max-width:760px;margin:0 auto 42px}
.section-kicker{color:var(--purple);font-weight:900;letter-spacing:.08em}
.section-heading h2,.contact h2{font-size:clamp(30px,4vw,44px);margin:8px 0 10px;line-height:1.25}
.section-heading p,.contact p{color:var(--muted);font-size:17px}
.resource-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px
}
.resource-card{
  min-height:126px;border:0;border-radius:22px;padding:20px 24px;
  display:grid;grid-template-columns:78px 1fr 30px;align-items:center;gap:16px;
  text-align:right;box-shadow:var(--shadow);transition:.25s ease;
  cursor:pointer;
}
.resource-card:hover{transform:translateY(-4px);box-shadow:0 24px 55px rgba(43,30,135,.18)}
.lavender{background:linear-gradient(135deg,#f0efff,#e8e5ff)}
.yellow{background:linear-gradient(135deg,#fff0bd,#ffe3a0)}
.resource-text{display:flex;flex-direction:column}
.resource-text strong{font-size:21px;line-height:1.25;color:var(--navy)}
.resource-text small{font-size:16px;color:#39328c;margin-top:4px}
.arrow{font-size:44px;line-height:1;color:var(--navy);transform:translateY(-2px)}
.icon{
  width:68px;height:68px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(145deg,#3424ae,#5b31cb);color:#fff;font-size:31px;font-weight:900;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.15)
}
.icon.whatsapp{background:var(--green)}
.icon.maps{background:linear-gradient(145deg,#ea4335,#4285f4)}
.icon.instagram{background:linear-gradient(145deg,#feda75,#d62976,#4f5bd5)}
.values{padding-top:10px}
.value-grid{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:28px;box-shadow:var(--shadow);overflow:hidden}
.value-card{text-align:center;padding:34px 18px;position:relative}
.value-card:not(:last-child):after{content:"";position:absolute;top:25%;bottom:25%;right:0;width:1px;background:#ddd9f8}
.value-icon{width:56px;height:56px;margin:auto;display:grid;place-items:center;border:3px solid var(--navy);border-radius:50%;font-size:28px}
.value-card h3{font-size:19px;margin:12px 0 2px;color:var(--navy)}
.value-card p{margin:0;color:var(--muted);font-size:14px}
.contact{padding-top:50px}
.contact-box{
  display:flex;align-items:center;justify-content:space-between;gap:30px;
  padding:42px;border-radius:30px;background:linear-gradient(135deg,#eeecff,#fff3c9);
  box-shadow:var(--shadow)
}
.contact-box h2{margin-bottom:4px}
.contact-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-start}
.contact-btn{padding:13px 18px;border-radius:14px;font-weight:900;background:#fff;box-shadow:0 8px 20px rgba(43,30,135,.1)}
.whatsapp-btn{background:#12b96a;color:#fff}
.phone-btn{background:var(--navy);color:#fff}
.email-btn{color:var(--navy)}
.footer{margin-top:50px;background:linear-gradient(135deg,#2920a6,#4a2bc1);color:#fff;padding:32px 0}
.footer-inner{display:flex;justify-content:space-between;gap:30px;align-items:center}
.footer strong{display:block;font-size:27px}
.footer span{opacity:.8}
.footer-contact{display:flex;gap:18px;flex-wrap:wrap;font-weight:700}
.modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:20px}
.modal.open{display:flex}
.modal-backdrop{position:absolute;inset:0;background:rgba(20,17,65,.65);backdrop-filter:blur(7px)}
.modal-dialog{position:relative;width:min(520px,100%);background:#fff;border-radius:28px;padding:42px;text-align:center;box-shadow:0 30px 90px rgba(0,0,0,.25);animation:pop .2s ease}
.modal-close{position:absolute;top:14px;left:16px;border:0;background:#f0efff;color:var(--navy);width:38px;height:38px;border-radius:50%;font-size:25px;cursor:pointer}
.modal-icon{width:72px;height:72px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;margin:0 auto 18px;font-size:28px}
.modal-dialog h3{font-size:27px;margin:0 0 8px}
.modal-dialog p{color:var(--muted)}
.modal-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#181550;color:#fff;padding:12px 18px;border-radius:12px;z-index:200;transition:.25s}
.toast.show{opacity:1;transform:translate(-50%,0)}
@keyframes pop{from{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}
@media(max-width:800px){
  .nav{height:68px}.nav-links{display:none}.nav-cta{margin-right:auto}
  .hero{min-height:560px;background-position:center top}
  .hero-content{min-height:560px;padding:28px 0}
  .resource-grid{grid-template-columns:1fr}
  .value-grid{grid-template-columns:repeat(2,1fr)}
  .value-card:nth-child(2):after{display:none}
  .value-card:nth-child(1),.value-card:nth-child(2){border-bottom:1px solid #ddd9f8}
  .contact-box,.footer-inner{flex-direction:column;align-items:flex-start}
}
@media(max-width:520px){
  .container{width:min(100% - 20px,1160px)}
  .hero{min-height:500px;background-size:auto 520px;background-repeat:no-repeat;background-color:#fff}
  .resource-card{grid-template-columns:60px 1fr 22px;padding:15px;min-height:112px;border-radius:18px}
  .icon{width:54px;height:54px;font-size:25px}
  .resource-text strong{font-size:17px}.resource-text small{font-size:13px}
  .arrow{font-size:34px}
  .section{padding:60px 0}
  .value-grid{grid-template-columns:1fr}
  .value-card:not(:last-child):after{display:none}
  .value-card{border-bottom:1px solid #ddd9f8}
  .contact-box{padding:28px 22px}
  .footer strong{font-size:22px}
}

/* Refined icon system */
.icon svg,.modal-icon svg{
  width:34px;
  height:34px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.icon.play svg{fill:currentColor;stroke:none;width:31px;height:31px}
.icon.social svg{width:31px;height:31px}
.icon.instagram svg{width:34px;height:34px}
.icon.maps svg{width:34px;height:34px}
.icon.whatsapp svg{width:36px;height:36px}
.icon.phone svg{width:34px;height:34px}
.icon.document svg{width:35px;height:35px}
.icon.tag svg{width:35px;height:35px}
.icon.globe svg{width:36px;height:36px}
.modal-icon svg{width:32px;height:32px}
.modal-icon svg:first-child{fill:none}
