/* Add custom CSS styles below */ 


.banner-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.banner-overlay .cta-btn {
  background: transparent;
  color: #fff;
  padding: 12px 30px;
  border-radius: 0 !important;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.banner-overlay .cta-btn:hover {
  background: linear-gradient(90deg, #fba819, #d01e26, #af1d25);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
  transform: scale(1.05);
}

.banner-overlay .cta-btn:active {
  transform: scale(0.95);
}












@media (max-width: 768px) {
    a.banner.banner--fixed.overflow-hidden:has(img[src*="d464dc8a-f7fd-44ea-a45e-dfa47b906c04"]) {
        display: none !important;
    }
}












/* زر بنر الموبايل */
.mobile-banner-overlay {
  position: absolute;
  top: 50%;               /* ← في منتصف البنر */
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.mobile-banner-overlay .mobile-cta-btn {
  background: transparent;
  color: #fff;
  padding: 10px 26px;
  border-radius: 0 !important;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Hover */
.mobile-banner-overlay .mobile-cta-btn:hover {
  background: linear-gradient(90deg, #fba819, #d01e26, #af1d25);
  color: #fff;
  border-color: transparent;
  transform: scale(1.05);
}

/* Press */
.mobile-banner-overlay .mobile-cta-btn:active {
  transform: scale(0.95);
}








/* سكشن العنوان */
.section-title {
  text-align: center;
  margin: 30px 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* النص مع الانيميشن – خط Cairo */
.section-title .main-title {
  font-family: 'Cairo', sans-serif; /* الخط اللي اخترته */
  font-weight: 500; /* وزن خفيف */
  color: #e11f1f;
  display: inline-block;
  animation: zoomEffect 3s ease-in-out infinite;
  font-size: 22px; /* موبايل */
}

@media (min-width: 768px) {
  .section-title .main-title {
    font-size: 38px; /* ديسكتوب */
  }
}

/* انيميشن الزوم */
@keyframes zoomEffect {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}









/* نطبق فقط على البنرات الثلاثة الأولى في الصفحة */
.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(1),
.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(2),
.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(3) {
    margin: 0;       /* إزالة أي margin خارجي */
    padding: 0;      /* إزالة أي padding داخلي */
}

/* إذا كنت عايز تزيل أي padding داخل container */
.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(1) .container,
.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(2) .container,
.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(3) .container {
    padding: 0;
}





.s-block.s-block--logos-slider.da-bgg {
    background: linear-gradient(to right, #c42808, #9d1b00) !important;
}

.s-block.s-block--logos-slider.da-bgg .s-slider-block__title-right h2 {
    color: #fff !important;
}















/* ===== إعداد الكونتينر ===== */
.banner-square {
    position: relative;
    overflow: visible;
}


/* ===== 4 نقط صفراء رفيعة ===== */

.banner-square::before,
.banner-square::after,
.banner-square .p1,
.banner-square .p2 {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    background: #ffdd00;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.3);
}

/* إنشاء عناصر إضافية داخل العنصر */
.banner-square {
    --particle-size: 5px;
}
.banner-square .p1,
.banner-square .p2 {
    position: absolute;
}

/* ===== هوفر — تشغيل كل النقاط معاً ===== */
.banner-square:hover::before {
    animation: particleMove1 0.7s ease-out forwards;
}
.banner-square:hover::after {
    animation: particleMove2 0.7s ease-out forwards;
}
.banner-square:hover .p1 {
    animation: particleMove3 0.7s ease-out forwards;
}
.banner-square:hover .p2 {
    animation: particleMove4 0.7s ease-out forwards;
}

/* ===== اتجاهات مختلفة لكل نقطة ===== */

@keyframes particleMove1 {
    0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
    100% { transform: translate(-120%, -80%) scale(1); opacity: 0; }
}

@keyframes particleMove2 {
    0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
    100% { transform: translate(80%, -90%) scale(1); opacity: 0; }
}

@keyframes particleMove3 {
    0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
    100% { transform: translate(-60%, 40%) scale(1); opacity: 0; }
}

@keyframes particleMove4 {
    0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
    100% { transform: translate(100%, 20%) scale(1); opacity: 0; }
}


/* ===== تأثير الزوم + الاهتزاز ===== */
.banner-square .box-img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.banner-square:hover .box-img {
    transform: scale(1.08);
    animation: smoothShake 0.35s ease-in-out;
}

@keyframes smoothShake {
    0% { transform: scale(1.08) translate(0, 0); }
    25% { transform: scale(1.08) translate(1px, -1px); }
    50% { transform: scale(1.08) translate(-1px, 1px); }
    75% { transform: scale(1.08) translate(1px, 1px); }
    100% { transform: scale(1.08) translate(0, 0); }
}


.s-contacts-item {
    margin-bottom: .5rem;
    margin-left: auto;
    margin-right: auto;
    width: -moz-max-content;
    width: max-content;
    --tw-bg-opacity: 1;
    background-color: #f3f4f6;
    background-color: rgb(243 244 246 / 0%);
}








/* الحاوية */
#sparkle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

/* القطعة */
.sparkle {
  position: absolute;
  top: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  opacity: 0.8;
  animation: sparkleFall linear infinite;
}

/* الحركة */
@keyframes sparkleFall {
  0% {
    transform: translateY(-10px) translateX(0) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translateY(105vh) translateX(10px) scale(0.5);
    opacity: 0;
  }
}




/* على الموبايل يخليها 3 أعمدة */
@media (max-width: 767px) {
    .square-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}