/* STREAMING_CHUNK:Setting Up Base Styles & Variables */
:root {
  --primary-color: #2f3e2e;
  --primary-light: #3d5d45;
  --secondary-color: #2ecc71;
  --accent-color: #f1c40f;
  --bg-light: #f9f9f9;
  --text-dark: #333333;
  --text-muted: #555555;
  --white: #ffffff;
  --transition: all 0.3s ease-in-out;
}

/* FIX: كان الريست دا متعمل عليه comment وده سبب رئيسي في ظهور حواف/فراغات بيضاء
   لأن العناصر اللي فيها padding + border كانت بتزود عن عرض أبوها */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; width: 100%; overflow-x: hidden; }
body {
  font-family: 'Tajawal', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* STREAMING_CHUNK:Header and Navigation Bar */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-color);
}
.logo i { color: var(--secondary-color); }

.header-controls { display: none; }
.nav-elements { display: flex; align-items: center; gap: 30px; }
#nav-links { display: flex; gap: 20px; }
.nav-link { font-weight: 600; font-size: 1rem; color: var(--text-dark); transition: var(--transition); }
.nav-link:hover { color: var(--secondary-color); }

.btn-phone {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: bold;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: 2px solid var(--primary-color);
}
.btn-phone:hover { background-color: var(--secondary-color); border-color: var(--secondary-color); }
.close-menu { display: none; }

/* Overlay for Mobile Sidebar */
.sidebar-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 999;
  opacity: 0; visibility: hidden; transition: 0.3s ease;
}
.sidebar-overlay.active { opacity: 1; visibility: visible; }

/* STREAMING_CHUNK:Hero and Banners */
.warning-banner {
  background-color: #e74c3c; color: var(--white); text-align: center;
  padding: 12px 20px; font-weight: 500; display: flex; justify-content: center;
  align-items: center; gap: 10px; font-size: 0.95rem;
}

.hero-modern {
  display: flex; align-items: center; justify-content: space-between;
  padding: 60px 5%; max-width: 1200px; margin: 0 auto; gap: 40px;
  background-color: var(--bg-light);
}
.hero-content { flex: 1; }
.uae-badge {
  display: inline-block; background: rgba(46, 204, 113, 0.15);
  color: var(--primary-color); padding: 5px 15px; border-radius: 4px;
  font-weight: bold; font-size: 0.9rem; margin-bottom: 20px;
}
.hero-title { font-size: 3rem; font-weight: 900; line-height: 1.2; margin-bottom: 20px; color: var(--primary-color); }
.hero-title span { color: var(--secondary-color); }
.hero-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; line-height: 1.8;}
.hero-buttons-group { display: flex; gap: 15px; flex-wrap: wrap; }

.btn-hero-primary, .btn-hero-secondary {
  padding: 12px 25px; border-radius: 4px; font-weight: bold;
  display: flex; align-items: center; gap: 10px; transition: var(--transition);
  cursor: pointer;
}
.btn-hero-primary { background-color: var(--secondary-color); color: var(--white); border: 2px solid var(--secondary-color); }
.btn-hero-primary:hover { background-color: #27ae60; border-color: #27ae60; }
.btn-hero-secondary { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-hero-secondary:hover { background-color: var(--primary-color); color: var(--white); }

.hero-image-wrapper { flex: 1; display: flex; justify-content: center; }
.hero-img-box img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: block; }

/* STREAMING_CHUNK:Services Cards */
.services-modern { padding: 60px 5%; max-width: 1200px; margin: 0 auto; text-align: center; }
.section-title-wrapper { margin-bottom: 40px; text-align: center; }
.section-title { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 10px; font-weight: 800;}
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 700px; margin: 0 auto;}

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.card-modern {
  background: var(--white); border: 1px solid #eaeaea; border-radius: 8px;
  overflow: hidden; transition: var(--transition); text-align: start;
}
.card-modern:hover { border-color: var(--secondary-color); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.card-img { width: 100%; height: 200px; object-fit: cover; display: block; background-color: #e8ece9; }
.card-content { padding: 25px; display: flex; flex-direction: column; }
.card-icon-box {
  background: rgba(46, 204, 113, 0.1); color: var(--secondary-color);
  width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;
  border-radius: 4px; font-size: 1.2rem; margin-bottom: 15px;
}
.card-title { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 10px; font-weight: bold; }
.card-desc { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }
.card-link { color: var(--secondary-color); font-weight: bold; display: flex; align-items: center; gap: 8px; }

/* STREAMING_CHUNK:PROSHIELD-Style Corporate Pricing */
.pricing-pro-section { padding: 80px 5%; background-color: var(--white); }
.pricing-pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-pro-card {
  background: var(--white);
  border: 1px solid #e0e5e2;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.pricing-pro-card:hover { box-shadow: 0 10px 30px rgba(47, 62, 46, 0.08); border-color: #caced0; }
.pricing-pro-card.premium { border: 2px solid var(--secondary-color); box-shadow: 0 8px 25px rgba(46, 204, 113, 0.1); }

.recommended-bar {
  background-color: var(--secondary-color); color: var(--white); text-align: center;
  font-size: 0.85rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; padding: 8px 0;
}
.card-top { padding: 40px 30px 30px; border-bottom: 1px solid #f0f2f1; text-align: center; background-color: var(--white); }
.card-top h3 { font-size: 1.6rem; color: var(--primary-color); margin-bottom: 5px; font-weight: 800; }
.prop-type { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; }

.price-tag { display: flex; flex-direction: column; align-items: center; }
.price-tag .starts { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; }
.amount-wrap { display: flex; align-items: baseline; gap: 5px; color: var(--primary-color); }
.amount-wrap .curr { font-size: 1.2rem; font-weight: bold; }
.amount-wrap .num { font-size: 3.5rem; font-weight: 900; line-height: 1; }
.amount-wrap.custom-quote .num { font-size: 2rem; }

/* FIX: كانت خلفية card-bottom لونها مختلف عن card-top (#fcfcfc) وده كان بيعمل خط/حافة بيضاء واضحة بين الجزئين */
.card-bottom {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: var(--white);
}
.pro-features { list-style: none; margin-bottom: 30px; flex-grow: 1; text-align: start; }
.pro-features li { margin-bottom: 18px; display: flex; align-items: flex-start; gap: 12px; color: var(--text-dark); font-size: 0.95rem; line-height: 1.4; }
.pro-features li i { color: var(--secondary-color); font-size: 1rem; margin-top: 3px; }
.pro-features li i.fa-shield-alt, .pro-features li i.fa-award { color: #3498db; }

/* FIX: توحيد شكل زراير الأسعار (padding, border, cursor) عشان تبقى مظبوطة ومتناسقة مع بعض */
.btn-pro-outline, .btn-pro-solid {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-pro-outline { background-color: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-pro-outline:hover { background-color: var(--primary-color); color: var(--white); }
.btn-pro-solid { background-color: var(--secondary-color); color: var(--white); border-color: var(--secondary-color); box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3); }
.btn-pro-solid:hover { background-color: #27ae60; border-color: #27ae60; box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4); }

/* STREAMING_CHUNK:Feature, About, and FAQ */
.feature-banner { background-color: var(--primary-color); color: var(--white); text-align: center; padding: 60px 5%; }
.feature-banner h2 { font-size: 2rem; margin-bottom: 15px; font-weight: 800;}
.feature-banner p { max-width: 800px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; }

.about-us { padding: 60px 5%; text-align: center; background-color: var(--white); }
.dubai-logo-section { margin-top: 30px; padding: 25px; background: var(--bg-light); display: inline-block; border-radius: 8px; }

.faq-section { padding: 60px 5%; max-width: 900px; margin: 0 auto; }
.faq-container { display: flex; flex-direction: column; gap: 15px; }
.faq-item details { background: var(--white); border: 1px solid #eaeaea; border-radius: 4px; padding: 15px 20px; cursor: pointer; transition: 0.3s; }
.faq-item details[open] { border-color: var(--secondary-color); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.faq-item summary { font-weight: bold; font-size: 1.1rem; color: var(--primary-color); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '\f078'; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--secondary-color); transition: transform 0.3s; }
.faq-item details[open] summary::after { transform: rotate(180deg); }
.faq-answer { margin-top: 15px; color: var(--text-muted); line-height: 1.7; border-top: 1px solid #eaeaea; padding-top: 15px; }
.highlight-price { color: var(--secondary-color); }

/* STREAMING_CHUNK:Footer & Scroll Utilities */
/* FIX: الفوتر دلوقتي بياخد عرض الشاشة بالكامل (full-bleed) مهما كان الكونتينر اللي حواليه في الـ HTML عنده max-width أو padding */
.site-footer {
  background-color: #1a251a;
  color: var(--white);
  padding: 60px 5% 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.site-footer > div:first-child {
  border: none !important;
  background: rgba(255, 255, 255, 0.04) !important;
}
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; padding-bottom: 40px; }
.footer-col h3 { color: var(--secondary-color); margin-bottom: 20px; font-size: 1.3rem; }
.footer-col p { color: #cfd8dc; font-size: 0.95rem; line-height: 1.7;}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #cfd8dc; transition: var(--transition); }
.footer-links a:hover { color: var(--secondary-color); }
.footer-contact-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.footer-contact-item .icon-box { background: rgba(255, 255, 255, 0.1); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.footer-contact-info h4 { font-size: 0.9rem; color: #cfd8dc; margin-bottom: 2px; }
.footer-contact-info a { font-weight: bold; color: var(--white);}
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; padding: 20px 0; }

.whatsapp-float {
  position: fixed; bottom: 25px; left: 25px; background-color: #25d366; color: var(--white);
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 30px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15); z-index: 999; transition: transform 0.3s;
}
html[dir="rtl"] .whatsapp-float { left: auto; right: 25px; }
.whatsapp-float:hover { transform: scale(1.1); }

.scroll-top-btn {
  position: fixed; bottom: 100px; left: 25px; background-color: var(--primary-color); color: var(--white);
  width: 45px; height: 45px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
  font-size: 1.2rem; cursor: pointer; border: none; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 998;
}
html[dir="rtl"] .scroll-top-btn { left: auto; right: 25px; }
.scroll-top-btn.active { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { background-color: var(--secondary-color); }

/* Animation Utility */
.in-view { animation: fadeInUp 0.8s ease forwards; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll { opacity: 0; }

/* STREAMING_CHUNK:Responsive Media Queries */
@media (max-width: 992px) {
  .hero-modern { flex-direction: column; text-align: center; padding: 40px 5%; }
  .hero-buttons-group { justify-content: center; }

  .header-controls { display: flex; gap: 15px; align-items: center; }
  .menu-toggle, .lang-toggle {
    background: none; border: 1px solid #eaeaea; font-size: 1.2rem;
    color: var(--primary-color); cursor: pointer; padding: 5px 10px; border-radius: 4px;
  }
  .lang-text { font-weight: bold; font-size: 1rem; }

  .nav-elements {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background-color: var(--white); flex-direction: column; padding: 60px 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: 0.4s ease; align-items: flex-start; z-index: 1001;
  }
  html[dir="rtl"] .nav-elements { right: auto; left: -100%; box-shadow: 5px 0 15px rgba(0,0,0,0.1); }
  .nav-elements.open { right: 0; }
  html[dir="rtl"] .nav-elements.open { left: 0; }

  #nav-links { flex-direction: column; width: 100%; }
  .nav-link { display: block; padding: 10px 0; border-bottom: 1px solid #eaeaea; width: 100%; }
  .close-menu {
    display: block; position: absolute; top: 20px; right: 20px;
    background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark);
  }
  html[dir="rtl"] .close-menu { right: auto; left: 20px; }

  .nav-contact-btns { width: 100%; margin-top: 20px; }
  .btn-phone { justify-content: center; }
}

@media (max-width: 768px) {
  .footer-container { text-align: center; grid-template-columns: 1fr; }
  .footer-col { display: flex; flex-direction: column; align-items: center; }
  .footer-contact-item { flex-direction: column; text-align: center; gap: 8px; }
}