/* ===== CSS RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0f172a;
  --secondary: #6d1e36;
  --accent: #1e3a8a;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --success: #10b981;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--slate-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Left to right animation for partners */
@keyframes marqueeLeftToRight {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(50%);
  }
}


@keyframes marqueeReverse {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0%);
  }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

.animate-marquee-reverse {
  animation: marqueeReverse 30s linear infinite;
}

/* Modal Animations */
.animate-fade-in {
  animation: fadeInModal 0.3s ease-out;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-scale-in {
  animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-in {
  animation: fadeIn 0.5s ease-out;
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

.slide-in-from-top-5 {
  animation: slideInFromTop 0.3s ease-out;
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-1.25rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
}

header.scrolled,
header.not-home {
  background: var(--white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
}

header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.logo-image {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  font-family: 'Playfair Display', serif;
}

header.scrolled .logo-text,
header.not-home .logo-text {
  color: var(--primary);
}

.logo-text .highlight {
  color: var(--secondary);
}

nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

nav button {
  font-size: 0.875rem;
  font-weight: 500;
  background: none;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
}

header.scrolled nav button,
header.not-home nav button {
  color: var(--slate-700);
}

nav button:hover,
nav button.active {
  color: var(--secondary);
  font-weight: 700;
}

.cta-button {
  display: none;
  padding: 0.625rem 1.5rem;
  background: var(--secondary);
  color: var(--white);
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.3s;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background: #4a1425;
  transform: scale(1.05);
}

.mobile-menu-toggle {
  background: none;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

header.scrolled .mobile-menu-toggle svg,
header.not-home .mobile-menu-toggle svg {
  color: var(--primary);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--slate-100);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu button {
  padding: 0.75rem 0;
  text-align: left;
  font-weight: 500;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-700);
  background: none;
}

.mobile-menu button:last-of-type {
  border-bottom: none;
}

.mobile-menu button:hover,
.mobile-menu button.active {
  color: var(--secondary);
}

.mobile-menu .cta-button {
  display: block;
  margin-top: 1rem;
  width: 100%;
  padding: 0.75rem;
  text-align: center;
  font-weight: 700;
  border-radius: 0.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
  z-index: 10;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 20;
  text-align: center;
  color: var(--white);
  margin-top: 8rem;
}

@media (min-width: 768px) {
  .hero-content {
    margin-top: 4rem;
  }
}

.hero-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .highlight {
  color: var(--secondary);
}

.hero p {
  font-size: 1.125rem;
  color: var(--slate-200);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.search-bar {
  width: 100%;
  max-width: 56rem;
  background: var(--white);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  margin: 0 auto 2rem;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.search-field {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border-radius: 0.75rem;
  border: 1px solid transparent;
  transition: border-color 0.3s;
}

.search-field:hover {
  border-color: var(--slate-200);
}

.search-field svg {
  color: var(--secondary);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.search-field-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
}

.search-field-label {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-field select {
  background: transparent;
  color: var(--slate-800);
  font-weight: 600;
  border: none;
  outline: none;
  width: 100%;
  cursor: pointer;
  margin-top: 0.125rem;
  font-size: 1rem;
}

.search-button {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.search-button:hover {
  background: var(--slate-800);
}

.search-button:active {
  transform: scale(0.95);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-cta button {
  padding: 0.875rem 2rem;
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.hero-cta .primary-btn {
  background: var(--secondary);
  color: var(--white);
}

.hero-cta .primary-btn:hover {
  background: #4a1425;
  box-shadow: 0 10px 15px rgba(109, 30, 54, 0.3);
}

.hero-cta .secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-cta .secondary-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--slate-500);
}

.section-badge {
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* ===== PROPERTY CARDS ===== */
.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.property-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.property-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  transform: translateY(-0.5rem);
}

.property-image {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.property-card:hover .property-image img {
  transform: scale(1.1);
}

.property-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--success);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 5;
}

.property-price {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  z-index: 5;
}

/* When grouped together */
.property-badges-container {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
}

.property-badges-container .property-badge,
.property-badges-container .property-price {
  position: relative;
  bottom: auto;
  left: auto;
}

.property-info {
  padding: 1.5rem;
}

.property-type {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.property-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.property-card:hover .property-title {
  color: var(--secondary);
}

.property-location {
  display: flex;
  align-items: center;
  color: var(--slate-500);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.property-location svg {
  margin-right: 0.25rem;
}

.property-features {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  color: var(--slate-600);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.property-button {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  color: var(--slate-700);
  font-weight: 700;
  background: var(--white);
  transition: all 0.3s;
}

.property-button:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ===== CATEGORY CARDS ===== */
.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 10rem;
  height: 10rem;
  border-radius: 1rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  transition: all 0.3s;
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  background: var(--white);
}

.category-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--slate-200);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.category-card:hover .category-icon {
  background: var(--secondary);
  color: var(--white);
}

.category-name {
  font-weight: 700;
  color: var(--slate-800);
  transition: color 0.3s;
}

.category-card:hover .category-name {
  color: var(--secondary);
}

.category-count {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: var(--white);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--slate-400);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.social-link:hover {
  background: var(--secondary);
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--slate-400);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--slate-400);
  margin-bottom: 1rem;
}

.contact-item svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.map-link {
  display: block;
  width: 100%;
  height: 10rem;
  background: var(--slate-800);
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
}

.map-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.map-link:hover img {
  opacity: 0.75;
}

.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s;
}

.map-link:hover .map-badge {
  background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.75rem;
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }

  .search-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card {
    width: 12rem;
    height: 12rem;
  }
}

@media (min-width: 768px) {
  .cta-button {
    display: block;
  }

  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  nav {
    display: flex;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .search-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .property-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== BACKGROUND COLORS ===== */
.bg-slate-50 {
  background-color: var(--slate-50);
}

.bg-white {
  background-color: var(--white);
}

.bg-slate-900 {
  background-color: var(--slate-900);
}

.bg-primary {
  background-color: var(--primary);
}

/* ===== ADDITIONAL SECTIONS ===== */
.about-section {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

.about-content {
  flex: 1;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.stats-badge {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  background: var(--secondary);
  color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.stats-badge p:first-child {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stats-badge p:last-child {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.9;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  text-align: center;
  padding: 1rem;
  background: var(--slate-50);
  border-radius: 0.75rem;
}

.stat-card p:first-child {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-card p:last-child {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.25rem);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: #dbeafe;
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background: var(--slate-50);
  padding: 2rem;
  border-radius: 1rem;
  position: relative;
  margin-top: 2rem;
  transition: all 0.3s;
  border: 1px solid var(--slate-100);
}

.testimonial-card:hover {
  background: var(--white);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.quote-icon {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--slate-200);
  width: 3rem;
  height: 3rem;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-author h4 {
  font-weight: 700;
  color: var(--slate-800);
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 500;
  text-transform: uppercase;
}

.testimonial-text {
  color: var(--slate-600);
  font-style: italic;
  line-height: 1.8;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-top: 1.5rem;
  color: #fbbf24;
}

.faq-container {
  max-width: 56rem;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: background 0.3s;
}

.faq-question:hover {
  background: var(--slate-50);
}

.faq-question span {
  font-weight: 700;
  color: var(--slate-800);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 10rem;
  padding: 0 1.5rem 1rem;
  opacity: 1;
}

.faq-answer p {
  color: var(--slate-600);
  line-height: 1.8;
}

.contact-section {
  background: var(--primary);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.contact-info {
  padding: 3rem;
  background: var(--secondary);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.contact-info p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-step {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.contact-form-container {
  padding: 3rem;
  background: var(--white);
}

.contact-form-container h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.form-group textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.submit-button {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  border-radius: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-button:hover {
  background: var(--slate-800);
}

.gallery-section {
  overflow: hidden;
  position: relative;
  padding: 6rem 0;
  background: var(--white);
  border-top: 1px solid var(--slate-50);
}

/* Reduce spacing when gallery sections are consecutive */
.gallery-section+.gallery-section {
  padding-top: 2rem;
}

.gallery-title {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.gallery-title .divider {
  width: 6rem;
  height: 0.25rem;
  background: var(--secondary);
  margin: 1rem auto;
  border-radius: 9999px;
}

.gallery-title p {
  font-size: 1.125rem;
  color: var(--slate-500);
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  width: 6rem;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  padding: 0 1rem;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  height: 16rem;
  width: 24rem;
  flex-shrink: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  cursor: pointer;
}

.marquee-item:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.7s;
}

.marquee-item:hover img {
  transform: scale(1.1);
}

.marquee-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.marquee-item:hover .marquee-overlay {
  opacity: 0.4;
}

.marquee-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.3s;
}

.marquee-item:hover .marquee-caption {
  opacity: 1;
  transform: translateY(0);
}

.marquee-caption span {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.partners-marquee .marquee-item {
  width: 13rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.partners-marquee .marquee-item:hover {
  transform: scale(1.05);
}

.partners-marquee .marquee-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Partners marquee moves left to right */
.partners-marquee .marquee-track {
  animation: marqueeLeftToRight 30s linear infinite;
}

/* ===== STATIC PARTNERS SECTION ===== */
.partners-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.partners-header {
  text-align: center;
  margin-bottom: 4rem;
}

.partners-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--secondary), #d97706);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(109, 30, 54, 0.3);
}

.partners-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 1rem;
}

.partners-divider {
  width: 5rem;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--secondary), #d97706);
  margin: 1.5rem auto;
  border-radius: 9999px;
}

.partners-subtitle {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.8;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.partner-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), #d97706);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-card:hover::before {
  transform: scaleX(1);
}

.partner-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: rgba(109, 30, 54, 0.3);
  background: rgba(255, 255, 255, 1);
}

.partner-logo-container {
  width: 100%;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--white);
  border-radius: 1rem;
  border: 2px solid var(--slate-100);
  transition: all 0.3s;
}

.partner-card:hover .partner-logo-container {
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(109, 30, 54, 0.15);
}

.partner-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.4s;
}

.partner-card:hover .partner-logo {
  transform: scale(1.05);
}

.partner-info {
  text-align: center;
}

.partner-info h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.partner-card:hover .partner-info h4 {
  color: var(--secondary);
}

.partner-info p {
  font-size: 0.875rem;
  color: var(--slate-500);
  font-weight: 500;
}

.partners-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--slate-800));
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3);
  position: relative;
  overflow: hidden;
}

.partners-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(109, 30, 54, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.partners-cta p {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.partners-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 9999px;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(109, 30, 54, 0.4);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.partners-cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #d97706, var(--secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.partners-cta-button:hover::before {
  opacity: 1;
}

.partners-cta-button:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 15px 40px rgba(109, 30, 54, 0.5);
}

.partners-cta-button span {
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (min-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .partners-header h2 {
    font-size: 3rem;
  }
}

@media (min-width: 1280px) {
  .partners-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ===== COMPANY VALUES ===== */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 4rem 0;
}

.value-card {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--secondary), #d97706);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(109, 30, 54, 0.3);
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--slate-600);
  line-height: 1.8;
}

/* ===== LEADERSHIP SECTION ===== */
.leadership-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
  position: relative;
}

.leadership-header {
  text-align: center;
  margin-bottom: 5rem;
}

.leadership-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--accent), #1e40af);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.leadership-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 1rem;
}

.leadership-divider {
  width: 5rem;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--accent), #1e40af);
  margin: 1.5rem auto;
  border-radius: 9999px;
}

.leadership-subtitle {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.8;
  font-style: italic;
}

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.leader-card {
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--slate-100);
}

.leader-card:hover {
  transform: translateY(-0.75rem);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
}

.leader-image-container {
  position: relative;
  width: 100%;
  height: 24rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-100), var(--slate-200));
}

.leader-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.leader-card:hover .leader-image {
  transform: scale(1.1);
}

.leader-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
}

.leader-card:hover .leader-overlay {
  opacity: 1;
}

.leader-social {
  display: flex;
  gap: 1rem;
  transform: translateY(1rem);
  transition: transform 0.4s;
}

.leader-card:hover .leader-social {
  transform: translateY(0);
}

.leader-social-link {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.leader-social-link:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-0.25rem);
}

.leader-info {
  padding: 2.5rem;
}

.leader-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.leader-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.leader-bio {
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.leader-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-100);
}

.leader-stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ===== ACHIEVEMENTS ===== */
.achievements-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.achievement-card {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--slate-50), var(--white));
  border-radius: 1.5rem;
  border: 2px solid var(--slate-100);
  transition: all 0.3s;
}

.achievement-card:hover {
  border-color: var(--secondary);
  transform: translateY(-0.5rem);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.achievement-number {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--secondary), #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.achievement-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.75rem;
}

.achievement-card p {
  color: var(--slate-600);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Responsive */
@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .leadership-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .leadership-header h2 {
    font-size: 3rem;
  }

  .achievements-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


.project-card {
  background: var(--slate-800);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--slate-700);
  transition: all 0.3s;
}

.project-card:hover {
  border-color: var(--secondary);
}

.project-image {
  position: relative;
  height: 15rem;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.project-card:hover .project-image img {
  opacity: 1;
}

.project-details {
  padding: 2rem;
  color: var(--white);
}

.project-details h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.project-location {
  display: flex;
  align-items: center;
  color: var(--slate-400);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.project-location svg {
  margin-right: 0.25rem;
  color: var(--secondary);
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.project-info-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--slate-700);
}

.project-info-row span:first-child {
  color: var(--slate-400);
}

.project-info-row span:last-child {
  font-weight: 700;
}

.project-info-row .price {
  color: var(--secondary);
}

.project-info-row .rera {
  font-family: monospace;
  font-size: 0.75rem;
  background: var(--slate-700);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

.project-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.amenity-tag {
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--slate-700);
  color: var(--slate-300);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.project-button {
  width: 100%;
  padding: 0.75rem;
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  border-radius: 0.75rem;
  transition: all 0.3s;
}

.project-button:hover {
  background: var(--secondary);
  color: var(--white);
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .about-section {
    flex-direction: row;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-section {
    flex-direction: row;
  }

  .contact-info,
  .contact-form-container {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ===== CONTACT PAGE STYLES ===== */

/* Contact Hero */
.contact-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--slate-900) 100%);
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, rgba(109, 30, 54, 0.15) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

.contact-hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
}

.contact-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(109, 30, 54, 0.2);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.contact-hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

/* Contact Cards */
.contact-cards-section {
  padding: 4rem 0;
  background: var(--slate-50);
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border: 1px solid var(--slate-100);
}

.contact-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--secondary);
}

.contact-card-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--secondary), #d97706);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(109, 30, 54, 0.3);
}

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.75rem;
}

.contact-card-label {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-bottom: 0.75rem;
}

.contact-card-link {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.contact-card-link:hover {
  color: var(--secondary);
}

.contact-card-address {
  color: var(--slate-700);
  line-height: 1.8;
  margin-top: 0.5rem;
}

.contact-card-time {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-800);
}

/* Contact Form Section */
.contact-form-section {
  padding: 6rem 0;
  background: var(--white);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-form-wrapper {
  background: var(--slate-50);
  padding: 3rem;
  border-radius: 1.5rem;
  border: 1px solid var(--slate-100);
}

.contact-form-header {
  margin-bottom: 2.5rem;
}

.contact-form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.75rem;
}

.contact-form-header p {
  color: var(--slate-600);
  font-size: 1rem;
}

.enhanced-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.enhanced-contact-form .form-group {
  margin-bottom: 0;
}

.enhanced-contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}

.enhanced-contact-form input,
.enhanced-contact-form select,
.enhanced-contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
  color: var(--slate-800);
}

.enhanced-contact-form input:focus,
.enhanced-contact-form select:focus,
.enhanced-contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(109, 30, 54, 0.1);
}

.enhanced-contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.form-checkbox input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
  cursor: pointer;
}

.enhanced-submit-button {
  width: 100%;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, var(--secondary), #d97706);
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(109, 30, 54, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.enhanced-submit-button:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 15px 40px rgba(109, 30, 54, 0.5);
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--slate-100);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 1.5rem;
}

.contact-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-700);
  font-size: 0.9375rem;
}

.contact-benefits li span:first-child {
  color: var(--secondary);
  flex-shrink: 0;
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--slate-50);
  border-radius: 0.75rem;
  color: var(--slate-700);
  font-weight: 500;
  transition: all 0.3s;
  border: 1px solid var(--slate-100);
}

.quick-link:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  transform: translateX(0.25rem);
}

.quick-link span:first-child {
  color: inherit;
}

.social-links-contact {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-link-contact {
  width: 3rem;
  height: 3rem;
  background: var(--slate-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  transition: all 0.3s;
  border: 1px solid var(--slate-200);
}

.social-link-contact:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  transform: translateY(-0.25rem);
}

/* Map Section */
.map-section {
  padding: 6rem 0;
  background: var(--slate-50);
}

.map-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--slate-800);
}

.map-container {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  overflow: hidden;
}

/* Responsive */
@media (min-width: 640px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .enhanced-contact-form .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-hero h1 {
    font-size: 3.5rem;
  }

  .contact-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-form-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease-out;
}

.modal-container {
  background: var(--white);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-800);
  z-index: 10;
  transition: all 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
  background: var(--slate-100);
  transform: rotate(90deg);
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .modal-content {
    grid-template-columns: 1fr 1fr;
  }
}

.modal-image {
  height: 300px;
}

@media (min-width: 768px) {
  .modal-image {
    height: 100%;
  }
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .modal-details {
    padding: 3rem;
  }
}

.modal-details h2 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
}

.modal-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--slate-500);
  margin-bottom: 2rem;
}

.modal-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.modal-stat {
  background: var(--slate-50);
  padding: 1rem;
  border-radius: 1rem;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--slate-400);
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-800);
}

.section-label {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--slate-800);
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.modal-tags span {
  background: rgba(109, 30, 54, 0.1);
  color: var(--secondary);
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.modal-actions button {
  flex: 1;
  padding: 1rem;
  border-radius: 1rem;
  font-weight: 700;
  transition: all 0.3s;
}

.modal-actions .primary-btn {
  background: var(--primary);
  color: var(--white);
}

.modal-actions .primary-btn:hover {
  background: var(--slate-800);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.modal-actions .secondary-btn {
  background: var(--white);
  border: 2px solid var(--slate-100);
  color: var(--slate-700);
}

.modal-actions .secondary-btn:hover {
  background: var(--slate-50);
  border-color: var(--slate-200);
}

/* ===== SCHEDULE VISIT MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease-out;
}

.schedule-modal-container {
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 42rem;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.schedule-modal-header {
  position: sticky;
  top: 0;
  background: var(--secondary);
  padding: 1.5rem;
  border-radius: 1rem 1rem 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.schedule-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.schedule-modal-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.modal-close-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-close-btn svg {
  color: var(--white);
}

.schedule-modal-form {
  padding: 1.5rem;
}

.schedule-modal-form .form-group {
  margin-bottom: 1.25rem;
}

.schedule-modal-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}

.schedule-modal-form .required {
  color: #ef4444;
}

.schedule-modal-form input,
.schedule-modal-form select,
.schedule-modal-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s;
}

.schedule-modal-form input:focus,
.schedule-modal-form select:focus,
.schedule-modal-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(109, 30, 54, 0.1);
}

.schedule-modal-form .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.schedule-modal-form .input-with-icon {
  position: relative;
}

.schedule-modal-form .input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-modal-form .input-with-icon input {
  padding-left: 2.75rem;
}

.schedule-modal-form textarea {
  resize: none;
  font-family: inherit;
}

.schedule-modal-form .submit-button {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  border-radius: 0.5rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.schedule-modal-form .submit-button:hover {
  background: var(--slate-800);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

.schedule-modal-form .submit-button:active {
  transform: scale(0.98);
}

.schedule-modal-form .form-note {
  font-size: 0.75rem;
  color: var(--slate-500);
  text-align: center;
  margin-top: 1rem;
}

/* Responsive */
@media (min-width: 768px) {
  .schedule-modal-header h2 {
    font-size: 1.875rem;
  }

  .schedule-modal-form {
    padding: 2rem;
  }

  .schedule-modal-form .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Z-Index and Positioning Utilities for Modals */
.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.z-\[9999\] {
  z-index: 9999;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}


/* ===== VISUAL PROPERTY FILTERING ===== */
.property-card-dimmed {
  opacity: 0.35 !important;
  filter: grayscale(60%);
  pointer-events: none;
  transition: all 0.4s ease;
}

.property-card-dimmed:hover {
  transform: none !important;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1) !important;
}

.property-card-highlighted {
  box-shadow: 0 0 0 3px rgba(109, 30, 54, 0.3), 0 25px 50px rgba(0, 0, 0, 0.15) !important;
  transform: scale(1.02);
  transition: all 0.4s ease;
}

.property-card-highlighted:hover {
  box-shadow: 0 0 0 3px rgba(109, 30, 54, 0.5), 0 30px 60px rgba(0, 0, 0, 0.2) !important;
}

.scroll-mt-20 {
  scroll-margin-top: 5rem;
}