
/* الخطوط والاعدادات العامة */
body {
    font-family: "Ancizar Serif", serif;
    background: #757373;
    margin: 0;
    padding: 0;
   direction: inherit;
}

/* لو بتستخدم تغيير class بدلاً من dir مباشرة */
body.rtl {
  direction: rtl;
  text-align: right;
}

body.ltr {
  direction: ltr;
  text-align: left;
}

h1 {
    color: rgb(0, 0, 0);
    font-size: 3rem; /* حجم الخط الكبير */
    margin: 0;
    transition: all 0.4s ease;
    font-family: "Ancizar Serif", serif;

}

/* القسم الرئيسي (Hero) */


.hero {
    color: #ffffff;
    padding: 2rem 2rem;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
    position: relative;
    overflow: hidden;
    height: 70vh; /* غطّي الشاشة بالكامل */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    animation: fadeIn 2s ease-in-out;
    margin-top: 150px;
}
.hero .btn {
    display: inline-block;
    margin-top: 1.5rem;
    background-color: #ff6f08;
    font-size: 14px;
    padding: 0.6rem 1.2rem;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #e55b00;
}


.hero video#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;        /* العرض: كل الشاشة */
    height: 60vh;        /* الارتفاع: أقل من الشاشة */
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    filter: brightness(0.5); /* لتوضيح النص */
}


.hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}


/* حركات التدرج */
.hero .container h1,
.hero .container p,
.hero .container .btn {
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

/* عنوان */
.hero .container p {
    animation-name: fadeUp;
    animation-duration: 1.2s;
    animation-delay: 0.3s;
    color: #ffffff;
    font-weight: bold;
    font-size: 40px;

}

/* زر */
.hero .container .btn {
    animation-name: fadeUp;
    animation-duration: 1.2s;
    animation-delay: 1.1s;
}

/* Keyframe */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.description {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    background-color: #1a2357;
    border-radius: 12px;
    animation: fadeIn 1.5s ease;
    margin-bottom: 60px;
}

.description-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap-reverse; /* لضمان تناسق الاتجاه بالعربي */
    gap: 2rem;
}

.description-text {
    flex: 1;
    min-width: 280px;
    text-align: start;
}

.description-text h1 {
    color: #ec4f00;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.description-text p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
}


/* الاقسام: خدمات، من نحن، تواصل */
.services, .contact {
    padding: 3rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
/*جزء تعريفي */
.section {
  background-color: #1a2357;
  padding-top: 20px;
  padding-bottom: 20px;
  direction: rtl;
  text-align: right;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpSection 1.2s ease-out forwards;
  animation-delay: 0.2s;
}

.section h1 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: #e55b00;
  margin-bottom: 20px;
}

.section p {
  color: #ccc;
  font-size: 20px;
  line-height: 1.8;
  max-width: 800px;
  text-align: auto;     /* تغيير اتجاه المحاذاة لليمين */
  direction: auto;        /* ضبط اتجاه النص من اليمين لليسار */
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUpSection {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.about {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    background-color: #1a2357;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    animation: fadeIn 1.5s ease;
    margin-bottom: 60px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap-reverse; /* لضمان تناسق الاتجاه بالعربي */
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 280px;
    text-align: start;
}

.about-text h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-more {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #45a049;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.btn-more:hover {
  background-color: #000000;
}

.about-video {
  flex: 1 1 50%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-video video {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  
   .about-video {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }
}

footer {
  background-color: #1a2357;
  color: #fff;
  padding: 40px 20px;
  
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #444;
  padding-top: 20px;
}

.footer-box {
  flex: 1 1 250px;
  padding: 0 20px;
  position: relative;
}

.footer-box h3 {
  color: #ffbb00; /* أصفر */
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 2px solid #ffbb00;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-box ul li a {
  text-decoration: none;
  color: #fff; /* هنا كمان غيّرها */
}

.footer-box ul li a:hover {
  color: #FFD700; /* أو أي لون تحب عند الهوفر */
}

.footer-box ul li {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.6;
}
.social-icons img {
  width: 50px;
  height: 50px;
}

/* الفاصل الرأسي */
.footer-box:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  height: 100%;
  width: 1px;
  background-color: #ffffff;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: row;     /* صفوف */
    flex-wrap: wrap;         /* يلف العناصر */
    gap: 12px;               /* مسافة صغيرة بينهم */
  }

  .footer-box {
    width: calc(50% - 6px);  /* اتنين في الصف + نحافظ على الفراغ */
  }

  .footer-box::after {
    display: none;
  }
}



.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 3rem;
  color: #aaaaaa;
}


/* Map */
.map-container {
  position: relative;
  width: 90vw;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  margin: 3rem auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.map-container:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(20%) contrast(1.1);
  transition: filter 0.3s ease;
}

.map-container:hover iframe {
  filter: grayscale(0%) contrast(1);
}


/* Small Phone*/
@media (max-width: 600px) {
  .map-container {
    max-width: 100%;
    border-radius: 8px;
  }
}


/* تأثيرات ظهور الصفحة */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    .service-cards {
        flex-direction: column;
        gap: 1.5rem;
    }
    .card {
        width: 90%;
        margin: 0 auto;
    }
}


.choose-contact {
  text-align: center;
  margin-top: 20px;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}




