/* Global Styles */
@font-face {
  font-family: "Hacen Samra";
  src: url("../fonts/HacenSamra/Hacen-Samra-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Alexandria";
  src: url("../fonts/Alexandria/Alexandria-VariableFont_wght.ttf");
  font-weight: 300;
  font-style: normal;
}

:root {
  --mainColor: #0d6733;
  --secondColor: #eab593;
}

.main-color {
  color: var(--mainColor);
}

.second-color {
  color: var(--secondColor);
}

body {
  font-family: "Alexandria", var(--bs-font-sans-serif) !important;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Hacen Samra", var(--bs-font-sans-serif) !important;
}

/* TODO Start Navbar Styles */
.my-nav {
  background-color: var(--mainColor) !important;
}

.my-nav .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.my-nav .container .nav-left-side .social-icons a i {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #fff;
  border-radius: 50%;
}

.nav-left-side button {
  transition: all 0.4s;
  background-color: var(--secondColor) !important;
}
.my-nav .container .nav-left-side button a {
  transition: all 0.4s;
}
.my-nav .container .nav-left-side button:hover a {
  color: #fff !important;
}

.my-nav .container .navbar-nav .nav-item .nav-link.active {
  color: var(--secondColor) !important;
}

.my-nav .container .navbar-nav .nav-item .nav-link {
  transition: all 0.4s;
}

.my-nav .container .navbar-nav .nav-item .nav-link:hover {
  color: var(--secondColor) !important;
}

.instagram-icon {
  display: inline-block;
  width: 35px;
  height: 35px;

  text-align: center;
  font-size: 20px;
  color: white;
  background: transparent;
  border-radius: 50%;
  transition: background 0.5s ease;
  overflow: hidden;
  position: relative;
}

.instagram-icon::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );

  z-index: 0;
  transition: top 0.4s ease;
}

.instagram-icon i {
  position: relative;
  z-index: 1;
  transition: all 0.4s;
}

.instagram-icon:hover i {
  transform: scale(1.2);
}

.instagram-icon:hover::before {
  top: 0;
}

.instagram-icon i:hover,
.facebook-icon i:hover {
  border: 1px solid transparent !important;
}

.facebook-icon {
  display: inline-block;
  width: 35px;
  height: 35px;

  text-align: center;
  font-size: 20px;
  color: white;
  background: transparent;
  border-radius: 50%;
  transition: background 0.5s ease;
  overflow: hidden;
  position: relative;
}

.facebook-icon::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1877f2, #1e57d1, #145dbf);
  z-index: 0;
  transition: top 0.5s ease;
}

.facebook-icon i {
  position: relative;
  z-index: 1;
  transition: all 0.4s;
}

.facebook-icon:hover i {
  transform: scale(1.2);
}

.facebook-icon:hover::before {
  top: 0;
}

@media screen and (max-width: 992px) {
  /* //////////////////////////////////////////////////// */
  /* ------------------------------- */
  /* ✅ تعديل شكل الـ offcanvas menu */
  /* ------------------------------- */

  .offcanvas {
    width: 270px; /* عرض القائمة الجانبية */
    background-color: var(--mainColor) !important; /* نفس لون النافبار */
    color: #fff;
    transition: transform 0.4s ease-in-out;
  }

  .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .offcanvas .offcanvas-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
  }

  .offcanvas .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: opacity 0.3s;
  }

  .offcanvas .btn-close:hover {
    opacity: 1;
  }

  .offcanvas .nav-link {
    color: #fff !important;
    transition: all 0.3s ease;
  }

  .offcanvas .nav-link:hover {
    color: var(--secondColor) !important;
    transform: translateX(-4px);
  }

  .offcanvas .nav-item + .nav-item {
    margin-top: 10px;
  }

  .offcanvas .nav-left-side {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
  }

  .offcanvas .nav-left-side button {
    background-color: var(--secondColor) !important;
  }

  .offcanvas .nav-left-side a {
    color: #fff !important;
    transition: all 0.3s;
  }

  .offcanvas .nav-left-side button:hover a {
    color: #fff !important;
  }

  .offcanvas .social-icons a i {
    border-color: #fff !important;
  }
}

@media (max-width: 992px) {
  .offcanvas-start {
    left: 0;
    right: auto;
  }

  /* ✅ تنسيق الجزء السفلي داخل القائمة الجانبية */
  .offcanvas .nav-left-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding-top: 4rem;
  }

  /* زرار "احجزي الآن" */
  .offcanvas .nav-left-side button {
    background-color: var(--secondColor) !important;
    border: none;
    padding: 0.5rem 2rem !important;
    border-radius: 30px;
    transition: all 0.4s ease;
  }

  .offcanvas .nav-left-side button:hover {
    color: var(--mainColor) !important;
  }

  .offcanvas .nav-left-side button a {
    color: #fff !important;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.4s ease;
  }

  .offcanvas .nav-left-side button:hover a {
    color: var(--mainColor) !important;
  }

  /* أيقونات السوشيال ميديا داخل المنيو */
  .offcanvas .social-icons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  .offcanvas .social-icons a i {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.4s ease;
  }
}

/* TODO Start Hero Section */

.hero {
  position: relative;
  height: 82vh;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  top: 1%;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slides a.slide {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 3s ease-in-out;
  text-decoration: none;
}

.hero-slides a.slide.active {
  opacity: 1;
  z-index: 5;
  cursor: pointer;
}

.hero-header {
  top: 10%;
  right: 10%;
  z-index: 10;
}

.hero-header h1 {
  font-size: 6rem !important;
}

.logo-hero {
  top: 45%;
  right: 20%;
  z-index: 10;
}

.hero-info {
  bottom: 6%;
  right: 6%;
  color: var(--mainColor);
  z-index: 10;
}

@media (max-width: 992px) {
  .hero {
    height: 20vh;
  }
  .hero-header h1 {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }
}

/* 🧩 عشان الموبايل */
@media (max-width: 768px) {
 
  .hero-slides a.slide {
    background-size: contain; /* أو خليه cover لو عايزة تملأ */
    background-repeat: no-repeat;
  }
  .hero-info {
    font-size: 1rem;
    padding: 0 1rem;
    text-align: center;
  }
}
/* TODO Start About Styles */

.about .container-fluid {
  border-top: 1px solid var(--mainColor);
  border-bottom: 3px solid var(--mainColor);
  background-image: url(../images/about.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about .col-md-8 .inner {
  transition: all 0.4s;
}

.about .col-md-8 .inner:hover {
  background-color: #fff;
  transform: scale(1.02);
}

.about .about-inner .about-info button {
  background-color: #28a745;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about .about-inner .about-info button:hover {
  background-color: #25d366;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
}

.floating-img img {
  top: -81%;
  left: -10%;
  transform: scale(0.6, 0.5);
}

@media screen and (max-width: 992px) {
  .about-info {
    width: 100%;
  }
}

/* TODO Start Services Styles */

.services {
  overflow: hidden;
}
.services .card {
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-60px);
  transition: all 1.5s ease;
}

.services .card.show {
  opacity: 1;
  transform: translateX(0);
}

.services .card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.services .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.services .card:hover img {
  transform: scale(1.05);
}

.service-btn {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.8s ease;
  position: relative;
  overflow: hidden;
}

.service-btn.show {
  opacity: 1;
  margin-bottom: 0.5rem !important;
  transform: translateY(0) scale(1);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
  animation: bounceIn 1s ease;
}

.service-btn.show::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shine 1.5s ease-out forwards;
}

.service-btn:hover {
  background-color: #25d366;
  transform: scale(1.07);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

@keyframes bounceIn {
  0% {
    transform: translateY(30px) scale(0.9);
  }
  60% {
    transform: translateY(-10px) scale(1.05);
  }
  80% {
    transform: translateY(5px) scale(0.98);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.services .row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;

  -webkit-overflow-scrolling: touch;
}

.services .row {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.services .row::-webkit-scrollbar {
  display: none;
}

.services .col-md-4 {
  flex: 0 0 100%;
  scroll-snap-align: center;
}

@media (min-width: 768px) and (max-width: 992px) {
  .services .col-md-4 {
    flex: 0 0 45%;
  }
}

@media (min-width: 992px) {
  .services .row {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .services .col-md-4 {
    flex: 0 0 33.333%;
  }
}

.services .banner {
  overflow: hidden;
}
.services .banner-one {
  text-align: center;
  position: relative;
  background-color: #136b37;
}

.services .banner-two {
  text-align: center;
  position: relative;
}

.services .banner-three .row,
.fixed-ban {
  text-align: center;
  background-color: #94f5a4;
}

/* .banner a:nth-child(2), .fixed-ban a:nth-child(2) {
  background-color: #28a745;
  bottom: 20%;
  right: 10%;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -ms-transition: all 0.4s;
  -o-transition: all 0.4s;
}

.banner a:nth-child(2):hover , .fixed-ban a:nth-child(2):hover {
  background-color: #25d366 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7) !important;
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
} */

.fixed-ban .row {
  display: flex;
  justify-content: space-between;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #28a745;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.scroll-btn:hover {
  background-color: #25d366;
}

.left-scroll {
  right: 1rem;
}

.right-scroll {
  left: 1rem;
}

@media (min-width: 992px) {
  .scroll-btn {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .scroll-btn {
    display: flex !important;
  }
}

.green-img-wrapper {
  position: relative;
  display: inline-block;
  width: 300px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.green-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.green-img-wrapper::before,
.green-img-wrapper::after {
  content: "";
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  pointer-events: none;
}

.green-img-wrapper::before {
  border: 4px dashed var(--secondColor);
  transform: scale(1.05);
  z-index: 1;
  animation: rotateClockwise 12s linear infinite;
}
.green-img-wrapper::after {
  border: 3px dashed var(--mainColor);
  transform: scale(1.15);
  z-index: 0;
  animation: rotateCounter 15s linear infinite;
  opacity: 0.8;
}
@keyframes rotateClockwise {
  from {
    transform: scale(1.05) rotate(0deg);
  }
  to {
    transform: scale(1.05) rotate(360deg);
  }
}

@keyframes rotateCounter {
  from {
    transform: scale(1.15) rotate(0deg);
  }
  to {
    transform: scale(1.15) rotate(-360deg);
  }
}

/* TODO Start Footer Styles */

.footer {
  background-color: var(--mainColor);
}

.footer h2 {
  width: fit-content;
}

.footer .row .inner {
  transition: all 0.4s;
}

.footer .row .inner:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7) !important;
  background-color: #28a745 !important;
  transform: scale(1.1);
}

/* TODO Start Fixed Footer */

.fixed-footer,
.fixed-footer a {
  background-color: var(--secondColor);
  color: #520d4d;
}

.fixed-footer a {
  transition: all 0.4s;
}

.fixed-footer a:hover {
  color: rgb(228, 93, 10) !important;
}

@media (max-width: 992px) {
  html,
  body {
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
  }
}

/* TODO Start Banner Styles */

.fixed-banner {
  background-image: url(../images/banner.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 2rem !important;
  padding-bottom: 4rem !important;
}

.fixed-banner h3 a {
  transition: color 0.4s;
}

.fixed-banner h3 a:hover {
  color: var(--secondColor) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7) !important;
  padding-inline: 1rem;
  border-radius: 2.5rem;
}

/* TODO Start Contact US Styles */
.rtl-input {
  direction: rtl !important;
  text-align: right !important;
  right: 0;
  left: auto;
}

.rtl-label {
  text-align: right !important;
  right: 0;
  left: auto;
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 103, 51, 0.3) !important;
  outline: none !important;
  border-color: #25d366 !important;
}

.text-area {
  height: 205px !important;
}

.sum-btn {
  background-color: var(--mainColor);
  transition: all 0.4s;
}

.sum-btn:hover {
  background-color: #25d366 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7) !important;
}

.text-danger {
  opacity: 0;
  display: block;
  font-size: 0.9rem;
  margin-top: 5px;
  transition: opacity 0.4s ease-in;
}

.text-danger.show {
  opacity: 1;
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #28a745; /* لون النجاح */
  color: #fff;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
  font-size: 15px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background-color: #dc3545; /* لون الخطأ */
}

/* TODO Start ميزوثيرابى للبشرة  styles*/

.ser-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.ser-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 215, 0, 0) 0%,
    rgba(255, 215, 0, 0.5) 50%,
    rgba(255, 215, 0, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 2.5s infinite ease-in-out;
  z-index: 2;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

.ser-btn {
  background-color: #28a745;
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.7rem 2rem;
  transition: transform 0.3s ease;
}

.ser-btn:hover {
  transform: scale(1.05);
}

.main-section .inner img,
.about img {
  animation: floatPulse 2.5s ease-in-out infinite;
}

@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 rgba(255, 215, 0, 0);
  }
  50% {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 0 0 rgba(255, 215, 0, 0);
  }
}
.special-banner {
  top: 82% !important;
}

/* ! Fixed Icon Styles */
.social-links-icons {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.social-links-icons .main-icon {
  background-color: var(--mainColor);
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 26px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  animation: bounceShake 1.5s ease-in-out infinite;
  animation-delay: 1s;
}

.social-links-icons.active .main-icon {
  animation: none;
}

.social-links-icons .icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.social-links-icons .icons a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px 0;
  font-size: 20px;
  background-color: #fff;
  color: inherit;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.social-links-icons.active .icons {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.social-links-icons.active .main-icon i {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.social-links-icons .icons a.instagram {
  color: #e4405f;
}
.social-links-icons .icons a.instagram:hover {
  background-color: #e4405f;
  color: #fff;
}

.social-links-icons .icons a.facebook {
  color: #1877f2;
}
.social-links-icons .icons a.facebook:hover {
  background-color: #1877f2;
  color: #fff;
}

.social-links-icons .icons a.phone {
  color: #25d366;
}
.social-links-icons .icons a.phone:hover {
  background-color: #25d366;
  color: #fff;
}

.social-links-icons .icons a:hover {
  transform: scale(1.1);
}

@keyframes bounceShake {
  0% {
    transform: translateY(0) rotate(0);
  }
  10% {
    transform: translateY(-8px);
  }
  20% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-4px);
  }
  40% {
    transform: translateY(0);
  }
  55% {
    transform: rotate(3deg);
  }
  65% {
    transform: rotate(-3deg);
  }
  75% {
    transform: rotate(2deg);
  }
  85% {
    transform: rotate(-2deg);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
