body {
  font-family: 'Cairo', sans-serif;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 320px;
  max-width: 95vw;
  padding: 15px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  right: 0;
}

.nav-item:hover .dropdown-content {
  display: block;
}

.dropdown-content img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

.dropdown-content a {
  text-decoration: none;
  color: #0d6efd; /* لون أزرق حديث */
  font-weight: 600;
}

.dropdown-content p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

.nav-item {
  position: relative;
}

section.hero {
  background-image: url('../imgs/x1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  color: #800080; /* تم تغيير اللون من white إلى بنفسجي */
  position: relative;
  padding-top: 80px;
  padding-bottom: 60px;
  overflow: hidden;
}
section.hero2 {
  background-image: url('../imgs/x2.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 50vh;
  color: #800080; /* تم تغيير اللون من white إلى بنفسجي */
  position: relative;
  padding-top: 80px;
  padding-bottom: 60px;
  overflow: hidden;
}
.fw-bold{
  color: #800080;
}

 .lead{
     color: #800080;  
 }
section.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.slide-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.6s ease;
}

.slide-container.show {
  transform: translateX(0);
  opacity: 1;
}

.hero-image img {
  max-width: 100%;
  border-radius: 12px;

}

.custom-card {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.3);
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s;
  color: #800080; /* تم التغيير من #fff إلى بنفسجي */
}

.custom-card:hover {
  transform: scale(1.03);
}

.custom-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #0dcaf0; /* لون مميز أيقونات */
}

.custom-card h5 {
  font-weight: 700;
}

.custom-card p {
  color: #9b59b6; /* بنفسجي فاتح بدلاً من #ddd */
}

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}



 /* بنفسجي فاتح بدلاً من #ddd */



    
  
    

    
    
 .carousel-container {
  height: 50vh;
  margin: 80px auto 0 auto; 
  position: relative;
  padding: 0 60px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  
}


    .carousel-track img {
      width: 100px;
      height: 70px;
      object-fit: cover;
      border-radius: 8px;
      opacity: 0.5;
      transition: all 0.5s ease;
      cursor: pointer;
    }

    .carousel-track img.active {
      width: 500px;
      height: 500px;
      opacity: 1;
      z-index: 10;
      transform: scale(1.1);
     
    }

 .carousel-track img.prev,
.carousel-track img.next {
  width: 200px;
  height: 140px;
  opacity: 0.8;
  transform: scale(1.05);
  object-fit: contain;  /* عرض الصورة كاملة بدون اقتطاع */

}


    .carousel-btn {
      background: rgba(255, 255, 255, 0.2);
      border: none;
      color: #fff;
      font-size: 2rem;
      padding: 10px 15px;
      cursor: pointer;
      z-index: 20;
      
      transition: background 0.3s;
    }

    .carousel-btn:hover {
      background: rgba(255, 255, 255, 0.4);
    }

    @media (max-width: 768px) {
      .carousel-track img {
        display: none;
      }

      .carousel-track img.active {
        display: block;
        width: 500px !important;
        height: 500px !important;
      }

      .carousel-btn {
        display: none;
      }
    }
    
    

  .star-yellow {
    color: gold; /* أو يمكنك استخدام color: #ffc107; */
  }

      
      
      .card-section {
      background-image: url('../imgs/d.png');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      padding: 60px 0;
    }
      .card-section2 {
      background-image: url('../imgs/d2.png');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      padding: 60px 0;
    }

    .card-img-top {
      width: 80%;
      height: auto;
      object-fit: cover;
    }

    .card {
      margin-bottom: 20px;
      background-color: transparent; /* شفاف */
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-top-left-radius: 1rem;
      border-top-right-radius: 1rem;
      backdrop-filter: blur(4px);
      box-shadow: none !important; /* ⬅ إزالة الظلال */
    }

    .card-body,
    .card-footer {
      color: white;
    }

    .btn {
      opacity: 0.9;
    }

    .btn:hover {
      opacity: 1;
    } 
.colorsw{
color: #055363;
}

.bitcolorsd{
    background-color: #8c69c2 !important;
    border-color: #8c69c2 !important;
}
.bitcolorsd:hover{
    background-color: #8c69c2 !important;
    border-color: #8c69c2 !important;
}
.bitcolorsd2{
    background-color: #8c69c2 !important;
    border-color: #8c69c2 !important;
}
.bitcolorsd2:hover{
    background-color: #8c69c2 !important;
    border-color: #8c69c2 !important;
}

.pcolors{
    color: #7951b5;
        background-color: #e9ebec !important;
    
}

.phider{
color:#343a40;
}

.color_comp {
color:#988cc9;
}
  .profile-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }

  .profile-info {
   /* display: none; */
    position: absolute;
    bottom: 100%; /* فوق الصورة */
    right: 50%;
    transform: translateX(50%);
    background-color: #f8f9fa;
    color: #000;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    white-space: nowrap;
    z-index: 1000;
  }

  .profile-container:hover .profile-info {
    display: block;
  }