﻿/* ============ ???? ??????? ============ */
/* =========================
   ?? ???? ????? Makadi Heights
   ========================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&display=swap');

@font-face {
  font-family: 'Boowie';
  font-style: normal;
  font-weight: 400;
  src: local('Boowie'), url('https://fonts.cdnfonts.com/s/30227/BOOWIE.woff') format('woff');
  font-display: swap;
}

/* ========== Makadi Preloader ========== */
#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:opacity .6s ease, visibility .6s ease;
}

.preloader-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.loader-logo {
  width: 150px; /* ??? ?????? ??? ??? */
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
body.loaded #preloader{
  opacity:0; visibility:hidden;
}

/* ??????? ???????? ???? data-URL ???? ??????? */
.ripple {
  width: 160px;               /* ??? ????? ??????? */
  aspect-ratio: 1 / 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle fill="none" stroke-opacity="1" stroke="%2310E8E6" stroke-width=".5" cx="100" cy="100" r="0"><animate attributeName="r" calcMode="spline" dur="2" values="1;80" keyTimes="0;1" keySplines="0 .2 .5 1" repeatCount="indefinite"></animate><animate attributeName="stroke-width" calcMode="spline" dur="2" values="0;25" keyTimes="0;1" keySplines="0 .2 .5 1" repeatCount="indefinite"></animate><animate attributeName="stroke-opacity" calcMode="spline" dur="2" values="1;0" keyTimes="0;1" keySplines="0 .2 .5 1" repeatCount="indefinite"></animate></circle></svg>');
}

.loader-tagline {
  margin-top: 2px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #00BFA6; /* ??? ????? */
  text-align: center;
  font-weight: 300;
  font-family: 'Playfair Display', 'Cairo', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ?????? ??? preloader ??? ??????? */
body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
}




/* ==============================
   RESET & BASE STYLES (????? ?????)
   ============================== */

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

html[lang="ar"] .contact-form input,
html[lang="ar"] .contact-form textarea {
  direction: rtl;
  text-align: right;
}

html[lang="en"] .contact-form input,
html[lang="en"] .contact-form textarea {
  direction: ltr;
  text-align: left;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  overflow-x: hidden;   /* ???? ????? ????/???? */
}

/* ????? ?????? ???? ?????? */
body {
  direction: rtl; /* ??????? ???? */
  font-family: 'Playfair Display', 'Cairo', serif;
  background: #f0f0f0; /* ??? ????? ??? */
}
body[lang="en"] {
  font-family: 'Playfair Display', serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Boowie', 'Playfair Display', serif;
}

/* ==============================
   NAVBAR (??????? ???????)
   ============================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
}
.logo span { color: #00BFA6; }
.menu-toggle {
  font-size: 2rem;
  cursor: pointer;
  display: block;
}
.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo {
  justify-self: start;
}


.menu-toggle,
#nav-links {
  justify-self: end;
}

/* ??????? ??? ???????? */
#nav-links {
  position: absolute;
  top: 70px;
  left: 20px;   /* ? ???? ?? ?????? ??? ?????? */
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.9);
  border-radius: 8px;
}
#nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-bottom: 1px solid #444;
}
#nav-links a:last-child { border-bottom: none; }

/* ???? ????????? */
@media (min-width:768px){
  .menu-toggle { display: none; }
  #nav-links {
    position: static;
    display: flex !important;
    flex-direction: row;
    background: transparent;
    gap: 10px;
  }
  #nav-links a { border: none; padding: 0 10px; }
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 30px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ?????? ??????? */
.logo img {
  height: 34px;
  width: auto;
}



#nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
#nav-links a:hover {
  color: #00BFA6;
}

/* ???? ??????? ?????? */
.brand-logo img {
  height: 34px;
  width: auto;
  margin-inline-start: 12px;
  transition: transform 0.3s ease;
}
.brand-logo img:hover {
  transform: scale(1.05);
}

/* ????? */

/* ???????? */
@media (max-width: 768px) {
  .brand-logo { display: none; } /* ???? ?????? ??????? ?????? ?????? */
}


/* ==============================
   HERO SECTION (?????? ???????)
   ============================== */
.hero-img {
  background: url('herobg.webp') center/cover no-repeat;
  height: 72vh;
  min-height: 540px;   /* ? ?? ???? ?????? ???? */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 90%;
}
.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 15px;
 color: #ffffff;       /* ???? */
  font-weight: 700;     /* ??? ???? */

}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.cta-btn {
  background: #fff;
  color: #00BFA6;
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
@media (min-width:768px){
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content p { font-size: 1.3rem; }
}

/* ==============================
   WHY MAKADI HEIGHTS
   ============================== */
.why-makadi {
  background: #f4f7f5;
  padding: 60px 20px;
  margin-bottom: 10px;
}
.why-makadi__container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: stretch;
  
}
.why-makadi__media,
.why-makadi__content {
  flex: 1;
}
.why-makadi__media {
  min-height: 320px;
}
.why-makadi__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.why-makadi__content {
  direction: ltr;
  text-align: left;
  color: #1f3b3a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.why-makadi__title {
  font-size: 2rem;
  color: #008c7a;
}
.why-makadi__lead {
  font-weight: 600;
  font-size: 1.3rem;
    font-style: italic;
  color: #274b49;
}
.why-makadi__content p {
  line-height: 1.7;
}



@media (max-width: 900px) {

  .why-makadi__container {
    flex-direction: column;
    gap: 0px;
  }
  .why-makadi__media {
    min-height: 260px;
  }
}
@media (max-width: 520px) {
  .why-makadi {
    padding: 45px 16px;
          margin-top: 10px;

  }
  .why-makadi__title {
    font-size: 1.6rem;
  }
}

/* ==============================
   PHASES CAROUSEL
   ============================== */
.phases-carousel {
  background: #f7f9f8;
  padding: 55px 0;
  margin-bottom: 10px;

}
.phases-carousel__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 16px;
}
.phases-carousel__intro h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
    color: #009e8f;
    font-weight: 600;

}
.phases-carousel__intro p {
  color: #3d5c58;
  font-size: 0.95rem;
  text-align: center;
}
.phase-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.phase-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #008c7a;
  background: #fff;
  color: #008c7a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.phase-nav:hover,
.phase-nav:focus-visible {
  background: #008c7a;
  color: #fff;
}
.phases-swiper {
  padding: 0 16px 30px;
}
.phases-swiper .swiper-slide {
  height: auto;
}
.phase-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  transition: transform 0.4s ease;
  margin-top: 10px;
  


}






.phase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 50, 215, 0.217), rgba(5, 103, 88, 0.906));
}
.phase-card__content {
  position: relative;
  z-index: 1;
  padding: 24px;
  color: #fff;
  display: flex;
  text-align: center;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}
.phase-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.phase-card__name {
  font-size: 1.2rem;
  font-weight: 700;
}
.phase-card__logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.765);
  padding: 6px;
}
.phase-card__numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.phase-card__metric {
  background: rgba(28, 4, 4, 0.217);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.4;
}
.phase-card__metric strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.phase-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
}
.phase-card__actions {
  margin-top: auto;
  display: flex;
  gap: 12px;
}
.phase-btn {
  flex: 1;
  border-radius: 8px;
  border: 1px solid transparent;
  text-align: center;
  padding: 10px 0;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}
.phase-btn--primary {
  background: #008c7a;
  color: #fff;
}
.phase-btn--ghost {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.phase-pagination {
  text-align: center;
  padding-bottom: 10px;
}
.phase-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #8ecfc4;
  opacity: 1;
}
.phase-pagination .swiper-pagination-bullet-active {
  background: #008c7a;
}
@media (min-width: 768px) {
  .phases-carousel__head {
    flex-direction: row;
    align-items: center;
  }

  .phase-card:hover {
    transform: scale(1.02);
    

  }


.phase-btn--primary:hover{
 filter: brightness(0.9);
   border-color: #fff;
background: #027e6e;
}   

.phase-btn--ghost:hover{
  background: #027e6e;


}
  .phases-swiper {
    padding-inline: 36px;
  }
}

/* ==============================
   HERO ICONS (???????? ?????? ??????????)
   ============================== */
.hero-icons {
  border-radius: 15px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
    position: relative;
  }
  .hero-icons.floating-icons{
      background: #fff;

  }
.hero-icons .icon-box {
  
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 90px;
}
.hero-icons .hero-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-bottom: 6px;
}
.hero-icons span {
  font-size: 0.85rem;
  color: #222;
  unicode-bidi: plaintext; /* ???? ????? ????? ??????? */
}
.hero-icons .divider {
  width: 1px;
  height: 36px;
  background: #ddd;
}
/* ???? ???????? ???? ?? ????? ??? About */
.hero-icons.floating-icons {
  position: absolute;
  top: -50px; /* Desktop */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
@media (max-width: 768px) {
  .hero-icons.floating-icons {
    top: -100px; /* Mobile */
  }
  .hero-icons {
    flex-wrap: wrap;  /* ?????? ???? */
    justify-content: center;
    gap: 16px 20px;
    padding: 20px;
        margin-bottom: 100px;

  }
  .hero-icons .icon-box {
    flex: 1 1 40%; /* ????? ??? ??? */
    min-width: auto;
  }
  .hero-icons .divider { display: none; }
  .hero-icons .hero-icon {
    width: 32px;
    height: 32px;
  }
}

/* ==============================
   ABOUT SECTION (Hybrid: Grid + Swipe)
   ============================== */
.about {
  position: relative;
  padding: 40px 20px 60px; /* padding-top ???? ???? ???????? */
    background: #f4f7f5;
  margin-bottom: 10px;

}
.about h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
    color: #009e8f;
      font-weight: 600;

}

/* GRID VERSION (Desktop) */

.grid-version {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  
}
.grid-version .card {
  position: relative;
  aspect-ratio: 1.5;  /* ? ???? ???? */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);

  
  
}
.grid-version .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}
.grid-version .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px;
  background: linear-gradient(to bottom, rgba(0, 50, 215, 0.0), rgba(0, 0, 0, 0.906));
  color: #120101b0;
    z-index: 5;
}
.grid-version .card-overlay h3 {
  color: #00f8d7;       /* ?? ????? ???? */
  font-weight: 700;     /* ???? ???? */
}
.grid-version .card-overlay p {
  color: #ffffff;       /* ???? */
  font-weight: 400;     /* ??? ???? */
}

/* SWIPER VERSION (Mobile) */
.mobile-version {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}
.mobile-version .swiper-slide {
  display: flex;
  justify-content: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.mobile-version .card {
  position: relative;
aspect-ratio: 1.5;  /* ? ???? ???? */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}
.mobile-version .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mobile-version .card-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
}

/* Switch ??? Grid ? Swipe */
@media (max-width: 768px) { .grid-version { display: none; } }
@media (min-width: 769px) { .mobile-version { display: none; } }

/* Safari/iOS fallback when aspect-ratio is unsupported */
@supports not (aspect-ratio: 1/1) {
  .mobile-version .card { height: 260px; }
}

/* Ensure About swiper has minimum height so slides render */
.about-swiper { min-height: 260px; overflow: visible; }

/* Explicit sizing on iPhone to avoid zero-height slides */
@media (max-width: 768px) {
  .about-swiper { height: 320px; }
  .about-swiper .swiper-wrapper,
  .about-swiper .swiper-slide { height: 100%; }
}


/* Ensure About heading is never covered by floating icons on mobile */
@media (max-width: 768px){
  .about { padding-top: 60px !important; }
  .hero-icons.floating-icons { top: -120px !important; }
}

/* Improve Safari/iOS rendering for cards effect */
.about-swiper {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.about-swiper .swiper-wrapper,
.about-swiper .swiper-slide {
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ==============================
   FEATURES SLIDER (?????? ???????)
   ============================== */
.features-slider {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  border-radius: 12px;
}
.features-slider .slide {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 12px;
}
.features-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(80%);
  border-radius: 12px;
}
.feature-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background: rgba(255, 255, 255, 0.804);
  color: #333;
  padding: 28px 22px;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.feature-card h3 {
  font-size: 1.6rem;
  color: #00BFA6;
  margin-bottom: 10px;
}
.feature-card p { font-size: 1rem; }



/* ????? ???????? */
.slider-buttons {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

/* ===== Units Section ===== */
/* ===== Units Section ===== */
.units {
  padding: 60px 20px;
  text-align: center;
    background: #f4f7f5;
  margin-bottom: 10px;


}
.units h2 {
  font-size: 2rem;
  margin-bottom: 30px;
    color: #009e8f;
      font-weight: 600;

}

/* Grid of cards */
.unit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Card */
.unit-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-btn, .unit-card { will-change: transform; }
.unit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Unit image */
.unit-image {
  position: relative;
}
.unit-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.unit-image .status {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #00BFA6;
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Body */
.unit-body {
  padding: 15px;
  text-align: left;
}
.unit-title {
  font-size: 1.2rem;
  color: #00BFA6;
  margin-bottom: 5px;
}
.unit-location {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 12px;
}

/* Info bar */
.unit-info {
  display: flex;
  gap: 15px;        /* ? ??????? ??? ????????? */
  flex-wrap: wrap;  /* ?????? ?????? ??? ???? ??? ???????? */
  margin-bottom: 12px;
  align-items: center;
  /* flex-direction: row-reverse; */
}

.unit-info .info-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #444;
  gap: 5px;
}
.unit-info i {
  color: #00BFA6;
  font-size: 1rem;
}

/* Price */
.price {
  font-weight: bold;
  color: #222;
  margin-bottom: 12px;
}

/* Button */
.unit-card button {
  background: #00BFA6;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.unit-card button:hover {
  background: #009e8f;
}











/* ====== Testimonials Section ====== */
.testimonials-section {
  padding: 70px 8%;
  background: #f7f7f7;
  text-align: center;
  margin-bottom: 10px;
}

.testimonials-title {
  font-size: 2rem;
  font-weight: 600;
  color: #009e8f;
  margin-bottom: 40px;
}

/* Grid for desktop */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Each video card */
.t-video {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  height: 280px;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* Thumbnail */
.t-video .thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Overlay */
.t-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}






/* ====== Testimonials Description ====== */

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.t-desc {
  background: transparent;
  padding: 0 5px;
  text-align: left;
}

.t-quote {
  font-size: 18px;
  line-height: 1.6;
  color: #6aa7a3; /* نفس لون Makadi */
  margin: 0 0 10px;
  position: relative;
}

.t-quote::before {
  content: "“";
  font-size: 38px;
  color: #6aa7a3;
  position: absolute;
  left: -15px;
  top: -10px;
}







/* Play Button */
.t-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 42px;
  opacity: .85;
  transition: .3s;
}

.t-video:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.t-video:hover .t-play {
  opacity: 1;
}



/* Popup */
.testimonial-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.testimonial-popup iframe {
  width: 80%;
  max-width: 850px;
  height: 480px;
  border-radius: 12px;
}

.popup-close {
  position: absolute;
  top: 40px;
  right: 60px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}


/* Mobile: Turn into slider */
@media (max-width: 768px) {
  .testimonials-grid {
    display: flex;
    overflow-x: scroll;
    gap: 15px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }


  @media (max-width: 768px) {
  .testimonial-card {
    min-width: 80%;
  }
}
  .t-video {
    min-width: 80%;
    scroll-snap-align: center;
  }
}











/*----------------------------*/























/* ?? PAYMENT PLAN SECTION */



.offer-badge {
  display: inline-block;
  background: linear-gradient(90deg, #c9a24a, #f0d37a);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 14px rgba(201,162,74,0.25);
  margin-bottom: 20px;
}

.payment-plan {
  text-align: center;
  padding: 80px 20px;
  background: #f9f9f9;
  color: #00BFA6;
}

.payment-plan h2 {
  font-size: 2rem;
  margin-bottom: 10px;
    color: #009e8f;
      font-weight: 600;
}

.payment-card {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  background: #fff;
  padding: 20px 60px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  max-width: 800px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.payment-item h3 {
  padding-top: 30px;
  font-size: 2.8rem;
  font-weight: 800;
  color: #00BFA6;
  letter-spacing: 1px;
}

.divider {
  width: 2px;
  height: 60px;
  background: #00BFA6;
  border-radius: 4px;
}
.payment-note {
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  color: #444;
  font-weight: 700;
}

html[lang="en"] .payment-note {
  direction: ltr;
  text-align: center;
}




.payment-options-elegant {
  text-align: center;
  border-top: 1px solid rgba(0,191,166,0.3);
  
}

/* ??????? */
.payment-options-elegant h4 {
  font-size: 1.5rem;
  color: #009e8f;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

/* ?? ??? (??????) */
.payment-options-elegant .plan-line {
  display: block;                     /* ???? ?????? ???? ??? ???? */
  width: 100%;
  text-decoration: none;              /* ???? ???? ???? ??? ?????? */
  font-size: 1.3rem;
  font-weight: 500;
  color: #333;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08); /* ?????? ??? ????? */
  transition: all 0.3s ease;
  font-family: 'Playfair Display', serif;
  cursor: pointer;                    /* ??? ???? ??? ?????? */
  
}

/* ??? ???? ?? ??? ?? */
.payment-options-elegant .plan-line:last-child {
  border-bottom: none;
  
}

/* ????? ?????? */
.payment-options-elegant .plan-line:hover {
  color: #00BFA6;
  transform: scale(1.02);
    padding-bottom: 20px;

}









/* ?????? */
@media (max-width: 768px) {
  .payment-card {
    flex-direction: column;
    gap: 25px;
    padding: 30px 20px;
  }
  .divider {
    display: none;
  }
}

html[lang="ar"] [data-i18n="paymentDuration"] {
  direction: rtl;
  unicode-bidi: plaintext;
}

html[lang="en"] [data-i18n="paymentDuration"] {
  direction: ltr;
  unicode-bidi: plaintext;
}














/* ===== Contact Section ===== */
.contact {
  padding: 60px 20px;
  text-align: center;
  color: #00BFA6;
    background: #f4f7f5;
  margin-bottom: 10px;

  
}
.contact h2 { font-size: 2rem; margin-bottom: 20px; 
    color: #009e8f;
      font-weight: 600;}
.contact p { max-width: 700px; font-size: 1.rem; margin: 0 auto; color: #666;   text-align: center; margin-bottom: 30px;}
.contact-form {
  display: flex; flex-direction: column;
  gap: 12px; max-width: 400px;
  margin: 0 auto;
    background: #ffffff;
    padding:15px;
    border-radius: 20px;
}


@media (min-width:768px){
  .contact-form{

    box-shadow: #111;
    
   }
}

.contact-form input,
.contact-form textarea {
  padding: 12px; border: 1px solid #ccc; border-radius: 6px;  direction: rtl;
}
.contact-form button {
  background: #00BFA6; color: #fff; border: none;
  padding: 12px; border-radius: 6px; cursor: pointer;
}

/* ===== Popup ===== */
.popup {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); display: flex;
  align-items: center; justify-content: center;
  z-index: 2000;
}
.popup.hidden { display: none; }
.popup-content {
  background: #fff; padding: 20px; border-radius: 10px;
  width: 90%; max-width: 400px; position: relative;
}
.popup-content h3 { margin-bottom: 15px;
margin-left: 15px; }
.popup-content input,
.popup-content select,
.popup-content textarea {
  width: 100%; margin-bottom: 10px;
  padding: 10px; border: 1px solid #ccc; border-radius: 6px;
  background: #fff;
  color: #333;
}
.popup-content textarea {
  min-height: 110px;
  resize: vertical;
}
.popup-content button {
  width: 100%; padding: 12px;
  background: #00BFA6; color: #fff;
  border: none; border-radius: 6px;
  cursor: pointer;
}
.phone-group {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.phone-group input {
  flex: 1;
  
}
.country-select {
  flex: 0 0 30%;
  display: flex;
  align-items: stretch;
  border-radius: 6px;
  background: #fff;
}
.country-select select {
  border: none;
  background: transparent;
  width: 100%;
  color: #333;
  font-size: 0.95rem;
  height: 100%;
}
.country-select select:focus {
  outline: none;
}
.country-flag {
  display: inline-flex;
  width: 24px;
  border-radius: 3px;
  background: #f0f0f0;
  --fi-size: 18px;
}
.country-flag--hidden {
  opacity: 0;
}
@media (max-width: 480px) {
  .phone-group {
    flex-direction: column;
  }
  .phone-group input {
    width: 100%;
  }
  .country-select {
    width: 100%;
    flex: 1;
  }
  .country-select select {
    padding: 10px 0;
  }
}
.close-popup {
  position: absolute; top: 10px; left: 15px;
  font-size: 1.5rem; cursor: pointer;
}
.contact-form select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 0.95rem;
}

.form-label {
  color: #009e8f;
  font-weight: 600;
  text-align: right;
  margin-top: 8px;
  margin-bottom: 4px;
  display: block;
}

.contact-method {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #444;
}

.contact-method input[type="radio"] {
  accent-color: #00BFA6;
  margin-left: 5px;
}
.contact-method--popup {
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.contact-method--popup label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-method--popup label span {
  white-space: nowrap;
}
/* ========== Labels Alignment by Language ========== */

/* ???? ??? ?????? ??????? */
html[lang="ar"] .form-label {
  text-align: right;
  display: block;
  direction: rtl;
}

/* ???? ??? ?????? ?????????? */
html[lang="en"] .form-label {
  text-align: left;
  display: block;
  direction: ltr;
}


/* ==============================
   BUTTON SYSTEM (???? ???????)
   ============================== */
.nav-btn {
  --btn-bg: #007BFF;
  --btn-fg: #fff;
  --btn-bd: #007BFF;
  --btn-shadow: 0 6px 14px rgba(0,123,255,.25);

  border: none;
  cursor: pointer;
  transition: .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--btn-shadow);
}
.nav-btn i { pointer-events: none; }

/* Variants */
.nav-btn.primary { --btn-bg:#007BFF; --btn-fg:#fff; }
.nav-btn.outline {
  --btn-bg: transparent; --btn-fg:#007BFF; --btn-bd:#007BFF;
  border: 2px solid var(--btn-bd);
}
.nav-btn.ghost {
  --btn-bg: rgba(255,255,255,.15); --btn-fg:#fff;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
}
@media (max-width: 768px){
  .nav-btn.ghost { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.25); }
}
.nav-btn.glass {
  --btn-bg: rgba(255,255,255,.35); --btn-fg:#0f172a;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 10px 24px rgba(15,23,42,.15);
}
.nav-btn.round { border-radius: 50%; padding: 14px; width: 48px; height: 48px; }

/* Sizes */
.nav-btn.sm { padding:10px 12px; font-size:.95rem; }
.nav-btn.lg { padding:14px 20px; font-size:1.1rem; }

/* Hover/Active */
.nav-btn:hover { transform: translateY(-2px); }
.nav-btn:active { transform: translateY(0); opacity:.95; }

/* ===== Footer ===== */
.footer {
  background: #111;
  color: #ddd;
  padding: 50px 20px 20px;
  font-size: 0.95rem;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h2.logo {
  font-size: 1.5rem;
  color: #fff;
}
.footer-col h2.logo span {
  color: #00BFA6;
}
.footer-col h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.footer-col p {
  margin: 8px 0;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin: 8px 0;
}
.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col ul li a:hover {
  color: #00BFA6;
}


/* Social Icons */
.socials a {
  display: inline-block;
  margin-right: 12px;
  color: #ddd;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}
.socials a:hover {
  color: #00BFA6;
}




/* Bottom Bar */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 15px;
  font-size: 0.85rem;
  color: #aaa;
}


/* Better tap targets ??? ???????? */
@media (max-width:600px){
  .nav-btn { padding:14px 16px; }
  .nav-btn.round { width:52px; height:52px; }
}

/* ==============================
   GLOBAL SECTION PADDING (?????? ???? ???????)
   ============================== */
section {
  padding: 60px 20px;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}
/* ?????? */
@media (max-width: 768px) {
  section { padding: 40px 15px; }
}
/* ??????? ??? Hero */
.hero-img {
  padding: 0;
  max-width: 100%;
}





/*====== Whatsapp icon ======*/
/* ?????? ?????? */
#whatsapp-icon {
  position: fixed;
  bottom: 90px;  /* ???? ???? ??? ?? ????? */
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  z-index: 3000;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transition: transform 0.2s ease;
}

#whatsapp-icon:hover {
  transform: translateY(-3px);
  background-color: #20b358;
}





/* RTL/LTR ??? ??????? ????? ?? ?????? */
html[dir="rtl"] .user-msg{ text-align:right; }
html[dir="ltr"] .user-msg{ text-align:left; }



/* ??????: ???? ??????? ???? ? ???? */
@media (max-width: 480px){
  #chat-box{ right: 12px; bottom: 80px; width: calc(100vw - 24px); max-height: 70vh; }
  #chat-icon{ right: 12px; bottom: 16px; width: 56px; height: 56px; }
  #whatsapp-icon {
    bottom: 90px; /* ?????? ??? ?????? ????? ????? ?????? ?????? */
    right: 12px;  /* ??? ????? ?????? */
  }
}

/* ==============================
   RTL / LTR Language Direction
   ============================== */
html[lang="ar"] {
  direction: rtl;
  text-align: right; /* ???? ?????? ???? ???? ?????? */
}

html[lang="en"] {
  direction: ltr;
  text-align: left;  /* ?????? ??????? ???? ?????? */
}

.orascom_logo {
  max-width: 150px;
  max-height: auto;
  margin-right: 0px;

}

.Luxuryhub_logo {
  max-width: 60px;
  max-height: 60px;
  margin-right: 20px;
  transform: translateY(30%);

}
/* ===== ????? RTL / LTR ===== */
html[lang="ar"] .units .unit-cards {
  direction: rtl;
  text-align: right;
}

html[lang="en"] .units .unit-cards {
  direction: ltr;
  text-align: left;
}

html[lang="ar"] .unit-body {
  text-align: right;
}

html[lang="en"] .unit-body {
  text-align: left;
}




/* === ????? ????? ?????? ??????? ?? ????? ?????????? ??? ????? ?????? === */
/* ????? ???? ?????? ??????? ?? ?????? ?????????? ???? ????? ???????? */
html[lang="en"] * {
  unicode-bidi: plaintext;
}
@supports (-webkit-touch-callout: none) {
  .hero,
  .payment-card,
  .r8-map-section {
    will-change: transform;
    transform: translate3d(0,0,0);
  }
}



/* ?? ????? ???? ?? swiper ?? ??????? ??????? 
/* ? ????? ????? ???? ???????? ??? ??? ??????? ??????? */
.mobile-version {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-version {
    display: block !important;
  }
}








