body {
    font-family: 'STC', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }


@font-face {
    font-family: 'STC';
    src: url('../assets/fonts/STC\ Bold.ttf') format('truetype');
    font-weight: 200;
  }

  @font-face {
    font-family: 'STC';
    src: url('../assets/fonts/STC\ Light.ttf') format('truetype');
    font-weight: 700;
  }

  * {
    box-sizing: border-box;
  }
 
  
  /* ===== استدعاء خطوط STC المحلية ===== */
  @font-face {
    font-family: 'STC';
    src: url('../assets/fonts/STC\ Bold.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
  }

  @font-face {
    font-family: 'STC';
    src: url('../assets/fonts/STC\ Light.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
  }

  /* ===== تطبيق الخط على الموقع ===== */
  body,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  span,
  a,
  li,
  div {
    font-family: 'STC', sans-serif;
  }

  /* ===== Creative Section ===== */
  

  
  .video-separator {
    position: relative;
    width: 100%;
    background-color: #011627;
    margin: 0;
    padding: 0;
  }

  .video-container {
    position: relative;
    width: 100%;
    padding-top: 8%;
    /* نسبة العرض إلى الارتفاع (مثال: 12.5:1) */
    overflow: hidden;
  }

  .video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .video-separator video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* استعلامات الوسائط لتعديل نسبة العرض إلى الارتفاع */
  @media (max-width: 768px) {
    .video-container {
      padding-top: 10%;
      /* زيادة النسبة على الشاشات الصغيرة */
    }
  }

  @media (max-width: 480px) {
    .video-container {
      padding-top: 12%;
      /* زيادة أكبر على الهواتف */
    }
  }

  
  

  /* خلفية مع صورة ودرجة اللون الداكن */
  .work-process-section {
    position: relative;
    background-color: #011627;
    /* داكن */
    padding: 80px 0;
    overflow: hidden;
  }

  .work-process-section .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(assets/images/background/b1g-2.png);
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    /* شفافية بسيطة حتى يظهر اللون الداكن */
    z-index: 0;
  }

  .work-process-section .auto-container {
    position: relative;
    z-index: 1;
  }

  /* ألوان النصوص والعناوين */
  .work-process-section .sec-title h2 {
    color: #2EC4B6;
    /* تيفاني */
  }

  .work-process-section .work-process-block h4 {
    color: #2EC4B6;
    /* تيفاني */
  }

  .work-process-section .work-process-block p {
    color: #FFFFFF;
    /* أبيض */
  }

  .work-process-section .bottom-text {
    color: #FFFFFF;
    /* أبيض */
  }

  /* تحسين شكل الأيقونات والأرقام */
  .work-process-section .work-process-block .count {
    color: #FFFFFF;
    /* أبيض (غيرت من وردي ليتناسب مع التصميم) */
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .work-process-section .work-process-block .icon {
    margin-bottom: 15px;
    text-align: center;
    /* لتوسيط الصورة */
  }

  .work-process-section .work-process-block .icon img {
    width: 60px;
    /* حجم افتراضي للصورة - غيّره حسب حاجتك */
    height: auto;
    filter: brightness(1.2);
    /* اختياري: لجعلها أكثر سطوعاً بلون تيفاني إذا كانت سوداء/بيضاء */
  }

  @font-face {
    font-family: 'STC';
    src: url('../fonts/STC Light.ttf') format('truetype');
    font-weight: 300;
  }

  @font-face {
    font-family: 'STC';
    src: url('../fonts/STC Bold.ttf') format('truetype');
    font-weight: 700;
  }

  body {
    font-family: 'STC', sans-serif;
  }

  :root {
    --primary-color: #FF3366;
    --secondary-color: #2EC4B6;
    --side-opacity: 0.8;
    --side-scale: 0.9;
    --side-blur: 5px;
    --side-brightness: 0.9;
  }
  input, textarea {
    caret-color: transparent; /* يجعل مؤشر الكتابة غير مرئي */
  }

  /* إذا أردت إخفاء المؤشر في كل الصفحة بما فيها contenteditable */
  *[contenteditable="true"] {
    caret-color: transparent;
  }
  .main-services-text {
    color: #2EC4B6 !important;
    font-size: 40px;
    font-weight: 800;
  }

  .custom-services-slider {
    background-color: #011627;
    padding: 60px 0;
    overflow: hidden;
    position: relative;
  }

  .custom-services-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
      radial-gradient(circle at 20% 80%, rgba(1, 22, 39, 0.3), transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(1, 22, 39, 0.2), transparent 50%),
      radial-gradient(circle at 40% 40%, rgba(1, 22, 39, 0.15), transparent 50%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
  }

  .container-fluid,
  .swiper {
    position: relative;
    z-index: 2;
  }

  .custom-service-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }

  .custom-service-card {
    height: 480px;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.6s ease;
    background: rgba(11, 15, 23, 0.7);
    box-shadow: 0 15px 30px rgba(1, 22, 39, 0.7);
    transform-origin: center;
    z-index: 1;
  }

  .custom-service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(46, 196, 182, 0.1);
    opacity: 0;
    border-radius: 1.5rem;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }

  .custom-service-card:hover::after {
    opacity: 1;
  }

  .custom-img-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: 1.5rem;
  }

  .custom-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
    z-index: 1;
  }

  .custom-service-card:hover .custom-service-img {
    transform: scale(1.06);
  }

  .custom-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 15, 23, 0) 40%, rgba(11, 15, 23, 0.8) 100%);
    z-index: 2;
    pointer-events: none;
    border-radius: 1.5rem;
  }

  .custom-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 7;
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease;
  }

  .custom-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--secondary-color);
  }

  .custom-line {
    width: 60px;
    height: 2px;
    background: var(--secondary-color);
    margin-bottom: 12px;
    border-radius: 1px;
  }

  .custom-desc {
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.9;
  }

  .swiper-slide:not(.swiper-slide-active) .custom-service-card {
    opacity: var(--side-opacity) !important;
    transform: scale(var(--side-scale)) !important;
    filter: blur(var(--side-blur)) brightness(var(--side-brightness));
    z-index: 1;
  }

  .swiper-slide-active .custom-service-card {
    opacity: 1;
    transform: scale(1);
    filter: none;
    z-index: 10;
  }

  .swiper-slide-active .custom-content {
    opacity: 1;
    transform: translateY(0);
  }

  /* ========== النقاط الثلاث الثابتة (مثل Our Works) ========== */
  .swiper-three-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-top: 45px;
    padding-bottom: 20px;
    z-index: 10;
  }

  .swiper-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 51, 102, 0.35);
    transition: all 0.35s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 6px rgba(255, 51, 102, 0.15);
  }

  .swiper-dot.active {
    background: #FF3366;
    border-color: #FF3366;
    transform: scale(1.5);
    box-shadow:
      0 0 12px rgba(255, 51, 102, 0.6),
      0 0 24px rgba(255, 51, 102, 0.3);
  }

  .swiper-dot:hover {
    background: #FF3366;
    border-color: #FF3366;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
  }

  /* Responsive */
  @media (max-width: 768px) {
    .swiper-three-dots {
      margin-top: 35px;
      gap: 18px;
    }

    .swiper-dot {
      width: 12px;
      height: 12px;
    }
  }

  @media (max-width: 480px) {
    .swiper-three-dots {
      margin-top: 30px;
      gap: 15px;
    }
  }


  

  
  /* ---- متغيرات الألوان (متبقية كما هي) ---- */
  :root {
    --primary-color: #FF3366;
    /* وردي */
    --secondary-color: #2EC4B6;
    /* سماوي */
    --bg-color: #011627;
    --dark-color: #011627;
    --light-color: #F8F9FA;
    --bg-blur: 12px;
    --bg-opacity: 0.95;
    --side-opacity: 0.08;
    --side-scale: 0.78;
  }

  /* باقي التنسيقات (العنوان الرئيسي، الخلفية، الخطوط) تبقى كما هي */
  .our-works-text {
    color: #FF3366 !important;
    font-size: 40px;
    font-weight: 800;
  }

  /* 🌟 التعديل هنا: تقليل المسافة العلوية لـ 40 بكسل لرفع العنوان 🌟 */
  .saudi-confex-slider {
    background: #011627;
    padding: 40px 0 70px;
    /* تم تعديل المسافة العلوية لـ 40 بكسل */
    overflow: hidden;
    position: relative;
  }

  /* حاوية لتقليل عرض السلايدر */
  .swiper-container-wrapper {
    max-width: 1400px;
    /* تحديد أقصى عرض للحاوية - يمكن تعديل القيمة */
    margin: 0 auto;
    /* توسيط الحاوية في الصفحة */
    padding: 0 15px;
  }

  /* النقاط الثلاث في الأسفل (تبقى كما هي) */
  .swiper-three-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding-bottom: 20px;
    z-index: 1000;
    position: relative;
  }

  .swiper-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #011627;
    border: 2px solid #FF3366;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
  }

  .swiper-dot.active {
    background: #FF3366;
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.8);
    border-color: #FF3366;
  }

  .swiper-dot:hover {
    background: #FF3366;
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(255, 51, 102, 0.6);
  }

  /* زيادة طول الكارد */
  .confex-card {
    height: 550px;
    /* تم زيادة الطول */
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(1, 22, 39, 0.7);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 10;
    overflow: hidden;
    border: 2px solid rgba(255, 51, 102, 0.3);
    background: rgba(1, 22, 39, 0.6);
    clip-path: border-box;
  }

  /* حاوية الصورة والصورة (تبقى كما هي) */
  .confex-img-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: 22px;
    margin: 2px;
    clip-path: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(1, 22, 39, 0.6);
  }

  .confex-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1;
    border-radius: 20px;
    object-position: center center;
    max-width: 100%;
    max-height: 100%;
    display: block;
    background-color: transparent;
    box-shadow: none;
  }

  /* تنسيقات المحتوى النصي (تغيير الألوان والخلفية الشفافة جداً) */
  .confex-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 7;
    color: white;
    transform: translateY(8px);
    opacity: 0;
    transition: all 0.6s ease 0.2s;
    text-align: left;
    direction: ltr;
    padding: 15px 20px;
    border-radius: 15px;
    /* الخلفية الشفافة جداً (5% عتامة) */
    background: rgba(46, 196, 182, 0.05);
  }

  /* العنوان باللون الوردي */
  .confex-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 8px;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(1, 22, 39, 0.9);
    text-align: left;
  }


  /* تصحيح: إضافة تنسيقات حقيقية للخط */
  .confex-line {
    width: 60px;
    height: 3px;
    background: #FF3366;
    margin-bottom: 12px;
    border-radius: 2px;
    margin-left: 0;
    margin-right: auto;
  }

  /* الوصف باللون السماوي */
  .confex-desc {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0;
    color: var(--secondary-color);
    text-shadow: 0 1px 4px rgba(1, 22, 39, 0.8);
    font-weight: 500;
    text-align: left;
  }

  /* إلغاء تأثيرات الشرائح الجانبية (تبقى كما هي) */
  .confexSwiper .swiper-slide .confex-card {
    opacity: 1 !important;
    transform: scale(1) !important;
    filter: none !important;
    box-shadow: 0 15px 30px rgba(1, 22, 39, 0.7);
    z-index: 5;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .swiper-slide-active .confex-card {
    box-shadow: 0 20px 40px rgba(1, 22, 39, 0.9);
    z-index: 10;
  }

  .swiper-slide-prev .confex-card,
  .swiper-slide-next .confex-card {
    opacity: 1 !important;
    transform: scale(1) !important;
    filter: none;
    z-index: 5;
  }

  /* إظهار المحتوى عند الـ hover على أي كارد */
  .confex-card:hover .confex-content {
    transform: translateY(0);
    opacity: 1;
  }

  /* تأثيرات hover على الصورة (تبقى كما هي) */
  .confex-card:hover .confex-img {
    transform: scale(1.06);
  }

  .confex-card:hover {
    box-shadow: 0 25px 50px rgba(255, 51, 102, 0.3);
    border-color: rgba(46, 196, 182, 0.3);
  }

  .confex-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.15) 0%, rgba(46, 196, 182, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 24px;
    z-index: 3;
    pointer-events: none;
  }

  .confex-card:hover::after {
    opacity: 1;
  }

  /* إزالة الأسهم الافتراضية لـ Swiper (تبقى كما هي) */
  .swiper-button-next,
  .swiper-button-prev,
  .confexSwiper .swiper-button-next,
  .confexSwiper .swiper-button-prev {
    display: none !important;
  }

  /* التصميم المتجاوب المُعدَّل (بناءً على طلبك لتقليل العرض والطول) */
  @media (max-width: 1400px) {
    .swiper-container-wrapper {
      max-width: 1200px;
    }

    .confex-card {
      height: 500px;
    }

    .confex-content {
      left: 20px;
      right: 20px;
      bottom: 20px;
    }
  }

  @media (max-width: 1200px) {
    .swiper-container-wrapper {
      max-width: 960px;
    }

    .confex-card {
      height: 450px;
      border-radius: 20px;
    }

    .confex-title {
      font-size: 1.7rem;
    }
  }

  @media (max-width: 992px) {
    .swiper-container-wrapper {
      max-width: 720px;
    }

    .confex-card {
      height: 400px;
    }

    .confex-title {
      font-size: 1.5rem;
    }

    .our-works-text {
      font-size: 2.5rem;
    }
  }

  @media (max-width: 768px) {
    .swiper-container-wrapper {
      max-width: 540px;
    }

    .confex-card {
      height: 350px;
      border-radius: 18px;
    }

    .confex-title {
      font-size: 1.3rem;
    }
  }

  @media (max-width: 576px) {
    .swiper-container-wrapper {
      max-width: 100%;
      padding: 0 10px;
    }

    .confex-card {
      height: 300px;
      border-radius: 16px;
    }

    .confex-title {
      font-size: 1.1rem;
    }

    .confex-desc {
      display: none;
    }
  }


