/**
Theme Name: Sehly Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ==== General ==== */
a,button,input,textarea,select,.elementor-button,.elementor-icon,.elementor-widget-button *,
.elementor-widget-icon *,.elementor-widget-image *,.elementor-widget-heading *,.elementor-widget-nav-menu a {transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;}
.elementor-101 .elementor-element.elementor-element-02b0d78 {height: 60px;}
.elementor-popup-modal .dialog-widget-content {background: transparent !important;}
.scroll-hint {animation: arrowBounce 1.6s ease-in-out infinite;}
.scroll-hint .elementor-icon i,.scroll-hint .elementor-icon svg {display: inline-block;animation: arrowBounce 1.2s ease-in-out infinite;}
@keyframes arrowBounce {0%,100% {transform: translateY(0);opacity: 0.9;}50% {transform: translateY(10px);opacity: 1;}}
.elementor-editor-active .elementor-add-section-inner {margin: 150px 0 0 !important;}
.hfe-counter-title,.hfe-counter-content {justify-content: flex-start;flex: inherit !important}
.hfe-counter-wrapper {justify-content: start;}
.elementor-3030 .elementor-element.elementor-element-21ac6a6 .sub-menu li a.hfe-sub-menu-item {font-size: 18px;}
selector:hover .elementor-icon {transform: scale(1.15);}
.elementor-icon {transition: transform 0.3s ease;}
.elementor-widget-woocommerce-product-title.elementor-page-title, .woocommerce-js div.product .product_title {display: block;}
@media (min-width: 993px) {.ast-separate-container #primary,.ast-separate-container.ast-left-sidebar #primary,.ast-separate-container.ast-right-sidebar #primary {margin: 150px 0 !important;}}
.woocommerce div.product p.price,.woocommerce div.product span.price {display:none !important}
.woocommerce table.shop_attributes {border:0}
.woocommerce table.shop_attributes th {background:#f5f5f5;font-weight:600}
.woocommerce table.shop_attributes td {padding:12px}
/*.hfe-nav-menu .sub-menu li.menu-item{text-align:center}*/

/* ==== Logos Marquee ==== */
.marquee {--gap: 60px;--speed: 120;--logoW: auto;}
.marquee .marquee__mask {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
}
.marquee .marquee__track {
  display: flex !important;
  width: max-content !important;
  will-change: transform;
  gap: var(--gap);
  align-items: center;
}
.marquee .marquee__list {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: var(--gap);
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  align-items: center;
}
.marquee .marquee__item {
  display: flex !important;
  align-items: center;
}
.marquee .marquee__item img {
  width: var(--logoW);
  height: auto;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.marquee .marquee__item img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.06);
}
/* الأجزاء المتلاشية على أطراف حاوية اللوجوز */
/*.marquee .marquee__mask:before,.marquee .marquee__mask:after {content: "";position: absolute;top: 0;bottom: 0;width: 80px;z-index: 2;pointer-events: none;}
.marquee .marquee__mask:before {left: 0;background: linear-gradient(to right, #fff 0%, transparent 100%);}
.marquee .marquee__mask:after {right: 0;background: linear-gradient(to left, #fff 0%, transparent 100%);}
*/
@keyframes marqueeMoveLtr {
  from {transform: translateX(0)}
  to {transform: translateX(-50%)}
}
@keyframes marqueeMoveRtl {
  from {transform: translateX(0)}
  to {transform: translateX(50%)}
}
.marquee[data-dir="ltr"] .marquee__track {
  animation-name: marqueeMoveLtr;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.marquee[data-dir="rtl"] .marquee__track {
  animation-name: marqueeMoveRtl;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@media (prefers-reduced-motion: reduce) {
  .marquee[data-dir="rtl"] .marquee__track {animation: marqueeMoveRtl 25s linear infinite;}
}

/* ==== Blog Cards ==== */
.news-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .news-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .news-cards__grid {
    grid-template-columns: 1fr;
  }
}
.news-card {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}
.news-card__image {
  position: relative;
  display: block;
  background: #f3f4f6;
}
.news-card__image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.news-card__date {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: #18c7c5;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(24, 199, 197, 0.25);
}
.news-card__body {
  padding: 22px 26px 26px;
  text-align: center;
}
.news-card__cat {
  color: #f59e0b;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}
.news-card__title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
  color: #111827;
}
.news-card__title a {
  color: inherit;
  text-decoration: none;
}
.news-card__title a:hover {
  text-decoration: underline;
}
.news-card__excerpt {
  margin: 0 0 16px;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.9;
}
.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1f2a5a;
  font-weight: 800;
  text-decoration: none;
}
.news-card__more:hover {
  text-decoration: underline;
}
.news-cards__footer {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}
.news-cards__all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #2b2155;
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(43, 33, 85, 0.18);
}
.news-cards__all:hover {
  filter: brightness(1.06);
}


/* ==== Service Cards ==== */
.service-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}
.service-card .hover-btn {
  position: absolute;
  top: 38%;
  left: 46%;
  z-index: 5;
  pointer-events: none;
}
.service-card .mid-icon .elementor-icon {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}
.service-card .hover-btn .elementor-icon-wrapper {
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 0.45s ease, transform 0.45s ease !important;
  will-change: transform, opacity;
}
.service-card:hover .hover-btn .elementor-icon-wrapper {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* ==== Stat Cards ==== */
.stat-card .elementor-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.stat-card .elementor-icon svg {
  width: 60px;
  height: 60px;
  transition: transform 0.35s ease, filter 0.35s ease, fill 0.35s ease !important;
  transform-origin: center;
}
.stat-card:hover .elementor-icon svg {
  transform: translateY(-5px) scale(1.08) rotate(6deg);
  filter: drop-shadow(0 12px 22px rgba(0, 196, 204, 0.35));
}
.stat-card {
  position: relative;
  border-radius: 20px;
  padding: 48px 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  will-change: transform;
}
.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(45deg, transparent, #00c4cc, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 0.35s ease;
}
.stat-card > * {
  position: relative;
  z-index: 1;
}
.stat-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
}
.stat-card:hover::after {
  opacity: 1;
}
.stat-card .elementor-widget,
.stat-card .hfe-counter-wrapper {
  text-align: center;
}
.highlight-text {
  color: #00c4cc;
}