/* ========== RESET & BASE ========== */
* {
  box-sizing: border-box;
}

body {
  margin     : 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color      : #fff;
  background : #000;
  overflow-x : hidden;
  overflow-y : auto;
}

/* ========== GLOBAL CONTAINER ========== */
.container {
  width    : 95%;
  max-width: 1600px;
  margin   : 0 auto;
}

section,
.section {
  padding         : 120px 0;
  background-color: #000;
}

@media (max-width: 768px) {

  section,
  .section {
    padding: 80px 0;
  }
}

/* ========== HEADER ========== */
.site-header {
  position  : fixed;
  top       : 0;
  width     : 100%;
  z-index   : 999;
  transition: background 0.3s ease, padding 0.3s ease;
}

.header-transparent {
  background: transparent;
}

.header-scrolled {
  background     : rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(6px);
}

.header-container {
  width             : 95%;
  max-width         : 1600px;
  margin            : 0 auto;
  /* padding        : 22px 40px; */
  display           : flex;
  align-items       : center;
  justify-content   : space-between;
}



.header-logo img {
  height   : 84px;
  transform: scale(1.1);
}

/* ========== NAVIGATION ========== */
.main-menu,
.main-menu ul {
  list-style: none;
  padding   : 0;
  margin    : 0;
}

.main-menu {
  display: flex;
  gap    : 36px;
}

.main-menu li {
  position: relative;
}

.main-menu li::before {
  content: none !important;
}

.main-menu a {
  color          : #fff !important;
  text-decoration: none;
  font-size      : 13px;
  letter-spacing : 0.12em;
  text-transform : uppercase;
  opacity        : 0.9;
}

.main-menu a:hover {
  opacity: 1;
}

/* ========== DROPDOWN ========== */
.has-dropdown>a::after {
  content      : "";
  display      : inline-block;
  width        : 8px;
  height       : 8px;
  border-right : 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform    : rotate(45deg);
  margin-left  : 8px;
  margin-bottom: 3px;
  transition   : transform 0.25s ease;
}

.has-dropdown:hover>a::after {
  transform: rotate(45deg) translateY(2px);
}

.dropdown {
  position  : absolute;
  top       : 140%;
  left      : -20px;
  background: #000 !important;
  min-width : 220px;
  padding   : 12px 0;
  opacity   : 0;
  visibility: hidden;
  transform : translateY(10px);
  transition: all 0.25s ease;
}

.has-dropdown:hover .dropdown {
  opacity   : 1;
  visibility: visible;
  transform : translateY(0);
}

.dropdown li a {
  display   : block;
  padding   : 10px 20px;
  font-size : 13px;
  opacity   : 0.9;
  color     : #fff !important;
  background: transparent;
}

.dropdown li a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ========== BURGER MENU ========== */
.burger {
  display       : none;
  flex-direction: column;
  gap           : 6px;
  cursor        : pointer;
  z-index       : 1001;
  position      : relative;
}

.burger span {
  width     : 26px;
  height    : 2px;
  background: #fff;
  transition: all 0.3s ease;
  display   : block;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

body.menu-open {
  overflow: hidden;
}

/* ========== HEADER CTA ========== */
.header-right {
  display    : flex;
  align-items: center;
  gap        : 32px;
}

.cta-number {
  background     : #b4935a;
  color          : #fff;
  padding        : 10px 18px;
  font-size      : 13px;
  font-weight    : 600;
  letter-spacing : 0.05em;
  text-decoration: none;
}

/* ========== HERO VIDEO ========== */
.hero-video {
  position: relative;
  width   : 100%;
  height  : 100vh;
  overflow: hidden;
}

.hero-video video {
  position  : absolute;
  inset     : 0;
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

.hero-overlay {
  position  : absolute;
  inset     : 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-video-content {
  position   : absolute;
  bottom     : 7.18%;
  color      : #fff;
  z-index    : 2;
  margin-left: 50px;
}

@media (max-width: 600px) {
  .hero-video-content {
    position   : absolute;
    bottom     : 15%;
    color      : #fff;
    z-index    : 2;
    margin-left: 35px;
  }

  .board-single-info {
    margin-left: 0px;
    margin-top : 0px;
  }

}

.hero-video-content h1 {
  font-size: 64px;
  margin   : 16px 0 32px;
}


@media (max-width:600px) {
  .hero-video-content {
    position   : absolute;
    bottom     : 4%;
    color      : #fff;
    z-index    : 2;
    margin-left: 35px;
  }

  .hero-video-content h1 {
    font-size: 40px;
    margin   : 16px 0 32px;
    width    : 400px;
  }

}

/* ========== SPLIT SECTION ========== */
.split-section {
  padding: 120px 0;
}

.split-grid {
  display              : grid;
  grid-template-columns: 1fr 1fr;
  gap                  : 80px;
  align-items          : center;
}

.split-text {
  order: 1;
}

.split-image , .chairman-image {
  order: 2;
}

.split-reverse .split-image {
  order: 1;
}

.split-reverse .split-text {
  order: 2;
}

.split-image img {
  width     : 100%;
  height    : 520px;
  object-fit: cover;
}

.text-eyebrow {
  font-size     : 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity       : 0.7;
  margin-bottom : 16px;
  display       : block;
}

.text-title {
  font-size    : 32px;
  margin-bottom: 24px;
  color        : #b4935a;
}

.text-quote {
  font-size    : 28px;
  font-weight  : 600;
  margin-bottom: 24px;
}

.text-description {
  font-size    : 15px;
  line-height  : 1.8;
  opacity      : 0.85;
  margin-bottom: 40px;
}

/* ========== SLIDER SECTION ========== */
.slider-section {
  padding   : 100px 0;
  background: #000;
}

.center-title {
  text-align    : center;
  font-size     : 28px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color         : #fff;
  margin-bottom : 60px;
}

.slider {
  display         : flex;
  gap             : 32px;
  overflow-x      : auto;
  scroll-snap-type: x mandatory;
  padding-bottom  : 12px;
}

.slider::-webkit-scrollbar {
  height: 4px;
}

.slider::-webkit-scrollbar-thumb {
  background   : #444;
  border-radius: 999px;
}

.slide {
  min-width        : 380px;
  max-width        : 380px;
  position         : relative;
  scroll-snap-align: start;
  flex-shrink      : 0;
}

.slide img {
  width     : 100%;
  height    : 480px;
  object-fit: cover;
  filter    : brightness(0.85);
}

.slide span {
  position   : absolute;
  bottom     : 24px;
  left       : 24px;
  right      : 24px;
  color      : #fff;
  font-weight: 600;
  font-size  : 16px;
}

/* ========== MARQUEE SECTION ========== */
.communities-section {
  background: #000;
  padding   : 120px 0;
  overflow  : hidden;
}

.marquee {
  width   : 100%;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display    : flex;
  width      : max-content;
  animation  : scroll-left 35s linear infinite;
  will-change: transform;
}

.marquee-item {
  position    : relative;
  min-width   : 380px;
  height      : 480px;
  margin-right: 40px;
  flex-shrink : 0;
}

.marquee-item img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
  filter    : brightness(0.75);
}

.marquee-item span {
  position   : absolute;
  bottom     : 30px;
  left       : 30px;
  color      : #fff;
  font-size  : 16px;
  font-weight: 600;
}

@keyframes scroll-left {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0%);
  }
}

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

/* ========== ABOUT SECTION ========== */
.about-section {
  padding         : 100px 0;
  background-color: #fff;
}

.about-grid {
  display        : flex;
  justify-content: center;
}

.about-content {
  max-width: 700px;
}

.about-eyebrow {
  display       : inline-block;
  font-size     : 14px;
  font-weight   : 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color         : #888;
  margin-bottom : 16px;
}

.about-title {
  font-size    : 40px;
  line-height  : 1.2;
  margin-bottom: 24px;
}

.about-description {
  font-size  : 17px;
  line-height: 1.7;
  color      : #555;
}

/* ========== PROPERTIES SECTION ========== */
.properties-section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
}

.properties-grid {
  display              : grid;
  grid-template-columns: repeat(3, 1fr);
  gap                  : 32px;
}

.property-card {
  border-radius: 16px;
  overflow     : hidden;
  background   : #fff;
  transition   : transform 0.3s ease;
}

.property-card:hover {
  transform: translateY(-8px);
}

.property-card a {
  text-decoration: none;
  color          : inherit;
}

.property-image img {
  width     : 100%;
  height    : 260px;
  object-fit: cover;
}

.property-content {
  padding: 24px;
}

.property-content h3 {
  margin   : 0 0 8px;
  font-size: 20px;
}

.property-location {
  font-size    : 14px;
  color        : #777;
  margin-bottom: 16px;
}

.property-cta {
  font-size  : 14px;
  font-weight: 600;
}

/* ========== SINGLE PROPERTY ========== */
.property-hero-image img {
  width     : 100%;
  height    : 80vh;
  object-fit: cover;
}

.property-details {
  padding: 100px 0;
}

.property-header {
  margin-bottom: 32px;
}

.property-title {
  font-size    : 48px;
  margin-bottom: 8px;
}

.property-description {
  max-width    : 720px;
  font-size    : 17px;
  line-height  : 1.8;
  margin-bottom: 40px;
}

.property-actions .btn {
  padding  : 16px 36px;
  font-size: 15px;
}

/* ========== BUTTONS ========== */
.btn {
  display        : inline-block;
  padding        : 14px 28px;
  font-size      : 14px;
  font-weight    : 600;
  text-decoration: none;
  border-radius  : 2px;
  transition     : all 0.25s ease;
}

.btn-primary {
  background: #b4935a;
  color     : #fff;
}

.btn {
  background: #b4935a;
  color     : #fff;
}

.btn::after {
  border: 1px solid #b4935a;
}

.btn-primary:hover {
  background: #000;
  color     : #b4935a;
  border    : 1px solid #b4935a;
}

.btn-white {
  background     : #b4935a;
  color          : #fff;
  padding        : 12px 28px;
  text-decoration: none;
  font-size      : 14px;
}

.btn-white:hover {
  background: #fff;
  color     : #000;
  border    : 1px solid #b4935a;
}

.btn-chair {
  background     : #b4935a;
  color          : #fff;
  padding        : 12px 28px;
  text-decoration: none;
  font-size      : 14px;
  display        : inline-block;
  width          : 130px;
}

/* ========== FOOTER ========== */
.site-footer {
  background : #000;
  color      : #fff;
  padding    : 80px 60px 0;
  font-family: inherit;
}

@media (max-width:600px) {
  .site-footer {
    padding: 60px 40px 0;
  }
}

.footer-container {
  display        : flex;
  justify-content: space-between;
  gap            : 80px;
}

.footer-left {
  max-width: 420px;
}

.footer-logo {
  width        : 80px;
  margin-bottom: 35px;
}

.footer-text {
  font-size    : 16px;
  line-height  : 2.2;
  margin-bottom: 30px;
  opacity      : 0.85;
}

.footer-form {
  display: flex;
  gap    : 10px;
}

.footer-form input {
  flex      : 1;
  background: #111;
  border    : none;
  padding   : 12px 14px;
  color     : #fff;
}

.footer-form input::placeholder {
  color: #aaa;
}

.footer-form button {
  background : #fff;
  color      : #000;
  border     : none;
  font-weight: 500;
  cursor     : pointer;
}



.footer-col h4 {
  font-size    : 20px;
  margin-bottom: 15px;
  font-weight  : 600;
  color        : #b4935a;
}

.footer-col a,
.footer-col p {
  display        : block;
  font-size      : 18px;
  margin-bottom  : 10px;
  color          : #fff;
  text-decoration: none;
  opacity        : 0.85;
}

.footer-bottom {
  margin-top: 80px;
  padding   : 20px 0;
  text-align: right;
  font-size : 12px;
  opacity   : 0.7;
}

.footer-form button {
  color     : #fff;
  background: #b4935a;
}

.footer-form button:hover {
  border    : 1px solid #b4935a;
  color     : #b4935a;
  background: #000;
}

.form-message {
  margin-top: 12px;
  font-size : 13px;
}

.form-message.success {
  color: #4ade80;
}

.form-message.error {
  color: #f87171;
}

/* ========== ABOUT PAGE ========== */
.about-hero {
  position: relative;
  height  : 100vh;
}

.hero-video-about {
  position  : absolute;
  inset     : 0;
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

.hero-content {
  position  : relative;
  z-index   : 2;
  text-align: center;
  top       : 50%;
  transform : translateY(-50%);
}

.hero-small {
  font-size     : 14px;
  letter-spacing: 2px;
  opacity       : 0.8;
}

.hero-content h1 {
  font-size: 56px;
  margin   : 20px 0;
}

.grid-3 {
  display              : grid;
  grid-template-columns: repeat(3, 1fr);
  gap                  : 80px;
}

.about-blocks h3 {
  font-size    : 20px;
  margin-bottom: 20px;
}

.about-block h3 {
  font-size    : 22px;
  margin-bottom: 20px;
}

.about-block p {
  font-size  : 14px;
  line-height: 1.8;
  opacity    : 0.85;
}

.highlights-list {
  list-style: none;
  padding   : 0;
}

.highlights-list li {
  font-size  : 22px;
  line-height: 1.8;
  opacity    : 0.85;
}

.highlights-list li::before {
  content     : "•";
  margin-right: 10px;
}

/* ========== VALUES SECTION ========== */
.values-grid {
  display              : grid;
  grid-template-columns: 1fr 1fr;
  column-gap           : 120px;
  row-gap              : 80px;
}

/* Each value item layout stays the same */
.value-item {
  display    : flex;
  gap        : 60px;
  align-items: center;
}

/* First 3 items go to the left column */
.values-grid .value-item:nth-child(1) {
  grid-column: 1;
  grid-row   : 1;
}

.values-grid .value-item:nth-child(2) {
  grid-column: 1;
  grid-row   : 2;
}

.values-grid .value-item:nth-child(3) {
  grid-column: 1;
  grid-row   : 3;
}

/* العمود اليمين يبدأ من فوق */
.values-grid .value-item:nth-child(4) {
  grid-column: 2;
  grid-row   : 1;
}

.values-grid .value-item:nth-child(5) {
  grid-column: 2;
  grid-row   : 2;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    grid-column: auto;
    grid-row   : auto;
  }
}


.value-item h4 {
  font-size    : 24px;
  margin-bottom: 16px;
  color        : #b4935a;
}

.value-item.reverse {
  flex-direction: row-reverse;
}

.value-item img {
  width: 300px;
}

/* ========== CHAIRMAN SECTION ========== */
.chairman-wrapper {
  display              : grid;
  grid-template-columns: 1.2fr 1fr;
  gap                  : 80px;
  align-items          : center;
}


.chairman-grid {
  display    : grid;
  align-items: center;
}

@media (max-width:768px) {
  .chairman-wrapper {
    grid-template-columns: 1fr;
  }

  .chairman-image {
    order: -1;
  }
}

.chairman-quote {
  font-size  : 28px;
  font-weight: 600;
  margin     : 30px 0;
}

.chairman-image img {
  width : 100%;
  height: 580px;
}

/* ========== BOARD SECTION ========== */
.board-section {
  background: #000;
  padding   : 120px 0;
}

.section-title {
  color        : #fff;
  font-size    : 32px;
  margin-bottom: 60px;
}

.board-grid {
  display              : grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap                  : 60px;
  align-items          : start;
  padding              : 40px;
}

.board-card {
  display        : flex;
  flex-direction : column;
  text-decoration: none;
}



.board-image {
  width   : 100%;
  height  : 750px;
  overflow: hidden;
}

.board-image img {
  width     : 100%;
  object-fit: cover;
  display   : block;
}

.board-info {
  margin-top: 20px;
}

.board-title {
  display       : block;
  font-size     : 13px;
  letter-spacing: 0.12em;
  color         : #9f9f9f;
  text-transform: uppercase;
}

.board-name {
  font-size  : 18px;
  font-weight: 600;
  margin-top : 6px;
  color      : #b4935a;
}

/* ========== PROJECTS PAGE ========== */
.projects-hero {
  min-height: calc(100vh - 100px);
  padding   : 140px 60px 60px;
  background: #000;
  margin-top: 100px;
}

.small-title {
  color         : #aaa;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.big-title {
  color        : #fff;
  font-size    : 48px;
  margin-bottom: 40px;
}

.featured-project {
  position: relative;
  height  : 100vh;
  overflow: hidden;
}

.featured-project img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

.featured-project::after {
  content   : "";
  position  : absolute;
  inset     : 0;
  background: rgba(0, 0, 0, 0.35);
  z-index   : 1;
}

.featured-overlay {
  position       : absolute;
  inset          : 0;
  display        : flex;
  flex-direction : column;
  align-items    : center;
  justify-content: center;
  text-align     : center;
  color          : #fff;
  z-index        : 2;
}

.featured-overlay h2 {
  font-size     : 36px;
  letter-spacing: 2px;
  margin-bottom : 8px;
}

.featured-overlay span {
  font-size: 14px;
  opacity  : 0.85;
  margin   : 10px 0 20px;
}

.featured-overlay .btn {
  padding           : 10px 22px;
  /* color          : #fff; */
  background        : #b4935a;
  text-decoration   : none;
  font-size         : 14px;
}

.featured-overlay .btn:hover {
  background: #fff;
  color     : #000;
  border    : 1px solid #b4935a;
}

.project-overlay .btn {
  padding           : 10px 22px;
  /* color          : #fff; */
  background        : #b4935a;
  text-decoration   : none;
  font-size         : 14px;
}

.project-overlay .btn:hover {
  background: #fff;
  color     : #000;
  border    : 1px solid #b4935a;
}

.projects-grid {
  display              : grid;
  grid-template-columns: repeat(2, 1fr);
  gap                  : 40px;
  padding              : 100px 53.5px;
  background           : #000;
}

.project-card {
  position: relative;
  overflow: hidden;
}

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

.project-info {
  position: absolute;
  bottom  : 30px;
  left    : 30px;
  color   : #fff;
}

.project-info h3 {
  margin: 0;
}

.project-card::after {
  content   : "";
  position  : absolute;
  inset     : 0;
  background: rgba(0, 0, 0, .45);
  z-index   : -1;
}

.project-overlay {
  position       : absolute;
  inset          : 0;
  display        : flex;
  flex-direction : column;
  justify-content: center;
  align-items    : center;
  text-align     : center;
  color          : #fff;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .burger {
    display: flex;
  }

  .header-right {
    position       : fixed;
    inset          : 0;
    background     : #000;
    flex-direction : column;
    justify-content: center;
    align-items    : center;
    gap            : 32px;
    transform      : translateX(100%);
    transition     : transform 0.35s ease;
    z-index        : 998;
    text-align     : center;
  }

  .header-right.active {
    transform: translateX(0);
  }

  .main-menu {
    flex-direction: column;
    gap           : 28px;
    align-items   : flex-start;
  }

  .main-menu a {
    font-size: 18px;
  }

  .main-menu li ul {
    top : 0%;
    left: 120px;
  }

  .dropdown {
    position   : absolute;
    top        : 0;
    left       : 100%;
    margin-left: 30px;
    background : #000;
    padding    : 8px 16px;
    min-width  : 200px;
    display    : none;
    text-align : left;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .has-dropdown>a::after {
    transform: rotate(-45deg);
  }

  .dropdown li {
    margin: 10px 0;
  }

  .dropdown li a {
    font-size     : 14px;
    white-space   : nowrap;
    letter-spacing: 0.08em;
  }

  .dropdown li::before {
    display: none;
  }

  .cta-number {
    margin-top: 20px;
    font-size : 16px;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-right {
    flex-direction: column;
    gap           : 40px;
  }

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

  .single-board-image img {
    height: auto;
    width : 400px;
  }

  .single-board-name {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .split-grid {
    grid-template-columns: 1fr;
  }

  .split-text,
  .split-image {
    order: unset;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .grid-3,
  .about-grid {
    grid-template-columns: 1fr;
    gap                  : 40px;
  }

  .value-item,
  .value-item.reverse {
    flex-direction: column;
    text-align    : center;
  }

  .value-item img {
    width: 100%;
  }

  .slider-grid {
    grid-template-columns: 1fr;
  }

  .chairman-grid {
    grid-template-columns: 1fr;
  }

  .board-grid {
    grid-template-columns: 1fr;
    gap                  : 60px;
  }

  .board-image {
    height: 420px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}


.project-slider img {
  width     : 100%;
  height    : 80vh;
  object-fit: cover;
  text-align: center;
}

.project-video iframe {
  width : 100%;
  height: 500px;
}

.acf-map {
  width : 100%;
  height: 400px;
}

.project-cta {
  text-align: center;
  padding   : 80px 20px;
}

.project-slider {
  width   : 100%;
  height  : 85vh;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display  : flex;
  width    : calc(100% * 4);
  height   : 100%;
  animation: slide 20s infinite ease-in-out;
}

.slide {
  width      : 100%;
  height     : 100%;
  flex-shrink: 0;
}

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



.project-video {
  width    : 100%;
  max-width: 1200px;
  margin   : 80px auto;
  padding  : 0 20px;
}

.project-video video {
  width        : 100%;
  height       : auto;
  border-radius: 12px;
  background   : #000;
}

.project-slider {
  position: relative;
  width   : 100%;
  height  : 85vh;
  overflow: hidden;
}

.slider-track {
  display   : flex;
  height    : 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  min-width: 100%;
  height   : 100%;
}

.project-slider img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

/* ✅ Buttons */
.slider-btn {
  position     : absolute;
  top          : 50%;
  transform    : translateY(-50%);
  background   : rgba(0, 0, 0, 0.5);
  border       : none;
  color        : #fff;
  font-size    : 32px;
  width        : 56px;
  height       : 56px;
  cursor       : pointer;
  z-index      : 10;
  border-radius: 50%;
  transition   : background 0.3s ease;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

.slider-btn.prev {
  left: 24px;
}

.slider-btn.next {
  right: 24px;
}

/* ✅ Slider Full Width */
.project-slider {
  position   : relative;
  width      : 100vw;
  /* ياخد عرض الشاشة بالكامل */
  height     : 180vh;
  overflow   : hidden;
  margin-left: calc(-50vw + 50%);
  /* يكسر أي container */
}

/* ✅ Track */
.slider-track {
  display   : flex;
  height    : 100%;
  transition: transform 0.6s ease-in-out;
}

/* ✅ Slide */
.slide {
  min-width: 100vw;
  height   : 100%;
}

/* ✅ Image */
.project-slider img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
  /* أهم سطر */
  display   : block;
}

.project-container {
  max-width: 1400px;
  margin   : 0 auto;
  padding  : 0 80px;
  /* المسافة من اليمين والشمال */
}

/* ✅ على الموبايل */
@media (max-width: 768px) {
  .project-container {
    padding: 0 24px;
  }

  .project-slider {
    height: 60vh;
  }
}

.slider-btn {
  z-index: 20;
}

.single-project {
  background : #000;
  color      : #fff;
  font-family: "Inter", sans-serif;
}

.single-project section {
  max-width: 900px;
  margin   : 0 auto;
  padding  : 80px 80px;
}

.project-header h1 {
  font-size    : 56px;
  font-weight  : 600;
  margin-bottom: 10px;
}

.project-header p {
  font-size: 14px;
  color    : #bbb;
}

.project-slider {
  position  : relative;
  width     : 100%;
  height    : 75vh;
  overflow  : hidden;
  margin-top: 40px;
}

.slider-track {
  display   : flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  height   : 75vh;
}

.slide img {
  width     : 1000px;
  height    : 100%;
  object-fit: cover;
}

.slider-arrow {
  position       : absolute;
  top            : 50%;
  transform      : translateY(-50%);
  width          : 44px;
  height         : 44px;
  background     : rgba(0, 0, 0, 0.6);
  border         : 1px solid #fff;
  color          : #fff;
  cursor         : pointer;
  display        : flex;
  align-items    : center;
  justify-content: center;
  z-index        : 5;
}

.slider-arrow.left {
  left: 100px;
}

.slider-arrow.right {
  right: 20px;
}

.slider-arrow:hover {
  background: #fff;
  color     : #000;
}

.project-meta {
  display   : flex;
  gap       : 120px;
  margin-top: 40px;
}

.project-meta span {
  font-size: 14px;
  color    : #bbb;
}

.project-meta strong {
  display      : block;
  font-size    : 12px;
  color        : #777;
  margin-bottom: 6px;
}

.project-description {
  margin-top: 60px;
}

.project-description h2 {
  font-size    : 28px;
  margin-bottom: 20px;
}

.project-description p {
  font-size  : 15px;
  line-height: 1.8;
  color      : #ccc;
  max-width  : 900px;
}

.project-image-full {
  margin: 80px 0;
}

.project-image-full img {
  width     : 100%;
  height    : 60vh;
  object-fit: cover;
}

.project-features {
  margin-top: 60px;
  max-width : 900px;
}

.project-features h3 {
  font-size    : 24px;
  margin-bottom: 20px;
}

.project-features ul {
  list-style  : disc;
  padding-left: 20px;
}

.project-features li {
  font-size    : 14px;
  color        : #ccc;
  margin-bottom: 8px;
}

.project-map {
  margin-top: 80px;
}

.project-map iframe {
  width : 100%;
  height: 420px;
  border: none;
}

.project-cta {
  margin-top: 100px;
  text-align: left;
}

.project-cta h2 {
  font-size    : 36px;
  margin-bottom: 10px;
}

.project-cta p {
  font-size    : 14px;
  color        : #bbb;
  margin-bottom: 20px;
}

.project-cta .btn {
  display        : inline-block;
  padding        : 12px 28px;
  background     : #fff;
  color          : #000;
  text-decoration: none;
  font-size      : 14px;
}

@media (max-width: 768px) {

  /* ✅ General spacing */
  .single-project section {
    padding: 40px 20px;
  }

  /* ✅ Header */
  .project-header h1 {
    font-size: 32px;
  }

  .project-header p {
    font-size: 13px;
    max-width: 100%;
  }

  /* ✅ Slider */
  .project-slider,
  .slide {
    height: 45vh;
  }

  .slide img {
    height: 100%;
  }

  /* ✅ Slider arrows */
  .slider-arrow {
    width    : 36px;
    height   : 36px;
    font-size: 14px;
  }

  .slider-arrow.left {
    left: 10px;
  }

  .slider-arrow.right {
    right: 10px;
  }

  /* ✅ Address + Area */
  .project-meta {
    flex-direction: column;
    gap           : 20px;
    margin-top    : 30px;
  }

  /* ✅ Description */
  .project-description h2 {
    font-size: 22px;
  }

  .project-description p {
    font-size  : 14px;
    line-height: 1.7;
  }

  /* ✅ Full image */
  .project-image-full img {
    height: 40vh;
  }

  /* ✅ Features */
  .project-features h3 {
    font-size: 20px;
  }

  .project-features li {
    font-size: 13px;
  }

  /* ✅ Map */
  .project-map iframe {
    height: 300px;
  }

  /* ✅ CTA */
  .project-cta {
    margin-top: 60px;
  }

  .project-cta h2 {
    font-size  : 24px;
    line-height: 1.3;
  }

  .project-cta p {
    font-size: 13px;
  }

  .project-cta .btn {
    width     : 100%;
    text-align: center;
    padding   : 14px 0;
  }
}

/* ===========================
   About page: force column layout (Who/Story/Highlights)
   =========================== */
.about-blocks .about-grid {
  display       : flex !important;
  flex-direction: column !important;
  /* Column on all screen sizes (requested A) */
  gap           : 48px;
  align-items   : stretch;
}

.about-blocks .about-grid .about-block {
  width    : 100%;
  max-width: 100%;
}

/* Improve heading spacing */
.about-blocks .about-block h3 {
  margin-bottom: 12px;
  font-size    : 22px;
}

/* ===========================
   Scroll-slider: sticky image + stacked text
   Left: text column (stacked), Right: sticky image
   =========================== */
.scroll-slider .slider-grid {
  display              : grid;
  grid-template-columns: 1fr 480px;
  /* left (text) / right (image) */
  gap                  : 40px;
  align-items          : start;
  /* keep consistent with container */
  width                : 100%;
}

/* Text column: stack slides vertically */
.scroll-slider .slider-text {
  display       : flex;
  flex-direction: column;
  gap           : 64px;
}

/* Each slide style */
/* Base state: both slides visible but dimmed */
/* ===========================
   Scroll Slider — Vision/Mission behavior
   =========================== */

/* Hide all slides initially */
.scroll-slider .slide {
  opacity       : 0;
  transform     : translateY(40px);
  transition    : opacity 450ms ease, transform 450ms ease;
  pointer-events: none;
  /* to avoid selection while hidden */
  margin-bottom : 60px;
}

/* First slide only: visible on page load */
.scroll-slider .slide:first-child {
  opacity  : 1;
  transform: translateY(0);
}

/* Active slide becomes fully visible */
.scroll-slider .slide.active {
  opacity       : 1 !important;
  transform     : translateY(0) !important;
  pointer-events: auto;
}

/* When slide is NOT active → hide it fully */
.scroll-slider .slide:not(.active) {
  opacity  : 0;
  transform: translateY(40px);
}

/* Make text look cleaner */
.scroll-slider .slide h3 {
  font-size    : 30px;
  margin-bottom: 12px;
}

.scroll-slider .slide p {
  color      : #d5d5d5;
  line-height: 1.7;
}

/* Right: sticky image */
.scroll-slider .slider-image {
  position  : relative;
  height    : calc(100vh - 160px);
  /* leave space for header/padding */
  align-self: start;
}

.scroll-slider .slider-image #sliderImage {
  position     : sticky;
  top          : 120px;
  /* adjust if header height differs */
  width        : 100%;
  height       : calc(100vh - 200px);
  object-fit   : cover;
  display      : block;
  border-radius: 6px;
  transition   : opacity 300ms ease, transform 300ms ease;
  will-change  : opacity, transform;
}

/* Slight fade-in effect when image changes */
.scroll-slider .slider-image.fade img,
.scroll-slider .slider-image.fade {
  opacity: 0;
}

/* Responsive behaviour: stack under 980px */
@media (max-width: 980px) {
  .scroll-slider .slider-grid {
    grid-template-columns: 1fr;
  }

  .scroll-slider .slider-image {
    height    : 50vh;
    margin-top: 24px;
  }

  .scroll-slider .slider-image #sliderImage {
    position: relative;
    top     : auto;
    height  : 100%;
  }

  /* revert about blocks narrow screens */
  .about-blocks .about-grid {
    gap: 32px;
  }
}

/* Center the text vertically to match image height */
.scroll-slider .slider-grid {
  display        : flex;
  align-items    : center;
  justify-content: space-between;
}

.scroll-slider .slider-text {
  flex           : 1;
  display        : flex;
  flex-direction : column;
  justify-content: center;
  /* vertical centering */
  height         : calc(100vh - 200px);
  /* same height as sticky image */
  position       : relative;
}

/* Each slide will be positioned absolute to overlap in the same spot */
.scroll-slider .slide {
  position  : absolute;
  top       : 50%;
  left      : 0;
  transform : translateY(-50%) translateY(40px);
  /* start below center */
  width     : 90%;
  opacity   : 0;
  transition: opacity 450ms ease, transform 450ms ease;
}

/* FIRST slide appears initially centered */
.scroll-slider .slide:first-child {
  opacity  : 1;
  transform: translateY(-50%) translateY(0);
}

/* Active slide will replace the previous in the exact same spot */
.scroll-slider .slide.active {
  opacity  : 1 !important;
  transform: translateY(-50%) translateY(0) !important;
}

/* Non-active slides hidden */
.scroll-slider .slide:not(.active) {
  opacity  : 0;
  transform: translateY(-50%) translateY(40px);
}

/* Section pinned height */
.scroll-slider {
  position: relative;
  height  : 200vh;
  /* double height so the scroll has space to animate Vision -> Mission */
}

/* Inner container sticks in place while scroll happens */
.scroll-slider .slider-grid {
  position       : sticky;
  top            : 120px;
  height         : calc(100vh - 120px);
  display        : flex;
  justify-content: space-between;
  align-items    : center;
}

/* Text column same as before */
.scroll-slider .slider-text {
  position       : relative;
  flex           : 1;
  height         : 100%;
  display        : flex;
  justify-content: center;
}

/* ===========================
   BYC PAGE LAYOUT
=========================== */

.byc-section {
  padding   : 100px 0;
  background: #000;
  color     : #fff;
  margin-top: 80px;
}

.byc-link {
  color          : #fff;
  text-decoration: none;
  transition     : 0.2s;
}

.byc-link:hover {
  opacity: 0.7;
}

.byc-container {
  max-width            : 1600px;
  margin               : auto;
  display              : grid;
  grid-template-columns: 1fr 1.2fr;
  gap                  : 80px;
}

/* LEFT INFO */
.byc-info .byc-label {
  font-size    : 18px;
  opacity      : 0.7;
  margin-bottom: 10px;
}

.byc-title {
  font-size    : 52px;
  font-weight  : 700;
  margin-bottom: 50px;
  color        : #b4935a;
}

.byc-block {
  margin-bottom: 24px;
}

.byc-field {
  font-size     : 14px;
  opacity       : 0.7;
  letter-spacing: 1px;
  color         : #b4935a;
}

.byc-block p {
  font-size : 18px;
  margin-top: 8px;
}

/* FORM */
.byc-form {
  margin-top: 80px;
}

.byc-form .byc-form-wrapper {
  display       : flex;
  flex-direction: column;
  gap           : 22px;
}

.byc-row {
  display: flex;
  gap    : 20px;
}

.byc-field-group {
  flex          : 1;
  display       : flex;
  flex-direction: column;
}

.byc-field-group.full {
  width: 100%;
}

.byc-field-group label {
  font-size    : 13px;
  margin-bottom: 8px;
}

.byc-field-group input,
.byc-field-group textarea {
  background   : #1a1a1a;
  border       : none;
  padding      : 14px 18px;
  color        : #fff;
  border-radius: 5px;
  font-size    : 15px;
}

.byc-submit {
  padding      : 16px 0;
  background   : #b4935a;
  color        : #fff;
  font-size    : 16px;
  border       : none;
  border-radius: 5px;
  margin-top   : 10px;
  cursor       : pointer;
  font-weight  : 600;
  transition   : 0.2s;
}

.byc-submit:hover {
  background: #fff;
  color     : #000;
  border    : 2px solid #b4935a;
}


/* ===========================
   MOBILE (BYC PAGE)
=========================== */

@media (max-width: 900px) {
  .byc-container {
    grid-template-columns: 1fr;
    gap                  : 50px;
  }

  .byc-title {
    font-size: 38px;
  }

  .byc-row {
    flex-direction: column;
  }

  .byc-field-group input,
  .byc-field-group textarea {
    font-size: 16px;
  }

  .byc-submit {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .byc-section {
    padding: 60px 0;
  }

  .byc-title {
    font-size: 32px;
  }
}

.byc-success {
  background   : #0f0f0f;
  padding      : 15px 20px;
  border-left  : 4px solid #4CAF50;
  margin-bottom: 20px;
  color        : #d9ffd9;
  border-radius: 5px;
  font-size    : 16px;
}


/* =======================
   NEWS HERO
======================= */
.news-hero {
  position: relative;
  height  : 100vh;
  overflow: hidden;
}

.news-hero-video {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

.news-hero-overlay {
  position   : absolute;
  inset      : 0;
  display    : flex;
  align-items: flex-end;
  padding    : 60px;
  background : linear-gradient(to top, #000 10%, transparent 60%);
}

.news-hero-overlay h1 {
  font-size: 64px;
  color    : #fff;
}

/* =======================
   NEWS GRID
======================= */
.news-list {
  padding   : 100px 0;
  background: #000;
}

.news-grid {
  display              : grid;
  grid-template-columns: repeat(2, 1fr);
  gap                  : 40px;
}

.news-card {
  text-decoration: none;
  color          : #fff;
  border         : 1px solid rgba(255, 255, 255, 0.2);
  transition     : 0.3s;
}

.news-card:hover {
  border-color: #b4935a;
}

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

.news-card-content {
  padding: 24px;
}

.news-date {
  font-size: 13px;
  opacity  : 0.6;
}

.news-card h3 {
  margin-top: 10px;
  font-size : 22px;
}

/* =======================
   SINGLE NEWS
======================= */
.single-news-hero img {
  width     : 100%;
  height    : 80vh;
  object-fit: cover;
}

.single-news-content {
  padding   : 100px 0;
  background: #000;
  color     : #fff;
}

.news-subtitle {
  font-size: 20px;
  opacity  : 0.7;
  margin   : 20px 0;
}

.news-body {
  margin-top : 40px;
  line-height: 1.8;
}

@media (max-width: 900px) {

  .news-hero {
    height: 70vh;
  }

  .news-hero-overlay h1 {
    font-size: 40px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card-image img {
    height: 220px;
  }

  .single-news-hero img {
    height: 50vh;
  }

  .single-news-content {
    padding: 60px 0;
  }
}

/* ======================
   SINGLE NEWS
====================== */

.single-news {
  background: #000;
  color     : #fff;
}

.single-news-section {
  padding: 80px 0;
}

.single-news-layout {
  display              : grid;
  grid-template-columns: 1.3fr 1fr;
  gap                  : 60px;
  align-items          : center;
  margin-top           : 100px;
}

/* LEFT */
.single-news-left img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

/* RIGHT */
.single-news-right .news-date {
  font-size     : 13px;
  letter-spacing: 1px;
  opacity       : 0.6;
}

.news-title {
  font-size: 36px;
  margin   : 15px 0 20px;
  color    : #b4935a;
}

.news-description {
  font-size    : 16px;
  line-height  : 1.8;
  opacity      : 0.9;
  margin-bottom: 30px;
}

/* SMALL IMAGES */
.news-small-images {
  display              : grid;
  grid-template-columns: repeat(2, 1fr);
  gap                  : 20px;
}

.news-small-images img {
  width     : 100%;
  height    : 140px;
  object-fit: cover;
}

@media (max-width: 900px) {

  .single-news-layout {
    grid-template-columns: 1fr;
  }

  .single-news-left img {
    height: 300px;
  }

  .news-title {
    font-size: 28px;
  }

  .news-small-images {
    grid-template-columns: 1fr;
  }

  .news-small-images img {
    height: auto;
  }
}



/* EVENTS HERO */
.events-hero,
.single-event-hero {
  position: relative;
  height  : 100vh;
  overflow: hidden;
}

.events-hero video,
.single-event-hero video {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

.events-hero-overlay,
.single-event-overlay {
  position       : absolute;
  inset          : 0;
  display        : flex;
  flex-direction : column;
  justify-content: flex-end;
  padding        : 60px;
  background     : linear-gradient(to top, #000 20%, transparent 60%);
  color          : #fff;
}

/* EVENTS LIST */
.events-grid {
  display              : grid;
  grid-template-columns: repeat(2, 1fr);
  gap                  : 40px;

}

.event-card {
  padding        : 30px;
  border         : 1px solid rgba(255, 255, 255, 0.2);
  color          : #fff;
  text-decoration: none;
}

.event-card:hover {
  border-color: #b4935a;
}

/* SLIDER */
.event-slider {
  position: relative;
  overflow: hidden;
  margin  : 80px 0;
}

.event-track {
  display   : flex;
  transition: 0.4s ease;
}

.event-slide {
  min-width: 100%;
}

.event-slide img {
  width     : 100%;
  margin    : 0 auto;
  height    : 700px;
  object-fit: cover;
}

@media (max-width: 900px) {

  .events-grid {
    grid-template-columns: 1fr;
  }

  .events-hero,
  .single-event-hero {
    height: 70vh;
  }

  .event-slide img {
    height: 280px;
  }
}

.event-slider {
  position: relative;
  overflow: hidden;
}

/* buttons */
.event-prev,
.event-next {
  position : absolute;
  top      : 50%;
  transform: translateY(-50%);
  z-index  : 10;

  width        : 56px;
  height       : 56px;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.6);
  color     : #fff;
  border    : none;

  font-size: 28px;
  cursor   : pointer;

  display        : flex;
  align-items    : center;
  justify-content: center;

  transition: background 0.3s ease, transform 0.3s ease;
}

/* left */
.event-prev {
  left: 30px;
}

/* right */
.event-next {
  right: 30px;
}

.event-prev:hover,
.event-next:hover {
  background: rgba(0, 0, 0, 0.85);
}

@media (max-width: 768px) {

  .event-prev,
  .event-next {
    width    : 44px;
    height   : 44px;
    font-size: 22px;
  }

  .event-prev {
    left: 15px;
  }

  .event-next {
    right: 15px;
  }
}

/* HERO */
.press-hero {
  position: relative;
  height  : 100vh;
  overflow: hidden;
}

.press-hero video {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

.press-hero-overlay {
  position   : absolute;
  inset      : 0;
  display    : flex;
  align-items: flex-end;
  padding    : 60px;
  background : linear-gradient(to top, #000 20%, transparent 60%);
  color      : #fff;
}

/* LIST */
.press-items {
  display              : grid;
  grid-template-columns: repeat(2, 1fr);
  gap                  : 40px;
  padding              : 20px 0;
}

.press-item {
  display        : flex;
  flex-direction : column;
  justify-content: center;
  align-items    : center;

  text-align: center;

  padding: 20px;
  border : 1px solid rgba(255, 255, 255, 0.2);

  text-decoration: none;
  color          : #fff;

  transition: all 0.35s ease;
}

.press-item:hover {
  border-color: #b4935a;
}

.press-date {
  font-size     : 12px;
  letter-spacing: 1.5px;
  opacity       : 0.6;
  margin-bottom : 14px;
  text-transform: uppercase;
}

.press-title {
  font-size  : 20px;
  line-height: 1.5;
  font-weight: 500;
  max-width  : 90%;
}

@media (max-width: 900px) {

  .press-hero {
    height: 70vh;
  }

  .press-hero-overlay {
    padding: 30px;
  }

  .press-items {
    grid-template-columns: 1fr;
    gap                  : 24px;
    padding              : 50px 0;
  }

  .press-item {
    min-height: 180px;
    padding   : 24px;
  }

  .press-title {
    font-size: 17px;
    max-width: 100%;
  }
}

.board-single-info {
  margin: 20px auto 0;
  width : 92%;
}


@media (max-width: 600px) {
  .board-single-info {
    margin-left: 0px;
    margin-top : 0px;
  }
}

.board-single-image img {
  margin     : 20px auto 0;
  margin-left: 60px;
  width      : 400px;
}

@media (max-width: 600px) {
  .board-single-image img {
    margin     : 20px auto 0;
    margin-left: 0px;
  }

}

.site-header {
  position  : fixed;
  top       : 0;
  left      : 0;
  width     : 100%;
  z-index   : 1000;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* لما نوصل للفوتر */
.site-header.hide-at-footer {
  transform     : translateY(-100%);
  opacity       : 0;
  pointer-events: none;
}


@media (max-width:600px) {

  .header-container {
    padding: 22px 25px;
  }
}

.footer-sales-office {
  margin-top: 30px;
}

.footer-sales-office h4 {
  margin-bottom: 10px;
}

.footer-sales-office p {
  line-height: 1.6;
  opacity    : 0.85;
}

.footer-right {
  display              : grid;
  grid-template-columns: repeat(3, 1fr);
}

.pages-col {
  grid-column: 1;
  grid-row   : 1;
}

.sales-office-col {
  grid-column: 1 / -1;
}

.footer-right>.footer-col:nth-child(2) {
  grid-column: 2;
  grid-row   : 1;
}

.footer-right>.footer-col:nth-child(3) {
  grid-column: 3;
  grid-row   : 1;
}

.sales-office-col {
  grid-column: 1 / -1;
  grid-row   : 2;
  /* صف جديد تحت الثلاثة */
}

.sales-office-col h4 {
  margin-bottom: 12px;
}

.sales-office-col p {
  max-width  : 600px;
  /* اختياري */
  line-height: 1.7;
  opacity    : 0.9;
}

@media (max-width: 768px) {
  .footer-right {
    grid-template-columns: 1fr;
  }

  .sales-office-col {
    grid-column: auto;
    grid-row   : auto;
  }
}

.chairman-name,
.member-name {
  color: #b4935a;
}


@media (max-width:768px) {

  .hero-video-content {
    margin-left: 45px;
  }
}

@media (min-width:1920px) {

  .header-container {
    width          : 99%;
    max-width      : 1870px;
    margin         : 0 auto;
    padding        : 22px 25px;
    display        : flex;
    align-items    : center;
    justify-content: space-between;
  }

  .split-grid,
  .chairman-grid {
    width    : 95%;
    max-width: 1813px;
    margin   : 0 auto;
  }
}

.events-list,
.news-list,
.press-list {
  padding: 0;
}