:root {
  --main-color: #199e9a;
  --secound-color: #6691cc;
  --margin-top: 3rem;
  --gray-color: #616161;
}
* {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
    sans-serif;
}

.home-page .hero-section .hero-section-content h1 {
  color: #fff;
  text-align: left;
}
.home-page .hero-section .hero-section-content {
  position: relative;
  min-height: calc(100vh - 4rem);
  margin-top: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-image: linear-gradient(
      0deg,
      rgba(25, 158, 154, 0.88) 0%,
      rgba(102, 145, 204, 0.6) 100%
    ),
    url("../../images/healthcareimages/ChatGPT Image Sep 28, 2025, 06_58_27 PM.png");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  gap: 1rem;
}

.home-page .hero-section .hero-section-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(25, 158, 154, 0.65); /* overlay */
  z-index: 1;
}
/* Hero layout tweaks */
.home-page .hero-section .hero-section-content {
  padding-inline: 1rem;
}
.hero-badges .badge-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
}
.hero-visual .hero-main-img {
  object-fit: cover;
  object-position: right center;
  filter: saturate(1.05) contrast(1.02);
}
.hero-badges .badge-card i {
  font-size: 1rem;
}
.hero-stats {
  display: flex;
  gap: 1rem;
}
.hero-stats .stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  text-align: center;
  min-width: 100px;
}
.hero-stats .stat strong {
  display: block;
  font-size: 1.3rem;
}
.hero-stats .stat span {
  font-size: 0.8rem;
  opacity: 0.9;
}
/* Right visual stack */
.hero-visual {
  position: relative;
  min-height: 360px;
}
.hero-visual .hero-main-img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin-left: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  color: var(--main-color);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.floating-card i {
  font-size: 1.2rem;
}
.floating-card small {
  color: #616161;
  display: block;
  line-height: 1.1;
}
.floating-card.fc-1 {
  top: 12%;
  left: -6%;
}
.floating-card.fc-2 {
  bottom: 8%;
  right: -4%;
}
@media (max-width: 991.98px) {
  .floating-card.fc-1 {
    left: 0;
  }
  .floating-card.fc-2 {
    right: 0;
  }
}
/* Scroll hint */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}
.scroll-hint span {
  font-size: 0.8rem;
}
.scroll-hint i {
  animation: bounce 1.2s infinite;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.home-page .hero-section .hero-section-content a {
  color: var(--main-color);
}
.home-page .hero-section .hero-section-content a:hover {
  background-color: var(--main-color);
  color: #fff;
}
.home-page .hero-section .hero-section-content h1,
.home-page .hero-section .hero-section-content p,
.home-page .hero-section .hero-section-content a,
.home-page .hero-section .hero-section-content div {
  position: relative;
  z-index: 2;
}
.home-page
  .hero-section
  .hero-section-content
  div.hero-section-content-image
  img {
  width: 24%;
  border-radius: 15px;
}
.container-fluid header nav {
  z-index: 9999;
  box-shadow: 0px 4px 12px 0px #0000001a;
}
.home-page .hero-section nav .navbar-collapse .navbar-nav .nav-item {
  position: relative;
}
.home-page .hero-section nav .navbar-collapse .navbar-nav .nav-item a {
  color: #000;
}
.home-page .hero-section nav .navbar-collapse .nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: var(--main-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
#navbarSupportedContent .navbar-nav .nav-item:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
#navbarSupportedContent .navbar-nav .nav-item:hover .nav-link {
  color: var(--main-color);
}

.home-page .hero-section nav {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* لما يضاف له كلاس scrolled */
.home-page .hero-section nav.scrolled {
  background-color: #fff; /* أو var(--main-color) لو عايزه بنفس اللون */
  box-shadow: 0px 4px 12px 0px #0000001a;
}

#navbarSupportedContent .nav-contact .apply-jop-btn {
  text-decoration: none;
  color: var(--main-color);
  font-weight: 600;
  font-size: 16px;
}
#navbarSupportedContent .nav-contact .contact-phone {
  font-size: 16px;
  background-color: var(--main-color);
  color: #fff;
  padding: 0.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.home-page {
  .about-us {
    margin-top: var(--margin-top);
    .about-us-content {
      h2 {
        color: var(--main-color);
        font-weight: 600;
        font-size: 2rem;
      }
      p {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--gray-color);
        width: 95%;
      }
      span {
        color: var(--secound-color);
      }
      .project-numbers {
        .project {
          p {
            color: var(--main-color);
            text-align: center;
            font-size: 0.9rem;
          }
          .project-number {
            width: 33.33%;
            p:first-of-type {
              font-size: 1.5rem;
            }
            p:last-of-type {
              font-size: 0.8rem;
              color: var(--gray-color);
            }
          }
        }
      }
    }
    .about-us-image {
      img {
        width: 80%;
      }
    }
  }
}

.home-page .our-mission {
  margin-top: var(--margin-top);
  padding: 4rem 2rem;
  background-color: #f1f1f1;
  h2 {
    color: var(--main-color);
    font-weight: 600;
    font-size: 2.5rem;
    text-align: center;
  }
  p {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-color);
    width: 100%;
    text-align: center;
    line-height: 1.5;
  }
}

.medical-establishments {
  margin-top: var(--margin-top);
  padding: 4rem 2rem;
  .heading {
    color: var(--main-color);
    font-weight: 600;
    font-size: 2.5rem;
    text-align: center;
  }
  .medical-establishments-image {
    img {
      box-shadow: 0px 4px 12px 0px #0000001a;
    }
  }
  .medical-establishments-content {
    p {
      font-size: 1rem;
      font-weight: 600;
      color: var(--gray-color);
      width: 95%;
      line-height: 1.5;
      span {
        color: var(--secound-color);
        font-weight: 800;
      }
    }
  }
}

.main-our-services .container .row .service-box {
  padding: 10px;
  margin-bottom: 1rem;
}
.main-our-services .container .row .service-box .card {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--main-color);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.main-our-services .container .row .service-box .card:hover {
  transform: translateY(-1px);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.main-our-services .container .row .service-box img {
  width: 40%;
  display: block;
  border-radius: 10px;
  margin: auto;
  display: block;
}
.main-our-services .container .row .service-box h4 {
  font-size: 18px;
  color: #fff;
  text-align: left;
  margin-bottom: 0;
  min-height: 40px;
  font-family: "Inter", sans-serif;
  text-align: center;
  margin-bottom: 14px;
  width: 100%;
  font-weight: bolder;
}
.main-our-services .container .row .service-box p {
  font-size: 14px;
  color: #fff;
  text-align: left;
  min-height: 63px;
  text-align: center;
}
.main-our-services .container .row .service-box a {
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 8px 21px;
  font-size: 14px;
  color: var(--main-color);
  transition: 0.5s ease-in-out;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  display: block;
  margin: auto;
}
.main-our-services .container .row .service-box a:hover {
  background: linear-gradient(
    90deg,
    var(--main-color) 0%,
    var(--main-color) 50%,
    var(--main-color) 100%
  );
  color: #fff;
  border: 1px solid #fff;
}
.why-choose-us {
  margin-top: var(--margin-top);
  padding: 4rem 2rem;
  .section-header {
    h2 {
      color: var(--main-color);
      font-weight: bold;
      text-align: center;
    }

    p {
      text-align: center;
    }
  }

  .why-choose-us-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    height: 100%;

    img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-radius: 15px;
      margin-bottom: 15px;
      transition: transform 0.4s ease;
    }

    h4 {
      font-size: 18px;
      font-weight: 600;
      color: var(--main-color);
      line-height: 1.5;
    }

    &:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

      img {
        transform: scale(1.05);
      }
    }
  }
}
