@import 'bootstrap/dist/css/bootstrap.rtl.min.css';
@import '@fortawesome/fontawesome-free/css/all.min.css';

:root {
    --primary-color: #121212; /* لون أساسي غامق */
    --secondary-color: #d4af37; /* لون ذهبي */
    --accent-color: #ffd700; /* لون ذهبي فاتح */
    --text-color: #ffffff; /* لون النص */
    --background-color: #1e1e1e; /* خلفية عامة */
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
}
/* Navbar Styles */
.custom-navbar {
    background: linear-gradient(90deg, #1e1e1e, #333333);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1rem;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

.custom-navbar .navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
    transition: color 0.3s ease;
}

.custom-navbar .navbar-brand:hover {
    color: #ffffff;
}

.custom-navbar .nav-link {
    color: #ffffff;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease-in-out;
}

.custom-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease-in-out;
}

.custom-navbar .nav-link:hover {
    color: #ffd700;
}

.custom-navbar .nav-link:hover::after {
    width: 100%;
}

.custom-navbar .lang-toggle {
    border-color: #ffd700;
    color: #ffd700;
    transition: background 0.3s ease, color 0.3s ease;
}

.custom-navbar .lang-toggle:hover {
    background: #ffd700;
    color: #1e1e1e;
}

/* Navbar Scrolling Effect */
.scrolled {
    background: #1e1e1e;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}



/* languge  Section */

html[lang="ar"] {
    direction: rtl;
    text-align: right;
}

html[lang="en"] {
    direction: ltr;
    text-align: left;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image:url( "img/bac.png");
    /* background: linear-gradient(135deg, #1e1e1e 30%, #333333 100%), url('https://via.placeholder.com/1920x1080') no-repeat center center; */
    background-size: cover;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    color: #120f01;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #100808;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-stats .stat-item h3 {
    color: #121004;
}

.hero-stats .stat-item p {
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Background Animation */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    animation: float 10s infinite ease-in-out;
}

.circle-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 70%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 30%;
    animation-delay: 4s;
}

.circle-4 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

 /* About Section Styles */


 .about-section {
    position: relative; 
    /* يمكنك الحفاظ على الخلفية القديمة أو إزالتها واستبدالها مباشرة بالصورة الجديدة */
    background: url("img/abute2.jpg") center center / cover no-repeat;
  }
  
 .about-section {
    background: linear-gradient(135deg, #121212 50%, #1e1e1e 100%);
    color: #ffffff;
    overflow: hidden;
}


.about-section::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.5); /* طبقة شفافة سوداء */
    z-index: 0; /* خلف المحتوى */
  }
  .about-section > .container {
    position: relative; 
    z-index: 1; /* لكي يبقى النص فوق الطبقة */
  }
  


.section-title {
    font-size: 2.5rem;
    color: #ffd700;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 3px;
    background-color: #ffd700;
    display: block;
    margin: 0.5rem auto 0;
}

.text-accent {
    color: #ffd700;
}

.about-cards .card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-cards .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Floating Animation */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    animation: float 10s infinite ease-in-out;
}

.circle-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 60%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 75%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}


/* خدماتنا */
.services-section {
    background: linear-gradient(135deg, #1e1e1e 50%, #2c2c2c 100%);
    color: #fff;
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    text-align: center;
    margin-bottom: 40px;
}

.service-card {
    background: #2c2c2c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}


.service-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* أو space-between إذا تريد توزيعاً متساوياً */
    height: 100%; /* لكي تمتلئ البطاقة كامل ارتفاع العمود */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.icon-wrapper {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
}



/* تثبيت أبعاد الصور */
.portfolio-image {
    width: 100%; /* عرض الصورة يطابق عرض العنصر */
    height: 300px; /* الطول الثابت */
    object-fit: cover; /* تغطية العنصر بدون تشويه */
    border-radius: 10px; /* حواف دائرية */
    transition: transform 0.3s ease-in-out; /* تأثير عند التمرير */
}

/* تحسين العنصر الكامل */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* ظل للصورة */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* حركة عند التمرير */
    max-width: 100%; /* لضمان الاحتواء الكامل */
}

.portfolio-item:hover {
    transform: translateY(-10px); /* تحريك العنصر للأعلى قليلاً عند التمرير */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.portfolio-item img {
    display: block; /* إزالة الفراغ أسفل الصور */
}

/* تحسين التراكب */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* تحسين النصوص */
.portfolio-overlay h4,
.portfolio-overlay p {
    color: #fff;
    margin: 0;
    padding: 5px 0;
    text-align: center;
}


/* Responsive Adjustments */


/* Clients Section */
.clients-section {
    /* background-color: #f9f9f9; */
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffd700;
    text-align: center;
    margin-bottom: 40px;
}

/* توحيد حجم الصور */
.client-logo-wrapper {
    width: 150px; /* عرض الحاوية */
    height: 150px; /* ارتفاع الحاوية */
    margin: 0 auto; /* محاذاة الصور للوسط */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #ffffff;
    overflow: hidden; /* قص الصور الزائدة */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.client-logo {
    width: 100%;
    height: 100%;
    object-fit: contain; /* ضبط الصورة داخل الحاوية */
}









/* Responsive Adjustments */
@media (max-width: 768px) {
    .portfolio-overlay h4 {
        font-size: 1.25rem;
    }

    .portfolio-overlay p {
        font-size: 0.9rem;
    }
}
.contact-section {
    background-color: #121212;
    color: #ffffff;
}

.contact-section .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 40px;
}

.contact-section .card {
    border: none;
    background-color: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-section .form-label {
    color: #ffd700;
    font-weight: bold;
}

.contact-section .form-control {
    background-color: #2e2e2e;
    border: 1px solid #ffd700;
    color: #ffffff;
    border-radius: 5px;
}

.contact-section .form-control:focus {
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.contact-section .btn-gold {
    background-color: #ffd700;
    color: #121212;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-section .btn-gold:hover {
    background-color: #d4af37;
    transform: translateY(-3px);
}

.contact-info-list li {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-info-list li i {
    color: #ffd700;
    margin-right: 10px;
}

.social-links a {
    color: #ffd700;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    color: #d4af37;
    transform: scale(1.1);
}
.contact-section {
    background-color: #121212;
    color: #ffffff;
}

.contact-section .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 40px;
}

.contact-section .card {
    border: none;
    background-color: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-section .form-label {
    color: #ffd700;
    font-weight: bold;
}

.contact-section .form-control {
    background-color: #2e2e2e;
    border: 1px solid #ffd700;
    color: #ffffff;
    border-radius: 5px;
}

.contact-section .form-control:focus {
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.contact-section .btn-gold {
    background-color: #ffd700;
    color: #121212;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-section .btn-gold:hover {
    background-color: #d4af37;
    transform: translateY(-3px);
}

.contact-info-list li {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-info-list li i {
    color: #ffd700;
    margin-right: 10px;
}

.social-links a {
    color: #ffd700;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    color: #d4af37;
    transform: scale(1.1);
}

/* Footer Styles */
footer {
    background-color: #121212;
    color: #ffffff;
    padding-top: 2rem;
}

footer h5 {
    color: #ffd700;
    font-size: 1.25rem;
    font-weight: bold;
}

footer p {
    color: #d4d4d4;
    line-height: 1.8;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #ffd700;
}

footer .text-center p {
    font-size: 0.9rem;
    margin-top: 1rem;
    color: #aaaaaa;
}

footer iframe {
    border: none;
    border-radius: 8px;
    margin-top: 1rem;
}


/* حاوية الشعارات الأفقية */
.logos-container {
    scroll-behavior: smooth; /* تمرير سلس */
    /* لو أردت إخفاء شريط التمرير تمامًا: */
    /* scrollbar-width: none;  Firefox */
    /* -ms-overflow-style: none;  Internet Explorer/Edge */
  }
  .logos-container::-webkit-scrollbar {
    height: 6px; /* ارتفاع شريط التمرير */
    background-color: #333; /* خلفية شريط التمرير */
  }
  .logos-container::-webkit-scrollbar-thumb {
    background-color: #ffd700; /* لون (الإبهام) */
    border-radius: 3px;
  }
  /* لو أردت إخفاء الشريط بالكامل، استبدل الكود أعلاه بـ:  */
  /* .logos-container::-webkit-scrollbar {
      display: none;
  } */
 
  
  /* أسهم التنقل */
  .arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background-color: #ffd700; /* الذهبي */
    color: #121212;           /* لون الأيقونة الداخلي */
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
  }
  
  .arrow-btn:hover {
    opacity: 1;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  }
  
  /* زر السهم الأيسر */
  .left-arrow {
    left: 0; /* تموضعه على يسار الحاوية */
  }
  
  /* زر السهم الأيمن */
  .right-arrow {
    right: 0; /* تموضعه على يمين الحاوية */
  }
  
  /* تنسيق حاوية الشعار نفسها - يمكنك الإبقاء على ما لديك مع تعديلات طفيفة */
  .client-logo-wrapper {
      width: 150px; /* عرض الحاوية للشعار */
      height: 150px; /* ارتفاع الحاوية */
      background-color: #ffffff;
      border: 1px solid #ffd700;
      border-radius: 10px;
      overflow: hidden; 
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 20px 0; /* مسافة عمودية بسيطة */
  }
  
  .client-logo-wrapper:hover {
      transform: scale(1.05);
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  
  .client-logo {
      width: 100%;
      height: 100%;
      object-fit: contain; /* الشعار يبقى كاملاً */
  }
  










  .about-img-cover {
    width: 100%;                  /* يملأ مساحة العمود */
    height: 400px;                /* مثال: ارتفاع ثابت 400 بكسل */
    background: url("img/abute4.avif") center/cover no-repeat;
    /* center/cover يجعل الصورة تتوسط ويُقصّ الجزء الزائد عموديًا أو أفقيًا */
  }
  





  





/* Responsive Adjustments */
@media (max-width: 768px) {
    footer h5 {
        font-size: 1rem;
    }

    footer p {
        font-size: 0.9rem;
    }

    footer ul li a {
        font-size: 0.9rem;
    }
}






 