/* css/style.css */

/* --- المتغيرات --- */
:root {
  --primary-orange: rgb(234 167 94);
  --primary-dark: #cc5600;
  --primary-glow: rgba(255, 107, 0, 0.5);
  --dark-bg: #121212;
  --sidebar-bg: #1e1e1e;
  --card-bg: rgba(60, 45, 35, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --text-white: #ffffff;
  --nav-height: 70px;
  --footer-height: 45px;
  --transition-speed: 0.9s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Tajawal", sans-serif !important;
  background-color: var(--dark-bg);
  color: var(--text-white);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}
.scrollable-glass-container {
  width: 100%;
  max-width: 1200px;
  height: 80vh;
  background: rgb(44 34 28 / 17%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 5px 5px 70px 5px;
  overflow-y: auto;
  position: relative;
  z-index: 5;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-orange) transparent;
}
.scrollable-glass-container::-webkit-scrollbar {
  width: 6px;
}
.scrollable-glass-container::-webkit-scrollbar-thumb {
  background: var(--primary-orange);
  border-radius: 10px;
}
.scrollable-glass-container {
  overscroll-behavior: contain;
}
.floating-container {
  position: fixed;
  bottom: 100px;
  left: 30px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  transition: 0.3s;
  position: relative;
}
.float-btn:hover {
  transform: scale(1.1);
}
.btn-whatsapp {
  background: #25d366;
}
.btn-bot {
  background: var(--primary-orange);
}
.float-tooltip {
  position: absolute;
  left: 70px;
  background: rgba(0, 0, 0, 0.8);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
  white-space: nowrap;
}
.float-btn:hover .float-tooltip {
  opacity: 1;
  left: 75px;
}
h1,
h2,
h3,
h4 {
  color: white;
  margin-bottom: 15px;
}
p {
  color: #ccc;
  line-height: 1.8;
  font-size: 1.1rem;
}
.text-orange {
  color: var(--primary-orange);
}
.highlight-bg {
  background: linear-gradient(
    45deg,
    var(--primary-orange),
    var(--primary-dark)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.btn-main {
  padding: 12px 40px;
  background: var(--primary-orange);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}
.btn-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.5s;
}
.btn-main:hover::before {
  left: 100%;
}
.btn-glass {
  padding: 12px 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: 0.3s;
  display: inline-block;
  text-align: center;
}
.btn-glass:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 55px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: linear-gradient(to bottom, rgb(44 34 28), #2c221c45);
  pointer-events: none;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
  pointer-events: all;
}
.logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100px;
}
.menu-trigger-icon {
  font-size: 1.4rem;
  color: #ffffff;
  cursor: pointer;
  transition: 0.3s;
}
.menu-trigger-icon:hover {
  transform: scale(1.1);
  color: white;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: all;
}
.header-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}
.header-custom-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(0.85);
  transition: 0.3s ease;
  vertical-align: middle;
  margin-top: -2px;
}
.icon-item:hover .header-custom-icon {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}
.fa-deaf {
  font-size: 0.8rem;
}
.icon-item {
  color: #ccc;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
}
.icon-item:hover {
  color: white;
}
.icon-item span {
  font-size: 0.9rem;
}
.header-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
}
.vision-logo {
  height: 45px;
  opacity: 0.9;
}
.right-sidebar {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background-color: var(--sidebar-bg);
  width: 60px;
  border-radius: 30px;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 1000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.menu-trigger {
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  margin-bottom: 10px;
  transition: 0.3s;
}
.menu-trigger:hover {
  color: var(--primary-orange);
  transform: rotate(90deg);
}
.sidebar-divider {
  width: 30px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.section-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #888;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.4s;
  position: relative;
}
.section-icon.active {
  background-color: var(--primary-orange);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--primary-glow);
}
.section-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 60px;
  background: var(--primary-orange);
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  white-space: nowrap;
  color: white;
  font-weight: bold;
  transform: translateX(10px);
}
.section-icon:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.main-app {
  position: relative;
  width: 100%;
  height: 100%;
}
.page-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s;
}
.page-container.active-page {
  opacity: 1;
  pointer-events: all;
  z-index: 5;
}
section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 90px;
  padding-left: 40px;
  box-sizing: border-box;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: all var(--transition-speed) cubic-bezier(0.19, 1, 0.22, 1);
  background-color: var(--dark-bg);
}
.mt-hero-layout,
.mt-strategy-grid,
.mt-values-layout,
.bento-grid,
.contact-hero {
  max-height: 100%;
  width: 100%;
  margin: 0 auto;
}
section.active-section {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  z-index: 10;
}
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease 0.3s;
}
.active-section .fade-up {
  opacity: 1;
  transform: translateY(0);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 20px;
  width: 100%;
  max-width: 1200px;
}
.bento-item {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}
.bento-wide {
  grid-column: span 2;
}
.overlap-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 500px;
  display: flex;
  align-items: center;
}
.overlap-img {
  width: 60%;
  height: 100%;
  background-size: cover;
  border-radius: 20px;
  position: absolute;
  left: 0;
  filter: brightness(0.7);
}
.overlap-text {
  width: 50%;
  background: rgba(30, 30, 30, 0.95);
  padding: 50px;
  border-radius: 20px;
  position: absolute;
  right: 0;
  box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.5);
  border-right: 5px solid var(--primary-orange);
  backdrop-filter: blur(10px);
}
.glass-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.glass-card {
  width: 300px;
  background: #2c221c;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
  min-height: auto;
}
/* .glass-card:hover {
  background: rgba(255, 107, 0, 0.1);
  border-color: var(--primary-orange);
} */
.contact-hero {
  width: 90%;
  height: 85%;
  background: #222;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}
.contact-info-side {
  flex: 1;
  background: url("https://images.unsplash.com/photo-1516387938699-a93567ec168e?q=80")
    center/cover;
  position: relative;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.contact-info-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--primary-orange), transparent);
  opacity: 0.9;
}
.contact-form-side {
  flex: 1.5;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #1e1e1e;
}
.input-group {
  position: relative;
  margin-bottom: 25px;
  width: 100%;
}
.custom-input {
  width: 100%;
  padding: 15px;
  background: transparent;
  border: none;
  color: white;
  font-size: 1rem;
  transition: 0.3s;
  border-radius: 5px;
}
.custom-input:focus {
  border-color: var(--primary-orange);
}
.input-label {
  position: absolute;
  right: 0;
  top: 15px;
  color: #888;
  transition: 0.3s;
  pointer-events: none;
}
.custom-input:focus ~ .input-label,
.custom-input:valid ~ .input-label {
  top: -10px;
  font-size: 0.8rem;
  color: var(--primary-orange);
}
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--footer-height);
  background: rgb(44 34 28 / 48%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 60px;
  z-index: 900;
}
.nav-link {
  color: #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none; /* Added for <a> tags */
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-orange);
  transform: translateY(-3px);
}
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #2c221c;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.1);
  transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
  padding: 3px 40px;
  overflow-y: auto;
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 5px;
  padding-top: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.close-drawer {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20%;
  cursor: pointer;
  transition: 0.3s;
  color: white;
  font-size: 1.2rem;
}
.close-drawer:hover {
  background: var(--primary-orange);
  transform: rotate(90deg);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
  align-content: center;
}
.dash-card {
  background-color: #3b2d25;
  border-radius: 15px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  cursor: pointer;
  transition: 0.3s;
  min-height: 135px;
  text-align: center;
  border: 1px solid #53473f;
  text-decoration: none; /* Added for <a> tags */
  color: inherit; /* Added for <a> tags */
}
.dash-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-orange);
  background: #eaa75e00;
}
.dash-card i {
  font-size: 2rem;
  color: #ffffff;
  transition: 0.3s;
}
.dash-card:hover i {
  color: var(--primary-orange);
}
.drawer-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  color: #ffffff;
  font-size: 0.8rem;
  margin-top: 20px;
}
.hero-notify-card {
  position: absolute;
  right: 5%;
  bottom: 110px;
  width: 450px;
  max-width: 90%;
  background: rgb(44 34 28 / 80%);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 100;
  transition: transform 0.3s ease;
}
.hero-notify-card:hover {
  transform: translateY(-5px);
}
.notify-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
}
.close-notify {
  cursor: pointer;
  color: #888;
  transition: 0.3s;
}
.close-notify:hover {
  color: var(--primary-orange);
}
.notify-slide {
  display: none;
  animation: fadeIn 0.8s;
}
.notify-slide.active {
  display: block;
}
.notify-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.notify-title {
  color: var(--primary-orange);
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: bold;
}
.notify-desc {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}
.progress-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}
.slider-dots {
  display: flex;
  gap: 5px;
}
.dot {
  width: 30px;
  height: 4px;
  background: #444;
  border-radius: 2px;
  transition: 0.3s;
}
.dot.active {
  background: var(--primary-orange);
  width: 50px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.header-menu-btn {
  pointer-events: all;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 30px;
  transition: 0.3s;
}
.header-menu-btn:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: translateY(2px);
}
.mt-hero-layout {
  display: flex;
  width: 90%;
  height: 80vh;
  gap: 20px;
  max-width: 1400px;
}
.mt-brand-card {
  flex: 1;
  background: linear-gradient(135deg, #1e1e1e, #141414);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.mt-content-side {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mt-main-img {
  flex: 2;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.mt-info-strip {
  flex: 1;
  background: rgba(30, 30, 30, 0.9);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-right: 5px solid var(--primary-orange);
}
.mt-list li {
  margin-bottom: 10px;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mt-list li::before {
  content: "•";
  color: var(--primary-orange);
  font-size: 1.5rem;
}
.mt-strategy-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 25px;
  width: 90%;
  max-width: 1300px;
  height: 70vh;
}
.mt-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}
.mt-stat-card {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}
.mt-stat-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-5px);
}
.mt-leader-hero {
  background: linear-gradient(to bottom, #2c221c, #1a1a1a);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.mt-leader-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 60%;
  object-fit: contain;
  object-position: top center;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}
.mt-leader-txt {
  padding: 30px;
  z-index: 2;
}
.mt-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 90%;
  max-width: 1300px;
}
.mt-profile-card {
  background: #1e1e1e;
  border-radius: 15px;
  overflow: hidden;
  height: 380px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}
.mt-profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.mt-profile-img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  background-position: top center;
  filter: grayscale(20%);
  transition: 0.4s;
}
.mt-profile-card:hover .mt-profile-img {
  filter: grayscale(0%);
  height: 65%;
}
.mt-profile-info {
  padding: 15px;
  text-align: center;
  height: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.btn-cv {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: 0.3s;
  cursor: pointer;
}
.mt-profile-card:hover .btn-cv {
  opacity: 1;
}
.mt-values-layout {
  background: #181818;
  border-radius: 30px;
  padding: 50px;
  width: 90%;
  max-width: 1400px;
  border: 1px solid #333;
}
.mt-values-header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mt-values-grid-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.mt-value-box h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.3rem;
}
.mt-value-box p {
  font-size: 0.95rem;
  color: #888;
  line-height: 1.7;
}
.logo-scale svg {
  transform: scale(1.6);
  transform-origin: center;
  margin-bottom: 15px;
}
.awards-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.awards-bg-layer {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1511795409834-ef04bbd61622?q=80&w=2000")
    center/cover;
  opacity: 0.1;
  z-index: -1;
}
.awards-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  z-index: 2;
}
.new-award-card {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: 0.4s;
}
.new-award-card:hover {
  transform: translateY(-10px);
  border-color: #ff6b00;
  background: rgba(255, 107, 0, 0.05);
}
.award-icon-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b00;
  font-size: 1.5rem;
}
.mini-input {
  width: 100%;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 0.85rem;
  font-family: "Tajawal", sans-serif;
}
.mini-input::placeholder {
  color: #ffffff;
  opacity: 1;
}
.mini-input:focus {
  border-color: var(--primary-orange);
  background: rgba(255, 255, 255, 0.15);
}
.mini-input option {
  background: #2c221c;
  color: white;
}
.chat-window {
  position: fixed;
  bottom: 100px;
  left: 100px;
  width: 350px;
  height: 450px;
  background-color: #1e1e1e;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1600;
  transform-origin: bottom left;
  transform: scale(0);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chat-window.active {
  transform: scale(1);
  opacity: 1;
}
.chat-header {
  background: linear-gradient(
    to right,
    var(--primary-orange),
    var(--primary-dark)
  );
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}
.chat-header h3 {
  margin: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-close {
  cursor: pointer;
  transition: 0.3s;
}
.chat-close:hover {
  transform: rotate(90deg);
}
.chat-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #151515;
}
.message {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
  word-wrap: break-word;
}
.bot-msg {
  background: #333;
  color: #ddd;
  align-self: flex-start;
  border-bottom-right-radius: 2px;
}
.user-msg {
  background: var(--primary-orange);
  color: white;
  align-self: flex-end;
  border-bottom-left-radius: 2px;
}
.chat-footer {
  padding: 15px;
  background: #1e1e1e;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 10px;
}
.chat-input {
  flex: 1;
  background: #2a2a2a;
  border: none;
  border-radius: 20px;
  padding: 10px 15px;
  color: white;
  font-family: "Tajawal";
}
.chat-send {
  width: 40px;
  height: 40px;
  background: var(--primary-orange);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.chat-send:hover {
  transform: scale(1.1);
}
.procurement-body {
  display: flex;
  min-height: 335px;
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(10px);
}
.procurement-grid-side {
  flex: 1.2;
  padding: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}
.procurement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.procurement-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  gap: 10px;
}
.procurement-item i {
  font-size: 1.4rem;
  color: #aaa;
  transition: 0.3s;
}
.procurement-item span {
  font-size: 0.8rem;
  color: #ddd;
}
.procurement-item:hover,
.procurement-item.active {
  background: rgba(234, 167, 94, 0.15);
  border-color: var(--primary-orange);
  transform: translateY(-3px);
}
.procurement-item:hover i,
.procurement-item.active i {
  color: var(--primary-orange);
}
.procurement-info-side {
  flex: 1;
  background: rgba(15, 15, 15, 0.9);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.etimaad-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: white;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 0.9rem;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.etimaad-btn:hover {
  color: var(--primary-orange);
  border-color: var(--primary-orange);
  background: rgba(234, 167, 94, 0.1);
}
.fade-in-anim {
  animation: fadeInText 0.5s ease;
}
@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.sky-building {
  overflow: hidden;
}
.sky-building::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 15px 20px;
  opacity: 0.5;
  z-index: 0;
}
.building-content {
  position: relative;
  z-index: 1;
}
.sky-building:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  transform: scaleY(1.02);
  cursor: pointer;
}
.featured-tower:hover {
  filter: brightness(1.2);
  transform: scaleY(1.02);
}
.org-chart-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 5px 10px 5px 10px;
  direction: rtl;
  cursor: grab;
}
.org-chart-scroll-wrapper:active {
  cursor: grabbing;
}
.smart-org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 1200px;
  margin: 0 auto;
}
.chart-level {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 15px;
  width: 100%;
}
.org-node {
  background: linear-gradient(145deg, #1e1e1e, #141414);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.org-node:hover {
  border-color: var(--primary-orange);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(234, 167, 94, 0.15);
}
.node-content {
  font-size: 0.85rem;
  color: white;
  line-height: 1.4;
}
.main-node {
  width: 220px;
  height: 75px;
  border-top: 3px solid var(--primary-orange);
}
.side-node {
  width: 180px;
  height: 60px;
}
.small-node {
  width: 190px;
  height: 55px;
  font-size: 0.8rem;
}
.bottom-node {
  width: 140px;
  height: 85px;
  font-size: 0.75rem;
  align-items: flex-start;
  padding-top: 15px;
}
.icon-crown {
  position: absolute;
  top: -15px;
  background: #1e1e1e;
  padding: 0 10px;
  color: var(--primary-orange);
}
.h-line {
  height: 1px;
  width: 60px;
  background: rgba(255, 255, 255, 0.2);
}
.line-1 {
  width: 100px;
}
.v-line-down,
.v-line-top {
  position: absolute;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  left: 50%;
  transform: translateX(-50%);
}
.v-line-down {
  height: 40px;
  bottom: -42px;
}
.v-line-top {
  height: 72px;
  top: -80px;
}
.v-line-down.long {
  height: 60px;
  bottom: -62px;
}
.node-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  margin: 0 40px;
}
.group-connector-v {
  position: absolute;
  top: 50%;
  bottom: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  top: 27px;
  bottom: 27px;
}
.right-group .group-connector-v {
  left: -20px;
}
.left-group .group-connector-v {
  right: -20px;
}
.node-group .small-node::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.right-group .small-node::before {
  left: -20px;
}
.left-group .small-node::before {
  right: -20px;
}
.group-connector-h {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.right-group .group-connector-h {
  left: -60px;
}
.left-group .group-connector-h {
  right: -60px;
}
.level-4 {
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 20px;
}
.bus-line {
  width: 90%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 0;
}
.bottom-nodes-container {
  display: flex;
  justify-content: space-between;
  width: 90%;
}
.leaf-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.v-stem {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
}
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 10px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 5px;
  align-items: center;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 150px;
}
.filter-label {
  font-size: 0.8rem;
  color: #888;
}
.filter-select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 10px;
  border-radius: 8px;
  width: 100%;
}
.view-toggles {
  display: flex;
  gap: 5px;
  background: rgba(0, 0, 0, 0.3);
  padding: 5px;
  border-radius: 8px;
}
.view-btn {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 5px;
  color: #888;
  transition: 0.3s;
}
.view-btn.active,
.view-btn:hover {
  background: var(--primary-orange);
  color: white;
}
.project-card-adv {
  background: #1e1e1e;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.project-card-adv:hover {
  transform: translateY(-5px);
  border-color: var(--primary-orange);
}
.adv-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  color: white;
}
.status-ready {
  background: #27ae60;
}
.status-construction {
  background: #f39c12;
}
.adv-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: #aaa;
  margin: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}
.projects-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.projects-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0 5px;
  width: 100%;
  height: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.projects-track::-webkit-scrollbar {
  display: none;
}
.project-slide-card {
  flex: 0 0 380px;
  height: 100%;
  background: #1e1e1e;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
  position: relative;
}
.project-slide-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-orange);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.slide-card-img {
  height: 65%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.slide-card-body {
  height: 35%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(to top, #1a1a1a, #222);
}
.slider-nav-btn {
  position: relative;
  width: 45px;
  height: 45px;
  background: rgba(234, 167, 94, 0.2);
  border: 1px solid var(--primary-orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(5px);
  transition: 0.3s;
}
.slider-nav-btn:hover {
  background: var(--primary-orange);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: scale(1.05);
}
.masterplan-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hotspot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-orange);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(234, 167, 94, 0.7);
  animation: pulse-orange 2s infinite;
  z-index: 2;
}
.hotspot::after {
  content: attr(data-info);
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
.hotspot:hover::after {
  opacity: 1;
  bottom: 30px;
}
@keyframes pulse-orange {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(234, 167, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(234, 167, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(234, 167, 94, 0);
  }
}
.custom-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px;
  border-radius: 30px;
  width: fit-content;
}
.custom-tab {
  padding: 8px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #aaa;
  transition: 0.3s;
}
.custom-tab.active {
  background: var(--primary-orange);
  color: white;
}
.tab-content {
  display: none;
  animation: fadeIn 0.5s;
}
.tab-content.active-content {
  display: block;
}
.unit-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
}
.dot-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ds-green {
  background: #27ae60;
}
.ds-red {
  background: #c0392b;
}
.ds-yellow {
  background: #f39c12;
}
.card-row-details {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.8rem;
  color: #ddd;
  margin-top: 5px;
}
.card-price {
  color: var(--primary-orange);
  font-weight: bold;
  margin-right: auto;
  font-size: 0.9rem;
}
.slide-card-body {
  padding: 15px;
  background: linear-gradient(
    to top,
    #241e1b 20%,
    rgb(33 27 25) 80%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.card-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
.card-status {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--primary-orange);
  color: white;
}
.projects-slider-wrapper {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.projects-track.view-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  padding-bottom: 60px;
  align-content: start;
  padding-right: 5px;
}
.projects-track.view-grid .project-slide-card {
  width: 100%;
  height: 320px;
  flex: none;
  margin: 0;
}
.projects-track.view-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  padding-bottom: 60px;
  padding-right: 5px;
}
.projects-track.view-list .project-slide-card {
  width: 100%;
  height: 110px;
  flex: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.projects-track.view-list .slide-card-img {
  width: 130px;
  height: 100%;
  border-radius: 12px;
  margin-left: 15px;
  flex-shrink: 0;
}
.projects-track.view-list .status-badge {
  display: none;
}
.projects-track.view-list .card-row-details span i {
  color: var(--primary-orange);
}
.projects-track.view-list .slide-card-body {
  flex: 1;
  height: 100%;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.projects-track.view-list .card-row-top {
  margin-bottom: 0;
}
.projects-track.view-list .card-title {
  font-size: 1.1rem;
}
.projects-track.view-list .card-row-details {
  font-size: 0.8rem;
  margin-top: 5px;
  gap: 15px;
}
#projectsMap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  border-radius: 15px;
  overflow: hidden;
  background: #222;
}
.fixed-glass-panel {
  width: 100%;
  max-width: 1200px;
  height: calc(100vh - 180px);
  background: rgb(44 34 28);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 5;
}
.fixed-glass-panel .bento-grid {
  grid-template-rows: repeat(2, 1fr);
  height: 100%;
}
.projects-track.view-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  flex-wrap: wrap;
  padding-right: 5px;
  padding-bottom: 20px;
}
.projects-track.view-grid .project-slide-card {
  flex: none;
  width: 100%;
  height: 320px;
  margin-bottom: 0;
}
.projects-track.view-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px;
}
.projects-track.view-list .project-slide-card {
  flex: none;
  width: 100%;
  height: 100px;
  display: flex;
  flex-direction: row;
}
.projects-track.view-list .slide-card-img {
  width: 120px;
  height: 100%;
  position: relative;
}
.projects-track.view-list .slide-card-body {
  flex: 1;
  background: transparent;
  justify-content: center;
  padding: 10px 20px;
}
.projects-track.view-list .card-row-details {
  margin-top: 5px;
  color: #bbb;
}
.sector-tab.active-sector {
  background: var(--primary-orange) !important;
  color: white !important;
}
.sector-tab:hover:not(.active-sector) {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}
.radio-selector-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.radio-selector {
  position: relative;
  cursor: pointer;
}
.radio-selector input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio-selector-content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #ccc;
}
.radio-selector:hover .radio-selector-content {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.radio-selector input[type="radio"]:checked ~ .radio-selector-content {
  background: rgba(234, 167, 94, 0.1);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.radio-selector-content .fas {
  font-size: 1.2rem;
}
.radio-selector-content span {
  font-size: 0.9rem;
  font-weight: 500;
}

.logo-item img {
    max-width: 80%;
    max-height: 50%;
    filter: grayscale(1);
    opacity: 0.5;
}



/* حق الشركاء */
/* css/style.css */

/* --- Partners Slider --- */
.sliders-global-container {
  width: 100%;
  max-width: 1400px; /* يمكن زيادة العرض ليشغل مساحة أكبر */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.infinite-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
  mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}

/* 
   لا نستخدم before/after للتلاشي بعد الآن،
   لأن خاصية mask-image أفضل وتعمل مع أي خلفية (صورة أو لون).
*/

.logos-track {
  display: flex;
  flex-wrap: nowrap; /* <<-- إصلاح أساسي: يمنع الشعارات من النزول لسطر جديد */
  width: calc(200px * 36); /* (عرض الشعار * عدد الشعارات * 2 للتكرار) */
  align-items: center;
  will-change: transform;
}

.logos-track:hover {
  animation-play-state: paused;
}

.track-to-left {
  animation: scroll-left 60s linear infinite;
}

.track-to-right {
  animation: scroll-right 60s linear infinite;
}

.logo-item {
  height: 120px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  /* تم حذف الخلفية من هنا لإزالة المربعات السوداء */
  cursor: pointer;
}

.logo-item img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(1) brightness(4); /* <<-- إصلاح أساسي: يجعل كل الشعارات بيضاء وواضحة */
  transition: all 0.4s ease;
}

.logo-item:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(1); /* <<-- التأثير عند مرور الماوس */
  transform: scale(1.1);
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-200px * 18)); } /* (عرض الشعار * عدد الشعارات) */
}

@keyframes scroll-right {
  0% { transform: translateX(calc(-200px * 18)); }
  100% { transform: translateX(0); }
}

@media (max-width: 900px) {
  .overlap-container {
    flex-direction: column;
    height: auto;
  }
  .overlap-img {
    width: 100%;
    height: 300px;
    position: relative;
  }
  .overlap-text {
    width: 90%;
    position: relative;
    margin-top: -50px;
    right: auto;
    border-right: none;
  }
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .bento-large,
  .bento-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  section {
    padding-right: 20px;
    align-items: flex-start;
    padding-top: 90px;
  }
  .right-sidebar {
    display: none;
  }
  .contact-hero {
    flex-direction: column;
    width: 100%;
    height: auto;
    overflow: visible;
  }
  .contact-info-side {
    height: 200px;
    padding: 20px;
  }
  .contact-form-side {
    padding: 30px;
  }
  .floating-container {
    bottom: 80px;
    left: 15px;
  }
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-notify-card {
    display: none;
  }
  .mt-hero-layout,
  .mt-strategy-grid {
    flex-direction: column;
    height: auto;
    display: flex;
  }
  .mt-brand-card {
    min-height: 200px;
  }
  .mt-main-img {
    height: 300px;
    min-height: 300px;
  }
  .mt-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mt-values-grid-items {
    grid-template-columns: 1fr;
  }
  .mt-stats-grid {
    grid-template-columns: 1fr;
  }
  .procurement-body {
    flex-direction: column-reverse;
  }
  .procurement-grid-side {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
}

@media (max-width: 768px) {
  body {
    overflow-y: auto !important;
    height: auto !important;
  }
  .chat-window {
    left: 20px;
    right: 20px;
    bottom: 90px;
    width: auto;
    height: 60vh;
  }
  .page-container:not(.active-page) {
    display: none !important;
  }
  .page-container.active-page {
    position: relative !important;
    display: block !important;
    height: auto !important;
  }
  section {
    position: relative !important;
    top: 0 !important;
    height: auto !important;
    min-height: auto !important;
    padding: 60px 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: block !important;
  }
  #page-home section.active-section {
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  .hero-notify-card {
    display: block !important;
    position: absolute !important;
    bottom: 85px !important;
    left: 5% !important;
    width: 90% !important;
    max-width: none !important;
    padding: 15px !important;
    background: rgba(44, 34, 28, 0.95) !important;
    backdrop-filter: blur(10px);
    z-index: 1000 !important;
  }
  .notify-img {
    height: 140px !important;
  }
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
  header,
  .bottom-nav {
    position: fixed !important;
    z-index: 2000;
  }
  .mt-hero-layout {
    flex-direction: column !important;
    height: auto !important;
    gap: 15px !important;
  }
  #page-about .mt-content-side > div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 15px !important;
  }
  #page-about .mt-content-side > div > div {
    width: 100% !important;
    flex: none !important;
  }
  section[data-label="الاستدامة"] .mt-values-layout > div[style*="display: grid"],
  section[data-label="الاستدامة"] div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .mt-strategy-grid {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  .mt-stats-grid {
    grid-template-columns: 1fr !important;
  }
  .awards-grid-container {
    grid-template-columns: 1fr !important;
  }
  .mt-team-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .ultra-glass-card,
  .new-award-card,
  .mt-profile-card {
    margin-bottom: 10px;
  }
  div[style*="display: flex; align-items: flex-end; justify-content: center"] {
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    gap: 20px !important;
    padding: 20px !important;
  }
  .sky-building {
    height: auto !important;
    min-height: 120px !important;
    flex: none !important;
    width: 100% !important;
    padding: 20px !important;
    border-top: none !important;
    border-right: 4px solid var(--primary-orange) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
  }
  .sky-building div[style*="font-size: 1.5rem"],
  .sky-building div[style*="font-size: 1.8rem"] {
    font-size: 1.2rem !important;
    margin-bottom: 0 !important;
    min-width: 60px;
    color: var(--primary-orange) !important;
  }
  .building-content {
    text-align: right !important;
    opacity: 1 !important;
  }
  .building-content h4 {
    margin-bottom: 5px !important;
  }
  .building-content p {
    display: block !important;
    font-size: 0.85rem !important;
  }
  .featured-tower div[style*="width: 2px"],
  .featured-tower div[style*="width: 6px"] {
    display: none !important;
  }
  .infinite-slider {
    padding: 20px 0 !important;
  }
  .logos-track {
    gap: 15px !important;
  }
  .logo-item {
    width: 120px !important;
    height: 70px !important;
    background: rgba(255, 255, 255, 0.05) !important;
  }
  .logo-item img {
    max-width: 70% !important;
    opacity: 0.8 !important;
    filter: grayscale(0) !important;
  }
  .track-to-left {
    animation-duration: 20s !important;
  }
  .track-to-right {
    animation-duration: 20s !important;
  }
  section[data-label="شركاؤنا"] .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
  section[data-label="شركاؤنا"] {
    display: block !important;
    height: auto !important;
    padding: 40px 0 !important;
    overflow: hidden !important;
  }
  .infinite-slider {
    width: 100% !important;
    overflow: visible !important;
    margin-bottom: 15px !important;
  }
  .logos-track {
    display: flex !important;
    width: max-content !important;
    gap: 15px !important;
    will-change: transform;
  }
  .logo-item {
    width: 130px !important;
    height: 70px !important;
    flex-shrink: 0 !important;
    background: #111 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
  }
  section[data-label="شركاؤنا"] {
    display: block !important;
    overflow: hidden !important;
    padding: 40px 0 !important;
  }
  .infinite-slider {
    width: 100% !important;
    overflow: visible !important;
  }
  .logos-track {
    display: flex !important;
    width: max-content !important;
    gap: 20px !important;
  }
  .logo-item {
    width: 130px !important;
    height: 70px !important;
    flex-shrink: 0 !important;
  }
  @keyframes scrollLeftMobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-150px * 6));
    }
  }
  @keyframes scrollRightMobile {
    0% {
      transform: translateX(calc(-150px * 6));
    }
    100% {
      transform: translateX(0);
    }
  }
  .track-to-left {
    animation: scrollLeftMobile 12s linear infinite !important;
  }
  .track-to-right {
    animation: scrollRightMobile 12s linear infinite !important;
  }
  .project-slide-card {
    flex: 0 0 85vw;
  }
  .slider-nav-btn {
    display: none;
  }
  .filters-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .view-toggles {
    justify-content: center;
    margin-top: 10px;
  }
  .project-meta {
    flex-wrap: wrap;
  }
  .org-chart-scroll-wrapper {
    justify-content: flex-start;
    padding-bottom: 50px;
  }
  .org-chart-scroll-wrapper::after {
    content: "← اسحب للتنقل →";
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    pointer-events: none;
    opacity: 0.8;
  }
  .org-chart-scroll-wrapper {
    overflow-x: hidden;
    padding: 20px 10px;
    cursor: default;
  }
  .smart-org-chart {
    min-width: auto;
    width: 100%;
  }
  .chart-level {
    flex-direction: column;
    margin-bottom: 20px;
    gap: 15px;
  }
  .h-line,
  .group-connector-h,
  .group-connector-v,
  .bus-line,
  .v-stem,
  .v-line-top,
  .v-line-down {
    display: none !important;
  }
  .org-node,
  .main-node,
  .side-node,
  .small-node,
  .bottom-node {
    width: 90% !important;
    height: auto !important;
    min-height: 50px;
    margin: 0 auto !important;
    padding: 15px;
  }
  .chart-level::before {
    content: "";
    width: 2px;
    height: 15px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    display: block;
  }
  .level-1::before {
    display: none;
  }
  .level-1 {
    flex-direction: column-reverse;
  }
  .level-2 {
    flex-direction: column;
  }
  .ceo-node {
    order: -1;
    margin-bottom: 10px;
  }
  .node-group {
    width: 100%;
    margin: 0;
    gap: 10px;
  }
  .node-group .small-node::before {
    display: none;
  }
  .bottom-nodes-container {
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
    justify-content: center;
  }
  .leaf-wrapper {
    width: 48%;
  }
  .bottom-node {
    width: 100% !important;
    font-size: 0.7rem;
    height: 70px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
  }
  .icon-crown {
    top: -10px;
    font-size: 0.8rem;
  }
  .icon-item[title="حسابي"],
  .icon-item[title="بحث"],
  .icon-item[title="المحادثة"],
  .icon-item[title="المساعدة"] {
    display: none !important;
  }
  .header-left {
    gap: 1px !important;
  }
  .header-right {
    gap: 10px;
  }
  .header-icons {
    gap: 10px !important;
  }
  header {
    padding: 0 25px;
  }
  .bottom-nav {
    gap: 29px;
  }
  .header-divider {
    height: 20px !important;
    margin: 0 2px !important;
  }
  .vision-logo {
    height: 25px !important;
  }
  .header-custom-icon {
    width: 24px !important;
    height: 24px !important;
  }
}

/* سكشن المشاريع في صفحة المشاريع */
    /* حاوية الشبكة */
    .projects-grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* أعمدة متجاوبة */
        gap: 25px;
        width: 100%;
        padding-bottom: 20px;
    }

    /* تصميم بطاقة المشروع */
    .project-card-item {
        background: #1e1e1e;
        border-radius: 20px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
        display: flex;
        flex-direction: column;
        text-decoration: none;
        height: 350px; /* ارتفاع موحد للبطاقات */
    }

    .project-card-item:hover {
        transform: translateY(-5px);
        border-color: var(--primary-orange);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    /* صورة البطاقة */
    .card-img-wrapper {
        height: 60%;
        background-size: cover;
        background-position: center;
        position: relative;
    }

    /* تفاصيل البطاقة */
    .card-content {
        height: 40%;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: linear-gradient(to top, #241e1b, #1e1e1e);
    }

    .card-title {
        font-size: 1.2rem;
        font-weight: bold;
        color: white;
        margin: 0;
    }

    .card-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #bbb;
        font-size: 0.9rem;
        border-top: 1px solid rgba(255,255,255,0.05);
        padding-top: 15px;
    }

    .card-info .price {
        color: var(--primary-orange);
        font-weight: bold;
    }

    /* نمط عرض القائمة (List View) عند الضغط على زر القائمة */
    .projects-grid-container.list-view {
        grid-template-columns: 1fr; /* عمود واحد */
    }
    .projects-grid-container.list-view .project-card-item {
        flex-direction: row; /* الصورة بجانب النص */
        height: 140px;
    }
    .projects-grid-container.list-view .card-img-wrapper {
        width: 180px;
        height: 100%;
        flex-shrink: 0;
    }
    .projects-grid-container.list-view .card-content {
        height: 100%;
        flex: 1;
        justify-content: center;
        gap: 10px;
    }

    /* تحسين للجوال */
    @media (max-width: 768px) {
        .projects-grid-container {
            grid-template-columns: 1fr; /* عمود واحد في الجوال */
        }
        .project-card-item {
            height: 300px;
        }
        .filters-bar {
            flex-direction: column;
        }
        .view-toggles {
            display: none; /* إخفاء أزرار تغيير العرض في الجوال لتبسيط الواجهة */
        }
    }

/* فلتر المشاريع */
       .filter-label { display: block; margin-bottom: 8px; color: #bbb; font-size: 0.85rem; padding-right: 5px; }
    .select-wrapper { position: relative; width: 100%; }
    .filter-select { width: 100%; appearance: none; -webkit-appearance: none; background-color: #1a1a1a; border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; padding: 12px 15px; color: #fff; font-size: 0.9rem; cursor: pointer; transition: 0.3s; font-family: 'Tajawal', sans-serif; }
    .filter-select:hover { border-color: var(--primary-orange); background-color: #252525; }
    .filter-select:focus { border-color: var(--primary-orange); box-shadow: 0 0 0 3px rgba(234, 167, 94, 0.2); outline: none; }
    .select-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--primary-orange); font-size: 0.8rem; pointer-events: none; }
    .filter-select option { background-color: #222; color: #fff; padding: 10px; }


    /* حق معرض المشروع */
    /* --- Gallery Grid Styles --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 15px;
    height: 250px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    z-index: 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

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

.overlay i {
    color: white;
    font-size: 2rem;
}

/* --- Lightbox Styles --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999; /* قيمة عالية جداً ليكون فوق القائمة الجانبية */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.mySlides {
    display: none;
}

.mySlides img {
    max-height: 85vh;
    width: auto;
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.close-btn {
    color: white;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100;
    transition: 0.3s;
}
.close-btn:hover { color: #EAA75E; }

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    background: rgba(0,0,0,0.5);
    user-select: none;
    border-radius: 5px;
    text-decoration: none;
}
.next { right: 0; }
.prev { left: 0; }
.prev:hover, .next:hover { background-color: #EAA75E; }

