/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #ffffff;
    color: #0f172a;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 15px 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: #1a2536;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00a8ff;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: calc(100vh - 70px);
    min-height: 550px;
    background: url(qq.jpg) no-repeat center center/cover;
    display: flex;
    align-items: center;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}

.highlight-blue {
    color: #00a8ff;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-blue {
    background-color: #00a8ff;
    color: #ffffff;
    border: 2px solid #00a8ff;
}

.btn-blue:hover {
    background-color: #0086cc;
    border-color: #0086cc;
}

/* About Section */
.about-section {
    background-color: #f8fafc;
    padding: 60px 0;
}

.about-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.section-description {
    font-size: 17px;
    line-height: 1.7;
    color: #64748b;
}

/* Services Section */
.services-section {
    background-color: #f8fafc;
    padding: 60px 0 30px 0;
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.services-title {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.services-subtitle {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

.services-wrapper {
    width: 100%;
    background-color: #ffffff;
}

.service-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 40px 5%;
    gap: 50px;
}

.service-item.reverse {
    flex-direction: row-reverse;
    background-color: #f8fafc;
}

.service-image-box {
    flex: 1;
    width: 50%;
}

.service-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.service-text-content {
    flex: 1;
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-icon-box {
    width: 40px;
    height: 40px;
    background-color: #e0f2fe;
    color: #00a8ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.service-item-title {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
}

.service-item-description {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

/* Projects Section */
.projects-section {
    background-color: #f8fafc;
    padding: 60px 0 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.projects-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.projects-title {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.projects-subtitle {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.project-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.project-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-link {
    color: #00a8ff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-link:hover {
    color: #0086cc;
}

/* ==========================================
   سلايدر الصور الشفاف التلقائي
   ========================================== */
.transparent-slider {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden !important;
    position: relative;
    background: transparent !important;
}

.transparent-track {
    display: flex;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    direction: ltr;
}

.transparent-slide {
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    padding: 10px 0;
    box-sizing: border-box;
}

.transparent-slide img {
    width: auto;
    max-width: 90%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/*222*/
/* ==========================================
   سلايدر الصور الشفاف التلقائي
   ========================================== */
.transparent-slider {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden !important;
    position: relative;
    background: transparent !important;
}

.transparent-track {
    display: flex;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    direction: ltr;
}

.transparent-slide {
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    padding: 10px 0;
    box-sizing: border-box;
}

.transparent-slide img {
    width: auto;
    max-width: 90%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
/* CTA Section */
.cta-section {
    background-color: #00a8ff;
    padding: 90px 20px;
    text-align: center;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
}

.cta-description {
    font-size: 17px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.95;
}

.btn-cta {
    display: inline-block;
    padding: 14px 38px;
    background-color: #ffffff;
    color: #00a8ff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}

/* Footer Section */
.site-footer {
    background-color: #111827;
    color: #ffffff;
    padding: 70px 0 50px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.footer-text {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 22px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #00a8ff;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 14px;
}

.contact-icon {
    color: #00a8ff;
    font-size: 16px;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #00a8ff;
    transform: translateY(-3px);
}

/* التجاوب مع الجوال (Mobile Responsiveness) */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 14px;
    }

    .service-item,
    .service-item.reverse {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .service-image-box,
    .service-text-content {
        width: 100%;
    }

    .service-img {
        height: 240px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .transparent-slider {
        margin: 20px auto;
    }

    .transparent-slide img {
        max-width: 92%;
        max-height: 250px;
        border-radius: 14px;
    }

    .cta-title {
        font-size: 26px;
    }
}

/*الشركات*/
/* ==========================================
   قسم الشركات والشريط المتحرك التلقائي
   ========================================== */
.partners-section {
  text-align: center;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
}

.partners-section .section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 15px;
}

.partners-section .section-description {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

/* حاوي الشريط */
.ticker-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  padding: 20px 0;
}

/* التدرج الضوئي على طرفي الشريط */
.ticker-container::before,
.ticker-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.ticker-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.ticker-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

/* مسار الحركة */
.ticker-track {
  display: flex;
  width: max-content;
  direction: ltr; /* ضمان التحرك من اليسار لليمين بسلاسة */
  animation: scrollTicker 20s linear infinite;
}

/* التوقف المؤقت عند تحريك الماوس */
.ticker-container:hover .ticker-track {
  animation-play-state: paused;
}

.logo-item {
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.logo-item img {
  max-width: 100%;
  max-height: 65px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-item img:hover {
  filter: grayscale(0%);
  transform: scale(1.08);
}

/* كود الحركة التلقائية الملساء */
@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
  .partners-section .section-title { font-size: 1.7rem; }
  .partners-section .section-description { font-size: 0.95rem; }
  .logo-item { width: 140px; }
}