/* Base Styles */
:root {
  --primary-color: #00CC99;
  --secondary-color: #0a1419;
  --accent-color: #eef5f4;
  --text-color: #333;
  --light-text: #fff;
  --gray-text: #6e7b89;
  --border-color: #e6e6e6;
  --transition: all 0.3s ease;
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: #f9f9f9;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h5 {
  color: var(--primary-color);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.section-header h5 i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary i {
  margin-left: 8px;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary i {
  margin-left: 8px;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ctn-preloader {
  position: relative;
}

.home-icon {
  width: 60px;
  height: 60px;
  position: relative;
  margin-bottom: 20px;
}

.roof {
  width: 60px;
  height: 20px;
  background-color: var(--primary-color);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  position: absolute;
  top: 0;
}

.walls {
  width: 40px;
  height: 30px;
  background-color: var(--secondary-color);
  position: absolute;
  top: 20px;
  left: 10px;
}

.door {
  width: 15px;
  height: 20px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: 0;
  left: 22.5px;
}

.windows {
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: 30px;
  top: 25px;
  left: 15px;
}

.window {
  width: 8px;
  height: 8px;
  background-color: #fff;
}

.txt-loading {
  text-align: center;
  font-weight: 700;
  font-size: 3rem;
  margin-top: 20px;
}

.letters-loading {
  color: var(--primary-color);
  opacity: 0;
  animation: loadingAnimation 4s infinite;
  display: inline-block;
  margin: 0 2px;
}

@keyframes loadingAnimation {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.letters-loading:nth-child(2) {
  animation-delay: 0.2s;
}
.letters-loading:nth-child(3) {
  animation-delay: 0.4s;
}
.letters-loading:nth-child(4) {
  animation-delay: 0.6s;
}
.letters-loading:nth-child(5) {
  animation-delay: 0.8s;
}
.letters-loading:nth-child(6) {
  animation-delay: 0.8s;
}

/* Page Progress - UPDATED with arrow inside */
.paginacontainer {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
}

.progress-wrap {
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow);
  background-color: white;
  z-index: 10000;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.progress-wrap:hover {
  transform: scale(1.1);
}

.progress-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.progress-circle path {
  stroke: var(--primary-color);
  stroke-width: 4;
  fill: transparent;
  stroke-dasharray: 307.919;
  stroke-dashoffset: 307.919;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 10ms linear;
}

.progress-wrap i {
  color: var(--primary-color);
  z-index: 2;
  font-size: 16px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-area {
  padding: 15px 0;
}

.header-elements {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo a {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.main-menu ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-menu ul li a {
  font-weight: 500;
  color: var(--secondary-color);
  position: relative;
  padding: 5px 0;
}

.main-menu ul li a:hover,
.main-menu ul li a.active {
  color: var(--primary-color);
}

.main-menu ul li a.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.btn-area {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-icon a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  border-radius: 50%;
  color: var(--primary-color);
}

.header-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: var(--border-radius);
  font-weight: 500;
}

.header-btn i {
  margin-left: 8px;
}

/* Mobile Header - UPDATED */
.mobile-header {
  display: none;
  padding: 15px 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.mobile-header-elements {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-logo a {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.mobile-nav-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  border-radius: 50%;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-nav-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.mobile-nav-icon i {
  font-size: 1.1rem;
}

/* Mobile Sidebar - UPDATED */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: white;
  z-index: 999;
  padding: 30px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  overflow-y: auto;
}

.mobile-sidebar.active {
  right: 0;
}

/* Mobile Sidebar Header */
.logosicon-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.logos {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  border-radius: 50%;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-close:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.menu-close i {
  font-size: 1.1rem;
}

/* Mobile Navigation List - UPDATED */
.mobile-nav {
  width: 100%;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li {
  margin-bottom: 0;
  border-bottom: 1px solid #f5f5f5;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.mobile-nav-list li:last-child {
  border-bottom: none;
}

.mobile-sidebar.active .mobile-nav-list li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-list li a {
  display: block;
  padding: 15px 0;
  font-weight: 500;
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-list li a:hover {
  color: var(--primary-color);
  padding-left: 10px;
}

.mobile-nav-list li a.active {
  color: var(--primary-color);
  font-weight: 600;
}

.mobile-nav-list li a.active::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Staggered animation delay */
.mobile-sidebar.active .mobile-nav-list li:nth-child(1) { transition-delay: 0.1s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(2) { transition-delay: 0.15s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(3) { transition-delay: 0.2s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(4) { transition-delay: 0.25s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(5) { transition-delay: 0.3s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(6) { transition-delay: 0.35s; }

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero-section {
  padding: 80px 0;
  position: relative;
  background-color: #f8f9fd;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
}

.hero-left {
  position: relative;
}

.hero-right {
  position: relative;
}

.hero-content {
  position: relative;
  margin-bottom: 30px;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
  line-height: 1.2;
  font-family: 'Playfair Display';
}

.hero-content h1 span {
  color: var(--primary-color);
}

.star {
  position: absolute;
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300CC99"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  animation: pulse 2s infinite;
}

.star1 {
  top: -10px;
  right: 20%;
}

.star2 {
  top: 60px;
  left: -10px;
}

.star3 {
  top: 20px;
  left: 10px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-description {
  position: relative;
  margin-bottom: 30px;
}

.hero-description p {
  color: var(--gray-text);
  margin-bottom: 20px;
  line-height: 1.7;

}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.play-video {
  display: flex;
  align-items: center;
  color: var(--secondary-color);
  font-weight: 500;
}

.video-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  border-radius: 50%;
  color: var(--light-text);
  margin-right: 10px;
  transition: all 0.3s ease;
}

.play-video:hover .video-icon {
  transform: scale(1.1);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-color);
  padding: 8px 15px;
  border-radius: 30px;
}

.badge-icon {
  margin-right: 8px;
  color: var(--primary-color);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.stat-item {
  text-align: center;
  background-color: white;
  padding: 25px 15px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.stat-item h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.stat-item p {
  color: var(--gray-text);
  font-size: 0.9rem;
}

.header-image {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.img-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.img-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tabs Section */
.tabs-section {
  margin-top: -50px;
  margin-bottom: 80px;
}

.tabs-area {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.tab {
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-text);
  position: relative;
}

.tab.active {
  color: var(--primary-color);
}

.tab.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.search-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--secondary-color);
}

.select-dropdown {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: white;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
  font-size: 1rem;
  color: var(--text-color);
}

.search-btn {
  width: 100%;
  padding: 12px;
  border: none;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.search-btn:hover {
  background-color: var(--secondary-color);
}

/* About Section - MODIFIED with reorganized images */
/* Modern About Section Styles - Keeping Original Structure */
.about-section {
  padding: 100px 0;
  background-color: #f9f9f9;
  overflow: hidden;
}

/* Main layout container - maintaining original left/right structure */
.about-layout {
  display: flex;
  gap: 60px;
  align-items: center;
}

/* Left side with images - refined layout but same position */
.about-images-container {
  flex: 1;
  position: relative;
  min-height: 580px;
}

/* Right side with content - same position */
.about-content-container {
  flex: 1;
  display: flex;
  align-items: center;
}

/* Image styling - modernized with inspiration from card design */
.about-img {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.about-img:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

/* Positioning refined for better composition */
.mediterranean-house {
  width: 75%;
  height: 55%;
  top: 0;
  left: 0;
  z-index: 1;
}

.mansion-emblem {
  width: 60%;
  height: 45%;
  top: 25%;
  right: 0;
  z-index: 3;
}

.garden-entrance {
  width: 50%;
  height: 40%;
  bottom: 0;
  left: 8%;
  z-index: 2;
}

/* Content styling - modernized but keeping structure */
.about-content {
  width: 100%;
  padding: 0;
}

.content-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.content-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(0, 204, 153, 0.15);
  border-radius: 8px;
  color: #00CC99;
}

.content-label {
  color: #00CC99;
  font-weight: 600;
  font-size: 1.1rem;
  margin-left: 12px;
}

.about-content h2 {
  font-size: 2.8rem;
  color: #222;
  margin-bottom: 24px;
  line-height: 1.3;
  font-weight: 700;
}

.about-content p {
  color: #555;
  margin-bottom: 32px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.discover-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background-color: #00CC99;
  color: white;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.discover-btn i {
  transition: transform 0.3s ease;
}

.discover-btn:hover {
  background-color: #00b386;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 204, 153, 0.2);
}

.discover-btn:hover i {
  transform: translateX(5px);
}

/****** Featured Section *******/

.featured-section {
  padding: 80px 0;
  background-color: #f8f9fd;
}

/* Enhanced Property Carousel Container */
.property-carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: white;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

/* FIXED: Carousel positioning */
.property-carousel {
  display: flex;
  width: 300%; /* This will be set dynamically by JavaScript */
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform; /* Optimize for animations */
}

/* FIXED: Each slide takes equal width */
.property-slide {
  width: 33.333333%; /* This will be set dynamically by JavaScript */
  flex-shrink: 0;
  display: flex;
  gap: 30px;
  padding: 0 10px;
  box-sizing: border-box;
}

/* Enhanced Property Card Styles */
.property-card {
  flex: 1;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  min-width: 0;
}

.property-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.property-card:active {
  transform: translateY(-10px) scale(0.98);
}

.property-img {
  position: relative;
  overflow: hidden;
}

.property-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.property-tags {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.tag-sell, .tag-featured {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tag-sell {
  background: linear-gradient(135deg, var(--primary-color), #00a085);
  color: white;
}

.tag-featured {
  background: linear-gradient(135deg, var(--secondary-color), #1a2a35);
  color: white;
}

.property-content {
  padding: 25px 20px 20px;
}

.property-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.3;
}

.property-content h3 a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

.property-content h3 a:hover {
  color: var(--primary-color);
}

.location {
  color: var(--gray-text);
  font-size: 0.9rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.location i {
  color: var(--primary-color);
  font-size: 0.8rem;
}

.property-details {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 18px 0;
  margin-bottom: 18px;
  list-style: none;
}

.property-details li {
  display: flex;
  align-items: center;
  color: var(--gray-text);
  font-size: 0.9rem;
  gap: 6px;
}

.property-details li i {
  color: var(--primary-color);
  font-size: 0.85rem;
}

.property-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.property-price h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 0;
  font-weight: 700;
}

.property-price h3 span {
  font-size: 1rem;
  color: var(--gray-text);
  font-weight: 400;
}

.like-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  border-radius: 50%;
  color: var(--primary-color);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  border: 2px solid transparent;
}

.like-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
  border-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(0, 204, 153, 0.3);
}

/* Carousel Navigation Styles */
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 25px;
}

.carousel-dots {
  display: flex;
  gap: 15px;
}

.carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #e2e2e2;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 2px solid transparent;
  z-index: 10;
}

.carousel-dot:hover {
  background-color: var(--primary-color);
  opacity: 0.7;
  transform: scale(1.1);
}

.carousel-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(0, 204, 153, 0.3);
}

.carousel-dot.active::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
}

/* Navigation Arrows */
.carousel-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid #e2e2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: var(--secondary-color);
  font-size: 1.1rem;
  z-index: 10;
}

.carousel-arrow:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 204, 153, 0.3);
}

.carousel-arrow:active {
  transform: translateY(-1px) scale(1.02);
}

.carousel-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.carousel-arrow:disabled:hover {
  background-color: white;
  color: var(--secondary-color);
  transform: none;
  box-shadow: none;
}

/* Auto-scroll Progress Bar */
.auto-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #00a085);
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 8px rgba(0, 204, 153, 0.3);
  z-index: 2;
}

/* Fix property card interactions */
.property-carousel .property-card {
  cursor: pointer;
  position: relative;
}

.property-carousel .like-btn {
  position: relative;
  z-index: 5;
  cursor: pointer;
}

/* Responsive Design for Carousel */
@media (max-width: 768px) {
  .property-slide {
    flex-direction: column;
    gap: 20px;
  }

  .property-card {
    min-width: 100%;
  }

  .carousel-nav {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .property-carousel-container {
    padding: 15px;
  }

  .property-slide {
    padding: 0 5px;
    gap: 15px;
  }

  .carousel-arrow {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .carousel-dot {
    width: 12px;
    height: 12px;
  }
}

/***** END OF FEATURED SECTION ******/

/* Testimonial Section */
.testimonial-section {
  padding: 80px 0;
  background-color: #f8f9fd;
}

.testimonial-slider-container {
  position: relative;
  max-width: 1000px;
  height: 550px;
  margin: 0 auto;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

/* Testimonial Card Layout */
.testimonial-card {
  display: flex;
  align-items: stretch;
  height: 100%;
}

/* Image side */
.testimonial-image-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

/* Content side */
.testimonial-content-container {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-content {
  position: relative;
}

.quote-icon {
  color: #00CC99;
  font-size: 2.5rem;
  margin-bottom: 20px;
  opacity: 0.6;
}

.testimonial-content h3 {
  font-size: 1.8rem;
  color: #0d1d25;
  margin-bottom: 20px;
}

.testimonial-content p {
  color: #6e7b89;
  margin-bottom: 30px;
  font-style: italic;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Author styling */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.author-info h4 {
  font-size: 1.1rem;
  color: #0d1d25;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 0.9rem;
  color: #6e7b89;
  margin-bottom: 0;
  font-style: normal;
}

/* CENTRALIZED NAVIGATION DOTS - New Styling */
.testimonial-dots-container {
  position: absolute;
  margin-left: 60px;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #e2e2e2;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #00CC99;
  transform: scale(1.2);
}

/* Navigation arrows */
.testimonial-arrows {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: white;
  border: 1px solid #e2e2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #0d1d25;
}

.arrow:hover {
  background-color: #00CC99;
  color: white;
  border-color: #00CC99;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 204, 153, 0.2);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Blog Section */
.blog-section {
  padding: 80px 0;
  background-color: #f8f9fd;
}

.blog-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.blog-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-img {
  position: relative;
}

.blog-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.blog-date {
  position: absolute;
  bottom: -15px;
  left: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-content {
  padding: 30px 20px 20px;
}

.blog-tags {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.blog-tags a {
  color: var(--gray-text);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.blog-tags a span,
.blog-tags a i {
  margin-right: 5px;
  color: var(--primary-color);
}

.blog-content h3 {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.blog-content h3 a {
  color: var(--secondary-color);
}

.blog-content h3 a:hover {
  color: var(--primary-color);
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Contact Section - MODIFIED: removed "Request Your Property" */
.contact-section {
  padding: 80px 0;
}

.contact-form {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

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

.form-group.double {
  grid-column: span 2;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  color: var(--text-color);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-submit {
  text-align: center;
}

/* Modified Contact Section header */
.contact-section .section-header h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
}

/* Footer */
.site-footer {
  padding: 80px 0 30px;
  background-color: var(--secondary-color);
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: white;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-about h4 {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 15px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  margin-bottom: 30px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.newsletter-form button {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.newsletter-form button i {
  margin-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
  color: white;
}

.footer-contact ul li {
  display: flex;
  margin-bottom: 15px;
}

.footer-contact ul li i {
  margin-right: 10px;
  color: var(--primary-color);
}

.footer-contact ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li a:hover {
  color: white;
}

.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  color: rgba(255, 255, 255, 0.7);
}

.copyright ul {
  display: flex;
}

.copyright ul li {
  margin-left: 15px;
}

.copyright ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.copyright ul li a:hover {
  color: white;
}




/* Responsive Styles */


@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .about-text h2,
  .cta-text h2 {
    font-size: 2rem;
  }

  .property-slide {
    gap: 25px;
  }

  .carousel-nav {
    gap: 20px;
  }

  .carousel-dots {
    gap: 12px;
  }

  .about-layout {
    gap: 40px;
  }

  .about-content h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 992px) {
  header {
    display: none;
  }

  .mobile-header {
    display: block;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .hero-right {
    order: 0;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-layout {
    flex-direction: column;
    gap: 60px;
  }

  .about-images-container {
    width: 100%;
    min-height: 500px;
  }

  .testimonial-card {
    flex-direction: column;
  }

  .testimonial-image-container {
    height: 300px;
  }

  .testimonial-content-container {
    padding: 30px;
  }

  .testimonial-slider-container {
    height: auto;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .search-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .property-slide {
    gap: 20px;
  }

  .property-card {
    min-width: 280px;
  }

  .carousel-arrow {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .carousel-dot {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  /*card*/
  .about-section {
    padding: 70px 0;
  }

  .about-images-container {
    min-height: 450px;
  }

  .mediterranean-house {
    width: 75%;
    height: 50%;
  }

  .mansion-emblem {
    width: 60%;
    height: 45%;
  }

  .garden-entrance {
    width: 50%;
    height: 40%;
  }

  .about-content h2 {
    font-size: 2rem;
  }
  /*end card*/

  /*.property-slider,*/
  .blog-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group.double {
    grid-column: auto;
  }

  .copyright {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .copyright ul {
    justify-content: center;
  }

  /* MOBILE PROPERTY CAROUSEL - Show one card at a time */
  .property-carousel {
    width: 900%; /* 9 cards * 100% */
  }

  .property-slide {
    width: 11.111%; /* 100% / 9 cards */
    flex-direction: column;
    gap: 0;
    padding: 0;
    justify-content: center;
  }

  .property-card {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }

  .carousel-nav {
    flex-direction: column;
    gap: 20px;
  }

  .carousel-dots {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .property-carousel-container {
    padding: 15px;
  }

  .featured-section {
    padding: 60px 0;
  }

  .mobile-sidebar {
    width: 280px;
    padding: 25px 20px;
  }

  .mobile-nav-list li a {
    font-size: 1rem;
    padding: 12px 0;
  }

  .logos {
    font-size: 1.3rem;
  }

  .about-images-container {
    height: 450px;
  }

  .mediterranean-house {
    width: 80%;
    height: 40%;
  }

  .mansion-emblem {
    width: 65%;
    height: 40%;
    top: 30%;
  }

  .garden-entrance {
    width: 55%;
    height: 35%;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .testimonial-section {
    padding: 60px 0;
  }

  .testimonial-image {
    height: 250px;
  }

  .testimonial-content h3 {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .testimonial-slider-container {
    padding: 20px;
  }

  /* MOBILE TESTIMONIAL NAVIGATION - Hide arrows, center dots */
  .testimonial-arrows {
    display: none !important;
  }

  .testimonial-dots-container {
    margin-left: 0;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
  }

  .testimonial-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .about-section {
    padding: 50px 0;
  }
  .search-form {
    grid-template-columns: 1fr;
  }

  .about-images-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: auto;
    margin-bottom: 30px;
  }

  .mediterranean-house {
    width: 100%;
    height: 220px;
    position: relative;
    margin-bottom: 15px;
  }

  .mansion-emblem {
    width: 90%;
    height: 200px;
    position: relative;
    top: 0;
    right: 0;
    margin-left: auto;
    margin-bottom: 15px;
  }

  .garden-entrance {
    width: 80%;
    height: 180px;
    position: relative;
    bottom: 0;
    left: 0;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .about-img {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 200px;
  }

  .mediterranean-house {
    height: 230px;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .discover-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .testimonial-image-container {
    height: 250px;
  }

  .testimonial-content-container {
    padding: 25px 20px;
  }

  .quote-icon {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .testimonial-content h3 {
    font-size: 1.5rem;
  }

  .testimonial-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .author-image {
    width: 50px;
    height: 50px;
  }

  .testimonial-dots-container {
    bottom: 20px;
  }

  .carousel-dots {
    gap: 10px;
  }

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

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .property-content {
    padding: 20px 15px 15px;
  }

  .property-details {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .property-price {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .mobile-sidebar {
    width: 260px;
    padding: 20px 15px;
  }

  /* MOBILE PROPERTY CAROUSEL - 9 individual cards */
  .property-carousel {
    width: 900%; /* 9 cards total */
  }

  .property-slide {
    width: 11.111%; /* 100% / 9 */
  }

  .carousel-dots {
    gap: 6px;
  }

  .carousel-dot {
    width: 6px;
    height: 6px;
  }
}

/* Mobile Login Section - NEW ADDITION */
.mobile-login-section {
  margin-top: 30px;
  padding: 30px 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(248, 250, 252, 0.8) 30%, #f8fafc 100%);
  backdrop-filter: blur(10px);
  position: relative;
}

.mobile-login-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -30px;
  right: -30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.mobile-login-btn {
  width: 100%;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  color: #00CC99;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.mobile-login-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(0, 204, 153, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  border-radius: 50%;
}

.mobile-login-btn:hover::after {
  width: 300px;
  height: 300px;
}

.mobile-login-btn:hover {
  border-color: #00CC99;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 204, 153, 0.15);
}

.login-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 1rem;
}

.mobile-login-btn:hover .login-arrow {
  transform: translateX(4px);
}

/* Update mobile nav to be flex column and accommodate login section */
.mobile-nav {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

/* Update mobile sidebar to use flexbox */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: white;
  z-index: 999;
  padding: 30px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Ripple Animation for mobile login */
@keyframes ripple {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .mobile-sidebar {
    width: 280px;
    padding: 25px 20px;
  }

  .mobile-login-section {
    margin-top: 25px;
    padding: 25px 0 0;
  }

  .mobile-login-section::before {
    left: -20px;
    right: -20px;
  }

  .mobile-login-btn {
    padding: 14px 18px;
    font-size: 1rem;
  }
}

@media (max-width: 479px) {
  .mobile-sidebar {
    width: 260px;
    padding: 20px 15px;
  }

  .mobile-login-section {
    margin-top: 20px;
    padding: 20px 0 0;
  }

  .mobile-login-section::before {
    left: -15px;
    right: -15px;
  }

  .mobile-login-btn {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}