/*** Spinner Start ***/
/*** Spinner ***/
#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;
}
/*** Spinner End ***/

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  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-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50%;
}

.btn.btn-primary {
  background: var(--bs-primary) !important;
  color: var(--bs-white) !important;
  font-weight: 400;
  transition: 0.5s;
}

.btn.btn-primary:hover {
  background: var(--bs-white) !important;
  color: var(--bs-primary) !important;
}

.btn.btn-light {
  background: var(--bs-light) !important;
  color: var(--bs-primary) !important;
  font-weight: 400;
  transition: 0.5s;
}

.btn.btn-light:hover {
  background: var(--bs-primary) !important;
  color: var(--bs-light) !important;
}

.RotateMoveLeft {
  position: relative;
  animation: RotateMoveLeft 10s linear infinite;
}

.RotateMoveRight {
  position: relative;
  animation: RotateMoveLeft 10s linear infinite;
}

@keyframes RotateMoveLeft {
  0% {
    left: 0px;
  }
  50% {
    left: 40px;
  }
  100% {
    left: 0px;
  }
}

@keyframes RotateMoveRight {
  0% {
    right: 0px;
  }
  50% {
    right: 40px;
  }
  100% {
    right: 0px;
  }
}

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
  margin-right: 25px;
  padding: 35px 0;
  color: var(--bs-dark) !important;
  font-size: 16px;
  font-weight: 400;
  outline: none;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
  padding: 20px 0;
  color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--bs-primary) !important;
}

.navbar-light .navbar-brand img {
  max-height: 50px;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-brand img {
  max-height: 45px;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
}

@media (min-width: 1200px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
  }
}

.dropdown .dropdown-menu a:hover {
  background: var(--bs-primary);
  color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  background: var(--bs-light) !important;
  transition: 0.5s;
  opacity: 1;
}

.collapse.navbar-collapse {
  transition: 0.5s;
}

@media (max-width: 992px) {
  nav.bg-transparent {
    position: absolute;
    width: 100%;
    background: transparent !important;
  }

  .navbar.navbar-expand-lg button span {
    position: relative;
    z-index: 99;
  }

  .navbar {
    position: relative;
    background: var(--bs-light);
    z-index: 2;
  }

  .sticky-top.navbar-light {
    position: relative;
    background: var(--bs-white) !important;
    padding: 0 20px 20px 20px !important;
  }

  .sticky-top.navbar-light {
    background: transparent;
  }

  nav.navbar {
    padding: 0 30px 30px 0;
  }

  .navbar.navbar-expand-lg .navbar-toggler {
    padding: 10px 20px;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
  }

  .navbar-light .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid #dddddd;
  }

  .navbar-light .navbar-nav .nav-link,
  .sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    color: var(--bs-dark) !important;
  }

  .navbar-light .navbar-brand img {
    max-height: 45;
  }

  .hero-header {
    margin-top: -100px !important;
  }
}

@media (min-width: 992px) {
  .navbar-light {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    background: transparent !important;
    z-index: 999;
  }

  .sticky-top.navbar-light {
    position: fixed;
    background: var(--bs-light) !important;
  }
}
/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(220, 53, 69, 0.05), rgba(220, 53, 69, 0.05));
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 150px 0 60px 0;
  margin-bottom: 6rem;
  transition: 0.5s;
}

.bg-breadcrumb::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 300px;
  border: 80px solid rgba(220, 53, 69, 0.05);
  background: transparent;
  animation: RotateMoveSingle 5s linear infinite;
  z-index: -1;
}

.bg-breadcrumb .breadcrumb {
  position: relative;
  z-index: 2;
}

@keyframes RotateMoveSingle {
  0% {
    -webkit-transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0)
      rotateZ(0deg);
    transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
  }
  100% {
    -webkit-transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0)
      rotateZ(-360deg);
    transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0)
      rotateZ(-360deg);
  }

  0% {
    bottom: 0px;
  }
  50% {
    left: -10px;
  }
  75% {
    bottom: 10%;
  }
  100% {
    bottom: 0px;
  }
}

.bg-breadcrumb::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 300px;
  border: 80px solid rgba(247, 71, 128, 0.04);
  background: transparent;
  animation: RotateMoveSingle 5s linear infinite;
  z-index: -1;
}

@keyframes RotateMoveSingle {
  0% {
    -webkit-transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0)
      rotateZ(0deg);
    transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
  }
  100% {
    -webkit-transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0)
      rotateZ(-360deg);
    transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0)
      rotateZ(-360deg);
  }

  0% {
    top: 0px;
  }
  50% {
    top: 10%;
  }
  100% {
    top: 0px;
  }
}

@media (max-width: 992px) {
  .bg-breadcrumb {
    padding-top: 100px !important;
  }
}

.bg-breadcrumb .breadcrumb-item a {
  color: var(--bs-dark) !important;
}

.breadcrumb-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.breadcrumb-animation li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: rgba(220, 53, 69, 0.1);
  animation: animate 25s linear infinite;
  bottom: -150px;
}

.breadcrumb-animation li:nth-child(1) {
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.breadcrumb-animation li:nth-child(2) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.breadcrumb-animation li:nth-child(3) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
}

.breadcrumb-animation li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.breadcrumb-animation li:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}

.breadcrumb-animation li:nth-child(6) {
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}

.breadcrumb-animation li:nth-child(7) {
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
}

.breadcrumb-animation li:nth-child(8) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 45s;
}

.breadcrumb-animation li:nth-child(9) {
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 35s;
}

.breadcrumb-animation li:nth-child(10) {
  left: 85%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}
/*** Single Page Hero Header End ***/

/*** Hearo Header Start ***/
.header::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: var(--bs-light);
  border-radius: 22% 78% 33% 67% / 32% 0% 100% 68%;
  animation: bgMove 5s linear infinite;
  z-index: -1;
}

@keyframes bgMove {
  0% {
    right: 0px;
  }
  50% {
    right: 20px;
  }
  100% {
    right: 0px;
  }
}

.header::before {
  content: "";
  position: absolute;
  bottom: -9%;
  left: -7%;
  width: 400px;
  height: 400px;
  border-radius: 200px;
  border: 30px solid rgba(220, 53, 69, 0.05);
  background: transparent;
  animation: RotateMoveHeader 5s linear infinite;
  z-index: -1;
}

@keyframes RotateMoveHeader {
  0% {
    -webkit-transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0)
      rotateZ(0deg);
    transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
  }
  100% {
    -webkit-transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0)
      rotateZ(-360deg);
    transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0)
      rotateZ(-360deg);
  }

  0% {
    bottom: 0px;
  }
  50% {
    left: -10px;
  }
  75% {
    bottom: 9%;
  }
  100% {
    bottom: 0px;
  }
}

.hero-header {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
}

.hero-header::after {
  content: "";
  position: absolute;
  left: 100px;
  bottom: 100px;
  width: 58px;
  height: 50px;
  background: url(../img/sty-1.png) center center no-repeat;
  animation: RotateMoveSty-3 45s linear infinite;
  transition: 0.5s;
  z-index: -1;
}

@keyframes RotateMoveSty-3 {
  0% {
    left: 100px;
  }
  40% {
    bottom: -0px;
  }
  50% {
    left: 700px;
  }
  70% {
    bottom: 500px;
  }
  80% {
    left: 400px;
  }
  95% {
    bottom: -0px;
  }
  100% {
    left: 100px;
  }
}

.hero-header::before {
  content: "";
  position: absolute;
  left: 100px;
  bottom: 100px;
  width: 300px;
  height: 300px;
  border-radius: 150px;
  border: 30px solid rgba(220, 53, 69, 0.05);
  background: transparent;
  animation: RotateMoveSty-4 45s linear infinite;
  transition: 0.5s;
  z-index: -1;
}

@keyframes RotateMoveSty-4 {
  0% {
    left: 100px;
  }
  40% {
    bottom: -0px;
  }
  50% {
    left: 700px;
  }
  70% {
    bottom: 500px;
  }
  80% {
    left: 400px;
  }
  95% {
    bottom: -0px;
  }
  100% {
    left: 100px;
  }
}

.hero-header .rotate-img {
  position: absolute;
  top: 70px;
  left: 20px;
}

.hero-header .rotate-img .rotate-sty-2 {
  position: absolute;
  top: 100px;
  left: 50px;
  width: 50px;
  height: 50px;
  border-radius: 30px;
  border: 5px solid rgba(220, 53, 69, 0.1);
  background: transparent;
  animation: RotateMoveSty-2 45s linear infinite;
  transition: 0.5s;
}

@keyframes RotateMoveSty-2 {
  0% {
    left: 0px;
  }
  40% {
    top: -30px;
  }
  50% {
    left: 500px;
  }
  70% {
    top: 200px;
  }
  80% {
    left: 100px;
  }
  95% {
    top: -30px;
  }
  100% {
    left: 0px;
  }
}

.hero-header .rotate-img img {
  position: relative;
  animation: RotateMove 30s linear infinite;
  z-index: -1;
}

@keyframes RotateMove {
  0% {
    left: 0px;
  }
  50% {
    left: 200px;
  }
  100% {
    left: 0px;
  }
}

@media (max-width: 992px) {
  .hero-header {
    padding-top: 280px;
  }

  .hero-header .rotate-img img {
    margin-top: 100px;
  }
}
/*** Hero Header End ***/

/*** Service Start ***/
.service .service-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
}

.service .service-item,
.service .service-item .service-icon,
.service .service-item a {
  transition: 0.5s;
}

.service .service-item:hover {
  background: rgba(220, 53, 69, 0.1);
  border: 1px;
}

.service .service-item:hover .service-icon,
.service .service-item:hover a {
  background: var(--bs-white) !important;
}

.service .service-item:hover a:hover {
  background: var(--bs-primary) !important;
  color: var(--bs-white);
}

/*** Service End ***/

/*** Features Start ***/
.feature .feature-img {
  background: var(--bs-light);
  border-radius: 58% 42% 21% 79% / 30% 29% 71% 70%;
}
/*** Features End ***/

/*** Pricing Start ***/
.price .price-item {
  position: relative;
  overflow: hidden;
  transition: 0.5s;
}

.price .price-item:hover {
  background: var(--bs-white) !important;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.price .price-item .pice-item-offer {
  position: absolute;
  width: 200px;
  height: 110px;
  top: -45px;
  right: -80px;
  background: var(--bs-primary) !important;
  color: var(--bs-white);
  transform: rotate(42deg);
  display: flex;
  align-items: end;
  justify-content: center;
  padding-bottom: 10px;
}
/*** Pricing End ***/

/*** Blog Start ***/
.blog .blog-item {
  border-radius: 10px;
}

.blog .blog-item .blog-img {
  position: relative;
  overflow: hidden;
  background: rgba(220, 53, 69, 0.1);
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.blog .blog-item .blog-img .blog-info {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  padding: 20px;
  background: rgba(220, 53, 69, 0.1);
  color: var(--bs-white) !important;
  display: flex;
  align-items: end;
  justify-content: space-between;
  transition: 0.5s;
}

.blog .blog-item .blog-img:hover .blog-info {
  background: rgba(0, 0, 0, 0.4);
}

.blog .blog-item .blog-content {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.blog .blog-item .blog-img img {
  transition: 0.5s;
}

.blog .blog-item .blog-img:hover img {
  transform: scale(1.3);
}
/*** Blog End ***/

/*** Testimonial Start ***/
.testimonial {
  position: relative;
  background: var(--bs-white);
  overflow: hidden;
  z-index: 1;
}
.testimonial::after {
  content: "";
  position: absolute;
  top: 30%;
  left: 0;
  width: 80px;
  height: 80px;
  border-radius: 40px;

  animation: TestimonialMoveLeft 100s linear infinite;
  z-index: -1;
}

.testimonial::before {
  content: "";
  position: absolute;
  top: 30%;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 40px;
  animation: TestimonialMoveRight 100s linear infinite;
  z-index: -1;
}

@keyframes TestimonialMoveLeft {
  0% {
    left: 0px;
  }
  25% {
    top: 100px;
  }
  50% {
    left: 100%;
  }
  75% {
    top: 80%;
  }
  100% {
    left: 0px;
  }
}

@keyframes TestimonialMoveRight {
  0% {
    right: 0px;
  }
  25% {
    top: 100px;
  }
  50% {
    right: 100%;
  }
  75% {
    top: 80%;
  }
  100% {
    right: 0px;
  }
}

.testimonial .testimonial-carousel.owl-carousel {
  position: relative;
  padding: 0 35px;
  transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  width: 65px;
  height: 65px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 53, 69, 0.1);
  color: var(--bs-primary);
  transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 65px;
  height: 65px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 53, 69, 0.1);
  color: var(--bs-primary);
  transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--bs-primary);
  color: var(--bs-white) !important;
}

.testimonial-carousel .owl-dots {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot img {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  margin-right: 15px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
  width: 70px;
  height: 70px;
  border-radius: 40px;
  border: 4px solid var(--bs-secondary);
}

@media (min-width: 900px) {
  .testimonial
    .testimonial-carousel
    .testimonial-item
    .testimonial-inner
    p.fs-7 {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .testimonial .testimonial-carousel.owl-carousel {
    padding: 0;
  }

  .testimonial .testimonial-carousel .owl-nav .owl-prev {
    margin-top: -250px;
    margin-left: -15px;
  }

  .testimonial .testimonial-carousel .owl-nav .owl-next {
    margin-top: -250px;
    margin-right: -15px;
  }
}
/*** Testimonial End ***/

/*** Contact Start ***/
.contact {
  position: relative;
  overflow: hidden;
  transition: 0.5s;
  z-index: 1;
}

.contact::after {
  content: "";
  position: absolute;
  top: 10%;
  left: -1%;
  width: 400px;
  height: 400px;
  border-radius: 200px;
  border: 60px solid rgba(220, 53, 69, 0.05);
  background: transparent;
  animation: ContactMoveLeft 50s linear infinite;
  z-index: 1;
}

@keyframes ContactMoveLeft {
  0% {
    left: 0px;
  }
  25% {
    top: 100px;
  }
  50% {
    left: 90%;
  }
  75% {
    top: 80%;
  }
  100% {
    left: 0px;
  }
}

.contact::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -1%;
  width: 400px;
  height: 400px;
  border-radius: 200px;
  border: 60px solid rgba(220, 53, 69, 0.05);
  background: transparent;
  animation: ContactMoveRight 50s linear infinite;
  z-index: 1;
}

@keyframes ContactMoveRight {
  0% {
    right: 0px;
  }
  25% {
    top: 100px;
  }
  50% {
    right: 90%;
  }
  75% {
    top: 80%;
  }
  100% {
    right: 0px;
  }
}
/*** Contact End ***/

/*** Footer Start ***/
/* Background */
.footer {
  background: linear-gradient(180deg, #1f2a44 0%, #162033 100%);
  color: #ffffff;
}

/* Titles */
.footer-title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* Text */
.footer-text {
  color: #cfd6e4;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #cfd6e4;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

/* Social */
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
  color: #fff;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #e31e24;
  border-color: #e31e24;
}

/* Contact */
.footer-contact p {
  margin-bottom: 8px;
  color: #cfd6e4;
  font-size: 0.9rem;
}

.footer-contact i {
  margin-right: 8px;
}

/* CTA box */
.footer-cta {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.footer-cta small {
  color: #e31e24;
}

.footer-cta h6 {
  margin: 5px 0 0;
  color: #fff;
}

/* RTL Support */
[dir="rtl"] .footer-links a:hover {
  padding-right: 5px;
  padding-left: 0;
}

[dir="rtl"] .footer-contact i {
  margin-left: 8px;
  margin-right: 0;
}

[dir="rtl"] .footer-social a {
  margin-left: 10px;
  margin-right: 0;
}

/*** Footer End ***/

/*** ======================NEW CODE======================= ***/
.about-image {
  border-radius: 24px;
  height: 500px;
  object-fit: cover;
  width: 100%;
}

.partner-image {
  height: 70px;
  width: 80px;
}

.step-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--bs-primary);
  position: relative;
}

.about-certifications {
  display: flex;
  gap: 30px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #f7f9fc;
  border-left: 4px solid var(--bs-primary);
  transition: all 0.3s ease;
}

.cert-item i {
  font-size: 26px;
  color: var(--bs-primary);
}

.cert-item strong {
  display: block;
  font-size: 15px;
  color: var(--bs-dark);
}

.cert-item:hover {
  background: var(--bs-primary);
  color: var(--bs-white);
  strong {
    color: var(--bs-white);
  }
  i {
    color: var(--bs-white);
  }
}

/* =========================
   ORG CHART FINAL (GRID)
========================= */

.org-chart {
  display: grid;
  justify-items: center;
  row-gap: 30px;
}

/* =========================
   CARDS
========================= */

.card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  width: 250px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: 0.3s;
  position: relative;
}

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

.card img {
  width: 100%;
  height: 80px;
  object-fit: contain;
}

.card p {
  margin-top: 10px;
  font-weight: 600;
  color: #dc3545;
  font-size: 14px;
}

/* =========================
   TOP LINE
========================= */

.top {
  position: relative;
}

.top::after {
  content: "";
  width: 2px;
  height: 40px;
  background: rgba(0, 0, 0, 0.2);
  display: block;
  margin: auto;
}

/* =========================
   MIDDLE GRID
========================= */

.middle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  position: relative;
}

/* horizontal line */
.middle::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: rgba(0, 0, 0, 0.2);
}

/* vertical lines */
.middle .card::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  width: 2px;
  height: 40px;
  background: rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
}

/* =========================
   BOTTOM (SPX under MMC)
========================= */

.bottom {
  position: relative;
  margin-top: -10px;
}

/* line from MMC */
.bottom::before {
  content: "";
  width: 2px;
  height: 20px;
  background: rgba(0, 0, 0, 0.2);
  display: block;
  margin: auto;
}

/* center SPX under MMC */
.bottom .card {
  margin-top: 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .middle {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .middle::before,
  .middle .card::before,
  .top::after,
  .bottom::before {
    display: none;
  }
}

/* ===== Corporate Section ===== */

.corporate {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

/* Header */
.corporate-header .tag {
  color: #dc3545;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
}

.corporate-header h1 {
  font-size: 40px;
  font-weight: 700;
  color: #2c2c2c;
  margin: 10px 0 20px;
}

/* Content */
.corporate-content p {
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .corporate-header h1 {
    font-size: 28px;
  }
}

/* Electronic Archiving Custom (VERY MINIMAL) */
.arch-section {
  padding: 80px 0;
}

/* Stats Enhancement (optional) */
.display-4 {
  transition: 0.3s;
}

.display-4:hover {
  transform: scale(1.1);
}

/* Impact mini stats */
.row .fa-3x {
  min-width: 50px;
}

.row small {
  font-size: 13px;
  color: #6c757d;
}

/* ================================
   UNIVERSAL SERVICE PAGE SYSTEM
================================ */

/* Section spacing consistency */
.service-section {
  padding: 80px 0;
}

/* Titles */
.service-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--bs-dark);
}

.service-subtitle {
  color: var(--bs-primary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
}

/* Text */
.service-text {
  color: #6c757d;
  line-height: 1.8;
  font-size: 15px;
}

/* Card upgrade */
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  transition: 0.3s;
  border: 1px solid #eee;
  height: 100%;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

/* Icons inside cards */
.service-icon-box {
  width: 60px;
  height: 60px;
  font-size: 22px;
  color: var(--bs-primary);
  background: rgba(220, 53, 69, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: 0.3s;
  line-height: 1;
  margin: 0 auto 15px; /* centers the icon box */
}

.service-card:hover .service-icon-box {
  background: var(--bs-primary);
  color: #fff;
  transform: scale(1.1);
}

/* Process Steps (better than current basic ones) */
.process-step {
  padding: 30px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid #eee;
  transition: 0.3s;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.step-number-modern {
  font-size: 28px;
  font-weight: 800;
  color: var(--bs-primary);
  margin-bottom: 10px;
}

/* CTA Upgrade */
.service-cta {
  background: linear-gradient(135deg, var(--bs-primary), #b02a37);
  color: #fff;
  border-radius: 20px;
  padding: 60px 20px;
  text-align: center;
}

.service-cta h2 {
  color: #fff;
  font-weight: 700;
}

/* Image styling */
.service-img {
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Section divider (VERY IMPORTANT visually) */
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--bs-primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.service-card h5 {
  margin-top: 10px;
  margin-bottom: 10px;
}

/*** copyright Start ***/
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bs-dark) !important;
}
/*** copyright end ***/

/* Keep navbar height stable */
.navbar-light .navbar-brand img {
  max-height: 50px; /* same navbar height */
  height: auto;
}

/* Visually enlarge logo without affecting layout */
.logo-lg {
  transform: scale(4.4); /* increase size visually */
  transform-origin: left center; /* keeps alignment clean */
}

/* Optional: slightly reduce navbar padding to give more room */
.navbar-light .navbar-nav .nav-link {
  padding: 25px 0; /* was 35px */
}

body {
  color: #212529;
}

.service-text {
  color: #333;
}

.credit-hidden {
  font-size: 1px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.owl-carousel .owl-stage-outer {
  padding-bottom: 0 !important;
}

/* =========================
   CERTIFICATIONS LTR GRID
========================= */

.about-certifications {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Card */
.cert-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding: 18px;
  background: #f1f3f5;
  border-left: 4px solid #dc3545; /* flipped */
  border-radius: 6px;
  direction: ltr;
  text-align: left;
  transition: 0.3s;
  cursor: pointer;
}

/* Icon */
.cert-item i {
  font-size: 22px;
  color: #dc3545;
}

/* Text */
.cert-item strong {
  display: block;
  font-size: 15px;
  color: #2c2c2c;
}

.cert-item span {
  font-size: 14px;
  color: #000000;
}

/* Active */
.cert-item.active {
  background: #dc3545;
  color: #fff;
}

.cert-item.active strong,
.cert-item.active span,
.cert-item.active i {
  color: #fff;
}

/* Hover */
.cert-item:hover {
  transform: translateY(-4px);
  background: var(--bs-primary);
  color: var(--bs-white);
}

/* FIX: nested CSS removed (not valid in normal CSS) */
.cert-item:hover strong,
.cert-item:hover i,
.cert-item:hover span {
  color: var(--bs-white);
}

/* Links */
.about-certifications a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .about-certifications {
    grid-template-columns: 1fr;
  }
}
.cert-item {
  border-inline-start: 4px solid #dc3545;
  text-align: start;
}

/*============================*/

.about-core {
  background: #f8f9fa;
}

.core-card {
  background: #ffffff;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.core-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.icon-box {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box i {
  font-size: 28px;
  color: #dc3545;
}

.core-card h4 {
  font-weight: 600;
}

.core-card p {
  font-size: 15px;
  line-height: 1.8;
}

/* Challenge Cards */
.challenge-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  height: 100%;
}

.challenge-card:hover {
  transform: translateY(-6px);
}

/* Icon circle */
.icon-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box i {
  font-size: 22px;
  color: #dc3545;
}

/* Text */
.challenge-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.challenge-card p {
  color: #6c757d;
  font-size: 14px;
}

.challenge-card:hover {
  background: #dc3545;
  color: #fff;
}

.challenge-card:hover p,
.challenge-card:hover h5 {
  color: #fff;
}

.challenge-card:hover .icon-box {
  background: #fff;
}

/* Shared text styling */
.section-text,
.section-text-ar {
  max-width: 850px;
  margin: 0 auto 20px;
  line-height: 1.9;
  font-size: 16.5px;
  color: #555;
}

/* English */
.section-text {
  text-align: justify;
  text-justify: inter-word;
}

/* Arabic */
.section-text-ar {
  text-align: justify;
  direction: rtl;
  unicode-bidi: plaintext;
}

/* Better headings spacing */
.text-center h2 {
  margin-bottom: 20px;
}

.text-center h5 {
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* SECTION */
.counter-section {
  background: linear-gradient(to bottom, #ffffff, #f7f9fc);
  padding: 80px 0;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.06);
}

/* GRID */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* ITEM */
.counter-item {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #f1f1f1;
}

.counter-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ICON (BIG LIKE IMAGE) */
.counter-icon {
  font-size: 50px;
  color: #e63946;
  min-width: 80px;
  margin-bottom: 15px;
}

/* NUMBER */
.counter-item h2 {
  font-size: 40px;
  font-weight: 700;
  color: #1f2d3d;
  margin-bottom: 5px;
}

/* TEXT */
.counter-item p {
  margin: 0;
  color: #000000;
  font-size: 15px;
}

/* RTL SUPPORT */
[dir="rtl"] .counter-item {
  direction: rtl;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .counter-grid {
    grid-template-columns: 1fr;
  }

  .counter-icon {
    font-size: 55px;
  }
}

@media (max-width: 576px) {
  .counter-grid {
    grid-template-columns: 1fr;
  }
}
