/* Global Rules */
:root {
  --main-color: #046af2;
  --secondary-color: #0c5dc8;
  --third-color: #01435b;
  --fourth-color: #065775;
  --section-color: #fafafa;
  --hover-color: #e7f0ff;
}

* {
  font-family: "Cairo", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding: 90px;
}

img {
  width: 100%;
  height: auto;
}

.title {
  letter-spacing: 1px;
  font-weight: bold;
}

.title + h5 span {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #01445a, #0fa8e1);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  margin-right: 10px;
}
.title + h5 span i {
  transform: translateY(0px);
}

@media (max-width: 992px) {
  .title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--third-color);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--fourth-color);
}

::-webkit-scrollbar-track {
  background-color: var(--hover-color);
}

/* Global Rules */

/* Start Header  */
header .navbar {
  border-bottom: 1px solid var(--fourth-color);
  position: fixed;
  top: 0;
  background-color: #fff;
  width: 100%;
  z-index: 9999;
}

header .navbar-brand {
  outline: none !important;
}

header .navbar-brand img {
  width: 180px;
}

@media (max-width: 991px) {
  header .navbar-brand img {
    width: 130px;
  }
}

header .navbar .dropdown-toggle::after {
  display: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 var(--fourth-color);
}

button.navbar-toggler.collapsed {
  border: none;
}

header button,
header button:hover,
header button:focus,
header button:active {
  border: 1.5px solid var(--fourth-color);
  outline: none;
}

header ul.dropdown-menu.text-end.show {
  border-radius: 2px;
  margin-top: 8px;
  margin-bottom: 8px;
}

@media (min-width: 992px) {
  header ul.dropdown-menu.text-end.show {
    width: 150%;
    left: 50%;
    transform: translateX(-50%);
  }
}

header ul.dropdown-menu.text-end.show li > a {
  text-align: center;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--main-color);
}

.icons > div {
  cursor: pointer;
}

.contact-us {
  border-color: var(--fourth-color);
  color: var(--fourth-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.contact-us:hover {
  transition: 0.3s;
  /* background-color: var(--third-color) !important; */
  background: linear-gradient(135deg, #065775, #0fa8e1);
  border: 1px solid transparent;
  color: #fff;
}

.contact-us .icon {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: var(--third-color);
  transition: 0.3s;
}

.contact-us:hover .icon {
  background-color: #fff;
}

.contact-us span i {
  color: #fff;
  font-size: 12px;
  transition: 0.3s;
}

.contact-us:hover span i {
  color: var(--third-color);
}

@media (min-width: 992px) and (max-width: 1200px) {
  header .vr {
    display: none;
    margin: 0 3px;
  }

  header .icons i {
    margin: 0 5px;
  }

  header .nav-link {
    padding: 0 3px !important;
  }

  .contact-us {
    border: none !important;
    background: linear-gradient(135deg, #065775, #0fa8e1);

    padding: 0 !important;
  }

  .contact-us span:first-child {
    display: none;
  }

  .contact-us:hover {
    background-color: transparent !important;
    color: #fff;
  }

  .contact-us:hover .icon {
    background: linear-gradient(135deg, #065775, #0fa8e1);
  }

  .contact-us span i {
    font-size: 10px !important;
    transform: translateY(-1px);
  }

  .contact-us:hover span i {
    color: #fff;
  }
}

/* End Header  */

/* Start carousel Section  */
.image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100vh;
  background-color: #0b0b0b;
}

#myCarousel,
.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-item {
  height: 100%;
  /* margin-top: 62px; */
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
}

.image-container .content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  font-size: 20px;
  color: #fff;
  width: 500px;
  text-align: center;
}

.image-container .content h1 {
  /* color: var(--third-color); */
  font-weight: bold;
  font-size: 50px;
  background: linear-gradient(to right, #01445a, #00719b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 991px) {
  .image-container .content h1 {
    font-size: 35px;
  }

  .image-container .content {
    font-size: 15px;
    width: 300px;
    line-height: 1.7;
  }

  .carousel > button {
    display: none;
  }
}

/* Improve carousel indicators touch targets */
.carousel-indicators {
  gap: 12px;
}

.carousel-indicators button {
  width: 48px;
  height: 48px;
  margin: 0;
  position: relative;
}

.carousel-indicators button::before {
  content: "";
  width: 15px;
  height: 3px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

.carousel-indicators .active::before {
  opacity: 1;
}

.carousel-indicators [data-bs-target] {
  width: 15px;
  height: 3px;
}

/* End carousel Section  */

/* Start Special Needs  */

.Special_Needs .title {
  color: var(--fourth-color);
}

.Special_Needs .subtitle {
  color: #555;
}

.Special_Needs .card {
  cursor: pointer;
  transition: 0.5s;
}

/* .Special_Needs .card:hover {
  transform: scale(1.07);
} */

.Special_Needs .card img {
  transition: 0.3s;
}

.Special_Needs .card:hover img {
  transform: scale(1.4) rotate(-15deg);
}

@media (max-width: 991px) {
  .Special_Needs .card:hover {
    transform: scale(1.02);
  }
}

.Special_Needs .card .card-footer {
  position: relative;
  overflow: hidden;
}

.Special_Needs .card .card-footer {
  z-index: 99 !important;
  color: var(--third-color);
}

.Special_Needs .card .card-footer:after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: var(--third-color);
  position: absolute;
  right: -200%;
  top: 0;
  z-index: 1;
  border-radius: 0 0 5px;
  transition: 0.3s;
  overflow: hidden;
}

.Special_Needs .card:hover .card-footer::after {
  right: 0;
  z-index: -1;
}

.Special_Needs .card:hover .card-footer {
  color: #fff;
}

.Special_Needs .img-box {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.Special_Needs .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.Special_Needs .card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.Special_Needs .card:hover .card-body p {
  color: var(--main-color);
}

/* End Special Needs  */

/* Start Beauty Section  */
.beauty-section {
  background: linear-gradient(135deg, #fff1f5, #f8edff);
}

.beauty-section .title {
  color: #b56576;
}

.beauty-section .subtitle {
  color: #7a6f78;
}

.beauty-card {
  border: none;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.3s linear;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.beauty-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 50px rgba(181, 101, 118, 0.25);
}

.beauty-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #ffc8dd, #ffafcc);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px auto -35px;
  position: relative;
  z-index: 2;
  font-size: 22px;
  box-shadow: 0 10px 20px rgba(255, 175, 204, 0.6);
  transition: 0.4s;
}

.beauty-card:hover .beauty-icon {
  transform: scale(1.1) rotate(5deg);
}

.beauty-card img {
  height: 230px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.beauty-card:hover img {
  transform: scale(1.08);
}

.beauty-card .card-body {
  padding: 25px 20px 30px;
}

.beauty-card .card-title {
  color: #b56576;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.beauty-card .card-text {
  color: #6d6875;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* End Beauty Section  */

/* Start weight-loss-card */
.weight-loss-wrapper {
  position: relative;
}

.weight-loss-icon {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
}

.weight-loss-section {
  background: linear-gradient(135deg, #bfd9ff, #edc1c1);
}

.weight-loss-section .title {
  /* color: #0288d1; */
  background: linear-gradient(to right, #01445a, #0fa8e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.weight-loss-section .subtitle {
  color: #555;
}

.weight-loss-card {
  border: none;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
  cursor: pointer;
  overflow: hidden;
}

.weight-loss-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 50px rgba(2, 136, 209, 0.25);
}

.weight-loss-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #01445a, #0fa8e1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 10px 20px rgba(0, 130, 164, 0.6);
  transition: 0.4s;
  z-index: 130;
  position: absolute;
  left: 50%;
  top: -32px;
  transform: translateX(-50%);
}

.weight-loss-card img {
  height: 230px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.weight-loss-card .card-body {
  padding: 25px 20px 30px;
  position: absolute;
  bottom: -120%;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  flex-direction: column;
  padding: 20px;
  color: #fff;
  background-color: #20202072;
  transition: 0.5s;
}

.weight-loss-card:hover .card-body {
  bottom: 0;
  color: #fff;
}

.weight-loss-card .card-body .card-title {
  color: #4dd0e1;
  font-weight: bold;
}

.weight-loss-card .card-body .card-text {
  color: #fff;
}

.weight-loss-card .card-title {
  color: #0288d1;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.weight-loss-card .card-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* End weight-loss-card*/

/* start service-card */
.service-card {
  border: none;
  border-radius: 20px;
  padding: 20px;
  transition: 0.5s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-categories .title {
  color: var(--secondary-color);
}

.service-categories .subtitle {
  color: #555;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: #046af2;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 24px;
}

/* end service-card*/

/* Start Footer */
/* .footer-logo {
  width: 150px;
  margin-bottom: 10px;
}

.copyright a {
  color: var(--secondary-color);
  font-weight: 500;
}

.copyright a:hover {
  color: var(--main-color);
} */

/* End Footer */

/* ===== Start Brands Section ===== */
.brands-section {
  background: linear-gradient(160deg, #f0f7ff 0%, #e8f4fd 50%, #edfaf3 100%);
}

.brands-section .title {
  background: linear-gradient(to right, #01445a, #0fa8e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brands-section .subtitle {
  color: #555;
}

/* FIX: overflow visible on swiper wrapper so hover lift doesn't clip */
.brands-swiper {
  padding-bottom: 50px !important;
  padding-top: 10px !important;
  /* ensure cards lift freely */
  overflow: visible !important;
}

/* but clip only horizontally to avoid side overflow */
.brands-section .swiper {
  overflow-x: clip !important;
}

.swiper-slide {
  height: auto;
}

.brand-card {
  background: #fff;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  cursor: default;
  position: relative;
  /* NO overflow:hidden here — that was the bug */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-card:hover {
  /* transform: translateY(-10px); */
  transform: scale(1.05);
  box-shadow: 0 22px 45px rgba(4, 106, 242, 0.16);
}

/* Top accent bar animates in on hover */
/* .brand-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #01445a, #0fa8e1);
  border-radius: 18px 18px 0 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
} */

/* .brand-card:hover::after {
  transform: scaleX(1);
  transform-origin: left;
} */

/* Badge */
.brand-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #01445a, #0fa8e1);
  color: #fff;
  font-size: 9px;
  padding: 3px 9px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
  z-index: 2;
}

/* Image wrap — rounded top, clips the image only, NOT the card lift */
.brand-img-wrap {
  width: 100%;
  height: 130px;
  border-radius: 18px;

  overflow: hidden;
  position: relative;
}

.brand-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    transform 0.5s ease,
    filter 0.4s ease;
  filter: brightness(0.92) saturate(0.85);
}

.brand-card:hover .brand-img-wrap img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1);
}

/* .brands-pagination .swiper-pagination-bullet {
  background: var(--fourth-color);
  opacity: 0.4;
}

.brands-pagination .swiper-pagination-bullet-active {
  background: var(--fourth-color);
  opacity: 1;
} */

/* ===== End Brands Section ===== */

/* ===== Start New Footer ===== */
.site-footer {
  background: linear-gradient(160deg, #01313f 0%, #01445a 50%, #065775 100%);
  color: #fff;
  position: relative;
  padding-top: 0;
}

.footer-main {
  padding: 40px 0 30px;
  display: flex;
  justify-content: flex-start;
}

.footer-logo {
  width: 140px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.8;
  max-width: 280px;
  text-align: start;
}

/* Social Buttons */
.social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff !important;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s;
  opacity: 0.9;
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.12);
  opacity: 1;
  color: #fff !important;
}

.social-btn.facebook {
  background: #1877f2;
}
.social-btn.facebook:hover {
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.55);
}
.social-btn.instagram {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}
.social-btn.instagram:hover {
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.5);
}
.social-btn.whatsapp {
  background: #25d366;
}
.social-btn.whatsapp:hover {
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}
.social-btn.tiktok {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.social-btn.tiktok:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.social-btn.youtube {
  background: #ff0000;
}
.social-btn.youtube:hover {
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.5);
}
.social-btn.linkedin {
  background: #0077b5;
}
.social-btn.linkedin:hover {
  box-shadow: 0 8px 20px rgba(0, 119, 181, 0.5);
}

/* Footer headings */
.footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(to left, #0fa8e1, #01445a);
  border-radius: 2px;
}

/* Footer nav links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition:
    color 0.25s,
    gap 0.25s;
}

.footer-links li a i {
  font-size: 9px;
  color: #0fa8e1;
  transition: transform 0.25s;
}

.footer-links li a:hover {
  color: #fff;
  gap: 10px;
}

.footer-links li a:hover i {
  transform: translateX(-3px);
}

/* Contact list */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-contact li a:hover {
  color: #0fa8e1;
}

.contact-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #0fa8e1;
  transition: background 0.3s;
}

.footer-contact li:hover .contact-icon {
  background: rgba(15, 168, 225, 0.2);
}

/* Bottom bar */
.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  padding: 14px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .copyright a {
  color: #0fa8e1;
  transition: color 0.25s;
}

.footer-bottom .copyright a:hover {
  color: #fff;
}

@media (max-width: 767px) {
  .footer-main {
    text-align: center;
  }
  .footer-desc {
    max-width: 100%;
  }
  .social-links {
    justify-content: center;
    align-items: center;
  }
  .footer-heading {
    text-align: start;
  }
  .footer-heading::after {
    right: 0%;
    /* right: 50%; */
    /* transform: translateX(50%); */
  }
  .footer-links li a,
  .footer-contact li {
    justify-content: flex-start;
  }
}

@media (max-width: 991px) {
}

/* ===== End New Footer ===== */
