@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Cairo:wght@200..1000&family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  /* padding-top: 70px;  */
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 12px 25px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo img {
    height: 110px;
    width: 140px;
}

/* Links */
.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 10px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-size: 17px;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #007bff;
}

/* Actions */
.actions {
  display: flex;
  align-items: center;
}

.actions .btn {
  margin-left: 10px;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  transition: 0.3s;
  white-space: nowrap;
  background-color:darkblue;
}

.btn-quote {
  background: #007bff;
}

.btn-quote:hover {
  background: #0056b3;
}

.btn-consult {
  background: #6c63ff;
}

.btn-consult:hover {
  background: #4b42d6;
}

.btn-contact {
  background: darkblue;
}

.btn-contact:hover {
  background: #1ca94d;
}

/* زر همبرغر */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  user-select: none;
}




/* ================================================= القسم ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 70px);
  /* ناقص الناف بار */
  overflow: hidden;
}

/* الفيديو كخلفية */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* المحتوى فوق الفيديو */
/*.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 20px;
}*/





.hero-overlay {
    position: fixed;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 88em;
/*    height: 100%;*/
top:130px;
    padding: 20px;

}




/* الجانبين */
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* background-color: #00008B; */
    /*background: rgba(255, 255, 255, 0.08);*/ /* شفافية خفيفة */
    background: rgb(3 9 56 / 75%);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* بنفسجي شفاف */
    /*    backdrop-filter: blur(10px);*/
    /* قوة الضبابية */
    /*    -webkit-backdrop-filter: blur(10px);*/
    padding: 6px;
    border-radius: 10px;
}

/* يسار: أيقونات */
.social a {
    color: whitesmoke;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social a:hover {
  color: #1dbf73;
  transform: scale(1.2);
}

/* يمين: تواصل */
.contact h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #fff;
}

.whatsapp-btn {
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
}




.contact a {
    font-size: 25px;
    color: whitesmoke;
    transition: all 0.3s ease;
}

.whatsapp-icon {
  color: #25d366;
}

.phone-icon {
  color: #1dbf73;
}

.email-icon {
  color: #ff9800;
}

.contact a:hover {
  transform: scale(1.3);
  opacity: 0.8;
}



/* ============================================ قسم خدماتنا ===== */
.cards-services {
  padding: 80px 20px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  text-align: center;
  font-family: 'Tajawal', sans-serif;
  color: #fff;
/*  background: linear-gradient(135deg, #263755, #206795, #007CB7);*/
}


.card {
    background: linear-gradient(135deg, #263755, #206795, #007CB7);
}
/* خطوط زخرفية شفافة متحركة */
/*.cards-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(45deg,
      rgba(255, 255, 255, 0.04) 25%,
      transparent 25%,
      transparent 50%,
      rgba(255, 255, 255, 0.04) 50%,
      rgba(255, 255, 255, 0.04) 75%,
      transparent 75%,
      transparent);
  background-size: 60px 60px;
  animation: moveBg 20s linear infinite;
  z-index: 0;
}*/
/* دوائر زخرفية عائمة */
/*.cards-services::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  background: rgba(255, 255, 255, 0.05);
  animation: floatCircle 15s ease-in-out infinite;
  z-index: 0;
}*/
@keyframes moveBg {
    from {
    background-position: 0 0;
  }

  to {
    background-position: 300px 300px;
  }
}

@keyframes floatCircle {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(180deg);
  }

  100% {
    transform: translateY(0) rotate(360deg);
  }
}

/* نصوص وعناصر القسم فوق الخلفية */
.cards-services h2,
.cards-services .cards,
.cards-services .card {
  position: relative;
  z-index: 1;
}

/* ===== نص العنوان ===== */
.cards-services h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 700;
  color: darkblue;
}

/* ===== الحاوية ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

/* ===== الكروت ===== */
.card {
/*  background: rgba(255, 255, 255, 0.1);*/
  
  backdrop-filter: blur(10px);
  padding: 35px 25px;
  border-radius: 22px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease-in-out;
  text-align: center;
}

.card i {
  width: 80px;
  height: 80px;
  line-height: 80px;
  font-size: 36px;
  border-radius: 50%;
  margin-bottom: 20px;
  display: inline-block;
  background: linear-gradient(135deg, #206795, #007CB7);
  color: #fff;
  box-shadow: 0 5px 15px rgba(32, 103, 149, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 600;
}

.card p {
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.7;
  padding: 0 5px;
}

/* Hover تأثير */
.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 124, 183, 0.3);
}

.card:hover i {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 124, 183, 0.4);
  background: linear-gradient(135deg, #263755, #206795);
}


/* ===== Carousel Section ===== */


/*.projects-carousel {
  padding: 80px 20px;
  background: #f4f6f9;
  text-align: center;
  font-family: 'Tajawal', sans-serif;
  margin:4em;
}

.projects-carousel h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #263755;
  font-weight: 700;
}*/

/* Carousel container */
/*.carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scroll-behavior: smooth;
}

.carousel::-webkit-scrollbar {
  height: 10px;
}

.carousel::-webkit-scrollbar-thumb {
  background: #007CB7;
  border-radius: 5px;
}*/

/* Flip Card */
/*.project-card {
  flex: 0 0 300px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 400px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.project-card:hover .card-inner {
  transform: rotateY(180deg);
}*/

/* Front & Back */
/*.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}*/

/* Overlay الاسم على الصورة الأمامية */
/*.card-front .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 124, 183, 0.7);
  padding: 10px 0;
}

.card-front .overlay h3 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
}*/

/* الخلفية عند Flip */
/*.card-back {
  background: #206795;
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.card-back h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.card-back p {
  margin: 5px 0;
  font-size: 1rem;
}*/

/* Responsive */
/*@media (max-width: 1024px) {
  .project-card {
    flex: 0 0 250px;
  }
}



.projects-carousel {
  padding: 80px 20px;
  background: #f4f6f9;
  text-align: center;
  font-family: 'Tajawal', sans-serif;
}

.projects-carousel h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #263755;
  font-weight: 700;
}*/

/* Flip Card */
/*.project-card {
  perspective: 1000px;
  margin: 10px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 350px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.project-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-front .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 124, 183, 0.7);
  padding: 10px 0;
}

.card-front .overlay h3 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
}



.card-back {
  background: linear-gradient(135deg, #263755, #007CB7);
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 30px;
  border-radius: 20px;
  text-align: left;
  position: relative;
}

.card-back h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  animation: fadeInDown 0.6s ease;
}

.card-back p {
  margin: 8px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeInUp 0.8s ease;
}

.card-back p i {
  color: #00e1ff;
  font-size: 1.2rem;
}*/

/* تأثير دخول ناعم */
/*@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


a.more-link {
    text-decoration: none;
    color: wheat;
    background-color: darkblue;
    padding: 5px;
    border-radius: 10px;
}*/



/* Owl Carousel adjustments */
/*.owl-nav button {
  background: #007CB7;
  color: #fff;
  border-radius: 10px;
  padding: 10px 15px;
}

.owl-dots {
  margin-top: 20px;
}*/










section#projects {
    margin-bottom: 70px;
}


.projects .project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

    .project-item img {
        width: 100%;
        display: block;
        transition: transform 0.5s ease;
    }

    .project-item:hover img {
        transform: scale(1.1);
    }

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44,62,80,0.8);
    color: #fff;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    text-align: right;
}



.more-link {
    color: #18bc9c;
    text-decoration: underline;
    background-color: #2c3e50;
    padding: 5px;
    border-radius: 10px;
    font-weight: bold;
}



.project-item:hover .overlay {
    transform: translateY(0);
}





#projects-details {
    position: relative;
    /*    height: 111vh;*/
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

    #projects-details::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
        z-index: 1;
    }

    #projects-details .overlay {
        position: relative;
        z-index: 2;
        text-align: center;
        animation: fadeIn 2s ease-in-out;
        border-radius: 10px;
        top: -5em;
    }

    #projects-details h1 {
        font-size: 3rem;
        font-weight: bold;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 3px;
        text-shadow: 0 0 15px rgba(255,255,255,0.7), 0 0 30px rgba(0,0,0,0.8);
        animation: glow 2s ease-in-out infinite alternate;
    }


.category-design {
    background: url('../webImage/detailsImage.jpg') no-repeat center/cover;
    background-size: cover;
}







@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #00c6ff, 0 0 40px #00c6ff;
    }

    to {
        text-shadow: 0 0 20px #fff, 0 0 30px #00c6ff, 0 0 60px #00c6ff;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

















.partners-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #263755, #206795, #007CB7);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  text-align: center;
  color: #fff;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.partners-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 50px;
  position: relative;
}

.partners-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #fff;
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
}

.partner-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.partner-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}



.partner-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 20px; /* حواف ناعمة بدل الدائرة */
  border: 3px solid #fff;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.partner-card:hover img {
  transform: scale(1.05);
}




.partner-card h3 {
  font-size: 18px;
  margin: 0;
  color: #fff;
  font-weight: 500;
}

















.testimonials-section {
  padding: 60px 20px;
  background: #f9fafc;
  text-align: center;
   direction: ltr; /* ← هنا */
}

.testimonials-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #263755;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  max-width: 500px;
  margin: auto;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-text {
  font-style: italic;
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.client-name {
  color: #206795;
  font-weight: bold;
  font-size: 1rem;
  margin: 0;
}












.footer-section {
  background: #263755;
  color: #fff;
  padding: 60px 20px 30px;
  font-family: 'Tajawal', sans-serif;
  position: relative;
  direction: rtl;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.glass-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 25px 20px;
  flex: 1 1 45%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

/* قسم الرؤية */
.vision-box, .mission-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.vision-icon, .mission-icon {
  font-size: 28px;
  color: #00c4ff;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-text h3, .mission-text h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #fff;
}

.vision-text p, .mission-text p {
  margin: 0;
  color: #e0e0e0;
  font-size: 15px;
  line-height: 1.8;
}

/* التواصل */
.footer-social h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.social-icons a {
  display: inline-block;
  margin: 0 8px 10px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #fff;
  color: #007CB7;
  transform: scale(1.2);
}

.footer-map {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/*===================================About Sections=========================================*/

/* Hero Section */

.about-us-hero {
    background-image: linear-gradient(rgba(0, 123, 255, 0.6), rgba(108, 99, 255, 0.4)), url('../header/image-headers/3.png'); /* غيّر المسار لصورة مناسبة، مثل مباني في المنطقة الشرقية */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px; /* للـ navbar الثابت */
    position: relative;
    width:100%;
}

    .about-us-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3); /* overlay أسود خفيف لتحسين القراءة */
        z-index: 1;
    }

.about-us-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

    .about-us-hero-content h1 {
        font-size: 3rem;
        margin-bottom: 10px;
        animation: fadeInUp 1s ease;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* ظل للنص عشان يبرز على الصورة */
    }

    .about-us-hero-content p {
        font-size: 1.2rem;
        animation: fadeInUp 1s ease 0.2s both;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

/* باقي الـ animations كما هو */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Main Content */
.about-us-main {
    padding: 50px 0;
}

.about-us-intro {
    background: white;
    padding: 60px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.about-us-intro-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
    margin:10px;
}

.about-us-intro-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.about-us-intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #007bff;
}

.about-us-intro-text p {
    font-size: 17px;
    text-align: justify;
    margin-bottom: 30px;
    margin: 11px;
}

.btn-primary {
    background: #007bff;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s;
    display: inline-block;
}

    .btn-primary:hover {
        background: #0056b3;
    }

/* Vision & Mission */
.about-us-vision-mission {
    padding: 60px 0;
    background: white;
}

.about-us-vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.about-us-vm-item {
    text-align: center;
    padding: 30px;
}

    .about-us-vm-item h3 {
        font-size: 2rem;
        color: #25d366;
        margin-bottom: 20px;
    }

    .about-us-vm-item p {
        font-size: 1.1rem;
        line-height: 1.8;
    }

/* Team */
.about-us-team {
    padding: 60px 0;
    background: #f8f9fa;
}

    .about-us-team h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 50px;
        color: #333;
    }

.about-us-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.about-us-team-member {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

    .about-us-team-member:hover {
        transform: translateY(-5px);
    }

    .about-us-team-member img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 15px;
    }

    .about-us-team-member h4 {
        color: #007bff;
        margin-bottom: 10px;
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/*===================================services Sections=========================================*/



/* Services Page Styles - Optimized for Performance & Marketing Flow */
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section - Attention Grabbing */
.services-hero {
    background: linear-gradient(rgba(0, 123, 255, 0.7), rgba(108, 99, 255, 0.5)), url('../images/services-hero-sa.jpg') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    position: relative;
}

    .services-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1;
    }

.services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

    .services-hero-content h1 {
        font-size: 3rem;
        margin-bottom: 15px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        animation: fadeInUp 1s ease;
    }

    .services-hero-content p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        animation: fadeInUp 1s ease 0.2s both;
    }

.btn-primary, .btn-secondary, .btn-contact {
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 10px;
}

.btn-primary {
    background: #007bff;
    color: white;
}

    .btn-primary:hover {
        background: #0056b3;
        transform: translateY(-2px);
    }

.btn-secondary {
    background: #6c63ff;
    color: white;
}

    .btn-secondary:hover {
        background: #4b42d6;
        transform: translateY(-2px);
    }

.btn-contact {
    background: darkblue;
    color: white;
}

    .btn-contact:hover {
        background: #1ca94d;
        transform: translateY(-2px);
    }

/* Main Content */
.services-main {
    padding: 50px 0;
}

/* Services Cards Section - Interest Building */
.services-cards-section {
    padding: 60px 0;
    background: #f8f9fa;
}

    .services-cards-section h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: #333;
    }

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.services-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: right; /* RTL */
}

    .services-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

.services-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
    display: block;
}

.services-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.services-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.services-benefits {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
}

    .services-benefits li {
        color: #666;
        margin-bottom: 10px;
        position: relative;
        padding-right: 20px;
    }

        .services-benefits li::before {
            content: '✓';
            color: #25d366;
            font-weight: bold;
            position: absolute;
            right: 0;
        }

/* CTA Section - Desire & Action */
.services-cta-section {
    padding: 60px 0;
    background: white;
    text-align: center;
}

    .services-cta-section h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: #333;
    }

    .services-cta-section p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        color: #666;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*===================================Portfolio Sections=========================================*/


/* Portfolio Page Styles - Sublime & Magical */
/*.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}*/

/* Hero Section - Parallax Magic */
/*.portfolio-hero {
    background: linear-gradient(rgba(0, 123, 255, 0.6), rgba(108, 99, 255, 0.4)), url('../images/portfolio-hero-sa.jpg') center/cover no-repeat fixed;*/ /* Parallax effect */
    /*height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.portfolio-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.portfolio-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.portfolio-hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1.2s ease;
}

.portfolio-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1.2s ease 0.3s both;
}

.btn-primary {
    background: #007bff;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

    .btn-primary:hover {
        background: #0056b3;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    }*/

/* Filters Section - Elegant Navigation */
/*.portfolio-filters-section {
    padding: 60px 0;
    background: #f8f9fa;
}

    .portfolio-filters-section h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 40px;
        color: #333;
    }

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.portfolio-filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #666;
}

    .portfolio-filter-btn:hover, .portfolio-filter-btn.active {
        background: #007bff;
        color: white;
        border-color: #007bff;
        transform: scale(1.05);
    }*/

/* Portfolio Grid - Magical Reveal */
/*.portfolio-grid-section {
    padding: 60px 0;
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

    .portfolio-item.hidden {
        opacity: 0;
        transform: scale(0.95);
    }

.portfolio-item-cover {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-cover-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 123, 255, 0.8), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: white;
    text-align: center;
    padding: 20px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.portfolio-overlay p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.portfolio-view-gallery {
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

    .portfolio-view-gallery:hover {
        background: #0056b3;
    }

.portfolio-details {
    padding: 20px;
}

.portfolio-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.portfolio-badge {
    background: #e9ecef;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .portfolio-badge.portfolio-status.completed {
        background: #d4edda;
        color: #155724;
    }

    .portfolio-badge.portfolio-status.ongoing {
        background: #fff3cd;
        color: #856404;
    }

.portfolio-details p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}*/

/* CTA Section - Enchanting Close */
/*.portfolio-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #007bff 0%, #6c63ff 100%);
    color: white;
    text-align: center;
}

    .portfolio-cta-section h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .portfolio-cta-section p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        opacity: 0.9;
    }*/

/* Animations - Subtle Magic */
/*@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}*/

/* Responsive - Enchanting on All Devices */
/*@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }

    .portfolio-hero h1 {
        font-size: 3rem;
    }

    .portfolio-filters {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .portfolio-hero {
        height: 60vh;
        background-attachment: scroll;*/ /* No parallax on mobile */
    /*}

        .portfolio-hero h1 {
            font-size: 2.2rem;
        }

        .portfolio-hero p {
            font-size: 1rem;
        }

    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-filter-btn {
        width: 200px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .portfolio-main {
        padding: 30px 0;
    }

    .portfolio-filters-section, .portfolio-grid-section, .portfolio-cta-section {
        padding: 40px 0;
    }

    .portfolio-hero-content {
        padding: 0 15px;
    }

    .portfolio-overlay h3 {
        font-size: 1.2rem;
    }
}*/





/* Portfolio Page Styles - Sublime & Magical */
.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Hero Section - Parallax Magic */
.portfolio-hero {
    /*background: linear-gradient(rgba(0, 123, 255, 0.6), rgba(108, 99, 255, 0.4)), url('../images/portfolio-hero-sa.jpg') center/cover no-repeat fixed;*/ /* Parallax effect */
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.portfolio-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.portfolio-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.portfolio-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.portfolio-hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1.2s ease;
}

.portfolio-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1.2s ease 0.3s both;
}

.btn-primary {
    background: #007bff;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

    .btn-primary:hover {
        background: #0056b3;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    }
/* Filters Section - Elegant Navigation */
.portfolio-filters-section {
    padding: 60px 0;
    background: #f8f9fa;
}

    .portfolio-filters-section h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 40px;
        color: #333;
    }

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.portfolio-filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #666;
}

    .portfolio-filter-btn:hover, .portfolio-filter-btn.active {
        background: #007bff;
        color: white;
        border-color: #007bff;
        transform: scale(1.05);
    }
/* Portfolio Grid - Magical Reveal */
.portfolio-grid-section {
    padding: 60px 0;
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

    .portfolio-item.hidden {
        opacity: 0;
        transform: scale(0.95);
    }

    .portfolio-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

.portfolio-item-cover {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-cover-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 123, 255, 0.8), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: white;
    text-align: center;
    padding: 20px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.portfolio-overlay p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.portfolio-view-gallery {
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

    .portfolio-view-gallery:hover {
        background: #0056b3;
    }

.portfolio-details {
    padding: 20px;
}

.portfolio-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.portfolio-badge {
    background: #e9ecef;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .portfolio-badge.portfolio-status.completed {
        background: #d4edda;
        color: #155724;
    }

    .portfolio-badge.portfolio-status.ongoing {
        background: #fff3cd;
        color: #856404;
    }

.portfolio-details p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}
/* CTA Section - Enchanting Close */
.portfolio-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #007bff 0%, #6c63ff 100%);
    color: white;
    text-align: center;
}

    .portfolio-cta-section h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .portfolio-cta-section p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        opacity: 0.9;
    }
/* Animations - Subtle Magic */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Responsive - Enchanting on All Devices */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }

    .portfolio-hero h1 {
        font-size: 3rem;
    }

    .portfolio-filters {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .portfolio-hero {
        height: 60vh;
        background-attachment: scroll; /* No parallax on mobile */
    }

        .portfolio-hero h1 {
            font-size: 2.2rem;
        }

        .portfolio-hero p {
            font-size: 1rem;
        }

    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-filter-btn {
        width: 200px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .portfolio-main {
        padding: 30px 0;
    }

    .portfolio-filters-section, .portfolio-grid-section, .portfolio-cta-section {
        padding: 40px 0;
    }

    .portfolio-hero-content {
        padding: 0 15px;
    }

    .portfolio-overlay h3 {
        font-size: 1.2rem;
    }
}

/* إضافة CSS للمودال (شبكة + lightbox) - ضرورية للعمل الجيد */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

    .gallery-modal.active {
        display: flex;
    }

.gallery-content {
    background: white;
    border-radius: 20px;
    max-width: 90%;
    max-height: 90%;
    padding: 2rem;
    position: relative;
    overflow-y: auto;
    width:100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .gallery-item img:hover {
        transform: scale(1.05);
    }

.gallery-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #333;
    cursor: pointer;
}

    .gallery-close:hover {
        background: rgba(0, 0, 0, 0.2);
    }

.lightbox-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

    .lightbox-container.active {
        display: flex;
    }

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 2rem;
}

    .lightbox-nav.prev {
        left: 2rem;
    }

    .lightbox-nav.next {
        right: 2rem;
    }


/*=====================================FeedsBacks=============================================*/

.feedbacks-create-title {
    text-align: center;
    margin-bottom: 20px;
    font-family: "Segoe UI","Tahoma",sans-serif;
}

    .feedbacks-create-title h2 {
        color: #1b3b73;
        font-weight: 800;
        font-size: 26px;
        margin-bottom: 10px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        letter-spacing: 0.5px;
        margin-top: 109px;
    }

    .feedbacks-create-title p {
        color: #4c5d73;
        font-size: 15px;
        line-height: 1.6;
        margin: 0 auto;
        max-width: 520px;
    }


/* ====== نموذج آراء العملاء (feedbacks-create) ====== */
.feedbacks-create-container {
    direction: rtl;
    max-width: 760px;
    margin: 40px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.feedbacks-create-form {
    background: linear-gradient(180deg,#ffffffee,#f7f9feee);
    border: 1px solid #e8eef7;
    box-shadow: 0 12px 30px rgba(24,40,59,.08);
    border-radius: 18px;
    padding: 28px;
    backdrop-filter: blur(4px);
}

/* ====== العنوان والفاصل ====== */
.feedbacks-create-title h4 {
    margin: 0;
    text-align: center;
    font-family: "Tahoma","Segoe UI",system-ui;
    font-weight: 700;
    letter-spacing: .3px;
    color: #18324d;
}

.feedbacks-create-separator {
    border: 0;
    height: 1px;
    margin: 14px auto 22px;
    width: min(100%, 540px);
    background: linear-gradient(90deg, transparent, #d7e2f1, transparent);
}

/* ====== مجموعات الحقول ====== */
.feedbacks-create-group {
    margin: 18px 0 8px;
}

.feedbacks-create-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #1b2b3f;
    font-weight: 600;
}

/* ====== الحقول ====== */
.feedbacks-create-input,
.feedbacks-create-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d6deea;
    border-radius: 12px;
    background: #fff;
    outline: none;
    font-size: 15px;
    transition: box-shadow .2s ease, border-color .2s ease, transform .06s ease;
    box-shadow: 0 1px 0 rgba(24,40,59,.02) inset;
}

    .feedbacks-create-input::placeholder {
        color: #9aa7b8;
    }

    .feedbacks-create-input:focus,
    .feedbacks-create-select:focus {
        border-color: #2a66ff;
        box-shadow: 0 0 0 4px rgba(42,102,255,.12);
        transform: translateY(-1px);
    }

/* ====== رسائل التحقق ====== */
.feedbacks-create-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #d94141 !important;
}

/* ====== مربع "تم الموافقة" ====== */
.feedbacks-create-check {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f6f9ff;
    border: 1px dashed #cddaf6;
    padding: 12px 14px;
    border-radius: 12px;
    margin-top: 16px;
}

    .feedbacks-create-check span {
        font-weight: 600;
        color: #1c3b6b;
    }

.feedbacks-create-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #2a66ff;
    cursor: pointer;
}

/* ====== الأزرار ====== */
.feedbacks-create-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    flex-wrap: wrap;
}

.feedbacks-create-submit {
    border: 0;
    background: linear-gradient(135deg,#2a66ff,#5b8cff);
    color: #fff;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .2px;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(42,102,255,.18);
    transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease;
}

    .feedbacks-create-submit:hover {
        box-shadow: 0 12px 22px rgba(42,102,255,.22);
        opacity: .95;
    }

    .feedbacks-create-submit:active {
        transform: translateY(1px);
    }

.feedbacks-create-link {
    display: inline-block;
    text-decoration: none;
    color: #2a66ff;
    background: #eef4ff;
    border: 1px solid #d6e2ff;
    padding: 11px 16px;
    border-radius: 10px;
    font-weight: 600;
    transition: background .2s ease, border-color .2s ease, transform .06s ease;
}

    .feedbacks-create-link:hover {
        background: #e6eeff;
        border-color: #cbd9ff;
    }

    .feedbacks-create-link:active {
        transform: translateY(1px);
    }

    /* ====== تحسينات الوصول ====== */
    .feedbacks-create-input:focus-visible,
    .feedbacks-create-select:focus-visible,
    .feedbacks-create-submit:focus-visible,
    .feedbacks-create-link:focus-visible {
        outline: 0;
        box-shadow: 0 0 0 4px rgba(42,102,255,.18);
    }

/* ====== استجابة للشاشات الصغيرة ====== */
@media (max-width: 540px) {
    .feedbacks-create-form {
        padding: 20px;
    }

    .feedbacks-create-buttons {
        gap: 10px;
    }

    .feedbacks-create-submit,
    .feedbacks-create-link {
        width: 100%;
        text-align: center;
    }
}

/* ====== تأثيرات الإطار ====== */
.feedbacks-create-form {
    position: relative;
}

    .feedbacks-create-form:before {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: 18px;
        pointer-events: none;
        background: radial-gradient(1000px 200px at 90% -20%, rgba(42,102,255,.10), transparent 60%), radial-gradient(800px 200px at 10% 120%, rgba(2,29,78,.06), transparent 60%);
        z-index: 0;
    }

    .feedbacks-create-form > * {
        position: relative;
        z-index: 1;
    }



.about-us-intro-img {
    width: 100%;
    margin: 10px;
}









.certificates-page {
    padding: 60px 20px;
    background: #f8f9fa;
    text-align: center;
}

.certificates-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #222;
}

.certificates-header p {
    max-width: 750px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.certificates-header .highlight {
    color: #d4a017;
    font-weight: bold;
}

.certificates-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-content: center;
}

.certificate-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .certificate-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    }

    .certificate-card img {
        width: 100%;
        /*        height: 180px;*/
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 15px;
    }

    .certificate-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: #333;
    }

    .certificate-card p {
        font-size: 0.95rem;
        color: #666;
        line-height: 1.6;
    }







/*==================================================================================*/
/* ============================ استجابة الجوال ======================================= */
/* Media Queries - محسنة للأحجام الصغيرة */
@media (max-width: 992px) {
    .navbar {
        padding: 10px 15px; /* أقل padding في الصغير */
    }

    .nav-links,
    .actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Dropdown للـ Nav Links */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 60px; /* أقل لتوفير المساحة */
        right: 10px;
        left: 10px; /* full-width في المتوسط */
        width: auto;
        max-height: 40vh; /* محدود للصغير */
        overflow-y: auto;
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        padding: 15px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        border-radius: 10px 10px 0 0; /* مدور من الأعلى فقط */
        animation: slideIn 0.3s ease-out forwards;
        z-index: 1002;
    }

    .nav-links li {
        margin: 10px 0;
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 10px 12px;
        border-radius: 6px;
        transition: background 0.3s ease;
    }

    .nav-links li a:hover {
        background: rgba(0, 123, 255, 0.1);
    }

    /* Dropdown للـ Actions - تحت الـ nav-links */
    .actions.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--actions-top, calc(60px + 200px)); /* default، يتعدل بالـ JS */
        right: 10px;
        left: 10px;
        width: auto;
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        padding: 15px;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 10px 10px; /* مدور من الأسفل */
        animation: slideInBottom 0.3s ease-out forwards 0.1s;
        z-index: 1001;
        gap: 8px;
    }

    .actions .btn {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 10px 14px;
        font-size: 14px; /* أصغر في الصغير */
    }
}









@media (max-width: 768px) {
    .about-us-hero-content h1 {
        font-size: 2rem;
    }

    .about-us-hero-content p {
        font-size: 1rem;
    }

    .about-us-intro-text h2 {
        font-size: 23px;
        margin:10px;
    }

    .about-us-team h2, .about-us-vm-item h3 {
        font-size: 1.8rem;
    }





    .about-us-hero {
        height: 50vh;
        background-position: center top; /* تحسين للموبايل */
    }

    .about-us-hero-content h1 {
        font-size: 2rem;
    }

    .about-us-hero-content p {
        font-size: 1rem;
    }




    .services-hero {
        height: 50vh;
        background-position: center top;
    }

    .services-hero-content h1 {
        font-size: 2rem;
    }

    .services-hero-content p {
        font-size: 1rem;
    }

    .services-cards-section h2, .services-cta-section h2 {
        font-size: 2rem;
    }

    .services-card {
        padding: 25px;
    }

    .services-cards-grid {
        grid-template-columns: 1fr;
    }

}









/* للأحجام المتوسطة مثل 468px */
@media (max-width: 480px) {
    .nav-links.active {
        max-height: 51vh;
        padding: 12px;
        top: 128px;
        width: 100%;
        right: 0;
    }

    .actions.active {
        --actions-top: calc(55px + 180px); /* تعديل للارتفاع الأقل */
        padding: 12px;
        top: 560px;
        width: 100%;
        left: 0;
        right: 0;
    }

    .nav-links li a {
        padding: 8px 10px;
        font-size: 15px;
    }



    .about-us-hero {
        height: 50vh;
        margin-top: 60px;
    }

    .about-us-main {
        padding: 30px 0;
    }

    .about-us-intro, .about-us-vision-mission, .about-us-team {
        padding: 30px 0;
    }

    .about-us-team-grid {
        grid-template-columns: 1fr;
    }



    .services-main {
        padding: 30px 0;
    }

    .services-cards-section, .services-cta-section {
        padding: 40px 0;
    }

    .services-hero-content {
        padding: 0 15px;
    }

    .btn-primary, .btn-secondary, .btn-contact {
        width: 100%;
        margin-bottom: 10px;
    }
}






@media (max-width: 390px) {

    .nav-links.active {
        max-height: 51vh;
        padding: 12px;
        top: 128px;
        width: 100%;
        right: 0;
    }

    .actions.active {
        --actions-top: calc(55px + 180px); /* تعديل للارتفاع الأقل */
        padding: 12px;
        top: 570px;
        width: 100%;
        left: 0;
        right: 0;
    }
}









/* للأحجام الصغيرة جدًا مثل 330px */
@media (max-width: 360px) {
    .navbar {
        padding: 8px 10px;
    }

    .logo img {
        height: 35px;
    }

    .nav-links.active {
        max-height: 30vh;
        top: 50px;
        padding: 10px;
        border-radius: 8px;
    }

    .actions.active {
        --actions-top: calc(50px + 150px); /* أقل للشاشات الضيقة */
        padding: 10px;
        gap: 6px;
    }

    .actions .btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .menu-toggle span {
        width: 20px;
        height: 2px;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {



.hero-side{
  gap: 5px;
}


    .hero-overlay {
        gap: 18em;
    }


  .cards-services h2 {
    font-size: 2rem;
  }

  .card {
    padding: 25px 18px;
  }

  .card i {
    width: 70px;
    height: 70px;
    font-size: 30px;
    line-height: 70px;
  }



  .card-back {
    background: linear-gradient(135deg, #263755, #007CB7);
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 30px;
    border-radius: 20px;
    position: relative;
}


.card-back p{
  font-size: 12px;
}


.card-back h3{
  font-size: 15px;
}


.footer-content {
    flex-direction: column;
    align-items: center;
  }

  .glass-card {
    flex: 1 1 100%;
    text-align: center;
  }

  .vision-box, .mission-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }


  .project-card {
    flex: 0 0 200px;
  }

  .card-inner {
    height: 300px;
  }

}





@media (max-width: 480px) {
  .project-card {
    flex: 0 0 180px;
  }

  .card-inner {
    height: 250px;
  }

    .hero-overlay{
        gap:18em;
    }
}





/* Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}