/* ==========================================================
   Altayseer (Site) — PHP + HTML + CSS Only (No JS)
   Reference: 1440px
   Font: Droid Arabic Kufi
   ========================================================== */

/* ---------- Font (ضع ملفات الخط داخل assets/fonts/ إن توفر) ---------- */

@font-face{
  font-family: "Droid Arabic Kufi";
  src: url("./DroidArabicKufi-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Droid Arabic Kufi";
  src: url("./DroidArabicKufi-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root{
  --bg:#141414;
  --bg2:#1a1a1a;
  --panel:#1b1b1b;
  --panel2:#202020;
  --text:#f1f1f1;
  --muted:#bdbdbd;

  --gold:#ebb13a;
  --gold2:#f6dfaf;
  --line:rgba(255,255,255,.10);
  --shadow: 0 18px 40px rgba(0,0,0,.55);
  --radius: 18px;

  --navH: 72px;
  --container: 1240px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Droid Arabic Kufi", Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 70% 10%, rgba(235,177,58,.12), transparent 60%),
    radial-gradient(900px 500px at 20% 35%, rgba(235,177,58,.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 35%, var(--bg) 100%);
  color:var(--text);
  overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family: inherit; }

.container{
  width:min(var(--container), calc(100% - 48px));
  margin-inline:auto;
}

/* ===================== NAVBAR ===================== */
.site-header{
  position:sticky;
  top:0;
  z-index:60;
}
.nav{
  height: var(--navH);
  background: linear-gradient(180deg, #6b5b33 0%, #584a2a 100%);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 120px;
}
.brand-logo{
  width:80px;
  height:auto;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.35));
}

/* Desktop links */
.nav-links{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  align-items:center;
  gap:14px;
  color:#f5f5f5;
  font-size:14px;
  letter-spacing:.2px;
}
.nav-links a{
  opacity:.95;
  padding:10px 6px;
  transition: opacity .2s ease;
}
.nav-links a:hover{ opacity:1; }
.nav-links .sep{
  width:1px;
  height:18px;
  background: rgba(255,255,255,.35);
  border-radius:1px;
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
  position:relative;
}

.lang-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 14px;
  border-radius: 6px;
  background: linear-gradient(180deg, #f0c670 0%, var(--gold) 100%);
  color:#1a1a1a;
  font-size:13px;
  box-shadow: 0 10px 16px rgba(0,0,0,.25);
}

/* Burger (CSS only) */
.nav-check{ display:none; }
/* ✅ خلي خطوط البرغر فوق بعض */
.nav-burger{
  display: inline-flex;      /* عندك موجودة */
  flex-direction: column;    /* ✅ الأهم */
  gap: 6px;                  /* مسافة بين الخطوط */
  align-items: center;
  justify-content: center;
}
.nav-burger span{
  margin: 0;                 /* بدل margin:3px 0 */
  width: 18px;
  height: 2px;
  background: #f3f3f3;
  border-radius: 2px;
}

/* Drawer */
.nav-drawer{
  position:fixed;
  top:0;
  right:0;
  height:100dvh;
  width:min(360px, 88vw);
  background: linear-gradient(180deg, rgba(20,20,20,.98), rgba(20,20,20,.92));
  border-left:1px solid rgba(255,255,255,.10);
  transform: translateX(110%);
  transition: transform .22s ease;
  z-index:80;
  padding:18px 16px;
  display:flex;
  flex-direction:column;
  gap:8px;
  box-shadow: -30px 0 60px rgba(0,0,0,.45);
}
.drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:6px 2px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
  margin-bottom:8px;
}
.drawer-title{ font-weight:700; color:#fff; }
.drawer-close{
  cursor:pointer;
  width:36px; height:36px;
  display:inline-flex;
  align-items:center; justify-content:center;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
}
.nav-drawer a{
  padding:12px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  font-size:15px;
}
.nav-drawer a:hover{ background: rgba(255,255,255,.06); }
.drawer-divider{
  height:1px;
  background: rgba(255,255,255,.10);
  margin:10px 0 6px;
}
.drawer-lang{
  background: linear-gradient(180deg, #f0c670 0%, var(--gold) 100%) !important;
  color:#141414 !important;
  border-color: rgba(0,0,0,.1) !important;
  font-weight:700;
}

.nav-backdrop{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.45);
  opacity:0;
  pointer-events:none;
  transition: opacity .22s ease;
  z-index:70;
}

/* Toggle drawer */
.nav-check:checked ~ .nav-drawer{ transform: translateX(0); }
.nav-check:checked ~ .nav-backdrop{
  opacity:1;
  pointer-events:auto;
}

/* ===================== HERO (Home) ===================== */
.hero{
  position:relative;
  min-height: unset;
  height: clamp(900px, 55vh, 1200px);
  background:
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.70)),
    var(--hero-bg) center / contain no-repeat;
}


.hero-card-section{
  position:relative;
  margin-top: 150px;
  padding-bottom: 26px;
}
.hero-card{
  background: linear-gradient(180deg, rgba(25,25,25,.92), rgba(18,18,18,.86));
  border:1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
  max-width: 980px;
  margin-inline:auto;
  backdrop-filter: blur(6px);
}
.hero-title{
  margin:0 0 10px;
  font-size: 28px;
  font-weight: 800;
  text-shadow: 0 10px 22px rgba(0,0,0,.55);
}
.hero-text p{
  margin: 0 0 10px;
  line-height: 1.9;
  color:#e9e9e9;
  font-size:14px;
}

/* CSS-only "read more" */
.toggle{ display:none; }
.hero-text{
  max-height: 84px; /* preview */
  overflow:hidden;
  transition: max-height .35s ease;
}
.hero-text .more{ opacity:.98; }
.toggle:checked ~ .hero-text{
  max-height: 320px;
}
.hero-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding-top: 10px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:36px;
  padding:0 18px;
  border-radius: 8px;
  font-size:13px;
  cursor:pointer;
  user-select:none;
}
.btn-dark{
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
}
.btn-light{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,0,0,.10);
  color:#111;
}

/* ===================== NEWS ===================== */
.news-strip{ padding: 26px 0 26px; }
.news-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 10px;
}
.news-card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 16px 32px rgba(0,0,0,.35);
}
/* Thumbnail موحّد للصور والفيديو */
.news-thumb{
  display:block;
  width:100%;
  height:180px;                 /* كبّرها (عدّل حسب ذوقك) */
  border-radius:10px;
  overflow:hidden;

  background-image: var(--img);  /* لأنك تستخدم --img: url('...') */
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;

  border:1px solid rgba(255,255,255,.10);
  flex: 0 0 auto;               /* مهم إذا كان في flex */
}
.news-card{
  display:flex;
  flex-direction:column; /* يمنع انضغاط الـ thumb كـ شريط */
}
.news-title{
  margin: 10px 0 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}
.news-meta{
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.news-actions{
  display:flex;
  justify-content:center;
}
.news-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:28px;
  padding:0 14px;
  border-radius: 6px;
  background: rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:12px;
}
.news-more-row{
  display:flex;
  justify-content:flex-start;
  padding: 16px 0 10px;
}
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:30px;
  padding:0 18px;
  border-radius: 6px;
  background: rgba(255,255,255,.78);
  color:#111;
  border:1px solid rgba(0,0,0,.10);
  font-size:12px;
}

/* Featured cards (2 columns) */
.featured-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding-top: 10px;
}
.featured-card{
  background: transparent;
}
.featured-media{
  position:relative;
  height: 300px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.70)), var(--img) center/cover no-repeat;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.play{
  position:absolute;
  top: 18px;
  right: 18px;
  width:42px; height:42px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 18px rgba(0,0,0,.35);
}
.play::before{
  content:"";
  position:absolute;
  top:50%; left:50%;
  transform: translate(-40%,-50%);
  width:0; height:0;
  border-top:7px solid transparent;
  border-bottom:7px solid transparent;
  border-right:0 solid transparent;
  border-left:12px solid #111;
}
.featured-title{
  margin: 12px 0 6px;
  font-size: 14px;
  font-weight: 900;
}
.featured-desc{
  margin:0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* Empty state */
.empty-state{
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.75);
}

/* ===================== INFO SECTIONS (Layered) ===================== */






.info{
  position: relative;
  padding: 64px 0 70px;
  overflow: hidden; /* ✅ ليقص الديكور مثل الصورة الهدف */
  background:
    radial-gradient(520px 420px at 18% 40%, rgba(235,177,58,.22), rgba(0,0,0,0) 60%),
    radial-gradient(900px 520px at 50% 10%, rgba(255,255,255,.06), rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(10,10,10,.35), rgba(10,10,10,.35));
}

.info .container{ position: relative; }

.info-stage{
  position: relative; /* ✅ ضروري لأن ::before/::after absolute */
  min-height: 420px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* الشكل اليميني (outline) */
.info-stage::before{
  content:"";
  position:absolute;
  top: 0px;
  right: -70px;
  width: 520px;
  height: 400px;
  background: var(--shape) center/contain no-repeat;
  opacity: .55;
  filter: drop-shadow(0 22px 40px rgba(0,0,0,.55));
  transform: rotate(14deg);
  z-index: 0;
  pointer-events:none;
}

/* الصورة اليسارية (علامة الاستفهام) */
.info-stage::after{
  content:"";
  position:absolute;
  left: -110px;
  top: 100px;
  width: 520px;
  height: 520px;
  background: var(--fg) center/contain no-repeat;
  opacity: 1;
  filter: drop-shadow(0 26px 55px rgba(0,0,0,.70));
  z-index: 3;
  pointer-events:none;
}

.info-head{
  position:absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  margin:0;
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 14px 30px rgba(0,0,0,.75);
  white-space: nowrap;
}

.info-card{
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  margin-top: 92px;

  background: linear-gradient(180deg, rgba(20,20,20,.92), rgba(18,18,18,.86));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 26px;

  padding: 34px 34px 26px;
  box-shadow:
    0 30px 70px rgba(0,0,0,.70),
    inset 0 1px 0 rgba(255,255,255,.06);

  overflow: hidden;
  isolation: isolate;

  /* اختياري (لو مدعوم بالمتصفح) يعطي إحساس أنعم */
  backdrop-filter: blur(6px);
}

.info-card p{
  margin: 0 0 14px;
  line-height: 2.05;
  color: rgba(233,233,233,.86);
  font-size: 15px;
  text-align: center; /* ✅ مثل الصورة الهدف */
}

.info-line{
  width: 260px;         /* ✅ أطول */
  height: 1px;          /* ✅ أرفع */
  border-radius: 10px;
  background: rgba(255,255,255,.28);
  margin: 18px auto 18px; /* ✅ وسط */
}

.info-card p,
.info-card .info-line{
  position: relative;
  z-index: 1;
}



















/* ===================== VALUES ===================== */
.values{
  padding: 46px 0 56px;
  position:relative;
}
.values-head{
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 900;
  text-shadow: 0 12px 26px rgba(0,0,0,.65);
}
.values-card{
  position:relative;
  background: rgba(18,18,18,.85);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 26px 22px 90px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.values-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-title{
  font-weight: 900;
  margin-bottom: 8px;
}
.value-sub{
  color: var(--muted);
  line-height:1.8;
}
.values-fg img{
  height: 170px;
  margin-top: -75px;
  margin-right: 40%;
  filter: blur(.2px);
  border-radius: 25px;
  opacity: 75%;
}

/* ===================== PROJECTS ===================== */
.projects{
  padding: 56px 0;
}
.projects-banner{
  height: 500px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.75)), var(--img) center/cover no-repeat;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex;
  align-items:flex-end;
}
.projects-banner-inner{
  padding: 18px 22px;
}
.projects-banner h2{
  margin:0 0 6px;
  font-size: 26px;
  font-weight: 900;
}
.projects-banner p{
  margin:0;
  color: var(--gold2);
  font-size: 13px;
}
.project-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 18px;
}
.project-card{
  display:block;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: rgba(18,18,18,.78);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 16px 34px rgba(0,0,0,.42);
  transition: transform .2s ease, background .2s ease;
}
.project-card:hover{
  transform: translateY(-2px);
  background: rgba(18,18,18,.88);
}
.p-icon{
  width: 28px; height: 28px;
  border-radius: 9px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  margin-bottom: 10px;
}
.p-title{ font-weight: 900; margin-bottom: 4px; }
.p-date{ color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.p-desc{ color:#e7e7e7; font-size: 12px; line-height: 1.8; }

/* ===================== SECTORS ===================== */
.sectors{
  position:relative;
  padding: 56px 0 70px;
  overflow:hidden;
}
.sectors::before{
  content:"";
  position:absolute;
  inset:0;
  background: var(--bgimg) center/cover no-repeat;
  opacity:.20;
  pointer-events:none;
}
.sectors::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(700px 320px at 40% 40%, rgba(235,177,58,.10), transparent 65%);
  pointer-events:none;
}
.sectors > .container{ position:relative; z-index:2; }

.sectors-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom: 18px;
}
.sectors-head h2{
  margin:0;
  font-size: 28px;
  font-weight: 900;
}
.tag{
  background: linear-gradient(180deg, #f0c670 0%, var(--gold) 100%);
  color:#161616;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 12px;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  justify-content:center;
  margin: 12px 0 22px;
}
.chip{
  background: rgba(255,255,255,.80);
  border:1px solid rgba(0,0,0,.12);
  color:#111;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 12px;
  cursor:pointer;
}
.chip.is-active{
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 24px rgba(0,0,0,.18);
}

.company-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  justify-items: center;
}
.company-card{
  width: 300px;
  height: 300px;
  display:block;
  text-align:center;
  padding-bottom: 150px;
}
.company-img{
  width: 300px;
  height: 300px;
  border-radius: 18px;
  background: var(--img) center/cover no-repeat;
  border:1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 36px rgba(0,0,0,.45);
}
.company-name{
  margin-top: 12px;
  color: var(--gold2);
  font-weight: 900;
  font-size: 14px;
}
.company-sub{
  margin-top: 4px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}
.company-card.is-center{
  grid-column: 1 / -1;
  width: min(560px, 100%);
  margin-inline:auto;
}

/* ===================== FOOTER ===================== */
.footer{
  padding: 56px 0 26px;
  background: rgba(14,14,14,.92);
  border-top:1px solid rgba(255,255,255,.08);
}
.footer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.footer-logo img{
  width:44px;
  opacity:.95;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.45));
}
.footer-social{
  display:flex;
  align-items:center;
  gap:10px;
}
.social{
  width:34px; height:34px;
  border-radius: 50%;
  display:inline-flex;
  align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.social svg{ width:18px; height:18px; fill:#fff; opacity:.92; }

.footer-line{
  height:1px;
  background: rgba(255,255,255,.10);
  margin: 18px 0 18px;
}
.footer-cols{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 8px 0 18px;
}
.col h3{
  margin:0 0 10px;
  font-size: 14px;
  font-weight: 900;
}
.col p, .col a{
  margin:0 0 8px;
  color: rgba(255,255,255,.70);
  font-size: 12px;
}
.col a:hover{ color:#fff; }

.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:12px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 14px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}
.footer-bottom .muted{ opacity:.8; }

/* ===================== PUBLIC PAGES (companies/news/projects) ===================== */
.public-hero{
  position:relative;
  min-height: 360px;
  background: linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.80)), var(--hero) center/cover no-repeat;
}
.public-hero .public-title{
  position:absolute;
  bottom: 24px;
  right: 24px;
  margin:0;
  font-size: 38px;
  font-weight: 900;
  text-shadow: 0 12px 28px rgba(0,0,0,.65);
}
.public-wrap{ padding: 26px 0 70px; }
.public-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.public-card{
  border-radius: 18px;
  overflow:hidden;
}
.public-img{
  height: 260px;
  background: var(--img) center/cover no-repeat;
  border:1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.public-body{
  margin-top: -26px;
  background: rgba(18,18,18,.78);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 18px 18px 14px;
  box-shadow: 0 16px 32px rgba(0,0,0,.35);
}
.public-body h3{
  margin:0 0 8px;
  font-size: 16px;
  font-weight: 900;
}
.public-body .date{
  color: rgba(255,255,255,.65);
  font-size: 12px;
  margin-bottom: 10px;
}
.public-body p{
  margin:0;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.95;
}

.public-wrap2{ padding: 26px 0 70px; }

/* ===== Companies ONLY ===== */
.companies-page .public-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 325px;
  justify-items: center;
}

.companies-page .public-card.company-card{
  width: min(520px, 100%);
  background: transparent;
  border: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Square image */
.companies-page .public-card.company-card .public-img{
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 18px;
  background: var(--img) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}

.companies-page .company-title{
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: var(--gold2);
  text-align: center;
}

.companies-page .company-desc{
  width: 100%;
  background: rgba(18,18,18,.55);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 16px 32px rgba(0,0,0,.30);
  backdrop-filter: blur(6px);
}

.companies-page .company-desc p{
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
}

@media (max-width: 1024px){
  .companies-page .public-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px){
  .companies-page .public-grid{ grid-template-columns: 1fr; }
}

/* ===================== ADMIN (Tabs + Forms) ===================== */
.admin-wrap{ padding: 26px 0 70px; }
.admin-title{
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 900;
}
.notice{
  margin: 12px 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.notice.ok{ border-color: rgba(76,175,80,.45); }
.notice.err{ border-color: rgba(244,67,54,.45); }

.tabs{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-bottom: 12px;
}
.tab-radio{ display:none; }
.tab-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  cursor:pointer;
  font-size: 13px;
}
#tabNews:checked ~ .tabs .lbl-news,
#tabVideo:checked ~ .tabs .lbl-video,
#tabProject:checked ~ .tabs .lbl-project{
  background: linear-gradient(180deg, #f0c670 0%, var(--gold) 100%);
  color:#141414;
  border-color: rgba(0,0,0,.10);
  font-weight: 900;
}

.tab-panels .panel{ display:none; }
#tabNews:checked ~ .tab-panels .panel-news{ display:block; }
#tabVideo:checked ~ .tab-panels .panel-video{ display:block; }
#tabProject:checked ~ .tab-panels .panel-project{ display:block; }

.form-card{
  background: rgba(18,18,18,.78);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 32px rgba(0,0,0,.35);
}
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field label{
  display:block;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  margin-bottom: 6px;
}
.field input, .field textarea{
  width:100%;
  padding: 10px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:#fff;
  outline:none;
  font-family: inherit;
  font-size: 13px;
}
.field textarea{ min-height: 120px; resize: vertical; }
.field.full{ grid-column: 1 / -1; }
.form-actions{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  justify-content:flex-start;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px){
  :root{ --container: 980px; }
  .news-grid{ grid-template-columns: repeat(2, 1fr); }
  .project-cards{ grid-template-columns: repeat(2, 1fr); }
  .public-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .nav-links, .lang-btn{ display:none; }
  .nav-burger{ display:inline-flex; } /* ✅ تثبيت ظهور البرغر */
  .hero{ min-height: 480px; }
  .featured-grid{ grid-template-columns: 1fr; }
  .news-grid{ grid-template-columns: 1fr; }
  .project-cards{ grid-template-columns: 1fr; }
  .company-grid{ grid-template-columns: 1fr; }
  .values-grid{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }

  /* ✅ إصلاح تموضع البرغر ضمن الناف (بدون انزياح للجنب) */
  .nav-inner{
    width: 100%;
    padding-inline: 6px;     /* يعطي تنفّس بسيط */
  }
  .brand{ min-width: 0; }   /* حتى ما يدفع العناصر */
  .nav-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    min-width: 42px;        /* يحجز مكان ثابت للبرغر */
  }

  /* Hide layered images on small screens */
  .info-stage::before,
  .info-stage::after{ display:none; }

  .info-head{ position:static; margin:0 0 12px; padding-right: 8px; }
  .info-card{
    margin-top: 0;
    padding: 18px 16px 16px;
    border-radius: 16px;
  }

  /* ✅ Watermark داخل الكارد (بدون خلفية لون) — فقط الصورة + شفافية */
  .info-card::before{
    content:"";
    position:absolute;
    right:-26px;
    bottom:-26px;
    width: 210px;
    height: 210px;
    background: var(--fg) center/contain no-repeat;  /* ✅ فقط الصورة */
    opacity: .50;                                   /* ✅ حوالي 50% */
    z-index: 0;
    pointer-events:none;
    transform: rotate(-10deg);
    /* تلوين ذهبي بدون خلفية: */
    filter: sepia(1) saturate(3.2) hue-rotate(8deg) brightness(1.05) contrast(1.05);
  }

  .info-card::after{
    content:"";
    position:absolute;
    left:-80px;
    top:-60px;
    width: 360px;
    height: 260px;
    background: var(--shape) center/contain no-repeat; /* ✅ فقط الصورة */
    opacity: .50;                                      /* ✅ حوالي 50% */
    z-index: 0;
    pointer-events:none;
    transform: rotate(6deg);
    filter: sepia(1) saturate(3.0) hue-rotate(10deg) brightness(1.02) contrast(1.04);
  }

  .public-hero .public-title{ font-size: 28px; right: 16px; bottom: 18px; }
}










@media (max-width: 520px){

  .container{ width: calc(100% - 28px); }
  .hero-card{ padding: 18px 16px 14px; }
  .hero-title{ font-size: 22px; }
  .sectors-head h2, .values-head, .info-head{ font-size: 22px; }
  .featured-media{ height: 240px; }

  .footer-cols{ grid-template-columns: 1fr; }
  .footer-top{ flex-direction: column-reverse; align-items:flex-start; }

  .hero-card-section{
    margin-top: 14px;
    padding-bottom: 18px;
  }

  .hero{
    background: #000 var(--hero-bg) center top / contain no-repeat;
    min-height: unset;
    --hero-ratio: 0.5625;
    height: clamp(220px, calc(100vw * var(--hero-ratio)), 420px);
  }

  /* ===================== INFO (mobile) ===================== */

  /* ✅ أوقف watermark تبع 860px على الموبايل الصغير */
  .info-card::before,
  .info-card::after{
    display: none !important;
    content: none !important;
  }

  /* ✅ بالموبايل: لا نستخدم pseudo images نهائياً */
  section.info .info-stage::before,
  section.info .info-stage::after{
    display: none !important;
    content: none !important;
  }

  section.info{
    position: relative;
    overflow: visible;

    /* --fgW: clamp(54px, 14vw, 78px); */
    --fgW: clamp(80px, 100vw, 150px);
    --fgH: var(--fgW);

    padding-block: 22px;
    margin: 0;
  }

  /* ✅ Grid (افتراضي LTR): عنوان يسار + صورة بالنص */
  section.info .info-stage{
    position: relative;
    display: grid;

    grid-template-columns: 1fr var(--fgW) 1fr;
    grid-template-areas:
      "head media ."
      "card card card";

    column-gap: 10px;
    row-gap: 12px;
    align-items: center;
  }

  section.info .info-head{
    /*grid-area: head; */
    position: static;
    margin: 0;
    justify-self: start; /* LTR: يسار */
    align-self: center;
  }

  /* ✅ الصورة كعنصر HTML */
  section.info .info-media{
    grid-area: media;
    width: var(--fgW);
    height: var(--fgH);

    background-image: var(--fg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    justify-self: center;
    align-self: center;

    filter: drop-shadow(0 12px 22px rgba(0,0,0,.45));
    pointer-events: none;
  }

  section.info .info-card{
    grid-area: card;
    margin: 0;
    width: 100%;
    padding: 16px;
  }

  section.info .info-card p{ margin: 0; }

  /* ===================== RTL (Arabic) ===================== */
  html[dir="rtl"] section.info .info-stage{
    grid-template-areas:
      ". media head"
      "card card card";
  }
  html[dir="rtl"] section.info .info-head{
    justify-self: start; /* RTL: start = يمين */
    text-align: right;
  }

  html[dir="rtl"] section.info .info-card,
  html[dir="rtl"] section.info .info-card p{
    direction: rtl;
    unicode-bidi: plaintext;
    text-align: right;
  }

  /* ===================== LTR (English) ===================== */
  html[dir="ltr"] section.info .info-card,
  html[dir="ltr"] section.info .info-card p{
    direction: ltr;
    unicode-bidi: plaintext;
    text-align: left;
  }

  /* ===================== PROJECTS banner (mobile) ===================== */
  .projects-banner{
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .projects-banner-inner{ padding: 14px 14px; }

  .projects-banner h2{
    font-size: 20px;
    margin: 0 0 6px;
    font-weight: 900;
  }

  .info-line{
    margin: 12px 0 0;
  }
}