/********** Template CSS **********/
body {
  font-family: "Cairo", sans-serif !important;
}
#heroImg {
  transition: opacity 0.5s ease;
}

.hero-item {
  display: none;
}
.services-section {
  background: #f8fafc;
}

.section-subtitle {
  color: #ff7b00;
  font-weight: 600;
  letter-spacing: 2px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-top: 10px;
  color: #222;
}

.section-desc {
  max-width: 600px;
  margin: auto;
  color: #777;
}

.service-card {
  background: #fff;
  border-radius: 22px;
  padding: 35px 25px;
  display: block;
  text-decoration: none;
  text-align: center;
  transition: 0.35s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);

  text-decoration: none;
}

.icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: auto;

  display: flex;

  justify-content: center;

  align-items: center;

  background: #fff3ea;

  color: #ff7b00;

  font-size: 34px;

  transition: 0.4s;
}

.service-card:hover .icon {
  background: #ff7b00;

  color: #fff;

  transform: rotate(10deg) scale(1.08);
}

.service-card h5 {
  margin-top: 25px;
  color: #222;
  font-weight: 700;
}

.service-card p {
  color: #777;
  font-size: 14px;
  min-height: 45px;
}

.service-card span {
  color: #ff7b00;

  font-weight: 600;
}

.service-card:hover span {
  letter-spacing: 1px;
}
.categories-section {
  background: #f8fafc;
}

.category-card {
  background: #fff;

  border-radius: 18px;

  padding: 28px 20px;

  text-align: center;

  text-decoration: none;

  display: block;

  transition: 0.35s;

  border: 1px solid #ececec;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.category-icon {
  width: 70px;

  height: 70px;

  border-radius: 50%;

  margin: auto;

  background: #fff3ea;

  display: flex;

  justify-content: center;

  align-items: center;

  color: #ff7b00;

  font-size: 30px;

  transition: 0.35s;
}

.category-card:hover .category-icon {
  background: #ff7b00;

  color: white;

  transform: scale(1.1);
}

.category-card h6 {
  margin: 18px 0 10px;

  color: #222;

  font-weight: 700;
}

.arrow {
  color: #ff7b00;

  font-size: 22px;

  transition: 0.3s;
}

.category-card:hover .arrow {
  transform: translateX(-6px);
}
.category-title {
  cursor: pointer;
  user-select: none;
}

.category-list {
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.category-list li.active {
  color: #fd590d;
  font-weight: bold;
  font-size: 25px;
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

/* حركة عند المرور */
.btn-whatsapp:hover {
  background: #1da851;
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

/* عند الضغط */
.btn-whatsapp:active {
  transform: scale(0.97);
}

/* حركة أيقونة واتساب */
.btn-whatsapp i {
  transition: transform 0.35s ease;
}

.btn-whatsapp:hover i {
  transform: rotate(-15deg) scale(1.25);
}

/* تأثير لمعان */
.btn-whatsapp::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transition: 0.7s;
}

.btn-whatsapp:hover::before {
  left: 130%;
}
.category-list.hide {
  max-height: 0;
}

.more-card {
  border: 2px dashed #ff7b00;
}
.hero-item.active {
  display: block;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-image img {
  max-width: 100%;
}

.hero {
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: #f5f5f5;
}

.project {
  position: relative;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 10px;
}

/* الصور الكبيرة */
.col-md-8 .project {
  height: 300px;
}

/* Overlay */
.project .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  transition: 0.3s;
}

/* النص */
.project .text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  opacity: 0;
  transition: 0.3s;
}

/* Hover Effect */
.project:hover .overlay {
  background: rgba(0, 0, 0, 0.7);
}

.project:hover .text {
  opacity: 1;
}

/* زوم خفيف داخل الصورة */
.project::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 0;
}

.project:hover::before {
  transform: scale(1.1);
}

/* خلي المحتوى فوق */
.project .overlay,
.project .text {
  z-index: 2;
}
.container {
  width: 90%;
  margin: auto;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* الصورة على اليسار */
.hero-image {
  width: 50%;
}

.hero-image img {
  width: 100%;
  height: auto;
}

/* النص على اليمين */
.hero-text {
  width: 50%;
  text-align: left;
}

.hero-text .hello {
  color: orange;
  letter-spacing: 3px;
  font-size: 14px;
}

body {
  font-family: "Fustat", sans-serif !important;
}
.hero-text h1 {
  font-family: "Reem Kufi Fun", sans-serif;

  font-size: 40px;
  color: rgb(18, 30, 56);
  margin: 20px 0;
  font-weight: bold;
}

.bg-primary {
  background: linear-gradient(
    to left,
    rgb(16, 54, 95),
    #0d1030
  ) !important; /* نفس اللون تقريباً */
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(to left, rgb(207, 135, 1), #cd2f2f);
  color: #ffffff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}
.btn1 {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(to left, rgb(1, 28, 56), #070e71);
  color: #ffffff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
  }

  .hero-image,
  .hero-text {
    width: 100%;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 40px;
  }
}
.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

.fw-medium {
  font-weight: 600;
}

.mt-6 {
  margin-top: 5rem;
}

.mb-6 {
  margin-bottom: 5rem;
}

.pt-6 {
  padding-top: 5rem;
}

.pb-6 {
  padding-bottom: 5rem;
}

/*** 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;
}

/*** Button ***/
.btn {
  transition: 0.5s;
  font-weight: 600;
  text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
  color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
  color: var(--bs-dark);
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-xl-square {
  width: 60px;
  height: 60px;
}

.btn-xxl-square {
  width: 75px;
  height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #fff;
}

.team-item {
  background: #f8f8f8;
  border-radius: 20px;
  padding: 15px;
  width: 80%; /* أهم سطر 👈 يصغّر الكرت */
  max-width: 320px; /* حجم ثابت */
  transition: 0.3s;
}

.team-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-img {
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.product-img img {
  width: 100%;
  transition: transform 0.1s ease;
}

.product-img:hover img {
  transform: scale(1.15) rotate(1deg);
}
.team-item h5 {
  font-size: 24px;
  font-weight: bold;
  font-family: "Reem Kufi Fun", sans-serif;
}
li {
  font-family: "Reem Kufi Fun", sans-serif;
}
.olab {
  margin-right: 10%;
  font-family: "Reem Kufi Fun", sans-serif;
}

.category-box {
  background: #f4f4f6;
  border-radius: 20px;
  font-size: 18px;
  font-weight: bold;
  font-family: "Font Awesome 5 Free";
  padding-right: 50px;
  padding-left: 100px;
}

.product-img {
  overflow: hidden;
  border-radius: 15px; /* اختياري حسب تصميمك */
}

.product-img img {
  transition: transform 0.4s ease;
}

.product-img:hover img {
  transform: scale(1.1);
}

.category-title {
  background: linear-gradient(to left, rgb(11, 45, 81), #3b4496);
  color: #fff;
  padding: 12px;
  text-align: center;
  border-radius: 30px;
  margin-bottom: 20px;
}

.category-list {
  list-style: none;
  padding: 0;
}

.category-list li {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: 0.3s;
}

.category-list li:hover {
  color: #e91e63;
}

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

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 15px;
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.carousel .carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  text-align: left;
  background: rgba(0, 0, 0, 0.7);
  padding: 3rem;
  padding-left: 11rem;
  z-index: 1;
}
.title1 {
  color: #d16500;
}
.typed {
  color: #d7b300;
}
.carousel .carousel-indicators {
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  width: 80px;
  flex-direction: column;
  margin: 0;
  margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
  width: 70px;
  height: 70px;
  text-indent: 0;
  margin: 5px 0;
  border: 2px solid #ffffff;
  overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .carousel .carousel-item {
    position: relative;
    min-height: 600px;
  }

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

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

  .carousel .carousel-caption {
    padding-left: 10rem;
  }
}

@media (max-width: 768px) {
  .carousel .carousel-item {
    min-height: 500px;
  }

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

  .carousel .carousel-caption {
    padding-left: 9rem;
  }
}

@media (min-width: 1200px) {
  .carousel .carousel-item .display-1 {
    font-size: 7rem;
  }
}

.page-header {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

/*** About ***/

@keyframes animateUpDown {
  0% {
    top: -25px;
  }
  50% {
    top: -45px;
  }
  100% {
    top: -25px;
  }
}
.about-img img {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}
/*** Features ***/
.feature {
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 1) 50%),
    url(../img/vtyv.jpeg) left center no-repeat;
  background-size: cover;
}

.feature-row {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.feature-item {
  border-color: rgba(0, 0, 0, 0.03) !important;
}

.feature-icon {
  position: relative;
  transition: 0.5s;
  width: 80px;
  height: 80px;
  font-size: 28px; /* حجم الأيقونة */
  color: #fff; /* اللون أبيض */
}

.category-box {
  border: 1px solid #f3c5cf;
  border-radius: 20px;
  padding: 25px 10px;
  text-align: center;
  background: #fff;
  display: block;
  text-decoration: none;
  color: #000;
  transition: 0.3s;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* حركة المربع */
.category-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* الأيقونة */
.category-icon {
  font-size: 45px;
  color: #a47c0ed0;
  display: block;
  margin-bottom: 10px;
  transition: 0.4s;
}

/* 🔥 حركة الأيقونة */
.category-box:hover .category-icon {
  transform: scale(1.2) rotate(8deg);
  color: #c2185b;
}

/* عنوان */
.category-box h6 {
  font-weight: bold;
  font-size: 35px;
  font-family: "Font Awesome 5 Free";
  transition: 0.3s;
}

/* تغيير لون النص */
.category-box:hover h6 {
  color: #e91e63;
}

/* تأثير خلفية ناعم */
.category-box::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 0%;
  background: #fff0f5;
  top: 0;
  left: 0;
  transition: 0.3s;
  z-index: 0;
}

.category-box:hover::before {
  height: 100%;
}

/* يخلي المحتوى فوق الخلفية */
.category-box * {
  position: relative;
  z-index: 1;
}
.feature-item:hover .feature-icon {
  margin-left: 3rem;
}

.feature-item a::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background: var(--bs-secondary);
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: -1;
}

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

.feature-item a:hover::after {
  background: var(--bs-primary);
}

.experience .progress {
  height: 5px;
}

.experience .progress .progress-bar {
  width: 0px;
  transition: 3s;
}

/*** Service ***/
.service .service-item {
  position: relative;
  margin-top: 45px;
}

.service .service-inner {
  position: relative;
  height: 100%;
  margin-top: 45px;
  background: var(--bs-white);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.05);
}

.service .service-inner::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  left: 0;
  bottom: 0;
  transition: 1s;
  background: linear-gradient(to left, rgb(11, 45, 81), #232967);
}

.service .service-inner:hover::before {
  height: 100%;
  top: 0;
}

.service .service-item img {
  margin-top: -45px;
  padding-left: 45px;
}

.service .service-item * {
  position: relative;
  transition: 0.5s;
  z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
  color: var(--bs-white);
}

.service .service-item:hover a {
  padding-left: 45px !important;
}

/*** Appoinment ***/
.appoinment {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../img/carousel-2.jpg) left center no-repeat;
  background-size: cover;
}

/*** Team ***/
.team .team-item {
  background: var(--bs-white);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.05);
}

.team .team-item .team-social {
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  right: 0;
  transition: 0.5s;
  background: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .team-item:hover .team-social {
  width: 100%;
  left: 0;
}

.team .team-item .team-social .btn {
  opacity: 0;
  transition: 0.5s;
}

.team .team-item:hover .team-social .btn {
  opacity: 1;
}

/*** Testimonial ***/
.testimonial-img {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

.testimonial-img div {
  position: absolute;
  width: 100px;
  height: 100px;
  animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0.1s;
}

.testimonial-img div:nth-child(2) {
  top: 60%;
  left: 20%;
  animation-delay: 0.4s;
}

.testimonial-img div:nth-child(3) {
  top: 20%;
  left: 60%;
  animation-delay: 0.7s;
}

.testimonial-img div:nth-child(4) {
  bottom: 10%;
  right: 10%;
  animation-delay: 1s;
}

.testimonial-img div::after {
  position: absolute;
  content: "";
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  box-shadow: 0 0 10px 10px var(--bs-white) inset;
  z-index: 1;
}

.testimonial-carousel .owl-item img {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-nav {
  margin-top: 15px;
  display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin-right: 15px;
  color: var(--bs-primary);
  font-size: 45px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--bs-dark);
}

/*** Contact ***/
@media (min-width: 992px) {
  .contact-info::after {
    position: absolute;
    content: "";
    width: 0px;
    height: 100%;
    top: 0;
    left: 50%;
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 991.98px) {
  .contact-info::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0px;
    top: 50%;
    left: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
  }
}

/*** Appoinment ***/
.newsletter {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../img/carousel-3.jpg) left center no-repeat;
  background-size: cover;
}

/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--bs-secondary);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--bs-primary);
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--bs-primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.copyright {
  background: #222222;
}

.copyright a {
  color: var(--bs-white);
}

.copyright a:hover {
  color: var(--bs-primary);
}
