:root {
  --primary: #1e3a8a;
  --primary-dark: #172554;
  --accent: #f97316;
  --accent-soft: #fb923c;

  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;

  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;

  --success: #15803d;
  --danger: #b42318;

  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;

  --container: 1200px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  padding-top: 82px;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(90%, var(--container));
  margin: auto;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.2px;
}

p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ================= NAVBAR ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo span {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
}

.nav-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 86px;
  right: 5%;
  width: 230px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  gap: 16px;
}

.nav-menu a {
  position: relative;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.3s ease;
}

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

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

.nav-menu.active {
  display: flex;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 22px;
  color: var(--text);
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: var(--primary-dark);
  color: #fff;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 900;
}

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

/* ================= BUTTONS ================= */
.btn,
.search-btn,
.apply-btn,
.agent-btn,
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
}

.btn:hover,
.search-btn:hover,
.apply-btn:hover,
.agent-btn:hover,
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.3);
}

.cta-btn-outline,
.agent-btn.secondary,
.reset-btn {
  background: #eef2f7;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.cta-btn-outline:hover,
.agent-btn.secondary:hover,
.reset-btn:hover {
  background: #e2e8f0;
  color: var(--text);
}

/* ================= HERO ================= */
.hero {
  height: calc(100vh - 82px); /* subtract header height */
  min-height: calc(100vh - 82px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;

  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.55) 40%, rgba(30, 58, 138, 0.25) 100%),
    url("../images/hero.jpg") center/cover no-repeat;

  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.14), transparent 22%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.12));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 9px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero h2 {
  font-size: clamp(36px, 5.8vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
  max-width: 620px;
}

.hero-text {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: 0.3s ease;
}

.hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 540px;
}

.search-box input {
  width: 100%;
  height: 58px;
  padding: 0 64px 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-size: 14px;
  outline: none;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  transition: 0.3s ease;
}

.search-box input::placeholder {
  color: #94a3b8;
}

.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

#homeSearchBtn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.25);
  transition: 0.3s ease;
}

#homeSearchBtn:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.32);
}

@media (max-width: 768px) {
  .hero {
    height: calc(100dvh - 78px); /* dynamic viewport height */
    min-height: calc(100dvh - 78px);

    justify-content: center;

    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 58, 138, 0.45) 100%),
      url("../images/hero.jpg") center/cover no-repeat;
  }
}

  .hero-content {
    max-width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .hero h2 {
    max-width: 100%;
  }

  .hero-text {
    max-width: 100%;
  }


@media (max-width: 768px) {
  .hero {
    min-height: 78vh;
    justify-content: center;
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.76) 0%, rgba(30, 58, 138, 0.44) 100%),
      url("../images/hero.jpg") center/cover no-repeat;
  }

  .hero-content {
    text-align: center;
    align-items: center;
  }

  .hero-tag {
    margin-inline: auto;
  }

  .hero h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero-text {
    font-size: 14px;
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .search-box {
    max-width: 100%;
    margin-inline: auto;
  }

  .search-box input {
    height: 54px;
    padding-right: 58px;
  }

  #homeSearchBtn {
    width: 40px;
    height: 40px;
  }
}

/* HOME SEARCH */
.search-box {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-top: 12px;
}

.search-box input {
  width: 100%;
  height: 56px;
  padding: 0 62px 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.96);
  font-size: 14px;
  color: var(--text);
  outline: none;
  box-shadow: var(--shadow-md);
  transition: 0.3s ease;
}

.search-box input::placeholder {
  color: #94a3b8;
}

.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.search-box button,
.search-box .search-icon,
#homeSearchBtn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
  transition: 0.3s ease;
}

.search-box button:hover,
.search-box .search-icon:hover,
#homeSearchBtn:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.32);
}

.search-box button i,
#homeSearchBtn i,
.search-box .search-icon i {
  pointer-events: none;
}

@media (max-width: 768px) {
  .search-box {
    max-width: 100%;
  }

  .search-box input {
    height: 52px;
    padding-right: 58px;
  }

  .search-box button,
  .search-box .search-icon,
  #homeSearchBtn {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }
}

/* ================= SECTIONS ================= */
.featured,
.why-us,
.stats,
.about-story,
.about-values,
.contact-section,
.properties-listing,
.cta,
.cta-upgraded {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 28px;
}

.section-header h3 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
}

.page-label {
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-subtext {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.8;
}

/* ================= WHY US ================= */
.why-us {
  background: var(--surface);
}

.why-grid {
  display: grid;
  gap: 20px;
}

.why-card {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.why-card h4 {
  margin-bottom: 8px;
  font-size: 18px;
}

.why-card p {
  font-size: 14px;
  color: var(--muted);
}

.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 18px;
}

/* ================= FEATURED / PROPERTY CARDS ================= */
.properties-grid,
.properties-grid-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.property-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.property-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.property-card:hover,
.property-card-link:hover .property-card {
  transform: translateY(-10px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.property-image {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.property-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;

  display: inline-block;   /* IMPORTANT */
  width: auto;             /* IMPORTANT */
  max-width: max-content;  /* keeps it tight */

  padding: 6px 12px;
  border-radius: 20px;

  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.4px;
  white-space: nowrap;

  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  backdrop-filter: blur(6px);
}

.property-badge.sale {
  background: #2563eb; /* blue */
}

.property-badge.rent {
  background: #16a34a; /* green */
}

.property-badge.shortlet {
  background: #f59e0b; /* orange */
}

.property-badge {
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.property-image img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.3s ease;
  filter: brightness(0.96);
}

.property-card:hover .property-image img {
  transform: scale(1.06);
  filter: brightness(1);
}

.property-info {
  padding: 20px;
}

.property-info h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.property-location {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-details {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
}

.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.property-badge.sale {
  background: rgba(30, 58, 138, 0.88);
}

.property-badge.rent {
  background: rgba(212, 34, 34, 0.92);
}

/* ================= CTA ================= */
.cta,
.cta-upgraded {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
}

.cta h3,
.cta-upgraded h3 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 12px;
}

.cta p,
.cta-upgraded p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0 auto 24px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* ================= FOOTER ================= */
.footer {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 0 20px;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  gap: 30px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 12px;
  color: #fff;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: var(--accent-soft);
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  align-items: center;
  justify-content: flex-start;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.socials a:hover {
  background: var(--accent);
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 15px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

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

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

/* ================= PROPERTY PAGE ================= */
.property-page {
  padding-top: 20px;
}

.property-hero {
  padding: 20px 0 14px;
}

.property-slider {
  position: relative;
}

.property-main-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.property-main-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.slider-btn.prev {
  left: 12px;
}

.slider-btn.next {
  right: 12px;
}

.slider-btn:hover {
  background: #fff;
}

.image-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 20px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.slider-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow: hidden;
}

.thumbnail {
  width: calc((100% - 20px) / 3);
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.thumbnail:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.thumbnail.active-thumb {
  opacity: 1;
  border-color: var(--accent);
}

.property-summary {
  padding: 28px 0;
}

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

.property-main-info h1,
#propertyTitle {
  font-size: 34px;
  margin-bottom: 10px;
}

.property-address {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.property-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.meta-item {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  color: var(--text);
}

.meta-item i {
  color: var(--accent);
}

.property-content {
  padding: 10px 0 60px;
}

.property-layout {
  display: grid;
  gap: 30px;
}

.property-section {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.property-section h2 {
  font-size: 24px;
  margin-bottom: 14px;
}

.property-section p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.property-sidebar {
  align-self: start;
}

.agent-card {
  background: rgba(255, 255, 255, 0.68);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
}

.agent-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.agent-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.agent-info img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 12px;
  background: #f4f4f4;
  padding: 6px;
}

.agent-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.agent-info p {
  font-size: 13px;
  color: var(--muted);
}

.agent-btn {
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}

/* PROPERTY DETAILS MODERN */
.property-details-modern h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.details-category {
  display: inline-block;
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.feature-block {
  margin-bottom: 24px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-block ul {
  margin: 0;
  padding-left: 20px;
}

.feature-block li {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 6px;
}

.details-group {
  margin-bottom: 28px;
}

.details-group:last-child {
  margin-bottom: 0;
}

.details-group h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.details-list {
  display: flex;
  flex-direction: column;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.detail-row:first-child {
  border-top: 1px solid #eee;
}

.detail-label {
  font-size: 14px;
  color: var(--muted);
}

.detail-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  text-align: right;
  max-width: 55%;
}

/* ================= PROPERTIES PAGE ================= */
.properties-page {
  padding-top: 20px;
}

.properties-hero {
  padding: 26px 0 28px;
}

.properties-hero h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.filter-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;

  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border-radius: 24px 24px 0 0;
  padding: 22px;
  z-index: 1100;

  transition: bottom 0.3s ease;
  max-height: 85vh;
  display: flex;
  flex-direction: column;

  box-shadow: 0 -25px 50px rgba(15, 23, 42, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.filter-header h3 {
  font-size: 20px;
  font-weight: 700;
}

.filter-options button {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: var(--text);
  transition: 0.3s ease;
}

.filter-options button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-options button.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

@media (max-width: 600px) {
  .property-image img {
    height: 200px;
  }

  .property-info {
    padding: 18px;
  }

  .property-info h4 {
    font-size: 20px;
  }

  .properties-search-wrap {
    gap: 10px;
  }

  .properties-search {
    height: 52px;
  }

  .filter-btn {
    width: 52px;
    height: 52px;
  }
}

.properties-controls {
  padding: 12px 0 28px;
}

.properties-search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.properties-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 18px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.properties-search i {
  color: var(--muted);
  font-size: 14px;
}

.properties-search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.properties-search input::placeholder {
  color: #94a3b8;
}

.filter-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--text);

  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: 0.3s ease;
}

.filter-btn:hover {
  background: rgba(30, 58, 138, 0.92);
  color: #fff;
}

.results-bar {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.results-bar p {
  font-size: 14px;
  color: var(--muted);
}
.property-card-link.hidden {
  display: none;
}

/* FILTER POPUP */
.filter-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;

  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border-radius: 24px 24px 0 0;
  padding: 22px;
  z-index: 1100;

  transition: bottom 0.3s ease;
  max-height: 85vh;
  display: flex;
  flex-direction: column;

  box-shadow: 0 -25px 50px rgba(15, 23, 42, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.filter-options button {
  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 13px;

  transition: 0.25s ease;
}

.filter-options button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-options button.active {
  background: rgba(30, 58, 138, 0.95);
  color: #fff;
  border-color: rgba(30, 58, 138, 0.95);
}

.filter-popup.active {
  bottom: 0;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.filter-header h3 {
  font-size: 18px;
}

.close-filter {
  border: none;
  background: transparent;
  font-size: 20px;
}

.filter-content {
  overflow-y: auto;
  padding-bottom: 20px;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group h4 {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--muted);
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-options button {
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: var(--text);
  transition: 0.3s ease;
}

.filter-options button.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.price-inputs {
  display: flex;
  gap: 10px;
}

.price-inputs input,
.filter-group select {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: #fff;
  outline: none;
}

.filter-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.reset-btn {
  flex: 1;
  height: 50px;
  border-radius: 12px;
  border: none;
}

.apply-btn {
  flex: 2;
  height: 50px;
  border-radius: 12px;
}

/* ================= ABOUT / CONTACT ================= */
.about-page,
.contact-page {
  padding-top: 20px;
}

.about-hero,
.contact-hero {
  padding: 60px 0 30px;
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.about-text,
.about-card,
.contact-form-card,
.contact-info-card {
  background: rgba(255, 255, 255, 0.62);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.about-text h2,
.contact-form-card h2,
.contact-info-card h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.about-text p,
.about-card p,
.contact-form-card p,
.contact-info-card p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-card h3 {
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 18px;
}

.contact-form {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

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

.contact-info-list {
  margin-top: 20px;
  display: grid;
  gap: 18px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-item i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(30, 58, 138, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-item h4 {
  margin-bottom: 4px;
  font-size: 16px;
}

.contact-socials {
  margin-top: 24px;
}

.contact-socials h4 {
  margin-bottom: 10px;
}

/* ================= STATS ================= */
.stats {
  background: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}

.stat-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.stat-card h4 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ================= WHATSAPP ================= */
.whatsapp-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  z-index: 1100;
  transition: 0.3s ease;
}

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

/* ================= ADMIN PAGE ================= */
.admin-page {
  padding-top: 20px;
}

.admin-section {
  padding: 40px 0 70px;
}

.admin-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.admin-form label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  background: #fafafa;
  outline: none;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: var(--accent);
  background: #fff;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-check input {
  width: auto;
}

.admin-form-message {
  font-size: 14px;
  margin-top: 6px;
}

.admin-form-message.success {
  color: var(--success);
}

.admin-form-message.error {
  color: var(--danger);
}

/* ADMIN PROPERTY LIST */
.admin-list-wrap {
  margin-top: 28px;
}

.admin-list-header {
  margin-bottom: 16px;
}

.admin-list-header h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.admin-list-header p {
  color: var(--muted);
}

.admin-properties-list {
  display: grid;
  gap: 16px;
}

.admin-property-item {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: start;
}

.admin-property-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}

.admin-property-info h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.admin-property-info p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.admin-property-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.admin-btn {
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  transition: 0.3s ease;
}

.admin-btn.edit {
  background: #e0ecff;
  color: var(--primary);
}

.admin-btn.edit:hover {
  background: #cdddfc;
}

.admin-btn.delete {
  background: var(--primary-dark);
  color: #fff;
}

.admin-btn.delete:hover {
  opacity: 0.9;
}

/* IMAGE PREVIEW */
.image-preview-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.image-preview-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid #eaeaea;
}

.image-preview-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.image-preview-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  background: var(--primary-dark);
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
}

.image-preview-empty {
  font-size: 14px;
  color: var(--muted);
}

/* ================= RESPONSIVE ================= */
@media (min-width: 768px) {
  .nav {
    min-height: 82px;
  }

  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    width: auto;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    gap: 32px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-menu a {
    font-size: 15px;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .properties-grid,
  .properties-grid-page {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .property-image img {
    height: 240px;
  }

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

  .about-grid,
  .contact-grid {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-actions {
    flex-direction: row;
    justify-content: center;
  }

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

  .admin-card {
    padding: 32px;
  }

  .property-main-image img {
    height: 420px;
  }

  .thumbnail {
    height: 110px;
  }

  .slider-btn {
    width: 46px;
    height: 46px;
  }

  .property-main-info h1,
  #propertyTitle {
    font-size: 40px;
  }

  .property-meta {
    grid-template-columns: repeat(4, 1fr);
  }

  .properties-hero h1 {
    font-size: 42px;
  }

  .properties-search-wrap {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .properties-grid,
  .properties-grid-page {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .hero-content {
    text-align: left;
  }

  .property-layout {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }

  .property-main-image img {
    height: 500px;
  }

  .thumbnail {
    height: 120px;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 78px;
  }

  .hero {
    min-height: 78vh;
    align-items: center;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

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

  .hero p {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .search-box {
    max-width: 100%;
  }

  .search-box input {
    height: 50px;
  }

  .property-main-image img {
    height: 300px;
  }

  .details-category {
    font-size: 15px;
  }

  .feature-block h3 {
    font-size: 17px;
  }

  .feature-block li {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .admin-property-item {
    grid-template-columns: 1fr;
  }

  .admin-property-thumb img {
    height: 180px;
  }
}

/* ================= LOADING SKELETON ================= */
.skeleton-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-sm);
}

.skeleton-image,
.skeleton-line {
  position: relative;
  overflow: hidden;
  background: #e5e7eb;
}

.skeleton-image::after,
.skeleton-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.65) 50%,
    rgba(255,255,255,0) 100%
  );
  animation: skeleton-loading 1.2s infinite;
}

.skeleton-image {
  width: 100%;
  height: 230px;
}

.skeleton-content {
  padding: 18px;
}

.skeleton-line {
  height: 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.skeleton-line.price {
  width: 45%;
  height: 18px;
}

.skeleton-line.location {
  width: 70%;
}

.skeleton-line.details {
  width: 85%;
  margin-bottom: 0;
}

@keyframes skeleton-loading {
  100% {
    transform: translateX(100%);
  }
}

#contactFormMessage {
  margin-top: 10px;
}

.admin-inquiry-item {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.admin-inquiry-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.admin-inquiry-top h4 {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 4px;
}

.admin-inquiry-meta {
  font-size: 13px;
  color: var(--muted);
}

.admin-inquiry-message {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  margin-top: 10px;
  white-space: pre-wrap;
}

.admin-inquiry-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.admin-inquiry-actions .admin-btn {
  padding: 10px 14px;
}

.admin-search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.admin-search-box input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
}

.admin-search-box button {
  padding: 12px 18px;
  border: none;
  background: #111;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}

.property-card {
  padding: 15px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  margin-bottom: 15px;
  background: #fff;
}

/* ================= MODAL ================= */
.edit-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 3000;
}

.edit-modal.active {
  display: block;
}

.edit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.edit-modal-content {
  position: relative;
  width: min(92%, 860px);
  max-height: 90vh;
  overflow-y: auto;
  margin: 4vh auto;
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.edit-modal-header {
  margin-bottom: 20px;
}

.edit-modal-header h3 {
  margin-bottom: 6px;
}

.edit-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #f3f3f3;
  cursor: pointer;
  font-size: 16px;
}

.edit-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}

.edit-modal .secondary-btn {
  background: #e9ecef;
  color: #111;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .edit-modal-content {
    width: 94%;
    padding: 20px;
    border-radius: 18px;
  }

  .edit-modal-actions {
    flex-direction: column;
  }

  .edit-modal-actions .agent-btn {
    width: 100%;
  }
}

.nav-logout-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  color: #ff4d4d;
  cursor: pointer;
  padding: 10px 0;
  text-align: left;
}

.nav-logout-btn:hover {
  opacity: 0.7;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
}

.socials a:hover {
  transform: translateY(-4px);
}

.property-features {
  margin-top: 10px;
  padding-left: 18px;
}

.property-features li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.property-image-box,
#propertyImage {
  touch-action: pan-y;
}

#propertyImage {
  transition: opacity 0.35s ease;
}

#propertyImage.fade-out {
  opacity: 0.25;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 4000;
}

.image-lightbox.active {
  display: block;
}

.image-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.image-lightbox-content {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 1000px;
  height: 90vh;
  margin: 5vh auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.image-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  z-index: 3;
  backdrop-filter: blur(6px);
}

#propertyImage {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox-content {
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ================= SERVICES ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.service-card {
  cursor: pointer;
}

.services-preview {
  padding: 80px 0;
  background: #f8fafc;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-label {
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-heading h2 {
  font-size: 36px;
  margin-bottom: 12px;
  color: #111827;
}

.section-subtext {
  font-size: 16px;
  line-height: 1.7;
  color: #6b7280;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 24px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #111827;
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 18px;
}

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

@media (max-width: 640px) {
  .services-preview {
    padding: 60px 0;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}