/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
  --primary: #12223a;
  --primary-light: #1b3252;
  --accent: #c5a059;
  --accent-rgb: 197, 160, 89;
  --accent-light: #dfc18d;
  --accent-dark: #a68341;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-gray: #666666;
  --bg-light: #fcfcfc;
  --bg-creme: #f9f6f0;
  --bg-dark: #0a141f;
  --white: #ffffff;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08);
  --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.12);
  --glass: rgba(255, 255, 255, 0.92);
  --border-radius: 16px;
  --nav-height: 80px;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

html[dir="rtl"] body {
  font-family: 'Almarai', sans-serif;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

section {
  padding: 120px 0;
  position: relative;
}

.section-padding {
  padding: 120px 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
  font-family: 'Almarai', sans-serif;
  font-weight: 700;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 40px;
  position: relative;
}

.section-title.center {
  text-align: center;
}

.section-title.center::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 15px auto 0;
}


h2 {
  font-size: 2.8rem;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 20px 0;
  border-radius: 2px;
}

[style*="text-align: center"] h2::after {
  margin: 20px auto;
}

html[dir="rtl"] h2::after {
  right: 0;
  left: auto;
}

html[dir="rtl"] [style*="text-align: center"] h2::after {
  margin: 20px auto;
}

/* ============================================================
   NAVIGATION — FIXED & CLEAN
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
  will-change: transform;
}

header .container {
  padding: 0 15px; /* Reduced from 30px */
}

header.scrolled {
  background: rgba(18, 34, 58, 0.95); /* Match var(--primary) but with transparency */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled .nav-links a {
  color: var(--white);
}

header.scrolled .logo img {
  filter: brightness(0) invert(1); /* Stay white on dark background */
  height: 50px;
}

/* Nav container */
nav.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  padding: 10px 15px;
  position: relative;
}

/* Logo */
.logo {
  padding: 0; /* Reduced from 15px */
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo img {
  height: auto;
  max-height: 80px;
  width: auto;
  max-width: 220px;
  transition: var(--transition);
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Pure White */
}



/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 15px;
  row-gap: 8px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}



.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.has-submenu {
  position: relative;
}

.has-submenu .nav-link-parent {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.has-submenu .nav-link-parent i {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.has-submenu:hover .nav-link-parent i,
.has-submenu.is-open .nav-link-parent i {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  background: var(--white);
  min-width: 200px;
  padding: 15px 0;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  list-style: none;
}

/* RTL Support for dropdown */
html[dir="rtl"] .submenu {
  left: auto;
  right: 0;
}

.has-submenu:hover .submenu,
.has-submenu.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li {
  width: 100%;
  padding: 0;
}

.submenu a {
  display: block !important;
  padding: 10px 24px !important;
  font-size: 13px !important;
  color: var(--primary) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
}

.submenu a::after { display: none; }

.submenu a:hover {
  background: var(--bg-creme);
  color: var(--accent) !important;
}

[dir="rtl"] .submenu {
  left: auto;
  right: 50%;
  transform: translateX(50%) translateY(10px);
}
[dir="rtl"] .has-submenu:hover .submenu,
[dir="rtl"] .has-submenu.is-open .submenu {
  transform: translateX(50%) translateY(0);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Desktop action buttons */
.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-inline-start: 25px;
}

.lang-switch, .btn-call, .nav-actions .btn {
  height: 48px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Almarai', 'Montserrat', sans-serif;
}

.lang-switch {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-call {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  text-decoration: none;
}

.nav-actions .btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

header.scrolled .lang-switch,
header.scrolled .btn-call {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

header.scrolled .btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Hover effects */
.lang-switch:hover, .btn-call:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.nav-actions .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

@media (max-width: 1200px) {
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 13px; }
  .lang-switch, .btn-call, .nav-actions .btn { padding: 0 16px; font-size: 12px; height: 42px; }
}



@media (min-width: 801px) and (max-width: 1024px) {
  .container { padding: 0 15px; }
  .logo img { height: auto; max-height: 65px !important; }
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 12px; }
  .lang-switch, .btn-call, .nav-actions .btn { padding: 0 12px; font-size: 11px; height: 38px; }
}


/* Hamburger — hidden on desktop */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  transition: var(--transition);
  z-index: 1002;
  flex-shrink: 0;
}

header.scrolled #menu-toggle {
  color: var(--white);
}

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */

/* Hidden by default on desktop */
.mobile-menu {
  display: none;
}

@media (max-width: 800px) {

  nav.topnav {
    padding: 0 20px;
    height: var(--nav-height);
  }
  .logo img { height: auto; max-height: 55px !important; }

  /* Always show hamburger */
  #menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide desktop nav and actions */
  .nav-links,
  .nav-actions {
    display: none !important;
  }

  /* Mobile drawer — full screen glassmorphism */
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(18, 34, 58, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    visibility: hidden;
  }

  html[dir="rtl"] .mobile-menu {
    transform: translateX(-100%);
  }

  .mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  html[dir="rtl"] .mobile-menu.open {
    transform: translateX(0);
  }

  header.scrolled + .mobile-menu,
  .scrolled-menu {
    background: rgba(18, 34, 58, 0.98);
  }

  .mobile-menu-inner {
    padding: calc(var(--nav-height) + 40px) 40px 60px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    flex-grow: 1;
  }

  .mobile-nav-links li {
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
  }

  .mobile-menu.open li {
    opacity: 1;
    transform: translateY(0);
  }

  /* staggered animation */
  .mobile-menu.open li:nth-child(1) { transition-delay: 0.1s; }
  .mobile-menu.open li:nth-child(2) { transition-delay: 0.2s; }
  .mobile-menu.open li:nth-child(3) { transition-delay: 0.3s; }
  .mobile-menu.open li:nth-child(4) { transition-delay: 0.4s; }
  .mobile-menu.open li:nth-child(5) { transition-delay: 0.5s; }

  .mobile-nav-toggle, .mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
  }

  .mobile-nav-toggle span, .mobile-nav-link {
    color: var(--white);
    font-weight: 700;
    font-size: 1.8rem;
  }

  .mobile-nav-toggle i {
    color: var(--accent);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }

  header.scrolled + .mobile-menu .mobile-nav-toggle span,
  header.scrolled + .mobile-menu .mobile-nav-link,
  .scrolled-menu .mobile-nav-link {
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-nav-label {
    display: block;
    font-size: 1.1rem;
    color: var(--accent);
    padding: 25px 0 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .mobile-submenu {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
    opacity: 0;
  }

  .mobile-has-submenu.is-open .mobile-submenu {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 20px;
  }

  .mobile-has-submenu.is-open .bi-chevron-down {
    transform: rotate(180deg) !important;
  }

  .mobile-submenu .mobile-nav-link {
    font-size: 1.4rem;
    padding: 12px 0;
    border-bottom: none;
    opacity: 0.8;
  }

  .mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  header.scrolled + .mobile-menu .mobile-menu-actions,
  .scrolled-menu .mobile-menu-actions {
    border-top-color: rgba(0,0,0,0.06);
  }

  .mobile-menu-actions .btn {
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 14px;
  }

  .mobile-menu-actions .lang-switch {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
  }

  .mobile-menu-actions .lang-switch:hover {
    background: rgba(255,255,255,0.1);
    color: white;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding-top: 100px !important;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 34, 58, 0.95) 0%, rgba(18, 34, 58, 0.4) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4.5rem;
  color: var(--white);
  max-width: 900px;
  margin-bottom: 30px;
  line-height: 1.1;
}

.hero-sub {
  min-height: 40vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
  padding-top: var(--nav-height);
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin-bottom: 20px;
  opacity: 0.95;
  font-weight: 500;
  line-height: 1.7;
}

.hero p:last-child {
  margin-bottom: 50px;
}

html[dir="rtl"] .hero-overlay {
  background: linear-gradient(-135deg, rgba(18, 34, 58, 0.95) 0%, rgba(18, 34, 58, 0.4) 100%);
}

/* ============================================================
   GRID SYSTEM
   ============================================================ */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.04);
}

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

.card-img {
  height: 280px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.card:hover .card-img img {
  transform: scale(1.1);
}

.card-body {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body .tag {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.card-body p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-body ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.card-body ul li {
  margin-bottom: 10px;
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-body ul li i {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   FLEX RESPONSIVE
   ============================================================ */
.flex-responsive {
  display: flex;
  flex-wrap: wrap;
}

/* ============================================================
   ICON CIRCLE
   ============================================================ */
.icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   BACKGROUNDS
   ============================================================ */
.bg-light  { background-color: var(--bg-light); }
.bg-creme  { background-color: var(--bg-creme); }
.bg-dark   { background-color: var(--bg-dark); color: var(--white); }

.bg-dark h1, .bg-dark h2, .bg-dark h3,
.bg-dark h4, .bg-dark h5, .bg-dark h6 {
  color: var(--white);
}

/* ============================================================
   PHILOSOPHY CARD
   ============================================================ */
.philosophy-card {
  background: var(--primary);
  color: white;
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.philosophy-card::before {
  content: 'ORA';
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 8rem;
  font-weight: 900;
  opacity: 0.05;
  color: var(--accent);
  pointer-events: none;
}

/* ============================================================
   STATS
   ============================================================ */
.stat-item {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

.stat-item h3 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: var(--accent);
}

html[dir="rtl"] .stat-item {
  border-left: none;
  border-right: 3px solid var(--accent);
  padding-left: 0;
  padding-right: 24px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: #fdfdfd;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 100px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 70px;
}

.footer-col h4 {
  color: var(--accent);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 28px;
}

.footer-col p {
  opacity: 0.65;
  margin-bottom: 28px;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

/* ============================================================
   INTERACTIVE MAPS
   ============================================================ */
.earth-map-container {
  position: relative;
  width: 100%;
  height: 550px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}

.map-iframe-wrapper {
  width: 100%;
  height: 100%;
}

.explore-earth-btn {
  position: absolute;
  bottom: 25px;
  right: 25px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 24px;
  border-radius: 50px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 10;
}

.explore-earth-btn:hover {
  transform: translateY(-5px);
  background: var(--white);
  color: var(--accent);
}

.explore-earth-btn i {
  font-size: 1.2rem;
  color: var(--accent);
}

html[dir="rtl"] .explore-earth-btn {
  right: auto;
  left: 25px;
}
.social-links a:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 13px;
}

.footer-col a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.25s ease;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  margin: 0;
}

.footer-legal a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.85rem;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--accent);
}

/* Footer Contact Info */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  background: rgba(255,255,255,0.03);
  padding: 15px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
  transform: translateX(5px);
}

html[dir="rtl"] .footer-contact-item:hover {
  transform: translateX(-5px);
}

.footer-contact-item .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.footer-contact-item .icon-box.whatsapp { background: rgba(37, 211, 102, 0.1); color: #25D366; }
.footer-contact-item .icon-box.phone { background: rgba(var(--accent-rgb, 191, 161, 114), 0.1); color: var(--accent); }
.footer-contact-item .icon-box.email { background: rgba(255, 255, 255, 0.05); color: #fff; }
.footer-contact-item .icon-box.location { background: rgba(255, 255, 255, 0.05); color: #fff; }
.footer-contact-item .icon-box.clock { background: rgba(255, 255, 255, 0.05); color: #fff; }
.footer-contact-item .icon-box.globe { background: rgba(255, 255, 255, 0.05); color: #fff; }

.footer-contact-item .text-box {
  display: flex;
  flex-direction: column;
}

.footer-contact-item .text-box span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 2px;
}

.footer-contact-item .text-box strong {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 700;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 36px;
  right: 36px;
  background-color: #25d366;
  color: white;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: var(--transition);
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

html[dir="rtl"] .wa-float {
  right: auto;
  left: 36px;
}

/* ============================================================
   TABLET: 768–991px
   ============================================================ */
@media (max-width: 991px) {

  /* Grid collapses to 1–2 cols */
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero h1 { font-size: 3.2rem; }
}

/* ============================================================
   MOBILE: ≤768px — the main fix
   ============================================================ */
@media (max-width: 768px) {

  /* ----- Global ----- */
  .container {
    padding: 0 20px;
  }

  section,
  .section-padding {
    padding: 60px 0 !important;
  }

  h2 {
    font-size: 2rem !important;
  }

  h3 { font-size: 1.6rem !important; }

  /* ----- Hero ----- */
  .hero {
    height: auto !important;
    min-height: 90vh !important;
    padding-top: calc(var(--nav-height) + 20px) !important;
    padding-bottom: 60px !important;
    background-attachment: scroll !important;
    display: block !important;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.5rem) !important;
    line-height: 1.1 !important;
  }

  .hero p {
    font-size: 1rem !important;
    margin-bottom: 25px !important;
  }

  /* ----- Grid Systems - Force Stacking for inline grids too ----- */
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6,
  [style*="display:grid"], 
  [style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* ----- Flex Stacks ----- */
  .flex-responsive,
  [style*="display:flex"]:not(.nav-actions):not(.social-links):not(.tag-cloud),
  [style*="display: flex"]:not(.nav-actions):not(.social-links):not(.tag-cloud) {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .flex-responsive > *,
  [style*="flex:"] {
    width: 100% !important;
    flex: unset !important;
    min-width: unset !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* ----- Image Blobs / Gallery ----- */
  .live-gallery-premium {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }

  .gallery-item {
    height: 280px !important;
  }

  /* ----- Absolute Overlays ----- */
  .desktop-only {
    display: none !important;
  }

  .hero-overlay {
    position: absolute !important; /* Keep this absolute */
  }

  /* ----- Paddings & Borders ----- */
  [style*="padding: 120px"], [style*="padding: 100px"], [style*="padding: 80px"], [style*="padding: 50px"] {
    padding: 30px 20px !important;
  }

  [style*="padding: 80px 40px"], [style*="padding: 50px 40px"] {
    padding: 40px 20px !important;
  }

  [style*="gap: 100px"], [style*="gap:80px"], [style*="gap: 60px"] {
    gap: 30px !important;
  }

  [style*="border-left"], [style*="border-inline-start"] {
    padding-inline-start: 20px !important;
  }

  /* Fix for specific absolute elements like the intro card or floating badges */
  [style*="position: absolute"][style*="bottom:"] {
    position: relative !important;
    bottom: unset !important;
    right: unset !important;
    left: unset !important;
    width: 100% !important;
    margin-top: 20px;
  }

  /* ----- WA float ----- */
  .wa-float {
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    font-size: 26px;
  }

  html[dir="rtl"] .wa-float {
    right: auto;
    left: 24px;
  }
}

/* ============================================================
   VERY SMALL: ≤480px
   ============================================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h2 { font-size: 1.65rem; }

  .hero h1 { font-size: 1.85rem; }

  .stat-grid {
    grid-template-columns: 1fr !important;
  }

  .card-body {
    padding: 18px 16px;
  }

  .contact-form {
    padding: 22px 16px;
  }
}

/* ============================================================
   RTL UTILITIES
   ============================================================ */
html[dir="rtl"] .footer-col a:hover {
  padding-left: 0;
  padding-right: 5px;
}

html[dir="rtl"] .stat-item {
  border-left: none;
  border-right: 3px solid var(--accent);
  padding-left: 0;
  padding-right: 24px;
}

/* ============================================================
   MOBILE-ONLY UTILITY
   ============================================================ */
.mobile-only {
  display: none;
}

@media (max-width: 991px) {
  .mobile-only {
    display: block;
  }
}

.desktop-only {
  display: block;
}

@media (max-width: 991px) {
  .desktop-only {
    display: none !important;
  }
}

/* ============================================================
   SPIN ANIMATION (loading state)
   ============================================================ */
.spin {
  animation: spin 1s linear infinite;
  display: inline-block;
  font-size: 2rem;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}
/* ============================================================
   SHARED FAQ ACCORDION (Minimalist Professional)
   ============================================================ */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    border-radius: 0;
    transition: var(--transition);
}

.faq-item[open] {
    background: transparent;
    box-shadow: none;
    border-bottom-color: transparent;
}

.faq-item summary {
    padding: 25px 20px;
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition);
}

.faq-item[open] summary {
    color: var(--accent);
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary .icon {
    transition: transform 0.3s ease;
    color: var(--accent);
    font-size: 1rem;
}

.faq-item[open] summary .icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 50px 20px;
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
}

.faq-answer p {
    margin: 0;
    width: 100%;
    display: block;
}

/* ============================================================
   MASTERPLAN & LOCATION SPECIAL STYLES
   ============================================================ */
.badge-accent {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(197, 160, 89, 0.1);
  color: var(--accent);
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.custom-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-check-list li {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.95rem;
}

.custom-check-list li i {
  color: var(--accent);
  font-size: 1.1rem;
}

.mini-card {
  background: #fcfcfc;
  padding: 15px 25px;
  border-radius: 15px;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.mini-card:hover {
  background: white;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.mini-card i {
  color: var(--accent);
}

.earth-btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 30px;
  border-radius: 50px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.earth-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateX(-50%) translateY(-5px);
}

.relevance-card-premium {
  background: white;
  padding: 50px 40px;
  border-radius: 32px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  height: 100%;
}

.relevance-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.relevance-card-premium .card-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-creme);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 1.5rem;
  color: var(--accent);
}

.tag-item {
  background: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-gray);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.masterplan-frame {
  position: relative;
  padding: 20px;
}

.masterplan-frame img {
  display: block;
}

.caption-bubble {
  position: absolute;
  bottom: -40px;
  right: 0;
  background: white;
  padding: 30px 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  max-width: 350px;
  border-left: 5px solid var(--accent);
}

.caption-bubble p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.zone-card {
  background: white;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}

.zone-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.zone-card .zone-image {
  height: 240px;
  overflow: hidden;
}

.zone-card .zone-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zone-card .zone-content {
  padding: 35px;
}

.zone-card .zone-content h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.amenity-horizontal {
  display: flex;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.amenity-horizontal:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.amenity-horizontal .amenity-img {
  width: 180px;
  flex-shrink: 0;
}

.amenity-horizontal .amenity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amenity-horizontal .amenity-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.amenity-horizontal .amenity-info h4 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.amenity-horizontal .amenity-info p {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin: 0;
}

.live-gallery-premium {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.live-gallery-premium .gallery-item {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.live-gallery-premium .gallery-item:first-child {
  grid-row: span 2;
  height: 100%;
}

.live-gallery-premium .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-accordion-premium details {
  background: white;
  margin-bottom: 20px;
  border-radius: 24px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-accordion-premium summary {
  padding: 30px 40px;
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.faq-accordion-premium summary:hover {
  background: var(--bg-creme);
}

.faq-accordion-premium summary i {
  font-size: 1rem;
  color: var(--accent);
  transition: transform 0.4s ease;
}

.faq-accordion-premium details[open] summary i {
  transform: rotate(45deg);
}

.faq-accordion-premium .content {
  padding: 0 40px 40px;
  color: var(--text-gray);
  line-height: 1.8;
  font-size: 1.05rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 50px 40px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

.benefit-card .card-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 30px;
}

.benefit-card h3 {
  color: white;
  margin-bottom: 25px;
}

.clean-check-list {
  list-style: none;
  padding: 0;
}

.clean-check-list li {
  margin-bottom: 12px;
  opacity: 0.8;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.clean-check-list li i {
  color: var(--accent);
}

@media (max-width: 768px) {
  .masterplan-frame { padding: 0; }
  .caption-bubble { position: static; max-width: 100%; margin-top: 20px; }
  .amenity-horizontal { flex-direction: column; }
  .amenity-horizontal .amenity-img { width: 100%; height: 200px; }
}

[dir="rtl"] .caption-bubble {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 5px solid var(--accent);
}

[dir="rtl"] .amenity-horizontal:hover {
  transform: translateX(-10px);
}

/* Contact Info Bar Custom Styles */
.contact-info-bar {
    background: white;
    border-radius: 24px;
    padding: 30px 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.contact-hero {
    margin-bottom: 100px !important;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info-item + .contact-info-item {
    border-left: 1px solid #f1f5f9;
    padding-left: 30px;
}

.contact-info-icon-box {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .contact-info-bar {
        padding: 30px 20px;
        gap: 20px;
    }
    .contact-info-item + .contact-info-item {
        padding-left: 15px;
    }
}

@media (max-width: 991px) {
    .contact-info-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .contact-info-item:nth-child(2n+1) {
        border-left: none !important;
        padding-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .contact-info-bar {
        grid-template-columns: 1fr;
        padding: 25px;
        margin-top: 50px;
        text-align: left !important;
    }
    .contact-info-item {
        border-left: none !important;
        padding-left: 0 !important;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 20px;
        justify-content: flex-start !important;
        direction: ltr !important; /* Force left to right for numbers */
    }
    .contact-info-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Responsive Hero Fix for Contact Page */
@media (max-width: 768px) {
    .contact-hero {
        height: auto !important;
        min-height: 100vh !important;
        display: block !important;
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }
    .contact-hero [style*="flex: 1"] {
        flex: none !important;
        margin-bottom: 50px;
    }
    .contact-info-bar-wrapper {
        position: relative !important;
        bottom: auto !important;
        transform: none !important;
        margin-top: 40px;
    }
}
/* ============================================================
   ABOUT ORA PAGE SPECIFIC
   ============================================================ */
.about-ora-hero {
  background-position: center;
  background-size: cover;
  background-attachment: scroll; /* Better for performance on many devices */
}

.custom-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  color: var(--text-gray);
  font-size: 1rem;
}

.custom-list li i {
  color: var(--accent);
  font-size: 1.1rem;
}

.custom-list.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
}

@media (max-width: 768px) {
  .custom-list.two-cols {
    grid-template-columns: 1fr;
  }
}

.structure-card {
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

.structure-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Homepage Specific Premium Styles */
.tag {
  display: inline-block;
  padding: 8px 20px;
  background: var(--bg-creme);
  color: var(--accent);
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.tag-item {
  background: var(--bg-creme);
  color: var(--text-dark);
  padding: 6px 15px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
}

.mini-card {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid rgba(0,0,0,0.03);
}

.mini-card i {
  color: var(--accent);
  font-size: 1.2rem;
}

.live-gallery-premium {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.live-gallery-premium .gallery-item {
  border-radius: 30px;
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-lg);
}

.live-gallery-premium .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.faq-accordion-premium details {
  background: white;
  border-radius: 20px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
}

.faq-accordion-premium summary {
  padding: 25px 35px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-accordion-premium summary::-webkit-details-marker {
  display: none;
}

.faq-accordion-premium summary i {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-accordion-premium details[open] summary i {
  transform: rotate(45deg);
}

.faq-accordion-premium .content {
  padding: 0 35px 30px 35px;
  color: var(--text-gray);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .live-gallery-premium {
    grid-template-columns: 1fr;
  }
  .live-gallery-premium .gallery-item {
    height: 250px;
  }
}

/* ============================================================
   FINAL RTL & RESPONSIVE STABILITY FIXES
   ============================================================ */
html[dir="rtl"] {
    direction: rtl;
}

/* Fix for blank space around issue */
html, body {
    max-width: 100%;
    position: relative;
}

/* Ensure no horizontal scroll on reveal elements */
.reveal {
    overflow: hidden;
}

/* RTL Icon Flips */
html[dir="rtl"] .bi-chevron-right::before { content: "\f282"; }
html[dir="rtl"] .bi-chevron-left::before { content: "\f285"; }
html[dir="rtl"] .bi-arrow-right::before { content: "\f12c"; }
html[dir="rtl"] .bi-arrow-left::before { content: "\f135"; }

/* RTL Transform Fixes */
html[dir="rtl"] .footer-contact-item:hover i {
    transform: translateX(-5px);
}

html[dir="rtl"] .hover-up:hover {
    transform: translateY(-10px);
}

/* Responsive Gaps for dynamic sections */
@media (max-width: 800px) {
    .flex-responsive {
        gap: 30px !important;
    }
    .grid-2, .grid-3, .grid-4 {
        gap: 20px !important;
    }
    .section-padding {
        padding: 60px 0 !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px !important;
    }
    .hero {
        padding: 80px 0 !important;
    }
}

