/* ==================== 1. GENERAL STYLES ==================== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #FFFFFF;
    color: #333;
}
html {
    scroll-behavior: smooth;
}/* ✅ Lightbox Overlay */


/* ==================== 2. HERO SECTION ==================== */
.hero {
    position: relative;
    background: url('images/2.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    background-attachment: scroll;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 26, 46, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
    max-width: 80%;
}

.hero-content h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 80px;
    font-weight: 900;
    color: #FDB912;
    margin-bottom: 5px;
}

.hero-content p {
    font-weight: 500;
    font-size: 30px;
}

/* ==================== 3. BUTTON STYLES ==================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #FDB912;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
    font-size: 18px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: #FFFFFF;
    color: #147ED4;
    border: 2px solid #147ED4;
    transform: scale(1.1);
}

.btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    top: 0;
    left: -100%;
    transition: all 0.5s ease-in-out;
}

.btn:hover::after {
    left: 100%;
}
.primary-btn {
    background: #147ED4;  /* لون أزرق مميز */
    color: white;
    border: 2px solid #FDB912;
}

/* تأثير عند تمرير الماوس */
.primary-btn:hover {
    background: #FDB912;
    color: #147ED4;
    border: 2px solid #147ED4;
}
/* ==================== WHO WE ARE SECTION ==================== */
.who-we-are {
    padding: 80px 10%;
    background: white;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* عند ظهور السكشن */
.who-we-are.visible {
    opacity: 1;
    transform: translateY(0);
}

/* تنسيق العنوان مع الخط الأصفر */
.who-we-are h2 {
    color: #147ED4;
    font-size: 70px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* الخط الأصفر بجانب العنوان */
.yellow-line {
    display: block;
    width: 8px;
    height: 70px;
    background: #FDB912;
    border-radius: 0; /* حواف حادة */
    opacity: 0;
    transform: scaleY(0);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

/* عند ظهور السكشن */
.who-we-are.visible .yellow-line {
    opacity: 1;
    transform: scaleY(1);
}

/* تنسيق حاوية الأزرار */
.buttons-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}
.who-we-are p{

    font-size: large;
    font-weight: 100px;
    


}

/* تصميم الأزرار */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #147ED4;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 18px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

/* تأثير عند تمرير الماوس */
.btn:hover {
    background: #FFFFFF;
    color: #FDB912;
    border: 2px solid #FDB912;
    transform: scale(1.1);
}

/* تأثير الشرارة عند التمرير */
.btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    top: 0;
    left: -100%;
    transition: all 0.5s ease-in-out;
}

.btn:hover::after {
    left: 100%;
}

/* ==================== OUR SERVICES SECTION ==================== */
.services {
    padding: 80px 10%;
    text-align: center;
    background: #F1F9FF;
}

.services h2 {
    color: #147ED4;
    font-size: 36px;
    margin-bottom: 30px;
}

/* ترتيب الكروت في خط مستقيم */
.services-container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* جعل كل الكروت بنفس الارتفاع */
    flex-wrap: wrap;
    gap: 20px;
}

/* تصميم الكرت */
.service-box {
    width: 30%;
    background: white;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* جعل جميع الكروت بنفس الطول */
}

/* تأثير عند تمرير الماوس على الكرت */
.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(20, 126, 212, 0.3);
}

/* تصميم صورة الخدمة */
.service-image {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ضبط حجم الصورة داخل الكرت */
.service-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    border-radius: 15px;
}

/* تأثير عند تمرير الماوس على الصورة */
.service-box:hover .service-image img {
    transform: scale(1.05);
    filter: brightness(90%);
}

/* تنسيق العناوين */
.service-box h3 {
    margin-top: 15px;
    color: #147ED4;
    font-size: 22px;
}

.service-box p {
    font-size: 16px;
    color: #555;
    flex-grow: 1; /* يجعل النص يتمدد ليحافظ على الطول المتساوي */
}
/* ==================== WHY CHOOSE US SECTION ==================== */
.why-choose-us {
    position: relative;
    padding: 100px 10%;
    background: url('images/WhatsApp Image 2025-04-13 at 16.47.15_1b044655.jpg') no-repeat center center/cover;
    background-attachment: fixed; /* تأثير Parallax */
    color: white;
}

/* طبقة التظليل */
.why-choose-us .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 26, 46, 0.7);
}

/* تخطيط القسم */
.why-choose-us .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* القسم النصي */
.why-choose-us .content {
    width: 50%;
    text-align: left;
}

.why-choose-us h2 {
    font-size: 36px;
    color: #FDB912;
    margin-bottom: 20px;
}

/* ترتيب المزايا */
.reasons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* كل ميزة */
.reason {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

/* تأثير عند التمرير */
.reason:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

/* أيقونة ✔ */
.reason .icon {
    font-size: 24px;
    color: #FDB912;
    margin-right: 15px;
}

/* تنسيق النص */
.reason p {
    font-size: 18px;
    color: #f1f1f1;
    margin: 0;
}

/* القسم الخاص بالصورة */
.image-container {
    width: 45%;
    display: flex;
    justify-content: flex-end;
    
}

.image-container img {
    width: 100%;
    margin-top: 40px;
    max-width: 900px;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* تأثير على الصورة */
.image-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(20, 126, 212, 0.4);
}

 
/* ==================== 7. LATEST PROJECTS ==================== */
.projects {
    padding: 50px 20px;
    text-align: center;
    background: white;
}

.projects h2 {
    color: #147ED4;
    font-size: 40px;
    margin-bottom: 60px;
}

.projects-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: #147ED4;
}

.project-box {
    width: 30%;
    background: #F1F9FF;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.project-box img {
    width: 100%;
    max-width: 850px;
    border-radius: 10px;
}

/* تأثير عند تمرير الماوس */
.project-box:hover {
    transform: scale(1.05);
}

/* ==================== 8. FOOTER ==================== */
.sindbad-gallery {
  padding: 50px 20px;
  background: #f5f5f5;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.container {
  max-width: 100%;
  padding: 0 5%;
}

.gallery-title {
  font-size: 40px;
  color: #147ED4;
  margin-bottom: 40px;
}


.card-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.image-card {
  flex: 1 1 50%;
  max-width: 50%;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  margin-bottom: 30px;
}





.image-card:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 25px rgba(20, 126, 212, 0.3);
}


.preview-image {
  width: 100%;
  height: auto;
  cursor: pointer;
  display: block;
}

.image-caption {
  padding: 20px;
  text-align: left;
}

.image-caption h3 {
  margin: 0 0 10px;
  font-size: 28px;
  color: #005B99;
}

.image-caption p {
  margin: 0;
  font-size: 20px;
  color: #444;
}

/* 🔻 Wide Image Below */
.wide-image-wrapper {
  margin-top: 40px;
}

.wide-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: contain; /* عرض كامل بدون قص */
}


/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive *//* ✅ عام لأجهزة الموبايل */
@media (max-width: 768px) {
  .card-row {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }

  .image-card {
    flex: 1 1 100%;
    max-width: 95%;
    margin: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
  }

  .image-caption {
    text-align: center;
    padding: 15px;
  }

  .image-caption h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .image-caption p {
    font-size: 15px;
    line-height: 1.6;
  }

  .preview-image {
    border-radius: 0;
    width: 100%;
    height: auto;
  }
}

/* ✅ دعم خاص لأجهزة iPhone 16 Pro Max */
@media only screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) {
  .card-row {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }

  .image-card {
    flex: 1 1 100%;
    max-width: 95%;
    margin: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
  }

  .image-caption {
    text-align: center;
    padding: 15px;
  }

  .image-caption h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .image-caption p {
    font-size: 15px;
    line-height: 1.6;
  }

  .preview-image {
    border-radius: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
.company-promo {
 width: 100%;
  
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
}

.promo-container {
  max-width: 700px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.promo-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}


/* ========== Footer Section ========== */
/* ==================== FOOTER SECTION ==================== */
.site-footer {
    background: #147ED4; /* لون الفوتر الأساسي */
    color: white;
    padding: 50px 10%;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 30px;
}

/* تنسيق العناوين في الفوتر */
.footer-container h3 {
    color: #FDB912;
    font-size: 22px;
    margin-bottom: 15px;
}

/* تنسيق قائمة الروابط */
.footer-navigation .quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ترتيب الروابط في عمودين */
    gap: 10px;
    text-align: left;
}

.footer-navigation a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}

/* تأثير عند تمرير الماوس على الروابط */
.footer-navigation a:hover {
    color: #FDB912;
}

/* تنسيق معلومات الشركة */
.footer-info p {
    font-size: 16px;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

/* تنسيق الأيقونات داخل معلومات الشركة */
.footer-info i {
    color: #FDB912;
    font-size: 18px;
    margin-right: 10px;
    transition: transform 0.3s ease-in-out;
}

/* تأثير عند تمرير الماوس على الأيقونات */
.footer-info p:hover i {
    transform: scale(1.2);
}

/* تنسيق حقوق المبرمج */
.footer-credits p {
    font-size: 14px;
    margin: 5px 0;
}
/* ==================== 9. RESPONSIVE DESIGN ==================== */

/* الأجهزة اللوحية */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-content p {
        font-size: 18px;
    }

    .about-content, .about-image {
        width: 100%;
        text-align: center;
    }
}

/* الهواتف */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        width: 100%;
    }

    .about-image {
        width: 100%;
    }

    .services-container, .choose-container, .projects-container {
        flex-direction: column;
    }

    .service-box, .choose-box, .project-box {
        width: 90%;
        margin: auto;
    }
}
/* للهواتف الذكية (عرض أقل من 768px) */
@media (max-width: 768px) {
    .why-choose-us {
        padding: 80px 5%;
    }

    .why-choose-us h2 {
        font-size: 30px;
    }

    .reasons-list {
        gap: 10px;
    }

    .reasons-list li {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }

    .reasons-list .icon {
        margin-bottom: 10px;
    }
}
/* الأجهزة اللوحية والهواتف */
@media (max-width: 1024px) {
    .why-choose-us .container {
        flex-direction: column;
        text-align: center;
    }

    .why-choose-us .content {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .reasons {
        align-items: center;
    }

    .reason {
        width: 90%;
        text-align: center;
    }

    .image-container {
        width: 100%;
        justify-content: center;
    }

    .image-container img {
        max-width: 350px;
    }
}
@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-navigation .quick-links-grid {
        grid-template-columns: 1fr; /* جعل الروابط في عمود واحد على الشاشات الصغيرة */
        text-align: center;
    }

    .footer-info p {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .buttons-container {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 80%;
        text-align: center;
    }
}







#certifications {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

#certifications h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #147ED4;
  animation: fadeInDown 1s ease-in-out;
}

#certifications p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #147ED4;
  animation: fadeIn 1.5s ease-in-out;
}

.certificates-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.certificate-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: slideUp 1s ease forwards;
  opacity: 0;
}

.certificate-card:nth-child(1) {
  animation-delay: 0.3s;
}
.certificate-card:nth-child(2) {
  animation-delay: 0.6s;
}
.certificate-card:nth-child(3) {
  animation-delay: 0.9s;
}

.certificate-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  pointer-events: none;
  user-select: none;
}

.certificate-card p {
  margin-top: 15px;
  font-weight: 500;
  color: #333;
}

.certificate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}

