/* Start custom CSS for html, class: .elementor-element-dca69c3 */g3d-section {
  background: linear-gradient(160deg, #0a0804 0%, #1a1200 50%, #0d0b06 100%);
  padding: 80px 0 60px;
  overflow: hidden;
  position: relative;
  font-family: 'Cairo', sans-serif;
  direction: rtl;
}
.g3d-section::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.g3d-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.g3d-head { text-align: center; margin-bottom: 50px; }
.g3d-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: #E8C96A; padding: 7px 18px; border-radius: 30px;
  font-size: 13px; font-weight: 700; margin-bottom: 14px;
}
.g3d-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900; color: #fff; margin-bottom: 10px; line-height: 1.3;
}
.g3d-title .g-gold { color: #C9A84C; }
.g3d-desc {
  font-size: 15px; color: rgba(255,255,255,0.6);
  max-width: 550px; margin: 0 auto; line-height: 1.8;
}
.g3d-bar {
  width: 65px; height: 3px;
  background: linear-gradient(90deg, #C9A84C, #E8C96A);
  margin: 14px auto 0; border-radius: 3px;
}

/* ===== المشهد 3D - يعمل على كل الأجهزة ===== */
.g3d-scene {
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* حجم perspective يتغير حسب الجوال عبر JS */
}

.g3d-perspective-wrap {
  perspective: 1100px;
  perspective-origin: 50% 50%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g3d-carousel {
  width: 240px;
  height: 360px;
  position: relative;
  transform-style: preserve-3d;
  cursor: grab;
  will-change: transform;
}
.g3d-carousel:active { cursor: grabbing; }

.g3d-card {
  position: absolute;
  width: 240px; height: 360px;
  border-radius: 18px; overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.2);
}
.g3d-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.g3d-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,8,0,0.88) 0%, rgba(10,8,0,0.05) 55%, transparent 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 20px 16px;
  opacity: 1;
}
.g3d-card-label { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.g3d-card-sub { color: #E8C96A; font-size: 11.5px; display: flex; align-items: center; gap: 5px; }
.g3d-card-badge {
  position: absolute; top: 14px; right: 14px;
  background: linear-gradient(135deg, #C9A84C, #E8C96A);
  color: #fff; font-size: 10.5px; font-weight: 700;
  padding: 4px 11px; border-radius: 18px;
  box-shadow: 0 3px 10px rgba(201,168,76,0.5);
}

/* أزرار التحكم */
.g3d-controls {
  display: flex; justify-content: center;
  align-items: center; gap: 14px; margin-top: 30px;
}
.g3d-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.08); color: #C9A84C;
  font-size: 17px; cursor: pointer; transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.g3d-btn:hover, .g3d-btn:active {
  background: #C9A84C; color: #fff; border-color: #C9A84C;
}

.g3d-hint {
  text-align: center; color: rgba(255,255,255,0.3);
  font-size: 11.5px; margin-top: 14px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}

/* ===== جوال: تعديلات الحجم فقط ===== */
@media (max-width: 768px) {
  .g3d-scene { height: 320px; }
  .g3d-carousel { width: 160px; height: 240px; }
  .g3d-card { width: 160px; height: 240px; border-radius: 14px; }
  .g3d-card-label { font-size: 12px; }
  .g3d-card-badge { font-size: 9px; padding: 3px 8px; top: 10px; right: 10px; }
  .g3d-btn { width: 42px; height: 42px; font-size: 15px; }
  .g3d-section { padding: 50px 0 40px; }
  .g3d-hint { font-size: 10.5px; }
}

@media (max-width: 400px) {
  .g3d-scene { height: 280px; }
  .g3d-carousel { width: 140px; height: 210px; }
  .g3d-card { width: 140px; height: 210px; }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-8fe6be7 */g3d-section {
  background: linear-gradient(160deg, #0a0804 0%, #1a1200 50%, #0d0b06 100%);
  padding: 80px 0 60px;
  overflow: hidden;
  position: relative;
  font-family: 'Cairo', sans-serif;
  direction: rtl;
}
.g3d-section::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.g3d-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.g3d-head { text-align: center; margin-bottom: 50px; }
.g3d-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: #E8C96A; padding: 7px 18px; border-radius: 30px;
  font-size: 13px; font-weight: 700; margin-bottom: 14px;
}
.g3d-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900; color: #fff; margin-bottom: 10px; line-height: 1.3;
}
.g3d-title .g-gold { color: #C9A84C; }
.g3d-desc {
  font-size: 15px; color: rgba(255,255,255,0.6);
  max-width: 550px; margin: 0 auto; line-height: 1.8;
}
.g3d-bar {
  width: 65px; height: 3px;
  background: linear-gradient(90deg, #C9A84C, #E8C96A);
  margin: 14px auto 0; border-radius: 3px;
}

/* ===== المشهد 3D - يعمل على كل الأجهزة ===== */
.g3d-scene {
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* حجم perspective يتغير حسب الجوال عبر JS */
}

.g3d-perspective-wrap {
  perspective: 1100px;
  perspective-origin: 50% 50%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g3d-carousel {
  width: 240px;
  height: 360px;
  position: relative;
  transform-style: preserve-3d;
  cursor: grab;
  will-change: transform;
}
.g3d-carousel:active { cursor: grabbing; }

.g3d-card {
  position: absolute;
  width: 240px; height: 360px;
  border-radius: 18px; overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.2);
}
.g3d-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.g3d-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,8,0,0.88) 0%, rgba(10,8,0,0.05) 55%, transparent 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 20px 16px;
  opacity: 1;
}
.g3d-card-label { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.g3d-card-sub { color: #E8C96A; font-size: 11.5px; display: flex; align-items: center; gap: 5px; }
.g3d-card-badge {
  position: absolute; top: 14px; right: 14px;
  background: linear-gradient(135deg, #C9A84C, #E8C96A);
  color: #fff; font-size: 10.5px; font-weight: 700;
  padding: 4px 11px; border-radius: 18px;
  box-shadow: 0 3px 10px rgba(201,168,76,0.5);
}

/* أزرار التحكم */
.g3d-controls {
  display: flex; justify-content: center;
  align-items: center; gap: 14px; margin-top: 30px;
}
.g3d-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.08); color: #C9A84C;
  font-size: 17px; cursor: pointer; transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.g3d-btn:hover, .g3d-btn:active {
  background: #C9A84C; color: #fff; border-color: #C9A84C;
}

.g3d-hint {
  text-align: center; color: rgba(255,255,255,0.3);
  font-size: 11.5px; margin-top: 14px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}

/* ===== جوال: تعديلات الحجم فقط ===== */
@media (max-width: 768px) {
  .g3d-scene { height: 320px; }
  .g3d-carousel { width: 160px; height: 240px; }
  .g3d-card { width: 160px; height: 240px; border-radius: 14px; }
  .g3d-card-label { font-size: 12px; }
  .g3d-card-badge { font-size: 9px; padding: 3px 8px; top: 10px; right: 10px; }
  .g3d-btn { width: 42px; height: 42px; font-size: 15px; }
  .g3d-section { padding: 50px 0 40px; }
  .g3d-hint { font-size: 10.5px; }
}

@media (max-width: 400px) {
  .g3d-scene { height: 280px; }
  .g3d-carousel { width: 140px; height: 210px; }
  .g3d-card { width: 140px; height: 210px; }
}/* End custom CSS */