* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --primary: #201747;
    --primary-light: #2d2062;
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #fafafa;
    --bg-gray: #f5f5f5;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --gold: #c7a447;
    --light-gold: #d7b85b;
  
  }
  
  body {
    font-family: 'Tajawal', sans-serif;
    background: #fff;
    color: var(--text-dark);
    line-height: 1.6;
  }
  
  /* Header */
 
  
  .logo img {
    height: 50px;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
  }
  
  nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--primary);
    transition: background 0.3s;
  }
  
  nav a:hover {
    background: var(--primary-light);
  }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('https://via.placeholder.com/1920x800?text=Hero+Background') no-repeat center center / cover;
    padding: 25px 5%;
    text-align: center;
  }
  /* Split Hero Section */
.hero-split {
    display: flex;
    align-items: center;
    background: #fff;
    gap: 40px;
  }
  
  .hero-content {
    flex: 1;
    min-width: 300px;
  }
  
  .hero-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
    text-align: justify;
  }
  
  .hero-image {
    flex: 1;
    min-width: 300px;
    gap: 5%;
    display: flex;
    justify-content: center;
  }
  
  .hero-image img {
    /* width: 40%; */
    max-width:40%;
    
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    
  }
  
  /* Responsive: Stack on mobile */
  @media (max-width: 992px) {
    .hero-split {
      flex-direction: column;
      text-align: center;
    }
  
    .hero-content p {
      text-align: center;
      max-width: 700px;
      margin: 0 auto;
    }
  
    .hero-image {
      order: -1; /* Image on top on mobile */
      /* margin-bottom: 10px; */
    }
  }
  
  .hero h1 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
  }
  
  .hero-content p {
    font-size: 1rem;
    line-height: 1.9;
    color: #222;
    font-weight: 400;
    text-align: justify;
    max-width: 700px;
  }
  
  .hero-content strong {
    color: var(--primary); /* #201747 */
    font-weight: 700;
  }
  
  /* Booking Form */
  .booking {
    background: var(--primary);
    padding: 60px 5%;
    text-align: center;
  }
  
  .booking h2 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    position: relative;
  }
  
  .booking h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--text-light);
    margin: 15px auto;
  }
  
  .booking form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .booking input {
    flex: 1;
    min-width: 250px;
    padding: 12px 15px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
  }
  
 
  
  .gallery {
    width: 100%;
    overflow: hidden;
    background: #f9f9f9;
    padding: 50px 0;
    font-family: 'Tajawal', sans-serif;
  }
  
  .divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .divider span {
    display: block;
    height: 2px;
    width: 60px;
    background-color: #FFD15C;
    margin: 0 10px;
  }
  
  .gallery h2 {
    text-align: center;
    margin: 20px 0;
  }
  .slider-container {
    width: 100%;
    overflow-x: auto; /* Enable horizontal scroll on mobile */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scroll-behavior: smooth;
    position: relative;
    scrollbar-width: none; /* Firefox */
  }
  
  /* Hide scrollbar for all browsers */
  .slider-container::-webkit-scrollbar {
    display: none;
  }
  
  .slider {
    display: flex;
    width: max-content; /* Let content define width */
    gap: 20px;
    padding: 10px 0;
    animation: scroll 40s linear infinite; /* ✅ Always animate */
  }
  
  .slider-container:hover .slider {
    animation-play-state: paused;
  }
  
  .slider img {
    width: 280px;
    height: 280px;
    flex-shrink: 0;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .slider img:hover {
    transform: scale(1.05);
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-100% + 100vw));
    }
  }
  
  /* ✅ Optional: Adjust speed for smaller screens */
  @media (max-width: 768px) {
    .slider {
      animation-duration: 55s; /* faster scroll on mobile */
    }
  }
    button[type="submit"] {
    background: var(--bg-light); /* #201747 */
    color: var(--primary);
    border: none;
    padding: 14px 36px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px; /* Fully rounded for elegance */
    cursor: pointer;
    width: 40%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(32, 23, 71, 0.25);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    font-weight: 900;
  }
  
  button[type="submit"]:hover {
    background: var(--bg-light); /* #2d2062 */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 23, 71, 0.35);
    color: #000;
  }
  
  button[type="submit"]:active {
    transform: translateY(0);
  }
  
  /* Optional: Add subtle ripple effect on click */
  button[type="submit"]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
  }
  
  button[type="submit"]:focus {
    outline: none;
  }

  
  
  /* Optional: Add subtle ripple effect on click */
  .contact-form-section {
    background: #f9f9f9;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Tajawal', sans-serif;
  }
  
  .form-container {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
  
  .form-container h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
  }
  
  .form-group {
    margin-bottom: 20px;
    text-align: right;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-weight: 600;
    font-size: 1rem;
  }
  
  .form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid var(--primary);
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: inherit;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .form-group input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 8px rgba(125, 177, 67, 0.3);
  }
  
  button {
    background: var(--primary);
    border: none;
    padding: 12px 20px;
    width: 100%;
    border-radius: 10px;
    color: #543A14;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
  }
  
  button:hover {
    background: var(--primary);
    transform: translateY(-2px);
  }
  
  
  
  .controls button {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .controls button:hover {
    background: var(--primary-light);
  }
  
  .whatsapp-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    z-index: 10;
  }
  
  .whatsapp-btn a {
    color: white;
    text-decoration: none;
  }
  
  /* Units Section */
  .units {
    padding: 60px 5%;
    background: var(--bg-gray);
    text-align: center;
  }
  
  .unit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
  }
  
  .unit-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
  }
  
  .unit-item:hover {
    transform: translateY(-5px);
  }
  
  .unit-item h3 {
    background: var(--primary);
    color: var(--text-light);
    padding: 15px;
    font-size: 1.4rem;
    margin: 0;
  }
  
  .unit-item img {
    width: 80%;
    height: 200px;
    object-fit: cover;
  }
/* ✅ Extra slow & subtle popup animation for icons */
.unit-item {
  animation: popup 18s ease-in-out infinite; /* ⏳ slower by ~70% */
  animation-delay: calc(var(--random-delay) * 1s);
  transform-origin: center;
}

/* ✅ Much smoother and smaller popup range */
@keyframes popup {
  0% {
    transform: scale(1);
    box-shadow: 0 0 4px rgba(32, 23, 71, 0.15);
  }
  50% {
    transform: scale(1.15); /* ↓ reduced popup range by 50% (was 1.3) */
    box-shadow: 0 0 15px rgba(32, 23, 71, 0.35);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 4px rgba(32, 23, 71, 0.15);
  }
}

/* ✅ Randomized start delay for each icon */
.unit-item:nth-child(1) { --random-delay: 0; }
.unit-item:nth-child(2) { --random-delay: 2.2; }
.unit-item:nth-child(3) { --random-delay: 4.5; }
.unit-item:nth-child(4) { --random-delay: 6.8; }
.unit-item:nth-child(5) { --random-delay: 9.1; }
.unit-item:nth-child(6) { --random-delay: 7.3; }

/* ✅ Even slower on mobile for more calm effect */
@media (max-width: 768px) {
  .unit-item {
    animation-duration: 25s; /* 🐢 extra slow for mobile */
  }
  #form1submit{
    width: 100% !important;
  }
}

  
  /* Services */
  .services {
    padding: 2px 5%;
    background: #fff;
  }
  
  .services h2 {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
  }
  
  .services h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto;
  }
  
  .services-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
  }
  
  .services-text {
    flex: 1;
    min-width: 300px;
  }
  
  .services-text p {
    margin-bottom: 20px;
    color: var(--text-dark);
  }
  
  .services-text ul {
    list-style: none;
    padding-left: 20px;
  }
  
  .services-text li {
    margin: 8px 0;
    color: var(--text-dark);
  }
  
  .services-video {
    flex: 1;
    min-width: 300px;
  }
  
  .services-video video {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
  }
  
  /* Other Projects */
  .other-projects {
    font-family: 'Tajawal', sans-serif !important;
    padding: 60px 5%;
    background: var(--bg-gray);
    text-align: center;
  }
  
  .other-projects h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    text-align: center !important; color: #543A14 !important; margin-bottom: 20px !important;
  }
  
  .other-projects h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto;
  }
  
  .other-projects p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 18px; line-height: 1.8; color: #333;
  }
  
  .other-projects ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .other-projects li {
    margin: 10px 0;
    color: var(--text-dark);
  }
  
  /* Footer */
  footer {
    background: #111;
    color: var(--text-light);
    padding: 40px 5% 20px;
    text-align: center;
  }
  
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
  }
  
  .footer-logo img {
    height: 80px;
    background-color: white;
    padding: 10px;
    border-radius: 7px;
  }
  
  .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .phone-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
  }
  
  .phone-btn:hover {
    background: var(--primary-light);
  }
  
  .footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    header {
      flex-direction: column;
      padding: 15px;
    }
  
    nav ul {
      gap: 15px;
      
      margin-top: 15px;
      
    }
  
    .hero h1 {
      font-size: 1.8rem;
    }
  
    .booking form {
      flex-direction: column;
    }
  
    .location-section,
    .services-content {
      flex-direction: column;
    }
  
    .footer-top {
      flex-direction: column;
    }
  }
  /* Payment & Booking Section */
  .payment-section {
    padding: 60px 5%;
    background: #f5f3fc; /* Light purple tint */
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .payment-section h2,
  .payment-section h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
  }
  
  .divider {
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin: 20px auto 40px; */
    gap: 12px;
  }
  
  .divider span {
    flex: 1;
    height: 1px;
    background: var(--primary);
  }
  
  .divider svg {
    fill: var(--primary);
  }
  
  .stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
  }
  
  .stat {
    text-align: center;
    min-width: 180px;
  }
  
  .stat p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
  }
  
  .stat h3 {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
  }
  
  .booking-form {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px auto;
    max-width: 600px;
    
  }
  
  .booking-form input {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 2rem;
    min-width: 200px;
    direction: rtl;
  }
  
 
  
  .contact-line {
    margin-top: 40px;
  }
  
  .contact-line p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 15px;
  }
  
  .contact-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
  }
  
  .contact-btn:hover {
    background: var(--primary-light);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .booking-form {
      flex-direction: column;
      align-items: center;
    }
  
    .booking-form input,
   
    .stats {
      gap: 20px;
    }
  
    .stat {
      min-width: 140px;
    }
  
    .stat h3 {
      font-size: 1.5rem;
    }
  }
  /* Tabs in a Row */
.tabs-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px ;
    flex-wrap: wrap;
  }
  .tab-item {
    background: linear-gradient(135deg, var(--gold), #ffcc33);
    color: white;
    padding: 14px 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
  
  .tab-item:hover {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, #ffe27a, var(--gold));
    box-shadow: 0 6px 20px rgba(255, 209, 92, 0.5);
    }
  
  
  
  /* Responsive: Stack on small screens */
  @media (max-width: 768px) {
    .tabs-row {
      flex-direction: column;
      align-items: center;
    }
  
    .tab-item {
      width: 100%;
      max-width: 300px;
      justify-content: center;
      text-align: center;
    }
  }

  .other-projects {
    padding: 60px 5%;
    background: #f9f7fc; /* Light purple tint to match brand */
    text-align: right;
    direction: rtl;
  }
  
  .other-projects h2 {
    font-size: 2rem;
    color: var(--primary); /* #201747 */
    margin-bottom: 25px;
    text-align: center;
  }
  
  .other-projects p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    max-width: 900px;
    margin: 0 auto;
  }


.floating-icons {
  position: fixed;
  bottom: 20px;
  left: 20px;
  /* من اليسار */
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.floating-icons a {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  /* واتساب */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out;
  text-decoration: none;
}

.floating-icons a.phone {
  background: #fff;
  /* تليفون */
}

.floating-icons a img {
  width: 28px;
  height: 28px;
}

.floating-icons a:hover {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #868686e5;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: #c9c9c9dd transparent #c2c2c2 transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
.d-none{
  display: none;
}
.btn-submit {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: #FFD15C; /* gold color */
  color: #000;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

/* Hover effect */
.btn-submit:hover {
  background: #e6b84d;
}

/* ✅ Full width on mobile */
@media (max-width: 768px) {
  .btn-submit {
    width: 100%;
    display: block;
  }
}
.projects-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 40px 20px;
  background: #f8f8f8;
  text-align: center;
  font-family: "Tajawal", sans-serif;
}

.project-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card h3 {
  color: #201747;
  font-size: 1.3rem;
  margin: 15px 0 5px;
}

.project-card p {
  color: #555;
  font-size: 0.95rem;
  padding: 0 15px 15px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-bottom: 15px;
}

.whatsapp-btn,
.discover-btn {
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.whatsapp-btn {
  background: #25D366;
  color: #fff;
}

.whatsapp-btn:hover {
  background: #1EBE57;
}

.discover-btn {
  background: #FFD15C;
  color: #201747;
}

.discover-btn:hover {
  background: #E6B84E;
}


.strongphoto{
  font-size: larger;
}
.logowhite{
  color: white;
}
.w-40px{
  width: 40px;
}
.whats-btn{
  display: flex !important;
  align-self: center;
  gap: 5px !important;
  background-color: #25D366 !important;
  color: white !important;
}
.what-btn-img{
  width: 25px !important; 
  height: 25px !important;
}