:root {
  --main-color--: #b7cd68;
  --main2-color--: #b7cd6833;
  --main3-color--: #c2e66e;
  --Text-color--: #6e7b3e;
  --Text2-color--: #08303d;
  --dark-color--: #0d5368;
  --holdText-color--: #627085;
  --border-color--: #549903;

  --transition: 0.5s;
  --shadow--: 0px 2px 2px 0px #0000004d;
}

/* Cairo Font - Offline Local Setup */
@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo/static/Cairo-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo/static/Cairo-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo/static/Cairo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo/static/Cairo-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo/static/Cairo-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo/static/Cairo-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo/static/Cairo-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo/static/Cairo-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
}

body {
  font-family: "Cairo", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  overflow-x: hidden;
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}

.homePage {
  min-height: 100vh;
  position: relative;
  background: linear-gradient(
      90deg,
      #29504d 0%,
      rgba(41, 80, 77, 0.678854) 45.11%,
      rgba(41, 80, 77, 0.08) 100%
    ),
    linear-gradient(
      149.04deg,
      #29504d 18.75%,
      rgba(41, 80, 77, 0.678854) 36.67%,
      rgba(41, 80, 77, 0.08) 58.46%
    );
  background-blend-mode: overlay;
  color: #fff;
  overflow-x: hidden;
}

.PersonImg {
  width: 200px;
  height: auto;
  margin: 0 auto 10px;
}
.PersonImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.Personcontainer {
  background: #00a05a1a;
  border-radius: 16px;
  padding: 20px 0;
}
@media (max-width: 992px) {
  .Personcontainer .PersonImg {
    width: 100px;
    height: auto;
  }
}

/* ====== HEADER ====== */
header {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px 15px;
  z-index: 5;
}

header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 70px;
  width: 70px;
  border-radius: 50%;
}

.brand h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

header .logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ISOIMG {
  height: 70px;
  width: 70px;
}

.VisionImg {
  width: 140px;
  height: auto;
}
.CenterHeader {
  height: 100px;
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
  header {
    gap: 5px;
    text-align: center;
    padding: 0 10px 5px;
  }

  .brand h4 {
    font-size: 18px;
    font-size: 18px;
  }
}

@media (max-width: 776px) {
  .brand img {
    height: 40px;
    width: 40px;
  }
  header .logos {
    gap: 5px;
  }
  header .brand {
    gap: 5px;
  }

  .CenterHeader {
    height: 80px;
  }
  .brand h4 {
    font-size: 10px;
  }

  .ISOIMG {
    height: 40px;
    width: 40px;
  }

  .VisionImg {
    width: 100px;
  }
}

/* hero */

/* ====== HERO SECTION ====== */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
}

/* Swiper */
.hero-section .swiper {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}



.hero-section .swiper-slide img {
  width: 100%;
  height: 100%;
  min-width: 800px;
  min-height: 580px;
  max-width: 1000px;
  max-height: 850px;
  object-fit: cover;
  transform: scale(0.95);
  transition: transform 2s ease;
  border-radius: 15px !important;
}

/* Overlay */
.hero-section .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      #29504d 0%,
      rgba(41, 80, 77, 0.678854) 45.11%,
      rgba(41, 80, 77, 0.08) 100%
    ),
    linear-gradient(
      149.04deg,
      #29504d 18.75%,
      rgba(41, 80, 77, 0.678854) 36.67%,
      rgba(41, 80, 77, 0.08) 58.46%
    );
  background-blend-mode: overlay;
  z-index: 2;
}

/* Content */
.hero-content {
  z-index: 3;
  padding: 0 30px;
}

.hero-content h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 17px;
  line-height: 1.9;
  color: #e8e8e8;
  margin-bottom: 20px;
}

/* Buttons */
.hero-buttons a {
  margin-left: 10px;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
  display: inline-block;
}

.btn-green {
  background: #1cb56c;
  color: #fff;
}

.btn-green:hover {
  color: #fff;
  background: #15945a;
}

.btn-white {
  background-color: #fff;
  color: #15945a;
}

.btn-white:hover {
  color: #0d3a36;
}

/* ====== Responsive ====== */
@media (max-width: 1200px) {
  .hero-section .swiper-slide img {
    min-width: 500px;
    min-height: 300px;
    max-width: 580px;
    max-height: 440px;
  }
}
@media (max-width: 992px) {
  .hero-section .swiper-slide img {
    min-width: 400px;
    min-height: 280px;
    max-width: 580px;
    max-height: 440px;
  }
  .hero-content {
    padding: 25px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.8;
  }

  .hero-buttons a {
    padding: 10px 20px;
    margin: 5px;
  }

  .btn-green,
  .btn-white {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .hero-section .swiper-slide img {
    min-width: 350px;
    min-height: 240px;
    max-width: 580px;
    max-height: 440px;
  }
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 0;
  }

  .hero-section .swiper {
    width: 100%;
    height: 280px;
    padding: 0 20px;
  }
  .hero-content {
    padding: 15px;
  }

  .hero-content p {
    font-size: 13px;
  }

  .hero-buttons a {
    font-size: 13px;
  }
}

/* hero */

/* ServicePage */
.ServicePage {
  height: 100%;
  min-height: 100vh;
}
.ServicePage header {
  border-bottom: 2px solid #00a05a;
}

.ServiceSwiper {
  min-width: 750px;
  width: 100%;
  height: 340px;
  border-radius: 12px;
  overflow: hidden;
  /* position: relative; */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.ServiceSwiper .swiper-slide {
  position: relative;
}

.ServiceSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
  z-index: 1;
}

.ServiceSwiper .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #29504dbf;
  z-index: 2;
}

.ServiceSwiper .slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 20px 0 25px;
  z-index: 5;
}

.ServiceSwiper .slide-overlay h3 {
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  background-color: #ffffff64;
  padding: 15px 0;
  border-radius: 10px;
  margin: 0 15px;
}

.ServiceSwiper .swiper-pagination {
  position: absolute;
  bottom: 0 !important;
}

.ServiceSwiper .swiper-pagination-bullet {
  width: 25px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
  transition: 0.3s;
}

.ServiceSwiper .swiper-pagination-bullet-active {
  background: #ffffff;
  width: 35px;
}

.side-buttons a {
  background-color: #00a05a;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  text-align: center;
  padding: 25px 0 !important;
  font-weight: 600;
  transition: 0.3s;
  white-space: nowrap;

  /* min-width: 214px;
  min-height: 75px; */
}
/* 
.side-buttons a:hover {
  background-color: #15945a;
  transform: translateY(-2px);
} */

.srevice-page-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-left:50px ;
  margin-right:50px ;
}

@media (max-width: 1200px) {
  .ServiceSwiper {
    min-width: unset;
  }
}
@media (max-width: 992px) {
  .srevice-page-layout {
    flex-direction: column;
  }

  .srevice-page-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .ServiceSwiper {
    width: 90%;
    height: 250px;
  }

  .side-buttons a {
    font-size: 12px;
    padding: 10px 5px !important;
  }

  .ServiceSwiper .slide-overlay h3 {
    font-size: 18px;
  }
}
.fade-section {
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-300px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.systems-section {
  border: 2px solid #1cb56c;
  border-radius: 5px;
  padding: 20px;
  background: #fff;
}

.system-card {
  border: 1.5px solid #eee;
  width: 100%;
  border-radius: 12px;
  padding: 20px 10px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.system-card:hover {
  transform: translateY(-7px);
  border-color: #1cb56c;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.system-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.system-card:hover img {
  transform: scale(1.05);
}

.system-card h5 {
  font-size: 18px;
  font-weight: 600;
  color: #444;
  margin: 0;
}

@media (max-width: 992px) {
  .system-card h5 {
    font-size: 12px;
  }
}

/* ===== السلايدر ===== */
.simple-swiper {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.simple-swiper .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.simple-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.simple-swiper .swiper-slide-active img {
  transform: scale(1.05);
}

/* ===== Overlay فوق الصور ===== */
.simple-swiper .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(41, 80, 77, 0.4),
    rgba(41, 80, 77, 0.4)
  );

  z-index: 2;
}

@media (max-width: 768px) {
  .simple-swiper {
    height: 150px;
  }
}

.tabs-section {
  background: #f5f5f5;
  padding: 40px;
  border-radius: 8px;
}

.tab-card {
  background: #fff;
  border: 2px solid #2b4f4c;
  border-radius: 10px;
  text-align: center;
  padding: 30px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.tab-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.tab-card.active {
  background: #29504d;
  color: #fff;
  border-color: #29504d;
}

.tab-card:hover {
  transform: translateY(-4px);
  background: #29504d99;
  color: #fff !important;
  border: 2px solid #ffffff00 !important;
}

/* محتوى التابات */
.tab-content {
  margin-top: 40px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.file-box {
  background: #00a05a33;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
  display: block;
  color: #000 !important;
  width: 100%;
}

.file-box:hover {
  transform: translateY(-5px);
}

.file-box img {
  width: 60px;
  margin-bottom: 10px;
}

@media (max-width: 576px) {
  .tabs-section {
    padding: 10px;
  }
  .tab-card {
    padding: 10px 5px;
  }

  .tab-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
  }

  .tab-card h5 {
    font-size: 14px;
  }

  .tab-content {
    margin-top: 10px;
    padding: 10px;
  }

  .file-box {
    padding: 10px;
  }

  .file-box img {
    width: 40px;
  }
}
/* ServicePage */

.footer {
  background-color: #29504d;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 16px;
  letter-spacing: 0.3px;
}

@media (max-width: 576px) {
  .footer {
    font-size: 14px;
    padding: 12px 0;
  }
}

.HeaderLink {
  background: #29504d;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
}

.HeaderLink h5 {
  text-decoration: underline;
  text-underline-offset: 10px;
  margin: 0;
}

.P-article {
  font-weight: 400;
  font-size: 20px;
  text-align: center;
}

.articleSwiper {
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.articleSwiper .swiper-slide {
  position: relative;
}

.articleSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
  z-index: 1;
}

.articleSwiper .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #29504dbf;
  z-index: 2;
}

.articleSwiper .swiper-pagination {
  bottom: 0 !important;
}

.articleSwiper .swiper-pagination-bullet {
  width: 25px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
  transition: 0.3s;
}

.articleSwiper .swiper-pagination-bullet-active {
  background: #ffffff;
  width: 35px;
}

@media (max-width: 992px) {
  .articleSwiper {
    width: 90%;
    height: 300px;
  }
}

/* .conChart {
  background-color: #EEEEEEEE;
} */
@media (min-width: 992px) {
#chart_wrapper {
  width: 98%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#chart_div img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain; /* يخليها كاملة بدون قص */
  object-position: center;
}
}
@media (max-width: 992px) {

#chart_wrapper {
  width: 100vw;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#chart_div img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain; /* يخليها كاملة بدون قص */
  object-position: center;
}
}

.google-visualization-orgchart-node {
  border-radius: 8px !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35) !important;
  border: none !important;
  padding: 10px !important;
  font-size: 14px !important;
  font-weight: bold !important;
  min-width: 150px;
  text-align: center;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ffffff),
    to(#ffffff)
  ) !important;
}

.google-visualization-orgchart-connrow-medium {
  height: 50px !important;
}

.google-visualization-orgchart-lineright,
.google-visualization-orgchart-lineleft,
.google-visualization-orgchart-linebottom {
  border-color: #818282 !important;
}

  .back-btn {
    position: fixed;
    bottom: 15px;
    right: 10px;
    width: 70px;
    height: 70px;
    border: none;
    border-radius: 50%;
    background-color: transparent;
    cursor: grab;
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .back-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .back-btn:hover {
    transform: scale(1.1);
  }

  @media (max-width: 992px) {
    .back-btn {
      bottom: 25px;
      right: 15px;
      width: 50px;
      height: 50px;
    }
  }