html {
  box-sizing: border-box;
  font-size: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  box-sizing: inherit;
}

*::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  line-height: 1.6;
  /* background: #fff; */
  background: linear-gradient(to bottom, rgba(112, 112, 112, 0.822), rgba(48, 48, 48, 0.89));
  /* color: #fff; */
}
body, h1, h2, h3, h4, h5, h6, p, a, button, input, textarea {
  font-family: 'Cairo', sans-serif;
}


.about-section,
.services-section,
.projects-section,
.contact-section,
.site-footer {
  /* background: linear-gradient(to bottom, rgba(20, 20, 20, 0.6), #111); */
  /* background: rgba(29, 28, 28, 0.664); */
  background: none;
  /* color: #fff; */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 60px 40px;
  margin: 40px;
}


/*---------------------------- splash --------------------------------- */


#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff; /* يمكنك تغييره */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#splash-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader {
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.loader img {
  width: 100px;
  animation: rotate 2s linear infinite;
}

.loader p {
  margin-top: 16px;
  font-size: 18px;
  color: #444;
  font-family: 'Cairo', sans-serif;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}




/* -------------------navbar------------------------------ */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.342); /* شفافية بيضاء */
  backdrop-filter: blur(10px);         /* تأثير زجاجي */
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 40px;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
}

.contact-btn1 {
  display: none;
}

.lang-btn1 {
  display: none;
}

.imo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  background-color: #ffffffc2;
}
.navbar img {
    width: 50px;
    /* height: 90px; */
  }


.logo {
  padding: 0px;
  font-weight: bold;
  font-size: 25px;
  color: #ff6a00;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #222121;
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color:#ff6a00; /* يمكنك تغيير اللون */
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #203750; /* لون النص عند التمرير */
  
}

.nav-links a:hover::after {
  width: 100%;
}


.contact-btn {
  background: #ff6a00;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  font-size: 18px;
  cursor: pointer;
}
.contact-btn a {
  text-decoration: none;
  color: #fffdfd;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}
/* -------------------------Home------------------------------ */

.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 40px;
  gap: 40px;
}


.page-hero {
  position: relative;
  background: url('../images/Civil\ Construction\(JPG\).jpg') no-repeat center center/cover;
  color: #f7f6f6;
  text-align: center;
  padding: 150px 20px 80px;
  overflow: hidden;
}


.hero-text {
  max-width: 50%;
  z-index: 2;
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}



.hero-text h1 {
  font-size: 64px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #fdfeff;
}

.hero-text p {
  line-height: 150% ;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 40px;
  
}

.buttons {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.start-btn {
  background: linear-gradient(45deg, #ff6a00, #ff9a00);
  color: #fff;
  font-size: 1.2rem;
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  z-index: 2;
  display: inline-block;
}

.start-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-45deg);
  transition: left 0.5s ease-in-out;
  pointer-events: none;
  z-index: 0;
}

.start-btn:hover {
  background: linear-gradient(45deg, #ff9a00, #ff6a00);
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.start-btn:hover::before {
  left: 100%;
}

.start-btn:active {
  transform: scale(1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.consultation-link {
  font-size: 18px;
  color: rgb(252, 252, 252);
  text-decoration: underline;
  align-self: center;
}

.stats {
  display: flex;
  gap: 60px;
  font-size: 16px;
  color: #fff;
}

.stats div strong {
  font-size: 48px;
  display: block;
  color: #fff;
}

.hero-image {
  position: relative;
  width: 400px; /* عرض ثابت */
  margin: 20px auto; /* تمركز العنصر */
  opacity: 0.85; /* شفافية الصورة بالكامل */
}

.badge {
  background: rgba(255, 106, 0, 0.85); /* برتقالي شفاف */
  width: 102px;
  height: 99px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  padding: 15px;
  border-bottom-right-radius: 40px ;
  border-bottom-left-radius: 20px ;
  border-top-right-radius: 20px ;
  border-top-left-radius: 20px ;
  /* border-radius: 20px; */
  position: absolute;
  top: 10px; /* إبراز العنصر للأعلى */
  left: -20px; /* إبراز العنصر لليسار */
  z-index: 2;
  text-align: left;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); ظل خفيف */
  line-height: 1.2;
}

.badge p {
  font-size: 14px;
}

.image-placeholder {
  /* background: url('h.png') no-repeat center center; */
  background: rgba(192, 192, 192, 0.2); /* فضي شبه شفاف */
  background-size: cover; /* تجعل الصورة تغطي كامل العنصر */
  width: 100%;
  height: 440px;
  margin-top: 40px;
  border-radius: 30px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(2px); /* تأثير ضبابي خفيف للخلفية */



  /* mask-image: url("mask.svg");
  -webkit-mask-image: url("mask.svg");
  mask-size: cover;
  -webkit-mask-size: cover;
  mask-repeat: no-repeat;
 */
}


.arrow-box {
  background: rgba(255, 255, 255, 0.75); /* أبيض شفاف */
  color: rgb(10, 10, 10);
  font-size: 40px;
  font-weight: bold;
  width: 99px;
  height: 99px;
  border-bottom-right-radius: 30px ;
  border-bottom-left-radius: 20px ;
  border-top-right-radius: 20px ;
  border-top-left-radius: 40px ;
  /* border-radius: 40px; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 3;
  bottom: -20px; /* إبراز العنصر للأسفل */
  right: -20px; /* إبراز العنصر لليمين */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.hero {
  position: relative;
  height: 140vh;
  overflow: hidden;
  padding-top: 100px; /* تعويض ارتفاع الـ navbar */
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(112, 112, 112, 0.822) 95%);
  z-index: 2;
}


.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(24, 24, 24, 0.4); /* شفافية داكنة */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 60px 40px;
  gap: 40px;
  flex-wrap: wrap; /* مهم للتجاوب */
}





/* -----------------------------About------------------------------------- */


.about-section {
  padding: 60px 40px;
  /* margin-top: 0px; */
  position: relative;
}

.about-label {
  color: #ff5e00;
  background: #ffffff;
  padding: 10px 10px;
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  z-index: 2;
  top: 50px;
  left: 20px;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.about-box {
  position: relative;
  z-index: 1;
  background: rgb(231, 229, 229);
  padding: 40px 60px;
  font-size: 32px;
  line-height: 1.7;
  font-weight: 400;
  color: #000;

  border-radius: 20px;


  /* mask تطبيق */
  /* -webkit-mask-image: url('path5.svg');
  mask-image: url('path5.svg');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat; */
}

.about-arrow {
  position: absolute;
  bottom: -10px;
  right: -20px;
  background: rgb(252, 250, 250);
  color: rgb(0, 0, 0);
  width: 60px;
  height: 40px;
  font-size: 32px;
  font-weight: bold;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ----------------------------Services--------------------------------- */

.services-section {
  margin: 60px 40px;
  padding: 0px 0px;
  font-family: sans-serif;
  /* background: #666; */
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  padding-left: 20px;
  color: white;
}

.cards-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 70px;
}

.service-card {
  background: #f4f4f4;
  border-radius: 20px;
  padding: 30px 20px 60px;
  width: 100%; /* بدل flex: 1 */
  max-width: 400px;
  height: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card .icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 32px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 16px;
  line-height: 25px;
  color: #333;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}

.card-footer a {
  text-decoration: underline;
  font-size: 0.9rem;
  color: #000;
}

.arrow-box-card {
  background: #000;
  color: #fff;
  border-radius: 10px;
  padding: 10px;
  font-size: 32px;
  font-weight: bold;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 15px;
  right: 15px;
}

/* البطاقة الأولى (المميزة) */
.service-card.highlighted {
  background: #ff6a00;
  color: #fff;
}

.service-card.highlighted p,
.service-card.highlighted a {
  color: #fff;
}


/* -----------------------------------Projects--------------------------------- */


.projects-section {
  /* background: #000; */
  color: #fff;
  padding: 60px 40px;
  border-radius: 20px;
  margin: 150px 40px;
  font-family: sans-serif;
}

.projects-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background: #111;
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* .project-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
} */

.image-placeholder-project {
  width: 100%;
  height: 300px;
  background: silver;
  border-radius: 12px;
  margin-bottom: 20px;
  object-fit: cover;
}

.project-card img {
  width: 100%;
  height: 300px;
  background: silver;
  border-radius: 12px;
  margin-bottom: 20px;
  /* object-fit: cover; */
}

.project-card h3 {
  margin: 10px 0;
  font-size: 1.2rem;
}

.project-card p {
  font-size: 0.95rem;
  color: #ccc;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.project-footer a {
  color: #fff;
  text-decoration: underline;
  font-size: 0.9rem;
}

.arrow-box-project {
  background: #ff6a00;
  color: #000;
  font-size: 24px;
  font-weight: bold;
  padding: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}


/* --------------------Location OR trust------------------------ */


.trust-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  font-family: sans-serif;
}

.trust-content {
  flex: 1 1 45%;
}

.trust-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.trust-content p {
  font-size: 1rem;
  color: #fffdfd;
  margin-bottom: 30px;
}

.start-btn-trust {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

.accordion {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion-item {
  background: #f2f2f2;
  border-radius: 20px;
  padding: 20px 60px 20px 20px;
  position: relative;
  transition: all 0.3s ease;
}

.accordion-item span {
  font-weight: 600;
  font-size: 1rem;
}

.accordion-item .icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  width: 32px;
  height: 32px;
  font-size: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* العنصر المفتوح */
.accordion-item.active {
  background: #ff6a00;
  color: #fff;
}

.accordion-item.active p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #fff;
}

.accordion-item.active .icon {
  background: #fff;
  color: #000;
}


/* --------------testimontial------------------------------ */

.testimonial-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #e2e6e7;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  /* max-width: 900px; */
  margin: 40px 60px;
}

/* .testimonial-image {
  background-color: #c3c6ca;
  min-height: 400px;
  margin: 20px;
  border-radius: 20px;
  
} */

.testimonial-card img {
  background-color: #c3c6ca;
  max-height: 400px;
  max-width: 400px;
  margin: 20px;
  border-radius: 20px;
  object-fit: cover;
}

.testimonial-content {
  padding: 40px; /* حرية كاملة في التباعد */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f97316;
  font-size: 18px;
  font-weight: bold;
}

.testimonial-header .index {
  color: #d1d5db;
  font-weight: 600;
}

.testimonial-content h3 {
  margin: 20px 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.testimonial-content p {
  color: hsl(0, 1%, 30%);
  line-height: 1.5;
  margin-bottom: 20px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #d1d5db;
}

.testimonial-footer img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #d1d5db;
  object-fit: cover;
}

.placeholder {
  background-color: #d1d5db;
}


/* ----------------contact------------------------------------ */


.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 60px;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: auto;
}

.contact-text h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 16px;
}

.contact-text p {
  font-size: 16px;
  color: #fcf9f9;
}

.contact-form {
  background-color: #f5f5f5;
  padding: 32px;
  border-radius: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
  background-color: white;
}

.contact-form button {
  padding: 14px;
  background-color: black;
  color: white;
  font-weight: bold;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}


/* -------------------footer------------------------------------ */


.site-footer {
  background-color: #000;
  color: #fff;
  padding: 40px 60px;
  margin-left: 40px;
  margin-right: 40px;
  margin-bottom: 40px;
  border-radius: 24px;
  font-family: sans-serif;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-left p {
  font-size: 14px;
  margin: 0;
  opacity: 0.8;
}

.footer-left .logofo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-top: 8px;
  color: #ff5e00;
}

.footer-left .logofo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffffbe;
}

.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: right;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid #333;
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 12px;
  opacity: 0.7;
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 12px;
}

/* .social-icons a {
  display: inline-block;
  background-color: #111;
  padding: 8px;
  border-radius: 12px;
} */

.social-icons img {
  width: 32px;
  height: 32px;
  /* filter: invert(1); */
}



/* ----------------------Respnsive------------------------------ */

/* original CSS remains untouched above */

/* ------------------- Responsive Design for Mobile -------------------- */


@media (max-width: 1096px) {

  .navbar {
    flex-wrap: wrap;
    padding: 20px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.6); /* خلفية شفافة */
    backdrop-filter: blur(10px); /* تأثير بلور */
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1002;
  }

  .menu-toggle {
  display: block;
  font-size: 18px;
  cursor: pointer;
  z-index: 1003;
  color: #fcfbfb;
  padding: 5px 5px;
  border-radius: 12px;
  background:  rgba(94, 93, 93, 0.979);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background:  #ff6a00;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}


  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85); /* قائمة جانبية شفافة */
    backdrop-filter: blur(12px);
    padding: 80px 24px 30px;
    gap: 20px;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    transition: left 0.4s ease-in-out;
    z-index: 1000;
  }

  .nav-links.show {
    left: 0;
  }

  .nav-links a {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: #222;
    transition: color 0.3s ease;
  }

  .nav-links a:hover {
    color: #ff6a00;
  }

.contact-btn1 {
  display: inline;
  width: 100%;
  background: #ff6a00;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  font-size: 18px;
  cursor: pointer;
}
.contact-btn1 {
  text-decoration: none;
  color: #fffdfd;
}

.lang-btn1 {
  display: inline;
  background: #ff6a00;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  font-size: 18px;
  cursor: pointer;
}
.lang-btn1 a {
  text-decoration: none;
  color: #fffdfd;
}

  .contact-btn {
    display: none;
  }

  .lang-btn {
    display: none;
  }

  .image-placeholder {
    width: 100%;
    height: 300px;
    background-size: cover;
    border-radius: 20px;
  }


.hero-text h1 {
  font-size: 34px;
}

/* .hero-text p {
  line-height: 150% ;
  font-size: 18px;
  color: #faf8f8;
  margin-bottom: 40px;
  
} */

/* .buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
} */

.start-btn {
  /* background: rgba(0, 0, 0, 0.699); */
  /* color: white; */
  /* padding: 20px 20px; */
  /* border-radius: 30px; */
  /* border: none; */
  font-size: 18px;
}

.consultation-link {
  font-size: 18px;
  color: rgb(252, 248, 248);
  text-decoration: underline;
  align-self: center;
}

.stats {
  display: flex;
  gap: 60px;
  font-size: 16px;
  
}

.stats div strong {
  font-size: 30px;
  display: block;
}


.social-icons img {
    width: 32px;
    height: 32px;
  }
}





@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    padding: 20px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1002;
  }

  /* .menu-toggle {
    display: block;
    font-size: 18px;
    cursor: pointer;
    z-index: 1003;
    color: #333;
    padding: 4px 6px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.596);
  } */

  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    padding: 80px 24px 30px;
    gap: 20px;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    transition: left 0.4s ease-in-out;
    z-index: 1000;
  }

  .nav-links.show {
    left: 0;
  }

  .nav-links a {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    
    transition: color 0.3s ease;
  }

  .nav-links a:hover {
    color: #ff6a00;
  }

 

  .hero {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    gap: 20px;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .hero-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .image-placeholder {
    width: 100%;
    height: 300px;
    background-size: cover;
    border-radius: 20px;
  }

  .arrow-box {
    width: 70px;
    height: 70px;
    font-size: 28px;
    bottom: -15px;
    right: -15px;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
    margin: 20px;
  }

  .testimonial-card img {
    width: 300px;
    height: 300px;
  }

  .testimonial-footer img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #d1d5db;
  object-fit: cover;
}

  .contact-section {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .trust-section {
    flex-direction: column;
    padding: 40px 20px;
  }

  .projects-section {
    padding: 40px 20px;
    margin: 60px 20px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card {
    padding: 20px;
  }

  .image-placeholder-project {
    height: 350px;
  }

  .project-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-footer {
    padding: 40px 20px;
    margin: 20px;
  }

  .footer-content {
    gap: 20px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-links a {
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .social-icons {
    gap: 10px;
  }

  /* .social-icons a {
    padding: 6px;
    background-color: silver;
    border-radius: 12px;
    display: inline-block;
  } */

  .social-icons img {
    width: 28px;
    height: 28px;
    /* display: none; */
  }

  .cards-container {
    flex-direction: column;
    align-items: center;
  }
}

/* Responsive Design for smaller phones */
@media (max-width: 637px) {
  .hero-text h1 {
    font-size: 34px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .start-btn {
    padding: 14px 28px;
    font-size: 15px;
  }

  .consultation-link {
    font-size: 15px;
  }

  .stats div strong {
    font-size: 30px;
  }

  .arrow-box {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .image-placeholder {
    height: 300px;
  }

  .image-placeholder-project {
    height: 300px;
  }

  .badge {
    width: 72px;
    height: 72px;
    font-size: 13px;
    padding: 8px;
  }

  .about-box {
    padding: 26px 18px;
    font-size: 18px;
  }

  .testimonial-content {
    padding: 18px;
  }

  .contact-form {
    padding: 18px;
  }

  .footer-links a {
    font-size: 13px;
  }

  /* .social-icons a {
    padding: 5px;
  } */

  .social-icons img {
    width: 24px;
    height: 24px;
  }

  .arrow-box-card {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* Responsive Design for very small phones */
@media (max-width: 434px) {
  
  .logo {
  padding: 0px;
  font-weight: bold;
  font-size: 18px;
  color: #ff6a00;
}

  .hero-text h1 {
    font-size: 22px;
  }

  .hero-text p {
    font-size: 13px;
  }

  .start-btn,
  .consultation-link {
    font-size: 11px;
  }

  .stats div strong {
    font-size: 18px;
  }

  .arrow-box {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .badge {
    width: 70px;
    height: 64px;
    font-size: 7px;
    padding: 4px;
    top: 5px;
    left: -10px;
  }

  .hero-image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .image-placeholder {
    height: 200px;
  }

  .image-placeholder-project {
    height: 250px;
  }

  .about-box {
    padding: 14px;
    font-size: 13px;
  }

  .testimonial-content {
    padding: 8px;
  }

  .contact-form {
    padding: 10px;
  }

  .footer-links a {
    font-size: 10px;
  }

  /* .social-icons a {
    padding: 4px;
    background-color: silver;
    border-radius: 10px;
  } */

  .social-icons img {
    width: 24px;
    height: 24px;
  }

  .project-card {
    padding: 6px;
  }

  .arrow-box-card {
    width: 36px;
    height: 36px;
    font-size: 16px;
    bottom: 10px;
    right: 10px;
  }

  .cards-container {
    gap: 16px;
  }

  .projects-section {
    padding: 20px 10px;
    margin: 30px 10px;
  }

  .section-title,
  .trust-content h2,
  .contact-text h2 {
    font-size: 18px;
  }

  .contact-text p,
  .trust-content p,
  .project-card p,
  .testimonial-content p {
    font-size: 12px;
  }

  .project-card h3,
  .testimonial-content h3,
  .about-label {
    font-size: 13px;
  }

  .testimonial-card img {
    width: 200px;
    height: 200px;
  }

  .testimonial-footer img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #d1d5db;
  object-fit: cover;
}

  .accordion-item span {
    font-size: 12px;
  }

  .accordion-item.active p {
    font-size: 12px;
  }

  .service-card.highlighted {
    height: 500px;
  }
  .service-card {
    height: 500px;
  }

  .projects-section h2 {
    font-size: 2.0rem;
    
  }





}






.accordion-item {
  background: #f2f2f2;
  border-radius: 20px;
  padding: 20px 60px 20px 20px;
  position: relative;
  transition: all 0.3s ease-in-out; /* تأثير سلس */
  overflow: hidden; /* لمنع النصوص الزائدة */
  max-height: 60px; /* الارتفاع الافتراضي */
}

.accordion-item.active {
  background: #ff6a00; /* لون مختلف للعنصر النشط */
  color: #fff;
  max-height: 200px; /* زيادة الارتفاع عند التنشيط */
}

.accordion-item span {
  font-weight: 600;
  font-size: 1rem;
}

.accordion-item p {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.accordion-item.active p {
  opacity: 1;
  max-height: 100px; /* اجعل النص مرئيًا */
}

.accordion-item .icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  width: 32px;
  height: 32px;
  font-size: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.accordion-item.active .icon {
  background: #fff;
  color: #000;
  transform: translateY(-50%) rotate(45deg); /* دوران الإشارة */
}



/* قاعدة مشتركة لكل الأزرار */
.contact-btn,
.submit-btn,
.start-btn-trust {
  background: linear-gradient(45deg, #ff6a00, #ff9a00);
  color: #fff;
  font-size: 1.2rem;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.contact-btn:hover,
.submit-btn:hover,
.start-btn-trust:hover {
  background: linear-gradient(45deg, #ff9a00, #ff6a00);
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.contact-btn::before,
.submit-btn::before,
.start-btn-trust::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2); /* أقل تعتيماً */
  transform: skewX(-45deg);
  transition: left 0.5s ease-in-out;
  pointer-events: none; /* مهم لتجنب تعطيل الضغط */
  z-index: 0;
}

.contact-btn:hover::before,
.submit-btn:hover::before,
.start-btn-trust:hover::before {
  left: 100%;
}

.contact-btn:active,
.submit-btn:active,
.start-btn-trust:active {
  transform: scale(1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.contact-btn,
.submit-btn,
.start-btn-trust {
  position: relative;
  z-index: 1;
}





.lang-btn {
  /* background-color: #007BFF; لون أزرق احترافي */
  background-color: #203750;
  color: white;
  border: none;
  padding: 10px 10px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.lang-btn:hover {
  background-color: #0a1622;
  transform: scale(1.05);
}

.lang-btn:active {
  transform: scale(0.95);
}









/* .hero-text,
.buttons {
  position: relative;
  z-index: 2;
} */


/* .start-btn {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
} */


/* .start-btn {
  transform: scale(1);
} */
