.effect9 {
  position: relative;
}

.effect9 img {
  transition: filter .6s;
}

/* .effect9:hover img {
    filter: grayscale(8);
} */

/* Hover Element */
.effect9 .caption {
  background-color: rgba(var(--pc), 0.71);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 0;
  overflow: hidden;
  transition: width .9s;
}

.effect9:hover .caption {
  width: 100%;
}

.effect9:hover .caption h2,
.effect9:hover .caption p {
  transform: translateX(0px);
  opacity: 1;
}

.effect9 img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.productname {
  position: absolute;
  bottom: 13px;
  width: 100%;
  text-align: center;
}

.productname span {
  background: #ffffffb3;
  padding: 5px 20px;
  border-radius: 42px;
  color: black;
}

.catmulti {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24%, 0fr));
  grid-gap: 10px;
  grid-auto-rows: 15rem;
}

/* Each container should not have any overflow, and you might want to set a relative position */
.catmulti .container {
  overflow: hidden;
  position: relative;
  padding: 0;
}

.catmulti .container:nth-child(2):hover .caption,
.catmulti .container:nth-child(4):hover .caption,
.catmulti .container:nth-child(6):hover .caption {
  height: 100%;
}

.catmulti .container:nth-child(2) .caption,
.catmulti .container:nth-child(4) .caption,
.catmulti .container:nth-child(6) .caption {
  height: 0;
  width: 100%;
  transition: height .9s;
}

.catmulti .container:nth-child(2) {
  grid-row: span 2;
}

.catmulti .container:nth-child(3) {
  grid-column: span 2;
}

/* main title wedfit css***/
.maintitle {
  text-align: center;
}

line {
  color: rgb(var(--pc));
  height: 4rem;
  display: block;
  font-size: 38px;
  font-weight: 100;
}

h2.maintitleh2 {
  margin-top: 3px;
  margin-bottom: 7px;
}

/* slider style */
.hero-slider {
  width: 100%;
  height: 700px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  z-index: 0;
}

@media (max-width: 991px) {
  .hero-slider {
    height: 600px;
  }
}

@media (max-width: 767px) {
  .hero-slider {
    height: 500px;
  }
}

.hero-slider .swiper-slide {
  overflow: hidden;
  color: #fff;
}

.hero-slider .swiper-container {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.hero-slider .slide-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  background: transparent;
  width: 40px;
  height: 40px;
  line-height: 53px;
  margin-top: -30px;
  text-align: center;
  border: 2px solid #d4d3d3;
  border-radius: 55px;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}

.hero-slider:hover .swiper-button-prev,
.hero-slider:hover .swiper-button-next {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767px) {

  .hero-slider .swiper-button-prev,
  .hero-slider .swiper-button-next {
    display: none;
  }
}

.hero-slider .swiper-button-prev {
  left: 25px;
  transform: translateX(50px);
}



.hero-slider .swiper-button-next {
  right: 25px;
  transform: translateX(-50px);
}



.hero-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  text-align: left;
  line-height: 12px;
  font-size: 12px;
  color: #000;
  opacity: 0.3;
  background: #fff;
  transition: all .2s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
  font-weight: 300;
  color: #ffffff !important;
}


.hero-slider .swiper-pagination-bullet-active {
  opacity: 1;
}

.hero-slider .swiper-container-horizontal>.swiper-pagination-bullets,
.hero-slider .swiper-pagination-custom,
.hero-slider .swiper-pagination-fraction {
  bottom: 30px;
}

@media screen and (min-width: 992px) {

  .hero-slider .swiper-container-horizontal>.swiper-pagination-bullets,
  .hero-slider .swiper-pagination-custom,
  .hero-slider .swiper-pagination-fraction {
    /*     display: none; */
  }
}

.swiper-pagination {
  text-align: left;
}

.hero-slider .swiper-container-horizontal>.swiper-pagination-bullets {
  bottom: 50px;
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 767px) {
  .hero-slider .swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: 30px;

  }
}

/*--------------------------------------------------------------
      #hero-style
  --------------------------------------------------------------*/
.hero-style {
  height: 500px;
  transition: all .4s ease;
}

@media (max-width: 991px) {
  .hero-style {
    height: 600px;
  }
}

@media (max-width: 767px) {
  .hero-style {
    height: 500px;
  }
}

@media screen and (min-width: 992px) {
  .hero-style .container {
    padding-top: 5px;
  }
}

.hero-style .slide-title,
.hero-style .slide-text {
  max-width: 100%;
}

.slide-btns {
  max-width: 100% !important;
}

.hero-style .slide-title h2 {
  font-size: 60px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  margin: 0 0 40px;
  text-transform: capitalize;
  transition: all .4s ease;
}

@media (max-width: 1199px) {
  .hero-style .slide-title h2 {
    font-size: 75px;
  }
}

@media (max-width: 991px) {
  .hero-style .slide-title h2 {
    font-size: 50px;
    margin: 0 0 35px;
  }
}

@media (max-width: 767px) {
  .hero-style .slide-title h2 {
    font-size: 35px;
    margin: 0 0 30px;
  }
}

.hero-style .slide-text p {
  opacity: 0.8;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: normal;
  color: #ffffff;
  margin: 0 0 40px;
  transition: all .4s ease;
  padding-bottom: 30px;
}

@media (max-width: 767px) {
  .hero-style .slide-text p {
    font-size: 16px;
    font-size: 1rem;
    font-weight: normal;
    margin: 0 0 30px;
  }
}

.hero-style .slide-btns>a:first-child {
  margin-right: 10px;
}


/*--------------------------------------------------------------
      #button-style
  --------------------------------------------------------------*/
.theme-btn,
.theme-btn-s2 {
  background-color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  padding: 7px 32px;
  text-transform: uppercase;
  display: inline-block;
  line-height: initial;
  transition: all .4s ease;
}

a.theme-btn-s2 {
  padding-top: 2px;
}

a.theme-btn-s2 {
  color: white;
  background: transparent;
  border: 1px solid;
  border-radius: 50px;
}

a {
  text-decoration: none;
  transition: all 0.2s ease;
}

.theme-btn-s2 {
  background-color: rgba(255, 255, 255, 0.9);
}

.theme-btn:hover,
.theme-btn-s2:hover,
.theme-btn:focus,
.theme-btn-s2:focus,
.theme-btn:active,
.theme-btn-s2:active {
  background-color: rgb(var(--pc));
  color: #fff;
}

.theme-btn-s3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  text-transform: uppercase;
}

i.fa-chevron-circle-right {
  height: 22px;
  width: 22px;
}

a:hover {
  text-decoration: none;
}

@media (max-width: 991px) {

  .theme-btn,
  .theme-btn-s2,
  .theme-btn-s3 {
    font-size: 13px;
    padding: 15px 25px;
  }
}

@media (max-width: 767px) {

  .theme-btn,
  .theme-btn-s2 {
    padding: 13px 20px;
    font-size: 13px;
  }
}

section.hero-slider.hero-style {
  overflow-x: hidden;
}

.hero-slider:hover .swiper-button-prev,
.hero-slider:hover .swiper-button-next {
  background: #ffffff59;
  color: white;
  border: none;
}

.slide-inner.slide-bg-image {
  direction: rtl;
}

.elementor-element.elementor-element-31b97d3.e-con-full.e-flex.e-con.e-child.animated.fadeInLeft {
  text-align: right;
}

ul.products.tryme {
  text-align: right;
}

ul.list-inline.social-link {
  display: flex;
  justify-content: space-between;
  padding: 0 !important;
  margin: 0;
}

img.mainlogo {
  max-height: 3.2rem;
}

.elementor-171 .elementor-element.elementor-element-1233177 .elementor-icon-list-icon svg {
  fill: rgb(var(--pc)) !important;
}

ul.list-inline.social-link i {
  color: rgb(var(--sc)) !important;
}

span.qtty {
  position: relative;
}

span.cart-quantity {
  width: 19px;
  height: 19px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -3px;
  right: -4px;
  position: absolute;
  z-index: 1;
  color: white;
  background: rgb(var(--sc));
  border-radius: 50%;
  font-size: 11px;
}

a.cart-icon {
  display: flex;
  align-items: flex-start;
}

p.cart-total {
  font-size: 14px;
  position: relative;
  top: 8px;
}

.shopping-cart a {
  color: rgb(var(--pc)) !important;
}

.search-icon-wrapper svg path {
  stroke: rgb(var(--pc)) !important;
}

a.cart-icon {
  height: 24px;
}

a.cart-icon {
  position: relative;
  top: -8px;
}

a.prelm {
  display: block;
  font-weight: bold;
  color: black;
}

.proflogelmentor {
  text-align: right;
}

@keyframes zoom {
  0% {

    scale: 0;
  }

  100% {
    scale: 1;
  }
}

div#searchPopup {
  animation: zoom 0.5s;
}

div#searchPopup {
  width: 50%;
  padding: 3rem !important;
}

button.closebt {
  background: transparent;
  border: none;
  padding: 0 !important;
  font-size: 30px;
  left: 14px !important;
  right: auto !important;
}

div#searchPopup form {
  position: relative;
}

div#searchPopup button[type=submit] {
  position: absolute;
  width: 20% !important;
  top: 0;
  border-radius: 30px;
  left: 0;
  padding: 14px !important;
  background: rgb(var(--pc));
  color: white;
}

div#searchPopup input[type="text"] {
  border-radius: 30px;
}

.custom-post-item {
  /* border: 1px solid #ddd; */
  margin-bottom: 20px;
  overflow: hidden;
}

a.custom-post-link.adft {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: flex-end;
  align-items: center;
}

a.custom-post-link.adft svg {
  margin-right: 7px;
  margin-top: 5px;
}

span.custom-post-date svg {
  fill: rgb(var(--pc)) !important;
  color: rgb(var(--pc)) !important;
  margin-left: 4px;
  margin-bottom: 3px;
}

a.custom-post-link.adft {
  font-weight: bold;
  color: black;
  transition: 0.3s;
}

a.custom-post-link.adft:hover {
  color: rgb(var(--pc)) !important;
}

.custom-post-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: row;
}

.custom-post-thumb {
  height: 15rem;
  overflow: hidden;
  width: 100%;
}

.custom-post-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.custom-post-body {
  padding: 15px;
  flex-grow: 1;
}

.custom-post-title {
  margin: 0 0 10px;
  font-size: 1.5em;
}

.custom-post-meta {
  font-size: 0.9em;
  color: #666;
}

.custom-post-excerpt {
  font-size: 1em;
  line-height: 1.5;
}

.elementor-element.elementor-element-9dc395d.e-flex.e-con-boxed.e-con.e-parent {
  padding: 0;
}

a.custom-post-link {
  display: flex;
  flex-direction: column;
  align-content: center;
}

form#mc4wp-form-1 input[type="submit"] {
  font-family: 'FontAwesome';
}

.row.mil {
  display: flex;
  align-items: center;
  color: #fff;
}

form#mc4wp-form-1 input[type="email"] {
  width: 100%;
  padding: 10px;
  font-size: 17px;
  border-radius: 50px;
}

.mc4wp-form-fields {
  position: relative;
}

form#mc4wp-form-1 input[type="submit"] {
  background: transparent;
  border: none;
  color: rgb(var(--pc));
  position: absolute;
  left: 0;
  top: 0px;
  font-size: 22px;
}

.row.mil p {
  margin: 0;
  padding: 0 !important;

}

p {
  margin-bottom: 0 !important;
}

.custom-post-thumb img {
  height: 15rem !important;
}


@media (max-width: 991px) {
  .cart-details span.woocommerce-Price-amount.amount {
    display: none !important;
  }

  .catmulti {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50%, 0fr));
    grid-gap: 10px;
    grid-auto-rows: 5rem;
  }

  /* .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
  width: 99% !important;
} */
  .row.mil {
    width: 99%;
    display: flex;
    text-align: center;
    justify-content: center;
    margin: auto;
  }

  .slide-text {
    width: 80% !important;
  }

  .catmulti .container:nth-child(1) {
    grid-row: span 2;
  }

  .catmulti .container:nth-child(6) {
    grid-column: span 2;
  }

  .proimage:after {
    height: 100%;
  }

  .woocommerce ul.products li.product .proimage .button {
    transform: scale(1);
  }

  .custom-posts-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }








}

body.overflopop::before {
  content: '';
  content: '';
  height: 100%;
  width: 100%;
  position: fixed;
  display: block;
  background: #00000080;
  right: 0;
  top: 0;
  z-index: 99;
}

div#searchPopup {
  z-index: 100;
}

html[lang="en-us"] a.custom-post-link.adft svg {
  rotate: 180deg;
}

html[lang="en-us"] a.custom-post-link.adft {
  font-weight: 700;
  color: #000;
  transition: .3s;
  margin-left: 1rem;
}

/* CSS الأساسي */
.ultimate-slider .swiper-container {
  overflow: hidden;
  position: relative;
}

.ultimate-slider .swiper-slide {
  transition: all 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
  backface-visibility: hidden;
}

.ultimate-slider .slide-inner {
  height: 100%;
  background-size: cover;
  background-position: center;
}

.ultimate-slider .slide-content {
  padding: 40px;
  position: relative;
  z-index: 2;
}

/* التعديلات RTL */
[dir="rtl"] .swiper-button-next:after,
[dir="rtl"] .swiper-button-prev:after {
  content: '';
}

[dir="rtl"] .swiper-button-next {
  left: 10px;
  right: auto;
}

[dir="rtl"] .swiper-button-prev {
  right: 10px;
  left: auto;
}

/* الأنيميشن المخصص */
.swiper-effect-creative .swiper-slide {
  transform-style: preserve-3d;
}

.swiper-effect-cube .swiper-slide {
  transform-origin: center center;
}

.singleservice {
  background-image: url(http://localhost/wordpress/wp-content/uploads/2025/03/image-6.jpg);
  background-size: cover;
  padding: 10px;
  border-radius: 20px;
  overflow: hidden !important;
  font-family: 'Tajawal';
  padding-bottom: 8rem;
  position: relative;
}

h3.service-title {
  font-weight: bold;
}

h3.service-title {
  font-weight: bold;
  font-size: 20px;
  margin-top: 12px;
}

.service-image img {
  border-radius: 50% !important;
  position: absolute;
  bottom: -244px;
  left: -85px;
  width: 27rem !important;
  height: 26rem !important;
  object-fit: fill;
  max-width: none !important;
}

.custom-description {
  min-height: 8rem;
}

a.read-more-btn {
  margin-bottom: 9rem;
  display: flex;
  flex-direction: row;
  transition: 0.34s;
}

a.read-more-btn {
  color: gray !important;
  display: flex;
  align-items: center;
}

span.read-more-arrow {
  translate: -6px;
  transform: scalex(-1);
  margin-top: 4px;
}

img.swiper-slide-image {
  background: transparent !important;
  box-shadow: none !important;
}

div#mainteam:hover div#singlesocialteam {
  position: relative;
  bottom: 11px !important;
}

div#singlesocialteam {
  position: relative;
  bottom: -4rem;
  transition: 0.5s;
}

span.button-icon {
  margin: 0 5px;
}

/* تنسيق الشارة الرقمية */
.custom-icon-box-wrapper {
  position: relative;
}

.number-badge {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  border-radius: 50%;
  z-index: 10;
}

/* أنماط الرابط */
.link-style-button {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.link-style-underline {
  text-decoration: underline;
}

/* تنسيق محاذاة النص */
.text-align-right {
  text-align: right;
}

.text-align-left {
  text-align: left;
}

.text-align-center {
  text-align: center;
}

/* تنسيق أيقونة الرابط */
.link-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.custom-icon-box-icon svg {
  border: 2px dashed #086132bf;
  border-radius: 4px;
  padding: 6px;
}

p.custom-icon-box-description {
  margin-bottom: 11px !important;
  display: block;
}

.custom-elementor-menu .dropdown-toggle::after {
  display: none !important;
}

li.menu-item {
  text-align: center !important;
  margin-right: 0px;
}

.navbar-expand-md .navbar-nav .nav-link {
  margin-right: 2px;
  margin-left: 3px;
}

ul.dropdown-menu {
  transition: 0.5s;
  text-align: center;
  border-radius: 12px !important;
  font-family: 'Tajawal' !important;
}

.dropdown-menu li {
  margin: auto !important;
}

ul.dropdown-menu {
  left: auto;
  right: 0;
  z-index: 9999 !important;
  min-width: 18rem !important;
}

.custom-elementor-menu .dropdown-item {
  white-space: normal !important;
}