:root {
  --main-color: #334a95;
  --second-color: #90c440;
  --third-color: #2a9ed9;
  --fourth-color: #4d61a7;
  --fifth-color: #8c96c7;
  --six-color: #abd470;
  --seven-color: #b5bfd9;
  --white-color: white;
  --black-color: black;
  --background: linear-gradient(
    120deg,
    var(--second-color) 0%,
    var(--six-color) 18%,
    var(--main-color) 38%,
    var(--fourth-color) 58%,
    var(--fifth-color) 78%,
    var(--seven-color) 100%
  );
  --background-hover: linear-gradient(
    120deg,
    var(--seven-color) 0%,
    var(--fifth-color) 18%,
    var(--main-color) 38%,
    var(--fourth-color) 58%,
    var(--six-color) 78%,
    var(--second-color) 100%
  );

  --background-color-filter: rgba(192, 192, 192, 0.4) !important;
  --placeholder-color: #a1a1a1;
}
/* Light */
@font-face {
  font-family: "MyriadPro";
  src: url("../fonts/MYRIADPRO-COND.OTF") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "MyriadPro-Light";
  src: url("../fonts/MyriadPro-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

/* Regular */
@font-face {
  font-family: "MyriadPro-Regular";
  src: url("../fonts/MYRIADPRO-REGULAR.OTF") format("opentype");
  font-weight: 400;
  font-style: normal;
}

/* Condensed */
@font-face {
  font-family: "MyriadPro-Condensed";
  src: url("../fonts/MYRIADPRO-COND.OTF") format("opentype");
  font-weight: 400;
  font-style: normal;
}

/* Condensed Italic */
@font-face {
  font-family: "MyriadPro-CondensedItalic";
  src: url("../fonts/MYRIADPRO-CONDIT.OTF") format("opentype");
  font-weight: 400;
  font-style: italic;
}

/* Bold */
@font-face {
  font-family: "MyriadPro-Bold";
  src: url("../fonts/MYRIADPRO-BOLD.OTF") format("opentype");
  font-weight: 700;
  font-style: normal;
}

/* Bold Italic */
@font-face {
  font-family: "MyriadPro-BoldItalic";
  src: url("../fonts/MYRIADPRO-BOLDIT.OTF") format("opentype");
  font-weight: 700;
  font-style: italic;
}

/* Bold Condensed */
@font-face {
  font-family: "MyriadPro-BoldCondensed";
  src: url("../fonts/MYRIADPRO-BOLDCOND.OTF") format("opentype");
  font-weight: 700;
  font-style: normal;
}

/* Bold Condensed Italic */
@font-face {
  font-family: "MyriadPro-BoldCondensedItalic";
  src: url("../fonts/MYRIADPRO-BOLDCONDIT.OTF") format("opentype");
  font-weight: 700;
  font-style: italic;
}

/* SemiBold */
@font-face {
  font-family: "MyriadPro-SemiBold";
  src: url("../fonts/MYRIADPRO-SEMIBOLD.OTF") format("opentype");
  font-weight: 600;
  font-style: normal;
}

/* SemiBold Italic */
@font-face {
  font-family: "MyriadPro-SemiBoldItalic";
  src: url("../fonts/MYRIADPRO-SEMIBOLDIT.OTF") format("opentype");
  font-weight: 600;
  font-style: italic;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
body {
  font-family: "MyriadPro-Condensed", sans-serif !important;
}
html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 6px;
}

/* ::-webkit-scrollbar-track {
  background: transparent;
} */

::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  border-radius: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "MyriadPro-BoldCondensed", sans-serif !important;
}
.text-xl {
  font-size: 8rem;
}
.text-lg {
  font-size: 3rem;
}
.text-md {
  font-size: 2.2rem;
}
.text-sm {
  font-size: 1.5rem;
}

.text-main {
  color: var(--main-color);
}
.text-second {
  color: var(--second-color);
}
.text-third {
  color: var(--third-color);
}
.text-fourth {
  color: var(--fourth-color);
}
.text-fifth {
  color: var(--fifth-color);
}
.text-six {
  color: var(--six-color);
}
.btn-send {
  background: var(--background);
  transition: all 0.3s ease-in;
  color: var(--white-color) !important;
  padding: 0.8rem 3rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.6s easeout !important;
  font-size: 1.3rem;
  width: fit-content;
  border: none;
}
.btn-send:hover {
  background: var(--background-hover);
  color: var(--white-color) !important;
}

.bg-section {
  background-color: var(--background-color);
}
.bg-values {
  background-color: var(--second-color);
}
.header-section h2 {
  font-size: 2.4rem !important;
}
/*  
##################################################
#                  SOCIAL ICONS                  #
##################################################
*/
.social-icon {
  inset-inline-end: 0 !important;
  margin-inline-end: 16px;
  margin-bottom: 50px;
  width: fit-content;
  height: fit-content;
}

.social-icon a {
  background: var(--background) !important;
  color: var(--white-color) !important;
  padding: 0.8rem;
  border-radius: 100%;
  margin: 0.5rem;
  text-decoration: none;
  border: 1px solid var(--white-color);
  width: 55px;
  height: 55px;
  font-size: 25px;
  box-shadow: var(--box-shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.social-icon a:hover {
  background: var(--background) !important;
  color: var(--white-color) !important;
  font-weight: bold;
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--box-shadow);
  filter: brightness(1.1);
}

.back-to-top {
  position: fixed;
  bottom: 50px;
  inset-inline-start: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: var(--background);
  color: var(--white-color);
  border-radius: 50%;
  border: 1px solid var(--white-color);
  font-size: 25px;
  text-decoration: none;
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
  z-index: 99;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

.back-to-top:hover {
  background: var(--background-hover);
  transform: translateY(-5px) scale(1.05);
}

.back-to-top.show {
  display: flex;
}
.stats {
  transition: all 0.3s ease-in-out;
}
.counter {
  transition: all 0.3s ease-in-out;
}
/*  
##################################################
#                  LOADING                       #
##################################################
*/
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-container {
  position: relative;
  width: 220px;
  height: 220px;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.6;
  }

  100% {
    transform: scale(0.9);
    opacity: 1;
  }
}

.loading-text h1 {
  font-size: 4rem !important;
}
.pulse-circle img {
  width: 250px;
}
/*  
##################################################
#                  Home                          #
##################################################
*/
.home {
  min-height: 100% !important;
  background-image: url("../images/img106.jpg");
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
}

.navbar {
  width: 100%;
  z-index: 999;
  background-color: var(--white-color);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.navbar .footer-social {
  display: flex;
  gap: 10px;
}
.navbar .footer-social .social-btn i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--six-color);
  color: var(--white-color);
  transition: all 0.3s ease;
}
.navbar .footer-social .social-btn i:hover {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--second-color);
  color: var(--white-color);
  transition: all 0.3s ease;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  text-decoration: none;
  font-size: 1.1rem;
  font-family: "MyriadPro-SemiBold", sans-serif;
  transition: color 0.3s ease-in-out;
  padding: 12px 12px;
  width: fit-content;
  color: var(--main-color) !important;
}

/* تغيير اللون عند الهوفر */
.navbar-nav .nav-link:hover {
  color: var(--second-color) !important; /* لون رئيسي (أزرق Bootstrap) أو استبدله باللي تحبه */
}

/* خط متحرك تحت النص */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0px; /* المسافة تحت النص */
  left: 0;
  width: 0;
  height: 2px;
  background: var(--second-color);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.langToggle {
  background: var(--background);
  color: var(--white-color) !important;
  border: none;
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.langToggle:hover {
  background: var(--background-hover);
  transform: translateY(-2px);
}

.langToggle:active {
  transform: scale(0.95);
}




.hero-slider-pages {
  width: 100%;
  height: 100%;
}

.hero-slider .text-slider {
  position: absolute !important;
  top: 50% !important;
  inset-inline-start: 50% !important;
  z-index: 2 !important;
  transform: translate(-50%, -50%) !important;
}
.hero-slider .text-slider h1 {
  font-size: 4rem;
  color: var(--second-color);
  font-weight: bold !important;
}

.hero {
  transition: all 0.3s;
  position: relative;
  background: var(--background);
}
/* الصورة نصف دائرية من جهة واحدة */
.custom-img {
  width: 60% !important;
  height: 100vh;
  object-fit: cover;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 100%;
  border-bottom-right-radius: 100%;
}

/* النص بجانب الصورة */

.slider-content h3 {
  font-size: 2.3rem;
  line-height: 1.4;
  color: var(--white-color) !important;
}

.hero .item {
  position: relative;
  height: calc(100vh - 124px);
  overflow: hidden;
}

.hero .owl-nav {
  display: flex;
  position: absolute;
  top: 50%;
  width: 100%;
  padding: 0 20px;
  justify-content: space-between;
  align-items: center;
  /* margin: 0 auto; */
  z-index: 99;
}

.hero:hover .owl-nav {
  transition: all 0.3s;
}
.hero .owl-nav .owl-prev {
  background-color: var(--background-color) !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero:hover .owl-nav .owl-prev {
  transition: all 0.3s;
}
.hero .owl-nav .owl-prev:hover {
  background-color: var(--fourth-color) !important;
  color: var(--white-color) !important;
  transform: scale(1.1);
}
.hero .owl-nav .owl-next {
  background-color: var(--background-color) !important;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero:hover .owl-nav .owl-next {
  transition: all 0.3s;
}
.hero .owl-nav .owl-next:hover {
  background-color: var(--fourth-color) !important;
  color: var(--white-color) !important;
  transform: scale(1.1);
}
.hero .owl-nav .owl-prev > span,
.hero .owl-nav .owl-next > span {
  font-size: 60px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--main-color);
  margin-bottom:5px !important;
}
.hero .owl-nav .owl-prev:hover:hover > span,
.hero .owl-nav .owl-next:hover > span {
  color: var(--white-color) !important;
}
.hero .owl-nav .owl-prev > span {
  margin: 0 auto;
}

.hero .owl-nav .owl-next > span {
  margin-left: 0px;
}

/*  
##################################################
#                  About Us                      #
##################################################
*/
.about-hero {
  background: var(--background);
  height: 25vh;
}
.about-hero ol {
  width: fit-content;
}
.about-hero ol .breadcrumb-item {
  font-family: "MyriadPro-Semibold";
}
.about-hero ol .breadcrumb-item.active {
  font-family: "MyriadPro-Bold";
  color: var(--second-color);
}
.about {
  background-color: #f8faff;
  position: relative;
  overflow: hidden; /* لمنع ظهور الشعار خارج القسم */
}

/* الشعار كخلفية مائلة */
.about::before {
  content: "";
  position: absolute;
  bottom: -120px; /* رفع الشعار لتوازن أفضل */
  right: -120px; /* تحريك الشعار قليلاً خارج القسم لإضافة ديناميكية */
  width: 450px; /* حجم ثابت متناسق */
  height: 450px;
  background: url("../images/logo/logo2.png") no-repeat center center;
  background-size: contain; /* يحافظ على نسب الصورة */
  opacity: 0.25; /* شفافية منخفضة لتكون خلفية خفيفة */
  transform: rotate(-55deg);
  z-index: 0;
  pointer-events: none; /* لا يؤثر على أي تفاعل */
}
.about::after {
  content: "";
  position: absolute;
  top: -120px; /* رفع الشعار لتوازن أفضل */
  left: -120px; /* تحريك الشعار قليلاً خارج القسم لإضافة ديناميكية */
  width: 450px; /* حجم ثابت متناسق */
  height: 450px;
  background: url("../images/logo/logo2.png") no-repeat center center;
  background-size: contain; /* يحافظ على نسب الصورة */
  opacity: 0.25; /* شفافية منخفضة لتكون خلفية خفيفة */
  transform: rotate(125deg);
  z-index: 0;
  pointer-events: none; /* لا يؤثر على أي تفاعل */
}
.about img {
  height: 400px;
  width: 100%;
}
.vision {
  position: relative;
  overflow: hidden;
  background-color: #f8faff;
}
.vision::before {
  content: "";
  position: absolute;
  bottom: -120px; /* رفع الشعار لتوازن أفضل */
  right: -120px; /* تحريك الشعار قليلاً خارج القسم لإضافة ديناميكية */
  width: 450px; /* حجم ثابت متناسق */
  height: 450px;
  background: url("../images/logo/logo2.png") no-repeat center center;
  background-size: contain; /* يحافظ على نسب الصورة */
  opacity: 0.25; /* شفافية منخفضة لتكون خلفية خفيفة */
  transform: rotate(-55deg);
  z-index: 0;
  pointer-events: none; /* لا يؤثر على أي تفاعل */
}
.vision::after {
  content: "";
  position: absolute;
  top: -120px; /* رفع الشعار لتوازن أفضل */
  left: -120px; /* تحريك الشعار قليلاً خارج القسم لإضافة ديناميكية */
  width: 450px; /* حجم ثابت متناسق */
  height: 450px;
  background: url("../images/logo/logo2.png") no-repeat center center;
  background-size: contain; /* يحافظ على نسب الصورة */
  opacity: 0.25; /* شفافية منخفضة لتكون خلفية خفيفة */
  transform: rotate(125deg);
  z-index: 0;
  pointer-events: none; /* لا يؤثر على أي تفاعل */
}

.facts {
  overflow: hidden;
  position: relative;
}
.facts::before {
  border-radius: 40px;
  content: "";
  position: absolute;
  background-color: hsla(227, 37%, 48%, 0.4);
  height: 40vh;
  width: 100%;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.facts::after {
  border-radius: 40px;
  content: "";
  position: absolute;
  background-image: url("../images/img29.jpg");
  height: 40vh;
  width: 100%;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  font-size: 2rem;
}
.fact-card {
  position: relative;
  z-index: 99 !important;
}
.fact-card h5 {
  margin-top: 10px;
}
/*  
##################################################
#                  Services                      #
##################################################
*/
.service-details {
  position: relative;
  overflow: hidden; /* لمنع ظهور الشعار خارج القسم */
}

/* الشعار كخلفية مائلة */
.service-details::before {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -160px;
  width: 450px; /* حجم ثابت متناسق */
  height: 450px;
  background: url("../images/logo/logo2.png") no-repeat center center;
  background-size: contain; /* يحافظ على نسب الصورة */
  opacity: 0.25; /* شفافية منخفضة لتكون خلفية خفيفة */
  transform: rotate(-55deg);
  z-index: 0;
  pointer-events: none; /* لا يؤثر على أي تفاعل */
}
.service-details::after {
  content: "";
  position: absolute;
  top: -100px; /* رفع الشعار لتوازن أفضل */
  left: -160px; /* تحريك الشعار قليلاً خارج القسم لإضافة ديناميكية */
  width: 450px; /* حجم ثابت متناسق */
  height: 450px;
  background: url("../images/logo/logo2.png") no-repeat center center;
  background-size: contain; /* يحافظ على نسب الصورة */
  opacity: 0.25; /* شفافية منخفضة لتكون خلفية خفيفة */
  transform: rotate(125deg);
  z-index: 0;
  pointer-events: none; /* لا يؤثر على أي تفاعل */
}
/*  
##################################################
#                  Services                      #
##################################################
*/
.services {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* الشعار */
.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/logo/logo1.png") no-repeat left top;
  background-size: 30%;
  opacity: 0; /* مخفي في البداية */
}

/* عند تفعيل الظهور */
.services.visible::before {
  opacity: 1; /* Fade In */
  mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
  mask-size: 100% 0%;
  mask-repeat: no-repeat;

  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
  -webkit-mask-size: 100% 0%;
  -webkit-mask-repeat: no-repeat;

  animation: tvReveal 2s forwards;
  animation-delay: 0.5s;
}

@keyframes tvReveal {
  0% {
    opacity: 0;
    mask-size: 100% 0%;
    -webkit-mask-size: 100% 0%;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
  }
}

.service-card {
  background: #fff;
  border: 1px solid #eee;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.service-card p {
  font-size: 1.3rem;
  font-weight: 300;
}

.service-card:hover {
  background: var(--background);
  color: #fff !important;
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.service-card:hover p {
  color: #f1f1f1 !important;
}
/* دائرة الأيقونة */
.icon-circle {
  color: var(--main-color);
  transition: color 0.3s ease;
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(51, 74, 149, 0.1); /* لون خلفية خفيف */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.icon-circle i {
  color: var(--main-color);
  transition: color 0.3s ease;
}

/* عند hover على الكارد */
.service-card:hover .icon-circle {
  background: var(--six-color); /* الدائرة تبقى بيضاء */
  transform: scale(1.1);
}

.service-card:hover .icon-circle i {
  color: var(--white-color);
}

.card-videos video {
  width: 100%;
  height: 280px;
  object-fit: cover; /* يمنع التشويه ويقص الفائض */
  border-radius: 20px;
  cursor: pointer;
}


/*  
##################################################
#                  Partners                      #
##################################################
*/
.contact .contact-info .link {
  transition: all 0.3s ease;
}
.contact .contact-info .link:hover {
  color: var(--second-color);
}
/*  
##################################################
#                  Footer                        #
##################################################
*/
footer {
  background: var(--background);
}
.footer-section p {
  line-height: 1.8;
  color: var(--balck-color);
}

.footer-section a {
  transition: all 0.3s ease;
  color: var(--balck-color) !important;
}

.footer-section a:hover {
  color: var(--six-color) !important;
  padding-right: 5px;
}

.footer-section li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.footer-section i {
  color: var(--second-color);
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  margin-right: 8px;
}

.social-btn i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.social-btn i:hover {
  background: var(--six-color);
  transform: translateY(-3px);
  color: var(--white-color) !important;
}

.copyright {
  border-top: 1px solid hsla(0, 0%, 0%, 0.282);
  padding: 15px 0;
  margin-top: 15px;
  font-size: 1.4rem;
}

.copyright a {
  color: var(--third-color) !important;
  font-weight: bold;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

.logo-img {
  transition: transform 0.3s ease;
}

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