/**
 * UI/UX Improvements - Spacing Standardization
 * Thahab Capital Real Estate Development
 *
 * This file standardizes spacing across all sections using an 8px grid system
 * Load this after main stylesheets for proper cascading
 */

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
  /* ============================================
     BRAND COLORS
     ============================================ */
  /* Primary Colors */
  --color-primary: #c9a227;
  /* Gold/Base color */
  --color-primary-light: #d4af37;
  /* Lighter gold */
  --color-primary-dark: #b28a3c;
  /* Darker gold */
  --color-primary-rgb: 201, 162, 39;
  /* RGB for alpha variants */

  /* Secondary Colors */
  --color-secondary: #1d3c6e;
  /* Navy blue */
  --color-secondary-light: #2d4d7e;
  /* Lighter navy */
  --color-secondary-dark: #0d2d5e;
  /* Darker navy */
  --color-secondary-rgb: 29, 60, 110;
  /* RGB for alpha variants */

  /* Accent Colors */
  --color-accent-brown: #b78560;
  /* Brown accent */
  --color-accent-brown-rgb: 183, 133, 96;
  --color-accent-legacy: #B8985B;
  /* Legacy gold tone */

  /* Neutral Colors - Dark */
  --color-black: #1a1613;
  /* Main black */
  --color-dark: #1a1a1a;
  /* Footer/dark sections */
  --color-text-dark: #111f2c;
  /* Dark text */
  --color-text-medium: #5f6470;
  /* Medium gray text */
  --color-text-light: #888888;
  /* Light gray text */

  /* Neutral Colors - Light */
  --color-white: #ffffff;
  /* Pure white */
  --color-gray-50: #f8f9fc;
  /* Very light gray */
  --color-gray-100: #f8f9fa;
  /* Light gray background */
  --color-gray-200: #e9ecef;
  /* Light gray */
  --color-gray-300: #ddd;
  /* Medium light gray */
  --color-gray-600: #666666;
  /* Medium gray */
  --color-gray-700: #444444;
  /* Dark gray */

  /* State Colors */
  --color-success: #28a745;
  /* Green */
  --color-success-rgb: 40, 167, 69;
  --color-error: #dc3545;
  /* Red */
  --color-error-rgb: 220, 53, 69;
  --color-info: #007bff;
  /* Blue */
  --color-info-light: #0056b3;
  /* Darker blue */
  --color-whatsapp: #25D366;
  /* WhatsApp green */
  --color-whatsapp-rgb: 37, 211, 102;

  /* ============================================
     BACKGROUNDS
     ============================================ */
  --bg-body: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a1a;
  --bg-overlay-dark: rgba(0, 0, 0, 0.5);
  --bg-overlay-darker: rgba(0, 0, 0, 0.85);
  --bg-card-light: rgba(255, 255, 255, 0.95);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --bg-gradient-light: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.92) 100%);
  --bg-gradient-gold: linear-gradient(135deg, #c9a227 0%, #d4af37 100%);
  --bg-gradient-dark: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);

  /* ============================================
     TEXT COLORS
     ============================================ */
  --text-primary: #1a1613;
  --text-secondary: #5f6470;
  --text-light: #888888;
  --text-lighter: rgba(255, 255, 255, 0.9);
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-white: #ffffff;

  /* ============================================
     BORDERS
     ============================================ */
  --border-color-light: rgba(0, 0, 0, 0.08);
  --border-color-medium: rgba(0, 0, 0, 0.1);
  --border-color-dark: rgba(255, 255, 255, 0.1);
  --border-color-primary: var(--color-primary);
  --border-color-secondary: var(--color-secondary);

  --border-width-thin: 1px;
  --border-width-medium: 2px;
  --border-width-thick: 3px;

  /* ============================================
     BORDER RADIUS (Sharp vs Soft Edges)
     ============================================ */
  --radius-none: 0;
  --radius-sm: 8px;
  /* Small radius */
  --radius-md: 10px;
  /* Medium radius - DEFAULT */
  --radius-lg: 12px;
  /* Large radius */
  --radius-xl: 15px;
  /* Extra large */
  --radius-2xl: 20px;
  /* 2X large */
  --radius-3xl: 28px;
  /* 3X large */
  --radius-round: 50%;
  /* Fully round */
  --radius-pill: 999px;
  /* Pill shape */

  /* ============================================
     SHADOWS
     ============================================ */
  --shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 8px 25px rgba(0, 0, 0, 0.12);
  --shadow-2xl: 0 12px 40px rgba(0, 0, 0, 0.15);
  --shadow-3xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-primary: 0 4px 12px rgba(201, 162, 39, 0.25);
  --shadow-primary-hover: 0 6px 20px rgba(201, 162, 39, 0.35);
  --shadow-whatsapp: 0 8px 25px rgba(37, 211, 102, 0.4);

  /* ============================================
     TYPOGRAPHY
     ============================================ */
  /* Font Families */
  --font-primary: 'Tajawal', sans-serif;
  --font-secondary: 'Cairo', sans-serif;

  /* Font Sizes */
  --font-size-xs: 0.8rem;
  /* 12.8px */
  --font-size-sm: 0.9rem;
  /* 14.4px */
  --font-size-base: 1rem;
  /* 16px */
  --font-size-md: 1.05rem;
  /* 16.8px */
  --font-size-lg: 1.1rem;
  /* 17.6px */
  --font-size-xl: 1.2rem;
  /* 19.2px */
  --font-size-2xl: 1.35rem;
  /* 21.6px */
  --font-size-3xl: 1.5rem;
  /* 24px */
  --font-size-4xl: 1.75rem;
  /* 28px */
  --font-size-5xl: 2rem;
  /* 32px */
  --font-size-6xl: 2.5rem;
  /* 40px */
  --font-size-7xl: 3rem;
  /* 48px */

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-snug: 1.3;
  --line-height-normal: 1.4;
  --line-height-relaxed: 1.6;
  --line-height-loose: 1.8;
  --line-height-extra-loose: 1.9;

  /* ============================================
     SPACING SCALE - Based on 8px Grid System
     ============================================ */
  --spacing-xs: 0.5rem;
  /* 8px */
  --spacing-sm: 1rem;
  /* 16px */
  --spacing-md: 1.5rem;
  /* 24px */
  --spacing-lg: 2rem;
  /* 32px */
  --spacing-xl: 3rem;
  /* 48px */
  --spacing-2xl: 4rem;
  /* 64px */
  --spacing-3xl: 5rem;
  /* 80px */
  --spacing-4xl: 6rem;
  /* 96px */
  --spacing-5xl: 8rem;
  /* 128px */

  /* Section Spacing - Standardized Values */
  --section-padding-top: 5rem;
  /* 80px */
  --section-padding-bottom: 5rem;
  /* 80px */
  --section-padding-top-lg: 6rem;
  /* 96px */
  --section-padding-bottom-lg: 6rem;
  /* 96px */

  /* Element Spacing */
  --element-margin: 2rem;
  /* 32px */
  --element-margin-sm: 1rem;
  /* 16px */

  /* ============================================
     TRANSITIONS & ANIMATIONS
     ============================================ */
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 400ms ease;
  --transition-slower: 500ms ease;
  --transition-cubic: cubic-bezier(0.4, 0, 0.2, 1);

  /* ============================================
     Z-INDEX LAYERS
     ============================================ */
  --z-base: 0;
  --z-content: 1;
  --z-sticky: 10;
  --z-fixed: 100;
  --z-overlay: 1000;
  --z-modal: 9000;
  --z-tooltip: 9999;
  --z-top: 10000;
}

/* ============================================
   SECTION PADDING STANDARDIZATION
   ============================================ */

/* Hero Section (Main Slider) */
.main-slider {
  /* Hero sections typically don't need extra padding */
}

/* About Section */
.about-one {
  padding-top: var(--section-padding-top-lg);
  padding-bottom: var(--section-padding-bottom-lg);
}

/* Counter Section */
.counter-one {
  padding-top: var(--section-padding-top);
  padding-bottom: var(--section-padding-bottom);
}

/* Why Choose Section */
.why-choose-one {
  padding-top: var(--section-padding-top-lg);
  padding-bottom: var(--section-padding-bottom-lg);
}

/* Brand Section */
.brand-one {
  padding-top: var(--section-padding-top);
  padding-bottom: var(--section-padding-bottom);
}

/* Apartment/Projects Section */
.apartment-one {
  padding-top: var(--section-padding-top-lg);
  padding-bottom: var(--section-padding-bottom-lg);
}

/* Gallery Section */
.gallery-one {
  padding-top: var(--section-padding-top);
  padding-bottom: var(--section-padding-bottom);
}

/* Testimonial Section */
.testimonial-one {
  padding-top: var(--section-padding-top-lg);
  padding-bottom: var(--section-padding-bottom-lg);
}

/* News Section */
.news-one {
  padding-top: var(--section-padding-top);
  padding-bottom: var(--section-padding-bottom);
}

/* Contact Section */
.contact-one {
  padding-top: var(--section-padding-top-lg);
  padding-bottom: var(--section-padding-bottom-lg);
}

/* Google Map Section */
.google-map {
  /* Maps typically don't need padding adjustments */
}

/* Footer */
.site-footer {
  padding-top: var(--section-padding-top-lg);
  padding-bottom: var(--section-padding-bottom);
}

/* ============================================
   UTILITY CLASSES FOR SPACING
   ============================================ */

/* Margin Top Utilities */
.mt-0 {
  margin-top: 0 !important;
}

.mt-xs {
  margin-top: var(--spacing-xs) !important;
}

.mt-sm {
  margin-top: var(--spacing-sm) !important;
}

.mt-md {
  margin-top: var(--spacing-md) !important;
}

.mt-lg {
  margin-top: var(--spacing-lg) !important;
}

.mt-xl {
  margin-top: var(--spacing-xl) !important;
}

.mt-2xl {
  margin-top: var(--spacing-2xl) !important;
}

.mt-3xl {
  margin-top: var(--spacing-3xl) !important;
}

.mt-4xl {
  margin-top: var(--spacing-4xl) !important;
}

.mt-5xl {
  margin-top: var(--spacing-5xl) !important;
}

/* Margin Bottom Utilities */
.mb-0 {
  margin-bottom: 0 !important;
}

.mb-xs {
  margin-bottom: var(--spacing-xs) !important;
}

.mb-sm {
  margin-bottom: var(--spacing-sm) !important;
}

.mb-md {
  margin-bottom: var(--spacing-md) !important;
}

.mb-lg {
  margin-bottom: var(--spacing-lg) !important;
}

.mb-xl {
  margin-bottom: var(--spacing-xl) !important;
}

.mb-2xl {
  margin-bottom: var(--spacing-2xl) !important;
}

.mb-3xl {
  margin-bottom: var(--spacing-3xl) !important;
}

.mb-4xl {
  margin-bottom: var(--spacing-4xl) !important;
}

.mb-5xl {
  margin-bottom: var(--spacing-5xl) !important;
}

/* Padding Top Utilities */
.pt-0 {
  padding-top: 0 !important;
}

.pt-xs {
  padding-top: var(--spacing-xs) !important;
}

.pt-sm {
  padding-top: var(--spacing-sm) !important;
}

.pt-md {
  padding-top: var(--spacing-md) !important;
}

.pt-lg {
  padding-top: var(--spacing-lg) !important;
}

.pt-xl {
  padding-top: var(--spacing-xl) !important;
}

.pt-2xl {
  padding-top: var(--spacing-2xl) !important;
}

.pt-3xl {
  padding-top: var(--spacing-3xl) !important;
}

.pt-4xl {
  padding-top: var(--spacing-4xl) !important;
}

.pt-5xl {
  padding-top: var(--spacing-5xl) !important;
}

/* Padding Bottom Utilities */
.pb-0 {
  padding-bottom: 0 !important;
}

.pb-xs {
  padding-bottom: var(--spacing-xs) !important;
}

.pb-sm {
  padding-bottom: var(--spacing-sm) !important;
}

.pb-md {
  padding-bottom: var(--spacing-md) !important;
}

.pb-lg {
  padding-bottom: var(--spacing-lg) !important;
}

.pb-xl {
  padding-bottom: var(--spacing-xl) !important;
}

.pb-2xl {
  padding-bottom: var(--spacing-2xl) !important;
}

.pb-3xl {
  padding-bottom: var(--spacing-3xl) !important;
}

.pb-4xl {
  padding-bottom: var(--spacing-4xl) !important;
}

.pb-5xl {
  padding-bottom: var(--spacing-5xl) !important;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Tablet and Below */
@media (max-width: 991px) {
  :root {
    --section-padding-top: 4rem;
    /* 64px */
    --section-padding-bottom: 4rem;
    /* 64px */
    --section-padding-top-lg: 5rem;
    /* 80px */
    --section-padding-bottom-lg: 5rem;
    /* 80px */
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --section-padding-top: 3rem;
    /* 48px */
    --section-padding-bottom: 3rem;
    /* 48px */
    --section-padding-top-lg: 4rem;
    /* 64px */
    --section-padding-bottom-lg: 4rem;
    /* 64px */
  }
}

/* ============================================
   SPECIFIC FIXES FOR KNOWN ISSUES
   ============================================ */

/* Ensure sections don't have excessive top margins */
section {
  margin-top: 0;
}

/* Fix contact section that might have mt-5 class */
.contact-one.mt-5 {
  margin-top: 0 !important;
  padding-top: var(--section-padding-top-lg);
}

/* Ensure consistent section title margins */
.section-title {
  margin-bottom: var(--spacing-lg);
}

/* Standardize card spacing in projects section */
.apartment-one .row {
  margin-bottom: 0;
}

.apartment-one__single {
  margin-bottom: var(--spacing-lg);
}

/* ============================================
   HOMEPAGE HERO & HEADER CUSTOMIZATIONS
   ============================================ */

/* Remove header bottom border */
.main-header:before {
  display: none !important;
}

/* Make hero section 100vh height */
.main-slider .swiper-slide {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.main-slider .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* Change hero text animation from sliding to fade-in only */
.main-slider__title {
  -webkit-transform: translateY(0) !important;
  transform: translateY(0) !important;
  max-width: 90%;
}

.main-slider__sub-title {
  -webkit-transform: translateY(0) !important;
  transform: translateY(0) !important;
}

/* Header Contact Info Styling */
.main-menu__contact-info {
  display: flex;
  align-items: center;
  margin-right: 20px;
  padding-right: 20px;
  position: relative;

}

.main-menu__search-box {
  display: none !important;
}

/* Separator line between search/cart and contact info */
.main-menu__search-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
}

.main-menu__contact-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: row-reverse;
}

.main-menu__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(201, 162, 39, 0.1);
  color: var(--alipes-base, #c9a227);
  font-size: 18px;
  flex-shrink: 0;
}

.main-menu__contact-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.main-menu__contact-text a {
  font-size: 14px;
  color: var(--alipes-white, #ffffff);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'Tajawal', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.main-menu__contact-text a i {
  font-size: 14px;
}

.main-menu__phone {
  font-weight: 600;
}

.main-menu__email {
  font-weight: 400;
  font-size: 12px;
  opacity: 0.9;
}

.main-menu__contact-text a:hover {
  color: var(--alipes-base, #c9a227);
}

.main-menu__cart-box {
  display: none;
}

.main-menu__search-cart-box {
  flex-direction: row !important;
}

.main-menu__search-cart-box::before {
  display: none;
}

.main-menu__main-menu-box {
  padding-right: 0 !important;
}

.main-menu__phone {
  direction: ltr !important;
}

/* Responsive adjustments for contact info */
@media (max-width: 1199px) {
  /* .main-menu__contact-info {
    margin-left: 15px;
    padding-left: 15px;
  } */

  .main-menu__contact-text a {
    font-size: 13px;
  }

  .main-menu__email {
    font-size: 11px;
  }
}

@media (max-width: 991px) {
  .main-menu__contact-info {
    display: none;
  }
}

/* ============================================
   BUTTON STYLING
   ============================================ */

/* Apply border-radius to all theme buttons */
.thm-btn {
  /* border-radius: var(--radius-md) !important; */
  transition: var(--transition-base);
}

/* ============================================
   ABOUT SECTION CUSTOMIZATIONS
   ============================================ */

/* Remove animations from about image box */
.about-one__img-box {
  animation: none !important;
  -webkit-animation: none !important;
}

/* Remove pseudo-elements from about image box (border and background) */
.about-one__img-box::before,
.about-one__img-box::after {
  display: none !important;
  content: none !important;
}

/* Remove animated dots shape */
.about-one__shape-1 {
  display: none !important;
}

/* Remove "THAHAB" big text overlay */
.about-one__big-text {
  display: none !important;
}

/* Add border-radius to about image */
.about-one__img img {
  border-radius: var(--radius-md) !important;
}

/* Remove pseudo-elements from about image */
.about-one__img::before,
.about-one__img::after {
  display: none !important;
}

.about-one__left {
  margin-top: 0;
  /* margin-left: 80px; */
}

/* Service cards styling - make clickable with borders */
.about-one__service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: var(--border-width-medium) solid var(--color-black);
  padding: 12px;
  transition: var(--transition-base);
  background-color: transparent;
  height: 100%;
}

.about-one__service-card:hover {
  background-color: rgba(var(--color-primary-rgb), 0.05);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.about-one__service-card .about-one__points-text {
  margin-bottom: 0;
  color: inherit;
}

/* Adjust list item spacing for bordered cards */
/* .about-one__points-list li {
  margin-bottom: 16px;
} */

.about-one__points-list li:last-child {
  margin-bottom: 0;
}

/* ============================================
   COUNTER SECTION CUSTOMIZATIONS
   ============================================ */

/* Make counter boxes clickable */
.counter-one__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Reduce padding to make boxes more square */
/* .counter-one__single {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
  transition: all 0.3s ease;
  border-radius: 10px;
} */

/* Hover effects */
.counter-one__link:hover .counter-one__single {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.counter-one__link:hover .counter-one__shape {
  background-color: var(--color-primary);
}

.counter-one__link:hover .counter-one__icon img {
  transform: scale(1.1);
}

.counter-one__icon img {
  transition: transform var(--transition-base);
}

/* ============================================
   WHY CHOOSE SECTION REDESIGN
   ============================================ */

/* YouTube Video Background */
.why-choose-one {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.why-choose-one__video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.why-choose-one__video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.77vh;
  /* 16:9 */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.why-choose-one__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Hide old background and decorations */
.why-choose-one__bg,
.why-choose-one__shape-1,
.why-choose-one__shape-2 {
  display: none !important;
}

/* Content positioning */
.why-choose-one .container {
  position: relative;
  z-index: 2;
  max-width: 1440px !important;
  margin: 0 auto;
  /* max-width: 1440px; */
}


.why-choose-one .container .box {
  width: 50%;
}

@media (max-width:767px) {

  .why-choose-one__points-list li,
  .why-choose-one .container .box {
    width: 100% !important;
  }

  .why-choose-one .container {
    width: 100%;
  }
}

/* Title styling */
.why-choose-one__title {
  font-size: 36px;
  /* margin-right: 70px;  */
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
  text-align: right;
  margin-bottom: 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Cards container - 2 columns grid */
.why-choose-one__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Individual card styling */
.why-choose-one__card {
  background: var(--bg-card-light);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition-base);
  box-shadow: var(--shadow-md);
}

.why-choose-one__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
  background: var(--bg-card-hover);
}

/* Card icon */
.why-choose-one__card-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--bg-gradient-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 22px;
  transition: var(--transition-base);
}

.why-choose-one__card:hover .why-choose-one__card-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Card content */
.why-choose-one__card-content h4 {
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-black);
  line-height: var(--line-height-normal);
  font-family: var(--font-primary);
}

/* Responsive adjustments */
/* Fix for why choose boxes sliding/disappearing */
.why-choose-one__points-box {
  position: relative;
  z-index: 10;
  transform: none !important;
  transition: none !important;
}

.why-choose-one__points-list {
  animation: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: opacity 0.3s ease !important;
  display: flex;
  flex-wrap: wrap;
}

.why-choose-one__points-list li {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  width: 50%;
}

.why-choose-one__points-list li:nth-child(1) {
  animation-delay: 0.2s;
}

.why-choose-one__points-list li:nth-child(2) {
  animation-delay: 0.4s;
}

.why-choose-one__points-list li:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Remove WOW animation effects that cause issues */
.why-choose-one .wow {
  animation: none !important;
}

.why-choose-one__shape-2 {
  animation: float 6s ease-in-out infinite !important;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 991px) {
  .why-choose-one {
    padding: 80px 0;
  }

  .why-choose-one__title {
    font-size: 32px;
    text-align: center;
    /* margin-bottom: 30px; */
  }

  .why-choose-one__cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .why-choose-one {
    padding: 60px 0;
  }

  .why-choose-one__title {
    font-size: 28px;
  }

  .why-choose-one__card {
    padding: 16px;
  }

  .why-choose-one__card-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    font-size: 20px;
  }

  .why-choose-one__card-content h4 {
    font-size: 14px;
  }
}

/* ====================================
   NEW TESTIMONIAL SECTION STYLES
   ==================================== */

.testimonial-new {
  background: #f8f9fa;
  padding: 40px 0;
}

.testimonial-new__carousel {
  overflow: hidden;
}

.testimonial-slide {
  padding: 40px 0 0;
}

.testimonial-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 40px;
  min-height: 500px; */
}

.testimonial-content {
  /* max-width: 450px; */
  text-align: right;
}

.testimonial-title {
  font-size: 15px;
  font-weight: 700;
  color: #888888;
  margin-bottom: 15px;
  font-family: 'Cairo', sans-serif;
  line-height: 1.2;
}

.testimonial-subtitle {
  font-size: 14px;
  color: #888888;
  margin-bottom: 20px;
  font-weight: 600;
}

.testimonial-description {
  font-size: 20px;
  line-height: 1.2;
  color: #666666;
  margin-bottom: 25px;
  /* text-align: justify; */
}

.testimonial-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.testimonial-features li {
  font-size: 15px;
  color: #444444;
  position: relative;
  padding-right: 18px;
  line-height: 1.6;
}

.testimonial-features li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: #d4af37;
  font-weight: bold;
  font-size: 16px;
}

.testimonial-btn {
  display: inline-block;
  background: #007bff;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.testimonial-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.testimonial-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 500px;
  background: none !important;
  box-shadow: none !important;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none !important;
  background: none !important;
  border: none !important;
  backdrop-filter: none !important;
}

/* Carousel Dots Styling */
.testimonial-new .owl-dots {
  text-align: center;
  margin-top: 40px;
}

.testimonial-new .owl-dot {
  display: inline-block;
  margin: 0 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  transition: all 0.3s ease;
}

/* .testimonial-new .owl-dot.active {
  background: #007bff;
  transform: scale(1.2);
} */

/* Responsive Design */
@media (max-width: 992px) {
  .testimonial-new {
    padding: 60px 0;
  }

  .testimonial-content-wrapper,
  .testimonial-image-wrapper {
    min-height: 400px;
    background: none !important;
    box-shadow: none !important;
  }

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

  .testimonial-content {
    text-align: center;
    max-width: 100%;
  }

  .testimonial-content-wrapper {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .testimonial-new {
    padding: 40px 0;
  }

  .testimonial-content-wrapper,
  .testimonial-image-wrapper {
    min-height: 300px;
    padding: 20px;
    background: none !important;
    box-shadow: none !important;
  }

  .testimonial-title {
    font-size: 24px;
  }

  .testimonial-subtitle {
    font-size: 16px;
  }

  .testimonial-description {
    font-size: 14px;
  }

  .testimonial-slide {
    padding: 20px 0;
  }
}

/* ====================================
   FLOATING WHATSAPP BUTTON
   ==================================== */

/* Mobile-first placement keeps the button clear of navigation */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 9999;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  border-radius: var(--radius-round);
  box-shadow: var(--shadow-whatsapp);
  transition: var(--transition-base);
  text-decoration: none;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(var(--color-whatsapp-rgb), 0.6);
  text-decoration: none;
}

.whatsapp-btn i {
  font-size: 28px;
  color: var(--color-white);
}

.whatsapp-btn:hover i {
  color: var(--color-white);
}

/* Pulse Animation */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: var(--shadow-whatsapp);
  }

  50% {
    box-shadow: 0 8px 25px rgba(var(--color-whatsapp-rgb), 0.7);
  }

  100% {
    box-shadow: var(--shadow-whatsapp);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 1.5rem;
    left: 1rem;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
  }

  .whatsapp-btn i {
    font-size: 24px;
  }
}

/* ====================================
   HERO SLIDER RESPONSIVENESS
   ==================================== */

@media (max-width: 1199px) {
  .main-slider .container {
    padding-top: 220px;
    padding-bottom: 180px;
  }
}

@media (max-width: 991px) {
  .main-slider .swiper-slide {
    min-height: 75vh;
  }

  .main-slider .container {
    padding-top: 160px;
    padding-bottom: 140px;
  }

  .main-slider__content {
    text-align: center;
  }
}

/* .main-slider__content .thm-btn {
  margin-right: auto;
  margin-left: 14%;
  display: block;
  width: fit-content;
} */

@media (max-width: 767px) {
  .main-slider .swiper-slide {
    min-height: 70vh;
    align-items: end;
  }

  .main-slider .image-layer {
    background-position: center center;
  }

  .main-slider .container {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .main-slider__title {
    font-size: 32px;
    line-height: 1.3;
  }

  .main-slider__content .thm-btn {
    margin-top: 1.5rem;
  }

  .main-slider__content .thm-btn {
    margin: 0 auto;
  }
}

/* ====================================
   ABOUT SECTION RESPONSIVENESS
   ==================================== */

.about-three__right {
  margin-top: 4rem;
}

.about-three__text {
  width: 100%;
  max-width: 38rem;
}

.about-three__img-box,
.about-three__img-1 {
  width: 100%;
}

.about-three__img-1 img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .about-three {
    padding-bottom: 3rem;
  }

  .about-three__right {
    margin-top: 2rem;
    text-align: center;
  }

  .about-three__text {
    margin: 0 auto 1.5rem;
  }
}

@media (min-width: 1200px) {
  .about-three__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ====================================
   ABOUT THREE NEW - REDESIGNED SECTION
   ==================================== */

.about-three-new {
  position: relative;
  padding: 115px 0;
  overflow: hidden;
  background-color: #f8f9fa;
}

.about-three-new__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.about-three-new .container {
  position: relative;
  z-index: 2;
}

.about-three-new__left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.about-three-new__logo-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.about-three-new__logo {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 30px rgba(184, 152, 91, 0.2));
  transition: all 0.4s ease;
}

/* .about-three-new__logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 15px 40px rgba(184, 152, 91, 0.3));
} */

.about-three-new__right {
  /* padding: 40px 20px 40px 60px; */
  position: relative;
}

.about-three-new__content {
  position: relative;
}

.about-three-new__tagline {
  /* display: inline-block; */
  display: none;
  font-size: 16px;
  font-weight: 600;
  color: #B8985B !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  position: relative;
  padding-right: 60px;
}

.about-three-new__tagline::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 2px;
  background: linear-gradient(90deg, #B8985B 0%, transparent 100%);
}

.about-three-new__title {
  display: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 30px;
  text-align: right;
}

.about-three-new__title .gold-text {
  color: #B8985B;
  position: relative;
  display: inline-block;
}

.about-three-new__text-wrapper {
  position: relative;
  padding-right: 30px;
  border-right: 3px solid #B8985B;
  margin-bottom: 25px;
}

.about-three-new__text {
  font-family: 'Tajawal', sans-serif;
  font-size: 19px;
  line-height: 1.9;
  color: var(--alipes-white);
  margin-bottom: 20px;
  text-align: right;
  transition: all 0.3s ease;
}

.about-three-new__text:last-child {
  margin-bottom: 0;
}

/* .about-three-new__text:hover {
  color: var(--alipes-base);
  transform: translateX(-5px);
} */

/* Responsive Design */
@media (max-width: 1199px) {
  .about-three-new__right {
    padding: 40px 20px;
  }

  .about-three-new__title {
    font-size: 36px;
  }
}

@media (max-width: 991px) {
  .about-three-new {
    padding: 60px 0;
  }

  .about-three-new__left {
    margin-bottom: 40px;
    padding: 0 !important;
  }

  .about-three-new__logo-wrapper {
    max-width: 350px;
  }

  .about-three-new__right {
    padding: 20px 20px 50px;
  }

  .about-three-new__title {
    font-size: 32px;
    text-align: center;
  }

  .about-three-new__tagline {
    display: block;
    text-align: center;
    padding-right: 0;
  }

  .about-three-new__tagline::after {
    display: none;
  }

  .about-three-new__text-wrapper {
    padding-right: 0;
    border-right: none;
    border-top: 3px solid #B8985B;
    padding-top: 20px;
  }

  .about-three-new__text {
    text-align: center;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .about-three-new {
    padding: 50px 0;
  }

  .about-three-new__logo-wrapper {
    max-width: 280px;
  }

  .about-three-new__title {
    font-size: 28px;
  }

  .about-three-new__text {
    font-size: 14px;
    line-height: 1.8;
  }
}

@media (max-width: 575px) {
  .about-three-new__title {
    font-size: 24px;
  }

  .about-three-new__logo-wrapper {
    max-width: 150px;
  }
}

/* ====================================
   FOOTER RESPONSIVENESS
   ==================================== */

.custom-footer-content {
  flex-wrap: wrap;
}

/* .custom-footer-left-column,
.custom-footer-right-column {
  flex: 1 1 300px;
} */

.right-column-content {
  display: grid;
  grid-template-columns: auto auto;
  gap: 6rem;
  width: max-content;
}

@media (max-width: 1199px) {
  .custom-footer-content {
    gap: 3rem;
  }

  .right-column-content {
    gap: 2rem;
  }
}

@media (max-width: 991px) {
  .custom-footer-content {
    flex-direction: column;
    gap: 2.5rem;
    align-items: stretch;
  }

  .custom-footer-left-column,
  .custom-footer-right-column {
    width: 100%;
  }

  .custom-footer-right-column {
    gap: 2rem;
  }

  .right-column-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .custom-footer-bottom-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .custom-footer-social {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .custom-footer-content {
    gap: 2rem;
  }

  .custom-footer-bottom {
    padding: 24px 20px;
  }
}

.apartment-one__bg:before {
  display: none !important;
}

/* ====================================
     APARTMENTS TWO PAGE COVERFLOW CAROUSEL
     ==================================== */

.apartments-two-page {
  position: relative;
  display: block;
  padding: 195px 96px 0px 100px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  overflow: hidden;
}

.apartments-two-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(201, 162, 39, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(29, 60, 110, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.apartments-two-page .container {
  position: relative;
  z-index: 1;
}

.projects-coverflow {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Coverflow Container */
.projects-coverflow__container {
  position: relative;
  height: 600px;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  overflow: visible;
}

.projects-coverflow__track {
  position: absolute;
  top: -7%;
  right: 30%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width:767px) {
  .projects-coverflow__track {
    top: 14%;
    right: 15%;

  }
}

/* Individual Slides */
.projects-coverflow__slide {
  position: absolute;
  width: 450px;
  height: 550px;
  transform-origin: center center;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer !important;
  transform-style: preserve-3d;
}

.projects-coverflow__slide.active {
  cursor: default;
}

.projects-coverflow__slide:not(.active) {
  filter: brightness(0.9);
}

.projects-coverflow__slide:not(.active):hover {
  filter: brightness(0.6);
  /* transform: translateX(var(--slide-x, 0)) 
               translateZ(var(--slide-z, -80px)) 
               scale(0.8) !important; */
}

.projects-coverflow__slide:not(.active)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  /* border-radius: 20px; */
  transition: opacity 0.3s ease;
}

.projects-coverflow__slide:not(.active):hover::before {
  opacity: 0.4;
}

.projects-coverflow__image {
  position: relative;
  width: 100%;
  height: 100%;
  /* border-radius: 20px; */
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  /* background: #ffffff; */
}

.projects-coverflow__slide.active .projects-coverflow__image {
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.7);
  /* border: 3px solid rgba(201, 162, 39, 0.3); */
}

.projects-coverflow__image img.mainImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(0, 0, 0, 0.2);

}

/* .projects-coverflow__slide.active .projects-coverflow__image img {
  transform: scale(1.05);
} */

/* Active slide content */
.projects-coverflow__logo {
  position: absolute;
  width: 150px;
  /* top: 20px; */
  inset: 0px;
  z-index: 3;
  padding: 10px;
  /* border-radius: 50%; */
  /* backdrop-filter: blur(10px); */
  margin: auto;
  opacity: 1;
  transform: translateY(20px);
}

.projects-coverflow__logo.active {
  animation: slideInContent 0.6s ease-out 0.3s forwards;
}

.projects-coverflow__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  /* bottom: 0;
  left: 0;
  right: 0; */
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 4rem 3rem 2rem;
  color: #ffffff;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInContent 0.6s ease-out 0.3s forwards;
}

@keyframes slideInContentOpacity {
  to {
    transform: translateY(0);
  }
}

@keyframes slideInContent {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.projects-coverflow__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}

.projects-coverflow__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.projects-coverflow__title a:hover {
  color: var(--alipes-primary);
}

.projects-coverflow__arrow {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  /* background: rgba(255, 255, 255, 0.9); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  z-index: 3;
}

.projects-coverflow__arrow:hover {
  /* background: var(--alipes-primary); */
  transform: scale(1.1);
}

.projects-coverflow__arrow a {
  color: var(--alipes-black);
  transition: color 0.3s ease;
}

.projects-coverflow__arrow:hover a {
  color: #ffffff;
}

.projects-coverflow__bottom-logo {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 3;
}

.projects-coverflow__bottom-logo img {
  width: 60px;
  height: 60px;
  /* filter: brightness(0) invert(1); */
}

/* Navigation Buttons */
.projects-coverflow__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
  backdrop-filter: blur(15px);
}

.projects-coverflow__btn:hover {
  /* background: var(--alipes-primary);
    border-color: var(--alipes-primary); */
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 15px 40px rgba(201, 162, 39, 0.4);
}

.projects-coverflow__btn svg {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.projects-coverflow__btn:hover svg {
  color: #ffffff;
}

.projects-coverflow__btn--prev {
  left: -100px;
}

.projects-coverflow__btn--next {
  right: -100px;
}

/* Indicators */
.projects-coverflow__indicators {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 15;
}

.projects-coverflow__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-coverflow__indicator.active {
  background: var(--alipes-primary);
  border-color: var(--alipes-primary);
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(201, 162, 39, 0.5);
}

.projects-coverflow__indicator:hover:not(.active) {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .projects-coverflow__container {
    height: 500px;
  }

  .projects-coverflow__slide {
    width: 350px;
    height: 450px;
  }

  .projects-coverflow__btn--prev {
    left: -80px;
  }

  .projects-coverflow__btn--next {
    right: -80px;
  }
}

@media (max-width: 1024px) {
  .projects-coverflow__container {
    height: 450px;
  }

  .projects-coverflow__slide {
    width: 320px;
    height: 400px;
  }

  .projects-coverflow__title {
    font-size: 1.8rem;
  }

  .projects-coverflow__content {
    padding: 3rem 2rem 1.5rem;
  }

  .projects-coverflow__btn {
    width: 60px;
    height: 60px;
  }

  .projects-coverflow__btn svg {
    width: 24px;
    height: 24px;
  }

  .projects-coverflow__btn--prev {
    left: -60px;
  }

  .projects-coverflow__btn--next {
    right: -60px;
  }
}

@media (max-width: 768px) {
  .apartments-two-page {
    padding: 60px 0 120px;
  }

  .projects-coverflow__container {
    height: 400px;
    perspective: 800px;
  }

  .projects-coverflow__slide {
    width: 280px;
    height: 350px;
  }

  .projects-coverflow__title {
    font-size: 1.6rem;
  }

  .projects-coverflow__content {
    padding: 2rem 1.5rem 1rem;
  }

  .projects-coverflow__btn--prev {
    left: 0;
  }

  .projects-coverflow__btn--next {
    right: 0;
  }

  .projects-coverflow__indicators {
    bottom: -60px;
  }
}

@media (max-width: 480px) {
  .projects-coverflow__container {
    height: 350px;
  }

  .projects-coverflow__slide {
    width: 250px;
    height: 300px;
  }

  .projects-coverflow__title {
    font-size: 1.4rem;
  }

  .projects-coverflow__btn {
    width: 50px;
    height: 50px;
  }

  .projects-coverflow__btn svg {
    width: 20px;
    height: 20px;
  }


}

/* ====================================
     DEVELOP PAGE REDESIGN -
     ==================================== */

.develop-showcase {
  position: relative;
  padding: 12rem 0 8rem;
  background-image: url('/assets/images/backgrounds/develop-page1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.develop-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}

.develop-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(201, 162, 39, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(29, 60, 110, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.develop-showcase .container {
  position: relative;
  z-index: 1;
}

.develop-showcase__header {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  margin-bottom: 3rem;
}

.develop-showcase__title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.develop-showcase__intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  margin: 0 auto;
}

.develop-showcase__viewport {
  position: relative;
  padding: 4rem 20px 2rem;
  /* background: rgba(255, 255, 255, 0.05); */
  border-radius: 24px;
  /* backdrop-filter: blur(10px); */
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  margin-top: 3rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.develop-showcase__viewport:hover {
  /* border-color: rgba(255, 255, 255, 0.2); */
  /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1); */
}

.develop-showcase__viewport:hover .develop-showcase__control {
  opacity: 1;
  visibility: visible;
}

.develop-showcase__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.develop-showcase__viewport:hover .develop-showcase__track {
  opacity: 1;
}

.develop-card {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  /* border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); */
  padding: 3rem 2rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  --card-accent: #c9a227;
  --card-accent-light: rgba(201, 162, 39, 0.12);
  transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0.6;
  backdrop-filter: blur(15px);
  filter: grayscale(0.3) brightness(0.8);
}

.develop-card:hover {
  opacity: 1;
  /* background: rgba(255, 255, 255, 0.95);
    opacity: 1;
    border-color: rgba(201, 162, 39, 0.3);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(201, 162, 39, 0.2);
    filter: grayscale(0) brightness(1); */
  /* backdrop-filter: blur(20px); */
  /* background: red; */
}

.develop-showcase__viewport:not(:hover) .develop-card {
  opacity: 0.6;
  filter: grayscale(0.3) brightness(0.8);
}

.develop-showcase__viewport:hover .develop-card:not(:hover) {
  opacity: 0.4;
  filter: grayscale(0.6) brightness(0.6);
  transform: scale(0.98);
}

.develop-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  transform: translateY(100%);
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.develop-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-height: 240px;
}

.develop-card__icon {
  width: 100px;
  height: 100px;
  /* border-radius: 20px; */
  transform: rotate(312deg);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.develop-card:hover .develop-card__icon {
  background: rgba(201, 162, 39, 0.1);
  border-color: rgba(201, 162, 39, 0.3);
  transform: rotate(312deg) scale(1.1);
}

.develop-card__icon .main_icon {
  transform: rotate(46deg);
  background: black;
}

.develop-card__icon img {
  width: 60px;
  height: 60px;
  transform: rotate(46deg);
  object-fit: contain;
  transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0.8;
}

.develop-card:hover .develop-card__icon img {
  opacity: 1;
  filter: brightness(1.1) contrast(1.1);
}

.develop-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
}

.develop-card__description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
}

.develop-showcase__viewport:not(:hover) .develop-card__title {
  color: rgba(255, 255, 255, 0.7);
}

.develop-showcase__viewport:not(:hover) .develop-card__description {
  color: rgba(255, 255, 255, 0.55);
}

.develop-card:hover .develop-card__title {
  color: #1d3c6e;
  font-weight: 800;
}

.develop-card:hover .develop-card__description {
  color: rgba(0, 0, 0, 0.75);
}

.develop-card:hover,
.develop-card:focus-visible {
  transform: translateY(-8px);
  /* box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: transparent; */
}

.develop-card:hover::before,
.develop-card:focus-visible::before {
  transform: translateY(0);
}

.develop-card:hover .develop-card__icon,
.develop-card:focus-visible .develop-card__icon {
  background: #3b3b3b;
  color: red !important;
  /* transform: scale(1.05); */
}

.develop-card:hover .develop-card__icon .main_icon {
  /* transform: rotate(0); */
  background-color: #B78560;
}

.develop-card:hover .develop-card__icon img,
.develop-card:focus-visible .develop-card__icon img {
  /* filter: brightness(0) invert(1); */
  transform: rotate(2deg);
}

.develop-card:hover .develop-card__title,
.develop-card:focus-visible .develop-card__title {
  color: #3b3b3b;
}

.develop-card:hover .develop-card__description,
.develop-card:focus-visible .develop-card__description {
  color: rgba(255, 255, 255, 0.9);
}

.develop-card:focus-visible {
  outline: 3px solid rgba(201, 162, 39, 0.5);
  outline-offset: 4px;
}

.develop-showcase__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 2px solid rgba(201, 162, 39, 0.3);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.develop-showcase__control svg {
  width: 22px;
  height: 22px;
  stroke: var(--alipes-base);
  stroke-width: 2.5;
  transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.develop-showcase__control:hover {
  background: var(--alipes-base);
  border-color: var(--alipes-base);
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.35);
  transform: translateY(-50%) scale(1.1);
}

.develop-showcase__control:hover svg {
  stroke: #ffffff;
}

.develop-showcase__control:active {
  transform: translateY(-50%) scale(0.95);
}

.develop-showcase__control:focus-visible {
  outline: 3px solid rgba(201, 162, 39, 0.5);
  outline-offset: 3px;
  opacity: 1;
  visibility: visible;
}

.develop-showcase__control--next {
  right: -15px;
}

.develop-showcase__control--prev {
  left: -15px;
}

@media (max-width: 1199px) {
  .develop-showcase__viewport {
    padding: 3rem 15px 2rem;
  }

  .develop-showcase__track {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .develop-card {
    padding: 2.5rem 1.8rem;
  }

  .develop-card__inner {
    min-height: 220px;
    gap: 1.5rem;
  }

  .develop-showcase__control {
    width: 44px;
    height: 44px;
  }

  .develop-showcase__control svg {
    width: 20px;
    height: 20px;
  }

  .develop-showcase__control--next {
    right: -12px;
  }

  .develop-showcase__control--prev {
    left: -12px;
  }
}

@media (max-width: 767px) {
  .develop-showcase {
    padding: 8rem 0 2rem !important;
  }

  .develop-showcase__title {
    font-size: 2rem;
  }

  .develop-showcase__intro {
    font-size: 0.95rem;
  }

  .develop-showcase {
    padding: 8rem 0 6rem;
  }

  .develop-showcase__title {
    font-size: 2.5rem;
  }

  .develop-showcase__viewport {
    padding: 1rem 10px 1rem;
    margin-top: 0;
  }

  .develop-showcase__track {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 !important;
  }

  .develop-card {
    padding: 2rem 1.5rem;
  }

  .develop-card__inner {
    min-height: 200px;
    gap: 1.2rem;
  }

  .develop-card__icon {
    width: 80px;
    height: 80px;
  }

  .develop-card__icon img {
    width: 48px;
    height: 48px;
  }

  .develop-card__title {
    font-size: 1.2rem;
  }

  .develop-showcase__control {
    width: 40px;
    height: 40px;
  }

  .develop-showcase__control svg {
    width: 18px;
    height: 18px;
  }

  .develop-showcase__control--next {
    right: -10px;
  }

  .develop-showcase__control--prev {
    left: -10px;
  }

  .dev-cards-section {
    padding: 2rem 20px !important;
  }

  .dev-cards-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .dev-cards-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dev-cards-section {
    padding: 5rem 0;
  }
}


/* ====================================
     Dev Cards Section with Light Background
     ==================================== */

.dev-cards-section {
  background: #f8f9fa;
  padding: 6rem 20px;
  margin-top: 0;
}

.dev-cards-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ====================================
     Develop Highlight Cards
     ==================================== */

.dev-cards-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  /* margin: 0 23%; */
  max-width: 1000px;
  margin: 0 auto;
}

.dev-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 250, 250, 0.8) 100%);
  /* border-radius: 28px; */
  border: 1px solid rgba(29, 60, 110, 0.08);
  box-shadow: 0 24px 60px rgba(13, 32, 64, 0.08);
  padding: 2.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: right;
  direction: rtl;
  overflow: hidden;
  isolation: isolate;
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dev-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 60, 110, 0.1) 0%, rgba(201, 162, 39, 0.12) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dev-card--management::before {
  background: linear-gradient(135deg, rgba(29, 60, 110, 0.15) 0%, rgba(201, 162, 39, 0.18) 100%);
}

.dev-card--delivery::before {
  background: linear-gradient(135deg, rgba(183, 133, 96, 0.15) 0%, rgba(201, 162, 39, 0.18) 100%);
}

.dev-card:hover,
.dev-card:focus-visible {
  transform: translateY(-12px);
  box-shadow: 0 32px 80px rgba(13, 32, 64, 0.12);

  .dev-card__title {
    color: #B78560;
  }
}

/* .dev-card:hover::before,
.dev-card:focus-visible::before {
  opacity: 1;
} */

.dev-card:focus-visible {
  outline: 3px solid rgba(201, 162, 39, 0.4);
  outline-offset: 4px;
}

.dev-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.dev-card__metric {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dev-card__metric-value {
  font-size: clamp(2.25rem, 2.8vw, 2.9rem);
  font-weight: 700;
  color: #1d3c6e;
  letter-spacing: -0.05em;
}

.dev-card__metric-label {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(17, 31, 44, 0.72);
}

.dev-card__icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(29, 60, 110, 0.08);
  border: 1px solid rgba(29, 60, 110, 0.12);
  color: #1d3c6e;
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1), background 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dev-card__icon svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.dev-card--delivery .dev-card__icon {
  background: rgba(183, 133, 96, 0.15);
  border-color: rgba(183, 133, 96, 0.2);
  color: #b78560;
}

.dev-card__body {
  display: grid;
  gap: 1.25rem;
}

.dev-card__title {
  font-size: clamp(1.75rem, 2vw, 2.1rem);
  font-weight: 700;
  color: #111f2c;
  margin: 0;
}


.dev-card__description {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(17, 31, 44, 0.7);
}

.dev-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.dev-card__stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dev-card__stat-value {
  font-size: 2rem;
  font-weight: 700;
  /* color: #1d3c6e; */
}

.dev-card__stat-label {
  font-size: 1rem;
  color: rgba(17, 31, 44, 0.66);
}

.dev-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  /* border-radius: 999px; */
  background: #3b3b3b;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.dev-card__cta svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.dev-card__cta:hover,
.dev-card__cta:focus-visible {
  background: #B78560;
  color: #111f2c;
  box-shadow: 0 12px 24px rgba(201, 162, 39, 0.35);
  transform: translateX(-4px);
}

.dev-card__cta:focus-visible {
  outline: 3px solid rgba(201, 162, 39, 0.45);
  outline-offset: 3px;
}

.dev-card__cta svg line,
.dev-card__cta svg polyline {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dev-card:hover .dev-card__icon,
.dev-card:focus-visible .dev-card__icon {
  transform: translateY(-6px) scale(1.05);
}

@media (max-width: 1023px) {
  .dev-cards-container {
    grid-template-columns: 1fr;
  }

  .dev-card {
    padding: 2.5rem;
  }
}

@media (max-width: 599px) {
  .dev-card {
    padding: 2rem 1.75rem;
    gap: 2rem;
  }

  .dev-card__header,
  .dev-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .dev-card__footer {
    gap: 1rem;
  }

  .dev-card__cta {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
     Interactive Map Section
  ======================================== */

.interactive-map-section {
  padding: 100px 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
  position: relative;
  overflow: hidden;
}

.interactive-map-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201, 162, 39, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* .interactive-map-container {
  margin-top: 60px;
} */

/* Map Wrapper */
.map-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column-reverse;
  gap: 24px;
  /* margin-top: -40px; */
}

#project .map {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.map-content {
  width: 53%;
}

.map .left-side {
  width: 45%;
}

@media (max-width:1200px) {
  #project .map {
    flex-direction: column-reverse;
    padding: 40px 20px;
    gap: 40px;
  }

  .map-content {
    width: 100% !important;
  }

  .map .left-side {
    margin: 0 auto;
  }

  .interactive-map-section {
    padding: 0 !important;
  }
}


@media (max-width:767px) {

  .map .left-side {
    width: 100%;
  }

}

.map-wrapper.projects {
  margin: 100px auto;
  flex-direction: row;
  justify-content: space-between;
  max-width: 1400px;
}

.map-wrapper.projects .project-details {
  width: 49%;
}

.map-wrapper.projects .project-images-gallery {
  width: 49%;
}

@media (max-width:767px) {
  .map-wrapper.projects {
    flex-direction: column;
    margin: 40px 0;
  }

  .map-wrapper.projects .project-details {
    width: 100%;
  }

  .map-wrapper.projects .project-images-gallery {
    width: 100%;
  }
}



.map-container {
  position: relative;
  /* max-width: 760px;
  height: 100%;
  overflow: visible;
  margin: -70px auto 0; */
}

.saudi-map {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width:800px) {
  .map-wrapper {
    flex-direction: column;
  }
}

/* ========================================
     Enhanced Interactive Map with 3D Layers
  ======================================== */

.enhanced-map-container {
  position: relative;
  width: 100%;
  height: 500px;
  perspective: 1000px;
  overflow: visible;
}

/* Static Background Layer */
.map-static-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.saudi-map-static {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* filter: grayscale(0.3) brightness(0.9); */
  transition: filter 0.3s ease;
}

/* Interactive 3D Layers */
.map-interactive-layers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.interactive-layer {
  position: absolute;
  cursor: pointer;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
  transform-origin: center bottom;
  will-change: transform;
  transform: translateY(-8px) translateZ(15px);
  z-index: 3;
}

.interactive-layer:hover {
  transform: translateY(-35px) translateZ(90px) rotateX(10deg) scale(1.08) !important;
  z-index: 10;
}

.layer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  filter: drop-shadow(0 3px 10px rgba(201, 162, 39, 0.2));
  backface-visibility: hidden;
  opacity: 0.95;
}

.interactive-layer.hovered {
  transform: translateY(-35px) translateZ(90px) rotateX(10deg) scale(1.08) !important;
  z-index: 10;
}

.interactive-layer.hovered .layer-image {
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
  filter: drop-shadow(0 18px 40px rgba(201, 162, 39, 0.6)) brightness(1.15) contrast(1.1);
  opacity: 1;
}



.layer-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1d3c6e;
  margin-bottom: 4px;
}

.layer-description {
  display: block;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.7);
}

/* 3D Float Animation for Interactive Layers */
@keyframes float3d {
  0% {
    transform: translateY(-8px) translateZ(15px) rotateX(0deg) scale(1);
  }

  50% {
    transform: translateY(-40px) translateZ(100px) rotateX(12deg) scale(1.1);
  }

  100% {
    transform: translateY(-35px) translateZ(90px) rotateX(10deg) scale(1.08);
  }
}

/* Enhanced hover content with smoother animation */
.layer-hover-content {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%) translateY(20px) scale(0.9);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 162, 39, 0.2);
  white-space: nowrap;
  z-index: 15;
}

.interactive-layer.hovered .layer-hover-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px) scale(1);
}

/* ========================================
     Pulsing Points Animation
  ======================================== */

.map-pulsing-points {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
}

.pulsing-point {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
}

.pulse-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--alipes-primary);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.6);
  z-index: 3;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: rgba(201, 162, 39, 0.4);
  border-radius: 50%;
  animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pulse-ring-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: rgba(201, 162, 39, 0.2);
  border-radius: 50%;
  animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite 0.7s;
}

@keyframes pulseRing {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

.point-label {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  color: #1d3c6e;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.pulsing-point:hover .point-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

/* Map Pins */
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 25px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pin-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--alipes-base);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: rgba(201, 162, 39, 0.4);
  border-radius: 50%;
  animation: pinPulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pin-pulse::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: rgba(201, 162, 39, 0.2);
  border-radius: 50%;
  animation: pinPulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite 0.7s;
}

@keyframes pinPulseRing {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

.map-pin:hover .pin-dot {
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 3px 12px rgba(201, 162, 39, 0.7);
}

.map-pin:hover .pin-pulse {
  animation-duration: 1s;
}

.map-pin.active .pin-dot {
  background: #1d3c6e;
  transform: translate(-50%, -50%) scale(1.4);
  box-shadow: 0 3px 15px rgba(29, 60, 110, 0.7);
}

.map-pin.active .pin-pulse {
  background: rgba(29, 60, 110, 0.4);
  animation-duration: 1.5s;
}

.map-pin.active .pin-pulse::after {
  background: rgba(29, 60, 110, 0.2);
}

/* Pin Hover Label */
.pin-label {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: rgba(255, 255, 255, 0.95);
  color: #1d3c6e;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 15;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.map-pin:hover .pin-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1) translateY(-5px);
}

.map-pin:nth-child(5) {
  left: 20.6% !important;
  top: 66.45% !important;
}

.map-pin:nth-child(2) {
  right: 59.7% !important;
  top: 85.8% !important;
}

.map-pin:nth-child(3) {
  left: 52.4% !important;
  top: 53.44% !important
}

.map-pin:nth-child(4) {
  right: 60.9% !important;
  top: 83.5% !important;
}

.map-pin:nth-child(6) {
  left: 55% !important;
  top: 50% !important;
}

/* Project Details */
.project-details {
  /* height: 100%; */
  /* display: flex; */
  /* align-items: center; */
}

.project-details__inner {
  /* padding: 0 50px; */
  animation: fadeInLeft 0.5s ease;
}

.project-details__inner .learn-more-btn {
  margin-right: 0;
  margin-left: auto;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.project-name {
  font-size: 34px;
  font-weight: 700;
  color: var(--alipes-black);
  margin-bottom: 5px;
  line-height: 1;
}

.project-description {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #5f6470;
  margin: 0 0 30px 0;
}

.learn-more-btn-new {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #3b3b3b;
}

.learn-more-btn-new:hover {
  color: #3b3b3b;
  text-decoration: underline;
}

.learn-more-btn {
  display: inline-flex;
  /* float: inline-end; */
  align-items: center;
  gap: 10px;
  padding: 4px 20px;
  background: var(--alipes-base);
  color: var(--alipes-white);
  font-size: 0.8rem;
  font-weight: 600;
  /* border-radius: 8px; */
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.25);
  margin-right: auto;
  margin-left: 0;
  display: block;
  width: fit-content;
}

.learn-more-btn:hover {
  background: #b28a3c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
  color: #ffffff;
}

.learn-more-btn .icon-right-arrow {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.learn-more-btn:hover .icon-right-arrow {
  transform: translateX(4px);
}

/* Project Images Gallery - 3 Squares Below Map */
.project-images-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  /* margin-top: 30px; */
  padding: 0 10px;
}

.project-image-square {
  position: relative;
  aspect-ratio: 1;
  /* border-radius: 12px; */
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.project-image-icon {
  width: 50px;
  height: 50px;
  background: rgba(201, 162, 39, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.project-image-square:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-image-square:hover .project-gallery-img {
  transform: scale(1.1);
}

.project-image-square:hover .project-image-overlay {
  opacity: 1;
}

.project-image-square:hover .project-image-icon {
  transform: scale(1);
}

/* Map Slider Controls */
.map-slider-controls {
  /* display: flex; */
  display: none;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  padding: 20px 0;
}

.slider-indicators {
  display: flex;
  gap: 12px;
  align-items: center;
}

.slider-indicator {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.indicator-line {
  display: block;
  width: 40px;
  height: 3px;
  background: rgba(201, 162, 39, 0.3);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.slider-indicator.active .indicator-line {
  background: var(--alipes-base);
  width: 50px;
}

.slider-indicator.active .indicator-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  animation: slideProgress 5s linear;
}

@keyframes slideProgress {
  from {
    transform: translateX(-100%);
  }

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

.slider-indicator:hover .indicator-line {
  background: var(--alipes-base);
  opacity: 0.7;
}

.auto-play-toggle {
  width: 40px;
  height: 40px;
  background: rgba(201, 162, 39, 0.1);
  border: 2px solid var(--alipes-base);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--alipes-base);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.auto-play-toggle:hover {
  background: var(--alipes-base);
  color: #ffffff;
  transform: scale(1.1);
}

.auto-play-toggle i {
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .project-details__inner {
    padding: 50px 40px;
  }

  .project-name {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .project-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 991px) {
  .interactive-map-section {
    padding: 80px 0;
  }

  .project-details__inner {
    padding: 40px 30px;
    margin-bottom: 0;
  }

  .project-name {
    font-size: 2.2rem;
  }

  .project-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .map-wrapper {
    order: -1;
    margin-bottom: 40px;
    min-height: 450px;
  }

  .map-pin {
    width: 28px;
    height: 28px;
  }

  .pin-dot {
    width: 10px;
    height: 10px;
  }

  .pin-pulse {
    width: 10px;
    height: 10px;
  }

  .learn-more-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }

  .project-images-gallery {
    gap: 12px;
    margin-top: 25px;
  }

  .map-slider-controls {
    margin-top: 25px;
  }

  .slider-indicator .indicator-line {
    width: 35px;
  }

  .slider-indicator.active .indicator-line {
    width: 45px;
  }
}

@media (max-width: 767px) {
  .interactive-map-section {
    padding: 60px 0;
  }

  .interactive-map-container {
    margin-top: 20px;
  }

  .map-wrapper {
    margin-bottom: 30px;
    min-height: 400px;
  }

  .project-details__inner {
    padding: 0 20px;
  }

  .project-name {
    font-size: 2rem;
    margin-bottom: 18px;
  }

  .project-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .map-pin {
    width: 24px;
    height: 24px;
  }

  .pin-dot {
    width: 8px;
    height: 8px;
  }

  .pin-pulse {
    width: 8px;
    height: 8px;
  }

  .learn-more-btn {
    padding: 10px 22px;
    font-size: 0.9rem;
  }

  .project-images-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
    padding: 0 5px;
  }

  .project-image-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .map-slider-controls {
    margin-top: 20px;
    gap: 15px;
  }

  .slider-indicators {
    gap: 8px;
  }

  .slider-indicator .indicator-line {
    width: 30px;
    height: 2px;
  }

  .slider-indicator.active .indicator-line {
    width: 40px;
  }

  .auto-play-toggle {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  /* Enhanced Map Mobile Styles */
  .enhanced-map-container {
    height: 350px;
  }

  .interactive-layer {
    transform: scale(0.7);
  }

  .interactive-layer.hovered {
    transform: scale(0.75) translateY(-10px) translateZ(20px);
  }

  .layer-hover-content {
    display: none;
    /* Hide on mobile for better performance */
  }

  .pulsing-point {
    width: 14px;
    height: 14px;
  }

  .pulse-dot {
    width: 5px;
    height: 5px;
  }

  .pulse-ring,
  .pulse-ring-2 {
    width: 5px;
    height: 5px;
  }

  .point-label {
    font-size: 0.65rem;
    padding: 2px 4px;
  }
}

@media (max-width: 480px) {
  .enhanced-map-container {
    height: 300px;
  }

  .interactive-layer {
    transform: scale(0.6);
  }

  .interactive-layer.hovered {
    transform: scale(0.65) translateY(-8px) translateZ(15px);
  }
}

/* ========================================
     Blog Section - New Design with 3 Boxes
  ======================================== */

.blog-section-new {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}


.blog-grid {
  /* flex-wrap: nowrap; */
  max-width: 1440px;
  margin: 0 auto;
}

.blog-section-new::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.blog-section-new .section-title {
  margin-bottom: 60px;
}

.blog-section-new .section-title__tagline {
  font-size: 1.1rem;
  color: var(--alipes-base);
  font-weight: 600;
  text-transform: none;
}

.blog-section-new .section-title__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--alipes-black);
  margin-top: 10px;
}

.blog-grid {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

/* Blog Box Styling */
.blog-box {
  width: calc(100%/3 - 20px);
  position: relative;
  height: 450px;
  /* border-radius: 15px; */
  overflow: hidden;
  /* cursor: pointer; */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width:767px) {
  .blog-box {
    width: 100%;
  }
}

.blog-box-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-box-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.3) 100%);
  transition: all 0.4s ease;
}

.blog-box-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  z-index: 2;
}

.blog-box-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.4;
  transition: all 0.4s ease;
}

.blog-box-description {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.blog-box-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.blog-date {
  font-size: 0.9rem;
  color: var(--alipes-base);
  font-weight: 600;
}

/* Hover Effects */
/* .blog-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-box:hover .blog-box-bg {
  transform: scale(1.1);
} */

/* .blog-box:hover .blog-box-overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.4) 100%);
} */

/* .blog-box:hover .blog-box-title {
  color: var(--alipes-base);
} */

/* .blog-box:hover .blog-box-description {
  opacity: 1;
  transform: translateY(0);
} */

/* Responsive Design */
@media (max-width: 991px) {
  .blog-section-new {
    padding: 80px 0;
  }

  .blog-section-new .section-title__title {
    font-size: 2.2rem;
  }

  .blog-box {
    height: 400px;
  }

  .blog-box-title {
    font-size: 1.3rem;
  }

  .blog-box-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 767px) {
  .blog-section-new {
    padding: 60px 0;
  }

  .blog-section-new .section-title__title {
    font-size: 1.8rem;
  }

  .blog-grid {
    gap: 20px;
  }

  .blog-box {
    height: 350px;
    margin-bottom: 20px;
  }

  .blog-box-content {
    padding: 25px;
  }

  .blog-box-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .blog-box-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* ========================================
     Footer New Design - 4 Columns
  ======================================== */

.footer-new-design {
  background: #1a1a1a;
  color: #ffffff;
  padding: 0;
}

.footer-new-design .container {
  max-width: 1440px;
  margin: 0 auto;
}



/* Contact Form Section - Above Footer */
.footer-contact-form-wrapper {
  display: none;
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-form-section {
  max-width: 900px;
  margin: 0 auto;
}

.footer-contact-form-box {
  text-align: center;
}

.footer-form-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  font-family: 'Tajawal', sans-serif;
}

.footer-form-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 40px;
}

.footer-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.footer-form-input-box input,
.footer-form-input-box textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  font-family: 'Tajawal', sans-serif;
  transition: all 0.3s ease;
}

.footer-form-input-box input:focus,
.footer-form-input-box textarea:focus {
  outline: none;
  border-color: var(--alipes-base);
  background: rgba(255, 255, 255, 0.08);
}

.footer-form-input-box input::placeholder,
.footer-form-input-box textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-form-textarea {
  grid-column: 1 / -1;
}

.footer-form-button-box {
  text-align: center;
  margin-top: 20px;
}

.footer-contact-btn {
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: 600;
}

.footer-form-status {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-size: 1rem;
}

.footer-form-status.success {
  background: rgba(40, 167, 69, 0.2);
  border: 1px solid #28a745;
  color: #28a745;
}

.footer-form-status.error {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid #dc3545;
  color: #dc3545;
}

/* Main Footer Content - 4 Columns */
.footer-main-content {
  padding: 80px 0 40px;
}

.footer-main-content .footer-box {
  width: calc(100%/4 - 50px);
}

@media (max-width:1200px) {
  .footer-main-content .footer-box {
    width: calc(100%/4 - 20px);
  }
}

@media (max-width:999px) {
  .footer-main-content .footer-box {
    width: 100%;
  }
}

.footer-main-content .row {
  flex-direction: row-reverse;
  justify-content: center
}

.footer-widget {
  margin-bottom: 40px;
}

.footer-widget-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--alipes-base);
  margin-bottom: 25px;
  font-family: 'Tajawal', sans-serif;
  position: relative;
  display: inline-block;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 50px;
  height: 2px;
  background: var(--alipes-base);
}

/* Column 1: Quick Links */
.footer-widget-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget-links li {
  margin-bottom: 12px;
}

.footer-widget-links li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-widget-links li a:hover {
  color: var(--alipes-base);
  transform: translateX(-5px);
}

/* Column 2: Contact Information */
.footer-widget-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--alipes-base);
  font-size: 1.1rem;
}

.footer-contact-text {
  flex: 1;
}

.footer-contact-text p,
.footer-contact-text a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  text-decoration: none;
}

.footer-contact-text a:hover {
  color: var(--alipes-base);
}

/* Column 3: Working Hours & Social */
.footer-widget-hours-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer-widget-hours-list li {
  display: flex;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget-hours-list li .day {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.footer-widget-hours-list li .time {
  color: rgba(255, 255, 255, 0.7);
}

.footer-social-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-social-icons a:hover {
  background: var(--alipes-base);
  border-color: var(--alipes-base);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Column 4: Logo & About */
.footer-widget-logo {
  margin-bottom: 25px;
}

.footer-widget-logo img {
  max-width: 180px;
  height: auto;
}

.footer-widget-about-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
}

.footer-bottom-inner {
  text-align: center;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
  .footer-contact-form-wrapper {
    padding: 50px 0;
  }

  .footer-form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .footer-form-title {
    font-size: 1.8rem;
  }

  .footer-main-content {
    padding: 60px 0 30px;
  }

  .footer-widget {
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  .footer-contact-form-wrapper {
    padding: 40px 0;
  }

  .footer-form-title {
    font-size: 1.5rem;
  }

  .footer-form-tagline {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .footer-main-content {
    padding: 50px 0 20px;
  }

  .footer-widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .footer-widget {
    text-align: center;
  }

  .footer-widget-title::after {
    right: 50%;
    transform: translateX(50%);
  }

  .footer-widget-contact-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-widget-hours-list li {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .footer-social-icons {
    justify-content: center;
  }

  .footer-widget-logo {
    text-align: center;
    margin-top: 30px;
  }
}

.numbers-section {
  max-width: 1200px;
  margin: 120px auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.numbers-section .single-card {
  width: calc(100%/5 - 20px);
  padding: 0 10px;
}

@media (max-width:1200px) {
  .numbers-section .single-card {
    width: calc(100%/3 - 20px);
    padding: 0 10px;
  }
}

@media (max-width:767px) {
  .numbers-section .single-card {
    width: calc(100%/2 - 10px);
    padding: 0 10px;
  }

  .numbers-section {
    margin: 40px 0;
  }
}

.numbers-section .single-card img:first-child {
  width: 80px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.numbers-section .single-card img:last-child {
  width: 60px;
  margin: 10px auto 0;
  display: block;
}

.numbers-section .single-card .text {
  font-size: 19px;
  line-height: 25px;
  text-align: center;
}

.numbers-section .single-card .text span {
  font-weight: 100;
  color: #a9a9a9;
}

.landingHero {
  width: 100%;
  height: 100vh;
  background-image: url(../images/backgrounds/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 100px;
}

.landingHero .container {
  max-width: 1440px !important;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.landingHero .container h1 {
  color: white;
  font-weight: 600;
  width: 30%;
}

.landingHero .main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
}

.landingHero .ImageContainer {
  aspect-ratio: 1/1;
  background-color: #B78560;
  width: 400px;
  height: 400px;
  rotate: 45deg;
  position: relative;
}

.landingHero .ImageContainer img.mainImage {
  rotate: -45deg;
  position: absolute;
  inset: 0;
  width: 70%;
  margin: auto;
}

.landingHero .ImageContainer .main_icon {
  rotate: -45deg;
  position: absolute;
  width: 60px;
  background: white;
  margin: auto;
  inset: 0;
  bottom: auto;
  top: 15px !important;
  left: -307px !important;
}

.paragraph {
  max-width: 1440px;
  padding: 100px 20px;
}

.paragraph h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #B78560;
}

.paragraph p {
  max-width: 50%;
  font-size: 20px;
}


@media (max-width:999px) {
  .main-container {
    flex-direction: column;
  }

  .landingHero .container h1 {
    color: white;
    font-weight: 600;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .ImageContainer {
    width: 360px;
    height: 360px;
  }

  .paragraph p {
    max-width: 100%;
  }
}


/* map */

/* Hide accordion behavior on desktop */
@media (min-width: 769px) {

  .footer-widget-links,
  .footer-widget-contact-list,
  .footer-widget-hours-content,
  .footer-widget-about-content {
    display: block !important;
  }

  .accordion-icon {
    display: none;
  }
}

/* Accordion behavior on mobile */
@media (max-width: 768px) {
  .footer-widget-title::after {
    display: none !important;
  }

  .footer-widget-title {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
  }

  .accordion-icon {
    font-size: 1.5rem;
    color: #fff;
  }

  .footer-widget-links,
  .footer-widget-contact-list,
  .footer-widget-hours-content,
  .footer-widget-about-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .footer-widget-links.open,
  .footer-widget-contact-list.open,
  .footer-widget-hours-content.open,
  .footer-widget-about-content.open {
    max-height: 500px;
    /* adjust if needed */
  }
}


.terms-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 16px;
  display: flex;
  align-items: start;
  gap: 40px;
}

.terms-container .list {
  width: 30%;
  border: 1px solid black;
  padding: 10px 16px;
  border-radius: 16px;
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.terms-container .content {
  width: 70%;
}


.terms-container .list button {
  background: transparent;
  border: none;
  text-align: start;
}

@media (max-width:767px) {
  .terms-container {
    flex-direction: column;
  }

  .terms-container .list,
  .terms-container .content {
    width: 100%;
  }
}

.blogs-page {
  padding: 200px 0 120px;
  text-align: center;
  color: white;
}

.blogs-page h1{
  color: white !important;
}