.header-gradient {
  background: linear-gradient(to right, #ffffff, #f5f5f5);
}

.bg-secondary {
  background-color: #f5f5f5 !important;
}

.bg-primary {
  background-color: #0152c7 !important;
}

.text-secondary {
  color: #0152c7 !important;
  

}

@font-face {
  font-family: 'Fustat';
  /* اسم الخط اللي بتستخدمه لاحقاً */
  src: url('/Fonts/Fustat-Medium.ttf') format('truetype');
  /* المسار للملف */
}

@font-face {
  font-family: 'Portada';
  src: url('/Fonts/Portada.ttf') format('truetype');
}



.bg-c{
  background-color: #99999921;
}

@font-face {
  font-family: 'Fustat';
  src: local("Fustat");
  unicode-range: U+0041-005A, U+0061-007A; /* A-Z, a-z */
}

@font-face {
  font-family: "Portada";
  src: local("Portada");
  unicode-range: U+0600-06FF; /* Arabic */
}

h1 {
  font-family: 'Fustat', sans-serif;

}

h2 {
  font-family: "Portada";
  color: #f5f5f5;
  font-size: 27px;

}

@keyframes fadeRotate {
  0% {
    opacity: 0;
    transform: rotate(-180deg);
    /* يبدأ صغير ويدور */
  }

  100% {
    opacity: 1;
    transform: rotate(0deg);
    /* يرجع طبيعي */
  }
}

.fade-rotate {
  opacity: 0;
  animation: fadeRotate 1s cubic-bezier(.08, .06, .08, 1.01) forwards;
  animation-delay: 0.2s;

}

@keyframes fadeSlideInUp {
  0% {
    opacity: 0;
    transform: translateY(-27px);
    /* تجي من اليسار */
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-slide-up {
  opacity: 0;
  animation: fadeSlideInUp 0.6s ease forwards;
  animation-delay: 0.4s;
}

@keyframes fadeSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-27px);
    /* تجي من اليسار */
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideInRight {
  0% {
    opacity: 0;
    transform: translateX(27px);
    /* تجي من اليمين */
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-slide-right {
  opacity: 0;
  animation: fadeSlideInRight 0.6s ease forwards;
  animation-delay: 0.239s;
}

@keyframes fadeSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-27px);
    /* تجي من اليمين */
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-slide-left {
  opacity: 0;
  animation: fadeSlideInLeft 0.6s ease forwards;
  animation-delay: 0.239s;
}

@keyframes fadeScale {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.fadeScale {
  opacity: 0;
  animation: fadeScale 1s ease forwards;
  animation-delay: 0.7s;
}

@keyframes fade {
  0% {
    opacity: 1;
    background-color: #ffffff;
    /* يبدأ أبيض */
  }

  100% {
    opacity: 1;
    background-color: #f5f5f5;
    /* ينتهي رمادي */
  }
}

.fade-bg {
  position: relative;
  overflow: hidden;
}

.fade-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #ffffff;
  /* البداية تكون أبيض */
  border-radius: 0.375rem;
  animation: fade 1s cubic-bezier(.08, .06, .08, 1.01) forwards;
  animation-delay: 0.2s;
  z-index: 0;
}

.fade-bg>* {
  position: relative;
  z-index: 1;
}

* {
  font-family: Portada;
}

.btn {
  color: #f5f5f5;
  background-color: #0152c7;
  border-color: #0153c700;
  font-size: x-large;
}

.btn:hover {
  background-color: #013b8d;
}

.Cdropdown {
  position: relative;
}

.Cdropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  min-width: 160px;
}

.Cdropdown:hover .dropdown-menu {
  display: block;
}

.Cdropdown:hover .btn {
  color: #ffbb00;
}


.fade {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.group {
  display: flex;
  line-height: 28px;
  align-items: center;
  position: relative;
  max-width: 190px;
}

.input {
  width: 100%;
  height: 40px;
  line-height: 28px;
  padding: 0 1rem;
  padding-left: 2.5rem;
  border: 2px solid transparent;
  border-radius: 8px;
  outline: none;
  background-color: #ffffff;
  color: #000;
  transition: 0.3s ease;
}

.input::placeholder {
  color: #9e9ea7;
}

.input:focus,
input:hover {
  outline: none;
  border-color: rgba(0, 48, 73, 0.4);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgb(0 48 73 / 10%);
}

.icon {
  position: absolute;
  left: 1rem;
  fill: #686868;
  width: 1rem;
  height: 1rem;
  margin-left: 10px;
}

.tt {
  position: relative;
  left: -30px;
  /* يتحرك لليسار */
  bottom: -8px;
  /* يتحرك لأعلى */
  font-size: x-large !important;
  width: 100%;
  height: 100%;
  white-space: nowrap;
}

.Cdropdown {
  position: relative;
  left: 0px;
  opacity: 0;
  animation: fadeSlideInLeft 0.6s ease forwards;
  animation-delay: 0.239s;

}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 5; 
}


.product-row {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 0;
  direction: rtl;
  
}

.product-row::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 auto;
  width: 250px;
  margin: 0 12px;
}


.scroll-button {
  position: absolute;
  top: 290px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.527);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}


.scroll-button:hover {
  background: #f5f5f5d7;
}

.scroll-button.left {
  left: 10px;
}

.scroll-button.right {
  right: 10px;
}

.carousel-indicators {
  bottom: 0;
}

.carousel-indicators [data-bs-target] {
  background-color: #000000;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.7;
}

.carousel-indicators .active {
  background-color: #000;
  opacity: 1;
  border-radius: 50%;
}

/* إلغاء حركة الكاروسيل */
.carousel-item {
  transition: none !important;
}

.nosave {
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.product-card {
  font-family: 'Portada', sans-serif;
}

.EN {
  font-family: "Fustat", sans-serif;
}

.AR {
  font-family: "Portada", sans-serif;
}

.green {
  color: #056839;
  font-family: "Fustat", sans-serif;

}

h3 {
  color: #056839;
  font-size: 25px;
  font-style: bold;
}

.ics {
  margin-top: 0px;
}

small {
  font-size: large;
}


@media (min-width: 992px) {
    .product-card:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        z-index: 5;
    }
}

@media screen and (max-width: 576px) {
  .d-sm-inline {
    display: inline-block !important;
  }
}

@media screen and (max-width: 768px) {
  .scroll-button {
    display: none;
  }

  .icons {}

  .ics {
    margin-top: 18px;
  }




.tc {
  display: none;
}

}

@media screen and (max-width: 530px) {
  .tc {
    display: none;
  }

  .bz {
    display: none !important;
  }
}

@media screen and (max-width: 378px) {
  .bho {
    position: absolute;
    top: 15px;
    left: 10px;
  }
}

@media screen and (max-width: 568px) {
  .bho {
    position: absolute;
    top: 0px;
    left: 30px;
  }

  .ics
}

@media screen and (max-width: 421px) {

.bho {
    position: absolute;
    top: 0px;
    left: 10px;
  }
}