:root {
  --brand-navy: #0d2744;        /* اللون الأساسي */
  --brand-burgundy: #8e1d25;    /* اللون الثانوي */
  --brand-gold: #c2a34a;        /* الذهبي */
  --brand-light: #f6f8fb;       /* لون خلفية فاتح */
  --text: #0f172a;              /* لون النص */
}

* {
  font-family: "Tajawal", system-ui, sans-serif;
}

body {
  color: var(--text);
  background: #fff;
  padding-top: 80px; /* مساحة للـnavbar الثابت */
}

/* ====== Navbar ====== */
.app-navbar {
  background: var(--brand-navy);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.app-navbar .nav-link,
.app-navbar .navbar-brand {
  color: #fff !important;
  font-weight: 700;
}

.app-navbar .nav-link {
  padding: .7rem 1rem;
  opacity: .95;
}

.app-navbar .nav-link:hover {
  opacity: 1;
}

.app-navbar .nav-link.active {
  border: 2px solid #fff;
  border-radius: 10px;
  padding: .45rem 1rem;
  opacity: 1;
}

/* الشريحة المائلة مع الشعار */
.nav-brand-panel {
  position: absolute;
  right: 0 !important;
  left: auto !important;
  top: 0;
  height: 100%;
  width: min(26vw, 320px);
  background: var(--brand-navy);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline-start: 1rem;
}

.nav-brand-panel img {
  height: 48px;
  object-fit: contain;
}

/* زر استشارة */
.btn-cta {
  background: var(--brand-burgundy);
  color: #fff;
  border: none;
  font-weight: 700;
}

.btn-cta:hover {
  opacity: .9;
}

/* ====== Hero ====== */
.hero {
  background: #143e72;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.hero .badge {
  background: #f4f7ff;
  color: #0a1d37;
  font-weight: 700;
  border-radius: 999px;
}

.hero-visual {
  border: 10px solid #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.hero h1 {
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(28px, 3.6vw, 56px);
}

.hero p.lead {
  font-size: clamp(16px, 1.2vw, 20px);
  opacity: .95;
}

/* زر شفاف */
.btn-ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .75);
  color: #fff;
  font-weight: 700;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--brand-navy);
}

/* عمود النقاط الذهبية يسار */
.hero-dots {
  position: absolute;
  top: 24%;
  left: 20px !important;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-dots span {
  width: 9px;
  height: 9px;
  background: var(--brand-gold);
  border-radius: 50%;
  opacity: .9;
}

/* ====== عناصر عامة ====== */
.section-title {
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 64px;
  height: 4px;
  background: var(--brand-burgundy);
  border-radius: 2px;
}

.service-card {
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 16px;
  padding: 24px;
  transition: .25s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.icon-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand-navy);
  font-size: 22px;
}

.project-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
}

.project-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  background: var(--brand-light);
  color: #334;
  padding: .25rem .6rem;
  border-radius: 999px;
}

.app-footer {
  background: var(--brand-navy);
  color: #cfd8e3;
}

.app-footer a {
  color: #fff;
  opacity: .9;
}

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  left: 22px;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
  z-index: 999;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
  .nav-brand-panel {
    width: 50vw;
  }
  .hero-dots {
    display: none;
  }
}
/* About (معلومات عنا) */
.about-centered {
  background: #fff;
}

.about-centered .brand-logo {
  width: clamp(90px, 12vw, 120px);
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .06));
}

.about-centered .about-title {
  color: var(--brand-burgundy);
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 40px);
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
  font-family: "Tajawal", sans-serif;
}

.about-centered .about-text {
  color: #374151; /* أغمق قليلاً لزيادة الوضوح */
  line-height: 2; /* زيادة التباعد بين الأسطر */
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 500; /* سمك متوسط لزيادة الوضوح */
  letter-spacing: 0.2px; /* زيادة طفيفة في التباعد بين الحروف */
  max-width: 900px;
  margin: 0 auto;
  font-family: "Tajawal", sans-serif;
}
.about-page {
  background: #fff;
  font-family: 'Tajawal', sans-serif;
}

.about-page .brand-logo {
  width: clamp(90px, 12vw, 130px);
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.08));
}

.about-page .about-title {
  color: var(--brand-burgundy);
  font-weight: 800; /* Bold قوي */
  font-size: 32px; /* نفس حجم العنوان في الصورة */
}

.about-page .about-subtitle {
  color: var(--brand-navy);
  font-weight: 700; /* Bold */
  font-size: 26px; /* نفس حجم العنوان الفرعي */
}

.about-page .about-text {
  color: #374151; /* نفس درجة الرمادي تقريباً */
  line-height: 2;
  font-weight: 500; /* Medium */
  font-size: 18px; /* نفس حجم النص */
  margin-bottom: 1.2rem;
}
.about-page .brand-logo {
  width: clamp(320px, 18vw, 180px); /* تم التكبير */
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.08));
}
/* ===== ما نقدمه / من أعمالنا ===== */
.works-section .section-heading{
  color: var(--brand-navy);
  font-weight: 800;
  font-size: clamp(22px,3vw,42px);
  margin-inline-start: .5rem;
}

.work-card{
  position: relative;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}

.work-bg{
  background: #e9e9ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Crect width='12' height='12' fill='%23efefef'/%3E%3C/svg%3E") center/cover no-repeat;
  aspect-ratio: 16/11;
  position: relative;
}

/* شعار صغير بالزاوية */
.work-card .corner-logo{
  position: absolute;
  top: 16px; left: 16px;
  width: 34px; height: auto;
  opacity: .9;
}

/* الشريط الخمري العلوي */
.top-band{
  position: absolute; top: 24px; right: 22%;
  background: var(--brand-burgundy);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 6px;
  display: inline-flex; align-items: center; gap: 16px;
}
.top-band.right{ right: 6%; }
.band-title{ font-weight: 800; letter-spacing:.5px }
.dashes{ width:80px; height:2px; background:rgba(255,255,255,.7); position:relative }
.dashes::before,.dashes::after{
  content:""; position:absolute; inset-block-start:-6px; inset-inline-start:18px;
  width:36px; height:2px; background:rgba(255,255,255,.5)
}
.dashes::after{ inset-block-start:6px; width:24px }

/* الشريط الجانبي العمودي (للبطاقة الوسطى) */
.side-band{
  position:absolute; inset-block-start:0; inset-inline-end:0;
  width: 86px; height:100%;
  background: var(--brand-burgundy);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: 24px;
}
.side-title{
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color:#fff; font-weight:800; letter-spacing:.5px;
}
.side-dashes{
  width:2px; height:80px; background:rgba(255,255,255,.7); position:relative
}
.side-dashes::before,.side-dashes::after{
  content:""; position:absolute; width:2px; height:36px; background:rgba(255,255,255,.5);
  inset-inline-start:6px;
}
.side-dashes::after{ inset-inline-start:-6px }

/* إطار الصورة الأبيض */
.work-frame{
  position:absolute; inset: 70px 24px 24px 24px;  /* top/right/bottom/left */
  background:#fff; border-radius:10px; padding:10px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.work-frame img{
  width:100%; height:100%; object-fit:cover; border-radius:6px;
}

/* Responsive */
@media (max-width: 992px){
  .work-frame{ inset: 64px 18px 18px 18px }
  .top-band{ right: 18% }
  .corner-logo{ width: 30px }
}
@media (max-width: 576px){
  .top-band{ right: 12%; padding:.5rem .8rem }
  .dashes{ width:60px }
  .side-band{ width:64px }
}
/* خلفية الـ Lightbox */
.lightbox {
  display: none; /* مخفي افتراضيًا */
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  inset: 0;
  background-color: rgba(0,0,0,0.9);
}

/* زر الإغلاق */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.lightbox .close:hover {
  color: var(--brand-gold);
}

/* صورة العرض */
.lightbox-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80vh;
  border-radius: 8px;
}

/* التعليق */
.caption {
  margin: auto;
  display: block;
  width: 80%;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  font-size: 18px;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-content {
  padding: 1rem;
  text-align: center;
  flex-grow: 1;
}
.service-content h3 {
  color: #0d2744;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.service-content p {
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.read-more {
  color: var(--brand-burgundy);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}
.read-more:hover {
  color: var(--brand-gold);
}
