/* ==================================================
   ROOT VARIABLES & RESET
================================================== */
:root {
  --primary: #2e7d32;
  --primary-dark: #1b3e5e;
  --accent: #ffa000;

  --text-dark: #222;
  --text-muted: #666;
  --white: #ffffff;
  --bg-light: #f7f7f7;

  --radius-sm: 6px;
  --radius-lg: 7px 7px;

  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.15);

  --transition: all 0.3s ease;
}

@font-face {
  font-family: 'Ethnocentric';
  src: url('../fonts/Ethnocentric-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==================================================
   GLOBAL LAYOUT
================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 40px;
}

/* ==================================================
   BUTTONS
================================================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ==================================================
   HEADER
================================================== */

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}


nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  opacity: 2;

}

.nav-links a {
  font-weight: 500;
  color: #222;
  text-decoration: none;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #222;
}

.footer-logo {
  font-family: 'Ethnocentric', sans-serif;
  letter-spacing: 1.5px;
  font-size: 20px;
  color: #ffffff;
  text-transform: uppercase;
}

.header-logo {
  font-family: 'Ethnocentric', sans-serif;
  letter-spacing: 1px;
  line-height: 1;
  font-size: 28px;
  color: #00A300;
  text-transform: uppercase;
}

/* MOBILE MENU */
@media (max-width: 768px) {

  .mobile-menu-btn {
    display: block;
  }

  .header-logo {
    font-family: 'Ethnocentric', sans-serif;
    letter-spacing: 1px;
    line-height: 1;
    font-size: 18px;
    color: #00A300;
    text-transform: uppercase;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    display: none;
  }

  nav {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 12px 0;
  }
}

/* ===== NAV UNDERLINE ANIMATION ===== */

.nav-links {
  position: relative;
}

.nav-links a {
  position: relative;
  padding-bottom: 8px;
}

/* underline */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* active + hover */
.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}
/* ============================
   HERO SECTION STATIC SLIDER
============================ */

.hero {
  position: relative;
  width: 100%;
  height: 95vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Slider Base */
.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Dark Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.4));
  z-index: 3;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-content p {
  margin-top: 15px;
  font-size: 20px;
  line-height: 1.5;
  max-width: 600px;
}

/* Buttons */
.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 15px;
}

.btn-primary {
  padding: 14px 32px;
  background: #00703c;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline {
  padding: 14px 32px;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* Responsive */
@media(max-width: 768px) {
  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 16px; }
  .hero { height: 70vh; }
}

/* ==================================================
   WHY CHOOSE US – HOME
================================================== */
.why-choose {
  background: var(--bg-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 50px;
}

.why-card {
  background: var(--white);
  padding: 35px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.12);
  color: var(--primary-color);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.why-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.section-title {
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}




/* ==================================================
   BLOGS (HOME + BLOG PAGE)
================================================== */
.latest-blogs {
  background: var(--bg-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  cursor: pointer;
}

.blog-image {
  height: 220px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-body {
  padding: 22px;
}

.blog-link {
  color: #00a300;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================================================
   CTA FORM
================================================== */
.cta-section {
  background:
    linear-gradient(rgba(46, 125, 50, 0.95), rgba(46, 125, 50, 0.95)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa");
  background-size: cover;
  color: var(--white);
}

.cta-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.05rem;
  margin-bottom: 25px;
  opacity: 0.95;
}

.cta-points li {
  margin-bottom: 10px;
  font-weight: 500;
}

/* FORM */
.cta-form {
  background: var(--white);
  color: var(--text-dark);
  padding: 40px;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.btn-full {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .cta-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .cta-content {
    text-align: center;
  }

  .cta-points {
    display: inline-block;
    text-align: left;
  }
}

/* 

/* ==================================================
   ABOUT SECTION (REFERENCE IMAGE MATCH)
================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-container {
  position: relative;
}

.main-about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* EXPERIENCE BADGE */
.experience-badge {
  position: absolute;
  bottom: -35px;
  right: -25px;
  background: var(--accent);
  color: var(--white);
  padding: 28px 26px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(255, 160, 0, 0.45);
}

.experience-badge .years {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .exp-text {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* ABOUT CONTENT */
.sub-heading {
  display: block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 30px;
  margin-bottom: 14px;
}

.about-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1.2;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 35px;
  font-size: 1.05rem;
}

/* FEATURES LIST */
.about-features li {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-weight: 500;
}

.about-features .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-right: 14px;
}

/* ==================================================
   VISION & MISSION – ATTRACTIVE & RESPONSIVE
================================================== */
.vision-mission {
  background: linear-gradient(to right,
      rgba(46, 125, 50, 0.06),
      rgba(46, 125, 50, 0.02));
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.vm-card {
  background: #ffffff;
  padding: 45px 40px;
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-8px);
}

.vm-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.vm-icon svg {
  width: 28px;
  height: 28px;
}


.vm-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.vm-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

.vm-card ul {
  padding-left: 18px;
}

.vm-card ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .vm-grid {
    grid-template-columns: 1fr;
  }

  .vm-card {
    padding: 35px 30px;
  }
}

@media (max-width: 576px) {
  .vm-card h3 {
    font-size: 1.4rem;
  }

  .vm-icon {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }
}

/* ==================================================
   OUR ACHIEVEMENTS – FLOATING MILESTONE CONCEPT
================================================== */
.achievements {
  background: linear-gradient(to bottom,
      rgba(46, 125, 50, 0.04),
      rgba(46, 125, 50, 0.01));
  position: relative;
}

/* PATH */
.achievement-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
  position: relative;
}

/* CONNECTING LINE */
.achievement-path::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right,
      transparent,
      #2e7d32,
      transparent);
  z-index: 0;
}

.achievement-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
  transition: transform 0.35s ease;
}

.achievement-card:hover {
  transform: translateY(-12px);
}

/* NUMBER */
.achieve-number {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 10px;
}

.achievement-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.achievement-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* HIGHLIGHT CARD */
.achievement-card.highlight {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: #ffffff;
}

.achievement-card.highlight .achieve-number {
  color: #ffffff;
}

.achievement-card.highlight p {
  color: #e8f5e9;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .achievement-path {
    grid-template-columns: repeat(2, 1fr);
  }

  .achievement-path::before {
    display: none;
  }
}

@media (max-width: 576px) {
  .achievement-path {
    grid-template-columns: 1fr;
  }
}


/* ==================================================
   TRUST & APPROVALS – PREMIUM CREDIBILITY SECTION
================================================== */
.trust-approvals {
  background: linear-gradient(to right,
      rgba(46, 125, 50, 0.03),
      rgba(46, 125, 50, 0.01));
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

/* LEFT – TRUST */
.trust-item {
  background: #ffffff;
  padding: 26px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  margin-bottom: 20px;
}

.trust-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #2e7d32;
}

.trust-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* RIGHT – APPROVALS */
.trust-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.approval-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 35px 20px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.approval-card:hover {
  transform: translateY(-10px);
}

.approval-card span {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 10px;
}

.approval-card p {
  font-size: 0.9rem;
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .trust-right {
    grid-template-columns: 1fr;
  }
}



/* STATS */
.stats-row {
  display: flex;
  gap: 60px;
  margin-bottom: 30px;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

 */

/* ==================================================
   CTA SECTION
================================================== */
.cta-section {
  background:
    linear-gradient(rgba(46, 125, 50, 0.92), rgba(46, 125, 50, 0.92)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa");
  background-size: cover;
  color: var(--white);
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-form {
  background: var(--white);
  color: var(--text-dark);
  padding: 36px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 14px;
}


.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.form-control {
  width: 100%;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #ddd;
}

/* ==================================================
   FOOTER
================================================== */
footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 70px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 18px;
}

.footer-col p,
.footer-col a {
  font-size: 0.95rem;
  color: #ccc;
}

.footer-col a:hover {
  color: var(--white);
}

.copyright {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .stats-row {
    justify-content: center;
    gap: 40px;
  }

  .about-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    gap: 0px;
  }

  .nav-links.active {
    display: flex;
  }

  
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .cta-container {
    grid-template-columns: 1fr;
  }
}


/* ==================================================
   MOBILE RESPONSIVE FIX (FINAL)
================================================== */
@media (max-width: 768px) {

  /* ---------- GLOBAL ---------- */
  .section-padding {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  /* ---------- HERO ---------- */
  .hero {
    min-height: 60vh;
    padding: 40px 0;

  }

  .hero-content h1 {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1rem;
  }

  /* ---------- ABOUT LAYOUT ---------- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-image-container {
    order: 1;
  }

  .main-about-img {
    height: 320px;
  }

  /* ---------- EXPERIENCE BADGE ---------- */
  .experience-badge {
    bottom: -20px;
    right: 15px;
    padding: 18px 16px;
    border-radius: 14px;
  }

  .experience-badge .years {
    font-size: 2rem;
  }

  /* ---------- ABOUT CONTENT ---------- */
  .about-content {
    text-align: center;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 0.95rem;
  }

  /* ---------- STATS ---------- */
  .stats-row {
    flex-direction: column;
    gap: 22px;
    margin: 30px 0;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  /* ---------- FEATURES ---------- */
  .about-features {
    margin-top: 20px;
  }

  .about-features li {
    justify-content: center;
    font-size: 0.9rem;
  }

  /* ---------- CTA ---------- */
  .cta-container {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .cta-form {
    padding: 26px;
  }

  /* ---------- FOOTER ---------- */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 30px;
  }


}

/*===footer css===*/
/* PRELOADER */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg-light);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s ease; /* fade-out */
}

.loader-hidden {
    opacity: 0; /* no shifting, no scrolling issue */
}

.loader-content {
    text-align: center;
}

.loader-text {
    font-family: 'Tenor Sans', sans-serif;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    letter-spacing: 12px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 0.8s ease-out forwards;
}

.loader-bar-container {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar {
    position: absolute;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: width 0.4s ease;
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.loading-active {
    overflow: hidden;
}

/*Home page property css*/
.featured-properties-section {
  padding: 80px 0;
  background: var(--bg-light);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.featured-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: 'Ethnocentric', sans-serif;
  font-size: 1.8rem;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.accent-line {
  width: 50px;
  height: 4px;
  background: var(--accent);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}

/* Grid Layout */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Property Card */
.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .card-media img {
  transform: scale(1.1);
}

.type-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.5px;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 62, 94, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.property-card:hover .card-overlay {
  opacity: 1;
}

.overlay-btn {
  color: #fff;
  border: 1px solid #fff;
  padding: 10px 20px;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.overlay-btn:hover {
  background: #fff;
  color: var(--primary-dark);
}

.card-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.location-row {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.loc-icon {
  width: 14px;
  height: 14px;
  margin-right: 5px;
  color: var(--accent);
}

.property-title {
  color: var(--primary-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.spec-val {
  font-size: 0.9rem;
  color: var(--primary-dark);
  font-weight: 600;
}

/* View All Link */
.view-all-wrapper {
  text-align: center;
  margin-top: 60px;
}

.view-all-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--primary-dark);
  color: var(--white);
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.3s ease;
  border: 2px solid var(--primary-dark);
}

.view-all-btn:hover {
  background: transparent;
  color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 1024px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 650px) {
  .property-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.5rem; }
}

