/* ===== RESET ===== */
* {
  font-family: 'Cairo', sans-serif;
    margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  margin:0;
  direction: rtl;
  background:#f9f9f9;
  line-height:1.8;
    padding-top:110px;
      padding-bottom:60px;


}


/* ===== HEADER ===== */
.header{
  position: fixed;
  top:0;
  right:0;
  width:100%;
  background:#ffffff;
  padding:10px 0;
  z-index:9999;
  margin-bottom: 0;
    border-bottom:1px solid #eee; /* 👈 مهم */

}

.header-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* اللوجو */
.logo img{
  height:55px;
}

/* NAVBAR */
.navbar ul{
  list-style:none;
  display:flex;
  gap:30px;
  margin:0;
  padding:0;
  align-items:center;

}

.navbar a{
  text-decoration:none;
  color:#030303;
  font-weight:600;
  font-size: 16px;
}
.navbar li {
  position: relative;
}.dropdown > a {
  display: flex;
  align-items: center;
}
/* dropdown */
.dropdown{
  position:relative;
}


.dropdown ul{
  position: absolute;
  top: calc(100% );

  right: 0;   /* يمين العنصر */
  
  background:#fff;
  display:none;

  min-width:250px;
  max-height:300px;   /* 👈 مهم */
  overflow-y:auto;    /* 👈 اسكرول */

  padding:15px;

  box-shadow:0 5px 20px rgba(0,0,0,0.1);
  border-radius:10px;
  z-index:10000;
}.dropdown:hover ul{
  display: block;
}.dropdown:hover ul{
  display: block;
}.dropdown ul{
  right: -20px;
}
/* زر الموبايل */
.menu-toggle{
  display:none;
  font-size:28px;
  cursor:pointer;
}

/* ===== MOBILE MENU ===== */
.mobile-menu{
  position:fixed;
  top:0;
  right:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.7);
  display:none;
  z-index:99999;
}

.mobile-box{
  width:90%;
  height:90vh;
  background:#fff;
  margin:20px auto;
  border-radius:15px;
  padding:20px;
  position:relative;
}

.close-menu{
  position:absolute;
  top:10px;
  left:15px;
  font-size:22px;
  cursor:pointer;
}

/* روابط */
.mobile-box a{
  display:block;
  margin:20px 0;
  text-decoration:none;
  color:#0b5fae;
  font-weight:600;
}

/* dropdown موبايل */
.mobile-dropdown{
  margin-top:15px;
}

.dropdown-toggle{
  cursor:pointer;
  color: #0b5fae;
}

.dropdown-menu{
  display:none;
  margin-top:10px;
}

.mobile-dropdown.active .dropdown-menu{
  display:block;
}

/* active */
.mobile-menu.active{
  display:block;
}

/* ===== RESPONSIVE ===== */
@media (max-width:768px){

  .navbar{
    display:none;
  }

  .menu-toggle{
    display:block;
  }
 .cta{
    flex-direction: row;
    gap:10px;
  }

  .btn{
    flex:1;
    font-size:14px;
    padding:12px;
    margin-bottom: 10px;
  }
}


.navbar {
  margin-right: 40px;
}

.mobile-box{
  overflow-y: auto;
}


/*  */

/* .main-content{
  font-family: 'Cairo', sans-serif;
} */

/* HERO */
.hero{
  background:#0b5fae;
  color:#fff;
  text-align:center;
  padding:60px 20px;
}

.hero h1{
  font-size:28px;
  margin-bottom:15px;
}

.hero p{
  font-size:16px;
}



/*  */


/* ===== HEADER ===== */
.tit{
  background:#0b5fae;
  color:#fff;
  padding:25px 15px;
  text-align:center;
  /* margin-top: 40px; */
}

.tit h1{
  font-size:26px;
  line-height:1.5;
  color: #fff;
}

/* ===== CONTAINER ===== */
.container{
  width:90%;
  max-width:1100px;
  margin:auto;
  padding:20px 0;
}

/* ===== SECTION ===== */
.section{
  background:#fff;
  margin-bottom:20px;
  padding:25px;
  border-radius:10px;
  box-shadow:0 3px 15px rgba(0,0,0,0.05);
   margin-bottom:25px;
  padding:30px;
}

/* ===== HEADINGS ===== */
h2{
  margin-bottom:15px;
  color:#0b5fae;
  font-size:22px;
}

p{
  margin-bottom:15px;
  font-size:16px;
}

/* ===== LIST ===== */
ul{
  list-style:none;
}


ul li{
  padding:10px 0;
  position:relative;
  padding-right:20px;
}

ul li::before{
  /* content:"✔"; */
  position:absolute;
  right:0;
  color:#0b5fae;
}
/* ===== CTA ===== */
.cta{
  text-align:center;
  margin:30px 0;
}

.btn{
  display:inline-block;
  padding:12px 25px;
  background:#0b5fae;
  color:#fff;
  border-radius:8px;
  text-decoration:none;
  font-weight:bold;
  transition:0.3s;
}

.btn:hover{
  background:#0b5fae;
}

/* ===== MOBILE CALL BAR ===== */
.mobile-call-bar{
  position:fixed;
  bottom:0;
  right:0;
  width:100%;
  background:#0b5fae;
  text-align:center;
  padding:12px;
  z-index:9999;
}

.mobile-call-bar a{
  color:#fff;
  text-decoration:none;
  font-size:18px;
  font-weight:bold;
}

/* ===== FOOTER ===== */
/* ===== FOOTER ===== */
.footer{
  background:#f1f4f7;
  padding:40px 20px;
  direction:rtl;
}

/* الجزء العلوي */
.footer-top{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.footer-box{
  flex:1;
  min-width:220px;
  text-align:center;
}

.footer-box .icon{
  font-size:28px;
  color:#0b5fae;
  margin-bottom:10px;
}

.footer-box h3{
  font-size:16px;
  color:#0b5fae;
  margin-bottom:10px;
}

.footer-box p{
  font-size:14px;
  color:#555;
  line-height:1.8;
}

/* النص */
.footer-text{
  text-align:center;
  margin-top:30px;
  font-size:13px;
  color:#666;
  line-height:1.8;
}

/* الحقوق */
.footer-bottom{
  text-align:center;
  margin-top:20px;
  font-size:14px;
}

.footer-bottom span{
  display:block;
  margin-top:5px;
  color:#888;
}

/* ===== موبايل ===== */
@media (max-width:768px){

  .footer-top{
    flex-direction:column;
   direction: rtl;
       text-align: right;   /* 👈 يخلي كل الكلام يمين */

  }

  .footer-box{
    margin-bottom:20px;
  }
  .footer,
  .footer-box,
  .footer-box p,
  .footer-box h3{
    text-align: right;   /* 👈 مهم للفوتر */
  }

  .footer-top{
    align-items: flex-start; /* 👈 يخلي العناصر تبدأ من اليمين */
  }
}

/* ===== FAQ ===== */
details{
  margin-bottom:10px;
  background:#f5f5f5;
  padding:10px;
  border-radius:6px;
  cursor:pointer;
}

summary{
  font-weight:bold;
}

/* ===== RESPONSIVE ===== */
@media (max-width:768px){

  header h1{
    font-size:20px;
  }

  .section{
    padding:15px;
    
  }

  .btn{
    width:100%;
    display:block;
  }

}

.navbar a:hover{
  color:#0b5fae;
}



/* 
 */


body {
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  user-select: none; 
}
/* ===== additions ===== */
.txt-logo{font-weight:700;color:#0b5fae;font-size:18px;text-decoration:none;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.txt-logo b{background:#0b5fae;color:#fff;padding:2px 10px;border-radius:8px;font-size:17px}
.crumbs{font-size:14px;color:#666;margin:0 0 15px}
.crumbs a{color:#0b5fae;text-decoration:none}
.section h3{color:#0b5fae;font-size:18px;margin:18px 0 8px}
.pg-img{display:block;max-width:100%;height:auto;max-height:420px;width:auto;margin:15px auto;border-radius:12px;object-fit:contain}
.tbl-wrap{overflow-x:auto;margin:15px 0}
.data-table{width:100%;border-collapse:collapse;font-size:15px;min-width:520px}
.data-table th{background:#0b5fae;color:#fff;padding:10px;text-align:right}
.data-table td{padding:10px;border-bottom:1px solid #e6e9f2;vertical-align:top}
.data-table tr:nth-child(even) td{background:#f6f8fd}
.data-table a{color:#0b5fae}
ul.ticks li::before{content:"✔";color:#0b5fae}
ol.steps{padding-right:22px;margin-bottom:15px}
ol.steps li{padding:6px 0}
.link-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.link-grid a{display:block;background:#f3f5fb;border:1px solid #e1e6f3;border-radius:8px;padding:10px 12px;color:#0b5fae;text-decoration:none;font-weight:600;font-size:15px}
.link-grid a:hover{background:#0b5fae;color:#fff}
.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.post-card{display:block;background:#fff;border:1px solid #e6e9f2;border-radius:12px;overflow:hidden;text-decoration:none;color:#222}
.post-card img{width:100%;height:170px;object-fit:cover;background:#eef1f8}
.post-card h3{font-size:17px;color:#0b5fae;margin:8px 12px}
.post-card p{font-size:14px;margin:0 12px 12px;color:#555}
.pc-date{display:block;font-size:12px;color:#888;margin:8px 12px 0}
.meta{font-size:13px;color:#777}
.cta .btn{margin:5px}
.whatsapp-btn{background:#25D366 !important}
.mobile-call-bar{display:flex;padding:0}
.mobile-call-bar a{flex:1;padding:12px;display:block;text-align:center}
.mobile-call-bar a.wa{background:#25D366}
.footer-links-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px;max-width:1100px;margin:0 auto 25px}
.footer-links-grid h3{font-size:16px;color:#0b5fae;margin-bottom:8px}
.footer-links-grid a{display:block;color:#444;text-decoration:none;font-size:14px;padding:3px 0}
.footer-bottom a{color:#0b5fae}
.navbar ul{gap:18px}
.navbar a{font-size:15px}
@media (max-width:1100px){.navbar{display:none}.menu-toggle{display:block}}
.navbar a{white-space:nowrap;font-size:14.5px}
.navbar ul{gap:16px}
.navbar{margin-right:20px}
.header{padding:8px 0}
@media (max-width:1180px){.navbar{display:none}.menu-toggle{display:block}}
/* mobile menu button (inner pages) */
.menu-toggle{width:46px;height:46px;border-radius:10px;background:#0b5fae;color:#fff;font-size:26px;line-height:46px;text-align:center;box-shadow:0 4px 12px rgba(11,95,174,.3);flex:0 0 46px}
@media (max-width:1180px){.menu-toggle{display:block !important}}
.mobile-box a{margin:0;padding:12px 6px;border-bottom:1px solid #eef0f6;font-size:16px}
.mobile-dropdown{margin:0;border-bottom:1px solid #eef0f6}
.dropdown-toggle{padding:12px 6px;font-weight:700;font-size:16px}
.dropdown-menu a{padding:9px 16px;font-size:15px;border-bottom:none;font-weight:600}
.mobile-dropdown.active .dropdown-menu{background:#f4f6fc;border-radius:10px;margin-bottom:10px}
.close-menu{width:36px;height:36px;line-height:36px;text-align:center;border-radius:50%;background:#0b5fae;color:#fff;font-size:18px}
.mobile-box{padding-top:56px}
