/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Color Variables & Base Styles */
:root {
  --primary: #0f172a;       /* Deep Slate */
  --primary-light: #1e293b; /* Slate 800 */
  --accent: #d4af37;        /* Gold */
  --accent-hover: #b5902b;  /* Darker Gold */
  --bg: #020617;            /* Off-Black / Very dark Slate */
  --card-bg: rgba(15, 23, 42, 0.5); /* Glass card bg */
  --text: #f8fafc;          /* White-ish */
  --text-muted: #94a3b8;    /* Slate 400 */
  --whatsapp: #25d366;      /* WA Green */
  --whatsapp-hover: #20ba5a;
  --border-color: rgba(255, 255, 255, 0.08);
  --shadow-gold: rgba(212, 175, 55, 0.15);
  
  --font-heading: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 5px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

.serif-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title h2 span {
  color: var(--accent);
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Navigation Bar (Glassmorphic) */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

header.scrolled {
  padding: 12px 0;
  background: rgba(2, 6, 23, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  transition: var(--transition);
}

header.scrolled .nav-container {
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-main span {
  color: var(--accent);
}

.logo-sub {
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
  display: block;
  white-space: normal;
  max-width: 100%;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 0 15px var(--shadow-gold);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--text);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(to right, rgba(2, 6, 23, 0.95) 40%, rgba(2, 6, 23, 0.4)), url('images/hero_bg.png');
  background-size: cover;
  background-position: center;
  padding-top: 80px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero-content {
  max-width: 650px;
  z-index: 10;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  gap: 8px;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 0 25px var(--shadow-gold);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Quick Search Bar */
.search-container {
  margin-top: -60px;
  position: relative;
  z-index: 20;
}

.search-bar {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}

.search-field {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-field label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

.search-field select,
.search-field input {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  width: 100%;
}

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

.search-btn {
  flex: 0 0 auto;
  height: 48px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 10px;
  padding: 0 32px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

/* Stats Section */
.stats-section {
  padding: 60px 0;
  background: rgba(15, 23, 42, 0.3);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.8rem;
  color: var(--accent);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Slider / Carousel System */
.slider-controls-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

.slider-nav-btns {
  display: flex;
  gap: 12px;
}

.slider-nav-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-nav-btn:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--shadow-gold);
}

.slider-nav-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.01);
  color: var(--text-muted);
  box-shadow: none;
}

.slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.slider-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.slider-track .property-card {
  flex: 0 0 calc(33.333% - 20px); /* Default 3 items on desktop */
}

/* Property Cards */
.property-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.property-image-container {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.property-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.property-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.property-location-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
  padding: 4px 12px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
}

.property-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.property-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.property-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-cta {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.btn-wa {
  flex: 1;
  background: var(--whatsapp);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-wa:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 20px;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.95rem;
}

/* Calculator Section */
.calculator-container {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
}

.slider-label span:last-child {
  color: var(--accent);
  font-size: 1.1rem;
}

.slider-input {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: var(--primary-light);
  outline: none;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: var(--transition);
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px var(--shadow-gold);
}

/* Redesigned Mortgage Calculator Output Card */
.calc-result {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-left: 4px solid var(--accent);
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.result-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.result-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 24px;
}

.result-details {
  width: 100%;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
}

.detail-row span:last-child {
  font-weight: 600;
  color: var(--text);
}

/* Share Buttons in Calculator */
.calc-share-buttons {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 28px;
}

.btn-share {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-share.wa {
  background-color: var(--whatsapp);
  color: white;
}

.btn-share.wa:hover {
  background-color: var(--whatsapp-hover);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.btn-share.copy {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border-color);
}

.btn-share.copy:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* About Agent Section */
.about-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-image::after {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  right: 20px;
  bottom: -20px;
  border: 2px solid var(--accent);
  border-radius: 20px;
  z-index: -1;
  pointer-events: none;
}

.about-info h2 {
  font-size: 2.5rem;
  margin-bottom: 5px;
}

.ren-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.about-info p {
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.credentials-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.credentials-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.credentials-list li svg {
  color: var(--accent);
  flex-shrink: 0;
}

.about-cta {
  display: flex;
  gap: 16px;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--accent);
  margin-bottom: 15px;
}

.testimonial-content {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.client-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--border-color);
}

.client-details h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.client-details p {
  font-size: 0.8rem;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

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

.contact-method {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-text p {
  font-size: 0.95rem;
}

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.submit-btn {
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.submit-btn:hover {
  background: var(--accent-hover);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--whatsapp);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: var(--whatsapp-hover);
}

/* Notification Popup */
.notification {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--primary-light);
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notification.show {
  transform: translateY(0);
}

/* Footer */
footer {
  background: rgba(2, 6, 23, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-logo .logo-main {
  justify-content: center;
}

.footer-logo .logo-sub {
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.05);
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

/* Responsiveness (Fully Tidied for Mobile) */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
  .slider-track .property-card {
    flex: 0 0 calc(50% - 15px); /* 2 items on tablet */
  }
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-container,
  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-title {
    margin-bottom: 35px;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    gap: 40px;
    transition: var(--transition);
  }
  .nav-links.active {
    left: 0;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    height: auto;
    min-height: 550px;
    padding: 120px 0 80px;
    background-position: left center;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  .slider-track .property-card {
    flex: 0 0 100%; /* 1 item on mobile */
  }
  .slider-controls-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
  }
  .slider-nav-btns {
    width: 100%;
    justify-content: center;
  }
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .calculator-container {
    padding: 24px;
    gap: 30px;
  }
  .calc-result {
    padding: 30px 20px;
    border-left: none;
    border-top: 4px solid var(--accent);
  }
  .result-value {
    font-size: 2.4rem;
  }
  .search-bar {
    padding: 16px;
  }
  .search-btn {
    width: 100%;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .about-cta {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .about-cta .btn {
    width: 100%;
  }
  .credentials-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .calc-share-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .calc-share-buttons .btn-share {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Card Image Slideshow (Multiple Images Support) */
.card-image-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.card-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  z-index: 1;
}
.card-slide-img.active {
  opacity: 1;
  z-index: 2;
}
.card-slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.65);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.3rem;
  font-weight: bold;
  transition: var(--transition);
  user-select: none;
}
.card-slide-nav:hover {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 0 8px var(--shadow-gold);
}
.card-slide-nav.prev-card-img {
  left: 10px;
}
.card-slide-nav.next-card-img {
  right: 10px;
}
.card-slide-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.card-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
  cursor: pointer;
}
.card-slide-dot.active {
  background: var(--accent);
  transform: scale(1.25);
  box-shadow: 0 0 5px var(--shadow-gold);
}
