.video {
    position: relative;
    margin: 45px 0;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(3, 15, 39, .9), rgba(3, 15, 39, .9)), url(../img/carousel-1.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #fdbe33;
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #fdbe33;
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play:hover:after {
    background-color: darken(#fdbe33, 10%);
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid #030f27;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}
 .open-buttonn {    border-radius: 4px;
      color: white;
      padding: 5px 5px 5px 5px;
      border: none;
      cursor: pointer;
      opacity: 1.8;
      position: fixed;
      bottom: 65px;
      right: 18px;
      width: 40px;
    left:40px;
      z-index: 99;   font-weight: bold; text-align: center;
    
     
    }
    .open-buttonn2 {    border-radius: 4px;
      color: #fff;
      padding: 5px 5px 5px 5px;
      border: none;
      cursor: pointer;
      opacity: 1.8;
      position: fixed;
      bottom: 65px;
      right: 40px;
      width: 40px;
    left:40px;
      z-index: 99;   font-weight: bold; text-align: center;
    
    
    }
    .open-facebook {    border-radius: 4px;
      font-size: 13px;
      color: white;
      background-color: #0A2540;
      padding: 5px 5px 5px 5px;
      border: white 1px solid;
      cursor: pointer;
      opacity: 1.8;
      position: fixed;
      bottom: 105px;
      left: 18px;
      width: 150px;
    left:35px;
      z-index: 99;   font-weight: bold; text-align: center;
    
    
    }
    .open-buttonn4 {    border-radius: 4px;
      color: #fff;
      padding: 5px 5px 5px 5px;
      border: none;
      cursor: pointer;
      opacity: 1.8;
      position: fixed;
      bottom: 80px;
      width: 50px;
    right:40px;
      z-index: 99;   font-weight: bold; text-align: center;
    
    
    }
    .footer-menu i {
      font-size: 28px;       /* حجم الأيقونة */
      color: #fff;            /* لون الأيقونات */
      transition: 0.3s;
  }
  
  .footer-menu i:hover {
      color: #ffb320;         /* لون عند المرور */
      transform: scale(1.3);  /* تكبير عند المرور */
  }
.back-to-top {
    position: fixed;
    display: none;
    background: #fdbe33;
    color: #121518;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
}

.back-to-top:hover {
    color: #fdbe33;
    background: #121518;
}

.back-to-top i {
    padding-top: 10px;
}

/* ==========================================
   تنسيق بطاقات الميزات (إطارات دائرية معقدة وجذابة)
   ========================================== */
.feature {
    padding: 60px 0;
}

.feature .row {
    perspective: 1000px; /* لإضافة عمق خفيف */
}

.feature .feature-item {
    position: relative;
    padding: 60px 30px; /* زيادة Padding لإفساح المجال للإطارات */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border-radius: 50%; /* البطاقة نفسها دائرية تماماً */
    transition: all 0.5s ease-in-out;
    background: transparent; /* الخلفية ستكون من الإطارات */
    z-index: 1;
    overflow: visible; /* للسماح للإطارات بالظهور */
}

/* 1. الإطار الخارجي الأكبر */
.feature .feature-item::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    z-index: -2;
    transition: all 0.5s ease;
}

/* 2. الإطار الأوسط المزخرف */
.feature .feature-item::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 10px solid;
    z-index: -1;
    transition: all 0.5s ease;
}

/* 3. الإطار الداخلي للبطاقة مع التدرج */
.feature .feature-item .feature-inner-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: -1;
}

/* تأثير التمرير (Hover Effect) للبطاقة والدوائر */
.feature .feature-item:hover {
    transform: translateY(-15px) rotateY(5deg);
}

.feature .feature-item:hover::before {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature .feature-item:hover::after {
    transform: scale(1.02);
}

/* تخصيص الألوان لكل بطاقة */
/* كرت 1: الكحلي */
.feature .card-1::after { border-color: rgba(30, 41, 59, 0.3); }
.feature .card-1 .feature-inner-card { background: linear-gradient(145deg, #1e293b, #0f172a); }

/* كرت 2: الأزرق */
.feature .card-2::after { border-color: rgba(37, 99, 235, 0.3); }
.feature .card-2 .feature-inner-card { background: linear-gradient(145deg, #2563eb, #1d4ed8); }

/* كرت 3: التركواز */
.feature .card-3::after { border-color: rgba(15, 118, 110, 0.3); }
.feature .card-3 .feature-inner-card { background: linear-gradient(145deg, #15304e, #15304e); }

/* تنسيق الأيقونة (دائرية) */
.feature .feature-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.feature .feature-item:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
    background: #ffffff;
}

.feature .feature-icon i[class^="flaticon-"]::before {
    font-size: 42px;
    color: #ffffff;
    transition: color 0.3s ease;
}

/* تغيير لون الأيقونة عند الوقوف بالفأرة */
.feature .card-1:hover .feature-icon i[class^="flaticon-"]::before { color: #0f172a; }
.feature .card-2:hover .feature-icon i[class^="flaticon-"]::before { color: #1d4ed8; }
.feature .card-3:hover .feature-icon i[class^="flaticon-"]::before { color: #15304e; }

/* تنسيق النصوص */
.feature .feature-text h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff !important;
}

.feature .feature-text p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88) !important;
    margin: 0;
} 
/* ==================================
   شريط معلومات الشركة أعلى القائمة
================================== */
.top-company-bar {
    width: 100%;
    background: #030524;
    padding: 13px 0;
    direction: rtl;

    /* حركة الإخفاء */
    max-height: 100px;
    overflow: hidden;
    opacity: 1;

    transition:
        max-height 0.4s ease,
        padding 0.4s ease,
        opacity 0.3s ease;
}

/* ترتيب كل عنصر */
.top-company-bar .company-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 48px;
}

/* الأيقونات */
.top-company-bar .company-info i {
    font-size: 30px;
    color: #ebedf1;
    flex-shrink: 0;
}

/* النصوص */
.top-company-bar .company-info div {
    display: flex;
    flex-direction: column;
}

/* العنوان */
.top-company-bar .info-title {
    font-size: 16px;
    font-weight: 600;
    color: #e1e3e6;
    margin-bottom: 3px;
}

/* الهاتف والإيميل */
.top-company-bar .company-info a {
    color: #dbe0e9;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.3s;
}

/* تأثير عند المرور */
.top-company-bar .company-info a:hover {
    color: #ffffff;
}

/* اسم الشركة */
.top-company-bar .company-name {
    justify-content: flex-start;
}

.top-company-bar .company-name .info-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
}
/* إخفاء الشريط في الجوال */
@media (max-width: 767px) {

    .top-company-bar {
      background: #fff;
		color:#171718;
    }
    .top-company-bar .info-title {
    font-size: 14px;
    font-weight: 700;
    color: #15304e;

}
   .top-company-bar .top-2 {
        display: none !important;
    }
    .top-company-bar .top-3 {
        display: none !important;
    }
}
/* حركة إخفاء شريط معلومات الشركة */

/* حركة إخفاء شريط معلومات الشركة */
.top-company-bar {
    max-height: 100px;
    overflow: hidden;
    opacity: 1;
    transition:
        max-height 0.4s ease,
        padding 0.4s ease,
        opacity 0.3s ease;
}

/* يختفي عند النزول */
.top-company-bar.hide-top-bar {
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0 !important;
}
.info-title::after {
    content: '|';
    animation: blink 0.7s infinite;
    margin-right: 3px;
    color: #ff9900; /* لون المؤشر (يمكنك تغييره) */
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* شعار الجوال مخفي افتراضيًا */
.logo-mobile {
    display: none;
}

/* شعار الكمبيوتر */
.logo-desktop {
    width: 95%;
    height: 58px;
    border-radius: 11px;
        float: left;
}


/* عند الجوال */
@media (max-width: 767px) {

    /* إخفاء شعار الكمبيوتر */
    .logo-desktop {
        display: none;
    }

    /* إظهار شعار الجوال */
    .logo-mobile {
        float: left;
        display: block;
 width: 79%;
    height: 60px;
    border-radius: 11px;
    margin: 0;
    }

}

/* زر التبديل مثبت على جانب الشاشة الأيمن */
.toggle-side-btns {
  position: fixed;
  top: 50%;
  right: 0; /* ملتصق بالحافة اليمنى */
  transform: translateY(-50%);
  z-index: 1000;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px 0 0 8px; /* تدوير الحواف الداخلية فقط */
  padding: 20px 20px;
  cursor: pointer;
  box-shadow: -2px 0 5px rgba(0,0,0,0.15);
}

/* حاوية الزرين الجانبية */
.side-buttons-container {
  position: fixed;
  top: 90%;
  right: 20px; /* تظهر بجانب زر الفتح تماماً */
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* حالة الإخفاء: إزاحة الأزرار خارج الجانب الأيمن */
.side-buttons-container.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(100%); /* تنزلق خارج الشاشة إلى اليمين */
}
 .open-btnnn {    border-radius: 4px;
    color: white;
    padding: 5px 5px 5px 5px;
    border: none;
    cursor: pointer;
    opacity: 1.8;
    position: fixed;
    bottom: 40px;
    right: 8px;
    width: 150px;
  left:40px;
    z-index: 99;   font-weight: bold; text-align: center;
  
  
  }
   .open-btnn2 {    border-radius: 4px;
    color: white;
    padding: 5px 5px 5px 5px;
    border: none;
    cursor: pointer;
    opacity: 1.8;
    position: fixed;
    bottom: 160px;
    right: 8px;
    width: 150px;
  left:40px;
    z-index: 99;   font-weight: bold; text-align: center;
  
  
  }