/* Start Global Rules */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

:root {
  --main-color: #e15e30;
  --alt-color: #f00b0b;
  --light-color: #fff;
  --dark-color: #000b0d;
  --text-color: #585858;
}

body {
  background-color: var(--light-color);
  color: var(--text-color);
  font-family: "Cairo", sans-serif;
}

.book-btn {
  background: linear-gradient(
    to left,
    var(--main-color) 0%,
    var(--alt-color) 100%
  );
  border-radius: 100px;
  color: var(--light-color);
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 400;
}
.book-btn:hover {
  background: linear-gradient(
    to left,
    var(--alt-color) 0%,
    var(--alt-color) 100%
  );
  color: var(--light-color);
}
.section-title {
  background: linear-gradient(
    45deg,
    var(--alt-color) 0%,
    var(--main-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* display: inline-block; */
  padding-bottom: 20px;
}

h3 {
  color: var(--dark-color);
}
/* End Global Rules */

/* Start Navbar */
.navbar {
  border-top: solid 5px var(--main-color);
  background-color: #fffffff3;
  backdrop-filter: blur(8px);
}
.navbar .navbar-nav .nav-link {
  margin-left: 20px;
  padding-right: 15px;
  padding-left: 15px;
  color: var(--text-color);
  font-weight: 400;
  border-radius: 100px;
}
.navbar .navbar-nav .nav-link:hover {
  color: var(--light-color);
  background-color: var(--main-color);
}
/* End Navbar */

/* Start Hero */
.hero {
  background-image: url(../images/showcase.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}
.hero .overlay {
  padding: 100px 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #000b0da7 0%, var(--dark-color) 100%);
  /* backdrop-filter: blur(2px); */
  -webkit-backdrop-filter: blur(1px);
}
.hero .badge {
  background-color: var(--main-color);
}
.hero h1 {
  color: var(--light-color);
}
.hero p {
  color: var(--light-color);
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 38px;
    line-height: 50px;
  }
}
/* End Hero */

/* Start About */
.about {
  padding-bottom: 100px;
}
.about .intro {
  background: linear-gradient(
    to left,
    var(--main-color) 0%,
    var(--alt-color) 100%
  );
  color: var(--light-color);
  padding: 30px 0;
}
.about img {
  border-radius: 24px;
}
/* End About */

/* Start Features */
.features {
  padding: 100px 0;
  background-color: var(--dark-color);
}
.features p {
  color: var(--light-color);
}
.features .badge {
  background-color: var(--main-color);
  font-size: 30px;
  border-radius: 100%;
}
.features .box {
  background-color: #ffffff12;
  height: 100%;
  padding: 30px 15px;
  border-radius: 12px;
}
.features .box h3 {
  color: var(--main-color);
  margin-top: 15px;
}
.features img {
  border-radius: 24px;
}
/* End Features */

/* Start How to book */
.how-to-book {
  padding: 100px 0;
  background-color: var(--light-color);
  background-image: linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.how-to-book .badge {
  background-color: var(--main-color);
}
.how-to-book img {
  border-radius: 24px;
}
.how-to-book h3 {
  color: var(--main-color);
  font-size: 40px;
  font-weight: 900;
}
.how-to-book li {
  padding-bottom: 20px;
  color-interpolation-filters: var(--dark-color);
  font-weight: bold;
}
/* End How to book */

/* Start Renew */
.renew {
  padding: 100px 0;
  background-color: var(--dark-color);
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.renew p {
  color: var(--light-color);
}
/* End Renew */

/* Start FAQ */
/* تخصيص مظهر الأكورديون */
.accordion-item {
  border-radius: 12px !important; /* زوايا منحنية مودرن */
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  transform: translateY(-3px); /* تأثير ارتفاع بسيط عند التمرير */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.accordion-button {
  background-color: #fff;
  color: #2c3e50;
  padding: 1.25rem;
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: var(--main-color); /* اللون الأزرق التقني لنوفا */
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none; /* إزالة خط الفوكس المزعج */
  border-color: rgba(0, 0, 0, 0.125);
}

/* أيقونة السهم جهة اليسار لأن اللغة عربية */
.accordion-button::after {
  margin-right: auto;
  margin-left: 0;
}
/* End FAQ */

/* Start Reviews */
/* تنسيق القسم */
.reviews-grid-section {
  background-color: #ffffff; /* خلفية بيضاء صافية */
  direction: rtl;
}

/* تصميم البطاقة */
.static-review-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #edf2f7;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  position: relative;
}

.static-review-card:hover {
  transform: translateY(-8px);
  border-color: var(--main-color);
  box-shadow: 0 15px 35px rgba(0, 114, 255, 0.08);
}

/* أيقونة الكوت (اقتباس) */
.quote-icon {
  font-size: 2rem;
  color: #e2e8f0;
  line-height: 1;
  margin-bottom: 10px;
}

/* الأفاتار */
.avatar-circle {
  width: 45px;
  height: 45px;
  background: var(--main-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* النص */
.static-review-card p {
  color: #4a5568;
  line-height: 1.8;
  font-size: 1.05rem;
  min-height: 80px; /* لتوحيد ارتفاع البطاقات */
}
/* End Reviews */

/* Start Why Choose Us */
/* تنسيق القسم */
.why-choose-us {
  background-color: #fcfcfc;
  direction: rtl;
}

/* تصميم صندوق الميزة */
.feature-box {
  background: #ffffff;
  padding: 40px 25px;
  border-radius: 20px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: var(--main-color);
}

/* أيقونة الميزة */
.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f8f9ff 0%, #e0e7ff 100%);
  color: var(--main-color);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 50%;
  transition: 0.3s;
}

.feature-box:hover .feature-icon-wrapper {
  background: var(--main-color);
  color: #ffffff;
  transform: rotateY(360deg);
}

/* بادج علوي */
.bg-primary-soft {
  background-color: #eef2ff;
}

/* End Why Choose Us */

/* Start Contact */
/* تنسيق القسم */
.contact-section {
  direction: rtl;
  background: #fff;
}

.contact-card {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

/* زر الواتساب الكبير */
.btn-whatsapp-lg {
  background: #25d366;
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-whatsapp-lg:hover {
  background: #128c7e;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* خلفية متدرجة للجزء الجانبي */
.bg-light-gradient {
  background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
  height: 100%;
}

.phone-icon-box {
  font-size: 3rem;
}

/* أنيميشن النبض للبادج (متاح الآن) */
.pulse-animation {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

/* End Contact */

/* Start Footer */
footer {
  background-color: var(--dark-color);
}
/* End Footer */

.wa-float-wrapper {
  position: fixed !important;
  bottom: 30px !important;
  left: 30px !important;
  right: auto !important; /* تأكيد إلغاء أي محاذاة لليمين */
  z-index: 2147483647 !important; /* أعلى طبقة ممكنة */
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  width: auto !important;
  height: auto !important;
}

/* 2. دائرة الواتساب الملونة */
.wa-float-circle {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0; /* منع الانكماش */
}

/* 3. تأثير الرادار (التموجات) */
.wa-float-circle::before,
.wa-float-circle::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0;
  z-index: -1;
  animation: wa-radar-pulse 2.5s infinite;
}

.wa-float-circle::after {
  animation-delay: 1s;
}

/* 4. نقطة الإشعار الحمراء */
.wa-float-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 22px;
  height: 22px;
  background-color: #ff0000;
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  animation: wa-badge-bounce 2s infinite;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 5. التول تيب (الرسالة الجانبية) */
.wa-float-popover {
  position: absolute;
  left: 80px; /* تظهر يمين الزرار */
  top: 50%;
  transform: translateY(-50%) translateX(-15px);
  background-color: #222;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  line-height: 1.2;
}

/* سهم صغير للتول تيب */
.wa-float-popover::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  margin-top: -6px;
  border-width: 6px 6px 6px 0;
  border-style: solid;
  border-color: transparent #222 transparent transparent;
}

/* 6. تأثيرات الهوفر */
.wa-float-wrapper:hover .wa-float-circle {
  transform: scale(1.1) rotate(-5deg);
}

.wa-float-wrapper:hover .wa-float-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* 7. الأنيميشن الخاص (Unique Keyframes) */
@keyframes wa-radar-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes wa-badge-bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-3px);
  }
}
/* كلاس للإظهار الأوتوماتيكي (نفس ستايل الهوفر بالظبط) */
.wa-float-popover.show-auto {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* 1. الحاوية الرئيسية (ثابتة يمين الشاشة) */
.phone-float-wrapper {
  position: fixed !important;
  bottom: 120px !important;
  left: 30px !important; /* مكان زر الصعود للأعلى القديم */
  right: auto !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important; /* عشان التول تيب يجي شماله */
  text-decoration: none !important;
}
