/**
Theme Name: World Invest Patrimoine
Theme URI: https://worldinvestpatrimoine.com
Author: Jobayer
Author URI: https://jobayerhossan.com
Description: World Invest Patrimoine is custom based website
Version: 1.0
Requires at least: 5.3
Tested up to: 5.7.2
Requires PHP: 5.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: world
Tags: custom-menu, custom-logo, entertainment, one-column, two-columns
 **/

.property-card.grayed {
    opacity: 0.3;
    filter: grayscale(100%);
    pointer-events: none; /* empêche clic*/
    transition: opacity 0.3s ease;
}

/*Tooltips*/
.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip .tooltiptext {
  visibility: hidden;       
  opacity: 0;
  position: absolute;
  bottom: 125%;             /*above link */
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  transition: opacity 0.3s;
  z-index: 1000;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.reset-btn {
  margin-left: 10px;
  background: #f5f5f5;
  color: var(--royal-blue);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
}
.reset-btn:hover {
  background: #e0e0e0;
}

.scroll-top-btn {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  background: #007bff;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background 0.3s;
}
.scroll-top-btn:hover {
  background: #0056b3;
}

/*  mobile (moins de 768px par ex.) */
@media (max-width: 767px) {
  .scroll-top-btn {
    bottom: 80px; /* remonte le bouton sur mobile */
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/*Turnstile */
.cf-turnstile,
.wpcf7-form .cf-turnstile {
  display: block !important;
  margin-bottom: 4em; /* espace sous le captcha */
}

/* Évite le chevauchement avec le bouton submit */
.wpcf7 form .submit-btn {
  margin-top: 3em; 
}


:root {
  --royal-blue: #1a237e;
  --gold: #d4af37;
  --header-height: 90px;
}
html{
  scroll-behavior: smooth;
}

/* Add smooth animations for better UX */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Enhance hero section */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 5%;
  position: relative;
  color: white;
  text-align: center;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}
.admin-bar .header{
	top: 32px;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--royal-blue);
}
.logo img {
  width: auto;
  max-height: 70px;
}
.logo h1 {
  font-size: 24px;
  font-weight: 600;
}

.logo span {
  font-size: 14px;
  color: var(--gold);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--royal-blue);
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:hover::after {
  width: 100%;
}

.contact-btn {
  background: var(--gold);
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.contact-btn:hover {
  background: var(--royal-blue);
}

.nav-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-icon {
  color: var(--royal-blue);
  font-size: 20px;
  opacity: 0.8;
  transition: all 0.3s ease;
  position: relative;
}

.nav-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

.nav-icon .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--gold);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.burger {
  display: none;
  cursor: pointer;
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-position: center;
  background-size: cover;
  animation: zoomEffect 20s linear infinite;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
}

@keyframes zoomEffect {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.hero h2 {
  font-size: 48px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-btn {
  background: var(--gold);
  color: white;
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s;
}

.cta-btn:hover {
  transform: translateY(-3px);
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: 70%;
    height: calc(100vh - var(--header-height));
    background: rgba(255,255,255,0.95);
    flex-direction: column;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s;
  }

  .nav-menu.active {
    display: flex;
    transform: translateX(0);
    animation: fadeIn 0.3s ease;
  }

  .burger {
    display: block;
    font-size: 24px;
  }

  .hero h2 {
    font-size: 36px;
    padding: 0 1rem;
  }

  .nav-icons {
    display: none;
  }
  
  .nav-menu.active .nav-icons {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
  }
}

.about-section {
  padding: 100px 5%;
  background: white;
  text-align: center;
}

.about-title {
  color: var(--royal-blue);
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 20px;
  position: relative;
}

.about-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: var(--gold);
  margin: 20px auto;
}

.about-intro {
  color: #333;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.8;
  font-size: 18px;
}

.key-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.key-point {
  padding: 30px;
  transition: transform 0.3s ease;
}

.key-point:hover {
  transform: translateY(-5px);
}

.key-point i {
  color: var(--gold);
  font-size: 40px;
  margin-bottom: 20px;
}

.key-point h3 {
  color: var(--royal-blue);
  margin-bottom: 15px;
  font-size: 20px;
}

.key-point p {
  color: #666;
  line-height: 1.6;
}

.properties-section {
  background: var(--royal-blue);
  padding: 80px 0;
  overflow: hidden;
}

.properties-title {
  text-align: center;
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 40px;
  position: relative;
}

.properties-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto;
}

.carousel-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.carousel {
  overflow: hidden;
  scroll-behavior: smooth;
  gap: 30px;
}
/*prevCommented 03102025 13:58*/
.carousel .slick-slide{
  margin: 0 15px;
}
.slick-list {
  margin: 0 -30px; 
}/*prevCommented 03102025 13:58*/
.carousel .slick-list {
  margin-left: -15px;
  margin-right: -15px;
}
.pro_card_item{
  padding: 0px 15px;
}

.property-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  height: 100%;
	position:relative; 
}

.wi-status-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 11;
  line-height: 1;
  background: #E67E22;
	  color: #fff;
}
.wi-status-badge.wi-status-offer {
  background: #00EEFF;
}
.wi-status-badge.wi-status-contract {
  background: #FF8040;
}
.wi-status-badge.wi-status-new {
  background: #69C200;
}
.wi-status-badge.wi-status-sold {
  background: #FF0000;
}
.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.property-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #f5f5f5;
}

.property-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f5f5f5 0%, #e0e0e0 50%, #f5f5f5 100%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.property-image img,
.prestige-image img,
.news-image img,
.neuf-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  loading: lazy;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.property-image.loaded::before,
.prestige-image.loaded::before,
.news-image.loaded::before,
.neuf-image.loaded::before {
  opacity: 0;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
    position: relative;
  z-index: 1;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.3s;
}

.property-card:hover .property-overlay {
  opacity: 1;
}

.property-details {
  padding: 20px;
}

.property-type {
  color: var(--royal-blue);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.property-location {
  color: #666;
  margin: 5px 0;
  font-size: 16px;
}

.property-price {
  color: var(--royal-blue);
  font-size: 24px;
  font-weight: 600;
  margin: 10px 0;
}

.property-btn {
  display: inline-block;
  background: var(--gold);
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}
.share_single_wish {
  position: relative;
}
.share_single_wish .loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #dcbe5e;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  position: absolute;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  display: none;
}
.wishloading.share_single_wish{
  pointer-events: none;
}
.wishloading.share_single_wish .loader{
  display: block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.property-btn:hover {
  background: var(--royal-blue);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 2;
  border: none;
}

.carousel-arrow:hover {
  background: white;
  color: var(--gold);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.carousel-dots .slick-dots {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.3s;
  text-indent: -9999px;
  border: none;
}


.carousel-dots .slick-active button{
  background: var(--gold);
}

.apartments-section {
  margin-top: -40px; /* Negative margin to bring it closer to previous section */
  padding-top: 0;
}

.property-specs {
  color: #666;
  font-size: 14px;
  margin: 5px 0;
}

.prestige-section {
  padding: 100px 5%;
  background: #f9f9f9;
}

.prestige-title {
  text-align: center;
  color: var(--royal-blue);
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 10px;
}

.prestige-subtitle {
  text-align: center;
  color: #666;
  font-style: italic;
  margin-bottom: 40px;
}

.prestige-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: var(--gold);
  margin: 20px auto;
}

.prestige-grid {
  display: grid;
  /*grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));*/
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.prestige-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.prestige-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.prestige-crown {
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--gold);
  font-size: 24px;
  z-index: 2;
  animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
  0%, 100% {
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5),
                 0 0 10px rgba(212, 175, 55, 0.3);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8),
                 0 0 20px rgba(212, 175, 55, 0.5),
                 0 0 30px rgba(212, 175, 55, 0.3);
    transform: scale(1.1);
  }
}

.prestige-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.prestige-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.prestige-card:hover .prestige-image img {
  transform: scale(1.05);
}

.prestige-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.3s;
}

.prestige-card:hover .prestige-overlay {
  opacity: 1;
}

.prestige-details {
  padding: 25px;
}

.prestige-category {
  color: var(--royal-blue);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.prestige-location {
  color: #666;
  margin: 5px 0;
  font-size: 16px;
}

.prestige-price {
  color: var(--royal-blue);
  font-size: 28px;
  font-weight: 600;
  margin: 10px 0;
}

.prestige-description {
  color: #666;
  margin: 10px 0;
  line-height: 1.6;
}

.prestige-features {
  display: flex;
  gap: 20px;
  margin: 15px 0;
  color: #666;
}

.prestige-feature {
  display: flex;
  align-items: center;
  gap: 5px;
}

.prestige-feature i {
  color: var(--gold);
}

.prestige-btn {
  display: inline-block;
  background: var(--gold);
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
  margin-top: 15px;
}

.prestige-btn:hover {
  background: var(--royal-blue);
}

.property-favorite {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: var(--royal-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.3s ease;
  border: none;
}

.property-favorite i {
  color: white;
  font-size: 18px;
}

.property-favorite:hover {
  transform: scale(1.1);
}




@media (max-width: 1200px) {
  .property-card {
    flex: 0 0 calc(33.33% - 20px);
  }
  .prestige-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .property-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .property-card {
    flex: 0 0 100%;
  }
  
  .properties-title {
    font-size: 28px;
  }
  
  .carousel-container {
    padding: 0 40px;
  }

  .prestige-grid {
    grid-template-columns: 1fr;
  }
  
  .prestige-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .about-title {
    font-size: 28px;
  }
  
  .about-intro {
    font-size: 16px;
    padding: 0 20px;
  }
  
  .key-points {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

.neuf-section {
  padding: 100px 5%;
  background: white;
}

.neuf-title {
  text-align: center;
  color: var(--royal-blue);
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 10px;
  position: relative;
}

.neuf-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: var(--gold);
  margin: 20px auto;
}

.neuf-subtitle {
  text-align: center;
  color: #666;
  font-style: italic;
  margin-bottom: 40px;
}

.neuf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.neuf-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.neuf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.neuf-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  z-index: 2;
}

.neuf-image {
  position: relative;
  height: 400px;
}

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

.neuf-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  text-align: center;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.3s ease;
}

.neuf-card:hover .neuf-overlay {
  transform: translateY(0);
  opacity: 1;
}

.neuf-overlay h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.neuf-overlay p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.neuf-btn {
  background: var(--gold);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}

.neuf-btn:hover {
  background: var(--royal-blue);
}

@media (max-width: 1200px) {
  .neuf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .neuf-grid {
    grid-template-columns: 1fr;
  }
  
  .neuf-title {
    font-size: 28px;
  }
  
  .neuf-image {
    height: 300px;
  }
}

.news-section {
  padding: 100px 5%;
  background: white;
}

.news-title {
  text-align: center;
  color: var(--royal-blue);
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 10px;
}

.news-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: var(--gold);
  margin: 20px auto;
}

.news-subtitle {
  text-align: center;
  color: #666;
  font-style: italic;
  margin-bottom: 40px;
}

.news-carousel-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  overflow: hidden;
}

.news-carousel {
  display: flex;
  gap: 30px;
  transition: transform 0.3s ease;
}

.news-card {
  flex: 0 0 calc(33.333% - 20px);
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.news-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #f5f5f5;
}

.news-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f5f5f5 0%, #e0e0e0 50%, #f5f5f5 100%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  loading: lazy;
    position: relative;
  z-index: 1;
}

.news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.3s;
}

.news-card:hover .news-overlay {
  opacity: 1;
}

.news-details {
  padding: 25px;
}

.news-details h3, .news-details h3 a {
  color: var(--royal-blue);
  font-size: 20px;
  margin-bottom: 15px;
  line-height: 1.4;
  text-decoration: none;
}
.news_card_container {
  padding: 0px 15px;
}

.news-details p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.news-carousel .slick-list {
  margin-left: -15px;
  margin-right: -15px;
}

.news-btn {
  display: inline-block;
  background: var(--royal-blue);
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
}

.news-btn:hover {
  background: var(--gold);
}

.news-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-arrow:hover {
  background: var(--royal-blue);
}

.news-prev {
  left: 10px;
}

.news-next {
  right: 10px;
}

.news-dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
}
.news-dots ul{
  list-style: none;
  gap: 10px;
  padding: 0px;
  margin: 0px;
  display: flex;
}

.news-dots ul li button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s;
  border: none;
  text-indent: -9999px;
}

.news-dots ul li.slick-active button  {
  background: var(--gold);
}

.news-cta {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  background: var(--royal-blue);
  color: white;
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.news-cta:hover {
  background: var(--gold);
}
.mobile_menu{
  display: none;
}

.nav-icons ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-widget ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}
.footer-widget ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-widget ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-widget ul li a:hover {
  color: var(--gold);
}
.mobile-contact-actions ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  list-style: none;
  width: 100%;
}

.property-card .es-btn__wishlist, .prestige-card .es-btn__wishlist{
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px !important;
  height: 40px;
  background: var(--royal-blue) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.3s ease;
  border: none;
}

.js-es-control.es-control.es-control--property-image {
    max-height: 0px;
}

.es-btn__wishlist .es-icon.es-icon_heart {
  font-size: 18px !important;
  color: #fff !important;
}
.es-btn:hover:not([disabled]):not(.es-btn--disabled) .es-icon.es-icon_heart, .entity-box__delete:hover{
  color: #fff !important;
} 

.slick-track {
  display: flex;
}
.slick-slide {
  height: inherit !important;
}
.slick-slide > div {
  height: 100%;
}
.slick-slide .slick-slider {
  height: 100%;
}
.news-card {
  height: 100%;
}
.news_card_container {
  height: 100%;
}



@media (max-width: 768px) {
  .news-section {
    padding: 60px 20px;
  }

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

  .news-subtitle {
    font-size: 16px;
    padding: 0 15px;
    margin-bottom: 30px;
  }

  .news-carousel-container {
    padding: 0 30px;
  }

  .news-card {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }

  .news-image {
    height: 200px;
  }

  .news-details {
    padding: 20px 15px;
  }

  .news-details h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .news-details p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .news-btn {
    width: 100%;
    text-align: center;
  }

  .news-arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .news-prev {
    left: 0;
  }

  .news-next {
    right: 0;
  }

  .news-dots {
    margin: 20px 0;
  }

  .news-cta {
    margin-top: 30px;
    width: calc(100% - 30px);
    text-align: center;
  }


  .mobile_menu {
    position: fixed;
    left: -100%;
    top: var(--header-height);
    width: 70%;
    
    height: calc(100vh - var(--header-height));
    display: block;
    z-index: 999;
    background: #1a1a1a;
    transition: 500ms;
    overflow: auto;
    padding-bottom: 65px !important;
  }
  .admin-bar .mobile_menu {
    top: 122px;
    height: calc(100vh - var(--header-height) - 30px - 0px);
  }
  .menu_active .mobile_menu{
    left: 0px;
  }

  .mobile_menu {
    padding: 40px;
  }
  .mobile_menu ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
  }
  .mobile_menu ul li a {
    color: #fff;
    padding-bottom: 15px;
    display: block;
    text-align: left;
  }
  .mobile_menu .nav-icons {
    display: block;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    margin-top: 0px;
  }
  .mobile_menu .nav-icons a {
    color: #fff;
  }
  .nav-icons ul{
    flex-direction: column;
    gap: 15px;
  }

}

@media (max-width: 480px) {
  .news-carousel-container {
    padding: 0 20px;
  }

  .news-image {
    height: 180px;
  }
}
.footer {
  background: #1a1a1a;
  padding: 60px 5% 20px;
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 25px;
  font-weight: 600;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item i {
  color: var(--gold);
  width: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  color: white;
  font-size: 20px;
  transition: color 0.3s;
}

.social-icon:hover {
  color: var(--gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--gold);
}

.latest-property {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  text-decoration: none;
  color: white;
}

.latest-property img {
  width: 80px;
  flex:  0 0 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.latest-property-info h4 {
  font-size: 14px;
  margin-bottom: 5px;
}

.latest-property-info .price {
  color: var(--gold);
  font-weight: 600;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-bottom a:hover {
  opacity: 0.8;
}


.page_content{
	min-height: 300px;
    padding: 120px 5%;
}
.container{
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}


@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.mobile-contact-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background: var(--royal-blue);
  z-index: 1000;
  padding: 10px 0;
}

.mobile-contact-actions {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}

.mobile-contact-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease;
}

.mobile-contact-action:hover {
  transform: translateY(-3px);
}

.mobile-contact-action i {
  font-size: 24px;
  margin-bottom: 5px;
}

.mobile-contact-action span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.apartments-section .carousel, .villas_properties  .carousel{
  color: #fff;
}

/*** Wishlist Popup ***/ 

.share_all_wish__pop {
  padding: 1%;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  max-height: 90vh;
  width: 95%;
  max-width: 850px;
  -webkit-border-radius: 8px !important;
  border-radius: 8px !important;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-animation: fade-in-classic .6s cubic-bezier(0.390,0.575,0.565,1.000) both;
  animation: fade-in-classic .6s cubic-bezier(0.390,0.575,0.565,1.000) both;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
  overflow: auto;
  display: none;
}
.s_all_wish_close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #1a237e;
  border: 1px solid #1a237e;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.s_all_wish_close:hover {
  background: #1a237e;
  color: #fff;
}
.share_all_form {
  padding: 20px;
}
.share_all_wish__pop h3 {
  padding: ;
  padding-left: 20px;
  padding-top: 20px;
  padding-right: 40px;
}
.share_group {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.share_g_left {
  flex: 0 0 30%;
  max-width: 30%;
}
.share_g_right {
  flex: 0 0 70%;
  max-width: 70%;
}
.share_group input {
  width: 100%;
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}
.share_group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}
.share_group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
}
.share_all_wish_overlay {
  background: rgba(0,0,0,.6);
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 2222;
  display: none;
}

.share_single_wish_overlay {
  background: rgba(0,0,0,.6);
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 2222;
  display: none;
}
.share_single_wish__pop {
  padding: 1%;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  max-height: 90vh;
  width: 95%;
  max-width: 850px;
  -webkit-border-radius: 8px !important;
  border-radius: 8px !important;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-animation: fade-in-classic .6s cubic-bezier(0.390,0.575,0.565,1.000) both;
  animation: fade-in-classic .6s cubic-bezier(0.390,0.575,0.565,1.000) both;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
  overflow: auto;
  display: none;
}

.share_single_container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px 0px;
}
.share_single_container .share_single_left {
  flex: 0 0 calc(40% - 15px);
  max-width: calc(40% - 15px);
}
.share_single_container .share_single_right {
  flex: 0 0 calc(60% - 15px);
  max-width: calc(60% - 15px);
}
.share_single_container .share_single_right .share_single_form {
  padding: 20px 0px;
}
.share_single_container .share_single_right h3 {
  padding-top: 40px;
}
.share_single_left h2 {
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 10px;
}
.share_single_left ul {
  margin: 20px 0px 0px 0px;
  padding: 0px;
  display: flex;
  gap: 10px;
  list-style: none;
}
.share_single_left ul li a {
  width: 33px;
  height: 33px;
  color: #fff;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
}
.share_single_left ul li a.xtwitter{
  background: #56adec;
}
.share_single_left ul li a.linkedin{
  background: #0779b8;
}
.share_single_left ul li a.pinterest{
    background: #bd081c;
}
.share_single_left ul li a.facebook{
    background: #3b5998;
}


@media (max-width: 768px) {
  .mobile-contact-bar {
    display: block;
  }
  
  .footer {
    margin-bottom: 65px;
  }

  .header {
    padding: 0 15px;
  }

  .logo h1 {
    font-size: 18px;
  }

  .logo span {
    font-size: 12px;
  }

  .burger {
    font-size: 20px;
    padding: 10px;
    margin-left: 10px;
  }

  .nav-menu {
    top: var(--header-height);
    width: 100%;
    height: calc(100vh - var(--header-height));
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.98);
    align-items: center;
    gap: 25px;
    backdrop-filter: blur(10px);
  }

  .nav-menu .nav-link {
    font-size: 18px;
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }

  .nav-icons {
    margin-top: 20px;
    justify-content: center;
    gap: 30px;
  }

  .nav-icon {
    font-size: 22px;
  }

  .nav-menu {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
  }

  .nav-menu.active {
    opacity: 1;
  }

  .hero h2 {
    font-size: 36px;
  }
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/*** Home Search ***/ 

.search-section {
  background: white;
  padding: 30px 5%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.search-container {
  max-width: 1400px;
  margin: 0 auto;
}

.property-search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  background: white;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-field label {
  font-size: 14px;
  color: var(--royal-blue);
  font-weight: 500;
}

.search-field select,
.search-field input {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background: white;
  transition: border-color 0.3s;
}

.search-field select:focus,
.search-field input:focus {
  border-color: var(--gold);
  outline: none;
}

input[type="range"] {
  width: 100%;
  cursor: pointer;
}

#budgetValue {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  text-align: right;
}

.search-btn {
  background: var(--gold);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: fit-content;
  margin-top: auto;
}

.search-btn:hover {
  background: var(--royal-blue);
}
.page_content p, .page_content ul  {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.page_content h3, .page_content h2, .page_content h4, .page_content h5 {
  margin-bottom: 15px;
  line-height: 1.3;
}
.page_content h5 {
  font-size: 18px;
}
.page_content h4 {
  font-size: 22px;
}
.page_content h3 {
  font-size: 24px;
}
.page_content h2 {
  font-size: 28px;
}
.page_content a{
    color: var(--gold);
}
.page_content h1 {
  margin-bottom: 15px;
}


@media (max-width: 768px) {
  .property-search-form {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  
  .search-btn {
    margin-top: 10px;
  }


  .share_single_container .share_single_left {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .share_single_container .share_single_right {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .share_single_container {
    padding: 20px;
  }
  .share_single_container .share_single_right h3 {
    padding-top: 0px;
  }
  .share_g_left {
    flex: 0 0 100%;
    max-width: 100%;
  }
	.admin-bar .header {
	  top: 0px;
	  z-index: 9999999999999;
	}
	.admin-bar .mobile_menu {
    	top: 90px;
	}

}