/* ✅ الخط العام والخلفية */


body {
    font-family: 'Cairo', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    direction: rtl;
}

/* ✅ ترويسة الصفحة */
.header {
    background-color: #007bff;
    color: #fff;
    padding: 20px 0;
}

/* ✅ عناوين الموقع */
h1, h2, h3 {
    color: #007bff;
    margin-top: 20px;
}

/* ✅ الروابط */
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #0056b3;
}

/* ✅ شريط التنقل */
.navbar {
    background-color: #0056b3;
}
.navbar .nav-link {
    color: #ffffff !important;
}
.navbar .nav-link:hover {
    color: #ffcc00 !important;
}

/* ✅ أقسام الصفحة */
.section {
    padding: 60px 0;
}

/* ✅ البطاقات داخل الأقسام */
.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}

/* ✅ قسم الإحصائيات */
.stats {
    background-color: #e9f7fe;
    padding: 40px 0;
    text-align: center;
}
.stats .stat {
    margin-bottom: 30px;
}
.stats .stat h3 {
    color: #007bff;
    font-size: 2.5rem;
}
.stats .stat p {
    font-size: 1.2rem;
    color: #555;
}

/* ✅ قسم آراء العملاء */
.testimonials {
    background-color: #C71585;
    padding: 60px 0;
}
.testimonial {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}
.testimonial p {
    font-style: italic;
}
.testimonial .author {
    font-weight: bold;
    margin-top: 15px;
}

/* ✅ زر الاتصال العائم */
.contact-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #28a745;
    color: #fff;
    border-radius: 50%;
    padding: 15px;
    font-size: 24px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}
.contact-btn:hover {
    background-color: #218838;
}

/* ✅ قسم النشرة البريدية */
.newsletter {
    background-color: #007bff;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}
.newsletter input[type="email"] {
    padding: 10px;
    border: none;
    border-radius: 20px;
    margin-right: 10px;
    width: 300px;
    max-width: 90%;
}
.newsletter button {
    padding: 10px 20px;
    border: none;
    background-color: #ffcc00;
    color: #000;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.newsletter button:hover {
    background-color: #e6b800;
}

/* ✅ الفوتر */
.footer {
    background-color: #343a40;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

/* ✅ تحسين شريط التمرير (جمالي فقط) */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* ✅ تأثير ظهور تدريجي للعناصر عند التحميل */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-in-out forwards;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ✅ حركة عامودية لعنصر الأخبار أو التنبيهات */
.vertical-fade {
    animation: verticalFade 6s infinite ease-in-out;
}
@keyframes verticalFade {
    0%, 100% {
        opacity: 0;
        transform: translateY(20px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
}
.technologies-swiper {
  padding-bottom: 30px; /* مساحة للمؤشرات */
}

.swiper-slide {
  cursor: grab;
  user-select: none;
  transition: transform 0.3s ease;
}

.swiper-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.swiper-pagination-bullet {
  background: #007BFF !important; /* لون أزرق مميز */
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: #004080 !important; /* أزرق أغمق للنقطة النشطة */
}

.services-prev,
.services-next {
  color: #007bff; /* لون أزرق أو أي لون تحبه */
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  z-index: 10;
}

.services-prev {
  left: 10px;
}

.services-next {
  right: 10px;
}

.services-prev:hover,
.services-next:hover {
  background: #007bff;
  color: white;
}
footer {
  position: relative; /* أو fixed إذا تريد فوتر ثابت دائمًا */
  bottom: 0;
  width: 100%;
  z-index: 10;
}

.projects-section {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  overflow: hidden;
}

.project-card {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img {
  transform: scale(1.1);
}

.project-content {
  padding: 20px;
  color: #333;
  text-align: center;
}

.project-content h5 {
  color: #0056b3;
  font-weight: bold;
  margin-bottom: 10px;
}

.project-content p {
  color: #555;
  font-size: 14px;
  min-height: 70px;
}

.project-content a {
  margin-top: 10px;
}
