@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;800&display=swap');

body {
  font-family: 'Cairo', sans-serif;
  background: linear-gradient(135deg, #fdfaf3, #ffffff);
  scroll-behavior: smooth;
  color: #2C2C2C;
}
/* Navbar */
.navbar {
  background: linear-gradient(to left, #e9e1cc, #D9CBA3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.navbar .nav-link, .navbar .navbar-brand {
  color: #5C3A21 !important;
  font-weight: bold;
}
.navbar .nav-link:hover {
  text-decoration: underline;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Section Title */
.section-title {
  font-size: 2.5rem;
  color:#5C3A21 !important;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #CBA135;
  margin: 10px auto 0;
}

/* Sections */
section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}
section:nth-child(even) {
  background: #f5f0e6;
}

/* Swiper */
.swiper {
  padding-bottom: 40px;
}
.swiper-slide {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  text-align: center;
  padding: 30px;
  transition: transform 0.3s;
}
.swiper-slide:hover {
  transform: scale(1.05);
}

/* Icon Boxes */
.icon-box {
  font-size: 2.5rem;
  color: #CBA135;
  margin-bottom: 15px;
}

/* Gallery */
.gallery img {
  cursor: pointer;
  border-radius: 0.5rem;
  transition: 0.3s;
}
.gallery img:hover {
  transform: scale(1.02);
}
.modal-img {
  max-width: 100%;
  border-radius: 1rem;
}

/* Footer */
footer {
  background: linear-gradient(to left, #e9e1cc, #D9CBA3);
 color:#5C3A21 !important;
  padding: 40px 0;
  text-align: center;
}
.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: #CBA135;
  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 Buttons */
.scroll-arrow {
  position: fixed;
  right: 20px;
  background-color: #CBA135;
  color: white;
  font-size: 22px;
  padding: 10px 12px;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background 0.3s;
  display: none;
}
#scrollDown {
  bottom: 80px;
}
#scrollTop {
  bottom: 140px;
}
.scroll-arrow:hover {
  background-color: #B8860B;
}

/* Custom Button */
.custom-more-btn {
  color: #CBA135;
  border-color: #CBA135;
}
.custom-more-btn:hover {
  background-color: #CBA135;
  color: #fff;
  border-color: #CBA135;
}

/* Utility */
.loading, .error-message, .sent-message {
  display: none;
}
.text-shadow {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}
.transition {
  transition: all 0.3s ease-in-out;
}
.transition:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Underline SVG */
.underline-svg {
  display: block;
  margin-top: 5px;
  overflow: visible;
}
.underline-path {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  transition: stroke-dashoffset 2s ease;
}
.underline-path.draw {
  stroke-dashoffset: 0;
}
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  text-align: center;
  width: 100%;
}
.section-title > .text-wrapper {
  display: inline-block;
  position: relative;
  text-align: center;
}
.underline-svg {
  display: block;
  width: 150px;
  height: 30px;
  margin: 0 auto;
  overflow: visible;
}

/* غلاف صورة المشروع */
.project-img-wrapper {
  width: 100%;
  height: 250px; /* يمكنك تعديل الارتفاع حسب رغبتك */
  overflow: hidden;
  border-radius: 10px; /* زوايا ناعمة */
}

/* صورة المشروع */
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-img:hover {
  transform: scale(1.05); /* تكبير بسيط عند التحويم */
}

  .floating-ad {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff8e1; /* لون هادئ */
    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); }
}