@font-face {
    font-family: "primaryfont";
    src: url("../fonts/DroidKufi-Regular.ttf");
}


:root{
  --primary-color: #006d63;
  --sec-color:#b4d9d7;
  --body-bg:#fdfdfd;
  /* ==== btns ===== */
  --btn-bg-color:#006d63;
  --btn-bg-hover-color:#008e81;
  --btn-color:white;
  --btn-hover-color:white;
  /* ==== btns === */
  --primary-dark-color:#002220;
  --title-color:black;
  --text-color:#606060;
  --box-shadow:1px 1px 6px rgba(0,0,0,.1);
  --white-color:white;
  --grey-color:#404040;
  --transtion:all .5s ease;
  --border-raduis:5px;
  --menu-bg:#0b6862;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  color: var(--text-color);
}

p{
  text-align: justify;
}

html{
  overflow-x: hidden;
}

ul{
  padding: 0;
}
section{
  margin: 50px 0;
  padding: 20px 0;
}
h1,h2,h3,h4,h5,h6{
  color:var(--title-color);
}

h1{
  font-size: 30px;
}

h2{
  font-size: 27px;
}

h3{
  font-size: 24px;
}


h4{
  font-size: 21px;
}

h5{
  font-size: 17px;
}

h6{
  font-size: 15px;
}
body{
  direction: rtl;
  font-family: 'primaryfont';
  font-size: 14px;
}

.c-btn{
  display: flex;
  align-items: center;
  padding: 10px;
  color: var(--btn-color) !important;
  background: var(--btn-bg-color) !important;
  font-size: 12px;
  border: none;
  border-radius: var(--border-raduis);
  transition:  var(--transtion)
}

@media screen and (max-width:770px) {
  .c-btn{
    font-size: 12px;
    min-width: auto;
  }
}
.c-btn:hover{
  background-color: var(--btn-bg-hover-color) !important;
  color: var(--btn-hover-color) !important; 
}
a{
  font-size: 14px;
}

/* =================================== Start header ========================================== */
.top-header{
  padding: 10px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}



.right-side{
  display: flex;
  gap: 20px;
}
.logo-side{
  position: relative;
}
.logo-side::after{
  content: '';

  width: 1px;
  height: 100%;
  background-color: var(--grey-color);
  position: absolute;
}


#logo img{
  max-height: 80px;
  width: 90%;
}

.spilter{
  width: 2px;
  height: 100%;
}

.info-side{
  display: flex;
  gap: 5px;
  align-items: center;
}

@media  screen and (max-width:770px) {
  .info-side{
    flex-direction: column;
    align-items: center;
  }
}
.info-side .call-icon{
  width: 30px;
  height: 30px;
  padding: 10px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width:770px) {
  .info-side .call-icon{
    width: 15px;
    height: 15px;
  }
}


.info-side .call-icon svg path{
  fill:var(--white-color)
}

.info-content > span{
  display: block;
}

@media  screen and (max-width:770px) {
  .info-content span{
    text-align: center;
    font-size: 12px;
  }
}

.info-content span:first-child{
  color:var(--primary-color);
  font-size: 15px;
  font-weight: bold;
}
.cart-header{
  padding: 8px 12px;
  border: 1px solid var(--grey-color);
  border-radius: var(--border-raduis);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cart-header .cart-counter{
  position: absolute;
  top: -15px;
  right: -11px;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: red;
  color: white;
  border-radius: 50%;
}

.left-side{
  display: flex;
  height: 100%;
  align-items: center;
}
#my_account_btn{
  font-size: 13px;
  font-weight: bold;
}
#my_account_btn svg{
  width: 10px;
  height: 10px;
  padding: 0 3px;
}
#my_account_btn svg path{
  color: var(--btn-color);
}

.mid-header{
  padding: 20px 10px;
  background-color: var(--menu-bg);
}




/* ✅ Hover Dropdown في الشاشات الكبيرة فقط */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .navbar-nav .dropdown:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

/* ✅ تحسينات اختيارية */
.dropdown-toggle::after {
  display: none !important;
}

.navbar-toggler {
  border: none;
}

.offcanvas {
  /* background-color: #004d4d; */
  color: #fefefe;
  width: 250px !important;
}

.offcanvas .nav-link,
.offcanvas .dropdown-item {
  color: #fff;
}

.offcanvas .nav-link:hover,
.offcanvas .dropdown-item:hover {
  /* background-color: rgba(255, 255, 255, 0.1); */
}

.side-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu .side-dropdown-item,
.menu_block.single {
  border-bottom: 1px solid #eee;
}

.side-menu .side-dropdown-item > a {
  display: flex;
  align-items: center;
  padding: 10px;
  text-decoration: none;

  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 12px;
  color: black;
}

.side-menu .side-dropdown-item > a:hover {
  /* background-color: var(--grey-color); */
}

.side-menu .dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background-color: #fff;
  padding: 0 15px;
}

.side-menu .dropdown-content.open {
  max-height: 1000px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.side-menu .dropdown-toggle:has( .open){
  background-color: #f8f8f8;
}
.side-menu .side-dropdown-item.active > .dropdown-toggle{
  background-color: var(--primary-color);
  color: var(--white-color);
}
.side-menu .side-dropdown-item.active > .dropdown-toggle path{
  fill: white;
}
.side-menu .side-dropdown-item.active,
.side-menu .dropdown-content.open{
  background-color: #f8f8f8;
}

.menu_block.single {
  padding: 6px 0;
}

.menu_block.single a {
  padding: 8px 10px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
  color: black;
  font-size: 12px;
  font-weight: normal;
  display: block;
}

.menu_block.single a:hover {
  background-color: #ddd;
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.toggle-icon.rotate {
  transform: rotate(180deg);
}
.mid-header nav{
  flex-wrap: wrap !important;
}
#navbarSupportedContent .navbar-nav{
  display: flex;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}

#navbarSupportedContent > ul >  li a:not(.dropdown-item),
#navbarSupportedContent > ul >  li a:not(.dropdown-item) svg path,
#navbarSupportedContent > ul >  li a:not(.dropdown-item) i{
  color: var(--white-color);
}

#navbarSupportedContent li{
  font-size: 12px;
}

#navbarSupportedContent > ul >  li.nav-item:not(.dropdown){
  padding: 5px 10px;
  transition: all 0.3 ease;
  border-radius: 5px;
  font-size: 12px;
}

#navbarSupportedContent > ul >  li.nav-item:not(.dropdown):hover{
  background-color: var(--primary-dark-color);
}

.mid-header .navbar-brand{
  color: var(--white-color);
}
.mid-header .navbar-toggler{
  outline: none;
  background-color: var(--primary-dark-color);
  padding: 10px;
}
.mid-header .navbar-toggler svg path{
  color: var(--white-color);
}
.mid-header .offcanvas-body{
  padding: 0;
}

.side-dropdown-item .toggle-icon{
  position: absolute;
  left: 10px;
}
.side-dropdown-item  path{
  color: black;
}

header .btn.c-btn{
  gap: 10px;
}
header .btn.c-btn svg path{
  fill: white;
}



/* =================================== End header ========================================== */


/*====================================== start hero section========================================== */
.Hero-section{
  height: 500px;     /* بدل min-height */
}

.HeroSlider{
  height: 100%;
  background-color: #444;
}

.HeroSlider .swiper-wrapper,
.HeroSlider .swiper-slide{
  height: 100%;
  background-size: cover;
}

.HeroSlider .swiper-slide{
  background-repeat: no-repeat;
}

@media screen and (max-width:770px) {
  .Hero-section{
    height: 300px;
  }
  .HeroSlider .swiper-wrapper,
  .HeroSlider .swiper-slide{
    background-repeat: no-repeat;
    background-size: cover;
  }
}
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper {
  margin-left: auto;
  margin-right: auto;
}

.swiper-button-next, .swiper-button-prev{
  color: var(--primary-color);
  background-color: #18181857;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  box-shadow: 0px 1px 5px 0px #000000c7;
}
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after{
  font-size: 20px;
  font-weight: bold;
}
.swiper-pagination-bullet-active{
  background-color: var(--primary-color);
}
.swiper-pagination-bullet{
  width: 12px;
  height: 12px;
}
/*====================================== End hero section========================================== */


/* ================================== start about us section ===================================== */



.about-section .content-column{
	position:relative;
	margin-bottom:40px;
}

.about-section .content-column .inner-column{
	position:relative;
	padding-top:50px;
	padding-right:100px;
}

@media screen and (max-width:770px) {
  .about-section .content-column .inner-column{
    padding-right: 0;
  }
}

.about-section .content-column .text{
	position:relative;
	color:#777777;
	font-size:15px;
	line-height:2em;
	margin-bottom:40px;
}

.about-section .content-column .email{
	position:relative;
	color:#252525;
	font-weight:700;
	margin-bottom:50px;
}

.about-section .image-column{
	position:relative;
	margin-bottom:50px;
}

.about-section .image-column .inner-column{
	position:relative;
	padding:40px 40px 0px 0px;
	margin-left:50px;
}

.about-section .image-column .inner-column:after{
	position:absolute;
	content:'';
	right:0px;
	top:0px;
	left:40px;
	bottom:100px;
	z-index:-1;
	border:2px solid var(--primary-color);
}

.about-section .image-column .inner-column .image{
	position:relative;
}

.about-section .image-column .inner-column .image:before{
	position:absolute;
	content:'';
	left:-50px;
	bottom:-50px;
	width:299px;
	height:299px;
	background:url(img/pattern-2.png) no-repeat;
}

.about-section .image-column .inner-column .image img{
	position:relative;
	width:100%;
	display:block;
}

.about-section .image-column .inner-column .image .overlay-box{
	position:absolute;
	left:40px;
	bottom:48px;
}

.about-section .image-column .inner-column .image .overlay-box .year-box{
	position:relative;
	color:#252525;
	font-size:24px;
	font-weight:700;
	line-height:1.4em;
	padding-left:125px;
}

.about-section .image-column .inner-column .image .overlay-box .year-box .number{
	position:absolute;
	left:0px;
	top:0px;
	width:110px;
	height:110px;
	color:var(--primary-color);
	font-size:68px;
	font-weight:700;
	line-height:105px;
	text-align:center;
	background-color:#ffffff;
	border:1px solid #000000;
}
.about-section .c-btn{
  width: fit-content;
}


.sec-title2{
	color:#fff;
}
.sec-title {
    position: relative;
    padding-bottom: 40px;
}
.sec-title .title {
    position: relative;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    padding-left: 50px;
    margin-bottom: 15px;
    display: inline-block;
    text-transform: capitalize;
}
.sec-title .title:before {
    position: absolute;
    content: '';
    left: 0px;
    bottom: 7px;
    width: 40px;
    height: 1px;
    background-color: #bbbbbb;
}
/* ================================== End about us section ===================================== */

/* ========================== start my projects ============================================== */
.projects{
  background-color: var(--sec-color);
  overflow: hidden;
}
    .my-projects.swiper-container {
      width: 100%;
      padding-top: 50px;
      padding-bottom: 80px; /* مساحة للدوتس */
      position: relative;
    }
    .my-projects a{
      width: 100%;
    }

    .my-projects .swiper-slide {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      width: 300px;
      height: 400px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
      transition: transform 0.3s;
    }

    .my-projects  .generic_block1 {
      text-decoration: none;
      color: inherit;
      display: block;
      height: 100%;
    }

    .my-projects .image_container {
      height: 82%;
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .my-projects  .overlay {
      position: absolute;
      bottom: 0;
      width: 100%;
      background: var(--primary-color);
      text-align: center;
      color: #fff;
      font-size: 16px;
      padding: 8px 0;
      opacity: 0;
      transition: 0.3s;
    }

    .my-projects .overlay > div{
      color: white;
    }
    .my-projects .image_container:hover .overlay {
      opacity: 1;
    }

    .my-projects .content_container {
      padding: 15px;
    }

   .my-projects  .content_container h2 {
      font-size: 18px;
      color: var(--primary-color);
      margin: 0 0 10px;
    }
/* ========================== End my projects ============================================== */


/* ======================================= start our news ============================================= */
.latest-news{
  padding: 24px 0;
}

.ln-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ln-title{
  font-size: 22px;
  margin: 0;
}

.ln-more{
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--primary-color);
  color: #fff;
  font-size: 14px;
}

.ln-grid{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 16px;
  align-items: start;
}

/* القائمة */
.ln-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 520px;
  overflow: auto;
  padding-inline-end: 6px; /* مساحة للسكرول */
}

.ln-item{
  width: 100%;
  border: 1px solid #e7e7e7;
  background: #fff;
  border-radius: 6px;
  padding: 12px 12px 12px 12px;
  cursor: pointer;
  text-align: start;
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

/* الشريط الأخضر مثل الصورة: على الطرف "الأيسر" في RTL (يعني end) */
.ln-item::before{
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0; /* في RTL = الشمال */
  width: 8px;
  background: var(--primary-color);
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  opacity: .95;
}

.ln-item:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
  border-color: #dcdcdc;
}

.ln-item.is-active{
  border-color: var(--primary-color);
  box-shadow: 0 8px 18px rgba(11,143,134,.14);
}

.ln-thumb{
  width: 64px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid #eee;
}

.ln-item-title{
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 6px 0;
  color: #222;
  font-weight: 600;
}

.ln-item-date{
  font-size: 10px;
  color: #777;
  margin: 0;
}

/* المعاينة */
.ln-preview{
  margin: 0;
  border: 1px solid #e7e7e7;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.ln-preview-media{
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f3f3f3;
}

.ln-preview-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ln-preview-caption{
  padding: 12px 14px;
  border-top: 1px solid #eee;
}

.ln-preview-title{
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

.ln-preview-date{
  font-size: 12px;
  color: #777;
}

/* ريسبونسيف */
@media (max-width: 992px){
  .ln-grid{
    grid-template-columns: 1fr;
  }
  .ln-list{
    max-height: none;
  }
}

/* ======================================= End our news ============================================= */


/* ===================== start services======================== */
.stats-section{
  background:var(--sec-color);
}



.stats-title{
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--title-color);
  text-align: center;
}

.stats-subtitle{
  margin: 8px 0 26px;
  color: var(--title-color);
  opacity: .9;
  font-size: 15px;
  text-align: center;
}

.stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start;
  justify-items: center;
}

.stat-card{
  width: 100%;
  max-width: 220px;
  color: #fff;
  text-align: center;
}

.stat-icon{
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: rgba(255,255,255,.95);
  background: rgba(255,255,255,.14);
  margin-bottom: 12px;
}

.stat-number{
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .5px;
  margin-bottom: 6px;
}

.stat-label{
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  opacity: .98;
}

.stat-note{
  font-size: 13px;
  opacity: .9;
}

.stats-actions{
  margin-top: 22px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .12s ease, opacity .12s ease;
}

@media screen and (max-width:770px) {
  .btn{
    min-width: auto;
    font-size: 13px;
  }
}

.btn:hover{ transform: translateY(-1px); }

.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,.8);
  color: #fff;
}

.btn-solid{
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}

/* Responsive */
@media (max-width: 992px){
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
  .stat-number{ font-size: 40px; }
}
@media (max-width: 520px){
  .stats-grid{ grid-template-columns: 1fr; }
  .stat-card{ max-width: 320px; }
}

.stats-actions .btn.btn-solid{
  color: black;
}

/* ===================== End servcies======================== */

/* ===================== start testimonial======================== */
.reviews{
  padding: 28px 0;
  background: transparent; /* بدون خلفية */
}

.reviews-head{
  margin: 0 auto 14px;
  padding: 0 12px;
  text-align: center;
}

.reviews-title{
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  color: #111;
}

.reviews-subtitle{
  margin: 8px 0 0;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

/* ✅ GRID */
.reviews-grid{
  margin: 14px auto 0;
  padding: 0 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

/* CARD */
.review-card{
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  height: 100%;
}

.review-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0,0,0,.08);
  border-color: #e3e3e3;
}

.review-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.reviewer{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.avatar{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(11,143,134,.12);
  color: var(--primary-color);
  font-weight: 900;
}

.meta{ min-width: 0; }

.name{
  font-weight: 900;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge{
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(11,143,134,.10);
  color: var(--primary-color);
  margin-inline-start: 6px;
  font-weight: 800;
}

.role{
  margin-top: 4px;
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rating{
  white-space: nowrap;
  font-size: 16px;
  line-height: 1;
  color: #f4b400;
  user-select: none;
}

.star.dim{ opacity: .25; }

.review-text{
  margin: 0 0 12px;
  color: #333;
  line-height: 1.85;
  font-size: 14px;
}

.review-foot{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #777;
  font-size: 12px;
  border-top: 1px dashed #eee;
  padding-top: 10px;
}

.pill{
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f7f7f7;
  color: #444;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 992px){
  .reviews-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px){
  .reviews-grid{ grid-template-columns: 1fr; }
}

/* ===================== end testimonial======================== */


/* ==========================start footer ========================= */
  footer *{
    color: white;
  }
  .site-footer{
    background: var(--primary-color);
    color:#fff;
  }
  .site-footer .footer-title{
    font-weight:700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }
  .contact-item{
    display:flex;
    align-items:center;
    gap:.75rem;
    margin-bottom:.75rem;
    text-decoration:none;
  }
  .contact-item:hover{ color:#fff; }
  .icon-badge{
    width:42px;
    height:42px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: rgba(255,255,255,.08);
    border:1px solid;
    flex: 0 0 42px;
  }
  .icon-badge i{ font-size: 1.15rem; color:#fff; }
  .quick-links a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:.45rem 0;
    text-decoration:none;
    border-bottom: 1px dashed rgba(255,255,255,.10);
  }
  .quick-links a:hover{ color:#fff; }
  .quick-links i{ opacity:.9; }
  .about-text{

    line-height: 1.8;
    font-size: .95rem;
  }
  .vision-box{
    display:flex;
    gap:1rem;
    align-items:center;
  }
  .vision-box img{
    max-width: 170px;
    height:auto;
    object-fit:contain;
  }
  .footer-bottom{
    background: var(--primary-dark-color);
    border-top:1px solid var(--footer-border);
  }
  /* موبايل: توسيط العناصر وتقليل الفراغات */
  @media (max-width: 991.98px){
    .vision-box{ justify-content:center; }
    
  }
/* ==========================end footer ========================= */




/* ===============================
   Default Attachments Layout
================================ */

/* container الطبيعي للمحتوى */
.entry-content {
  display: block;
}

/* بلوك الملف */
.entry-content .wp-block-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 16px 20px;
  margin-bottom: 16px;

  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;

  clear: both;
}

/* أيقونة PDF */
.entry-content .wp-block-file::before {
  content: "PDF";
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;
  min-width: 48px;

  background: #f3f3f3;
  border-radius: 50%;

  font-weight: bold;
  font-size: 14px;
  color: #555;
}

/* اسم الملف */
.entry-content .wp-block-file a {
  flex: 1;
  font-weight: 600;
  color: #222;
  text-decoration: none;
}

/* زر التحميل */
.entry-content .wp-block-file a.wp-block-file__button {
  background: #eee;
  color: #000;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
}

/* يمنع أي تراكب مع محتوى بعده */
.entry-content .wp-block-file,
.entry-content::after {
  content: "";
  display: block;
  clear: both;
}


/* ===============================
   Page Attachments (Default)
================================ */

.page-attachments-section {
  margin: 40px 0;
}

.attachments-title {
  margin-bottom: 20px;
  font-size: 20px;
}

.attachments-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
}


.attachment-card {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 14px 18px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
}

.attachment-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;

  border-radius: 50%;
  background: #f3f3f3;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
  font-size: 13px;
  color: #555;
}

.attachment-info {
  flex: 1;
}

.attachment-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.attachment-download {
  font-size: 13px;
  color: #555;
}


.page-header {
  padding: 40px 0;
  background: #f9f9f9;
  text-align: center;
}

.page-title {
  font-size: 26px;
  color: #0a6b63;
}

.page-content {
  margin: 40px 0;
}

.page-attachments-wrapper {
  margin-bottom: 60px;
}

/* ===============================
   Attachments – Exact Style
================================ */

.page-attachments-section {
  margin: 40px 0;
}

.attachments-title {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.attachments-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.attachment-item {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 16px 20px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
}

/* أيقونة PDF */
.attachment-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;

  border-radius: 50%;
  background: #f1f1f1;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 13px;
  font-weight: 600;
  color: #555;
}

/* بيانات الملف */
.attachment-meta {
  flex: 1;
}

.attachment-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.attachment-info {
  font-size: 13px;
  color: #777;
}

/* زر التحميل */
.attachment-action a {
  font-size: 14px;
  color: #1b6d65;
  text-decoration: underline;
  white-space: nowrap;
}


.attachment-item {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 16px 20px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;

  /* مهم */
  max-width: 100%;
}



/* ===============================
   Gallery Archive – Final
================================ */

.msq-gallery-archive {
  padding: 70px 0;
}

.msq-archive-header h1 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 35px;
}

/* GRID */
.msq-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

/* CARD */
.msq-gallery-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  transition: all .35s ease;
}

.msq-gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0,0,0,.10);
}

/* IMAGE */
.msq-gallery-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f4f6;
}

.msq-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.msq-gallery-card:hover img {
  transform: scale(1.1);
}

/* COUNT BADGE */
.msq-gallery-count {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 68px;
  height: 68px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* TITLE */
.msq-gallery-title {
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  text-align: center;
  flex-shrink: 0;
}

/* PAGINATION */
.msq-pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.msq-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 6px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  color: #111827;
  text-decoration: none;
  font-weight: 600;
  transition: all .25s ease;
}

.msq-pagination .page-numbers.current,
.msq-pagination .page-numbers:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}


/* ===============================
   Single Gallery
================================ */

.msq-single-gallery {
  padding: 70px 0;
}

.msq-single-header h1 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 35px;
  text-align: center;
}

/* GRID */
.msq-single-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* ITEM */
.msq-single-item {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  transition: all .35s ease;
}

.msq-single-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,.10);
}

/* IMAGE */
.msq-single-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.msq-single-item:hover img {
  transform: scale(1.08);
}

/* Optional Hover Overlay */
.msq-single-item::after {
  content: "عرض الصورة";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}

.msq-single-item:hover::after {
  opacity: 1;
}




/* ===============================
   Video Archive
================================ */

.msq-video-archive {
  padding: 70px 0;
}

.msq-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

/* Card */
.msq-video-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  transition: all .35s ease;
}

.msq-video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0,0,0,.10);
}

/* Thumb */
.msq-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.msq-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.msq-video-card:hover img {
  transform: scale(1.1);
}

/* Play Icon */
.msq-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
  color: #fff;
  background: rgba(0,0,0,.35);
  transition: background .3s ease;
}

.msq-video-card:hover .msq-video-play {
  background: var(--primary-color);
}

/* Title */
.msq-video-title {
  padding: 16px;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-color);
  text-align: center;
}


/* ===============================
   Testimonials Archive
================================ */

.msq-testimonial-archive {
  padding: 70px 0;
}

/* Grid */
.msq-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

/* Card */
.msq-testimonial-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .35s ease;
}

.msq-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

/* Text */
.msq-testimonial-text {
  font-size: 15px;
  line-height: 1.9;
  color: #374151;
  margin-bottom: 20px;
  position: relative;
}

.msq-testimonial-text::before {
  content: "“";
  font-size: 42px;
  position: absolute;
  top: -41px;
  right: -10px;
  color: var(--primary-color);
}

/* Name */
.msq-testimonial-name {
  font-weight: 700;
  color: var(--primary-color);
  text-align: left;
  margin-top: auto;
}

/* =========================
   Partners Archive
========================= */

.partners-archive {
    direction: rtl;
    padding: 70px 0;
}

.partners-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.partners-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(0,0,0,.05);
    margin-bottom: 10px;
}

.partners-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
}

.partners-desc {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Card */
.partner-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    transition: all .25s ease;
    border: 1px solid rgba(0,0,0,.05);
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,.08);
}

.partner-logo {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.partner-logo img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

.partner-placeholder {
    font-size: 14px;
    color: #aaa;
}

.partner-name {
    font-size: 16px;
    font-weight: 700;
}

/* Empty */
.partners-empty {
    text-align: center;
    color: #888;
    grid-column: 1 / -1;
}


/* =========================
   Initiative Archive
========================= */

.initiative-archive-wrap {
    direction: rtl;
    padding: 70px 0;
}

/* Header */
.initiative-archive-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.initiative-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(0,0,0,.05);
    margin-bottom: 12px;
}

.initiative-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 14px;
}

.initiative-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.9;
}

/* Grid */
.initiative-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Card */
.initiative-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.initiative-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
    border-color: var(--primary-color);
}

.initiative-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.initiative-content {
    padding: 22px;
}

.initiative-card-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 14px;
    text-align: center;
}

.initiative-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
}


/* =========================
   Initiative Single
========================= */

.initiative-single-wrap {
    direction: rtl;
    padding: 80px 0;
}

/* Header */
.initiative-single-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 60px;
}

.initiative-single-badge {
    display: inline-block;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(0,0,0,.05);
    margin-bottom: 14px;
}

.initiative-single-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.4;
}

/* Content */
.initiative-single-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.initiative-text-block {
    background: #fff;
    border-radius: 16px;
    padding: 26px 30px;
    margin-bottom: 26px;
    border: 1px solid rgba(0,0,0,.05);
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.initiative-text-block p:last-child {
    margin-bottom: 0;
}


/* =========================
   News Archive
========================= */

.news-archive-wrap {
    direction: rtl;
    padding: 70px 0;
}

.news-archive-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.news-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(0,0,0,.05);
    margin-bottom: 12px;
}

.news-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 14px;
}

.news-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.9;
}

/* Grid */
.news-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Card */
.news-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    transition: all .25s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

.news-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-content {
    padding: 22px;
}

.news-date {
    font-size: 13px;
    color: #888;
}

.news-card-title {
    font-size: 20px;
    font-weight: 800;
    margin: 10px 0 14px;
}

.news-card-title a {
    text-decoration: none;
    color: inherit;
}

.news-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

/* =========================
   News Single
========================= */

.news-single-wrap {
    direction: rtl;
    padding: 80px 0;
}

.news-single-header {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
}

.news-single-date {
    font-size: 14px;
    color: #888;
}

.news-single-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.4;
    margin-top: 12px;
}

.news-single-thumb {
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.news-single-thumb img {
    width: 100%;
    border-radius: 20px;
}

.news-single-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 16px;
    line-height: 2;
    color: #333;
}




/* Volunteer Form */
.vol-form {
    display: flex;
    justify-content: center;
    padding: 40px 16px;
}

.vol-form-card {
    width: 100%;
    max-width: 820px;
    background: #fff;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.vol-form-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}

.vol-form-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.vol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vol-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vol-field label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.vol-field input,
.vol-field select {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
    transition: border .2s, box-shadow .2s;
}

.vol-field input:focus,
.vol-field select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--sec-color);
}

.vol-full {
    grid-column: 1 / -1;
}

.vol-submit {
    margin-top: 30px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: var(--primary-color);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

.vol-submit:hover {
    background: var(--btn-bg-hover-color);
}

/* Responsive */
@media (max-width: 768px) {
    .vol-grid {
        grid-template-columns: 1fr;
    }

    .vol-form-card {
        padding: 26px;
    }
}


/* Volunteer Card with Image */
.vol-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}

.vol-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.vol-thumb {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.vol-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .35s ease;
}

.vol-card:hover .vol-thumb img {
    transform: scale(1.06);
}

.vol-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.vol-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.vol-excerpt {
    font-size: 14px;
    color: #555;
}

.vol-meta {
    font-size: 13px;
    color: #777;
    display: flex;
    justify-content: space-between;
}

.vol-btn {
    margin-top: auto;
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
}

.vol-btn:hover {
    background: var(--btn-bg-hover-color);
}

.vol-closed {
    margin-top: auto;
    text-align: center;
    color: #999;
    font-weight: 600;
}


/* ===============================
   FILE STACK – MODERN ADMIN STYLE
================================ */

.file-stack-section {
    margin: 60px auto;
    max-width: 560px;
}

.file-stack-title {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
    color: #1f2937;
}

.file-stack {
    position: relative;
}

.stack-item {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid #e5e7eb;
    margin-bottom: -22px;
    box-shadow: 0 15px 30px rgba(0,0,0,.06);
    transition: all .3s ease;
}

.stack-item:nth-child(2) { transform: scale(.97); }
.stack-item:nth-child(3) { transform: scale(.94); }
.stack-item:nth-child(4) { transform: scale(.91); }

.stack-item:hover {
    transform: scale(1.03);
    z-index: 999 !important;
}

.stack-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stack-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    color: #111827;
}

.stack-badge {
    font-size: 11px;
    padding: 5px 12px;
    border-radius: 10px;
    background: #eef2ff;
    color: var(--primary-color);
    font-weight: 700;
}

.stack-footer {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.stack-meta {
    color: #6b7280;
}

.stack-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.stack-footer a:hover {
    text-decoration: underline;
}


/* ===============================
   FOOTER SOCIAL ICONS
================================ */

.footer-social {
  margin-top: 12px;
}

.footer-social .theme-social-icons {
  gap: 12px;
  display: flex;
}

.footer-social .theme-social-icons a {
  width: 36px;
  height: 36px;
  font-size: 15px;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.footer-social .theme-social-icons a:hover {
  background: var(--primary-color, #006d63);
  transform: translateY(-2px);
}


.page-template-page-sections .ms-section .ms-icon i,
.page-template-page-sections .ms-section .ms-icon path,
.page-template-page-sections .ms-section .ms-icon svg{
  fill: var(--primary-color);
  color: var(--primary-color);
}

.page-template-page-sections .ms-title{
  color: var(--primary-color);
}

.side-dropdown-item .svg-inline--fa{
  overflow: hidden;
}

