/* ==========================================================================
   Moqwalatt Riyadh - Exact Pixel-Conscious Reproduction of moqwalat.com
   Alternating Dark (#1d242b) and White (#ffffff) Section Layout
   ========================================================================== */

:root {
  --primary-dark: #1d242b;
  --primary-darker: #151b20;
  --accent-gold: #c89d57;
  --accent-gold-hover: #b58842;
  
  --btn-green: #00c853;
  --btn-green-hover: #00a844;
  --btn-blue: #0070e0;
  --btn-blue-hover: #005bb8;

  --bg-white: #ffffff;
  --bg-dark: #1d242b;
  --bg-dark-alt: #161c22;
  --bg-footer: #12181f;

  --text-dark: #222222;
  --text-muted: #666666;
  --text-white: #ffffff;
  --text-gray-light: #d1d5db;

  --border-light: #e8e8e8;
  --border-dark: rgba(255, 255, 255, 0.1);

  --font-family: 'Cairo', system-ui, -apple-system, sans-serif;

  --container-width: 1140px;
  --header-height: 85px;

  --radius-pill: 50px;
  --radius-card: 10px;
  --radius-btn: 6px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 35px rgba(0,0,0,0.2);

  --transition: all 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  lang: ar;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   HEADER DESIGN
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-dark);
  border: 2px solid var(--accent-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-weight: 900;
  font-size: 1.3rem;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 0.4rem 0.1rem;
  transition: color var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-trigger-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f4f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.search-trigger-btn:hover {
  background: var(--accent-gold);
  color: #ffffff;
}

.hamburger-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #f4f5f7;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn span {
  width: 22px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 290px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -5px 0 25px rgba(0,0,0,0.2);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: right var(--transition);
}

.mobile-nav-drawer.open { right: 0; }

.mobile-drawer-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1090;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-backdrop.open { opacity: 1; visibility: visible; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1rem;
}

.drawer-close-btn { font-size: 1.75rem; color: #777; }

.mobile-nav-list { display: flex; flex-direction: column; gap: 0.25rem; }

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  border-radius: 6px;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: #fffbf2;
  color: var(--accent-gold);
}

/* ==========================================================================
   HERO SECTION (DARK BG + CENTERED CONTENT + PILL CTAS)
   ========================================================================== */

.hero-section {
  position: relative;
  background: linear-gradient(rgba(15, 20, 25, 0.72), rgba(15, 20, 25, 0.82)), url('../images/imageye___-_imgi_246_880badf9-39ac-401a-9526-b0c63184e6c5-1024x553-1.jpg') center/cover no-repeat;
  color: var(--text-white);
  padding-top: 5rem;
  padding-bottom: 7.5rem;
  text-align: center;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.4;
  color: #ffffff;
  max-width: 980px;
  margin: 0 auto 1.25rem;
}

.hero-text {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.85;
  max-width: 950px;
  margin: 0 auto 2.5rem;
}

.hero-cta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 950px;
  margin: 0 auto 2.5rem;
}

.btn-hero-rect {
  flex: 1;
  min-width: 240px;
  padding: 0.85rem 1.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.btn-hero-green {
  background: #25e678;
}

.btn-hero-blue {
  background: #007bdc;
}

.btn-hero-rect:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  color: #ffffff;
}

.hero-bottom-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-bottom-divider svg {
  width: 100%;
  height: 55px;
  display: block;
}

/* ==========================================================================
   SECTION COLOR ALTERNATION SYSTEM (WHITE vs DARK CHARCOAL)
   ========================================================================== */

.section-block {
  padding: 4.5rem 0;
}

/* White Section */
.section-white {
  background-color: var(--bg-white);
  color: var(--text-dark);
}

/* Dark Section matching moqwalat.com */
.section-dark {
  background-color: var(--primary-dark);
  color: var(--text-white);
}

.section-dark .section-heading {
  color: #ffffff;
}

.section-dark p {
  color: var(--text-gray-light);
}

/* 2-Column Section Layouts */
.section-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.section-heading {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  position: relative;
}

.section-paragraph {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.section-image-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.section-image-card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: top start;
  display: block;
  margin: 0;
}

/* Dual Button Pair: "قراءة المزيد" and "اتصل بنا" */
.dual-buttons-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.btn-divi {
  padding: 0.7rem 1.75rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-divi-dark {
  background: var(--primary-dark);
  color: #ffffff;
}

.btn-divi-dark:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.btn-divi-white {
  background: #ffffff;
  color: var(--primary-dark);
}

.btn-divi-white:hover {
  background: var(--accent-gold);
  color: #ffffff;
}

.btn-divi-gold {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.btn-divi-gold:hover {
  background: var(--accent-gold-hover);
  color: #ffffff;
}

/* ==========================================================================
   SERVICES CARDS GRID
   ========================================================================== */

.services-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.service-card-item {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-img-box {
  height: auto;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: block;
  background: #f8f9fa;
  padding: 4px;
}

.service-img-box img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: top start;
  margin: 0;
  display: block;
  transition: transform 0.5s ease;
}

.service-card-item:hover .service-img-box img {
  transform: scale(1.08);
}

.service-badge-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(29, 36, 43, 0.85);
  color: var(--accent-gold);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.service-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.service-card-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   GALLERY GRID (بعض أعمالنا بالصور)
   ========================================================================== */

.filter-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  background: #f4f5f7;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.filter-tab:hover, .filter-tab.active {
  background: var(--primary-dark);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.gallery-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.gallery-thumb-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: block;
  background: #0f141a;
  padding: 4px;
}

.gallery-thumb-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: top start;
  margin: 0;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-thumb-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(29, 36, 43, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-thumb-item:hover img {
  transform: scale(1.1);
}

.gallery-thumb-item:hover .gallery-thumb-overlay {
  opacity: 1;
}

/* ==========================================================================
   FLOATING FIXED BUTTONS ON LEFT EDGE
   ========================================================================== */

.icon-float-call {
  position: fixed;
  width: 44px;
  height: 44px;
  top: 42%;
  left: 15px;
  background-color: #007bdc;
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 1090;
  transition: transform 0.2s ease;
}

.icon-float-call:hover {
  transform: scale(1.08);
}

.whats-float {
  position: fixed;
  width: 44px;
  height: 44px;
  top: calc(42% + 54px);
  left: 15px;
  background-color: #25e678;
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 1090;
  transition: transform 0.2s ease;
}

.whats-float:hover {
  transform: scale(1.08);
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(0, 200, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--bg-footer);
  color: #9ca3af;
  padding-top: 4rem;
  padding-bottom: 1.5rem;
  border-top: 3px solid var(--accent-gold);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 35px; height: 3px;
  background: var(--accent-gold);
}

.footer-links-list li { margin-bottom: 0.5rem; }
.footer-links-list a { font-size: 0.9rem; color: #d1d5db; }
.footer-links-list a:hover { color: var(--accent-gold); }

.seo-links-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.seo-tags-wrap { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seo-tag {
  background: rgba(255,255,255,0.06);
  color: #d1d5db;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
}
.seo-tag:hover { color: var(--accent-gold); }

.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (100% Mobile Responsive)
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .hamburger-btn { display: flex; }
  .section-two-col { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid-wrapper { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-wrapper { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .footer-top-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  
  .hero-title { font-size: 2rem; }
  .hero-cta-bar { max-width: 100%; padding: 0 1rem; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .site-header { height: 70px; }
  .brand-logo img { height: 42px !important; }

  .hero-section {
    padding-top: 3.5rem;
    padding-bottom: 5.5rem;
  }

  .hero-title {
    font-size: 1.55rem;
    line-height: 1.45;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }

  .hero-text {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
    padding: 0 0.5rem;
  }

  .hero-cta-bar {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    padding: 0;
  }

  .btn-hero-rect {
    width: 100%;
    min-width: 0;
    font-size: 1.15rem;
    padding: 0.8rem 1rem;
    border-radius: 6px;
  }

  .section-block {
    padding: 3rem 0;
  }

  .section-heading {
    font-size: 1.65rem;
    margin-bottom: 1rem;
  }

  .section-paragraph {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
  }

  .section-image-card img {
    height: auto;
    object-fit: contain;
    object-position: top start;
  }

  .dual-buttons-row {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-divi {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .services-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .icon-float-call {
    width: 40px;
    height: 40px;
    top: 40%;
    left: 10px;
  }

  .whats-float {
    width: 40px;
    height: 40px;
    top: calc(40% + 48px);
    left: 10px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.35rem;
  }

  .hero-text {
    font-size: 0.88rem;
  }

  .gallery-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .gallery-thumb-overlay span {
    font-size: 0.8rem;
    padding: 0.25rem;
  }

  .mobile-nav-drawer {
    width: 270px;
  }
}

/* ==========================================================================
   CONTACT PAGE & USER-FRIENDLY FORM STYLES
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1rem;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(200, 157, 87, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.info-text p, .info-text a {
  font-size: 0.95rem;
  color: #d1d5db;
  text-decoration: none;
}

.info-text a:hover {
  color: var(--accent-gold);
}

.contact-form-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  text-align: right;
  width: 100%;
}

.form-label {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-family);
  font-size: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  color: #1d242b;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #888888;
  font-size: 0.95rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(200, 157, 87, 0.3);
  background: #ffffff;
  color: #1d242b;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231d242b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 1.2rem;
  padding-left: 2.5rem;
  cursor: pointer;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Button Submit Hover & Full Width */
.contact-form-box button[type="submit"] {
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  background: #25e678;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 230, 120, 0.3);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-form-box button[type="submit"]:hover {
  background: #1fcb68;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 230, 120, 0.45);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-info-card, .contact-form-box {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   PRE-FOOTER ENGAGING CTA BANNER WITH BACKGROUND OVERLAY
   ========================================================================== */

.pre-footer-cta-section {
  position: relative;
  background: linear-gradient(rgba(15, 20, 25, 0.82), rgba(15, 20, 25, 0.88)), url('../images/imageye___-_imgi_246_880badf9-39ac-401a-9526-b0c63184e6c5-1024x553-1.jpg');
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  color: #ffffff;
  padding: 4.5rem 1.25rem;
  text-align: center;
  overflow: hidden;
}

.pre-footer-cta-container {
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pre-footer-cta-title {
  font-size: 2.35rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
}

.pre-footer-cta-desc {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #e2e8f0;
  max-width: 900px;
  margin: 0 auto 2.25rem;
  font-weight: 500;
}

.pre-footer-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .pre-footer-cta-section {
    padding: 3.5rem 1rem;
  }
  .pre-footer-cta-title {
    font-size: 1.75rem;
  }
  .pre-footer-cta-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
  }
  .pre-footer-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }
}

/* ==========================================================================
   SMOOTH & PREMIUM ANIMATIONS & SCROLL REVEAL SYSTEM
   ========================================================================== */

/* Prevent horizontal overflow during side-slide animations */
html, body {
  overflow-x: hidden;
}

.section-block, .hero-section, .pre-footer-cta-section {
  overflow-x: hidden;
}

/* Base class for elements waiting to be revealed on scroll */
.anim-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 1.35s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Active revealed state */
.anim-on-scroll.is-animated {
  opacity: 1;
  transform: translate(0, 0) scale(1) !important;
}

/* Animation Types */
.anim-fade-up {
  transform: translateY(30px);
}

.anim-slide-left {
  transform: translateX(-45px);
}

.anim-slide-right {
  transform: translateX(45px);
}

.anim-zoom-in {
  transform: scale(0.94);
}

/* Delay Utility Classes */
.delay-75 { transition-delay: 0.075s !important; }
.delay-100 { transition-delay: 0.1s !important; }
.delay-150 { transition-delay: 0.15s !important; }
.delay-200 { transition-delay: 0.2s !important; }
.delay-250 { transition-delay: 0.25s !important; }
.delay-300 { transition-delay: 0.3s !important; }
.delay-350 { transition-delay: 0.35s !important; }
.delay-400 { transition-delay: 0.4s !important; }
.delay-450 { transition-delay: 0.45s !important; }
.delay-500 { transition-delay: 0.5s !important; }
.delay-600 { transition-delay: 0.6s !important; }
.delay-750 { transition-delay: 0.75s !important; }
.delay-900 { transition-delay: 0.9s !important; }

/* --------------------------------------------------
   HERO ENTRANCE ANIMATIONS (Page Load)
   -------------------------------------------------- */
.hero-title, .hero-text, .hero-btn-left, .hero-btn-right {
  opacity: 0;
  will-change: transform, opacity;
}

.hero-title.hero-anim-active {
  animation: heroFadeUp 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.hero-text.hero-anim-active {
  animation: heroFadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

/* Hero CTA Button 1: Left -> Center (1.5s duration, 0.55s delay) */
.hero-btn-left.hero-anim-active {
  animation: heroSlideLeft 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

/* Hero CTA Button 2: Right -> Center (1.5s duration, 0.75s delay - 0.2s stagger after left button) */
.hero-btn-right.hero-anim-active {
  animation: heroSlideRight 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --------------------------------------------------
   NAVIGATION & BUTTON HOVER ANIMATIONS
   -------------------------------------------------- */
.nav-link {
  transition: color 0.25s ease, transform 0.25s ease;
}

.btn-hero-rect, .btn-divi, .btn-primary, .btn-outline {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              opacity 0.25s ease;
  will-change: transform;
}

/* --------------------------------------------------
   TENTS SECTION (خيمات)
   -------------------------------------------------- */
.tents-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  background-color: #12161c;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.tent-card-item {
  border-radius: 12px;
  overflow: hidden;
  background: #1a2029;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.18);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.45s ease;
  will-change: transform;
}

.tent-card-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border-color: var(--accent-gold, #d4af37);
}

.tent-img-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  display: block;
  background: transparent;
  padding: 0;
}

.tent-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.tent-card-item:hover .tent-img-wrapper img {
  transform: scale(1.06);
}

/* Responsive Grid Adjustments for Tents */
@media (max-width: 992px) {
  .tents-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .tent-img-wrapper {
    height: 230px;
  }
}

@media (max-width: 576px) {
  .tents-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .tent-img-wrapper {
    height: 250px;
  }
}

/* --------------------------------------------------
   RECENT PROJECTS VIDEO SECTION (أحدث المشاريع)
   -------------------------------------------------- */
.recent-projects-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  background-color: #12161c;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.projects-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  width: 100%;
}

.project-video-card {
  border-radius: 12px;
  overflow: hidden;
  background: #1a2029;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.18);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.45s ease;
  will-change: transform;
}

.project-video-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border-color: var(--accent-gold, #d4af37);
}

.video-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #0f141a;
  border-radius: 12px;
}

.video-wrapper video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  outline: none;
}

@media (max-width: 992px) {
  .projects-video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .projects-video-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .video-wrapper video {
    height: 240px;
  }
}

/* --------------------------------------------------
   ACCESSIBILITY: PREFERS REDUCED MOTION
   -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .anim-on-scroll {
    transition: opacity 0.3s ease !important;
    transform: none !important;
  }
  
  .hero-title, .hero-text, .hero-btn-left, .hero-btn-right {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}



