
    body {
      font-family: 'Poppins', sans-serif;
    }
    html,body {
      overflow-x: hidden !important;
      width: 100% !important;
  }
    .navbar,.dropdown-menu {
      background-color: rgba(240, 240, 240, 0.7) !important; /* رمادي فاتح + شفافية */
      font-size: 18px !important;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
      /*padding: 0.8rem 1.5rem;*/
      backdrop-filter: blur(8px) !important; /* يعطي إحساس بزجاجي */
    }

    .hero {
      color: white;
      padding: 120px 0;
      text-align: center;
      position: relative;
    }

    .hero::after {
      content: "";
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100% !important;
      /* background: rgba(0, 0, 0, 0.6); */
      z-index: 0;
    }

    .hero .container {
      position: relative;
      z-index: 1;
    }

    .service-card {
      border: none;
      transition: transform 0.3s;
    }

    .service-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

    .feedback-img, .service-img {
      width: 100%;
      height: 250px;
      object-fit: cover;
    }

    .section-title {
      font-weight: 700;
      margin-bottom: 2rem;
    }

    .footer {
      background-color: #0d6efd;
      color: white;
      padding: 30px 0;
    }

    .btn-more {
      margin-top: 20px;
      display: inline-block;
    }
    .service-img {
        width: 100%;
        height: 200px; /* أو أي ارتفاع يناسب التصميم */
        object-fit: contain; /* يخلّي الصورة تظهر بالكامل بدون قص */
        background-color: #f8f8f8; /* اختيار خلفية محايدة لو الصورة فيها شفافية */
        padding: 10px; 
        /* border-radius: 5% !important; */
      }
      

    .service-card {
      position: relative;
      padding: 2px; /* مهم علشان البوردر يبان */
      /* border-radius: 12px; */
      background: transparent;
      z-index: 0;
      width: 100%;
      height: 400px !important;
    }
  
    .service-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, #0d6efd, #ffffff, #979595, #0d6efd);
      background-size: 300% 300%;
      z-index: -1;
      animation: borderAnimation 5s linear infinite;
      /* border-radius: 12px; */
    }
  
    .service-card .inner {
      background: #fff;
      border-radius: 10px;
      padding: 15px;
      height: 100%;
    }
  
    @keyframes borderAnimation {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }

    .testimonial-carousel {
      overflow: hidden;
      position: relative;
      max-width: 100%;
    }
    
    .testimonial-track {
      display: flex;
      transition: transform 0.5s ease-in-out;
      will-change: transform;
    }
    
    .testimonial-card {
      flex: 0 0 33.3333%;
      width: 33.3333%;
      padding: 0 10px;
      box-sizing: border-box;
      transform: scale(0.9);
      opacity: 0.6;
      transition: transform 0.4s ease, opacity 0.4s ease;
    }
    
    .testimonial-card.active {
      transform: scale(1.05);
      opacity: 1;
      z-index: 2;
    }
  
    
    @media (max-width: 768px) {
      .testimonial-card {
        flex: 0 0 100%;
        width: 100%;
      }
    }
    
    .card {
      min-height: 150px; /* أو حسب المحتوى */
    }
    @media (max-width: 768px) {
      .testimonial-card {
        flex: 0 0 100%;
        width: 100%;
      }
    }
      
     nav .active {
      color: #ff416c !important;
      border-bottom: 3px solid #000;
    }
      

.transition-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}



  .filter-tabs .nav-link {
    border-radius: 50px;
    padding: 10px 20px;
    margin: 5px;
    background: linear-gradient(135deg, #d1d1e9, #ffffff);
    color: #333;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .filter-tabs .nav-link:hover {
    background: linear-gradient(135deg, #928DAB, #d1d1e9);
    color: #000;
    border-color: #fffc63;
  }

  .filter-tabs .nav-link.active {
    background: linear-gradient(135deg, #fffc63, #928DAB);
    color: #fff;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.4);
  }

  .category-card .card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    border-radius: 15px;
  }
  
  .category-card .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
  }
  
  .category-card .card-img-top {
    transition: transform 0.5s ease;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }
  .card-img-top{
    height: 300px !important;
  }
  
  .category-card .card:hover .card-img-top {
    transform: scale(1.08);
  }
  
  .category-card .card-title {
    transition: color 0.4s ease;
  }
  
  .category-card .card:hover .card-title {
    color: #eed85c;
    font-weight: bold;

  }


  .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* أخضر واتساب */
    color: white;
    border-radius: 50%;
    padding: 15px;
    font-size: 24px;
    z-index: 999;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
  }
  
  .whatsapp-float:hover {
    background-color: #20ba5a;
    text-decoration: none;
  }

  .about ,.proj{
    padding: 140px 0 !important;

  }
  #projectsSection{
    padding: 240px 0 !important;
  }



  .border-box {
    border: 1px solid black;
  }

  .logo-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0;
  }

  .logo-card img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
  }

  .logo-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #bdbcbc;
  }



  .faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    backdrop-filter: blur(10px);
  }
  
  .faq-button {
    background: transparent;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    box-shadow: none;
  }
  
  .faq-button:not(.collapsed) {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .faq-button:focus {
    box-shadow: none;
  }
  
  .accordion-body {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 12px 12px;
  }
  

  
.category-section {
  color: #333;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.section-title {
  color: #222324;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.section-description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.services-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.service-card {
  width: 250px;
  height: 150px !important;
  background: #f9f9f9;
  border-radius: 12px !important;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card h5 {
  color: #242525;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.image-grid img {
  width: 100%;
  aspect-ratio: 4 / 3; /* أو 1 / 1 لو عايزاها مربعة */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 400px;
}


.image-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}
.services-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.service-card {
  flex: 1 1 calc(50% - 1rem); /* كرتين جنب بعض */
  max-width: 250px;
  height: 150px !important;
  background: #f9f9f9;
  border-radius: 12px !important;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

/* في الشاشات الأصغر من 400px نعرض كرت واحد */
@media (max-width: 400px) {
  .service-card {
    flex: 1 1 100%;
  }
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
  margin-top: 2rem;
}

.image-grid img {
  width: 100%;
  height: 200px;
  object-fit: contain; /* يعرض الصورة بالكامل بدون قص */
  background-color: #fff; /* خلفية بيضاء لتغطية الفراغات */
  padding: 10px; /* مسافة بسيطة داخل الصورة */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
}

.image-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

 /* ايقونات   */
 .social-icons-vertical {
  position: fixed;
  bottom: 20%;
  left: 0;
  transform: translateY(-0%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px 5px;
}

.social-icon {
  background: #ffffff;
  border-radius: 10px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.social-icon:hover {
  transform: scale(1.1) rotateY(10deg);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Platform-specific colors */
.social-icon.facebook { background-color: #3b5998; }
.social-icon.twitter { background-color: #000000; } /* Twitter-X is black */
.social-icon.instagram {
background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fd5949 45%, #d6249f 75%, #285AEB 100%);
}
.social-icon.linkedin { background-color: #0077b5; }
.social-icon.whatsapp { background-color: #25d366; }
.social-icon.youtube { background-color: #FF0000; } /* YouTube red */
.social-icon.email { background-color: #6e6e6e; }    /* Neutral grey for email */


  .flag-icon {
    display: inline-block;
    width: 32px;
    height: 24px;
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
  }




  .image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .image-grid img {
    width: 100%;
    max-width: 300px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    background: none; /* يشيل الخلفية البيضاء */
  }

  .image-grid.single-image img {
    max-width: 100%;
  }

  /* Lightbox Overlay */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  animation: zoomIn 0.4s ease;
  background: white;
  padding: 10px;
}

@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
  width: auto;
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}


.lightbox-content img:hover {
  transform: scale(1.02);
}

/* Lightbox Buttons */
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  z-index: 10001;
  border-radius: 50%;
  transition: background 0.3s;
}

.lightbox-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.lightbox-btn.prev { left: 20px; }
.lightbox-btn.next { right: 20px; }

/* Close Button */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 1.2rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  padding: 5px 12px;
  z-index: 10002;
  border-radius: 50%;
  transition: background 0.3s;
}

.lightbox-close:hover {
  background-color: rgba(0, 0, 0, 0.7);
}


  

