/* === RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Montserrat", "Cairo", sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}
@media (max-width: 768px) {
  body {
    padding-bottom: 70px; /* Space for mobile bottom nav */
  }
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
}

/* === VARIABLES === */
:root {
  --gold: #c49f6a;
  --gold-dark: #a98748;
  --navy: #1b1b3a;
  --light: #f5f5f5;
  --text: #555;
  --radius: 6px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.13);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--navy);
  color: #fff;
  padding: 8px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  gap: 10px;
  flex-wrap: wrap;
}
.tb-left {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.tb-left span {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}
.tb-left i {
  color: var(--gold);
}
.tb-right {
  display: flex;
  gap: 14px;
  align-items: center;
}
.tb-right a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: color 0.3s;
}
.tb-right a:hover {
  color: var(--gold);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
}
.mobile-bottom-nav {
  display: none !important;
}
body {
  padding-bottom: 0 !important;
  transition: padding 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  gap: 15px;
  flex-wrap: nowrap; /* Force single line */
  direction: ltr; /* Force Logo Left, Menu Right across all languages */
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0; /* Don't shrink buttons */
  direction: ltr;
}
.lang-btn {
  font-size: 1.2rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
}
.lang-btn i:last-child {
  font-size: 0.7rem;
}
/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  direction: ltr;
}
.logo-sak {
  font-family: "Montserrat", sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 1px;
  font-style: italic; /* matches site logo */
}
.logo-group {
  font-size: 0.65rem;
  font-weight: 600;
  color: #999;
  letter-spacing: 4px;
  text-transform: uppercase;
  align-self: center;
  margin-left: 2px;
}
/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links > li > a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color 0.25s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--gold);
}
.nav-links > li > a i {
  font-size: 0.68rem;
  transition: transform 0.3s;
}
/* Dropdown */
.has-drop {
  position: relative;
}
.has-drop:hover > a i {
  transform: rotate(180deg);
}
.drop-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
  min-width: 230px;
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  z-index: 100;
}
.has-drop:hover .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.drop-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.83rem;
  font-weight: 500;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition:
    background 0.2s,
    color 0.2s,
    padding-left 0.2s;
}
.drop-menu li:last-child a {
  border-bottom: none;
}
.drop-menu li a:hover {
  background: #fdf9f3;
  color: var(--gold);
  padding-left: 26px;
}
/* CTA */
.btn-info {
  background: var(--gold);
  color: #fff;
  padding: 11px 24px;
  border-radius: 5px;
  font-size: 0.87rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-info:hover {
  background: var(--gold-dark);
}
.btn-primary {
  background: var(--navy);
  color: #fff !important;
  padding: 11px 26px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.btn-primary:hover {
  background: var(--gold);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
/* Hamburger */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 5px;
  border: none;
}
.ham span {
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 3px;
  transition: all 0.3s;
  display: block;
}
.ham.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.ham.open span:nth-child(2) {
  opacity: 0;
}
.ham.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HOME HERO  — exact match: slider (76%) + right image (24%)
   ============================================================ */
.hero-wrap {
  width: 100%;
  display: flex;
  height: 490px;
  overflow: hidden;
  background: #f0f0f0;
  max-width: 1440px; /* Aligns with navbar padding */
  margin: 25px auto;
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
/* Main slider (left big section) */
.hero-slider {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
  background: #e8e8e8;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide.active {
  opacity: 1;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
}
/* Centered logo+divider+text on the slide */
.slide-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 20px;
}
.slide-logo-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-right: 20px;
}
.slide-sak {
  font-family: "Montserrat", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--navy);
  font-style: italic;
  line-height: 1;
  letter-spacing: 1px;
}
.slide-grp {
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
}
.slide-vline {
  width: 2px;
  height: 80px;
  background: #333;
  flex-shrink: 0;
  margin: 0 28px;
}
.slide-text-block {
  padding-left: 4px;
}
.slide-ar {
  font-family: "Cairo", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--light);
  line-height: 1.3;
  margin-bottom: 6px;
}
.slide-en-sub {
  font-size: 0.82rem;
  color: #333;
  font-weight: 500;
  letter-spacing: 0.5px;
}
/* Prev/Next arrows */
.slide-prev,
.slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  color: #555;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  transition:
    background 0.3s,
    color 0.3s;
}
.slide-prev {
  left: 12px;
}
.slide-next {
  right: 12px;
}
.slide-prev:hover,
.slide-next:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
/* Dots */
.slide-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(100, 100, 100, 0.4);
  border: none;
  transition: background 0.3s;
  cursor: pointer;
}
.slide-dot.on {
  background: var(--navy);
}
/* Right narrow construction photo - Horizontal Scrolling */
.card-thumbs-scroll {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 10px 10px 15px; /* Added bottom padding for scroll line */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  scrollbar-width: thin; /* Show thin scrollbar on Firefox */
  scrollbar-color: var(--gold) transparent;
}

/* Stylized Scrollbar (The "Line") */
.card-thumbs-scroll::-webkit-scrollbar {
  height: 3px; /* Thin premium line */
}
.card-thumbs-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}
.card-thumbs-scroll::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}
.proj-card:hover .card-thumbs-scroll {
  opacity: 1;
  visibility: visible;
}
.thumb-scroll-item {
  flex: 0 0 55px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.2s;
  background: #000;
  position: relative;
}
.thumb-scroll-item img {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  opacity: 1 !important;
  transition: none !important;
}
.thumb-scroll-item.active {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(196, 159, 106, 0.5);
}
.hero-side-img {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  background: #111;
  /* Hide scrollbar for Chrome, Safari and Opera */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
.hero-side-img::-webkit-scrollbar {
  display: none;
}
.hero-side-scroll {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: max-content;
  animation: scrollH 30s linear infinite;
}
.hero-side-img:hover .hero-side-scroll {
  animation-play-state: paused;
}
.hero-side-scroll img {
  width: 300px;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
  transition: filter 0.3s;
  display: block;
  flex-shrink: 0;
}
.hero-side-scroll img:hover {
  filter: grayscale(0%);
}
@keyframes scrollH {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   ABOUT SNIPPET (homepage)
   ============================================================ */
.about-home {
  padding: 70px 40px;
  display: flex;
  align-items: center;
  gap: 60px;
  background: #fff;
  max-width: 1400px;
  margin: 0 auto;
}
.about-home-img {
  flex: 0 0 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-home-img img {
  width: 100%;
  height: auto;
  display: block;
}
.about-home-text {
  flex: 1;
  direction: rtl;
}
.about-home-text h2 {
  font-family: "Cairo", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  text-align: right;
}
.about-home-text p {
  font-family: "Cairo", sans-serif;
  font-size: 0.93rem;
  line-height: 2;
  color: var(--text);
  text-align: right;
}
.about-home-text p a,
.about-home-text p strong {
  color: var(--gold);
  font-weight: 700;
}
/* Stats row inside about section */
/* Stats section styling */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  overflow: hidden;
}

.stat-box {
  text-align: center;
  padding: 35px 15px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

/* Vertical lines for 4-column layout (Desktop) */
@media (min-width: 993px) {
  .stat-box:not(:last-child) {
    border-inline-end: 1px solid rgba(0, 0, 0, 0.08);
  }
}

/* Dividers for 2x2 layout (Mobile/Tablet) */
@media (max-width: 992px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Vertical line: odd boxes except it's the last in a row? No, just the first of each pair. */
  .stat-box:nth-child(odd) {
    border-inline-end: 1px solid rgba(0, 0, 0, 0.08);
  }
  /* Horizontal line: first row boxes */
  .stat-box:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 5px;
  filter: drop-shadow(0 2px 4px rgba(196, 159, 106, 0.2));
}

.stat-num {
  font-family: "Montserrat", sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.stat-lbl {
  font-family: "Cairo", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #666;
  letter-spacing: 0.5px;
}

@media (max-width: 992px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .stats-row {
    gap: 15px;
    padding: 15px;
  }
  .stat-num {
    font-size: 1.8rem;
  }
  .stat-icon {
    font-size: 1.5rem;
  }
}

/* ============================================================
   FULL-WIDTH VALUES SECTION (4 columns, city bg)
   ============================================================ */
.values-section {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.values-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600&q=70");
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) grayscale(20%);
}
.values-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}
.val-col {
  padding: 50px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  direction: rtl;
  text-align: right;
}
.val-col:last-child {
  border-right: none;
}
.val-col h3 {
  font-family: "Cairo", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.val-col p {
  font-family: "Cairo", sans-serif;
  font-size: 0.84rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.sec-hdr {
  text-align: center;
  margin-bottom: 50px;
}
.sec-hdr .small-lbl {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 6px;
}
.sec-hdr h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
}
.sec-hdr h2 span {
  color: var(--gold);
}
.sec-hdr .ar-sub {
  font-family: "Cairo", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 4px;
}

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

.services-sec {
  padding: 80px 40px;
  background: #fff;
}

/* الكمبيوتر */
.srv-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  gap: 20px !important;
  flex-wrap: nowrap !important;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}

.srv-grid::-webkit-scrollbar {
  height: 6px;
  display: block !important;
}

.srv-grid::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.srv-grid::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}

.srv-card {
  flex: 0 0 calc(33.333% - 14px) !important;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

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

.srv-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.srv-body {
  padding: 18px 20px;
}

/* التابلت */
@media (max-width: 992px) {
  .srv-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px; /* Space for scrollbar */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
  }

  .srv-grid::-webkit-scrollbar {
    height: 4px;
    display: block !important;
  }

  .srv-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
  }

  .srv-grid::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
  }

  .srv-card {
    flex: 0 0 calc(50% - 14px);
    scroll-snap-align: start;
  }
}


.srv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.srv-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.srv-card:hover img {
  transform: scale(1.06);
}
.srv-body {
  padding: 18px 20px;
}
.srv-body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.srv-body p {
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}
.srv-body a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
  padding: 0 !important; /* Reset any padding that makes it look like a button */
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
}
.srv-body a:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* ============================================================
   PROJECTS GRID
   ============================================================ */
.projects-sec {
  padding: 80px 40px;
  background: #fff;
}
.proj-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  gap: 20px !important;
  flex-wrap: nowrap !important;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}
.proj-grid::-webkit-scrollbar {
  height: 6px;
  display: block !important;
}
.proj-grid::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}
.proj-grid::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}
.proj-card {
  flex: 0 0 calc(33.333% - 14px) !important;
}
@media (max-width: 992px) {
  .proj-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px; /* Space for scrollbar */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
  }
  .proj-grid::-webkit-scrollbar {
    height: 4px;
    display: block !important;
  }
  .proj-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
  }
  .proj-grid::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
  }
}
.proj-card {
  flex: 0 0 calc(33.333% - 14px) !important;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.proj-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.proj-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proj-card-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1;
}
.proj-card-img img:first-of-type,
.proj-card-img img.active,
.srv-card .proj-card-img img {
  opacity: 1;
}
.proj-card:hover .proj-card-img img {
  transform: scale(1.06);
}
.proj-body {
  padding: 18px 20px;
}
.proj-body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.proj-body p {
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}
.proj-body a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}
.proj-body a:hover {
  color: var(--gold);
}

/* ============================================================
   PROJECT FILTERS (Premium Redesign)
   ============================================================ */
.filter-toggle-wrap {
  display: none;
  justify-content: center;
  margin-bottom: 20px;
}

.filter-toggle-btn {
  background: #fff;
  border: 1px solid #eee;
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-toggle-btn i:first-child {
  color: #a98748; /* Match property icon color */
  font-size: 0.9rem;
}

.filter-toggle-btn .fa-sliders-h {
  color: #a98748;
}

.proj-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: -40px auto 50px; /* Overlaps hero slightly */
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--gold);
  position: relative;
  z-index: 10;
}

.filter-sel {
  flex: 1;
  min-width: 180px;
  padding: 14px 18px;
  border: 1.5px solid #eee;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23C49F6A' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 15px center; /* For RTL */
  padding-left: 40px;
  transition: all 0.3s ease;
}

[dir="ltr"] .filter-sel {
  background-position: right 15px center;
  padding-left: 18px;
  padding-right: 40px;
}

.filter-sel:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 159, 106, 0.1);
  background-color: #fff;
}

.filter-btn-search {
  flex: 0 0 auto;
  min-width: 140px;
  padding: 14px 30px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(27, 27, 58, 0.2);
}

.filter-btn-search:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 159, 106, 0.3);
}

.filter-btn-search i {
  font-size: 1rem;
}

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}
.banner-txt {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.banner-txt h1 {
  font-size: 2.2rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   ABOUT PAGE CONTENT
   ============================================================ */
.about-content-wrap {
  padding: 70px 40px;
  display: flex;
  align-items: flex-start;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
}
.about-img {
  flex: 0 0 360px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img img {
  width: 100%;
  display: block;
}
.about-txt {
  flex: 1;
  direction: rtl;
}
.about-txt h2 {
  font-family: "Cairo", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--gold);
}
.about-txt p {
  font-family: "Cairo", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 2.1;
  margin-bottom: 14px;
}
.about-txt .hi {
  color: var(--gold);
  font-weight: 700;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-wrap {
  padding: 70px 40px;
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
}
.c-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.c-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.c-item .ico {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.c-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.c-item p {
  font-size: 0.87rem;
  color: var(--text);
}
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.social-row a {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: background 0.3s;
}
.social-row a:hover {
  background: var(--gold);
}
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #e0e0e0;
  border-radius: 5px;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  padding: 12px 28px;
  border-radius: 5px;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  align-self: flex-start;
}
.btn-gold:hover {
  background: var(--gold-dark);
}
.map-wrap {
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 0 40px 70px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   PARTNERS SLIDER (Homepage)
   ============================================================ */
.partners-home-sec {
  padding: 80px 40px;
  background: #fff;
  text-align: center;
}
.partners-home-sec .sec-hdr {
  margin-bottom: 40px;
}
.partners-home-sec .small-lbl {
  color: var(--gold) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600;
  margin-bottom: 5px;
}
.partners-home-sec h2 {
  color: var(--navy);
  font-weight: 800;
  font-size: 2rem;
}
.partners-slider {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 60px;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: max-content;
  margin: 0 auto;
}
.partner-logo {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  transition: all 0.4s ease;
}
.partner-logo img:hover {
  transform: scale(1.1);
}
.partners-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.p-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e0e0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.p-dot.active {
  background: var(--navy);
  transform: scale(1.3);
}

/* ============================================================
   GLASSMORPHISM BOOKING FORM
   ============================================================ */
.booking-section {
  padding: 80px 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}
.booking-section::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(196, 159, 106, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}
.booking-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}
.booking-content h2 {
  font-family: "Cairo", sans-serif;
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.booking-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 30px;
}
.glass-form-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
.glass-form-card h3 {
  font-family: "Cairo", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--navy);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-right: 5px;
}
.glass-input,
.glass-select,
.glass-textarea {
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
}
.glass-input:focus,
.glass-select:focus,
.glass-textarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 5px 15px rgba(196, 159, 106, 0.15);
}
.btn-premium {
  width: 100%;
  padding: 15px;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin-top: 10px;
}
.btn-premium:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(196, 159, 106, 0.2);
}
@media (max-width: 900px) {
  .booking-container {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FOOTER  (exact match: light bg, 4 cols, navy bottom bar)
   ============================================================ */
footer {
  background: #fff;
  border-top: 1px solid #eee;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.foot-logo {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 1px;
  margin-bottom: 14px;
  font-style: italic;
}
.foot-logo span {
  font-style: normal;
  font-size: 0.55em;
  font-weight: 600;
  color: #999;
  letter-spacing: 3px;
  margin-left: 2px;
}
/* Unified Logo Control */
.logo img {
  height: 40px;
  transition: height 0.3s ease;
}
.foot-col p {
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 6px;
}
.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.foot-social a {
  width: 34px;
  height: 34px;
  background: rgba(27, 27, 58, 0.1);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition:
    background 0.3s,
    color 0.3s;
}
.foot-social a:hover {
  background: var(--navy);
  color: #fff;
}
.foot-col h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid #e0e0e0;
}
.foot-col ul li {
  margin-bottom: 9px;
}
.foot-col ul li a {
  font-size: 0.85rem;
  color: var(--text);
  transition: color 0.3s;
}
.foot-col ul li a:hover {
  color: var(--gold);
}
.footer-bar {
  background: var(--navy);
  text-align: center;
  padding: 16px 40px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.btt {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s;
}
.btt.show {
  opacity: 1;
  visibility: visible;
}
.btt:hover {
  background: var(--gold);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.fade-up.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .srv-card,
  .proj-card {
    flex: 0 0 calc(50% - 14px);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .about-home {
    flex-direction: column;
  }
  .about-home-img {
    flex: none;
    width: 100%;
    max-height: 320px;
    overflow: hidden;
  }
  .about-content-wrap {
    flex-direction: column;
  }
  .about-img {
    flex: none;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
  }
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .top-bar {
    padding: 8px 10px;
    font-size: 0.65rem;
    flex-direction: row;
    justify-content: center;
    gap: 6px;
    text-align: center;
    flex-wrap: nowrap;
  }
  .tb-left {
    gap: 6px;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  /* Hide address on mobile */
  .hide-mobile {
    display: none !important;
  }

  /* Force LTR flow for contact info text so icon stays on one side properly */
  .tb-left span {
    flex-direction: row-reverse;
    justify-content: center;
    white-space: nowrap;
  }
  .tb-right {
    gap: 4px;
  }
  .tb-right > a {
    display: none !important;
  }
  .tb-right .mobile-social {
    display: block !important;
  }
  .nav-inner {
    padding: 12px 16px;
    gap: 10px;
    flex-wrap: nowrap !important;
  }
  .nav-actions {
    gap: 8px;
    flex-shrink: 0 !important;
  }
  .lang-btn {
    font-size: 1.1rem;
    padding: 4px;
    flex-shrink: 0 !important;
  }
  .ham {
    display: flex;
    margin-inline-start: 4px;
    flex-shrink: 0 !important;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0; /* Changed from left: 0 to right: 0 */
    left: auto; /* Ensure it stays on the right */
    bottom: 0;
    width: 260px;
    max-width: 85%;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 0 20px;
    z-index: 200;
    box-shadow: 0 0 0 10000px rgba(0, 0, 0, 0.7);
    overflow-y: auto;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links > li {
    width: 100%;
    margin-bottom: 0px;
  }
  .nav-links > li > a {
    font-size: 1.05rem;
    padding: 12px 20px;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .nav-links > li > a:hover,
  .nav-links > li > a.active {
    color: var(--gold);
  }
  .nav-links > li > a i {
    font-size: 0.68rem;
    transition: transform 0.3s;
  }
  .nav-links .has-drop .drop-menu,
  .nav-links .has-drop:hover .drop-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-left: none;
    text-align: start;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s;
    background: #fafafa;
    width: 100%;
    margin: 0;
  }
  .nav-links .has-drop.open .drop-menu {
    max-height: 450px;
    padding-bottom: 10px;
  }

  /* Language dropdown fix for mobile to show outside */
  .lang-drop .drop-menu {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    right: -10px !important;
    left: auto !important;
    transform: translateY(-8px) !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    box-shadow: var(--shadow-lg) !important;
    border-radius: var(--radius) !important;
    min-width: 120px !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    z-index: 9999 !important;
  }

  .lang-drop.social-drop .drop-menu {
    right: auto !important;
    left: 0 !important; /* aligns to the left side in Arabic, drops down to the right */
    min-width: 210px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  [dir="ltr"] .lang-drop.social-drop .drop-menu {
    right: 0 !important; /* aligns to the right side in EN/TR, drops down to the left */
    left: auto !important;
  }

  .lang-drop.open .drop-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
  .drop-menu li a {
    font-size: 0.95rem;
    padding: 12px 20px;
    padding-inline-start: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    text-align: start;
    color: #555;
    width: 100%;
  }
  .drop-menu li a:hover {
    background: #f0f0f0;
  }
  /* Fix hamburger position when menu is open */
  .ham {
    position: relative;
    z-index: 201;
  }
  .btn-info {
    display: none;
  }
  .hero-wrap {
    height: auto;
    flex-direction: column;
  }
  .hero-panel {
    width: 100%;
    max-height: 220px;
  }
  .slide-card {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 0 15px;
  }
  .slide-logo-block {
    padding-right: 0;
    justify-content: center;
  }
  .slide-vline {
    width: 60px;
    height: 2px;
    margin: 0 auto;
  }
  .slide-sak {
    font-size: 2.8rem;
  }
  .slide-grp {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }
  .slide-ar {
    font-size: 1.3rem;
  }
  .slide-en-sub {
    font-size: 0.8rem;
  }
  .slide-text-block {
    padding-left: 0;
  }
  .hero-slider {
    min-height: 350px;
  }
  .logo img {
    height: 32px !important; /* Smaller logo on mobile */
  }
  .hero-side-img {
    display: none;
  }

  /* Mobile Bottom Navigation - Desktop Hide removed and moved to global scope */

  /* Mobile Bottom Navigation */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding: 8px 5px;
    border-top: 1px solid #eee;
  }
  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #888;
    text-decoration: none;
    font-size: 0.75rem;
    gap: 4px;
    transition: all 0.3s ease;
    flex: 1;
  }
  .mobile-bottom-nav a i {
    font-size: 1.3rem;
    margin-bottom: 2px;
  }
  .mobile-bottom-nav a.active {
    color: var(--gold);
    font-weight: 700;
  }
  .mobile-bottom-nav a.active i {
    color: var(--navy);
  }
  /* Fix Language/Social Dropdown overflowing behind bottom nav */
  .nav-links.open {
    padding-bottom: 90px;
  }
  .srv-card,
  .proj-card {
    flex: 0 0 85%;
    margin-bottom: 0;
  }
  .values-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
  }
  .values-grid::-webkit-scrollbar {
    height: 5px;
  }
  .values-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  }
  .values-grid::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
  }
  .val-col {
    flex: 0 0 85%;
    scroll-snap-align: start;
    padding: 30px 20px;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
  }
  .val-col h3,
  .val-col p {
    text-align: center;
  }
  .val-col:last-child {
    border-left: none;
    border-bottom: none;
  }
  [dir="ltr"] .val-col {
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
  }
  [dir="ltr"] .val-col h3,
  [dir="ltr"] .val-col p {
    text-align: center;
  }
  [dir="ltr"] .val-col:last-child {
    border-right: none;
  }
  .about-home,
  .services-sec,
  .projects-sec {
    padding: 50px 18px;
  }

  /* Footer Accordion Side-by-Side */
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .foot-col:first-child,
  .foot-col:last-child {
    grid-column: span 2;
  }
  .foot-col h4 {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
    color: var(--gold);
    font-weight: 700;
  }
  .foot-col h4::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--gold);
    transition: transform 0.3s;
  }
  .foot-col.open h4::after {
    transform: rotate(180deg);
  }
  .foot-col ul,
  .foot-col .foot-info-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .foot-col.open ul,
  .foot-col.open .foot-info-content {
    max-height: 500px;
    padding-top: 15px;
  }
  .about-home-text h2,
  .about-home-text p {
    text-align: center;
  }
  .contact-wrap {
    padding: 50px 18px;
  }
  .map-wrap {
    margin: 0 18px 50px;
  }
  .page-banner {
    height: 200px;
  }
  .filter-toggle-wrap {
    display: flex;
  }
  .proj-filters {
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    padding: 25px 20px;
    gap: 15px;
    margin: 0 15px 40px;
    border-radius: 15px;
  }
  .proj-filters.open {
    display: flex;
  }
  .filter-sel,
  .filter-btn-search {
    width: 100%;
    flex: none;
    min-width: 0;
    height: 55px; /* Premium height for touch */
  }
  .proj-card,
  .srv-card {
    margin-bottom: 0;
  }
  .card-thumbs-scroll {
    opacity: 1 !important;
    visibility: visible !important;
  }
  .val-col {
    padding: 30px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .val-col:last-child {
    border-bottom: none;
  }
}

/* ============================================================
   PROJECT DETAIL PAGE
   ============================================================ */
.proj-detail-wrap {
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 40px;
  direction: rtl;
}

/* Gallery Section */
.proj-gallery {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  margin-bottom: 25px;
}
.gallery-main {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-main::-webkit-scrollbar {
  display: none;
}
.gallery-item {
  flex: 0 0 85%;
  scroll-snap-align: start;
  height: 550px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.03);
}

/* Gallery Nav - Glass Style */
.gallery-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 25px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 5;
}
.gallery-nav button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.2rem;
  pointer-events: auto;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-nav button:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.1);
}

/* Thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-bottom: 50px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.thumb-item {
  flex: 0 0 140px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s;
}
.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.thumb-item:hover img {
  opacity: 1;
}
.thumb-item.active {
  border-color: var(--gold);
}
.thumb-item.active img {
  opacity: 1;
}

/* Content Header */
.proj-content-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}
.proj-title h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.proj-title p {
  font-size: 1.1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.proj-badge {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Details Grid */
.proj-grid-info {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
}
.proj-desc p {
  font-size: 1.15rem;
  line-height: 2;
  color: #444;
  margin-bottom: 25px;
  text-align: justify;
}
.proj-features {
  margin-top: 50px;
  background: #fcfcfc;
  padding: 40px;
  border-radius: 15px;
}
.proj-features h3 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}
.proj-features h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 60px;
  height: 3px;
  background: var(--gold);
}
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--text);
}
.feature-item i {
  color: var(--gold);
  font-size: 1.2rem;
}

/* Sidebar - Glass Card */
.proj-sidebar-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  padding: 35px;
  position: sticky;
  top: 100px;
  border: 1px solid #f0f0f0;
}
.sidebar-info-row {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #f5f5f5;
}
.sidebar-info-row:last-of-type {
  border-bottom: none;
}
.info-label {
  font-weight: 700;
  color: var(--navy);
}
.info-val {
  color: var(--gold);
  font-weight: 600;
}

/* Desktop-specific adjustments */
@media (min-width: 1440px) {
  .proj-detail-wrap {
    padding: 0;
  }
}

/* Mobile Responsive Detail */
@media (max-width: 991px) {
  .proj-grid-info {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .gallery-item {
    height: 400px;
  }
  .proj-content-hdr {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .proj-title h1 {
    font-size: 2rem;
  }
  .features-list {
    grid-template-columns: 1fr;
  }
  .proj-sidebar-card {
    position: static;
  }
}

.gallery-nav button {
  display: none !important;
}

@media (max-width: 576px) {
  .proj-detail-wrap {
    padding: 0 18px;
  }
  .gallery-item {
    height: 300px;
  }
  .thumb-item {
    flex: 0 0 100px;
    height: 70px;
  }
  .proj-title h1 {
    font-size: 1.7rem;
  }
}

/* Global Desktop Layout Override for About Home (All languages) */
@media (min-width: 1101px) {
  /* This ensures Image is Left for Arabic, and Image is Right for English/Turkish */
  .about-home {
    flex-direction: row-reverse;
  }
}

@media (max-width: 768px) {
  .proj-grid, .srv-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }
  .proj-card, .srv-card {
    flex: 0 0 100% !important;
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    transition:
      transform 0.3s,
      box-shadow 0.3s;
  }
  /* Ensure the first and last cards can be centered by adding padding to the container */
  .proj-grid::before,
  .proj-grid::after,
  .srv-grid::before,
  .srv-grid::after {
    content: "";
    flex: 0 0 2.5%; /* Half of the remaining 15% to center the 85% card */
  }
}

/* ============================================================
   LANGUAGE SWITCHER DROPDOWN
   ============================================================ */
.lang-dropdown {
  position: relative;
  display: inline-block;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  transition: color 0.3s;
}
.lang-btn:hover {
  color: var(--gold);
}
.lang-menu-content {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 140px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border-top: 3px solid var(--gold);
}
.lang-dropdown:hover .lang-menu-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu-content a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
  transition:
    background 0.2s,
    color 0.2s;
}
.lang-menu-content a:last-child {
  border-bottom: none;
}
.lang-menu-content a:hover {
  background: #fcfcfc;
  color: var(--gold);
}
.lang-menu-content img {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

/* ============================================================
   MOBILE BOTTOM BAR
   ============================================================ */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  padding: 8px 15px 12px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.mbb-fabs {
  position: absolute;
  top: -55px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.mbb-fabs a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  transition: transform 0.3s;
}
.mbb-fabs a:hover {
  transform: scale(1.08);
}
.fab-wa {
  background: #25d366;
}
.fab-call {
  background: #ab1f3a;
}
.mbb-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mbb-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex: 1;
  gap: 4px;
  text-decoration: none;
  transition: color 0.3s;
}
.mbb-link i {
  font-size: 1.35rem;
}
.mbb-link span {
  font-size: 0.75rem;
  font-weight: 600;
}
.mbb-link.active,
.mbb-link:hover {
  color: var(--gold);
}

/* Media Query to show bottom bar on Mobile */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px; /* Leave space for bottom bar */
  }
  .mobile-bottom-bar {
    display: block;
  }
  .btt {
    bottom: 85px;
    right: 15px;
  } /* Adjust BackToTop button */
}

/* BTM BAR NEW NAV LAYOUT */
.mobile-bottom-bar {
  padding: 8px 5px 8px;
}
.mbb-nav {
  padding: 0 5px;
}
.mbb-link i {
  font-size: 1.6rem;
  margin-bottom: 2px;
}
.mbb-link.active i,
.mbb-link:hover i {
  color: var(--gold);
}
.mbb-link span {
  font-size: 0.75rem;
  color: #555;
  font-weight: 700;
}
.mbb-link-properties i {
  color: #ab1f3a;
} /* Distinct color for properties like screenshot */
.mbb-link.active.mbb-link-properties i,
.mbb-link-properties:hover i {
  color: var(--gold);
}
