@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, #F1FAEE, #FFFFFF); /* خلفية هادئة وناعمة */
  scroll-behavior: smooth;
  margin:0;
  padding:0;
  width:100%;
  font-family: 'Cairo', sans-serif;
}


/* Hero Carousel */
.hero-carousel {
  position: relative;
  overflow: hidden;
}

/* Hero Overlay Text */
.hero-overlay h1 {
  font-size: 3rem;
  color: #ffffff; /* نص واضح */
  text-shadow: 2px 2px 14px rgba(0,0,0,0.55); /* يجعل النص بارز وواضح */
}

.hero-overlay p {
  font-size: 1.3rem;
  color: #ffffff; /* نص فرعي واضح */
  text-shadow: 1.5px 1.5px 12px rgba(0,0,0,0.45);
}

/* جعل الصور الخلفية ضبابية قليلًا */
.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.85); /* ضبابية خفيفة مع تقليل السطوع قليلاً */
  transition: filter 0.5s ease, transform 0.5s ease;
}

.hero-carousel .carousel-item:hover img {
  filter: blur(0px) brightness(1); /* عند المرور تصبح واضحة */
  transform: scale(1.03); /* تكبير خفيف لطيف */
}

/* Carousel Controls */
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  filter: invert(30%) sepia(20%) saturate(300%) hue-rotate(180deg);
}

.carousel-indicators [data-bs-target] {
  background-color: #457B9D;
  opacity: 0.6;
}

.carousel-indicators .active {
  opacity: 1;
}

/* صور المشاريع */
.project-img-wrapper {
  height: 250px; 
  overflow: hidden;
  border-radius: 8px; 
  cursor: pointer;
}

.project-img-wrapper img.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-img-wrapper img.project-img:hover {
  transform: scale(1.05);
}

/* شاشة التحميل */
#leader-icon {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #F1FAEE; /* خلفية هادئة */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* أيقونة التاج */
.leader-icon-animation i {
  font-size:80px; 
  color: #457B9D; /* لون هادئ */
  animation: pulse 1.2s infinite ease-in-out;
}

/* نص التحميل */
.loading-text {
  font-size:15px;
  font-weight: bold;
  color: #1D3557;
  font-family: 'Cairo', sans-serif;
}

/* حركة بسيطة للأيقونة */
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* بطاقة الخدمة */
.service-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: #1D3557;
  background: #FFFFFF; /* خلفية هادئة */
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: .3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* صورة الخدمة */
.service-img-wrapper {
  height: 270px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}

.service-card:hover img {
  transform: scale(1.1);
}

/* تذييل الخدمة */
.service-footer {
  background: #A8DADC; /* هادئ ومتناسق */
  color: #1D3557; /* نص واضح */
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
}

.service-footer i {
  background: #457B9D;
  color: #CAF0F8;
  padding: 6px 9px;
  border-radius: 4px;
  font-size: 15px;
}

/* تأثير الانتقال */
.transition {
  transition: all 0.3s ease-in-out;
}

.transition:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.service-img-wrapper img:hover {
  transform: scale(1.05);
  filter: blur(0px) brightness(1);
  opacity: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* تعديل ألوان الهيدر ليناسب ألوان الموقع */
.navbar-custom {
    background: linear-gradient(135deg, #1070ffb0, #6cb2eb); /* ألوان متدرجة تناسب الهيرو */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.navbar-custom .navbar-brand {
    color: #CAF0F8;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-custom .nav-link {
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-item.dropdown:hover > .nav-link {
    color: #CAF0F8;
}

.navbar-custom .dropdown-menu {
    background: #1D3557;
    border-radius: 12px;
}

.navbar-custom .dropdown-item {
    color: #fff;
    transition: 0.2s;
}

.navbar-custom .dropdown-item:hover {
    background-color: #1070ffb0;
    color: #CAF0F8;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: 100px;
}

.section-title {
  font-size: 2.5rem;
  color: #457B9D; /* لون هادئ للعناوين */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

#section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #A8DADC; /* خط هادئ تحت العنوان */
  margin: 10px auto 0;
}

.swiper {
  padding-bottom: 40px;
}

.swiper-slide {
  background: #FFFFFF; /* خلفية بيضاء للبطاقات */
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  text-align: center;
  padding: 30px;
  transition: transform 0.3s;
}

.swiper-slide:hover {
  transform: scale(1.03);
}

.icon-box {
  font-size: 2.5rem;
  color: #457B9D; /* أيقونات هادئة وراقية */
  margin-bottom: 15px;
}

section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}

section:nth-child(even) {
  background: #CAF0F8; /* خلفية هادئة للأقسام الزوجية */
}

.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 {
  background: linear-gradient(to left, #A8DADC, #457B9D);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.social-icons a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.5rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #CAF0F8; /* هادئ ومرئي */
  color: #1D3557;
  font-size: 28px;
  padding: 15px 18px;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

.whatsapp-float:hover {
  background-color: #A8DADC;
  text-decoration: none;
}

.scroll-arrow {
  position: fixed;
  right: 20px;
  background-color: #A8DADC;
  color: #1D3557;
  font-size:22px;
  padding: 10px 12px;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: background 0.3s;
  display: none;
}

#scrollDown {
  bottom: 80px;
}

#scrollTop {
  bottom: 140px;
}

.scroll-arrow:hover {
  background-color: #CAF0F8;
}

.custom-more-btn {
  color: #457B9D;
  border-color: #457B9D;
}

.custom-more-btn:hover {
  background-color: #457B9D;
  color: #fff;
  border-color: #457B9D;
}

.text-shadow {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.transition {
  transition: all 0.3s ease-in-out;
}

.transition:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.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;
}
