@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --primary: #0f1f3d;
  --primary-light: #1a3560;
  --accent: #c8933a;
  --accent-light: #e8b45a;
  --accent-pale: rgba(200, 147, 58, 0.12);
  --red: #c0392b;
  --red-light: #e74c3c;
  --text-dark: #0f1f3d;
  --text-body: #374151;
  --text-muted: #6b7280;
  --bg: #f8f7f4;
  --bg-card: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 40px rgba(15, 31, 61, 0.10);
  --shadow-card: 0 4px 24px rgba(15, 31, 61, 0.08);
  --shadow-hover: 0 16px 48px rgba(15, 31, 61, 0.18);
  --border: rgba(15, 31, 61, 0.10);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --primary-gradient: linear-gradient(135deg, #0f1f3d 0%, #1a3560 100%);
  --accent-gradient: linear-gradient(135deg, #c8933a 0%, #e8b45a 100%);
  --secondary-gradient: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
}

/* ===================== BASE ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 99px;
}

/* ===================== SELECTION ===================== */
::selection {
  background: var(--accent-pale);
  color: var(--primary);
}

/* ===================== HEADER ===================== */
.main-header {
  position: sticky;
  top: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 200;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(15, 31, 61, 0.07);
  transition: var(--transition);
}

.nav-link {
  position: relative;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.01em;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ===================== MOBILE NAV ===================== */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 78%;
  max-width: 300px;
  height: 100vh;
  background: var(--primary);
  z-index: 500;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding-top: 72px;
  box-shadow: -8px 0 40px rgba(15, 31, 61, 0.3);
}

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

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--accent-light);
  background: rgba(255, 255, 255, 0.06);
  padding-left: 36px;
}

.mobile-close-btn {
  position: absolute;
  top: 20px;
  right: 22px;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition);
}

.mobile-close-btn:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 61, 0.55);
  z-index: 499;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  backdrop-filter: blur(4px);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ===================== HERO CAROUSEL ===================== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(15, 31, 61, 0.65) 0%,
      rgba(15, 31, 61, 0.25) 60%,
      rgba(15, 31, 61, 0.05) 100%);
}

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

.carousel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 48px 60px;
  background: linear-gradient(to top, rgba(15, 31, 61, 0.7) 0%, transparent 100%);
  color: white;
}

.carousel-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.carousel-content p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 480px;
}

.carousel-indicators {
  position: absolute;
  bottom: 24px;
  right: 60px;
  display: flex;
  gap: 8px;
  z-index: 11;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--accent);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.1rem;
  transition: var(--transition);
  z-index: 11;
}

.carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 24px;
}

.next-btn {
  right: 24px;
}

/* ===================== STATS STRIP ===================== */
.stats-strip {
  background: var(--primary);
  padding: 24px 0;
}

.stat-item {
  text-align: center;
  color: white;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 24px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* ===================== SECTIONS ===================== */
section {
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

/* ===================== ABOUT ===================== */
.about-section {
  padding: 100px 0;
  background: var(--bg);
  overflow: hidden;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.about-image-frame::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-badge {
  position: absolute;
  bottom: 28px;
  left: -20px;
  background: white;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
  min-width: 140px;
}

.about-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.about-badge .lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.feature-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
}

.feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.feature-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===================== PROPERTY CARDS ===================== */
.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.property-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(200, 147, 58, 0.25);
}

.property-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 230px;
}

.property-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
}

.card-count-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 99px;
}

.property-card .card-body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.property-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.card-explore-link:hover {
  gap: 10px;
}

.card-count-info {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-count-info span {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ===================== FEATURED PROJECT ===================== */
.property-slide {
  display: flex;
  flex-direction: row;
  min-height: 500px;
}

@media (max-width: 768px) {
  .property-slide {
    flex-direction: column;
  }
}

.property-image {
  flex: 1;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.property-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 31, 61, 0.4) 0%, transparent 60%);
}

.property-details {
  flex: 1;
  background: white;
  padding: 36px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.price-tag-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  background: white;
  border-radius: var(--radius-md);
  padding: 12px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.price-tag-overlay .price-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

.price-tag-overlay .price-suffix {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.property-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.amenity-tag {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-body);
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 99px;
  font-weight: 500;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary-gradient);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(15, 31, 61, 0.3);
  font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(15, 31, 61, 0.4);
}

/* ===================== TIMELINE ===================== */
.timeline-section {
  padding: 100px 0;
  background: white;
  overflow: hidden;
}

.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  padding: 0 48px;
}

.timeline-content.right {
  text-align: right;
}

.timeline-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
}

.timeline-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(200, 147, 58, 0.3);
  transform: translateY(-4px);
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.timeline-step {
  width: 52px;
  min-width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--accent-pale), 0 0 0 12px rgba(200, 147, 58, 0.06);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 26px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    align-items: flex-start;
  }

  .timeline-content {
    padding: 0 0 0 20px;
  }

  .timeline-content.right {
    text-align: left;
  }

  .timeline-step {
    min-width: 52px;
  }
}

/* ===================== REVIEWS ===================== */
.review-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.review-track {
  display: flex;
  gap: 20px;
  animation: marquee 50s linear infinite;
  width: max-content;
}

.review-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.review-card {
  min-width: 300px;
  max-width: 300px;
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.review-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-body);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 14px;
}

.review-author {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

/* ===================== FORM ===================== */
form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

form input,
form textarea,
form select {
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(200, 147, 58, 0.12);
}

form button {
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--primary-gradient);
  color: white;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(15, 31, 61, 0.25);
}

form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15, 31, 61, 0.35);
}

/* ===================== ADMIN BUTTONS ===================== */
.admin-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  gap: 10px;
}

.property-card button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
}

.property-card .edit-btn {
  background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

.property-card .edit-btn:hover {
  transform: translateY(-2px);
}

.property-card .delete-btn {
  background: var(--secondary-gradient);
}

.property-card .delete-btn:hover {
  transform: translateY(-2px);
}

/* ===================== FLOATING BUTTONS ===================== */
.floating-btns {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 300;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.call-btn {
  background: var(--accent-gradient);
}

.back-to-top {
  background: var(--primary-gradient);
  display: none;
}

/* Tooltip on float buttons */
.floating-btn-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.floating-btn-wrap .tooltip {
  position: absolute;
  right: 64px;
  background: var(--primary);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.floating-btn-wrap:hover .tooltip {
  opacity: 1;
}

/* ===================== PAGE HERO ===================== */
.page-hero {
  padding: 80px 24px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 31, 61, 0.75) 0%, rgba(15, 31, 61, 0.45) 100%);
  z-index: 0;
}

.page-hero>* {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto;
}

/* ===================== PROPERTY LISTING PAGE ===================== */
#property-container .property-card {
  cursor: pointer;
}

#property-container .property-card .price-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

#property-container .property-card .location-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}

.view-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 10px 20px;
  background: var(--primary-gradient);
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
  width: 100%;
  justify-content: center;
}

.view-details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 31, 61, 0.3);
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 32px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

footer h3 {
  color: white;
  font-family: 'Playfair Display', serif;
  margin-bottom: 16px;
}

footer a {
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
  font-size: 0.92rem;
}

footer a:hover {
  color: var(--accent-light);
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-social a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
}

/* ===================== AD MODAL ===================== */
#adModal {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 61, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

#adModal.show {
  display: flex;
}

.ad-modal-inner {
  position: relative;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(15, 31, 61, 0.35);
  animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.88);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.ad-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: rgba(15, 31, 61, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 10;
  transition: var(--transition);
}

.ad-close-btn:hover {
  background: var(--red);
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

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

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

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(32px);
  }

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

@keyframes float {

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

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

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 147, 58, 0.4);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(200, 147, 58, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(200, 147, 58, 0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-fade-in-right {
  animation: fadeInRight 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

/* Scroll-triggered */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== GLASS PANEL ===================== */
.glass-panel-premium {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .about-badge {
    left: -8px;
  }
}

@media (max-width: 768px) {
  .hero-carousel {
    height: 56vh;
    min-height: 360px;
  }

  .carousel-content {
    padding: 28px 24px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .timeline::before {
    display: none;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
  }
}

@media (max-width: 480px) {
  .card-list {
    grid-template-columns: 1fr;
  }

  .floating-btns {
    right: 14px;
    bottom: 14px;
  }
}

/* ===================== RESPONSIVE GRIDS ===================== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .about-image-frame::before {
    display: none;
  }

  .about-badge {
    left: 16px;
  }

  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .footer-mini-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .stats-strip .container>div {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
}

@media (max-width: 640px) {
  .stats-strip .container>div {
    grid-template-columns: 1fr 1fr !important;
  }

  .timeline-content.right {
    display: none;
  }

  .timeline::before {
    left: 25px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row !important;
    align-items: flex-start;
  }

  .timeline-content {
    padding: 0 0 0 18px !important;
  }

  .property-details {
    padding: 24px 20px !important;
  }

  .carousel-content {
    padding: 24px 20px 48px !important;
  }

  .carousel-content h2 {
    font-size: 1.6rem !important;
  }
}