/* =======================================================
   1. الخطوط والإعدادات العامة
   ======================================================= */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700;800&display=swap');

body, h1, h2, h3, h4, h5, h6, p, a, button {
  font-family: 'Tajawal', sans-serif;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px; /* لضمان عدم اختفاء المحتوى تحت الهيدر الكبير */
}

/* =======================================================
   2. الهيدر الكلاسيكي (اللوجو يمين، القائمة وسط، الزر يسار)
   ======================================================= */
#fixed-header-giant-logo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 130px; 
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4%;
  box-sizing: border-box;
  z-index: 9999;
  transition: all 0.4s ease;
  direction: rtl;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* حالة الهيدر عند التمرير */
#fixed-header-giant-logo.scrolled {
  height: 90px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.logo-container-v4 {
  flex: 0 0 auto;
}

.s-logo-giant {
  height: 110px; /* اللوجو كبير كما طلبت */
  width: auto;
  display: block;
  transition: all 0.4s ease;
  padding: 5px 0;
}

#fixed-header-giant-logo.scrolled .s-logo-giant {
  height: 70px; /* يصغر عند التمرير لشكل أجمل */
}

/* القائمة في المنتصف */
.s-nav-v4 {
  display: flex;
  gap: 25px;
  flex: 1;
  justify-content: center;
}

.s-nav-v4 a, .s-nav-v4 li a {
  color: #333;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: color 0.3s ease;
}

.s-nav-v4 li { list-style: none; }

.s-nav-v4 a:hover {
  color: #f26522;
}

/* الجانب الأيسر (زر تسجيل الدخول البرتقالي) */
.left-side-v4 {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 15px;
}

.s-btn-v4 {
  background-color: #f26522 !important; /* اللون البرتقالي */
  color: #ffffff !important;           /* النص أبيض */
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap; /* يمنع خروج النص عن الإطار البرتقالي */
  transition: all 0.3s ease;
  line-height: 1;
  border: none;
}

.s-btn-v4:hover {
  background-color: #d4561c !important;
  transform: translateY(-2px);
}

.burger-v4 {
  display: none;
  font-size: 32px;
  cursor: pointer;
  color: #333;
}

/* =======================================================
   3. الفوتر (Footer)
   ======================================================= */
.da-footer-blue-wide {
  background: linear-gradient(180deg, #102a50 0%, #1e4a8d 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
  direction: rtl;
  width: 100%;
  box-sizing: border-box;
  margin-top: 50px;
}

.da-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.da-footer-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 20px;
}

.da-footer-text {
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 35px;
}

.da-btn-orange-call {
  background: #f26522;
  color: white;
  padding: 16px 45px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  display: inline-block;
  transition: 0.3s ease;
}

/* =======================================================
   4. التجاوب مع الجوال (Responsive)
   ======================================================= */
@media (max-width: 992px) {
  #fixed-header-giant-logo {
    height: 90px;
  }

  .s-logo-giant {
    height: 75px;
  }

  .burger-v4 {
    display: block;
  }

  .s-nav-v4 {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    gap: 15px;
  }

  .s-nav-v4.active {
    display: flex;
  }

  .btn-txt {
    display: none; /* إخفاء النص في الجوال ليبقى الزر أنيقاً */
  }

  .s-btn-v4 {
    padding: 10px 15px;
  }
}

@media (max-width: 768px) {
  .da-footer-title { font-size: 26px; }
  .da-footer-text { font-size: 15px; }
  .da-btn-orange-call { padding: 12px 30px; font-size: 16px; }
}