
:root{
--navy:#1a2a4a;
--navy-deep: #0f1d35;
--navy-dark:#101d35;
--navy-light: #243558;
--gold:#b8943f;
--gold-light: #d4ae5e;
--gold-pale: #f0d89a;
--gold-bright: #c9a84c;
--pearl: #f8f6f0;
--white:#ffffff;
--text:#33415c;
--text-dark:#1a2a4a;
--text-mid: #3d5278;
--text-light: #7a8fad;
--border:#e9edf4;
--shadow:0 10px 25px rgba(0,0,0,0.08);
--shadow-gold: 0 8px 32px rgba(184,148,63,0.18);
--shadow-navy: 0 8px 32px rgba(26,42,74,0.14);
--radius:18px;
--radius-sm: 10px;
--color-gold-dark: #b8943f;
--cream: #fdfcf9;
--cream-light: #ffffff;
--cream-mid: #f6f2ea;
--cream-dark: #efe7d6;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

img, svg { max-width: 100%; height: auto; }

body{
font-family:Amiri !important;
background:#fff;
color:var(--text);
line-height:1.7;
overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

/* Navbar */
.navbar {
  position: fixed; top: 0; right: 0; left: 0; z-index: 999;
  padding: 0 clamp(1rem, 4vw, 2rem);
  height: clamp(78px, 11vw, 96px);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.35s ease;
  font-family:Amiri !important;
}
.navbar.scrolled {
  height: clamp(66px, 9.5vw, 80px);
  box-shadow: 0 4px 24px rgba(26,42,74,0.08);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none;
}
.nav-logo { width: clamp(68px, 10vw, 130px); height: clamp(68px, 10vw, 130px); object-fit: contain; }
.nav-title-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-title-text span:first-child {
  font-family: 'Amiri', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--navy);
}
.nav-title-text span:last-child {
  font-size: 0.68rem; color: var(--gold); letter-spacing: 0.02em;
}
.nav-links {
  display: flex; align-items: center; gap: 0.3rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  position: relative;
  text-decoration: none; color: var(--text-mid);
  font-size: 0.92rem; font-weight: 500;
  padding: 0.45rem 0.85rem; border-radius: 8px;
  transition: all 0.22s ease;
}
.nav-links a:hover { color: var(--navy); background: var(--pearl); }
.nav-links a.active { color: var(--navy); font-weight: 700; }
.nav-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white) !important;
  padding: 0.5rem 1.3rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(26,42,74,0.22);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,42,74,0.3) !important;
  color: #0f1d35 !important;
  background-color: var(--gold) !important;
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background-color:rgba(255, 255, 255, 0);
  border: none;
}
.nav-hamburger span {
  width: 26px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: all 0.3s ease; display: block;
}

/* القائمة في الجوال */
.mobile-menu{
    position: fixed;
    top: 60px;
    right: -100%;
    width: min(280px, 82vw);
    max-width: 100vw;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: clamp(16px, 5vw, 25px);
    gap: 15px;
    transition: right .35s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,.12);
    z-index: 998;
    overflow-y: auto;
    font-family:Amiri !important;
}

.mobile-menu.open{
    right: 0;
}

.mobile-menu a{
    text-decoration: none;
    color: var(--navy);
    font-size: 18px;
    font-weight: 700;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.mobile-menu a:hover{
    color: var(--gold);
}

@media (min-width:901px){
    .mobile-menu{
        display:none;
    }
}

/* RESPONSIVE — خاص بالنيفبار */
@media (max-width: 900px) {
  .navbar { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* Hero */

.hero{
font-family: 'Amiri',serif;
min-height:100vh;
padding-top:clamp(60px, 9vw, 72px);
display:flex;
align-items:center;
position:relative;
overflow:hidden;
}

/* فاصل ظل ناعم بين الهيرو والستاتس */
.hero::after{
  content:"";
  position:absolute;
  bottom:-15px;
  left:50%;
  transform:translateX(-50%);

  width:80%;
  height:1px;

  background:linear-gradient(
    90deg,
    transparent,
    rgba(212,174,94,.35),
    rgba(255,255,255,.5),
    rgba(212,174,94,.35),
    transparent
  );

  opacity:.8;
}

.hero-bg-shape{
position:absolute;
top:0;
left:0;
width:55%;
height:100%;
/*background:linear-gradient(150deg,var(--navy),var(--navy-dark));*/
 background-image: url("qabas.jpeg");

  background-repeat: repeat;        /* التكرار */
  background-size: auto;            /* يحافظ على الحجم الأصلي */
  background-position: top left;
clip-path:polygon(0 0,85% 0,100% 100%,0 100%);
}



.hero-content{
position:relative;
z-index:2;
max-width:1280px;
margin:auto;
padding:0 clamp(1rem, 5vw, 4rem);
display:grid;
grid-template-columns:1fr 1fr;
gap:2rem;
width:100%;
}

.hero-text{
color:var(--navy);
animation:fadeUp 1s ease;
}

/* ===== BADGE ===== */
.hero-badge{
display:inline-flex;
align-items:center;
gap:.6rem;

padding:.4rem 1rem;
border-radius:50px;

background:var(--white);
border:2px solid var(--gold);

box-shadow:var(--shadow-gold);
position:relative;
overflow:hidden;
font-family:Amiri !important;

font-weight:800;
transform: translateY(-10px);
visibility: hidden;
}

/* لمعة خفيفة */
.hero-badge::before{
content:"";
position:absolute;
top:0;
left:-120%;
width:50%;
height:100%;

background:linear-gradient(
90deg,
transparent,
rgba(255,215,130,0.35),
transparent
);

transform:skewX(-25deg);
animation:shine 3.8s infinite;
}

@keyframes shine{
0%{left:-120%;}
100%{left:140%;}
}

/* ===== ICON ===== */
.badge-flame{
width:40px;
height:40px;
object-fit:contain;

filter:
drop-shadow(0 0 6px rgba(184,148,63,.35))
drop-shadow(0 0 12px rgba(212,174,94,.25));
}

/* ===== TEXT ===== */
.badge-text{
font-size:1.05rem;
font-weight:900;

/* تدرج ذهبي للنص */
background:linear-gradient(
90deg,
var(--gold-dark, #a67c2f),
var(--gold),
var(--gold-light),
var(--gold-pale)
);

background-size:200% auto;
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;

animation:goldMove 4s linear infinite;
}

@keyframes goldMove{
0%{background-position:0% center;}
100%{background-position:200% center;}
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
.hero-badge{
padding:.75rem 1.2rem;
gap:.6rem;
}

.badge-flame{
width:28px;
height:28px;
}

.badge-text{
font-size:.95rem;
}

.hero-bg-shape{
display:none;
}
}

.hero-title{
font-family:'Amiri',serif;
font-size:clamp(2.2rem, 5.5vw, 4rem);
line-height:1.35;
margin-bottom:1rem;
font-weight:700;
color:#8d6a1f
}

.gold-word{
color:var(--gold-light);
text-shadow:0 4px 14px rgba(184,148,63,.25);
}

.hero-subtitle{
font-size:1.12rem;
max-width:500px;
margin-bottom:2rem;
line-height:2;
font-weight:500;
color:var(--navy);
}



.btn-primary,
.btn-outline{
display:inline-flex;
align-items:center;
justify-content:center;

min-width:150px;        /* نفس العرض */
height:62px;            /* نفس الطول */

padding:0 3.5rem;
border-radius:50px;

font-size:1.2rem;      /* تكبير الخط */
font-weight:700;
text-decoration:none;

transition:.3s ease;
}

.btn-primary{
background:linear-gradient(
135deg,
var(--gold),
var(--gold-light)
);
color:#ffffff;
box-shadow:0 10px 22px rgba(184,148,63,.25);
}

.btn-outline{
background:#ffffff;
color:var(--navy);
border:2px solid rgba(26,42,74,.12);
box-shadow:0 8px 20px rgba(26,42,74,.08);
}

.btn-primary:hover,
.btn-outline:hover{
transform:translateY(-4px);
}

.btn-primary:hover{
box-shadow:0 14px 28px rgba(184,148,63,.32);
}

.btn-outline:hover{
background:var(--navy);
color:#ffffff;
border-color:var(--navy);
box-shadow:0 14px 28px rgba(26,42,74,.18);
}

@keyframes pulseGlow{

0%{
box-shadow:0 8px 20px rgba(184,148,63,.20);
}

50%{
box-shadow:0 10px 28px rgba(184,148,63,.38);
}

100%{
box-shadow:0 8px 20px rgba(184,148,63,.20);
}

}

.hero-actions{
display:flex;
align-items:center;
gap:1rem;
flex-wrap:wrap;
}

@media(max-width:768px){

.hero-actions{
justify-content:center;
}

.hero-subtitle{
font-size:1rem;
}

}


/* =========================
   HERO VISUAL
========================= */

.hero-visual{
position:relative;
display:flex;
justify-content: flex-start; /* محاذاة الحاوية لليسار لتظل داخل القسم الكحلي */
align-items:center;
min-height:600px;
padding-left: 6rem;
}



.hero-dots{
position:absolute;
inset:0;
background-image:radial-gradient(rgba(255,255,255,.55) 1.2px, transparent 1.2px);
background-size:24px 24px;
opacity:.18;
}

/* =========================
   STACK
========================= */

.hero-card-stack{
position:relative;
width:570px; 
height:560px;
transform: translateX(-80px);
}

/* =========================
   BASE CARD (VERTICAL)
========================= */

.hero-card{
position:absolute;
width:220px; 
min-height:360px;
padding:2rem 1.5rem;
border-radius:26px;
display:flex;
flex-direction:column;
justify-content:flex-start;
gap:1rem;
overflow:hidden;
transition:.35s ease;
backdrop-filter:blur(10px);
box-shadow: 10px 20px 40px rgba(0,0,0,0.4); /* تم تعديل اتجاه الظل ليناسب الإزاحة الجديدة لليسار */
}

/* =========================
   CARD POSITIONS & COLORS 
========================= */

/* الكارد الثالثة (أطلق) - أعلى اليسار تماماً */
.card-back{
background: linear-gradient(180deg, var(--navy-dark), var(--navy-deep));
z-index:1;
top: 0px;        
left: 0px;       
}

/* الكارد الثانية (طوّر) - تنزاح لليمين وللأسفل قليلاً */
.card-mid{
background: linear-gradient(180deg, var(--navy), var(--navy-dark));
z-index:2;
top: 80px;       
left: 120px;      
}


.card-front{
background: linear-gradient(180deg, var(--navy-light), var(--navy));
z-index:3;
top: 160px;      
left: 240px;     
}

/* =========================
   CARD HOVER
========================= */

.hero-card:hover{
transform:translateY(-14px);
z-index:9;
}

/* =========================
   TAG COLORS & POSITION
========================= */

.card-tag{
position:absolute;
top:20px;
left:20px; 
padding:.4rem .9rem;
border-radius:30px;
font-size:.75rem;
font-weight:800;
}

.card-front { --tag-opacity: 0.12; }
.card-mid   { --tag-opacity: 0.10; }
.card-back  { --tag-opacity: 0.08; }

 .card-tag{
background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
}



/* =========================
   TEXT STYLES
========================= */

.card-title{
font-size:2.6rem;
font-weight:900;
margin-top:2.5rem;
margin-bottom:.3rem;
text-align:left; 
position:relative;
}

/* COLORS PER CARD */
.card-front .card-title{ color: var(--white); }
.card-mid .card-title{ color: var(--white); }
.card-back .card-title{ color: var(--white); }

/* =========================
   UNDERLINE GOLD LINE
========================= */

.card-title::after{
content: "";
display: block;
width: 45px; 
height: 3px;
margin-top: .6rem;
background: var(--gold);
border-radius: 10px;

/* ه السطرين مع بعض سيقومون بدفع الخط لليسار تماماً ليطابق العنوان */
margin-left: 0;
margin-right: auto; 
}

/* DESC TEXT */
.card-desc{
font-size:.95rem;
line-height:1.8;
text-align:left; 
margin-top:.3rem;
}

 .card-desc{ color:rgba(255,255,255,0.95); }

/* =========================
   ANIMATION
========================= */

@keyframes floatCard{
0%{transform:translateY(0);}
50%{transform:translateY(-8px);}
100%{transform:translateY(0);}
}

.card-back { animation: floatCard 4s ease-in-out infinite; }
.card-mid { animation: floatCard 4s ease-in-out infinite; animation-delay: .5s; }
.card-front { animation: floatCard 4s ease-in-out infinite; animation-delay: 1s; }


/* =========================
   RESPONSIVE
========================= */

@media(max-width:1024px){
.hero-content{ grid-template-columns:1fr; text-align:center; }
.hero-text{ text-align:center; }
.hero-subtitle{ margin-left:auto; margin-right:auto; }
.hero-visual{
  padding-left:0;
  justify-content:center;
  min-height:auto;
  margin-top:2rem;
}
.hero-card-stack{ transform:translateX(0); }
}

@media(max-width:900px){
.hero-visual { min-height: auto; }
.hero-card-stack{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    height: auto;
}
.hero-card{
    position: relative;
    top: auto !important;
    left: auto !important;
    width: 100%;
    max-width: 480px;
    min-height: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 1.2rem;
    row-gap: .2rem;
    align-items: center;
    padding: 1.2rem 1.5rem;
}
.hero-card .card-tag{
    position: static;
    grid-column: 1;
    grid-row: 1 / 3;
    white-space: nowrap;
}
.hero-card .card-title{
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: clamp(1.2rem, 4vw, 1.6rem);
}
.hero-card .card-title::after{
    display: none;
}
.hero-card .card-desc{
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: .85rem;
    line-height: 1.6;
}
}

@media(max-width:768px){
.hero-card-stack{
    gap: 1rem;
}
.hero-card{
    max-width: 100%;
    padding: 1rem 1.25rem;
}
}
/* =========================
   STATS SECTION
========================= */

.stats-section{
font-family:'Amiri', serif;
position:relative;
margin-top:-25px;
padding-top:90px;
padding:55px 20px;
background: linear-gradient(
  180deg,
  #f7f2e8 0%,
  #f6f1e6 100%
);
border-radius:0px;   
overflow:hidden;

}

.stats-section::before{
  content:"";
  position:absolute;
  top:0;
  left:0;

  width:100%;
  height:2px;

  background:rgba(212,174,94,.75); /* ذهبي ثابت */

  box-shadow:
    0 0 8px rgba(212,174,94,.25);

  pointer-events:none;
}

.stats-section::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:2px;

  background:rgba(212,174,94,.6);
  box-shadow:0 0 8px rgba(212,174,94,.2);

  pointer-events:none;
}


/* =========================
   Badge إنجازاتنا
========================= */
.stats-section .section-eyebrow{
display:inline-block;

padding:1rem clamp(1.4rem, 6vw, 3.2rem);
min-width:170px; 
border-radius:40px;

font-size:1.5rem;
font-weight:900;
letter-spacing:.4px;

color:#8d6a1f;

background:linear-gradient(
135deg,
rgba(184,148,63,.18),
rgba(255,255,255,.95)
);

border:1px solid rgba(184,148,63,.18);

box-shadow:
0 10px 24px rgba(184,148,63,.18),
0 4px 12px rgba(15,29,53,.06);

margin-bottom:1rem;

transition:.35s ease;
animation:badgeGlow 2.5s ease-in-out infinite;
}

.stats-section .section-eyebrow:hover{
transform:translateY(-3px) scale(1.03);

box-shadow:
0 16px 30px rgba(184,148,63,.24),
0 8px 16px rgba(15,29,53,.08);
}

/* header */

.stats-head{
position:relative;
z-index:2;
text-align:center;
margin-bottom:2.2rem;
}


.stats-section .section-title{ 
   color:var(--navy); 
   font-size:clamp(1.9rem, 5.5vw, 4rem); 
   font-weight:900;
   margin-bottom:1rem; 
   line-height:1.35;}



.stats-section .section-desc{
max-width:700px;
margin:auto;
line-height:2;
color:#667085;
font-size:1.2rem;
}

/* grid */

.stats-grid{
position:relative;
z-index:2;

max-width:1280px;
margin:auto;

display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:1.5rem;
}

/* card */

.stat-item{
background:rgba(255,255,255,.72);
backdrop-filter:blur(12px);

border:1px solid rgba(255,255,255,.7);
border-radius:26px;

padding:2rem 1.4rem;
text-align:center;

box-shadow:0 22px 45px rgba(15,29,53,.14),
0 8px 22px rgba(184,148,63,.10);

transition:.35s ease;

animation:floatStat 4s ease-in-out infinite;
}

.stat-item:nth-child(2){animation-delay:.4s;}
.stat-item:nth-child(3){animation-delay:.8s;}
.stat-item:nth-child(4){animation-delay:1.2s;}

.stat-item:hover{
transform:translateY(-10px);
box-shadow:0 24px 55px rgba(15,29,53,.14);
}

/* numbers */

.stat-num{
display:block;
font-size:clamp(2rem, 6vw, 3rem);
font-weight:900;
line-height:1;
margin-bottom:.9rem;

}


/* label */

.stat-label{
font-size:1.21rem;
font-weight:800;
color:var(--navy);
}

/* animations */

@keyframes floatStat{
0%{transform:translateY(0);}
50%{transform:translateY(-7px);}
100%{transform:translateY(0);}
}

@keyframes numberPulse{
0%{
transform:scale(1);
filter:drop-shadow(0 0 0 rgba(184,148,63,.2));
}

50%{
transform:scale(1.08);
filter:drop-shadow(0 0 12px rgba(184,148,63,.45));
}

100%{
transform:scale(1);
filter:drop-shadow(0 0 0 rgba(184,148,63,.2));
}
}

/* responsive */

@media(max-width:768px){

.stats-section{
margin-top:70px;
padding:75px 16px;
}

.stats-section .section-title{
font-size:2rem;
}

.stat-num{
font-size:2.4rem;
}

}
/* =========================
   PROGRAMS PREVIEW (ORIGINAL STYLE FIXED)
========================= */
.programs-preview,
.featured-projects{
  font-family:'Amiri', serif;
  padding:80px 20px;
  overflow:hidden;
}
.programs-preview + .featured-projects{
  margin-top:70px;
}

.programs-preview{
background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
position:relative;

}

/* خط فاصل ناعم بظل */
.programs-preview::after{
content:"";
position:absolute;
bottom:-35px;
left:50%;
transform:translateX(-50%);

width:85%;
height:70px;

background:linear-gradient(
to bottom,
rgba(15,29,53,.10),
rgba(184,148,63,.08),
transparent
);

filter:blur(14px);
opacity:.9;
pointer-events:none;
}

/* Header */
.programs-preview .section-header{
text-align:center;
display:flex;
flex-direction:column;
align-items:center;
gap:1rem;
margin-bottom:3rem;
}

/* badge */
/* Programs Badge */

.programs-preview .section-eyebrow{
display:inline-block;

padding:1rem clamp(1.4rem, 6vw, 3.2rem);
min-width:170px;

border-radius:40px;

font-size:1.5rem;
font-weight:900;
letter-spacing:.4px;

color:#8d6a1f;

background:linear-gradient(
135deg,
rgba(184,148,63,.18),
rgba(255,255,255,.95)
);

border:1px solid rgba(184,148,63,.18);

box-shadow:
0 10px 24px rgba(184,148,63,.18),
0 4px 12px rgba(15,29,53,.06);

margin-bottom:1rem;

transition:.35s ease;
animation:badgeGlow 2.5s ease-in-out infinite;
}

.programs-preview .section-eyebrow:hover{
transform:translateY(-3px) scale(1.03);

box-shadow:
0 16px 30px rgba(184,148,63,.24),
0 8px 16px rgba(15,29,53,.08);
}

/* title */
.programs-preview .section-title{
font-size:clamp(1.9rem, 4.5vw, 3rem);
font-weight:900;
color:var(--navy);
margin-bottom:1rem;
}

/* subtitle */
.programs-preview .section-desc{
max-width:700px;
margin:0 auto;
font-size:1.15rem;
line-height:2.2;
color:#5f6c80;
}

/* GRID */
.programs-grid-preview{
max-width:1280px;
margin:4rem auto 0;

display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:2rem;
padding:0 20px;
}

/* CARD */
.program-card-preview{
background:#fff;
border-radius:28px;
overflow:hidden;

box-shadow:0 20px 45px rgba(15,29,53,.08);

transition:.4s ease;
}

.program-card-preview:hover{
transform:translateY(-12px);
box-shadow:0 28px 55px rgba(15,29,53,.14);
}

/* IMAGE WRAP */
.program-image-wrap{
position:relative;
height:240px;
overflow:hidden;
}

/* images */
.program-image-wrap img{
position:absolute;
inset:0;

width:100%;
height:100%;
object-fit:cover;

transition:.55s ease;
}

/* hover images */
.program-card-preview .img-hover{
opacity:0;
transform:scale(1.08);
}

.program-card-preview:hover .img-main{
opacity:0;
transform:scale(1.08);
}

.program-card-preview:hover .img-hover{
opacity:1;
transform:scale(1);
}

/* overlay */
.program-image-wrap::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(
180deg,
rgba(0,0,0,0) 0%,
rgba(0,0,0,.18) 100%
);
}

/* content */
.program-card-preview h3{
font-size:1.35rem;
font-weight:900;
color:var(--navy);
margin:1rem 1.6rem .7rem;
}

.program-card-preview p{
font-size:.96rem;
line-height:1.9;
color:#667085;
margin:0 1.6rem 1.3rem;
}

/* link */
.program-link{
display:inline-block;
margin:0 1.6rem 1.6rem;

padding:.85rem 1.3rem;
border-radius:40px;

text-decoration:none;
font-weight:800;

background:linear-gradient(135deg,var(--gold),var(--gold-light));
color:#fff;

box-shadow:0 10px 22px rgba(184,148,63,.22);

transition:.3s;
}

.program-link:hover{
transform:translateY(-3px);
box-shadow:0 14px 28px rgba(184,148,63,.30);
}

/* responsive */
@media(max-width:768px){
.programs-preview .section-title{
font-size:2rem;
}
.programs-preview .section-desc{
font-size:.95rem;
}
.program-image-wrap{
height:210px;
}
}

/* ================= FEATURED PROJECTS ================= */

.featured-projects{

background:linear-gradient(
180deg,
#ffffff 0%,
#f8fafc 100%
);

}

/* header */

.featured-projects .section-header{
text-align:center;
margin-bottom:3.5rem;
}

/* Featured Projects Badge */

.featured-projects .section-eyebrow{
display:inline-block;

padding:1rem clamp(1.4rem, 6vw, 3.2rem);
min-width:170px;

border-radius:40px;

font-size:1.5rem;
font-weight:900;
letter-spacing:.4px;

color:#8d6a1f;

background:linear-gradient(
135deg,
rgba(184,148,63,.18),
rgba(255,255,255,.95)
);

border:1px solid rgba(184,148,63,.18);

box-shadow:
0 10px 24px rgba(184,148,63,.18),
0 4px 12px rgba(15,29,53,.06);

margin-bottom:1rem;

transition:.35s ease;
animation:badgeGlow 2.5s ease-in-out infinite;
}

.featured-projects .section-eyebrow:hover{
transform:translateY(-3px) scale(1.03);

box-shadow:
0 16px 30px rgba(184,148,63,.24),
0 8px 16px rgba(15,29,53,.08);
}

.featured-projects .section-title{
font-size:clamp(1.9rem, 4.5vw, 3rem);
font-weight:900;
color:var(--navy);
margin-bottom:1rem;
}

.featured-projects .section-desc{
max-width:700px;
margin:auto;
font-size:1.08rem;
line-height:2;
color:#667085;
}

/* grid */

.featured-projects-grid{
max-width:1280px;
margin:4rem auto 0;
padding:0 20px;

display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:2rem;
}

/* card */

.featured-project-card{
background:linear-gradient(
180deg,
#ffffff 0%,
#fbf8f1 55%,
#f6f0e3 100%
);
border-radius:24px;

overflow:hidden;

box-shadow:0 18px 45px rgba(15,29,53,.08);

transition:.35s ease;
}

.featured-project-card:hover{
transform:translateY(-10px);
box-shadow:0 28px 55px rgba(15,29,53,.14);
}

/* image */

.featured-project-image{
position:relative;
height:220px;
overflow:hidden;
}

.featured-project-image img{
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
transition:.6s ease;
}

.featured-project-image .img-hover{
opacity:0;
transform:scale(1.08);
}

.featured-project-card:hover .img-main{
opacity:0;
transform:scale(1.08);
}

.featured-project-card:hover .img-hover{
opacity:1;
transform:scale(1);
}

/* overlay */

.featured-project-image::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(
180deg,
rgba(0,0,0,0) 0%,
rgba(0,0,0,.18) 100%
);
}

/* content */

.featured-project-content{
padding:1.5rem;
text-align:right;
}


.featured-project-content h3{
font-size:1.4rem;
font-weight:900;
color:var(--navy);

margin-bottom:.6rem;
line-height:1.25;
letter-spacing:.4px;


text-shadow:
0 2px 0 rgba(255,255,255,.9),
0 6px 14px rgba(15,29,53,.18);
}

.featured-project-content p{
font-size:.92rem;
line-height:1.8;
color:#667085;

margin-bottom:1.2rem;
}

/* footer */
.project-footer{
display:flex;
justify-content:space-between;
align-items:center;
gap:1rem;
}



.project-link{
display:inline-flex;
align-items:center;
gap:.4rem;

font-size:1rem;
font-weight:900;
letter-spacing:.3px;

color:var(--gold);
text-decoration:none;

padding:.4rem .9rem;
border-radius:30px;

background:rgba(184,148,63,.08);

box-shadow:
0 6px 14px rgba(184,148,63,.18),
inset 0 1px 0 rgba(255,255,255,.6);

position:relative;
overflow:hidden;

transition:.35s ease;
}

/* سهم بسيط يعطي إحساس حركة */
.project-link::after{
content:"←";
font-size:1.05rem;
transition:.35s ease;
}

/* لمعة سباركل خفيفة */
.project-link::before{
content:"";
position:absolute;
top:0;
left:-120%;
width:60%;
height:100%;

background:linear-gradient(
120deg,
transparent,
rgba(255,255,255,.6),
transparent
);

transform:skewX(-20deg);
}

.project-link:hover{
transform:translateY(-3px) scale(1.05);

background:rgba(184,148,63,.14);

box-shadow:
0 10px 22px rgba(184,148,63,.28),
0 0 18px rgba(184,148,63,.18);
}

.project-link:hover::before{
animation:sparkMove .8s ease;
}

.project-link:hover::after{
transform:translateX(-4px);
}

/* حركة اللمعة */
@keyframes sparkMove{
0%{left:-120%;}
100%{left:120%;}
}


/* button */

.projects-btn-wrap{
text-align:center;
margin-top:3rem;
}

/* responsive */

@media(max-width:768px){

.featured-projects{
padding:90px 18px;
}

.featured-projects .section-title{
font-size:2rem;
}

.featured-projects .section-desc{
font-size:.95rem;
}

.featured-project-image{
height:220px;
}

}

/* ───────── CTA SECTION  ───────── */
.cta-section{
width:100%;
max-width:100%;
margin:0;

position:relative;
overflow:hidden;
text-align:center;

/* أصغر من السابق */
padding:4.2rem 1.5rem;
min-height:190px;

display:flex;
flex-direction:column;
align-items:center;
justify-content:center;

/* نفس ستايل about hero */
background:linear-gradient(
135deg,
var(--navy-deep) 0%,
var(--navy) 58%,
var(--navy-light) 100%
);

/* فاصل علوي خفيف */
border-top:1px solid rgba(255,255,255,.06);
}

/* إضاءة ذهبية مثل about hero */
.cta-section::before{
content:"";
position:absolute;
inset:0;

background:
radial-gradient(
ellipse at 72% 45%,
rgba(184,148,63,.14) 0%,
transparent 58%
);

pointer-events:none;
}

/* انتقال سفلي ناعم نحو الفوتر */
.cta-section::after{
content:"";
position:absolute;
left:0;
right:0;
bottom:0;
height:85px;

background:linear-gradient(
to bottom,
rgba(16,29,53,0) 0%,
rgba(15,29,53,.45) 55%,
rgba(15,29,53,.92) 100%
);

pointer-events:none;
}

/* العنوان */
.cta-section h2{
font-family:'Amiri', serif;
font-size:clamp(1.9rem,4vw,2.7rem);
color:#fff;
margin:0 0 .7rem;
line-height:1.35;

position:relative;
z-index:2;
}

.cta-section h2 span{
color:var(--gold-light);
text-shadow:0 0 10px rgba(184,148,63,.28);
}

/* النص */
.cta-section p{
font-size:1rem;
color:rgba(255,255,255,.68);
margin:0 0 1.7rem;
line-height:1.9;

position:relative;
z-index:2;
}
/*الزر*/
.cta-glow-btn{
display:inline-flex;
align-items:center;
justify-content:center;
gap:.6rem;
text-decoration:none;
position:relative;
overflow:hidden;
z-index:2;

padding:.7rem 2.2rem;
border-radius:40px;

background:#ffffff;   /* ✔ هنا الخلفية البيضاء فعلاً */
border:2px solid rgba(184,148,63,.35);

box-shadow:
0 10px 22px rgba(15,29,53,.08),
0 0 14px rgba(184,148,63,.12);

transition:.35s ease;
}

/* hover */
.cta-glow-btn:hover{
transform:translateY(-3px);
box-shadow:
0 14px 30px rgba(184,148,63,.25);
}

/* ===== النص فقط (هنا الذهب) ===== */
.cta-text{
font-size:1.15rem;
font-weight:900;
color:var(--navy);
font-weight:900;

}

/* ===== لمعة ===== */
.cta-glow-btn::before{
content:"";
position:absolute;
top:0;
left:-120%;
width:50%;
height:100%;

background:linear-gradient(
90deg,
transparent,
rgba(184,148,63,.25),
transparent
);

transform:skewX(-25deg);
animation:shine 3.8s infinite;
}

/* ===== شعلة ===== */
.btn-flame{
width:36px;
height:36px;
object-fit:contain;
filter:
drop-shadow(0 0 6px rgba(184,148,63,.35))
drop-shadow(0 0 12px rgba(212,174,94,.25));
}

@keyframes shine{
0%{left:-120%;}
100%{left:140%;}
}

@keyframes goldMove{
0%{background-position:0% center;}
100%{background-position:200% center;}
}
/* Responsive */
@media(max-width:768px){

.cta-section{
padding:3.5rem 1rem;
min-height:170px;
}

.cta-section h2{
font-size:1.8rem;
}

.cta-section p{
font-size:.95rem;
}

}

/* FOOTER */
footer {
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    font-family: 'Amiri', serif;
  }
  footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 15% 50%, rgba(184,148,63,0.06) 0%, transparent 50%),
      radial-gradient(circle at 85% 20%, rgba(184,148,63,0.04) 0%, transparent 40%);
    pointer-events: none;
  }
  .footer-main {
    max-width: 100%;
    margin: 0 auto;
    padding: 64px clamp(20px, 5vw, 32px) 48px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    position: relative;
  }
  .brand-logo {
    display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  }
  .brand-icon { width: clamp(80px, 18vw, 100px);  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .brand-icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(184,148,63,0.4)); }
  .brand-name { font-size: 22px; font-weight: 700; color: var(--white); line-height: 1.2; }
  .brand-tagline { font-size: 12px; color: var(--gold-light); font-weight: 400; letter-spacing: 0.5px; }
  .brand-desc { font-size: 14px; color: var(--text-light); line-height: 1.9; font-weight: 300; margin-bottom: 28px; max-width: 100%; }
  .social-row { display: flex; gap: 10px; }
  .social-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(184,148,63,0.25); background: rgba(184,148,63,0.07); display: flex; align-items: center; justify-content: center; color: var(--gold-light); cursor: pointer; transition: all 0.25s ease; text-decoration: none; }
  .social-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
  .social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(184,148,63,0.35); }
  .col-title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 20px; position: relative; padding-bottom: 12px; }
  .col-title::after { content: ''; position: absolute; bottom: 0; right: 0; width: 32px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); border-radius: 2px; }
  .link-list { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; }
  .link-list li a { font-size: 13.5px; color: var(--text-light); text-decoration: none; transition: all 0.2s ease; display: flex; align-items: center; gap: 6px; }
  .link-list li a::before { content: '›'; color: var(--gold); font-size: 16px; opacity: 0; transform: translateX(4px); transition: all 0.2s ease; }
  .link-list li a:hover { color: var(--gold-pale); padding-right: 4px; }
  .link-list li a:hover::before { opacity: 1; transform: translateX(0); }
  .contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
  .contact-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(184,148,63,0.1); border: 1px solid rgba(184,148,63,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
  .contact-icon svg { width: 14px; height: 14px; stroke: var(--gold-light); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .contact-text { font-size: 13px; color: var(--text-light); line-height: 1.6; }
  .contact-text a { color: var(--text-light); text-decoration: none; transition: color 0.2s; }
  .contact-text a:hover { color: var(--gold-pale); }
  .contact-label { font-size: 11px; color: var(--gold); font-weight: 600; margin-bottom: 2px; letter-spacing: 0.3px; }
  .footer-divider { max-width: 100%; margin: 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--border), var(--gold), var(--border), transparent); opacity: 0.6; }
  .footer-bottom { width: 100%; margin: 0 auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; }
  .copyright { font-size: 13px; color: var(--text-light); direction: rtl; margin: 0; }
  .copyright span { color: var(--gold-light); font-weight: 600; }
  .footer-tagline-link { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-light); text-decoration: none; transition: color 0.2s; }
  .footer-tagline-link:hover { color: var(--gold-pale); }
  .tagline-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.75); } }

/* ══════════════ RESPONSIVE (mobile-first overrides, largest → smallest) ══════════════ */
@media (max-width: 900px) {
  .navbar { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .brand-col { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr; padding: 40px 20px 32px; }
  .footer-bottom { flex-direction: column-reverse; gap: 12px; text-align: center; padding: 16px 20px; }
}
@media (max-width: 360px) {
  .navbar { padding: 0 0.85rem; }
  .footer-main { padding: 32px 16px 24px; }
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--pearl);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--pearl);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}