/* --- Consistent Style for agency.html (like index.html) --- */

h1, h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

html {
  scroll-behavior: smooth;
}


/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif, 'Playfair Display', serif;
  word-break: keep-all;
  hyphens: none;
}

body {
  background: #e9e9e8; /* Primary Light Background */
  color: #5c6271;      /* Body Text */
}

/* ==========================================================
   HEADER STYLES — Lateef Properties
   Clean layout: Heading Left, Hamburger Right on one row
   ========================================================== */

:root {
  --header-height: 72px;
  --accent: #545fa5;
  --accent-2: #5d74b1;
  --soft-highlight: #b7cfc6;
  --dark-grad-start: #2f3558;
  --dark-grad-end: #545fa5;
}

/* ===== BASE ===== */
body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== HEADER CONTAINER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: linear-gradient(135deg, var(--dark-grad-start), var(--dark-grad-end));
  color: #fff;
  z-index: 9999;
  box-shadow: 0 4px 18px rgba(20, 24, 40, 0.12);
}

/* ===== LOGO / TITLE ===== */
.logo-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-heading h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  letter-spacing: 2px;
}

/* ===== NAVIGATION ===== */
nav {
  display: block;
}

nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 6px;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
}

nav a:hover {
  color: var(--accent-2);
}

/* ===== HAMBURGER ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  margin: 3px 0;
  transition: transform 0.25s ease, opacity 0.18s ease;
}

/* “X” animation when active */
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 900px) {
  :root { --header-height: 60px; }

  header {
    padding: 0 5%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row; /* make sure they stay side-by-side */
  }

  .logo-heading {
    flex: 1;
    display: flex;
    align-items: center;
    
  }

  .logo-heading h1 {
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    font-size: 2rem;
  }

  .nav-toggle {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;

    
  }

  nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: 280px;
    max-width: 60%;
    height: calc(100vh - var(--header-height));
    background: linear-gradient(180deg, rgba(47, 53, 88, 0.98), rgba(84, 95, 165, 0.98));
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -10px 0 30px rgba(20, 24, 40, 0.25);
    padding: 20px 18px;
    overflow-y: auto;
  }

  nav.open {
    transform: translateX(0);
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }

  nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
  }

  nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}

/* ===== BODY LOCK WHEN NAV OPEN ===== */
body.nav-open {
  overflow: hidden;
}


/* Hero Section */
/* ============================= */
/* 🏡 Hero Styling */
/* ============================= */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 6%;
  background: linear-gradient(
    135deg,
    #2f3558 0%,
    #3e4a89 50%,
    #545fa5 100%
  );
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle pattern overlay (performance-safe) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255,255,255,0.08),
    transparent 40%
  );
  pointer-events: none;
}

/* ============================= */
/* 🧱 Hero Content */
/* ============================= */
.hero-content {
  max-width: 900px;
  z-index: 2;
}

/* Logo */
.hero-logo {
  max-width: 190px;
  width: 100%;
  height: auto;
  margin: 0 auto 5px auto;
}

.hero-logo:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Main Heading */
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

/* Subtext */
.hero-subtext {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 12px;
}

/* Authority line */
.hero-authority {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 35px;
}

/* ============================= */
/* 🔘 Buttons */
/* ============================= */
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #e3b04b;
  color: #ffffff;
  padding: 14px 34px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #cf9a3e;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(227, 176, 75, 0.35);
}

.btn-secondary {
  border: 1.8px solid rgba(255,255,255,0.6);
  color: #ffffff;
  padding: 14px 34px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ============================= */
/* 📱 Responsive */
/* ============================= */
@media (max-width: 768px) {
  .hero {
    padding: 70px 6%;
    min-height: 85vh;
  }

  .hero-logo {
    max-width: 130px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }
}


.about {
  background: linear-gradient(135deg, #2f3558, #545fa5);
 
  padding: 48px 10%;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(191,195,205,0.08);
  
  margin: 40px auto;
  
  max-width: 85%;
  
  text-align: center;
}

.about h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: 1px;
  text-align: center;
}

.about p {
  font-size: 1.1rem;
  color: #e6e6ec;
  margin-bottom: 18px;
  line-height: 1.7;
  text-align: justify;
  
}

@media (max-width: 900px) {
  .about {
    padding: 28px 4%;
    max-width: 90%;
    margin: 24px auto;
    border-radius: 10px;
  }
  .about h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  .about p {
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: -0.2px;   /* Reduce spacing */
  word-spacing: -0.5px;     /* Optional: improves justification */
  }
}


/* Featued Listing */
.section {
  padding: 60px 10%;
  background: #e9e9e8;
}
.section.alt {
  background: #d9d9d9;
}
.section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 600;
  color: #545fa5;
}
.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #b7cfc6;
  margin: 12px auto 0 auto;
  border-radius: 2px;
}
/* Properties Grid */
/* ...existing code... */

/* Cards (properties) */
.properties {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
  padding: 0;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e6e6ec;
  box-shadow: 0 6px 20px rgba(44,49,63,0.06);
  transition: transform .28s ease, box-shadow .28s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(44,49,63,0.12);
}

.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  background: #b7cfc6;
}

/* Card body */
.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.card-body h3 {
  margin: 0;
  font-size: 1.125rem;
  color: #2b313f;
  font-weight: 700;
  letter-spacing: 0.2px;
}
/* =========================
   COMING SOON TAG (Ribbon)
   Works with your existing .card { position: relative; }
========================= */

/* =========================
   PREMIUM CORNER BANNER
========================= */

.card {
  position: relative;
}

/* Banner Container */
.coming-soon {
  position: absolute;
  top: 0;
  right: 0;

  background: linear-gradient(135deg, #545fa5, #2f3558);
  color: #fff;

  padding: 8px 22px;

  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;

  border-bottom-left-radius: 12px;

  box-shadow: 0 6px 16px rgba(0,0,0,0.2);

  z-index: 20;
  pointer-events: none;
}

/* Fold Effect */
.coming-soon::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;

  border-width: 10px 10px 0 0;
  border-style: solid;
  border-color: rgba(0,0,0,0.25) transparent transparent transparent;
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {
  .coming-soon {
    font-size: 0.75rem;
    padding: 7px 18px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 600px) {
  .coming-soon {
    font-size: 0.7rem;
    padding: 6px 16px;
  }
}


.Project-Type {
  color: #545fa5;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}

.Project-Details,
.Project-Size,
.Project-Location {
  color: #5c6271;
  font-size: 0.93rem;
  margin: 0;
}

/* Price and actions */
.Project-Price {
  color: #545fa5;
  font-weight: 700;
  margin-top: 6px;
  font-size: 0.98rem;
}

/* Buttons */
.card-body .btn {
  display: inline-block;
  background: #545fa5;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-right: 8px;
}

.card-body .btn:hover {
  background: #5d74b1;
  transform: translateY(-2px);
}

/* Align buttons to bottom when card stretches */
.card-body .btn-row {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Small screens */
@media (max-width: 900px) {
  .section h2{
    font-size: 8rem;
    
  }
  .card img {
    height: 180px;
  }
  .card-body {
    padding: 14px;
  }
  .card-body h3 {
    font-size: 1rem;
  }
  .card-body .btn {
    width: auto;
    padding: 10px 12px;
    font-size: 0.92rem;
  }
}

/* ...existing code... */

/* Services */


.our-services {
  background: linear-gradient(135deg, #2f3558 0%, #545fa5 100%);
  color: #fff;
  text-align: center;
  padding: 60px 10%;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(191,195,205,0.08);
  margin: 40px auto;
  max-width: 85%;
  
}

.our-services h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.our-services p {
  font-size: 1.1rem;
  color: #e6e6ec;
  margin-bottom: 32px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.service-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(183,207,198,0.18);
  border-radius: 14px;
  padding: 20px 18px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(93,116,177,0.10);
  transition: transform 0.3s, background 0.3s;
  text-align: center;
}

.service-box i {
  font-size: 2.2rem;
  color: #b7cfc6;
  margin-bottom: 12px;
  display: block;
}

.service-box h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.service-box p {
  font-size: 1rem;
  color: #e6e6ec;
}

.service-box:hover {
  transform: translateY(-6px) scale(1.03);
  background: rgba(84,95,165,0.18);
}


/* Responsive */
@media (max-width: 900px) {
  .our-services {
    padding: 32px 4%;
    max-width: 90%;
    margin: 24px auto;
    border-radius: 10px;
    align-items: center;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-box {
    padding: 18px 8px;
    width: 85%;
    margin: 0 auto;
  }
  .service-box i {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
  .service-box h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .service-box p {
    font-size: 0.95rem;
  }
}

/* --- Why Choose Us --- */
/* ...existing code... */

.why-choose-us {
  background: #e9e9e8;
  padding: 60px 10%;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(191,195,205,0.08);
  max-width: 1200px;
  margin: 40px auto;
}

.why-container {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.why-text {
  flex: 2;
}

.why-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #545fa5;
  margin-bottom: 22px;
  letter-spacing: 1px;
  text-align: center;
}

.why-text h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #b7cfc6;
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

.why-text p {
  font-size: 1.1rem;
  color: #5c6271;
  margin-bottom: 18px;
  line-height: 1.7;
  justify-content: center;
  text-align: justify;
}

.why-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 24px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(191,195,205,0.10);
  padding: 22px 18px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.why-item:hover {
  box-shadow: 0 8px 24px rgba(93,116,177,0.15);
  transform: translateY(-4px) scale(1.02);
}

.why-item i {
  font-size: 2rem;
  color: #545fa5;
  margin-top: 4px;
  flex-shrink: 0;
}

.why-item h3 {
  font-size: 1.1rem;
  color: #2b313f;
  margin-bottom: 6px;
  font-family: 'Playfair Display', serif;
}

.why-item p {
  font-size: 1rem;
  color: #5c6271;
  margin-bottom: 0;
}

.why-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;

}

.why-image img {
  max-width: 320px;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(191,195,205,0.12);
  background: #b7cfc6;
  margin-top: 50px;
  
}

/* Responsive */
@media (max-width: 900px) {
  .why-choose-us {
    padding: 32px 4%;
    margin: 24px 0;
    border-radius: 10px;
  }
  .why-container {
    flex-direction: column;
    gap: 24px;
  }
  .why-points {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .why-image img {
    max-width: 100%;
    margin-top: 18px;
  }
  .why-text h2 {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  .why-text p {
    font-size: 0.9rem;
    margin: 0 10px 12px 10px;
    text-align: justify;
    
  }
  .why-item i {
    font-size: 1.3rem;
  }
  .fas.fa-users {
    font-size: 0.95rem;
  }
  .why-item h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  .why-item p {
    font-size: 0.95rem;
  }
}

/* ...existing code... */

/* Contact Section */
/* Contact Section */
/* ...existing code... */

/* === Lead Form Section === */
.working-hours {
  display: flex;
  justify-content: space-between; /* align label and value */
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #fff;
}

.working-hours strong {
  min-width: 120px; /* match width of other labels like Phone/Email */
  font-weight: 600;
  color: #b7cfc6;
}
.lead-form-section {
  background: transparent;
  color: #fff;
  padding: 0;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  flex: 1 1 45%;
  min-width: 0;
}

.lead-form-container {
  max-width: 100%;
  margin: 0;
  background: rgba(255,255,255,0.85);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  flex: 1 1 45%;
  min-width: 0;
}

.lead-form-container h2 {
  color: #545fa5;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.lead-form-container p {
text-align: center;
margin-bottom: 15px;
}

.lead-form-section h2 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 2rem;
  letter-spacing: 1px;
}

.lead-form-section p {
  color: #e6e6ec;
  margin-bottom: 30px;
  line-height: 1.6;
  font-size: 1rem;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 400;
  color: #2b313f;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: #e6e6ec;
  color: #2f3558;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 1px solid #bfc3cd;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px #b7cfc6;
}


  

.form-group.full-width {
  grid-column: 1 / -1;
}

.btn-submit {
  grid-column: 1 / -1;
  background: #b7cfc6;
  color: #2f3558;
  font-weight: 600;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0px;
  font-size: 1.1rem;
}

.btn-submit:hover {
  background: #e6e6ec;
  transform: translateY(-3px);
}
/* ...existing code... */

/* Stack first six inputs in lead form: 2 in each row */
.lead-form {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.lead-form .form-group {
  flex: 1 1 45%;
  min-width: 180px;
}



.lead-form .form-group.full-width {
  flex: 1 1 100%;
  min-width: 100%;
}

.lead-form .btn-submit {
  flex: 1 1 100%;
  margin-top: 18px;
}

/* Responsive: stack all inputs in one column on small screens */
@media (max-width: 700px) {
  .lead-form {
    flex-direction: column;
    gap: 12px;
  }
  .lead-form .form-group,
  .lead-form .form-group.full-width {
    min-width: 100%;
    flex: 1 1 100%;
  }

  /* Ensure the intro paragraph and the form use full width on mobile
     so inputs align with paragraph right edge */
  .lead-form-container p,
  .lead-form-container .lead-form, input, .btn-submit {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
}

/* ...existing code... */

/* Responsive */
@media (max-width: 600px) {
  .lead-form-container {
    padding: 25px;
  }
  .lead-form-section {
    padding: 0;
  }
  .lead-form{
    padding-right: 0px;
  }
}

/* Contact Section - Blurred Glass Effect */
.contact-section {
  background: linear-gradient(135deg, #2f3558, #545fa5);
  padding: 80px 5%;
  min-height: auto;
  position: relative;
  overflow: hidden;
  margin: 40px auto;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(191,195,205,0.08);
  display: flex;
  gap: 30px;
  align-items: stretch;
  justify-content: center;
  max-width: 85%;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Blurred glass overlay */
  background: rgba(43,49,63,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 0;
}

.contact-container {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;         /* ensures wrapping on smaller screens */
  justify-content: center; /* center content on wide screens */
  max-width: 100%;
  width: 100%;
  margin: 0;
  align-items: stretch;
  text-align: left;
  flex: 1 1 45%;
  min-width: 0;
}

.contact-details {
  flex: 1 1 400px;         /* flexible width, min 400px */
  max-width: 500px;        /* prevent overflow */
  padding: 40px 20px;
  background: rgba(84,95,165,0.85);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(93,116,177,0.18);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid rgba(183,207,198,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  height: 60%;
}


.contact-details h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: 1px;
  text-align: center;
  color: #fff;
}

.contact-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  
}

.contact-details li {
  display: flex;
  align-items: center;
  text-align: center;
 gap: 1px;
  font-size: 0.95rem;
  color: #fff;
}


.contact-details li strong {
  min-width: 90px;
  text-align: left;
  font-weight: 600;
  color: #b7cfc6;
  
}

.contact-details a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  word-break: normal;
  word-spacing: normal;
  hyphens: none;
  text-align: left;
}

@media (max-width: 900px) {
  .contact-details ul {
    gap: 12px;
  }
  .contact-details li strong {
    min-width: 90px;
  }
}

.contact-details p {
  font-size: 16px;
  margin-bottom: 10px;
  color: #e6e6ec;
  text-align: center;
}

.contact-details address {
  font-style: normal;
  text-decoration: none;
  line-height: 1.6;
  color: #fff;
  display: inline-flex;
  justify-content: center;
}
.contact-form {
  flex: 1 1 400px;         /* flexible width, min 400px */
  max-width: 600px;
  padding: 40px 20px;
  background: rgba(255,255,255,0.85);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(191,195,205,0.14);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid #e6e6ec;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.contact-form h3 {
  font-size: 26px;
  font-weight: 700;
  color: #545fa5;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-align: center;
}

.contact-form label {
  font-size: 16px;
  font-weight: 500;
  color: #2b313f;
  margin-bottom: 2px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #bfc3cd;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 4px;
  background: #e6e6ec;
  color: #2b313f;
  transition: border 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #545fa5;
  outline: none;
}

.contact-form button {
  background: #545fa5;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #5d74b1;
}

@media (max-width: 900px) {
  .contact-section {
    padding: 40px 5%;
    gap: 20px;
    flex-direction: column;
    min-height: auto;
    max-width: 90%;
  }
  .contact-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    width: 100%;
  }
  .contact-details,
  .contact-form {
    min-width: 0;
    max-width: 100%;
    padding: 28px 16px;
  }
}
/* Thank You Message Styling */
#thankYouMessage {
  background: #f8f8f8;
  border: 2px solid #545fa5;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  margin-top: 20px;
  color: #0a1f44;
  font-family: 'Segoe UI', sans-serif;
}

#thankYouMessage.hidden {
  display: none;
}

#thankYouMessage h3 {
  color: #545fa5;
  margin-bottom: 8px;
}
.hidden {
  display: none;
}

/* ===== Animation ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive Design ===== */
@media (max-width: 600px) {
  #inquiryForm, #thankYouMessage {
    width: 90%;
    padding: 15px;
  }

  #inquiryForm input, #inquiryForm textarea {
    font-size: 14px;
  }

  #inquiryForm button {
    font-size: 15px;
    padding: 10px;
  }

  #thankYouMessage h3 {
    font-size: 1.4rem;
  }

  #thankYouMessage p {
    font-size: 0.95rem;
  }
}
/* Footer */
footer {
  background: linear-gradient(135deg, #2f3558, #545fa5);
  color: #fff;
  text-align: center;
  padding: 32px 4% 12px;
  font-size: 0.95rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  header {
    padding: 16px 4%;
    flex-direction: column;
    align-items: flex-start;
  }
  .logo-heading img {
    height: 48px;
  }
  nav {
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  nav a {
    margin: 0 10px 8px 0;
    font-size: 1rem;
    padding-bottom: 3px;
  }
  .hero {
    padding: calc(var(--header-height) + 18px) 4% 40px;
    min-height: calc(100vh - var(--header-height));
    height: auto;
    overflow: visible;
    align-items: center;
    justify-content: center;
  }
  .hero-content h2 {
    font-size: 1.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .section {
    padding: 32px 4%;
  }
  .section h2 {
    font-size: 2rem;
    margin-bottom: 18px;
  }
  .properties {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card img {
    height: 180px;
  }
  .card-body {
    padding: 10px;
  }
  .card-body h3 {
    font-size: 1rem;
  }
  .card-body p {
    font-size: 0.95rem;
  }
  .contact {
    padding: 32px 4%;
  }
  .contact h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .contact p {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
}
  /* Footer */
/* ...existing code... */

/* Footer - Match Contact Section Colours */
footer {
  background: linear-gradient(135deg, #2f3558, #545fa5);
  color: #fff;
  padding: 50px 8% 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  text-align: left;
}

.footer-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px;
  background: linear-gradient(135deg, #545fa5 50%, #b7cfc6 50%);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.footer-container > div {
  flex: 1;
  min-width: 200px;
}

.footer h3,
.footer h4 {
  color: #b7cfc6;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer p {
  color: #e6e6ec;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #b7cfc6;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 6px;
}

.footer-contact p {
  margin: 6px 0;
}

.footer-contact i {
  color: #b7cfc6;
  margin-right: 2px;
  width: 16px;
  vertical-align: middle;
}

.footer .social-icons {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.footer .social-icons a {
  font-size: 1.5rem;
  color: #b7cfc6;
  transition: transform 0.3s, color 0.3s;
}

.footer .social-icons a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(183, 207, 198, 0.18);
  font-size: 0.85rem;
  color: #e6e6ec;
}

.footer h3,
.footer h4 {
  position: relative;
}

.footer h3::after,
.footer h4::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: #b7cfc6;
}

address {
  font-style: normal;
  line-height: 1.6;
  color: #fff;
  display: inline-flex;
}
.footer i {
  display: inline-flex;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Equal width columns */
  gap: 50px; /* Even spacing between all sections */
  margin-top: 50px;
  align-items: flex-start;
}

/* Ensure equal vertical rhythm */
.footer-container > div {
  min-width: 0; /* Allows equal grid scaling */
}

/* Responsive Layout */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* Responsive Layout */
@media (max-width: 992px) {
  .footer-container {
    flex-wrap: wrap;
    gap: 25px;
  }

  .footer-container > div {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) { 
  .footer-container {
    flex-direction: column;
    gap: 25px;
  }

  .footer-container > div {
    width: 100%;
  }
}

/* ===== IMAGE MODAL STYLES ===== */
.image-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 1200px;
  max-height: 80%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalZoom 0.3s ease-in-out;
}

@keyframes modalZoom {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: color 0.3s ease;
  cursor: pointer;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
  color: #b7cfc6;
  text-decoration: none;
  transform: scale(1.1);
}

.modal-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #fff;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-top: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Card image hover effect to indicate clickability */
.card img:hover {
  transform: scale(1.05);
  cursor: pointer;
  filter: brightness(1.1);
}

/* Mobile responsive modal */
@media (max-width: 768px) {
  .image-modal {
    padding-top: 40px;
  }
  
  .modal-content {
    width: 95%;
    max-height: 75%;
  }
  
  .modal-close {
    top: 10px;
    right: 20px;
    font-size: 30px;
    width: 40px;
    height: 40px;
  }
  
  .modal-caption {
    width: 90%;
    font-size: 16px;
    padding: 15px 10px;
    margin-top: 15px;
  }
}