/*
Theme Name: QSA Realestate
Template: hello-elementor
Version: 1.0
Author: Hassan Abdullah
Author URI: https://hassanabdullah.io/
Description: Custom child theme developed by Hassan Abdullah
*/


/* =============================================================================
   01. CSS CUSTOM PROPERTIES
============================================================================= */
:root {
  --font-heading-name: 'Cormorant Garamond';
  --font-body-name: 'DM Sans';
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --letter-spacing-heading: 0.02em;
  --letter-spacing-body: 0px;
  --space-base: 1rem;
  --radius-small: 2px;
  --radius-large: 4px;
  --border-width: 1px;
  --shadow-color: 0 0 0;
  --shadow-offset-x: 0px;
  --shadow-offset-y: 4px;
  --shadow-blur: 24px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.06;
  --shadow-custom: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-custom-hover: 0 12px 48px rgba(0,0,0,0.12);
}


/* =============================================================================
   02. BASE RESET & GLOBAL
============================================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
a, button { transition: all 0.2s ease; }
select, input, textarea {
  font-family: var(--font-body);
  appearance: none;
  -webkit-appearance: none;
}


/* =============================================================================
   03. TYPOGRAPHY UTILITIES
============================================================================= */
.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #71113D;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  color: #71113D;
  font-weight: 500;
  line-height: 1;
}

.stars { color: #71113D; }

.accent-divider {
  width: 40px;
  height: 1.5px;
  background: #71113D;
  display: block;
}

.breadcrumb-sep {
  color: rgba(255,255,255,0.5);
  margin: 0 8px;
  font-size: 12px;
}
.breadcrumb-item {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb-item:hover { color: #fff; }
.breadcrumb-link {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb-link:hover { color: #fff; }


/* =============================================================================
   04. SCROLL ANIMATIONS
============================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }


/* =============================================================================
   05. LAYOUT UTILITIES
============================================================================= */
.section-pad { padding: 100px 0; }

.search-bar {
  background: #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  border-radius: 4px;
}

.quote-bg {
  font-family: var(--font-heading);
  font-size: 180px;
  color: #71113D;
  opacity: 0.08;
  line-height: 1;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

/* Dot (slider/testimonial pagination) */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.dot.active {
  background: #71113D;
  transform: scale(1.3);
}


/* =============================================================================
   06. HEADER & NAVIGATION
============================================================================= */
.header-scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
}

.nav-link {
  position: relative;
  color: #000;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #71113D;
  transition: width 0.25s ease;
}
.nav-link:hover        { color: #71113D; }
.nav-link:hover::after { width: 100%; }
.nav-link.active       { color: #71113D; }
.nav-link.active::after { width: 100%; }

.footer-link {
  color: #444;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  margin-bottom: 10px;
}
.footer-link:hover { color: #71113D; }


/* =============================================================================
   07. MOBILE MENU
============================================================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 999;
  transition: right 0.35s ease;
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }


/* =============================================================================
   08. BUTTONS
============================================================================= */
.btn-primary {
  background: #71113D;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(113,17,61,0.3);
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  color: #71113D;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 28px;
  border-radius: 2px;
  border: 1.5px solid #71113D;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-outline:hover {
  background: #71113D;
  color: #fff;
  box-shadow: 0 6px 28px rgba(113,17,61,0.3);
}

.load-more-btn {
  background: transparent;
  color: #71113D;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 48px;
  border-radius: 2px;
  border: 1.5px solid #71113D;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.load-more-btn:hover {
  background: #71113D;
  color: #fff;
  box-shadow: 0 6px 28px rgba(113,17,61,0.25);
}
.load-more-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  border: 1px solid #E8E8E8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.social-icon-btn:hover {
  border-color: #71113D;
  background: rgba(113,17,61,0.04);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}


/* =============================================================================
   09. FORMS & INPUTS
============================================================================= */

/* Generic form input — used on most pages */
.form-input {
  width: 100%;
  border: 1px solid #E8E8E8;
  border-radius: 2px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-input:focus          { border-color: #71113D; }
.form-input::placeholder   { color: #AAAAAA; }
textarea.form-input {
  resize: vertical;
  min-height: 110px;
}

/* Contact page dedicated inputs — richer focus ring */
.contact-input,
.contact-textarea {
  width: 100%;
  border: 1px solid #E8E8E8;
  border-radius: 2px;
  padding: 13px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}
.contact-input:focus,
.contact-textarea:focus {
  border-color: #71113D;
  box-shadow: 0 0 0 3px rgba(113,17,61,0.06);
}
.contact-input::placeholder,
.contact-textarea::placeholder { color: #AAAAAA; }
.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Select with custom chevron arrow */
.contact-select,
.sort-select,
.filter-select {
  border: 1px solid #E8E8E8;
  border-radius: 2px;
  font-size: 14px;
  font-family: var(--font-body);
  color: #333;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease;
}
.contact-select       { padding: 13px 16px; width: 100%; }
.sort-select          { padding: 9px 36px 9px 14px; font-size: 13px; }
.filter-select        { padding: 10px 36px 10px 14px; width: 100%; }
.contact-select:focus,
.sort-select:focus,
.filter-select:focus  { border-color: #71113D; }

/* Filter inputs */
.filter-input {
  border: 1px solid #E8E8E8;
  border-radius: 2px;
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
  font-family: var(--font-body);
  width: 100%;
  transition: border-color 0.2s ease;
}
.filter-input:focus { border-color: #71113D; }

/* Blog search */
.blog-search-input {
  font-family: var(--font-body);
  font-size: 14px;
  color: #333;
  border: 1.5px solid #E8E8E8;
  border-radius: 2px;
  padding: 10px 16px 10px 44px;
  outline: none;
  transition: border-color 0.2s ease;
  background: #fff;
  width: 100%;
}
.blog-search-input:focus { border-color: #71113D; }

/* Comment form input (blog detail) */
.comment-input {
  width: 100%;
  border: 1px solid #E8E8E8;
  border-radius: 2px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}
.comment-input:focus { border-color: #71113D; }

/* File upload area (Careers) */
.file-upload-area {
  border: 2px dashed #E0E0E0;
  border-radius: 4px;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.file-upload-area:hover {
  border-color: #71113D;
  background: rgba(113,17,61,0.02);
}

/* Map container */
.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}


/* =============================================================================
   10. CARDS — PROPERTY
============================================================================= */
.property-card {
  background: #fff;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
  overflow: hidden;
}
.property-card:hover {
  border-color: #71113D;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
}
/* card-img height differs per page: home=320px, listing=260px, gallery=260px */
.property-card .card-img {
  overflow: hidden;
  position: relative;
}
.property-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.property-card:hover .card-img img { transform: scale(1.04); }

/* Prop card variant (property detail related/payment pages) */
.prop-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #F0F0F0;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}
.prop-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  transform: translateY(-5px);
}
.prop-card-img-wrap { overflow: hidden; position: relative; }
.prop-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.prop-card:hover .prop-card-img { transform: scale(1.04); }
.prop-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.prop-card:hover .prop-card-overlay { opacity: 1; }
.prop-card-cta {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.prop-card:hover .prop-card-cta {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Gallery property card variant */
.prop-gallery-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.prop-gallery-card:hover {
  border-color: #71113D;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
}
.prop-gallery-card .card-img {
  overflow: hidden;
  height: 260px;
}
.prop-gallery-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.prop-gallery-card:hover .card-img img { transform: scale(1.04); }

/* Progress bar (listing page) */
.progress-bar {
  height: 3px;
  background: #F0F0F0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-fill {
  height: 100%;
  background: #71113D;
  border-radius: 2px;
  width: 60%;
}

/* Empty state (listing page) */
.empty-state { display: none; text-align: center; padding: 80px 32px; }
.empty-state.visible { display: block; }


/* =============================================================================
   11. CARDS — SERVICE
============================================================================= */
.service-card {
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border-top: 3px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  border-radius: 4px;
}
.service-card:hover {
  border-top-color: #71113D;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* Facilitator card (Services page) */
.facilitator-card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid #F0F0F0;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.facilitator-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: rgba(113,17,61,0.2);
}


/* =============================================================================
   12. CARDS — BLOG
============================================================================= */
/* Home page blog card */
.blog-card .blog-img {
  overflow: hidden;
  height: 220px;
  border-radius: 4px 4px 0 0;
}
.blog-card .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.03); }

/* Blog listing card */
.blog-card-item {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  border: 1.5px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.blog-card-item:hover {
  border-color: #71113D;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.blog-card-item .blog-img-wrap {
  overflow: hidden;
  height: 220px;
}
.blog-card-item .blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card-item:hover .blog-img-wrap img { transform: scale(1.05); }

/* Featured blog card (blog listing hero) */
.featured-blog-card {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.featured-blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.featured-blog-card:hover img { transform: scale(1.03); }

/* Blog sidebar widget */
.sidebar-widget {
  background: #fff;
  border: 1px solid #F0F0F0;
  border-radius: 4px;
  padding: 28px;
  margin-bottom: 28px;
}
.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: #000;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F0F0F0;
  letter-spacing: 0.02em;
}

/* Recent post */
.recent-post-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #F8F8F8;
  text-decoration: none;
  transition: all 0.2s ease;
}
.recent-post-item:last-child { border-bottom: none; }
.recent-post-item:hover .recent-post-title { color: #71113D; }

/* Category item */
.category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F8F8F8;
  text-decoration: none;
  transition: color 0.2s ease;
  color: #444;
  font-size: 14px;
}
.category-item:last-child { border-bottom: none; }
.category-item:hover { color: #71113D; }

/* Tag pills */
.tag-pill {
  display: inline-block;
  padding: 6px 14px;
  background: #F8F8F8;
  border: 1px solid #E8E8E8;
  border-radius: 2px;
  font-size: 12px;
  color: #555;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
  margin: 4px;
}
.tag-pill:hover {
  background: #71113D;
  color: #fff;
  border-color: #71113D;
}

/* Article body content styles */
.article-content h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: #000;
  margin: 40px 0 16px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.article-content h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: #111;
  margin: 32px 0 12px;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.article-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.85;
  margin-bottom: 20px;
  font-weight: 300;
}
.article-content ul {
  margin: 0 0 20px 0;
  padding-left: 0;
  list-style: none;
}
.article-content ul li {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  padding: 6px 0 6px 24px;
  position: relative;
  font-weight: 300;
}
.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background: #71113D;
  border-radius: 50%;
}
.article-content blockquote {
  border-left: 3px solid #71113D;
  background: #F8F8F8;
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 0 4px 4px 0;
}
.article-content blockquote p {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  color: #222;
  line-height: 1.65;
  margin: 0;
}
.article-content blockquote cite {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #71113D;
  margin-top: 12px;
  font-style: normal;
  font-family: var(--font-body);
}


/* =============================================================================
   13. CARDS — TEAM
============================================================================= */
/* Home page — lift only */
.team-card {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  border-radius: 4px;
}
/* About page — lifts with transform */
.team-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

/* Partner logos (About page) */
.partner-logo {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}


/* =============================================================================
   14. CARDS — COMMUNITY / GALLERY
============================================================================= */
/* Home page community card */
.community-card {
  overflow: hidden;
  position: relative;
  border-radius: 4px;
}
.community-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.community-card:hover img { transform: scale(1.04); }
.community-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 60%);
  transition: background 0.35s ease;
}
.community-card:hover .community-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(113,17,61,0.15) 100%);
}

/* All Communities page card */
.comm-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  display: block;
}
.comm-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.comm-card:hover img { transform: scale(1.06); }
.comm-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0) 100%);
  transition: background 0.4s ease;
}
.comm-card:hover .comm-overlay {
  background: linear-gradient(to top, rgba(113,17,61,0.72) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.05) 100%);
}
.comm-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 22px;
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.comm-card:hover .comm-content { transform: translateY(-4px); }
.comm-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: #71113D;
  padding: 8px 16px;
  border-radius: 2px;
  text-decoration: none;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}
.comm-card:hover .comm-btn {
  opacity: 1;
  transform: translateY(0);
}


/* =============================================================================
   15. CARDS — DEVELOPER
============================================================================= */
.developer-card {
  background: #fff;
  border: 1.5px solid #F0F0F0;
  border-radius: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}
.developer-card:hover {
  border-color: #71113D;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.developer-card .dev-logo-wrap {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8F8F8;
  overflow: hidden;
  transition: background 0.3s ease;
}
.developer-card:hover .dev-logo-wrap { background: #FDF5F8; }
.developer-card .dev-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.developer-card:hover .dev-logo-wrap img { transform: scale(1.04); }


/* =============================================================================
   16. CARDS — FEATURE & AMENITY
============================================================================= */
.feature-card {
  background: #fff;
  border: 1px solid #F0F0F0;
  border-radius: 4px;
  padding: 36px 28px;
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #71113D;
  transition: width 0.3s ease;
}
.feature-card:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.10);
  transform: translateY(-4px);
  border-color: rgba(113,17,61,0.15);
}
.feature-card:hover::before { width: 100%; }
.feature-icon-wrap {
  width: 52px;
  height: 52px;
  background: #F8F8F8;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.25s ease;
}
.feature-card:hover .feature-icon-wrap { background: rgba(113,17,61,0.08); }

/* Amenity item */
.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid #F0F0F0;
  border-radius: 4px;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.amenity-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #71113D;
  transition: width 0.3s ease;
}
.amenity-item:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
  border-color: rgba(113,17,61,0.12);
}
.amenity-item:hover::after { width: 100%; }


/* =============================================================================
   17. CARDS — QUICK CONTACT
============================================================================= */
.quick-card {
  background: #fff;
  border: 1px solid #F0F0F0;
  border-radius: 4px;
  padding: 36px 28px;
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}
.quick-card:hover {
  border-color: #71113D;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.quick-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(113,17,61,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background 0.25s ease;
}
.quick-card:hover .quick-card-icon { background: #71113D; }
.quick-card:hover .quick-card-icon svg { stroke: #fff !important; }


/* =============================================================================
   18. CARDS — JOB (Careers)
============================================================================= */
.job-card {
  background: #fff;
  border: 1px solid #F0F0F0;
  border-radius: 4px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.job-card:hover {
  border-color: #71113D;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}


/* =============================================================================
   19. CARDS — PAYMENT
============================================================================= */
.payment-card {
  border-radius: 4px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.payment-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}

.payment-icon-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 4px;
  padding: 14px 24px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: default;
}
.payment-icon-pill:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-color: rgba(113,17,61,0.2);
  transform: translateY(-2px);
}


/* =============================================================================
   20. BADGES (Property Listing)
============================================================================= */
.badge-offplan,
.badge-new,
.badge-soldout {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  font-family: var(--font-body);
  color: #fff;
}
.badge-offplan { background: #71113D; }
.badge-new     { background: #000; }
.badge-soldout { background: #888; }

/* Property detail badge */
.property-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(113,17,61,0.92);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
}


/* =============================================================================
   21. SLIDERS & TABS
============================================================================= */
/* Generic tab system */
.tab-content        { display: none; }
.tab-content.active { display: block; }

/* Featured properties slider */
.featured-slider-wrapper  { overflow: hidden; }
.featured-slider-track,
.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}
.featured-slide-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
}

/* Category pills (blog / gallery filter) */
.cat-pill,
.gallery-filter-btn,
.cat-tab {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: none;
}
.cat-pill,
.gallery-filter-btn {
  padding: 9px 22px;
  border: 1.5px solid #E8E8E8;
  color: #555;
}
.cat-tab {
  padding: 10px 24px;
  border: 1.5px solid #E8E8E8;
  color: #666;
}
.cat-pill:hover,
.gallery-filter-btn:hover,
.cat-tab:hover {
  border-color: #71113D;
  color: #71113D;
}
.cat-pill.active,
.gallery-filter-btn.active,
.cat-tab.active {
  background: #71113D;
  border-color: #71113D;
  color: #fff;
}

/* FAQ category panels */
.faq-category        { display: none; }
.faq-category.active { display: block; }

/* Filter bar */
.filter-bar {
  background: #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  border-radius: 4px;
}


/* =============================================================================
   22. TESTIMONIALS
============================================================================= */
.testimonial-slide        { display: none; animation: fadeIn 0.5s ease; }
.testimonial-slide.active { display: block; }


/* =============================================================================
   23. MASONRY GRID
============================================================================= */
.masonry-grid {
  columns: 3;
  column-gap: 16px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
}


/* =============================================================================
   24. PARTNER LOGOS CAROUSEL
============================================================================= */
.partners-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: scrollPartners 28s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }


/* =============================================================================
   25. FAQ ACCORDION
============================================================================= */
.faq-item { border-bottom: 1px solid #F0F0F0; overflow: hidden; }
.faq-item:first-child { border-top: 1px solid #F0F0F0; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  text-align: left;
  gap: 20px;
  transition: color 0.2s ease;
}
.faq-question:hover .faq-q-text { color: #71113D; }

.faq-q-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: #000;
  line-height: 1.35;
  transition: color 0.2s ease;
  flex: 1;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border: 1.5px solid #E0E0E0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.faq-item.open .faq-icon {
  background: #71113D;
  border-color: #71113D;
}

.faq-icon-bar { position: relative; width: 12px; height: 12px; }
.faq-icon-bar::before,
.faq-icon-bar::after {
  content: '';
  position: absolute;
  background: #71113D;
  transition: transform 0.3s ease, background 0.2s ease;
}
.faq-icon-bar::before {
  width: 12px; height: 1.5px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}
.faq-icon-bar::after {
  width: 1.5px; height: 12px;
  left: 50%; top: 0;
  transform: translateX(-50%);
}
.faq-item.open .faq-icon-bar::before { background: #fff; }
.faq-item.open .faq-icon-bar::after  {
  background: #fff;
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 0 24px 0;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  font-weight: 300;
  max-width: 760px;
}


/* =============================================================================
   26. PROPERTY DETAIL — GALLERY THUMBS
============================================================================= */
.gallery-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 4px;
  transition: opacity 0.4s ease;
}
.thumb-item {
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}
.thumb-item.active { border-color: #71113D; }
.thumb-item:hover  { transform: scale(1.03); }
.thumb-item img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  display: block;
}

/* Gallery nav arrows */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.gallery-arrow:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.16);
}

/* Gallery item (home + gallery pages) */
.gallery-item {
  overflow: hidden;
  position: relative;
  border-radius: 4px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(113,17,61,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.gallery-item:hover .gallery-overlay { background: rgba(113,17,61,0.22); }
.gallery-overlay-icon {
  opacity: 0;
  color: #fff;
  font-size: 28px;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.gallery-item:hover .gallery-overlay-icon { opacity: 1; }


/* =============================================================================
   27. GALLERY LIGHTBOX
============================================================================= */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInLB 0.25s ease;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(113,17,61,0.6); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
}
.lightbox-counter {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* Video card */
.video-card {
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}
.video-card:hover { box-shadow: 0 12px 48px rgba(0,0,0,0.15); }
.video-card .play-btn { transition: transform 0.2s ease, background 0.2s ease; }
.video-card:hover .play-btn {
  transform: scale(1.1);
  background: #8a1549 !important;
}


/* =============================================================================
   28. PROPERTY DETAIL — HERO
============================================================================= */
.hero-overlay-gradient {
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.22) 100%
  );
}
.hero-overlay-bottom {
  background: linear-gradient(to top, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0) 55%);
}
.hero-stat {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 2px;
  padding: 14px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


/* =============================================================================
   29. PROPERTY DETAIL — SIDEBAR & STICKY
============================================================================= */
.sidebar-card {
  background: #fff;
  border: 1px solid #F0F0F0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.sticky-sidebar {
  position: sticky;
  top: 88px;
}

/* Read-more toggle */
.description-text { overflow: hidden; transition: max-height 0.5s ease; }
.description-text.collapsed { max-height: 120px; }
.description-text.expanded  { max-height: 1000px; }


/* =============================================================================
   30. FILTER & SORT BAR
============================================================================= */
/* (classes already defined above: .filter-bar, .filter-input, .filter-select, .sort-select) */


/* =============================================================================
   31. ACCESSIBILITY
============================================================================= */
*:focus-visible {
  outline: 2px solid #71113D;
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #71113D;
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  font-size: 14px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }


/* =============================================================================
   32. CUSTOM CURSOR
============================================================================= */
.custom-cursor {
  width: 10px;
  height: 10px;
  background: #71113D;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease;
  mix-blend-mode: multiply;
}
.custom-cursor.hover-state {
  width: 22px;
  height: 22px;
}


/* =============================================================================
   33. MISC UTILITIES
============================================================================= */
/* Map (property detail) */
.map-container-pd {
  width: 100%;
  height: 380px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #E8EEF4;
}


/* =============================================================================
   34. ANIMATIONS (@keyframes)
============================================================================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInLB {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes galleryFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.gallery-fade { animation: galleryFade 0.35s ease; }

@keyframes scrollPartners {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
.map-pin-pulse { animation: pulse 1.8s ease-out infinite; }

@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}


/* =============================================================================
   35. MEDIA QUERIES — RESPONSIVE
============================================================================= */

/* --- Tablet / small desktop (max 1279px) ---------------------------------- */
@media (max-width: 1279px) {
  .section-pad              { padding: 70px 0; }

  /* Header */
  #desktopNav               { display: none !important; }
  #headerCTA                { display: none !important; }
  #hamburger                { display: flex !important; }

  /* Layout grids */
  .about-grid               { grid-template-columns: 1fr !important; gap: 48px !important; }
  .about-split-grid         { grid-template-columns: 1fr !important; gap: 48px !important; }
  .mv-grid                  { grid-template-columns: 1fr !important; }
  .director-grid            { grid-template-columns: 1fr !important; gap: 48px !important; }
  .careers-intro-grid       { grid-template-columns: 1fr !important; gap: 48px !important; }
  .form-grid                { grid-template-columns: 1fr !important; gap: 48px !important; }
  .cta-grid                 { grid-template-columns: 1fr !important; gap: 40px !important; }

  /* Footer */
  .footer-grid,
  #footerGrid               { grid-template-columns: 1fr 1fr !important; gap: 36px !important; }

  /* Team */
  .team-grid                { grid-template-columns: repeat(2, 1fr) !important; }
  .team-grid-about          { grid-template-columns: repeat(2, 1fr) !important; }

  /* Communities */
  .communities-grid         { grid-template-columns: repeat(3, 1fr) !important; }

  /* Services page */
  #servicesStrip            { grid-template-columns: repeat(3, 1fr) !important; }

  /* Contact */
  .contact-info-grid        { grid-template-columns: 1fr !important; gap: 24px !important; }
  .contact-quick-grid       { grid-template-columns: 1fr !important; gap: 20px !important; }

  /* Blog */
  .cta-grid                 { grid-template-columns: 1fr !important; gap: 40px !important; }

  /* Property detail */
  .features-grid            { grid-template-columns: repeat(2, 1fr) !important; }
}

/* --- Show desktop nav at 1024+ ------------------------------------------- */
@media (min-width: 1024px) {
  #desktopNav               { display: flex !important; }
  #headerCTA                { display: inline-block !important; }
  #hamburger                { display: none !important; }
}

/* --- Tablet (max 1023px) -------------------------------------------------- */
@media (max-width: 1023px) {
  /* Properties / services / blog */
  .properties-grid          { grid-template-columns: repeat(2, 1fr) !important; }
  .services-grid            { grid-template-columns: repeat(2, 1fr) !important; }
  .blog-grid                { grid-template-columns: repeat(2, 1fr) !important; }
  .video-grid               { grid-template-columns: repeat(2, 1fr) !important; }

  /* Listing / blog listing */
  .listing-grid             { grid-template-columns: repeat(2, 1fr) !important; }
  .filter-row               { flex-wrap: wrap !important; }
  #blogGrid                 { grid-template-columns: repeat(2, 1fr) !important; }
  #featuredCard             { grid-template-columns: 1fr !important; max-height: none !important; }
  #featuredCard > div:first-child { height: 300px !important; }

  /* About */
  .form-row-3               { grid-template-columns: 1fr 1fr !important; }
  .form-row-msg             { grid-template-columns: 1fr !important; }

  /* Services */
  .service-two-col          { grid-template-columns: 1fr !important; gap: 48px !important; }
  .facilitators-grid        { grid-template-columns: 1fr !important; }
  .why-grid                 { grid-template-columns: repeat(2, 1fr) !important; }

  /* Contact */
  .contact-grid             { grid-template-columns: 1fr !important; }
  .quick-cards-grid         { grid-template-columns: repeat(3, 1fr) !important; }
  .location-details-grid    { grid-template-columns: repeat(2, 1fr) !important; }

  /* Developers */
  .dev-grid                 { grid-template-columns: repeat(3, 1fr) !important; }
  .stats-grid               { grid-template-columns: repeat(2, 1fr) !important; }

  /* Communities */
  #commGrid                 { grid-template-columns: repeat(2, 1fr) !important; }

  /* FAQ */
  .support-grid             { grid-template-columns: 1fr !important; gap: 40px !important; }

  /* Careers */
  .why-grid                 { grid-template-columns: repeat(2, 1fr) !important; }

  /* Gallery */
  .video-grid-3             { grid-template-columns: repeat(2, 1fr) !important; }
  .prop-grid-3              { grid-template-columns: repeat(2, 1fr) !important; }

  /* Property detail */
  .two-col-layout           { flex-direction: column !important; }
  .sidebar-col              { width: 100% !important; }
  .sticky-sidebar           { position: static !important; top: auto !important; }
  .gallery-main-img         { height: 320px !important; }
  .amenities-grid           { grid-template-columns: repeat(4, 1fr) !important; }
  .related-grid             { grid-template-columns: repeat(2, 1fr) !important; }
  .lead-form-grid           { grid-template-columns: 1fr 1fr !important; }
  .payment-icons-grid       { grid-template-columns: repeat(3, 1fr) !important; }

  /* Blog detail */
  .blog-layout              { flex-direction: column !important; }
  .blog-sidebar             { width: 100% !important; }
  .blog-main                { width: 100% !important; }

  /* CTA */
  .cta-inner-grid           { grid-template-columns: 1fr !important; gap: 48px !important; }

  /* Featured slide */
  .featured-slide-card      { flex: 0 0 calc(50% - 12px); }
}

/* --- Mobile (max 767px) --------------------------------------------------- */
@media (max-width: 767px) {
  .section-pad              { padding: 50px 0; }

  /* Padding helpers */
  header > div              { padding: 0 20px !important; }
  section > div,
  footer > div              { padding-left: 20px !important; padding-right: 20px !important; }

  /* Grids → single column */
  .properties-grid,
  .services-grid,
  .blog-grid,
  .video-grid,
  .team-grid,
  .team-grid-about,
  .communities-grid,
  .footer-grid,
  #footerGrid,
  .footer-grid-blog,
  .listing-grid,
  .contact-grid,
  .quick-cards-grid,
  .location-details-grid,
  .related-grid,
  .lead-form-grid,
  .support-grid,
  .why-grid,
  .form-row-3,
  .form-row-msg,
  .form-row-2,
  .payment-cards-grid,
  .video-grid-3,
  .prop-grid-3              { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer-grid,
  #footerGrid               { gap: 0 !important; }

  /* Search bar */
  .search-bar               { flex-direction: column !important; }

  /* Hero heights */
  #hero                     { max-height: 700px !important; }

  /* Community card image */
  .community-card img       { height: 280px !important; }
  .comm-card img            { height: 260px !important; }

  /* Communities — always show button */
  .comm-btn                 { opacity: 1 !important; transform: translateY(0) !important; }

  /* Services strip */
  #servicesStrip            { grid-template-columns: 1fr 1fr !important; }

  /* Developers */
  .dev-grid                 { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .stats-grid               { grid-template-columns: repeat(2, 1fr) !important; }

  /* Communities page */
  #commGrid                 { grid-template-columns: 1fr !important; }

  /* FAQ */
  .footer-grid              { grid-template-columns: 1fr !important; }

  /* Blog */
  #blogGrid                 { grid-template-columns: 1fr !important; }
  #featuredCard             { grid-template-columns: 1fr !important; max-height: none !important; }
  #featuredCard > div:first-child { height: 240px !important; }
  #featuredCard > div:last-child  { padding: 32px 24px !important; }

  /* Property detail */
  .gallery-main-img         { height: 240px !important; }
  .amenities-grid           { grid-template-columns: repeat(3, 1fr) !important; }
  .payment-icons-grid       { grid-template-columns: repeat(2, 1fr) !important; }
  .hero-stats-row           { flex-direction: column !important; align-items: flex-start !important; }

  /* Sort bar (listing) */
  .sort-bar                 { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }
  .filter-row               { flex-direction: column !important; }
  .hero-listing             { padding: 60px 20px 40px !important; }

  /* Blog detail */
  .comment-grid             { grid-template-columns: 1fr !important; }

  /* Gallery */
  .gallery-filters          { flex-wrap: wrap !important; gap: 8px !important; }

  /* CTA */
  .cta-inner-grid           { grid-template-columns: 1fr !important; gap: 36px !important; }

  /* Careers */
  .hero-listing             { padding: 60px 20px 40px !important; }

  /* Job card internal layout */
  .job-card > div           { flex-direction: column !important; }
  .job-card > div > div:last-child { align-items: flex-start !important; }

  /* Masonry */
  .masonry-grid             { columns: 2; }

  /* Typography overrides */
  .hero-h1                  { font-size: 38px !important; line-height: 1.15 !important; }
  .hero-sub                 { font-size: 16px !important; }
  .section-h2               { font-size: 30px !important; }
  .hero-about-h1            { font-size: 38px !important; }
  .hero-contact-h1          { font-size: 36px !important; }
  .hero-faq-h1              { font-size: 38px !important; }
  .hero-blogs-h1            { font-size: 36px !important; line-height: 1.15 !important; }
  .hero-blog-h1             { font-size: 32px !important; }
  .hero-careers-h1          { font-size: 34px !important; }
  .hero-property-h1         { font-size: 36px !important; }
  .hero-listing h2          { font-size: 34px !important; }
  .faq-q-text               { font-size: 17px !important; }
}

/* --- Small mobile (max 639px) --------------------------------------------- */
@media (max-width: 639px) {
  .masonry-grid             { columns: 1; }
  .featured-slide-card      { flex: 0 0 100%; }
}

/* --- Extra small (max 480px) ---------------------------------------------- */
@media (max-width: 480px) {
  .about-grid               { gap: 32px !important; }
  .hero-h1                  { font-size: 34px !important; }
  .dev-grid                 { grid-template-columns: 1fr !important; }
  #servicesStrip            { grid-template-columns: 1fr !important; }
  .amenities-grid           { grid-template-columns: repeat(2, 1fr) !important; }
  .gallery-filters          { flex-wrap: wrap !important; gap: 8px !important; }
}

/* --- Tablet range (768px–1279px) ------------------------------------------ */
@media (min-width: 768px) and (max-width: 1279px) {
  .hero-h1                  { font-size: 52px !important; }
  .hero-about-h1            { font-size: 52px !important; }
  .hero-careers-h1          { font-size: 52px !important; }
  .hero-blogs-h1            { font-size: 52px !important; }
  .hero-h1                  { font-size: 48px !important; }
  .section-h2               { font-size: 38px !important; }
}

/* --- Medium (768px–1023px) ------------------------------------------------ */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-property-h1         { font-size: 50px !important; }
  .features-grid            { grid-template-columns: repeat(2, 1fr) !important; }
}


