/********** Template CSS **********/

/*** 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;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

:root {
  --topbar-height: 80px; /* ← عدل الرقم حسب ارتفاع التوب بار عندك */
}

:root {
    --primary-color: #00322F;
    --secondary-color: #b70415;
    --accent-color: #c084fc;
    --dark-bg: #0f172a;
    --dark-card: #005A54;
    --orange-card: #b70415;
    --text-light: #f1f5f9;
    --text-gray: #94a3b8;
    --cursor-size: 56px; /* حجم الدائرة الخارجية */
    --dot-size: 3px;     /* حجم النقطة الداخلية */
    --border-width: 3px; /* سماكة حدود الدائرة */
    --bg: #0b2154;          /* خلفية الصفحة للتجربة */
    --ring-color: rgba(255,255,255,0.12);
    --hover-scale: 1.35;
    --cursor-size: 56px;
    --dot-size: 8px;
    --border-width: 3px;
    --ring-color: #0b2154; /* الدائرة سودة */
    --dot-color: #b70415;          /* النقطة سودة */
    --hover-scale: 1.35;
    --follow-ease: 0.18;   /* حجم النقطة الداخلية */
    }

/*** Button ***/
.btn {
  transition: 0.5s;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 3px;
}

/*** Navbar ***/
.sticky-top {
  top: -150px;
  transition: 0.5s;
}

.navbar {
  padding: 15px 0;
  font-family: 'Almarai', sans-serif;
  font-size: 21px;
}

.navbar .navbar-nav .nav-link {
  margin-left: 30px;
  padding: 0;
  outline: none;
  color: var(--bs-secondary);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #b70415;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
  color: var(--bs-white);
  background: var(--bs-primary);
}

@media (max-width: 991.98px) {
  .sticky-top {
    background: #fff;
  }

  .navbar .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }
}

@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;
  }
}

/*** Hero Header ***/
.hero-header {
  position: relative;
  /* margin-top: -100px; */
  overflow: hidden;
  background: rgba(216, 19, 36, 0.9);
}

.hero-header::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url(../img/hero-header-bg.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  animation: animateUpDown 8s ease infinite;
  z-index: -1;
}

@keyframes animateUpDown {
  0% {
    top: 0px;
    left: 0px;
  }
  25% {
    top: -15px;
    left: 15px;
  }
  50% {
    top: 0px;
    left: 30px;
  }
  75% {
    top: 15px;
    left: 15px;
  }
  100% {
    top: 0px;
    left: 0px;
  }
}

.hero-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--bs-light);
}

/*** Service ***/
.service-item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
  border-radius: 45px 3px 3px 3px;
  transition: 0.5s;
}

.service-item:hover {
  margin-top: -10px;
}

.service-item .service-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 45px 0;
}

.service-list a.btn-light:hover {
  color: var(--bs-white) !important;
  background: var(--bs-primary);
}

.service-list a.btn-light i {
  color: var(--bs-primary);
  transition: 0.5s;
}

.service-list a.btn-light:hover i {
  color: var(--bs-secondary);
}

/*** Footer ***/
.footer{
  background-image: url(../../img/slider/footer.jpg);
}
.footer .btn.btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: right;
  color: rgba(255, 255, 255, 0.5);
  font-weight: normal;
  transition: 0.3s;
}

.footer .btn.btn-link:hover {
  color: var(--bs-white);
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 10px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: rgba(255, 255, 255, 0.5);
}

.footer .copyright a:hover {
  color: var(--bs-white);
}

.footer .footer-menu a {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
  margin-left: 0;
  padding-left: 0;
  border-left: none;
}

/* Slider Start */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Almarai', sans-serif;
  min-height: 100vh;
  background: #f5f5f5;
  overflow-x: hidden;
  direction: rtl;
}

/* Slider */

.slider-container {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  height: 100vh;
  background: #000;
}

.slider {
  position: relative;
  height: 100%;
  width: 100%;
}

/* .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  overflow: hidden;
} */

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out; 
  overflow: hidden; 
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

/* .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease-in-out;
} */

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease-out; 
  transform: scale(1); 
}

.slide.active img {
  transform: scale(1.05);
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  color: #fff;
  padding: 20px 0;
  opacity: 0;
  transition: 0.8s ease;
  background: none;
}

.slide.active .slide-content {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.slide-title {
  font-size: 3rem; /* كبرنا العنوان */
  margin-bottom: 15px;
  opacity: 0;
  transform: translateX(-50px);
  transition: 1s ease;
}

.slide-description {
  font-size: 1.5rem; /* كبرنا الوصف */
  opacity: 0.9;
  transform: translateX(50px);
  transition: 1s ease;
}

@media (max-width: 768px) {
  .slide-title {
    font-size: 2rem;
  }
  .slide-description {
    font-size: 1rem;
  }
}

.slide.active .slide-title,
.slide.active .slide-description {
  transform: translateX(0);
  opacity: 1;
}

/* -------- Navigation Arrows -------- */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
  transition: 0.3s;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scale(1.08);
}

.nav-btn.prev {
  left: 25px;
}
.nav-btn.next {
  right: 25px;
}

/* -------- Dots -------- */
.dots-container {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 20;
}

.dot {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 6px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}

/****************/

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 30, 60, 0.4) 0%,
    rgba(10, 50, 100, 0.6) 50%,
    rgba(20, 70, 140, 0.4) 100%
  );
  z-index: 1;
  opacity: 0.7;
  transition: all 1s ease;
}

.slide.active::before {
  opacity: 0.6;
  animation: gradientShift 8s infinite alternate;
}

/* Overlay متحرك بشرائط ملونة */
.overlay-animated {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.1) 75%,
    transparent 100%
  );
  background-size: 200% 200%;
  animation: overlayFlow 10s infinite linear;
  z-index: 1;
  pointer-events: none;
}

/* Overlay دوائر متحركة */
.overlay-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.3;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 70%
  );
  animation: floatCircle 20s infinite linear;
}

.circle-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 5s;
  animation-duration: 25s;
}

.circle-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 10s;
  animation-duration: 30s;
}

/* Overlay شبكة منقطه */
.overlay-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 40px 40px;
  z-index: 1;
  opacity: 0.4;
  pointer-events: none;
  animation: gridMove 20s infinite linear;
}

/* Overlay تموج المياه */
.overlay-water {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 40%
  );
  z-index: 1;
  opacity: 0.3;
  animation: waterRipple 15s infinite ease-in-out;
}

/* Overlay نجوم متلألئة */
.overlay-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s infinite;
}

@keyframes gradientShift {
  0% {
    background: linear-gradient(
      135deg,
      rgba(0, 30, 60, 0.5) 0%,
      rgba(10, 50, 100, 0.7) 50%,
      rgba(20, 70, 140, 0.5) 100%
    );
  }
  50% {
    background: linear-gradient(
      135deg,
      rgba(20, 70, 140, 0.5) 0%,
      rgba(10, 50, 100, 0.7) 50%,
      rgba(0, 30, 60, 0.5) 100%
    );
  }
  100% {
    background: linear-gradient(
      135deg,
      rgba(0, 30, 60, 0.5) 0%,
      rgba(10, 50, 100, 0.7) 50%,
      rgba(20, 70, 140, 0.5) 100%
    );
  }
}

@keyframes overlayFlow {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 200%;
  }
}

@keyframes floatCircle {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translate(50px, -30px) rotate(90deg);
    opacity: 0.5;
  }
  50% {
    transform: translate(100px, 20px) rotate(180deg);
    opacity: 0.3;
  }
  75% {
    transform: translate(30px, 50px) rotate(270deg);
    opacity: 0.5;
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
    opacity: 0.3;
  }
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 80px 80px;
  }
}

@keyframes waterRipple {
  0% {
    background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 40%
    );
    transform: scale(1);
  }
  50% {
    background: radial-gradient(
      circle at 70% 70%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 40%
    );
    transform: scale(1.1);
  }
  100% {
    background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 40%
    );
    transform: scale(1);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.1;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* تحسين النص ليكون فوق الـ overlay */
.slide-content {
  z-index: 2;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: #fff;
}

.slide-description {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 1px;
}

/* تأثير إضاءة على الحواف */
.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.05);
  z-index: 1;
  pointer-events: none;
}

/* إضافة زر CTA تحت النص */
.slide-cta {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  transition: all 1s ease;
  transition-delay: 0.8s;
}

.slide.active .slide-cta {
  opacity: 1;
  bottom: 80px;
}

.cta-btn {
  background: linear-gradient(45deg, #0066cc, #0099ff);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 102, 204, 0.6);
  background: linear-gradient(45deg, #0099ff, #0066cc);
}

/* تأثيرات إضافية للصور */
.slide.active img {
  animation: imageGlow 5s infinite alternate;
}

@keyframes imageGlow {
  0% {
    filter: brightness(1) contrast(1);
  }
  100% {
    filter: brightness(1.1) contrast(1.05);
  }
}

/* About  Start */
/* إضافة هذه الأنماط في ملف style.css أو في <style> في الـ head */

/* خلفية متحركة لقسم About */
.about-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* خلفية متحركة */
.about-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(13, 110, 253, 0.05) 50%,
    transparent 70%
  );
  animation: backgroundFlow 15s infinite linear;
  z-index: 0;
}

/* دوائر متحركة في الخلفية */
.about-bg-shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(13, 110, 253, 0.1) 0%,
    transparent 70%
  );
  animation: float 20s infinite ease-in-out;
  z-index: 0;
}

.about-shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  animation-delay: 0s;
}

.about-shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
  animation-delay: 5s;
  animation-duration: 25s;
}

/* تأثيرات للصورة */
.img-fluid {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateX(-50px) rotate(-5deg);
  transition: all 1s ease-out;
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
  border-radius: 15px;
  overflow: hidden;
}

.img-fluid.animated {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
}

.img-fluid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(13, 110, 253, 0.1) 50%,
    transparent 60%
  );
  z-index: 1;
  animation: shimmer 3s infinite linear;
}

/* تأثير إطار للصورة */
.img-fluid::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid rgba(13, 110, 253, 0.3);
  border-radius: 10px;
  z-index: 1;
  pointer-events: none;
  animation: borderPulse 2s infinite alternate;
}

/* تأثيرات للنصوص */
.about-content {
  position: relative;
  z-index: 2;
}

.about-title {
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: slideDown 1s forwards;
  animation-delay: 0.3s;
}

.about-title span {
  animation: badgePulse 2s infinite alternate;
}

.about-text {
  opacity: 0;
  transform: translateY(30px);
  animation: slideDown 1s forwards;
  animation-delay: 0.5s;
  font-size: 17px;
  font-weight: 500;
}

.about-text:nth-of-type(2) {
  animation-delay: 0.7s;
}

/* تأثيرات للقائمة */
.feature-list {
  position: relative;
}

.feature-item {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInRight 0.8s forwards;
}

.feature-item:nth-child(1) {
  animation-delay: 0.9s;
}
.feature-item:nth-child(2) {
  animation-delay: 1.1s;
}
.feature-item:nth-child(3) {
  animation-delay: 1.3s;
}
.feature-item:nth-child(4) {
  animation-delay: 1.5s;
}

/* تأثيرات للأزرار */
.about-buttons {
  position: relative;
  z-index: 2;
}

.about-buttons .btn-primary {
  opacity: 0;
  transform: scale(0.8);
  animation: popIn 1s forwards;
  animation-delay: 1.7s;
  position: relative;
  overflow: hidden;
}

.about-buttons .btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: buttonShine 3s infinite;
}

/* تأثيرات لأيقونات التواصل */
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons .btn-square {
  opacity: 0;
  transform: translateY(20px);
  animation: bounceIn 0.6s forwards;
}

.social-icons .btn-square:nth-child(1) {
  animation-delay: 1.9s;
}
.social-icons .btn-square:nth-child(2) {
  animation-delay: 2s;
}
.social-icons .btn-square:nth-child(3) {
  animation-delay: 2.1s;
}
.social-icons .btn-square:nth-child(4) {
  animation-delay: 2.2s;
}

.social-icons .btn-square:hover {
  animation: socialHover 0.5s ease infinite alternate;
}

/* الكي فرايمز للأنيميشن */
@keyframes backgroundFlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(20px, -20px) scale(1.05);
  }
  50% {
    transform: translate(-15px, 15px) scale(0.95);
  }
  75% {
    transform: translate(-20px, -20px) scale(1.02);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes borderPulse {
  0% {
    border-color: rgba(13, 110, 253, 0.3);
  }
  100% {
    border-color: rgba(13, 110, 253, 0.8);
  }
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  70% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes buttonShine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.5);
  }
  70% {
    transform: translateY(-5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes socialHover {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-5px);
  }
}

@keyframes badgePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
  }
}

@media (max-width: 992px) {
  .img-fluid {
    transform: translateY(50px);
  }

  .img-fluid.animated {
    transform: translateY(0);
  }
}

.wow.fadeIn {
  opacity: 0;
  animation-fill-mode: forwards;
}

.animated {
  opacity: 1 !important;
}

/* Feature Start */
/* إضافة هذه الأنماط إلى ملف style.css أو قسم <style> */

/* تصميم جديد للقسم */
.features-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%) !important;
}

/* خلفية متحركة */
.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
  animation: bgPulse 15s infinite alternate;
  z-index: 0;
}

/* أشكال متحركة في الخلفية */
.feature-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatShapes 25s infinite linear;
  z-index: 0;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 5%;
  background: radial-gradient(circle, #fff 0%, transparent 70%);
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  bottom: 15%;
  right: 5%;
  background: radial-gradient(circle, #ffd700 0%, transparent 70%);
  animation-delay: 5s;
  animation-duration: 30s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  background: radial-gradient(circle, #00ffcc 0%, transparent 70%);
  animation-delay: 10s;
  animation-duration: 20s;
}

/* تصميم كل عنصر ميزة */
.feature-item-wrapper {
  position: relative;
  z-index: 1;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(30px);
}

.feature-item-wrapper.animated {
  opacity: 1;
  transform: translateY(0);
}

.feature-item-wrapper:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

/* أنيميشن للأيقونة */
.feature-icon-container {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  background: linear-gradient(135deg, #ffd700 0%, #ff9900 100%);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.3);
  animation: iconFloat 3s infinite ease-in-out;
}

.feature-icon-container::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ffd700, #ff9900, #ffd700, #ff9900);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  animation: iconGlow 2s infinite alternate;
}

.feature-icon-container:hover::before {
  opacity: 1;
}

.feature-icon-container i {
  font-size: 2rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.feature-icon-container:hover i {
  transform: scale(1.2);
  animation: iconSpin 1s ease;
}

/* تأثيرات للنص */
.feature-text {
  color: white;
  font-size: 1.2rem !important;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.feature-text::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  transition: width 0.5s ease;
}

.feature-item-wrapper:hover .feature-text::after {
  width: 100%;
}

/* تأثيرات خاصة لكل أيقونة */
/* أيقونة الجائزة */
.feature-item-wrapper:nth-child(1) .feature-icon-container {
  background: linear-gradient(135deg, #ffd700 0%, #ff9900 100%);
  animation-delay: 0.1s;
}

.feature-item-wrapper:nth-child(1):hover .feature-icon-container {
  animation: trophyShake 0.5s ease;
}

/* أيقونة المستخدمين */
.feature-item-wrapper:nth-child(2) .feature-icon-container {
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  animation-delay: 0.3s;
}

.feature-item-wrapper:nth-child(2):hover .feature-icon-container {
  animation: usersPulse 1s infinite;
}

/* أيقونة الدعم */
.feature-item-wrapper:nth-child(3) .feature-icon-container {
  background: linear-gradient(135deg, #38b000 0%, #2d7d46 100%);
  animation-delay: 0.5s;
}

.feature-item-wrapper:nth-child(3):hover .feature-icon-container {
  animation: headsetGlow 1.5s infinite alternate;
}

/* أيقونة الأسعار */
.feature-item-wrapper:nth-child(4) .feature-icon-container {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  animation-delay: 0.7s;
}

.feature-item-wrapper:nth-child(4):hover .feature-icon-container {
  animation: moneyWave 1s infinite;
}

/* الكي فرايمز للأنيميشن */
@keyframes bgPulse {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

@keyframes floatShapes {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.05);
  }
}

@keyframes iconGlow {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  100% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

@keyframes iconSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes trophyShake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-15deg);
  }
  75% {
    transform: rotate(15deg);
  }
}

@keyframes usersPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes headsetGlow {
  0% {
    box-shadow:
      0 0 20px rgba(56, 176, 0, 0.5),
      inset 0 0 20px rgba(255, 255, 255, 0.3);
  }
  100% {
    box-shadow:
      0 0 40px rgba(56, 176, 0, 0.8),
      inset 0 0 20px rgba(255, 255, 255, 0.5);
  }
}

@keyframes moneyWave {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* تأثيرات دخول متتابعة */
.feature-item-wrapper:nth-child(1) {
  animation-delay: 0.2s;
}
.feature-item-wrapper:nth-child(2) {
  animation-delay: 0.4s;
}
.feature-item-wrapper:nth-child(3) {
  animation-delay: 0.6s;
}
.feature-item-wrapper:nth-child(4) {
  animation-delay: 0.8s;
}

/* تحسينات للاستجابة */
@media (max-width: 768px) {
  .feature-icon-container {
    width: 60px;
    height: 60px;
  }

  .feature-icon-container i {
    font-size: 1.5rem;
  }

  .feature-text {
    font-size: 1rem !important;
  }

  .feature-item-wrapper {
    margin-bottom: 15px;
    padding: 15px;
  }
}

/* تأثيرات إضافية عند الظهور */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-item-wrapper {
  animation: slideUpFade 0.8s forwards;
}

/* Logo Start */
/* تنسيق صورة اللوجو */
.animated-logo-img {
  height: 80px; /* يمكنك تعديل الارتفاع حسب رغبتك */
  width: auto;
  display: block;
  /* جعلنا المدة 4 ثوانٍ بدلاً من 2.5 لتكون الحركة أهدأ */
  animation: image-soft-bounce 4s infinite ease-in-out;
}

/* حركة هادئة جداً */
@keyframes image-soft-bounce {
  0%,
  100% {
    /* الوضع الطبيعي */
    transform: scale(1) translateX(0);
  }
  50% {
    /* تكبير بسيط جداً (3% فقط) مع إزاحة خفيفة */
    transform: scale(1.03) translateX(5px);
  }
}

/* للموبايل */
@media (max-width: 991px) {
  .animated-logo-img {
    height: 50px;
  }
}

/* Product Start */
body {
  background: #f8f9fa;
  font-family: 'Almarai', sans-serif;
  margin: 0;
}
h1,h2,h3,h4,h5,h6,p,span {
  font-family: 'Almarai', sans-serif;
}

.swiper {
  width: 95%; /* توسيع الحاوية لتناسب 4 قطع */
  padding: 40px 20px 60px;
}

.product-card {
  background: #fff;
  padding: 15px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
}

.product-card::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, #1f3763, #4e6bb0);
  top: -150%;
  left: -150%;
  border-radius: 50%;
  transition: 0.7s ease;
  opacity: 0.05;
  z-index: 0;
}

.product-card:hover::before {
  top: -50%;
  left: -50%;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: #1f3763;
}

/* .card-img {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 15px;
  background: #fdfdfd;
} */

.card-img {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden; 
  margin-bottom: 15px;
  background: #fdfdfd;
}

/* .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
} */

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1);
}



/* .product-card:hover .card-img img {
  transform: scale(1.15);
} */

.product-card:hover .card-img img {
  transform: scale(1.04);
}

.title {
  font-size: 19px;
  font-weight: 700;
  color: #333;
  margin: 10px 0;
}

.btn:hover {
  background: #000;
  transform: scale(1.05);
}

.swiper-button-next,
.swiper-button-prev {
  color: #1f3763;
  transform: scale(0.7);
}


.product-bg {
  position: relative;
  width: 100%;
  padding: 50px 0;
  overflow: hidden;
}

.infinite-bg{
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg-slide{
  position: absolute;
  top: 0;
  left: 0;
  width: 200%; 
  height: 100%;

  background-image: url('../img/products/bg-product.jpg');
  background-size: cover;
  background-repeat: repeat-x;

  animation: moveBg 20s linear infinite;
}

@keyframes moveBg {
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}

/* Product End*/



/* Scroll Top Start */
 .scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 40px;
  /* background: linear-gradient(90deg, #0d3f3d, #ff8c1a); */
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top span {
  color: #000;
  font-size: 22px;
  font-weight: bold;
  position: absolute;
  z-index: 2;
}

/* SVG Circle */
.scroll-top svg {
  position: absolute;
  width: 36px;
  height: 36px;
  transform: rotate(-90deg);
}

.scroll-top svg .bg {
  fill: none;
  stroke: var(--orange-card);
  stroke-width: 3;
}

.scroll-top svg .progress {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.2s;
}

/* Scroll Top End */


/* Cursor Start */
  .custom-cursor{
    position: fixed;
    left: 0;
    top: 0;
    width: var(--cursor-size);
    height: var(--cursor-size);
    border-radius: 50%;
    border: var(--border-width) solid var(--ring-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate3d(-50%,-50%,0) scale(1);
    pointer-events: none; /* عشان الماوس يفضل يشتغل على العناصر */
    z-index: 9999;
    transition: transform 180ms cubic-bezier(.2,.9,.3,1), border-color 180ms;
    will-change: transform, left, top;
    mix-blend-mode: normal;
    /* subtle glow */
    box-shadow: 0 0 18px rgba(255,255,255,0.02), inset 0 0 2px rgba(255,255,255,0.02);
  }

  .custom-cursor .dot{
    width: var(--dot-size);
    height: var(--dot-size);
    border-radius: 50%;
    background: var(--dot-color);
    box-shadow: 0 0 6px rgba(255,255,255,0.6);
    transform: translateZ(0);
  }

  .custom-cursor.is-hover{
    transform: translate3d(-50%,-50%,0) scale(var(--hover-scale));
    border-color: rgba(255,255,255,0.22);
  }

  .content{
    max-width:900px;margin:60px auto;padding:24px;
  }

  @media (hover: none) and (pointer: coarse){
    .custom-cursor{ display:none; }
    body{ cursor: default; }
  }

  /* Cursor Start */


  /* gallery Start */
 /* الحاوية الأساسية */
.carousel-gallery {
    margin: 40px 0;
    padding: 0 20px;
    box-sizing: border-box;
}

/* تصميم الشريحة (المنتج) */
.carousel-gallery .swiper-slide a {
    display: block;
    width: 100%;
    height: 250px; /* ارتفاع جيد للشاشات الكبيرة */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: #fff; /* خلفية بيضاء لصور المنتجات */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

/* إعداد الصورة بداخل الشريحة */
.carousel-gallery .swiper-slide a .image {
    width: 100%;
    height: 100%;
    background-size: contain; /* هام جداً: لا يقطع الصورة ويظهر المنتج كاملاً */
    background-repeat: no-repeat;
    background-position: center center;
    transition: transform 0.3s ease;
}

/* تأثير الـ Overlay عند التمرير */
.carousel-gallery .swiper-slide a:hover .image .overlay {
    opacity: 1;
}

.carousel-gallery .swiper-slide a .image .overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(183, 4, 21, 0.7); /* لون شفاف أحمر متناسق */
    text-align: center;
    opacity: 0;
    transition: all 0.2s linear;
}

.carousel-gallery .swiper-slide a .image .overlay em {
    color: #fff;
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* إعدادات النقاط (Pagination) لتعمل على كل الأجهزة */
.carousel-gallery .swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 25px;
    text-align: center;
}

.carousel-gallery .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #b70415;
    transform: scale(1.2);
}

/* --- تعديلات التجاوب (Responsive Queries) --- */

@media (max-width: 991px) {
    .carousel-gallery .swiper-slide a {
        height: 200px; /* تقليل الارتفاع للتابلت */
    }
}

@media (max-width: 767px) {
    .carousel-gallery {
        padding: 0 10px;
        margin: 20px 0;
        overflow-x: hidden;
    }
    .carousel-gallery .swiper-slide a {
        height: 160px; /* ارتفاع مناسب جداً للموبايل كما في الصورة */
    }
    .carousel-gallery .swiper-slide a .image .overlay em {
        font-size: 18px;
    }
}

/* تأثير اللمعان (Shine Animation) */
#hih:before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    animation: slide-shine 5s infinite;
}

@keyframes slide-shine {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.carousel-gallery .swiper-container {
    width: 100%;
    height: auto;
    padding-bottom: 50px; /* مساحة للنقاط بالأسفل */
}

.carousel-gallery .swiper-slide a {
    height: 250px; /* ارتفاع ثابت للكمبيوتر */
}

@media (max-width: 767px) {
    .carousel-gallery .swiper-slide a {
        height: 180px; /* ارتفاع أصغر للموبايل */
    }
}

.carousel-gallery .swiper-slide a .image {
    background-size: contain; /* لضمان ظهور المنتج كاملاً بدون قص كما في صورتك */
    background-repeat: no-repeat;
}
  /* gallery End */

  @keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  /* تطبيق الأنيميشن */
  animation: fade-in linear;
  
  /* ربط الأنيميشن برؤية العنصر داخل الشاشة */
  animation-timeline: view();
  
  /* التحكم في وقت البدء والانتهاء (اختياري) */
  animation-range: entry 0% cover 30%; 
}


/* Scroll Start */
:root {
            --primary: #6C63FF;
            --primary-light: #8A84FF;
            --primary-dark: #554FD8;
            --secondary: #FF6584;
            --secondary-light: #FF8BA0;
            --accent: #36D1DC;
            --dark: #2A2D3E;
            --light: #F8F9FF;
            --white: #FFFFFF;
            --gray: #E8EAFF;
            --shadow: 0 20px 50px rgba(108, 99, 255, 0.15);
            --transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        /* تصميم شريط التمرير الملون */
        ::-webkit-scrollbar {
            width: 16px;
            height: 16px;
        }
        
        ::-webkit-scrollbar-track {
            background: linear-gradient(180deg, var(--light) 0%, #E8EAFF 100%);
            border-radius: 10px;
            box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
        }
        
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
            border-radius: 10px;
            border: 3px solid var(--light);
            box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
            transition: var(--transition);
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-light) 100%);
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(108, 99, 255, 0.6);
        }
        
        ::-webkit-scrollbar-thumb:active {
            background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
        }
        
        ::-webkit-scrollbar-corner {
            background: var(--light);
        }
        
        /* أنيميشن تدرج الألوان في شريط التمرير */
        @keyframes scrollbarGradient {
            0% { background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%); }
            25% { background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%); }
            50% { background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%); }
            75% { background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%); }
            100% { background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%); }
        }
        
        .scroll-animated::-webkit-scrollbar-thumb {
            animation: scrollbarGradient 8s infinite alternate;
        }
        

        
        /* مؤشر التمرير المتحرك */
        .scroll-progress {
            position: fixed;
            top: 0;
            right: 0;
            width: 0%;
            height: 6px;
            background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
            z-index: 9999;
            box-shadow: 0 0 20px rgba(108, 99, 255, 0.5);
            transition: width 0.1s ease;
        }
        
        /* مؤشر التمرير الرأسي الجانبي */
        .vertical-scroll-indicator {
            position: fixed;
            top: 50%;
            left: 20px;
            transform: translateY(-50%);
            width: 10px;
            height: 300px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            z-index: 9998;
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        
        .vertical-scroll-fill {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 0%;
            background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent));
            border-radius: 10px;
            transition: height 0.2s ease;
        }
        
        /* تصميم الهيدر */
        .header {
            text-align: center;
            padding: 100px 20px 60px;
            margin-bottom: 80px;
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(54, 209, 220, 0.05) 100%);
            z-index: -1;
            clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
        }
        
        .header h2 {
            color: var(--dark);
            font-size: 3.5rem;
            margin-bottom: 20px;
            font-weight: 800;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: titleGradient 8s infinite alternate;
        }
        
        @keyframes titleGradient {
            0% { background-position: 0% 50%; }
            100% { background-position: 100% 50%; }
        }
        
        .header p {
            color: #666;
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.8;
        }
        
        /* تصميم البطاقات */
        .cards-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px 100px;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 40px;
        }
        
        .card {
            background: var(--white);
            border-radius: 25px;
            padding: 40px 30px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(108, 99, 255, 0.1);
            transform: translateY(50px);
            opacity: 0;
            animation: cardAppear 0.8s forwards;
        }
        
        @keyframes cardAppear {
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .card:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .card:nth-child(3) {
            animation-delay: 0.4s;
        }
        
        .card:hover {
            transform: translateY(-20px);
            box-shadow: 0 30px 70px rgba(108, 99, 255, 0.25);
        }
        
        .card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.6s ease;
        }
        
        .card:hover::before {
            transform: scaleX(1);
        }
        
        .card-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-light), var(--primary));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            color: white;
            font-size: 2rem;
            box-shadow: 0 15px 30px rgba(108, 99, 255, 0.3);
        }
        
        .card h3 {
            color: var(--dark);
            font-size: 1.8rem;
            margin-bottom: 20px;
            font-weight: 700;
        }
        
        .card p {
            color: #666;
            line-height: 1.8;
            margin-bottom: 25px;
        }
        
        /* تصميم النموذج الرئيسي */
        .form-section {
            max-width: 1200px;
            margin: 0 auto 150px;
            padding: 0 20px;
        }
        
        .form-container {
            background: linear-gradient(135deg, var(--dark) 0%, #3A3E5A 100%);
            border-radius: 35px;
            padding: 80px 60px;
            box-shadow: 
                0 40px 80px rgba(0, 0, 0, 0.2),
                inset 0 0 0 1px rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
            transform: translateY(80px);
            opacity: 0;
            transition: transform 1s ease, opacity 1s ease;
        }
        
        .form-container.visible {
            transform: translateY(0);
            opacity: 1;
        }
        
        .form-container::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
            z-index: 0;
        }
        
        .form-content {
            position: relative;
            z-index: 1;
        }
        
        .form-header {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .form-header h1 {
            font-size: 3.5rem;
            color: var(--white);
            margin-bottom: 20px;
            font-weight: 800;
        }
        
        .form-header p {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.7);
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.8;
        }
        
        .highlight {
            color: var(--white);
            background: linear-gradient(90deg, var(--secondary), var(--accent));
            padding: 5px 15px;
            border-radius: 10px;
            font-weight: 700;
            position: relative;
            display: inline-block;
            animation: highlightPulse 3s infinite;
        }
        
        @keyframes highlightPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
                

  /* Start Product Page */
  .cards-img {
      width: 100%;
      height: auto; 
      border-radius: 20px;
      overflow: hidden; 
      margin-bottom: 15px;
      background: #fdfdfd;
      display: flex; 
      align-items: center; 
      justify-content: center; 
  }

  .cards-img img {
      width: 100%;
      height: 100%;
      object-fit: cover; 
      display: block; 
  }
  .product-cards .title{
    text-align: center;
  }

 .product-cards {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  transform: translateY(40px);
  opacity: 0;
  animation: fadeUp 0.9s ease forwards;
}

.product-cards:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.product-cards .cards-img img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.product-cards:hover .cards-img img {
  transform: scale(1.06);
}

.product-cards .title {
  transition: color 0.3s ease;
}

@keyframes fadeUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}


.product-cards .cards-imgs {
    height: 380px; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-cards .cards-imgs img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    transition: transform 0.3s ease;
}

/* End Product Page */

/* Start Pdf Page */
.pdf-section {
  padding: 40px 20px;
  color: #fff;
  text-align: center;
}

.pdf-header h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.pdf-header p {
  color: #ccc;
  margin-bottom: 30px;
}

/* .pdf-viewer {
  width: 100%;
  max-width: 500px;
  margin: auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
} */

.pdf-viewer {
  width: 100%;
  max-width: 500px;
  margin: auto;
  border-radius: 15px;
  overflow: hidden;
}

.pdf-viewer img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.pdf-viewer iframe {
  width: 100%;
  height: 667px;
  border: none;
  overflow: hidden;
}

/* .pdf-viewer iframe {
  width: 100%;
  height: 500px;
  border: none;
  overflow: hidden;
} */


.btnn {
  display: inline-block;
  padding: 12px 25px;
  margin: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btnn.download {
  background: #b70415;
  color: #fff;
}

.btnn.view {
  background: #3b82f6;
  color: #fff;
}

.btnn:hover {
  opacity: 0.8;
}
/* End Pdf Page */