@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;800&display=swap');
body {
  font-family: 'Cairo', sans-serif;
  background-color: #fefefe;
  color: #333333;
  scroll-behavior: smooth;
}

.navbar {
  background-color: #0d47a1;
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.8rem;
  color: #f9a825 !important;
  font-weight: bold;
}

.nav-link {
  font-size: 1.1rem;
  color: #ffffff !important;
  margin-right: 1rem;
}

.nav-link:hover {
  color: #f9a825 !important;
}

.hero-swiper .swiper-slide {
  height: 95vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover; background-position: center;
}


.hero-swiper .swiper-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
  135deg,
  rgba(13, 71, 161, 0.95),      /* أزرق داكن */
  rgba(173, 216, 230, 0.1)      /* لون مائي (LightBlue) شفاف */
);

}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size:2.5rem;
  font-weight: 800;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 1.5rem;
  color: #f9a825;
  margin-top: 1rem;
}

.hero-swiper {
  position: relative;
  overflow: hidden;
}

.bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* ✅ أعلى من ::before */
  pointer-events: none; /* ✅ لا تمنع الضغط على العناصر الخلفية */
}


.bubbles span {
  position: absolute;
  display: block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: rise 15s linear infinite;
  bottom: -150px;
}

.bubbles span:nth-child(1) {
  left: 10%;
  width: 60px;
  height: 60px;
  animation-duration: 20s;
}
.bubbles span:nth-child(2) {
  left: 20%;
  animation-duration: 12s;
}
.bubbles span:nth-child(3) {
  left: 30%;
  width: 80px;
  height: 80px;
  animation-duration: 25s;
}
.bubbles span:nth-child(4) {
  left: 50%;
  animation-duration: 18s;
}
.bubbles span:nth-child(5) {
  left: 70%;
  width: 50px;
  height: 50px;
  animation-duration: 22s;
}
.bubbles span:nth-child(6) {
  left: 80%;
  animation-duration: 14s;
}
.bubbles span:nth-child(7) {
  left: 90%;
  width: 100px;
  height: 100px;
  animation-duration: 30s;
}

@keyframes rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }
  100% {
    transform: translateY(-1000px) scale(1.2);
    opacity: 0;
  }
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #0d47a1;
  margin: 0 auto 2.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  text-align: center;
  border-bottom: none; /* ❌ نحذف الخط السابق */
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width:100px; /* ✅ خط أقصر */
  height: 3px;
  background-color: #f9a825;
  border-radius: 2px;
}

.service-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 280px;
  max-height: 350px;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-icon {
  font-size: 3rem;
  color: #0d47a1;
  margin-bottom: 1rem;
}

.service-card h4 {
  font-size: 1.3rem;
  font-weight: bold;
  color: #0d47a1;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #333;
  flex-grow: 1;
}

.service-card .btn {
  font-size: 0.9rem;
  padding: 0.4rem 1.2rem;
  border-radius: 8px;
}


.swiper-slide {
  background-color: #ffffff;
  padding: 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.swiper-slide:hover {
  transform: translateY(-10px);
}
 
 #works {
  background-color: #f0f4f8; /* أزرق فاتح رمادي */
}

.works-swiper {
  padding-bottom: 60px;
}

/* ضبط أبعاد الصور داخل قسم الأعمال */
.works-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.works-swiper img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 400px; /* أقصى ارتفاع للصورة */
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease-in-out;
}

@media (min-width: 768px) {
  .works-swiper img {
    max-height: 450px;
  }
}

@media (min-width: 992px) {
  .works-swiper img {
    max-height: 500px;
  }
}

.btn-primary {
  background-color: #f9a825;
  border: none;
  color: #000;
  font-weight: bold;
  padding: 0.7rem 2.5rem;
}

.btn-primary:hover {
  background-color: #ff6f00;
}



.footer {
  background-color: #0d47a1;
  color: white;
  padding: 3rem 0;
  font-size: 1rem;
}
.social-icons a {
 color:#5C3A21 !important;
  margin: 0 10px;
  font-size: 1.5rem;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #0056b3;
  color: white;
  font-size: 28px;
  padding: 15px 18px;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background 0.3s;
}
.whatsapp-float:hover {
  background-color: #B8860B;
  text-decoration: none;
}

.scroll-arrow {
  position: fixed;
  z-index: 999;
  background-color: #007bff;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

#scrollDown {
  bottom: 50px;
  right: 50px;
}

#scrollTop {
  bottom: 20px;
  right: 20px;
  display: none; /* نخفيه مبدئياً */
}

.scroll-arrow:hover {
  background-color: #0056b3;
}


.wave path {
  fill: #f1f1f1;
}


  .floating-ad {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0d47a1; /* لون هادئ */
    padding: 15px;
    border-radius: 10px;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    max-width: 300px;
  }


/* حركة النبض */
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}