:root{
    --dark-blue:#012B73;
    --light-blue:#6da4da74;
    --mid-blue:#4D77BF;
    --red:#ED3626;
    --bg:#f4f7fb;
}
.nav-actions a.active {
  color: #00aaff;
  font-weight: bold;
}
header{
    position:relative;
    min-height:450px;
    padding:100px 20px;
    text-align:center;
    color:#fff;
    overflow:hidden;
}
}
/* الصورة تملى الهيدر */
.header-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;   /* أهم سطر */
    object-position:center;
    z-index:0;
}
/* طبقة تغميق */
header::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.5);
    z-index:1;
}

/* المحتوى فوق الصورة */
header > *:not(.header-bg){
    position:relative;
    z-index:2;
}
.lang-btn:hover{
  transform: scale(1.05);
}

*{
    box-sizing:border-box;
    font-family:'Tajawal', sans-serif;
}
.stories{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
  margin-top:30px;
}

.pa-img{
  border: 10px #4d77bf  ;
  border-radius: 10px;


}

.story-box{
  background:#fff;
  border-radius:18px;
  padding:18px;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
  text-align:center;
}

.story-box img{
  width:100%;
  border-radius:14px;
  margin-bottom:12px;
}

.story-box h3{
  color:var(--dark-blue);
  margin-bottom:8px;
}
.timeline{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
  margin-top:30px;
}

.step{
  background:#fff;
  padding:18px 24px;
  border-radius:40px;
  font-weight:bold;
  box-shadow:0 6px 16px rgba(0,0,0,.08);
  color:var(--dark-blue);
}
body.dark{
  background:#121212;
  color:#eee;
}

body.dark .box,
body.dark .faq-item,
body.dark .story-box{
  background:#1e1e1e;
  color:#eee;
}
/* ===== HEADER ===== */
body.dark header {
  background: linear-gradient(135deg, #020617, #020617);
  color: #e5e7eb;
}

body.dark header p {
  color: #cbd5f5;
}

/* ===== Human Alert ===== */
body.dark .human-alert {
  background: #1e293b72 ;
  color: #bfdbfe;
  border-right: 4px solid #60a5fa;
}

/* ===== Buttons ===== */
body.dark .btn {
  background: #2563eb;
  color: #fff;
}

body.dark .btn:hover {
  background: #1d4ed8;
}

/* ===== Social Icons ===== */
body.dark .social a {
  color: #93c5fd;
}

body.dark .social a:hover {
  color: #60a5fa;
}

/* ===== Footer ===== */
body.dark footer {
  background: #020617;
  color: #94a3b8;
}

/* ===== Timeline Steps ===== */
body.dark .step {
  background: #1e293b;
  color: #e5e7eb;
}

/* ===== FAQ ===== */
body.dark .faq-question {
  color: #e5e7eb;
}

body.dark .faq-answer {
  color: #cbd5f5;
  background: linear-gradient(180deg, #152033 0%, #101827 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Dark Mode */
body.dark .faq-answer p {
  color: #fff;  /* النص أبيض في الدارك */
}
body.dark .faq-wa-cta{
  box-shadow:0 14px 28px rgba(0, 0, 0, .28);
}
body.dark .faq-answer ul,
body.dark .faq-answer li {
  color: #e5ecff;
}
/* ===== Team Cards ===== */
body.dark .team-card {
  background: #1e293b;
}

body.dark .team-card h3 {
  color: white;
}

body.dark .team-card span {
  color: #93c5fd;

}

body.dark .team-card.team-intro-card span {
  color: #d9e6ff;
}

/* ===== Stories ===== */
body.dark .story-box {
  background: #222222;
}

body.dark .story-box p {
  color: #cbd5f5;
}

/* ===== Scroll Button ===== */
body.dark #scrollTopBtn {
  background: #2563eb;
}


body.dark header{
  background:linear-gradient(135deg,#000,#222);
}
.human-alert{
  background:var(--light-blue) ;
  color:#fff;
  padding:14px;
  text-align:center;
  font-weight:bold;
  border-radius: 5px;
}

#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}
#scrollTopBtn:hover {
    background-color: #084298;
}


.team-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:25px;
  margin-top:30px;
  justify-items:center;   /* توسيط الكروت */
}

.team-card{
  width: 100%;
  background:#fff;
  border-radius:18px;
  padding:25px;
  text-align:center;
  box-shadow:0 10px 25px rgba(0,0,0,.06);
  transition:.3s;
  border-top:5px solid var(--mid-blue);
}

.team-card a{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  height:100%;
  color:inherit;
  text-decoration:none;
}

.team-intro-card{
  max-width:1100px;
  margin:0 auto 34px;
  padding:28px 32px;
  text-align:right;
  border-top:none;
  border-right:6px solid var(--mid-blue);
}

.team-intro-card a{
  display:grid;
  grid-template-columns:120px 1fr;
  align-items:center;
  gap:24px;
}

.team-intro-card img{
  margin-bottom:0;
}

.team-intro-card h3{
  margin:0 0 10px;
}

.team-intro-card span{
  display:block;
  color:#39506d;
  font-size:15px;
  line-height:1.9;
  font-weight:600;
}

.team-card:hover{
  transform:translateY(-8px);
}

.team-card img{
  width:120px;
  height:120px;
  border-radius:50%;
  object-fit:cover;
  margin-bottom:15px;
  border:4px solid var(--light-blue);
}

.team-card h3{
  margin:10px 0 5px;
  color:var(--dark-blue);
}

.team-card span{
  font-size:14px;
  color:var(--red);
  font-weight:bold;
}

.team-card p{
  font-size:14px;
  color:#555;
  margin-top:10px;
}

.team-card.team-intro-card img{
  margin-bottom:0;
}

.team-card.team-intro-card h3{
  margin:0 0 10px;
}

.team-card.team-intro-card span{
  display:block;
  color:#39506d;
  font-size:15px;
  line-height:1.9;
  font-weight:600;
}


body{
  padding: 0;
    margin:0;
    background:var(--bg);
    color:#222;
    line-height:1.9;
}

/* HEADER */
header{
  
    background:linear-gradient(135deg,var(--dark-blue),var(--mid-blue));
    color:#fff;
    padding:70px 20px;
    text-align:center;
    width: 100%;
}

header h1{
    margin:0;
    font-size:34px;
}

header p{
    font-size:18px;
    margin-top:12px;
    opacity:.95;
}

.btns{
    margin-top:30px;
}

.btn{
    display:inline-block;
    padding:12px 28px;
    margin:6px;
    background:#fff;
    color:var(--dark-blue);
    border-radius:30px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:var(--light-blue);
    color:#fff;
}

/* SECTIONS */
.section{
    padding:56px 20px;
    max-width:1200px;
    margin:auto;
    align-items: center;
}

.section h2{
    color:var(--dark-blue);
    margin-bottom:15px;
}

.initiative-section{
  padding-top: 10px;
}

.initiative-card{
  display:grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .8fr);
  gap:24px;
  align-items:stretch;
  background:linear-gradient(135deg, #f7fbff 0%, #eef6ff 52%, #ffffff 100%);
  border:1px solid rgba(1, 43, 115, .08);
  border-radius:28px;
  padding:34px;
  box-shadow:0 18px 45px rgba(7, 38, 94, .08);
  overflow:hidden;
  position:relative;
}

.initiative-card::before{
  content:"";
  position:absolute;
  inset:-80px auto auto -80px;
  width:220px;
  height:220px;
  background:radial-gradient(circle, rgba(57, 155, 255, .16) 0%, rgba(57, 155, 255, 0) 70%);
  pointer-events:none;
}

.initiative-copy,
.initiative-highlight{
  position:relative;
  z-index:1;
}

.initiative-tag{
  display:inline-block;
  margin-bottom:12px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(0, 117, 255, .1);
  color:#0c4da2;
  font-size:14px;
  font-weight:700;
}

.initiative-copy h2{
  font-size:35px;
  line-height:1.35;
  margin:0 0 16px;
}

.initiative-copy p{
  margin:0 0 14px;
  color:#27405f;
  line-height:1.95;
  font-size:16px;
}

.initiative-points{
  display:grid;
  gap:12px;
  margin:24px 0 26px;
}

.initiative-point{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  background:rgba(255, 255, 255, .78);
  border:1px solid rgba(1, 43, 115, .08);
  border-radius:18px;
}

.initiative-point i{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:linear-gradient(135deg, #0f6bdc 0%, #2db9ff 100%);
  color:#fff;
  flex-shrink:0;
}

.initiative-point span{
  color:#163250;
  line-height:1.7;
  font-weight:600;
}

.initiative-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.initiative-highlight{
  background:linear-gradient(180deg, #0f5ec9 0%, #0a3f8f 100%);
  color:#fff;
  border-radius:24px;
  padding:28px 24px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:100%;
  box-shadow:0 20px 35px rgba(10, 63, 143, .28);
}

.initiative-badge{
  width:fit-content;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.16);
  margin-bottom:16px;
  font-weight:700;
}

.initiative-highlight h3{
  margin:0 0 14px;
  font-size:26px;
  line-height:1.45;
  color:#fff;
}

.initiative-highlight p{
  margin:0;
  color:rgba(255,255,255,.92);
  line-height:1.9;
}

body.dark .initiative-card{
  background:linear-gradient(135deg, #0f172a 0%, #111c31 52%, #16243d 100%);
  border-color:rgba(255, 255, 255, .08);
  box-shadow:0 20px 45px rgba(0, 0, 0, .28);
}

body.dark .initiative-tag{
  background:rgba(96, 165, 250, .14);
  color:#cfe3ff;
}

body.dark .initiative-copy h2{
  color:#fff;
}

body.dark .initiative-copy p{
  color:#d9e6ff;
}

body.dark .initiative-point{
  background:rgba(255, 255, 255, .04);
  border-color:rgba(255, 255, 255, .08);
}

body.dark .initiative-point span{
  color:#eef4ff;
}

body.dark .initiative-highlight{
  background:linear-gradient(180deg, #1d4ed8 0%, #1e3a8a 100%);
}

@media (max-width: 900px){
  .initiative-card{
    grid-template-columns:1fr;
    padding:26px 20px;
  }

  .initiative-copy h2{
    font-size:29px;
  }

  .initiative-highlight h3{
    font-size:23px;
  }
}

@media (max-width: 768px){
  .initiative-actions{
    flex-direction:column;
  }

  .initiative-actions .btn{
    width:100%;
    text-align:center;
  }
}

.box{
    background:#fff;
    padding:28px;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
    margin-bottom:28px;
    border-right:6px solid var(--mid-blue);
}

.box.red{
    border-right-color:var(--red);
}

ul{
    padding-right:20px;
}

/* SOCIAL */
.social{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:16px;
}

.social a{
    position:relative;
    width:58px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#fff;
    font-size:24px;
    text-decoration:none;
    transition:.3s;
}

.social a:hover{
    transform:translateY(-5px);
}

.fb{background:#1877f2}
.ig{background:#e1306c}
.yt{background:#ff0000}
.tt{background:#000}
.wa{background:#25d366}
.social a.mail{
    display:inline-flex;
    background:#2563eb;
    color:#fff !important;
    opacity:1;
}

.social a.mail i{
    color:#fff;
    opacity:1;
    position:relative;
    z-index:2;
}

.copy-feedback{
    position:absolute;
    bottom:calc(100% + 10px);
    left:50%;
    transform:translateX(-50%) translateY(6px);
    background:#111827;
    color:#fff;
    font-size:14px;
    font-weight:700;
    line-height:1;
    white-space:nowrap;
    padding:8px 10px;
    border-radius:8px;
    opacity:0;
    pointer-events:none;
    transition:.25s ease;
    z-index:20;
}

.mail.copied .copy-feedback{
    opacity:1;
    transform:translateX(-50%) translateY(0);
}

body.dark .social a.mail{
    background:#2563eb;
    color:#fff !important;
}

body.dark .social a.mail i,
body.dark .social a.mail .copy-feedback{
    color:#fff;
}

.faq{
  max-width:1200px;
  margin:70px auto;
  padding:0 20px;
}

.our-ser{
  text-align:center;
  color:#012B73;
  margin-bottom:30px;
}

.faq-item{
  background:#fff;
  border-radius:15px;
  margin-bottom:15px;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
  overflow:hidden;
}

.faq-question{
  width:100%;
  background:none;
  border:none;
  padding:18px 20px;
  font-size:16px;
  font-weight:bold;
  text-align:right;
  cursor:pointer;
  color:#012B73;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.faq-question.active,
.faq-item.active .faq-question{
  background:#6DA4DA;
  color:#fff;
}

.faq-question .arrow{
  transition:.3s;
}

.faq-question.active .arrow,
.faq-item.active .faq-question .arrow{
  transform:rotate(180deg);
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .4s ease, padding .3s ease, background-color .3s ease;
  padding:0 20px;
  background:linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-top:1px solid rgba(1, 43, 115, .08);
}

.faq-answer p{
  margin:15px 0 20px;
  color:#24324a;
  line-height:1.9;
  font-size:15px;
}

.faq-wa-cta{
  display:flex;
  align-items:center;
  gap:14px;
  width:fit-content;
  max-width:100%;
  padding:12px 16px;
  margin:0 0 18px;
  text-decoration:none;
  border-radius:18px;
  background:linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color:#fff;
  box-shadow:0 12px 24px rgba(18, 140, 126, .22);
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.faq-wa-cta:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 28px rgba(18, 140, 126, .28);
  filter:brightness(1.03);
}

.faq-wa-icon{
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255, 255, 255, .16);
  font-size:22px;
  flex-shrink:0;
}

.faq-wa-text{
  display:flex;
  flex-direction:column;
  line-height:1.4;
}

.faq-wa-text strong{
  font-size:15px;
  color:#fff;
}

.faq-wa-text small{
  font-size:12px;
  color:rgba(255, 255, 255, .92);
}

.faq-item.active .faq-answer{
  max-height: 1600px;
  padding:8px 20px 18px;
}

.faq-answer ul{
  margin:15px 0 20px;
  padding-right:18px;
  color:#24324a;
  line-height:1.9;
}

.faq-answer li{
  margin-bottom:8px;
}

.impact-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 30px 20px 70px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.impact-box {
  background: var(--card-bg);
  color: var(--text-color);
  width: 220px;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.impact-box:hover {
  transform: translateY(-5px);
}

.impact-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 10px;
}

.counter,
.impact-counter {
  font-size: 36px;
  font-weight: bold;
  color: var(--main-color);
}

/* ===== ألوان الوضع الفاتح ===== */
:root {
  --card-bg: #ffffff;
  --text-color: #222;
  --main-color: #2b7cff;
}

/* ===== الوضع الليلي الحقيقي ===== */
body.dark {
  --card-bg: #1f1f1f;
  --text-color: #f1f1f1;
  --main-color: #6aa9ff;
  background: #121212;
}



/* FOOTER */
footer{
    background:var(--dark-blue);
    color:#ddd;
    text-align:center;
    padding:16px;
    font-size:14px;
}

.form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input[type="file"],
.form-group select {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}
.form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input[type="file"] {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s ease;
  background-color: #f9f9f9;
}

.form-group input[type="file"]:hover {
  background-color: #eef7f2;
  border-color: #25d366;
}

.wa-modal{
  display: none;
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.35);
  z-index: 9999;
}

.wa-box{
  width: min(92vw, 620px);
  max-height: min(88vh, 820px);
  overflow-y: auto;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(15, 91, 201, .08);
  background:
    radial-gradient(circle at top right, rgba(37, 211, 102, .12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 28px 70px rgba(15, 63, 143, .20);
  font-family: "Tajawal", sans-serif;
  position: relative;
}

.wa-box .close{
  /* keep the close control visible while the modal content scrolls */
  position: -webkit-sticky;
  position: sticky;
  top: 12px;
  float: right;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 91, 201, .08);
  color: #0f4f9d;
  font-size: 24px;
  z-index: 12;
  cursor: pointer;
}

.wa-box .close:hover{
  background: rgba(15, 91, 201, .16);
}

.wa-header{
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 63, 143, .09);
}

.wa-kicker{
  display: inline-block;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(37, 211, 102, .12);
  color: #15803d;
  font-weight: 700;
  font-size: 13px;
}

.wa-header h3{
  margin: 0 0 10px;
  font-size: 31px;
  line-height: 1.35;
  color: #0f2d55;
  text-align: right;
}

.wa-header p{
  margin: 0;
  color: #4a627f;
  line-height: 1.85;
  font-size: 15px;
}

.wa-form-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wa-field{
  margin-bottom: 16px;
}

.wa-field label,
.case-box p{
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #183b63;
}

.wa-field label span,
.case-box p span{
  color: #dc2626;
}

.wa-box input,
.wa-box select,
.wa-box textarea{
  width: 100%;
  margin-bottom: 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #d7e4f6;
  background: rgba(255, 255, 255, .96);
  color: #17365d;
  font-size: 15px;
  font-family: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

/* ===== Custom radios & checkboxes inside wa-box ===== */
.wa-box .radio-group input[type="radio"],
.wa-box .case-box input[type="checkbox"]{
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0 10px 0 0;
  padding: 0;
  border: 2px solid rgba(15, 91, 201, .18);
  background: #fff;
  border-radius: 4px;
  display: inline-grid;
  place-content: center;
  vertical-align: middle;
  transition: all .18s ease;
  position: relative;
  box-shadow: none;
}

.wa-box .radio-group input[type="radio"]{
  border-radius: 50%;
}

/* checked states using inline SVG background for crisp rendering */
.wa-box .case-box input[type="checkbox"]:checked{
  background: linear-gradient(135deg,#0f6bdc,#2db9ff);
  border-color: rgba(15,91,201,0.9);
}

.wa-box .case-box input[type="checkbox"]::after{
  content: "";
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform .16s ease;
}

.wa-box .case-box input[type="checkbox"]:checked::after{
  transform: rotate(45deg) scale(1);
}

.wa-box .radio-group input[type="radio"]:checked{
  background: radial-gradient(circle at 50% 50%, #fff 0%, rgba(255,255,255,0) 30%), linear-gradient(135deg,#0f6bdc,#2db9ff);
  border-color: rgba(15,91,201,0.9);
}

.wa-box label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  transition: background .15s ease, transform .12s ease;
}

.wa-box label:hover{
  background: rgba(15,91,201,0.04);
  transform: translateY(-2px);
}

/* focus styles for keyboard users */
.wa-box input[type="radio"]:focus,
.wa-box input[type="checkbox"]:focus{
  outline: 3px solid rgba(15,91,201,0.14);
  outline-offset: 3px;
}

/* Dark mode tweaks */
body.dark .wa-box .radio-group input[type="radio"],
body.dark .wa-box .case-box input[type="checkbox"]{
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}

body.dark .wa-box .case-box input[type="checkbox"]:checked{
  background: linear-gradient(135deg,#1e3a8a,#2563eb);
  border-color: #60a5fa;
}

/* smaller on narrow screens */
@media (max-width: 600px){
  .wa-box .radio-group input[type="radio"], .wa-box .case-box input[type="checkbox"]{ width:18px; height:18px }
  .wa-box label{ padding:8px 10px }
}

.wa-box input:focus,
.wa-box select:focus,
.wa-box textarea:focus{
  outline: none;
  border-color: #0f6bdc;
  box-shadow: 0 0 0 4px rgba(15, 107, 220, .10);
}

.wa-box textarea{
  min-height: 120px;
  resize: vertical;
}

.radio-group{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.radio-group label,
.case-box label{
  margin-bottom: 0;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid #d7e4f6;
  background: rgba(255, 255, 255, .92);
  font-weight: 600;
  color: #17365d;
}

.radio-group label:hover,
.case-box label:hover{
  transform: translateY(-1px);
}

.radio-group input[type="radio"]{
  width: auto;
  accent-color: #0f6bdc;
}

.case-box{
  margin-bottom: 16px;
}

.case-box{
  display: grid;
  gap: 12px;
}

.wa-submit{
  width: 100%;
  margin-top: 10px;
  padding: 15px 18px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(18, 140, 126, .22);
}

.wa-submit:hover{
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(18, 140, 126, .28);
}

body.dark .wa-box{
  background:
    radial-gradient(circle at top right, rgba(37, 211, 102, .10), transparent 26%),
    linear-gradient(180deg, #0f172a 0%, #152238 100%);
  border-color: rgba(255, 255, 255, .08);
}

body.dark .wa-box .close{
  background: rgba(255,255,255,.07);
  color: #d8e7ff;
}

body.dark .wa-header{
  border-bottom-color: rgba(255,255,255,.08);
}

body.dark .wa-kicker{
  background: rgba(16, 185, 129, .14);
  color: #bbf7d0;
}

body.dark .wa-header h3,
body.dark .wa-field label,
body.dark .case-box p{
  color: #f8fbff;
}

body.dark .wa-header p{
  color: #cddcf4;
}

body.dark .wa-box input,
body.dark .wa-box select,
body.dark .wa-box textarea,
body.dark .radio-group label,
body.dark .case-box label{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
  color: #e5edf9;
}

body.dark .wa-box input::placeholder,
body.dark .wa-box textarea::placeholder{
  color: #91a4c4;
}

body.dark .wa-box input:focus,
body.dark .wa-box select:focus,
body.dark .wa-box textarea:focus{
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, .16);
}

@media (max-width: 768px){
  .wa-modal{
    padding: 14px;
  }

  .wa-box{
    width: 100%;
    padding: 22px 16px;
    border-radius: 22px;
  }

  .wa-form-grid,
  .radio-group{
    grid-template-columns: 1fr;
  }

  .wa-header h3{
    font-size: 25px;
  }

  .section{
    padding:32px 14px;
  }

  .hero{
    padding:40px 16px;
  }

  .hero-content{
    max-width:none;
  }

  .hero-actions{
    flex-direction:column;
  }

  .hero-actions .btn{
    width:100%;
    text-align:center;
  }

  .hero-stats{
    justify-content:center;
    gap:22px;
  }

  .video-box{
    padding:20px 16px;
    margin: 20px auto 40px;
  }

  .impact-section{
    padding: 20px 16px 40px;
  }
}
.video-box {
  padding: 28px;
  text-align: center;
  width: min(1200px, 95%);
  margin: 30px auto 70px;
  border-radius: 24px;
  overflow: visible;
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

/* يجعل الفيديو متجاوب */
.video-box iframe {
  border-radius: 10px;
  width: 100%;
  height: 450px; /* يمكن تغييره حسب الرغبة */
  margin-top: 18px;
}

@media (max-width: 600px) {
  .video-box iframe {
    height: 250px; /* يقلل الارتفاع على الشاشات الصغيرة */
  }
}
.playlist-box {
  max-width: 800px; /* أقصى عرض */
  margin: 20px auto;
  border-radius: 15px;
  overflow: visible;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* الفيديو متجاوب */
.playlist-box iframe {
  width: 100%;
  height: 450px; /* ارتفاع مناسب */
}

@media (max-width: 600px) {
  .playlist-box iframe {
    height: 300px; /* أصغر للشاشات الصغيرة */
  }
}

hr {
  border: none;
  height: 2px;
  width: 80%;
  margin: 50px auto;
  background: linear-gradient(to right, transparent, #999, transparent);
  position: relative;
}

hr::after {
  content: "●";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg, #fff);
  padding: 0 10px;
  color: #777;
  font-size: 14px;
}
body.dark hr {
  background: linear-gradient(to right, transparent, #555, transparent);
}

body.dark hr::after {
  background: #111;
  color: #aaa;
}

body.dark .video-box {
  background: #151515;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.06);
}

body.dark .video-box iframe,
body.dark .video-box video {
  filter: brightness(0.9) contrast(1.05);
}

.video-box:hover {
  transform: translateY(-4px);
}

body.dark .video-box:hover {
  box-shadow: 0 15px 35px rgba(0,0,0,0.8);
}

.accreditations {
  padding: 70px 10%;
  background: #fafafa;
  text-align: center;
}

.section-title {
  font-size: 30px;
  margin-bottom: 50px;
}

.accreditations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.accreditation-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
  transition: transform 0.3s ease;
}

.accreditation-card:hover {
  transform: translateY(-5px);
}

.accreditation-card img {
  max-width: 120px;
  margin-bottom: 15px;
  filter: grayscale(100%);
  opacity: 0.85;
}

.accreditation-card p {
  font-size: 15px;
  color: #444;
}
body.dark .accreditations {
  background: #0e0e0e;
}

body.dark .section-title {
  color: #fff;
}

body.dark .accreditation-card {
  background: #181818;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

body.dark .accreditation-card p {
  color: #ddd;
}

body.dark .accreditation-card img {
  filter: grayscale(100%) brightness(0.9);
}
.site-footer {
  padding: 60px 10% 20px;
  font-size: 14px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.14), transparent 28%),
    linear-gradient(180deg, #0b3f98 0%, #06285f 52%, #041a42 100%);
  color: #eef4ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #ffffff !important;
  letter-spacing: 0.3px;
}

.footer-col p {
  color: #e2e8f0;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-logos img {
  max-width: 80px;
  margin-right: 10px;
  margin-top: 10px;
  opacity: 1;
  filter: none;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: #dbe7ff;
}

body.dark .site-footer {
  background:
    radial-gradient(circle at top right, rgba(96,165,250,0.12), transparent 30%),
    linear-gradient(180deg, #111827 0%, #0b1220 100%);
}

body.dark .footer-col h4 {
  color: #fff;
}

body.dark .footer-col p,
body.dark .footer-links li,
body.dark .footer-bottom {
  color: #e5edf9;
}

body.dark .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
}

body.dark .footer-logos img {
  filter: none;
}

.footer-col a {
  display: inline-block;
  color: #f8fbff;
  text-decoration: none;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.footer-col a i {
  margin-left: 6px;
  font-size: 16px;
}

.footer-col a:hover {
  color: #ffffff;
}

/* العناوين ثابتة */
.footer-col h4 {
  margin-bottom: 15px;
  pointer-events: none;
}

/* أي محتوى غير العنوان */
.footer-col p,
.footer-col ul,
.footer-col a,
.footer-col .footer-logos {
  transition: all 0.3s ease;
}

/* Hover على العمود */
.footer-col:hover p,
.footer-col:hover ul,
.footer-col:hover .footer-logos {
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

/* الصور */
.footer-col:hover .footer-logos img {
  opacity: 1;
  transform: scale(1.05);
}
body.dark .footer-col:hover p,
body.dark .footer-col:hover ul,
body.dark .footer-links a:hover {
  color: #fff;
}

/* From Uiverse.io by Galahhad: theme switch styles */
.theme-switch {
  --toggle-size: 30px;
  --container-width: 5.625em;
  --container-height: 2.5em;
  --container-radius: 6.25em;
  --container-light-bg: #3D7EAE;
  --container-night-bg: #1D1F2C;
  --circle-container-diameter: 3.375em;
  --sun-moon-diameter: 2.125em;
  --sun-bg: #ECCA2F;
  --moon-bg: #C4C9D1;
  --spot-color: #959DB1;
  --circle-container-offset: calc((var(--circle-container-diameter) - var(--container-height)) / 2 * -1);
  --stars-color: #fff;
  --clouds-color: #F3FDFF;
  --back-clouds-color: #AACADF;
  --transition: .5s cubic-bezier(0, -0.02, 0.4, 1.25);
  --circle-transition: .3s cubic-bezier(0, -0.02, 0.35, 1.17);
}

/* Navbar-specific smaller switch */
.navbar .theme-switch {
  --toggle-size: 18px;
  --container-width: 4.2em;
  --container-height: 1.8em;
  --circle-container-diameter: 2.4em;
  --sun-moon-diameter: 1.5em;
  margin-inline-start: 6px; /* small gap from left */
}

/* ensure the label sits left in navbar flow */
.navbar > .theme-switch { order: -1; }

.theme-switch, .theme-switch *, .theme-switch *::before, .theme-switch *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: var(--toggle-size);
}

.theme-switch__container {
  width: var(--container-width);
  height: var(--container-height);
  background-color: var(--container-light-bg);
  border-radius: var(--container-radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0em -0.062em 0.062em rgba(0, 0, 0, 0.25), 0em 0.062em 0.125em rgba(255, 255, 255, 0.94);
  transition: var(--transition);
  position: relative;
}

.theme-switch__container::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  box-shadow: 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset;
  border-radius: var(--container-radius);
}

.theme-switch__checkbox { display: none; }

.theme-switch__circle-container {
  width: var(--circle-container-diameter);
  height: var(--circle-container-diameter);
  background-color: rgba(255,255,255,0.1);
  position: absolute;
  left: var(--circle-container-offset);
  top: var(--circle-container-offset);
  border-radius: var(--container-radius);
  box-shadow: inset 0 0 0 3.375em rgba(255,255,255,0.1);
  display:flex; align-items:center; justify-content:center;
  transition: var(--circle-transition);
  pointer-events: none;
}

.theme-switch__sun-moon-container{ position:relative; z-index:2; width:var(--sun-moon-diameter); height:var(--sun-moon-diameter); margin:auto; border-radius:var(--container-radius); background-color:var(--sun-bg); box-shadow: 0.062em 0.062em 0.062em rgba(254,255,239,0.61) inset; transition: var(--transition); overflow:hidden }

.theme-switch__moon{ transform: translateX(100%); width:100%; height:100%; background:var(--moon-bg); border-radius:inherit; transition:var(--transition); position:relative }

.theme-switch__spot{ position:absolute; top:0.75em; left:0.312em; width:0.75em; height:0.75em; border-radius:var(--container-radius); background:var(--spot-color); box-shadow: inset 0 0.0312em 0.062em rgba(0,0,0,0.25) }
.theme-switch__spot:nth-of-type(2){ width:0.375em; height:0.375em; top:0.937em; left:1.375em }
.theme-switch__spot:nth-last-of-type(3){ width:0.25em; height:0.25em; top:0.312em; left:0.812em }

.theme-switch__clouds{ width:1.25em; height:1.25em; background:var(--clouds-color); border-radius:var(--container-radius); position:absolute; bottom:-0.625em; left:0.312em; box-shadow: 0.937em 0.312em var(--clouds-color), -0.312em -0.312em var(--back-clouds-color); transition:0.5s cubic-bezier(0, -0.02, 0.4, 1.25) }

.theme-switch__stars-container{ position:absolute; color:var(--stars-color); top:-100%; left:0.312em; width:2.75em; height:auto; transition:var(--transition) }

.theme-switch__checkbox:checked + .theme-switch__container{ background-color: var(--container-night-bg) }
.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__circle-container{ left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter)) }
.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__circle-container:hover { left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter) - 0.187em) }
.theme-switch__circle-container:hover{ left: calc(var(--circle-container-offset) + 0.187em) }
.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__moon{ transform: translate(0) }
.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__clouds{ bottom: -4.062em }
.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__stars-container{ top: 50%; transform: translateY(-50%) }

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 8%;
  min-height: 72px;
  background: #eaf2fb; /* slightly darker than pure white for better contrast */
  box-shadow: none;
  transition: box-shadow .28s ease, background .28s ease, background-color .28s ease, background-image .28s ease, padding .15s ease;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Keep the theme switch visually fixed inside the navbar so changing the
   language label doesn't nudge it. Use logical inset for RTL/LTR support. */
.navbar .theme-switch {
  position: absolute;
  left: calc(8% + 56px); /* keep fixed position regardless of page dir */
  inset-inline-start: auto;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
  order: 0; /* prevent flex reordering side-effects */
}

.navbar .theme-switch__container {
  transform: scale(0.92);
  transform-origin: center;
}

/* Language button: default (LTR) anchored to the right; when RTL (Arabic), anchor to the left */
.navbar #langToggle{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
  right: 8%;
  height: 34px;
  padding: 6px 10px;
  font-size: 13px;
  gap: 6px;
  line-height: 1;
}

html[dir="rtl"] .navbar #langToggle{ right: 8%; left: auto; }

/* Prevent the language button text from wrapping or resizing when toggled */
#langToggle{
  white-space: nowrap;
  min-width: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 420px){
  /* on very small screens, keep the button compact and avoid wrap/shift */
  #langToggle{ padding: 6px 8px; font-size: 13px; min-width: 72px }
  .navbar .theme-switch{ left: calc(8% + 44px); inset-inline-start: auto; }
}

.nav-logo {
  font-size: 20px;
  font-weight: bold;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.btn,
.lang-btn {
  border: none;
  background: #f3f4f6;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn:hover,
.lang-btn:hover {
  background: #e5e7eb;
}

body.dark .navbar {
  background: #0f0f0f;
  box-shadow: none;
}

/* shadow when scrolled */
.navbar.scrolled{
  box-shadow: 0 8px 26px rgba(12,43,115,0.08);
}

body.dark .navbar.scrolled{
  box-shadow: 0 8px 26px rgba(0,0,0,0.55);
}

/* Centered nav links */
.nav-center{
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

/* ensure the center area keeps centering even when controls change width */
.nav-center { margin-inline: 0; }

.nav-links{
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* keep nav order stable even when html dir toggles with language */
.navbar,
.navbar .nav-center,
.navbar .nav-links{
  direction: rtl;
}

.nav-link{
  text-decoration: none;
  color: var(--dark-blue);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}

.nav-link:hover{
  background: rgba(77,119,191,0.08);
  color: var(--mid-blue);
}

@media (max-width: 900px){
  .nav-links{gap:10px;font-size:14px}
  .navbar{padding:16px 4%}
}

@media (max-width: 600px){
  .nav-center{display:none}
}

/* Mobile hamburger */
.nav-toggle{
  display:none;
  background: transparent;
  border: 1px solid rgba(77,119,191,0.22);
  border-radius: 10px;
  padding: 8px;
  cursor:pointer;
  color: var(--mid-blue);
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

/* Custom hamburger icon (3 bars -> X) */
.nav-toggle .icon-menu {
  --gap: 5px;
  --height-bar: 2.5px;
  --pos-y-bar-one: 0;
  --pos-y-bar-three: 0;
  --scale-bar: 1;
  --rotate-bar-one: 0;
  --rotate-bar-three: 0;
  width: 22px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.nav-toggle .bar {
  position: relative;
  height: var(--height-bar);
  width: 100%;
  border-radius: 999px;
  background-color: currentColor;
}

.nav-toggle .bar--1 {
  top: var(--pos-y-bar-one);
  transform: rotate(var(--rotate-bar-one));
  transition: top 200ms 100ms, transform 100ms;
}

.nav-toggle .bar--2 {
  transform: scaleX(var(--scale-bar));
  transition: transform 150ms 100ms;
}

.nav-toggle .bar--3 {
  bottom: var(--pos-y-bar-three);
  transform: rotate(var(--rotate-bar-three));
  transition: bottom 200ms 100ms, transform 100ms;
}

.nav-toggle.is-open .bar--1 {
  transition: top 200ms, transform 200ms 100ms;
}

.nav-toggle.is-open .bar--3 {
  transition: bottom 200ms, transform 200ms 100ms;
}

.nav-toggle.is-open .icon-menu {
  --pos-y-bar-one: calc(var(--gap) + var(--height-bar));
  --pos-y-bar-three: calc(var(--gap) + var(--height-bar));
  --scale-bar: 0;
  --rotate-bar-one: 45deg;
  --rotate-bar-three: -45deg;
}

.nav-toggle:hover {
  background: rgba(77,119,191,0.08);
  border-color: rgba(77,119,191,0.35);
}

body.dark .nav-toggle {
  color: #bcd2ff;
  border-color: rgba(188,210,255,0.28);
}

body.dark .nav-toggle:hover {
  background: rgba(188,210,255,0.1);
}

@media (max-width: 600px){
  .nav-toggle{display:inline-flex}
  .navbar{
    padding:12px 4%;
    min-height:64px;
    direction:ltr;
    gap:10px;
    align-items:center;
  }
  .navbar .theme-switch{
    position:static;
    left:auto;
    inset-inline-start:auto;
    top:auto;
    transform:none;
    order:1;
    margin:0;
  }
  .navbar #langToggle{
    position:static;
    top:auto;
    right:auto;
    left:auto;
    transform:none;
    order:3;
    margin:0;
    height:32px;
  }
  .navbar #langToggle:hover{
    transform:none;
  }
  .navbar .nav-toggle{
    order:2;
    margin:0 auto;
  }
  .navbar .nav-actions{gap:8px}
  /* when menu open show center */
  .navbar.nav-open .nav-center{display:flex; position:absolute; inset:72px 8% auto 8%; background:var(--card-bg); border-radius:12px; box-shadow:0 12px 30px rgba(0,0,0,0.12); padding:12px; flex-direction:column; direction:rtl}
  .navbar.nav-open .nav-center .nav-links{flex-direction:column; gap:8px}
}

/* allow disabling sync */
.nav-static{
  background-image: none !important;
}

/* focus styles for accessibility */
.nav-link:focus,
.btn:focus,
.lang-btn:focus,
.nav-toggle:focus{
  outline: 3px solid rgba(77,119,191,0.18);
  outline-offset:2px;
}

/* Smooth scrolling + offset for sticky navbar */
html{
  scroll-behavior: smooth;
}

.section,
.hero{
  scroll-margin-top: 80px; /* leaves space for sticky navbar when jumping to anchors */
}

@media (max-width: 600px){
  .section,
  .hero{
    scroll-margin-top: 64px;
  }
}

body.dark .nav-logo {
  color: #fff;
}

body.dark .btn,
body.dark .lang-btn {
  background: #1f1f1f;
  color: #eee;
}

body.dark .btn:hover,
body.dark .lang-btn:hover {
  background: #2a2a2a;
}

/* ===== Revamped Dark / Language Buttons (اصطوري) ===== */
#darkToggle,
#langToggle,
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .2px;
  background: linear-gradient(90deg, #ffffff 0%, #eef6ff 100%);
  color: var(--dark-blue);
  border: 1px solid rgba(77,119,191,0.12);
  box-shadow: 0 8px 22px rgba(77,119,191,0.06), inset 0 1px 0 rgba(255,255,255,0.6);
  transform: translateZ(0);
}

#darkToggle i,
#langToggle i { transition: transform .34s cubic-bezier(.2,.9,.2,1), opacity .25s; }

#darkToggle:hover,
#langToggle:hover,
.lang-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(77,119,191,0.12);
}

/* keep navbar language button aligned (it is absolutely positioned in the navbar) */
.navbar #langToggle:hover {
  transform: translateY(-50%);
  box-shadow: 0 12px 28px rgba(77,119,191,0.12);
}

@media (max-width: 600px){
  .navbar #langToggle:hover{
    transform:none !important;
    box-shadow: 0 10px 24px rgba(77,119,191,0.10);
  }
}

/* pressed / dark state */
#darkToggle[aria-pressed="true"] {
  background: linear-gradient(90deg, #0f3f8f 0%, #2b6cff 100%);
  color: #fff;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 10px 30px rgba(11,50,110,0.28), inset 0 -6px 18px rgba(0,0,0,0.08);
}

#darkToggle[aria-pressed="true"] i { transform: rotate(20deg) scale(1.03); }

/* language button: make it a glossy badge */
#langToggle {
  background: linear-gradient(90deg,#fff7ea 0%, #ffe7c8 60%);
  color: #7a3f00;
  border-color: rgba(250,180,60,0.14);
}

#langToggle[aria-pressed="true"] {
  background: linear-gradient(90deg,#ffd27a 0%, #ffb84a 100%);
  color: #3a1f00;
  box-shadow: 0 12px 30px rgba(255,160,60,0.18);
}

/* dark mode adjustments */
body.dark #darkToggle[aria-pressed="true"] {
  background: linear-gradient(90deg,#0b254d 0%, #153b6d 100%);
}

body.dark #langToggle {
  background: linear-gradient(90deg,#272727 0%, #161616 100%);
  color: #ffdcb3;
  border-color: rgba(255,255,255,0.04);
}

/* small screens: slightly smaller buttons */
@media (max-width: 600px){
  #darkToggle, #langToggle { padding: 6px 8px; font-size:12px }
}

.faq-title {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin: 30px 0 15px;
  color: #0d6efd;

/* =====================
   Scroll & Hover Animations
   ===================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px) scale(.995); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(.96) translateY(6px); }
  60% { opacity: 1; transform: scale(1.02) translateY(-3px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.animate-on-scroll{
  opacity: 0;
  transform: translateY(18px) scale(.995);
  will-change: opacity, transform;
  transition: opacity .6s cubic-bezier(.2,.9,.2,1), transform .6s cubic-bezier(.2,.9,.2,1);
}

.animate-on-scroll.in-view{
  opacity: 1;
  transform: none;
  animation: fadeUp .68s cubic-bezier(.2,.9,.2,1) both;
  animation-delay: var(--delay, 0s);
}

/* slight pop for cards/images */
.pop-on-hover{
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease;
}
.pop-on-hover:hover{
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* apply subtle entrance to common blocks */
.team-card, .story-box, .box, .initiative-card, .video-box, .impact-box {
  transition: transform .28s ease, box-shadow .28s ease;
}
.team-card:hover, .story-box:hover, .box:hover {
  transform: translateY(-6px);
}

/* stagger helper: you can set e.g. style="--delay: .08s" on elements */

  position: relative;
}

.faq-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0d6efd;
  margin: 8px auto 0;
  border-radius: 5px;
}


.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #25D366;
  color: white;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s, width 0.25s ease, padding 0.25s ease;
}

.whatsapp-btn::before {
  content: "WhatsApp";
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  transform: translateX(-12px);
  transition: max-width 0.3s ease, opacity 0.2s ease, transform 0.3s ease;
}

.whatsapp-btn:hover {
  width: 140px;
  padding: 0 16px;
  justify-content: flex-end;
  gap: 8px;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.whatsapp-btn:hover::before {
  max-width: 90px;
  opacity: 1;
  transform: translateX(0);
}

/* Dark Mode للزر */
body.dark .whatsapp-btn {
  background-color: #128C7E; /* أخضر غامق مناسب للدارك */
  color: #fff;
}

.footer-map {
  margin-top: 12px;
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.footer-map iframe {
  width: 100%;
  height: 100%; 
  border: 0;
}

.treatment-timeline { 
  display: none;
  overflow: hidden;
  background: #f4f9fd;
  padding: 80px 20px;
  width: min(1200px, 95%);
  margin: 0 auto;
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
}

.treatment-timeline h2 {
  text-align: center;
  color: #0a3d62;
  font-size: 32px;
}

.subtitle {
  text-align: center;
  max-width: 700px;
  margin: 10px auto 60px;
  color: #555;
}

.timeline {
  position: relative;
  max-width: 1100px;
  margin: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 50%;
  width: 3px;
  background: #cfe6f5;
  transform: translateX(50%);
}

/* العناصر */
.timeline-item {
  width: 50%;
  padding: 20px 40px;
  position: relative;
}

/* يمين الخط */
.timeline-item.right {
  margin-right: 50%;
  text-align: right;
}

/* شمال الخط */
.timeline-item.left {
  margin-left: 50%;
  text-align: right;
}

/* النقاط في النص تمامًا */
.timeline-dot {
  position: absolute;
  right: 50%;
  top: 45px;
  transform: translateX(50%);
  width: 12px;
  height: 12px;
  background: #3c8dbc;
  border-radius: 50%;
  z-index: 5;
}


/* الكارت */
.content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  position: relative;
}

.content h3 {
  color: #0a3d62;
  font-size: 18px;
  margin-bottom: 10px;
}

.content p {
  color: #555;
  line-height: 1.8;
  font-size: 14px;
}

/* الأيقونة */
.icon {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #eaf4fb;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3c8dbc;
}

/* موبايل */
@media (max-width: 768px) {
  .timeline::before {
    right: 20px;
  }

  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    width: 100%;
    margin: 0;
    padding-right: 50px;
  }

  .timeline-item::after {
    right: 14px;
  }
}

.slider-box {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: auto;
  padding-bottom: 40px; /* مساحة للنقطة */
  background: #f9f9f9;
  border-radius: 16px;
  text-align: center;
}

.dots {
  position: absolute;
  bottom: 12px;          /* جوه البوكس */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  background: #bbb;
  border-radius: 50%;
}

.dot.active {
  background: #333;
}

@media (max-width: 768px) {

  .timeline::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
  }

}
/* تأثير الهور على كل كارت في التايملاين */
.content {
  transition: all 0.3s ease; /* حركة ناعمة */
}

.content:hover {
  transform: translateY(-10px); /* يطلع فوق شويه */
  box-shadow: 0 20px 35px rgba(0,0,0,0.15); /* زيادة الظل */
}


/* الوضع الليلي */
body.dark .treatment-timeline {
  background: #1c1c1c;
}

body.dark .treatment-timeline h2,
body.dark .subtitle,
body.dark .content h3,
body.dark .content p {
  color: #f0f0f0;
}

body.dark .timeline::before {
  background: #555;
}

body.dark .timeline-dot {
  background: #888;
}

body.dark .content {
  background: #2c2c2c;
  box-shadow: 0 10px 25px rgba(0,0,0,.5);
}

body.dark .icon {
  background: #444;
  color: #fff;
}

body.dark .slider-box {
  background: #2c2c2c;
}

body.dark .dot {
  background: #666;
}

body.dark .dot.active {
  background: #fff;
}

.hero {
  width: 100%;
  background: linear-gradient(180deg, #f8fcff, #ffffff);
  padding: 70px 20px;
  font-family: "Tajawal", sans-serif;
}

.hero-container {
  width: 95%;
  max-width: 1200px;
  margin: auto;
  flex-direction: row-reverse;
  display: flex;
  gap: 50px;
  align-items: center;
}

.hero-image {
  position: relative;
  flex: 1;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  text-align: center;
}

.badge span {
  display: block;
  font-size: 18px;
  font-weight: bold;
}

.badge small {
  font-size: 13px;
  color: #666;
}

.badge i {
  color: #0d9cff;
  margin-top: 5px;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-tag {
  background: #e9f6ff;
  color: #0d9cff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 15px;
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.hero-content h1 span {
  color: #0d9cff;
}

.hero-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 35px;
}

.btn {
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 15px;
  text-decoration: none;
  transition: 0.3s;
}

.btn.primary {
  background: #0d9cff;
  color: #fff;
}

.btn.primary:hover {
  background: #0b85d6;
}

.btn.outline {
  border: 2px solid #0d9cff;
  color: #0d9cff;
}

.btn.outline:hover {
  background: #0d9cff;
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 40px;
  align-items: center;
}

.hero-stats div strong {
  font-size: 26px;
  color: #0d9cff;
}

.hero-stats div span {
  display: block;
  font-size: 14px;
  color: #666;
}

/* ريسبونسيف */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .badge {
    right: 50%;
    transform: translateX(50%);
  }

  .team-intro-card{
    padding:24px 20px;
  }

  .team-intro-card a{
    grid-template-columns:1fr;
    text-align:center;
  }
}

.success-stories {
  width: 100%;
  background: linear-gradient(180deg, #0a7bbd, #0a6aa3);
  padding: 80px 20px;
  color: #fff;
  font-family: "Tajawal", sans-serif;
  text-align: center;
}

.section-header {
  margin-bottom: 40px;
}

.section-tag {
  opacity: .85;
  font-size: 15px;
}

.section-header h2 {
  font-size: 36px;
  margin: 10px 0;
}

.story-card {
  width: 95%;
  max-width: 1100px;
  margin: auto;
  background: rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  backdrop-filter: blur(8px);
}

.story-text {
  flex: 1;
  text-align: right;
}

.quote-icon {
  font-size: 42px;
  color: #ffd54f;
  margin-bottom: 15px;
}

.story-text p {
  line-height: 1.9;
  margin-bottom: 20px;
}

.story-images {
  display: block;
  gap: 20px;
}

.img-box {
  border-radius: 16px;
  overflow: hidden;
}

.img-box img {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
}

.img-box.after img {
  border: 3px solid #ffd54f;
}

.label {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,.6);
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 20px;
}

.after-label {
  background: #ffd54f;
  color: #000;
}

.slider-controls {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.slider-controls button {
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
}

.dots span {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,.5);
  display: inline-block;
  border-radius: 50%;
  margin: 0 4px;
  cursor: pointer;
}

.dots .active {
  width: 20px;
  border-radius: 20px;
  background: #fff;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #0a7bbd;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  transition: .3s;
}

.view-all:hover {
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .story-card {
    flex-direction: column;
    text-align: center;
  }

  .story-text {
    text-align: center;
  }
}
      

        :root {
            /* ألوان وضع اللايت */
            --bg-color: #f8f9fa;
            --card-bg: #ffffff;
            --text-color: #333333;
            --primary-color: #1976d2;
            --secondary-color: #d32f2f;
            --accent-color: #388e3c;
            --border-color: #e0e0e0;
            --timeline-color: #1976d2;
            --shadow-color: rgba(0, 0, 0, 0.08);
            --hover-shadow: rgba(0, 0, 0, 0.12);
        }



        /* شريط التحكم */
        .control-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding: 15px 20px;
            background-color: var(--card-bg);
            border-radius: 10px;
            box-shadow: 0 2px 10px var(--shadow-color);
        }

        .mode-toggle {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 30px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .slider {
            background-color: #1976d2;
        }

        input:checked + .slider:before {
            transform: translateX(30px);
        }


        /* تنسيق المخطط الزمني */
        .timeline-container {
            position: relative;
            padding: 40px 0;
        }

        .timeline-line {
            position: absolute;
            right: 50%;
            transform: translateX(50%);
            width: 4px;
            height: 100%;
            background-color: var(--timeline-color);
            border-radius: 2px;
        }

        .timeline-items {
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        .timeline-item {
            position: relative;
            width: 100%;
            display: flex;
        }

        .timeline-item:nth-child(odd) {
            justify-content: flex-start;
            padding-left: 0;
            padding-right: calc(50% + 40px);
        }

        .timeline-item:nth-child(even) {
            justify-content: flex-end;
            padding-left: calc(50% + 40px);
            padding-right: 0;
        }

        .timeline-content {
            background-color: var(--card-bg);
            border-radius: 12px;
            padding: 25px;
            width: 100%;
            box-shadow: 0 5px 15px var(--shadow-color);
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
        }

        .timeline-content:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 12px 25px var(--hover-shadow);
        }

        .timeline-time {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .timeline-month {
            color: var(--primary-color);
            font-weight: bold;
            font-size: 1.5rem;
        }

        .timeline-year {
            color: var(--accent-color);
            font-weight: bold;
            font-size: 1.2rem;
            background-color: rgba(56, 142, 60, 0.1);
            padding: 5px 15px;
            border-radius: 20px;
        }

        .timeline-desc {
            color: var(--text-color);
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .timeline-procedure {
            background-color: rgba(211, 47, 47, 0.1);
            border-right: 4px solid var(--secondary-color);
            padding: 15px;
            margin-top: 15px;
            border-radius: 8px;
        }

        .timeline-dot {
            position: absolute;
            right: 50%;
            transform: translateX(50%);
            width: 24px;
            height: 24px;
            background-color: var(--timeline-color);
            border-radius: 50%;
            border: 4px solid var(--bg-color);
            z-index: 1;
            transition: all 0.3s;
        }

        .timeline-item:hover .timeline-dot {
            transform: translateX(50%) scale(1.3);
            background-color: var(--secondary-color);
        }

        /* السنوات بعد 18 شهر */
        .yearly-timeline {
            margin-top: 50px;
        }

        .year-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .year-card {
            background-color: var(--card-bg);
            border-radius: 12px;
            padding: 25px;
            text-align: center;
            box-shadow: 0 5px 15px var(--shadow-color);
            border: 2px solid var(--border-color);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .year-card:hover {
            transform: translateY(-8px);
            border-color: var(--primary-color);
            box-shadow: 0 10px 25px var(--hover-shadow);
        }

        .year-number {
            color: var(--primary-color);
            font-size: 2.2rem;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .year-label {
            color: var(--text-color);
            font-size: 1.1rem;
            opacity: 0.8;
        }

        /* التخصيص للهواتف */
        @media (max-width: 768px) {
            .timeline-line {
                right: 30px;
            }

            .timeline-item:nth-child(odd),
            .timeline-item:nth-child(even) {
                padding-right: 70px;
                padding-left: 0;
                justify-content: flex-start;
            }

            .timeline-dot {
                right: 26px;
            }

            h1 {
                font-size: 2rem;
            }

            h2 {
                font-size: 1.6rem;
            }

            .year-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }

            .medical-section {
                padding: 20px;
            }
        }

        @media (max-width: 480px) {
        

            .control-bar {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }

            .timeline-content {
                padding: 20px;
            }

            .timeline-month {
                font-size: 1.3rem;
            }

            .year-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .year-card {
                padding: 20px;
            }

            .year-number {
                font-size: 1.8rem;
            }
        }

        /* كود التبديل بين الوضعين */
        .mode-label {
            font-weight: bold;
            color: var(--text-color);
        }

        footer {
            text-align: center;
            margin-top: 60px;
            padding-top: 30px;
            border-top: 2px solid var(--border-color);
            color: var(--text-color);
            opacity: 1;
            font-size: 0.95rem;
        }

a {
  text-decoration: none;
}
.form-wrapper {
  max-width: 900px;
  margin: 40px auto;
  padding: 16px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* iframe نفسه */
.form-wrapper iframe {
  width: 100%;
  height: 900px;
  border: none;
  border-radius: 14px;
}

/* موبايل */
@media (max-width: 768px) {
  .form-wrapper {
    margin: 20px 12px;
    padding: 10px;
    border-radius: 14px;
  }

  .form-wrapper iframe {
    height: 1100px;
    border-radius: 10px;
  }
}
body.dark .form-wrapper {
  background: #1e1e1e;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.dark .hero {
  background: #020617;
  color: #e5e7eb;
}

.dark .success-stories {
  background: #111827; /* دارك مختلف عن الهيرو */
  color: #e5e7eb;
}

/* نصوص وألوان */
.dark .hero h1,
.dark .success-stories h2,
.dark .story-text h4 {
  color: #ffffff;
}

.dark .hero p,
.dark .success-stories p,
.dark .story-text p,
.dark .story-text span {
  color: #cbd5f5;
}

/* كروت داخل Success Stories */
.dark .story-card,
.dark .img-box {
  background: #1f2937; /* مختلف عن الهيرو عشان الفصل واضح */
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}

/* صور */
.dark .hero img,
.dark .success-stories img {
  filter: brightness(0.9) contrast(1.05);
}
.legacy-fixed-toggles #darkToggle,
.legacy-fixed-toggles #langToggle {
  position: fixed;
  top: 10px; /* تحت النافبار */
  z-index: 9999;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* الشمال */
.legacy-fixed-toggles #darkToggle {
  left: 15px;
}

/* اليمين */
.legacy-fixed-toggles #langToggle {
  right: 15px;
}

/* Common mistakes section */
.mistakes-section {
  max-width: 1200px;
}

.mistakes-intro {
  text-align: center;
  margin: 0 auto 20px;
  max-width: 760px;
  color: #3d4b63;
  line-height: 1.8;
}

.mistakes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mistake-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(1, 43, 115, 0.1);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(7, 38, 94, 0.08);
}

.mistake-badge {
  display: inline-block;
  background: #ffe9e9;
  color: #a11b1b;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.mistake-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: #0b2e75;
}

.mistake-card p {
  margin: 0 0 10px;
  color: #334155;
  line-height: 1.75;
}

.mistake-card strong {
  color: #0f7b28;
}

body.dark .mistakes-intro {
  color: #c3d2e8;
}

body.dark .mistake-card {
  background: linear-gradient(180deg, #1a2538 0%, #121a2b 100%);
  border-color: rgba(156, 196, 255, 0.2);
}

body.dark .mistake-card h3 {
  color: #dbeafe;
}

body.dark .mistake-card p {
  color: #c4d4eb;
}

@media (max-width: 900px) {
  .mistakes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .mistakes-grid {
    grid-template-columns: 1fr;
  }
}

.urgent-contact-section {
  max-width: 1200px;
}

.urgent-contact-box {
  background: linear-gradient(180deg, #fff7f7 0%, #fff 100%);
  border: 1px solid rgba(185, 28, 28, 0.18);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(185, 28, 28, 0.08);
}

.urgent-contact-box h2 {
  margin: 0 0 10px;
  color: #991b1b;
}

.urgent-note {
  margin: 0 0 14px;
  color: #5f1d1d;
  line-height: 1.8;
}

.urgent-list {
  margin: 0 0 18px;
  padding: 0 20px 0 0;
}

.urgent-list li {
  margin-bottom: 8px;
  color: #3f2a2a;
  line-height: 1.8;
}

.urgent-list li::marker {
  color: #dc2626;
}

.urgent-cta {
  display: inline-flex;
}

body.dark .urgent-contact-box {
  background: linear-gradient(180deg, #2a1515 0%, #1a1111 100%);
  border-color: rgba(248, 113, 113, 0.28);
}

body.dark .urgent-contact-box h2 {
  color: #fca5a5;
}

body.dark .urgent-note,
body.dark .urgent-list li {
  color: #f8d0d0;
}

@media (max-width: 768px) {
  .urgent-contact-box {
    padding: 16px;
  }
}

.quick-contact-section,
.downloads-section,
.myths-section {
  max-width: 1200px;
}

.quick-contact-box {
  text-align: center;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
  border: 1px solid rgba(1, 43, 115, 0.12);
  border-radius: 16px;
  padding: 20px;
}

.quick-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 8px;
}

.quick-contact-box small {
  color: #4b5b74;
}

.downloads-intro {
  text-align: center;
  color: #41526d;
  margin: 0 auto 14px;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.download-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(1, 43, 115, 0.1);
  box-shadow: 0 10px 22px rgba(7, 38, 94, 0.08);
}

.download-card strong {
  color: #0b2e75;
}

.download-card span {
  color: #475569;
}

.myths-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.myth-card {
  background: #fff;
  border: 1px solid rgba(1, 43, 115, 0.1);
  border-radius: 14px;
  padding: 16px;
}

.myth-wrong {
  color: #b91c1c;
  font-weight: 700;
}

.myth-right {
  color: #15803d;
  font-weight: 700;
}

.myth-card p {
  margin: 6px 0 10px;
  color: #334155;
}

body.dark .quick-contact-box,
body.dark .download-card,
body.dark .myth-card {
  background: #162235;
  border-color: rgba(156, 196, 255, 0.2);
}

body.dark .quick-contact-box small,
body.dark .downloads-intro,
body.dark .download-card span,
body.dark .myth-card p {
  color: #c4d4eb;
}

body.dark .download-card strong {
  color: #dbeafe;
}

@media (max-width: 900px) {
  .downloads-grid,
  .myths-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .downloads-grid,
  .myths-grid {
    grid-template-columns: 1fr;
  }
}

/* Journey progress helper */
.journey-progress {
  max-width: 920px;
  margin: 0 auto 28px;
  padding: 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(1, 43, 115, 0.12);
  box-shadow: 0 8px 24px rgba(7, 38, 94, 0.08);
}

.journey-progress label {
  display: block;
  margin-bottom: 8px;
  color: #012b73;
  font-weight: 700;
}

.journey-progress select {
  width: 100%;
  border: 1px solid #d3e3ff;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: "Tajawal", sans-serif;
  background: #f8fbff;
  color: #0f172a;
}

.journey-meter {
  margin-top: 12px;
  height: 10px;
  border-radius: 999px;
  background: #e7eefb;
  overflow: hidden;
}

#journeyMeterFill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0d9cff 0%, #36c3ff 100%);
  transition: width 0.35s ease;
}

.journey-status {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.journey-status strong {
  color: #0b3a8c;
  font-size: 18px;
}

.journey-status span {
  color: #334155;
}

.timeline-item.is-current .timeline-content {
  border: 2px solid #0d9cff;
  box-shadow: 0 14px 30px rgba(13, 156, 255, 0.16);
}

.timeline-item.is-done .timeline-content {
  border: 1px solid rgba(56, 142, 60, 0.32);
  background: linear-gradient(180deg, #f8fff8 0%, #ffffff 100%);
}

img[loading="lazy"] {
  content-visibility: auto;
}

@media (max-width: 768px) {
  .journey-progress {
    margin-bottom: 18px;
    padding: 14px;
  }

  .journey-status strong {
    font-size: 16px;
  }
}


