/**/

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-background: #111827;
  --bg-blue: linear-gradient(90deg, #152644 0%, #264d91 100%);
  --bs-primary: #264d91;
  --bs-blue: #152644;

  --clr-card: #1f2937;
  --clr-1: #6420aa;
  --clr-2: #ff3ea5;
  --clr-3: #ff7ed4;
}

body {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

/**/
/*** Spinner Start ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.images {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: auto;
  aspect-ratio: 6/5;
  overflow: hidden;
}
.images ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  height: 100%;
}
.images li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.images img {
  box-shadow: 0 0 5px 0 hsla(0, 0%, 30%, 0.3);
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.images li:nth-child(4) {
  animation: xfade 16s 0s infinite;
}
.images li:nth-child(3) {
  animation: xfade 16s 4s infinite;
}
.images li:nth-child(2) {
  animation: xfade 16s 8s infinite;
}
.images li:nth-child(1) {
  animation: xfade 16s 12s infinite;
}
@keyframes xfade {
  17% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  92% {
    opacity: 0;
  }
}

/*** Topbar Start ***/
.topbar-wrapper {
  background: var(--bg-blue);
}

/*** Topbar End ***/

/*** Spinner End ***/

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  transition: 0.5s;
  z-index: 99;
}
.whatsapp {
  position: fixed;
  left: 30px;
  bottom: 30px;
  transition: 0.5s;
  z-index: 99;
}

/*** Button Start ***/
.btn {
  font-weight: 600;
  transition: 0.5s;
}

.btn-square {
  width: 32px;
  height: 32px;
}

.btn-sm-square {
  width: 34px;
  height: 34px;
}

.btn-md-square {
  width: 44px;
  height: 44px;
}

.btn-lg-square {
  width: 56px;
  height: 56px;
}

.btn-xl-square {
  width: 66px;
  height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.btn.btn-primary {
  border: none;
}

.btn.btn-secondary {
  color: var(--bs-white);
  border: none;
}

.btn.btn-secondary:hover {
  background: var(--bs-primary);
}

/*** Navbar ***/
.sticky-top {
  transition: 1s;
  background-color: #fff;
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
  color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link {
  position: relative;
  padding: 10px;
  font-weight: 600;
  font-family: "Reddit Sans Condensed", sans-serif;
  font-size: 16px;
  transition: 0.5s;
  z-index: 99;
}

@media (max-width: 1024px) {
  .navbar .navbar-nav .nav-link {
    padding: 8px 5px;
    font-size: 14px;
  }
}

.navbar .navbar-nav .nav-item {
  margin: 0 25px;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
  width: 50%;
  height: 50%;
  opacity: 1;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
  color: var(--bs-primary) !important;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107" !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  vertical-align: middle;
}

.navbar .navbar-toggler {
  padding: 8px 15px;
  color: #fff;
  background: var(--bs-dark);
}

.nav-bar .navbar-toggler {
  color: var(--bs-dark);
  box-shadow: none !important;
}

.navbar .nav-item:hover .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  background: var(--bs-light);
  transition: 0.5s;
  opacity: 1;
}

.navbar .nav-item .dropdown-menu {
  background: var(--bs-light);
  transition: 0.5s;
}

.navbar .nav-item .dropdown-menu .dropdown-item {
  transition: 0.5s;
}

.dropdown .dropdown-menu .dropdown-item:hover,
.dropdown .dropdown-menu .dropdown-item.active {
  background: var(--bs-blue);
  color: var(--bs-white);
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    margin-top: 15% !important;
    transform: rotateX(-75deg);
    transform-origin: 0 0;
    border: 0;
    transition: 0.5s;
    opacity: 0;
    z-index: 9;
  }
}

@media (max-width: 991px) {
  .navbar .nav-item .dropdown-menu {
    position: relative;
    margin-top: 0;
    transition: 0.5s;
  }

  .navbar .navbar-nav .nav-item::after,
  .navbar .navbar-nav .nav-item::before {
    display: none;
  }

  .navbar .navbar-nav .nav-item:hover::after,
  .navbar .navbar-nav .nav-item:hover::before,
  .navbar .navbar-nav .nav-item.active::after,
  .navbar .navbar-nav .nav-item.active::before {
    display: none;
  }

  .navbar .navbar-nav .nav-link {
    padding: 12px 0;
  }

  .navbar .navbar-nav .nav-item {
    margin: 0;
  }

  .navbar .navbar-nav .nav-item.nav-link {
    padding: 12px 0;
  }
}

#searchModal .modal-content {
  background: rgba(255, 255, 255, 0.6);
}
/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 18, 72, 0.7), rgba(0, 18, 72, 0.7)),
    url(../img/carousel-2.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0 60px 0;
}

.bg-breadcrumb .breadcrumb {
  position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
  color: var(--bs-white);
}
/*** Single Page Hero Header End ***/

/*** Carousel Start ***/
.carousel .carousel-inner .carousel-item {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.carousel .carousel-inner .carousel-item img {
  animation-name: image-zoom;
  animation-duration: 10s;
  animation-delay: 1s;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  transition: 0.5s;
}

@keyframes image-zoom {
  0% {
    width: 100%;
    height: 100%;
    -webkit-filter: blur(0px);
    opacity: 1;
  }

  25% {
    width: 115%;
    height: 115%;
    -webkit-filter: blur(0px);
    opacity: 1;
  }

  50% {
    width: 130%;
    height: 130%;
    -webkit-filter: blur(0px);
    opacity: 1;
  }

  75% {
    width: 115%;
    height: 115%;
    -webkit-filter: blur(0px);
    opacity: 1;
  }

  100% {
    width: 100%;
    height: 100%;
    -webkit-filter: blur(0px);
    opacity: 1;
  }
}

@media (min-width: 992px) {
  .carousel .carousel-inner .carousel-item img {
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 991px) {
  .carousel .carousel-inner .carousel-item {
    height: 700px;
  }
  .carousel .carousel-inner .carousel-item img {
    height: 700px;
    object-fit: cover;
  }
}

@media (max-width: 576px) {
  .carousel-item .carousel-caption h1 {
    font-size: 36px;
  }

  .carousel-item .carousel-caption p.fs-5 {
    font-size: 15px;
  }
}

.carousel .carousel-inner .carousel-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.carousel .carousel-inner .carousel-item .carousel-caption {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.carousel .carousel-indicators {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  z-index: 5;
}

.carousel .carousel-indicators li,
.carousel .carousel-indicators li,
.carousel .carousel-indicators li {
  margin-right: 30px !important;
  width: 10px;
  height: 10px;
  border: 6px solid var(--bs-dark);
  background: var(--bs-white);
  transition: 0.5s;
  display: none;
}

.carousel .carousel-indicators li.active {
  border: 10px solid var(--bs-primary);
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
  background: transparent;
}

.carousel .carousel-control-prev .carousel-control-prev-icon {
  position: absolute;
  left: 0;
  padding: 25px 30px;
  background: var(--bs-blue);
}

.carousel .carousel-control-next .carousel-control-next-icon {
  position: absolute;
  right: 0;
  padding: 25px 30px;
  background: var(--bs-blue);
}

.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
  background: var(--bs-dark);
  color: var(--bs-white);
}
/*** Carousel End ***/

/*** About Start ***/
.about .about-item-content-img {
  border: 4px solid;
  border-color: var(--bs-dark) var(--bs-primary) var(--bs-primary)
    var(--bs-dark);
}

.about .about-item-image {
  position: relative;
  /* background: var(--bs-light); */
  /* background-image: url(../img/about-bg.png); */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

.about .about-item-image .img-1 {
  /* margin-bottom: 250px;  */
  margin-right: 0;
  /* border: 4px solid;
    border-color: var(--bs-dark) var(--bs-light) var(--bs-light) var(--bs-dark); */
  z-index: 3;
}

.about .about-item-image .img-2 {
  margin-top: 250px;
  margin-left: 0;
  border: 4px solid;
  border-color: var(--bs-light) var(--bs-dark) var(--bs-dark) var(--bs-light);
  z-index: 3;
}

/* .about .about-item-image::before {
    width: 80%;
    height: 80%;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-style: dotted;
    border-color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 2;
} */

.about .about-item-image .about-item-image-content {
  width: 55%;
  height: 55%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bs-dark);
  border: 4px solid var(--bs-primary);
  opacity: 0.9;
  z-index: 4;
}

.about .about-item-image .about-item-image-effect {
  position: absolute;
  top: 0;
  right: 0;
}
/*** About End ***/

/*** Features Start ***/
.feature .feature-item {
  position: relative;
  transition: 0.5s;
}
.feature .feature-item:hover {
  background: var(--bs-white);
  border: 1px solid transparent;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
}

.feature .feature-item:hover a {
  transition: 0.5s;
}

.feature .feature-item:hover a:hover {
  color: var(--bs-dark);
}

.feature .feature-item .feature-img img {
  border: transparent;
  transition: 0.5s;
}

.feature .feature-item:hover .feature-img img {
  border: 1px solid var(--bs-dark);
}
/*** Features End ***/

/*** Services Start ***/
.service .service-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  transition: 0.5s;
  z-index: 1;
}

.service .service-item .service-img img {
  transition: 0.5s;
}

.service .service-item:hover .service-img img {
  transform: scale(1.2);
}

.service .service-item::after {
  content: "";
  width: 100%;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
  z-index: 2;
}

.service .service-item:hover:after {
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.service .service-item .service-content {
  position: absolute;
  width: 100%;
  height: auto;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: 0.5s;
  opacity: 0;
  z-index: 3;
}

.service .service-item:hover .service-content {
  opacity: 1;
}

.service .service-item:hover .service-content a.fs-4 {
  color: var(--bs-white);
  transition: 0.5s;
}

.service .service-item:hover .service-content a.fs-4:hover {
  color: var(--bs-dark);
}

.service .service-item .service-tytle {
  position: absolute;
  width: 100%;
  height: 80px;
  bottom: 0;
  right: 0;
  background: var(--bs-white);
  display: flex;
  transition: 0.5s;
  z-index: 3;
}

.service .service-item:hover .service-tytle {
  margin-right: -100%;
}
/*** Services End ***/

/*** Fact Counter ***/
.counter {
  background:
    linear-gradient(rgba(0, 18, 72, 0.9), #00d2ff), url(../img/counter.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.counter .counter-btn:hover {
  background: var(--bs-white);
  color: var(--bs-dark);
}

.counter .counter-box {
  padding-right: 20px;
  padding-bottom: 20px;
}

.counter .counter-item {
  width: 100%;
  height: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.counter .counter-item .counter-item-style {
  position: absolute;
  width: calc(100% - 20px);
  height: 100%;
  top: 0;
  left: 0;
  background: var(--bs-dark);
  z-index: 2;
}

.counter .counter-item .counter-item-inner {
  position: relative;
  top: 20px;
  left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  background: var(--bs-white);
  box-shadow: 20px 20px rgba(255, 94, 21, 1);
  z-index: 3;
}

.counter .counter-item .counter-counting {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bs-primary);
  font-size: 30px;
}
/*** Fact Counter ***/

/*** Projects Start ***/

.project .project-item .project-img {
  position: relative;
}

.project .project-item .project-img::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  top: 0;
  left: 0;
  background: var(--bs-dark);
  z-index: -1;
}

.project .project-item .project-content a.h4 {
  transition: 0.5s;
}

.project .project-item:hover .project-content a.h4:hover {
  color: var(--bs-dark);
}

/*** Projects End ***/

/*** Our Skill Start ***/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main-wrapper {
  display: flex;
  height: 600px;
  width: 100%;
  overflow: hidden;
}

.video-side {
  flex: 1;
  position: relative;
  background: #000;
}

.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
  transition: all 0.4s ease-in-out;
}

.play-btn i {
  color: #f26522;
  font-size: 25px;
}

.animation-pulse {
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* تنسيقات الـ Popup */
.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.popup-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.popup-content {
  position: relative;
  width: 90%;
  max-width: 850px;
  aspect-ratio: 16/9; /* يحافظ على أبعاد الفيديو */
}

.iframe-container {
  width: 100%;
  height: 100%;
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  color: white;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
}

/* المهارات */
.content-side {
  flex: 1;
  background-color: #0b1221;
  color: #fff;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bar-bg {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  margin-top: 10px;
}
.bar-fill {
  height: 100%;
  background: #f26522;
  width: 0%;
  transition: width 2s ease-in-out;
  position: relative;
}

@media (max-width: 1024px) {
  .main-wrapper {
    flex-direction: column;
    height: auto;
  }
  .video-side,
  .content-side {
    height: 400px;
  }
}
/*** Our Skill End ***/

/*** Team Start ***/
.team .team-item {
  position: relative;
  z-index: 1;
}

.team .team-item .team-img {
  position: relative;
  overflow: hidden;
}

.team .team-item .team-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.5s;
  z-index: 2;
}

.team .team-item:hover .team-img::after {
  height: 100%;
}

.team .team-item .team-img .team-icon {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  transform: scale(-1);
  margin-bottom: 100%;
  background: transparent;
  transition: 0.5s;
  opacity: 0;
  z-index: 5;
}

.team .team-item:hover .team-img .team-icon {
  transform: scale(1);
  margin-bottom: 0;
  opacity: 1;
}

.team .team-item .team-border-style-1,
.team .team-item .team-border-style-2 {
  width: 50%;
  height: 50%;
  position: absolute;
  background: var(--bs-dark);
  transition: 0.5s;
  z-index: -1;
}

.team .team-item .team-border-style-1 {
  top: 0;
  left: 0;
}

.team .team-item .team-border-style-2 {
  right: 0;
  bottom: 0;
}

.team .team-item .team-border-style-3,
.team .team-item .team-border-style-4 {
  width: 0;
  height: 0;
  position: absolute;
  background: var(--bs-dark);
  transition: 0.5s;
  z-index: -1;
}

.team .team-item .team-border-style-3 {
  top: 0;
  right: 0;
}

.team .team-item .team-border-style-4 {
  left: 0;
  bottom: 0;
}

.team .team-item:hover .team-border-style-1,
.team .team-item:hover .team-border-style-2 {
  width: 0%;
  height: 0%;
}

.team .team-item:hover .team-border-style-3,
.team .team-item:hover .team-border-style-4 {
  width: 50%;
  height: 50%;
}
/*** Team End ***/

/*** Blog Start ***/
.blog .blog-item .blog-img {
  position: relative;
  overflow: hidden;
}

.blog .blog-item .blog-img img {
  transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
  transform: scale(1.2);
}

.blog .blog-item .blog-content {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.blog .blog-item .blog-content a {
  transition: 0.5s;
}

.blog .blog-item:hover .blog-content a:hover {
  color: var(--bs-dark);
}
/*** Blog End ***/

/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
  position: absolute;
  top: -58px;
  right: 0;
  color: var(--bs-primary);
  padding: 5px 25px;
  border: 1px solid var(--bs-dark);
  transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
  background: var(--bs-dark);
  color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
  position: absolute;
  top: -58px;
  right: 88px;
  color: var(--bs-primary);
  padding: 5px 25px;
  border: 1px solid var(--bs-dark);
  transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
  background: var(--bs-dark);
  color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
  display: flex;
  justify-content: center;
  margin-left: 20px;
  margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
  width: 20px;
  height: 20px;
  margin-right: 15px;
  border: 1px solid var(--bs-dark);
  background: var(--bs-primary);
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
  width: 20px;
  height: 20px;
  border: 1px solid var(--bs-primary);
  background: var(--bs-dark) !important;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
  position: relative;
  margin-top: 50%;
  margin-left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bs-white);
}

@media (max-width: 992px) {
  .owl-carousel.testimonial-carousel {
    padding-top: 30px;
  }

  .testimonial .owl-nav .owl-prev,
  .testimonial .owl-nav .owl-next {
    top: -30px;
  }
}
/*** testimonial End ***/

/*** Contact Start ***/
.contact .contact-map {
  position: relative;
  overflow: hidden;
  padding: 20px;
  z-index: 1;
}

.contact .contact-map::before {
  content: "";
  width: 70%;
  height: 70%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--bs-primary);
  z-index: -1;
}

.contact .contact-map::after {
  content: "";
  width: 70%;
  height: 70%;
  position: absolute;
  top: 0;
  right: 0;
  background: var(--bs-dark);
  z-index: -1;
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url(../img/slider/about-bg.jpg) center center no-repeat;
  background-position: top;
  background-size: cover;
}
.footer .footer-item a {
  line-height: 35px;
  color: var(--bs-white);
  transition: 0.5s;
}

.footer .footer-item p {
  line-height: 35px;
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
  transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
  background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
  color: var(--bs-primary) !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bs-dark);
}
/*** copyright end ***/

h1,
h2,
h3,
h4,
.ll {
  font-family: "Reddit Sans Condensed", sans-serif;
}

/* Carousel Gallery Start */
.carousel-gallery {
  margin: 50px 0;
  padding: 0 30px;
}

.carousel-gallery .swiper-slide a {
  display: block;
  width: 100%;
  height: 200px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  -webkit-box-shadow: 3px 2px 20px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 3px 2px 20px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 3px 2px 20px 0px rgba(0, 0, 0, 0.2);
}

.carousel-gallery .swiper-slide a:hover .image .overlay {
  opacity: 1;
}

.carousel-gallery .swiper-slide a .image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
}

.carousel-gallery .swiper-slide a .image .overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 20, 0.8);
  text-align: center;
  opacity: 0;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

.carousel-gallery .swiper-slide a .image .overlay em {
  color: #fff;
  font-size: 26px;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  display: inline-block;
}

.carousel-gallery .swiper-pagination {
  position: relative;
  bottom: auto;
  text-align: center;
  margin-top: 25px;
}

.carousel-gallery .swiper-pagination .swiper-pagination-bullet {
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

.carousel-gallery .swiper-pagination .swiper-pagination-bullet:hover {
  opacity: 0.7;
}

.carousel-gallery
  .swiper-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #289eba;
  transform: scale(1.1, 1.1);
}

#hih:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  width: 70px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-30deg);
  animation-name: slide;
  animation-duration: 7s;
  animation-timing-function: ease-in-out;
  animation-delay: 0.3s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.13) 77%,
    rgba(255, 255, 255, 0.5) 92%,
    rgba(255, 255, 255, 0) 100%
  );
}

@keyframes slide {
  0% {
    left: -100;
    top: 0;
  }

  50% {
    left: 120px;
    top: 0px;
  }

  100% {
    left: 290px;
    top: 0;
  }
}

/*** Appointment ***/
.appointment {
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url(../img/slider/about-bg.jpg) center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.page-header {
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url(../img/slider/3.jpg) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: #999999;
}

/* Photo Section Start */
.gallery-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 15px;
}

.photo-box {
  position: relative;
  background: #289eba;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.large {
  grid-row: span 2;
}

.photo-box img {
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  object-fit: cover;
  border-radius: 12px;
  z-index: 2;
  transition: transform 0.4s ease;
}

.photo-box::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background-image: conic-gradient(
    transparent,
    transparent,
    transparent,
    #00d2ff
  );
  animation: rotate 4s linear infinite;
  z-index: 0;
  opacity: 0; /* مخفي في البداية */
  transition: opacity 0.3s ease;
}

.photo-box:hover::before {
  opacity: 1; /* يظهر عند التمرير */
}

.photo-box:hover img {
  transform: scale(1.05); /* تكبير بسيط للصورة */
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* جعل التصميم متجاوب للهواتف */
@media (max-width: 768px) {
  .gallery-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .large {
    grid-row: span 1;
    height: 300px;
  }
  .photo-box {
    height: 250px;
  }
}
/* Photo Section End */

/* STAGES Start */
.building-process {
  padding: 80px 0;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.title {
  font-size: 36px;
  color: #1a1a1a;
  margin-bottom: 80px;
  font-weight: 700;
  line-height: 1.3;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0 5%;
}

.steps-container::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 5%;
  right: 5%;
  height: 2px;
  background-color: #e0e0e0;
  z-index: 1;
}

.step {
  flex: 1;
  max-width: calc(100% / 4);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #289eba;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px;
  position: relative;
}

.step-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -25px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #289eba;
  transform: translateY(-50%);
}

.step:last-child .step-icon::before {
  display: none;
}

.step-title {
  font-size: 18px;
  color: #1a1a1a;
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.step-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
/* STAGES End */

/*** 

====================================================================
	Clients Section
====================================================================

***/

.clients-section {
  position: relative;
  padding: 0px 0px 20px;
}

.clients-section .sponsors-outer .owl-nav {
  position: absolute;
  left: -50px;
  top: 50%;
  right: -50px;
  margin-top: -15px;
}

.clients-section .sponsors-outer .owl-nav .owl-prev {
  position: absolute;
  left: 0px;
  width: 40px;
  height: 28px;
  color: #d9d9d9;
  line-height: 26px;
  font-size: 18px;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  border: 1px solid #d9d9d9;
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  transition: all 300ms ease;
}

.clients-section .sponsors-outer .owl-nav .owl-next {
  position: absolute;
  right: 0px;
  width: 40px;
  height: 28px;
  color: #d9d9d9;
  line-height: 26px;
  font-size: 18px;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  border: 1px solid #d9d9d9;
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  transition: all 300ms ease;
}

.clients-section .sponsors-outer .owl-nav .owl-prev:hover,
.clients-section .sponsors-outer .owl-nav .owl-next:hover {
  color: #ffffff;
  border-color: #152644;
  background-color: #152644;
}

.clients-section .sponsors-outer .owl-dots {
  position: relative;
  display: none;
}

.clients-section .sponsors-outer .image-box {
  position: relative;
  text-align: center;
  margin: 0px;
}

.clients-section .sponsors-outer .image-box img {
  max-width: 100%;
  width: auto;
  margin: 0 auto;
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  transition: all 300ms ease;
}

.clients-section .sponsors-outer .image-box img:hover {
  opacity: 0.5;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

/*** 

====================================================================
	Clients Section
====================================================================

***/

/* Status Start */
.stats-section {
  background:
    linear-gradient(rgba(10, 20, 38, 0.9), rgba(10, 20, 38, 0.9)),
    url("../img/foot-bg.jpg") center/cover; /* ضع صورة الرافعات هنا */
  padding: 80px 0;
  color: white;
  text-align: center;
}

.stats-section .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 200px;
  padding: 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.icon {
  font-size: 40px;
  color: #ff5e14; /* اللون البرتقالي */
  margin-bottom: 15px;
}

.stat-item h2 {
  font-size: 45px;
  margin: 5px 0;
  font-weight: bold;
  color: #fff;
}

.stat-item:nth-child(3) h2::after,
.stat-item:nth-child(4) h2::after {
  content: "+";
}

.stat-item p {
  font-size: 16px;
  text-transform: capitalize;
  margin: 0;
  font-weight: 500;
}

/* لتوافق الموبايل */
@media (max-width: 768px) {
  .stat-item:not(:last-child)::after {
    display: none;
  }
  .container {
    flex-direction: column;
  }
}

/* Status End */

/* video popup */
.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); 
}

.popup-content {
    position: relative;
    width: 90%;
    max-width: 800px; 
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.video-container {
    position: relative;
    overflow: hidden;
}

#popupVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: #fff;
    color: #333;
    border-radius: 50%;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 10;
}