.banner {
  width: 100%;
  height: 100%vh;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.banner .slider {
  position: absolute;
  width: 200px;
  height: 250px;
  top: 10%;
  left: calc(50% - 100px);
  transform-style: preserve-3d;
  transform: perspective(1000px);
  animation: autoRun 20s linear infinite;
}
@keyframes outoRun {
  from {
    transform: perspective(1000px) rotateY(0deg);
  }
  to {
    transform: perspect ive(1000px) rotateY(360deg);
  }
}
.banner .slider .item {
  position: absolute;
  inset: 0 0 0 0;
  transform: rotateY(
      calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)
    )
    translateZ(550px);
}
.banner .slider .item .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@font-face {
  font-family: "RB";
  src: local("assets/fonts/RB") format("ttf");
}
@font-face {
  font-family: "aljazeera";
  src: local("assets/fonts/aljazeera") format("ttf");
}

.bold-font {
  font-weight: bold;
}
.mainFontColor {
  color: #009ae2;
}
.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

.media-logo {
  color: blue;
  box-sizing: border-box;
  display: inline;
  float: none;

  position: static;

  z-index: auto;
}
.media_div {
  font-size: 25px;
  text-decoration: none;
  border-radius: 15px;
}

h2.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

h2.section-title::after {
  content: "";
  width: 50%;
  height: 4px;
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  position: absolute;
  bottom: -10px;
  right: 0;
  border-radius: 2px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: translateY(40px);
  opacity: 0;
}

/* أنيميشن عند ظهور الكارت */
.carousel-item.active .testimonial-card {
  transform: translateY(0);
  opacity: 1;
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
  border: 3px solid #00b4d8;
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.4);
  animation: popIn 0.8s ease;
}

.testimonial-card p {
  color: #333;
  font-size: 16px;
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.8;
}

.testimonial-card h5 {
  margin-top: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #0077b6;
}

.testimonial-card span {
  display: block;
  font-size: 14px;
  color: #666;
}

/* أنيميشن الصورة */
@keyframes popIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* تخصيص أزرار الكاروسيل */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  width: 40px;
  height: 40px;
}
