/* =====================================================
   HOME PAGE STYLE — Responsive for Web + Mobile
   ===================================================== */

/* ---------- HERO SECTION ---------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 100px 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.hero-left {
  flex: 1;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero .title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  color: #222;
}

.hero .accent {
  color: #ff914d;
}

.slide-title {
  font-size: 20px;
  color: #ff914d;
  margin-top: 18px;
  font-weight: 700;
}

.slide-desc {
  font-size: 17px;
  color: #444;
  margin: 8px 0 24px;
}

.arrow-row {
  display: flex;
  gap: 15px;
}

.arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #ff914d;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 145, 77, 0.4);
  transition: all 0.3s ease;
}

.arrow:hover {
  transform: scale(1.1);
  background: #ff7b2d;
}

.hero-right img {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(255, 145, 77, 0.3);
}

/* ---------- ABOUT SECTION ---------- */
#about {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 30px;
}

.about-box {
  max-width: 850px;
  background: #fff;
  border-radius: 30px;
  padding: 20px 40px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

.logo-wrapper {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 30px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(255, 145, 77, 0.3);
}

.about-logo {
  width: 80px;
  height: 80px;
  object-fit: fill;
}

.about-box h1 {
  margin-top: 100px;
  font-size: 15px;
  color: #222;
  font-weight: 800;
}

.about-box p {
  color: #555;
  line-height: 1.6;
  margin-top: 15px;
  text-align: center;
  font-size: 15px;
}

/* ---------- SERVICES SECTION ---------- */
#services {
  padding: 80px 20px;
  text-align: center;
  border-top: 4px solid #ff914d;
}

#services h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 40px;
}

.services-grid-circle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-circle {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  max-width: 250px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-circle:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(255, 145, 77, 0.4);
}

.circle-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ff914d;
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 6px 16px rgba(255, 145, 77, 0.3);
}

.service-circle h3 {
  font-size: 18px;
  color: #111;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-circle p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* ---------- TRUSTED BY SECTION ---------- */
/* ---------- TRUSTED BY SECTION (Clean Floating Logos) ---------- */
#clients {
  padding: 80px 20px;
  text-align: center;
  background: transparent !important;
  border: none;
  box-shadow: none;
}

#clients h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 40px;
  color: #222;
}

.client-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  background: none !important;
  box-shadow: none !important;
}

.client-card {
  background: none !important;
  border: none;
  width: 150px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  filter: brightness(0.9);
}

.client-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(10%) brightness(1);
}

/* تأثير التوهج عند التمرير */
.client-card:hover img {
  transform: scale(1.07);
  filter: brightness(1.2) drop-shadow(0 0 10px rgba(255,145,77,0.6));
}
/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 991px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 20px 20px;
  }

  .hero-left {
    order: 2;
  }

  .hero-right {
    order: 1;
  }

  .hero .title {
    font-size: 30px;
  }

  .slide-title {
    font-size: 18px;
  }

  .arrow-row {
    justify-content: center;
  }

  #about {
    padding: 100px 30px;
  }

  .about-box {
    padding: 40px 40px;
  }

  .service-circle {
    max-width: 80%;
  }

  .client-card {
    width: 120px;
    height: 90px;
  }
}

@media (max-width: 480px) {
  .hero .title {
    font-size: 20px;
  }

  .slide-desc {
    font-size: 10px;
  }

  .arrow {
    width: 42px;
    height: 42px;
  }

  .about-logo {
    width: 70px;
    height: 70px;
  }

  .service-circle {
    max-width: 100%;
  }
}
/* ====== HERO SLIDESHOW ====== */
.slideshow-container {
  position: relative;
  margin: 10px auto;
  max-width: 1000px;
  border-radius: 81px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(255,145,77,0.25);
}

.mySlide {
  display: none;
  position: relative;
}

.mySlide img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

/* ====== نص الشريحة ====== */
.text {
  color: #fff;
  background: rgba(0,0,0,0.45);
  padding: 25px 15px;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  backdrop-filter: blur(4px);
}

.text h2 {
  color: #ff914d;
  font-size: 26px;
  margin-bottom: 6px;
  font-weight: 800;
}

.text p {
  color: #fff;
  font-size: 16px;
}

/* ====== الأسهم ====== */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 14px;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  border-radius: 50%;
  user-select: none;
  background: rgba(255,145,77,0.8);
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.prev:hover, .next:hover {
  background: rgba(255,145,77,1);
  box-shadow: 0 6px 12px rgba(255,145,77,0.4);
}

.prev { left: 15px; }
.next { right: 15px; }



/* ====== تأثير الانتقال ====== */
.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .text h2 { font-size: 15px; }
  .text p { font-size: 10px; }
  .prev, .next { font-size: 10px; padding: 10px; }
}

@media (max-width: 480px) {
  .slideshow-container {
    margin: 40px auto;
    max-width: 200%;
  }
}
/* ==== HERO SECTION ==== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 1px;
}

.hero-left {
  flex: 1;
  min-width: 300px;
}

.hero-left .title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-left .accent {
  color: #ff914d;
}

/* ==== SLIDESHOW ==== */
.slideshow-container {
  position: relative;
  max-width: 800px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(255,145,77,0.3);
}

.mySlide {
  display: none;
}

.mySlide img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: fill;
}

.text {
  position: absolute;
  bottom: -10px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  width: 100%;
  text-align: center;
  padding: 16px;
}

.text h2 {
  font-size: 15px;
  color: #ff914d;
  margin-bottom: 10px;
}

.text p {
  font-size: 14px;
}

/* الأسهم */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 10px 14px;
  color: #fff;
  font-size: 22px;
  background: rgba(255,145,77,0.8);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.prev:hover, .next:hover {
  background: #ff914d;
  box-shadow: 0 0 10px rgba(255,145,77,0.7);
}

.prev { left: 10px; }
.next { right: 10px; }


/* تأثير Fade */
.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from { opacity: .4 }
  to { opacity: 1 }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { flex-direction: column; }
  .hero-left { text-align: center; }
  .hero-left .title { font-size: 28px; }
  .slideshow-container { max-width: 100%; margin: auto; }
}
@media (max-width: 768px) {
.logo-wrapper {
  position: absolute;
  top: 0px;
  transform: translateX(-50%);
  background: #fff;
  padding: 10px;
  border-radius: 80%;
  box-shadow: 0 6px 16px rgba(255, 145, 77, 0.3);

}
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9;
}

.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  text-align: center;
  z-index: 10;
}

.mobile-menu.active {
  display: flex;
  animation: slideDown 0.35s ease forwards;
}

@keyframes slideDown {
  from { transform: translateY(-15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.hero-image {
  position: fixed;
  width: 100%;
  height: 400px; /* غيّر الرقم حسب الحاجة */
  border-radius: 16px;
  overflow: hidden;
  background: url('imagesstory/4.jpg') center center / cover no-repeat;
  opacity: 0.25;
}
/* ===== ABOUT SECTION - MOBILE CARD STYLE (بدون سكرول) ===== */
@media (max-width: 768px) {
  #about {
    padding: 40px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about-box {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    padding: 20px 18px;
    max-width: 90%;
    width: 100%;
    text-align: center;
    transform: scale(0.98);
    transition: all 0.3s ease;
  }

  .about-box:hover {
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .about-box h1 {
    font-size: 19px;
    color: #222;
    margin-bottom: 25px;
  }

  .about-box p {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  /* تصغير بسيط للخط العام حتى يبين كله */
  @media (max-width: 480px) {
    .about-box h1 {
      font-size: 17px;
    }
    .about-box p {
      font-size: 13px;
    }
  }
}
.map-section {
  visibility: hidden;
  opacity: 0;
  min-height: 250px; /* مساحة شكلية */
}
.map-section,
.contact-right {
  display: none !important;
}