/* ==========================================================================
   M KAY GRAND / YEMKAY REALTORS - REAL ESTATE SOLUTIONS
   Ultra-Luxury Cinematic Motion & Shared-Element Transition System
   Inspired by Luxury Automotive & High-End Architecture Websites
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CORE DESIGN SYSTEM & VARIABLES
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&display=swap');

:root {
  --color-primary-dark: #121212;
  --color-card-dark: #1A1A1A;
  --color-gold: #D4A017;
  --color-gold-hover: #F0C040;
  --color-gold-light: rgba(212, 160, 23, 0.15);
  --color-sandal: #1A1A1A;
  --color-beige: #F5EFE6;
  --color-offwhite: #0F0F0F;
  --color-white: #FFFFFF;
  --color-muted: #A0A0A0;
  --color-navy: #16222F;
  --color-border: rgba(212, 160, 23, 0.25);
  
  --font-heading: 'Playfair Display', 'Cinzel', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 25px 50px rgba(212, 160, 23, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  
  --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-cinematic: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  --container-max: 1280px;
}

/* --------------------------------------------------------------------------
   2. BASE & RESET STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-offwhite);
  color: var(--color-beige);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography Helpers */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-white);
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  color: var(--color-white);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-description {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 700px;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   3. BUTTONS & UTILITIES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1.5px solid transparent;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-gold);
  color: #0F0F0F;
  border-color: var(--color-gold);
  font-weight: 700;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: left 0.75s ease;
}

.btn-primary:hover::before {
  left: 120%;
}

.btn-primary:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 160, 23, 0.45);
}

.btn-secondary {
  background-color: rgba(212, 160, 23, 0.05);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.btn-secondary:hover {
  background-color: var(--color-gold);
  color: #0F0F0F;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 160, 23, 0.35);
}

.btn-dark {
  background-color: #242424;
  color: var(--color-white);
  border-color: var(--color-border);
}

.btn-dark:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: #0F0F0F;
  transform: translateY(-3px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
  border-color: #1EBE5D;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.placeholder-tag {
  display: inline-block;
  background-color: rgba(212, 160, 23, 0.15);
  color: var(--color-gold-hover);
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-gold);
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR (WITH SMOOTH SCROLL TRANSITION)
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}

.navbar.navbar-scrolled {
  background-color: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid rgba(212, 160, 23, 0.4);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.9);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: height 0.4s ease;
}

.navbar.navbar-scrolled .navbar-container {
  height: 75px;
}

.brand-logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.03);
}

.brand-logo img {
  height: 42px;
  width: auto;
  transition: height 0.4s ease;
}

.navbar.navbar-scrolled .brand-logo img {
  height: 36px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 2rem;
  margin-left: 0.1rem;
  padding: 0;
  color: var(--color-beige);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  color: var(--color-gold-hover);
}

.nav-dropdown-arrow {
  font-size: 0.75em;
  transition: transform 0.3s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  min-width: 240px;
  padding: 0.65rem 0;
  background-color: rgba(15, 15, 15, 0.98);
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-link {
  display: block;
  padding: 0.65rem 1.15rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease, padding-left 0.25s ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  color: var(--color-gold-hover);
  background-color: rgba(212, 160, 23, 0.08);
  padding-left: 1.35rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-beige);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-gold);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-gold);
  font-weight: 600;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--color-gold);
  margin: 6px 0;
  transition: var(--transition-smooth);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 992px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: calc(100vh - 90px);
    background-color: var(--color-offwhite);
    flex-direction: column;
    justify-content: flex-start;
    padding: 3rem 2rem;
    gap: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--color-border);
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    font-size: 1.25rem;
  }

  .nav-dropdown {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    align-items: center;
    text-align: center;
  }

  .nav-dropdown > .nav-link {
    grid-column: 2;
  }

  .nav-dropdown > .nav-dropdown-toggle {
    grid-column: 3;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0;
    background-color: rgba(15, 15, 15, 0.45);
    box-shadow: none;
    transform: none;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease, border-color 0.3s ease;
    border-color: transparent;
    grid-column: 1 / -1;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 320px;
    border-color: var(--color-border);
  }

  .nav-dropdown-link {
    font-size: 1rem;
    padding: 0.55rem 1rem;
  }

  .nav-dropdown-link:hover,
  .nav-dropdown-link:focus-visible {
    padding-left: 1rem;
  }
}

/* --------------------------------------------------------------------------
   5. HERO SECTION & ADVANCED WORD SPLIT ENTRANCE
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;

  background:
    linear-gradient(rgba(8, 17, 4, 0.65), rgba(8, 17, 4, 0.85)),
    url("images/star.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

/* Background Large Parallax Marquee Text */
.hero-bg-marquee {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 11vw;
  font-weight: 700;
  letter-spacing: 16px;
  color: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  will-change: transform;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  z-index: 2;
}

/* Keyframe entrance for Hero elements */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScaleZoom {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(25px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero-content .hero-subtitle-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--color-gold-hover);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding: 0.4rem 1rem;
  background-color: rgba(212, 160, 23, 0.12);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-sm);
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 3.1s both;
}

.hero-heading {
  font-size: 3.8rem;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 3.3s both;
}

.hero-description {
  font-size: 1.2rem;
  color: #D0D0D0;
  margin-bottom: 2.5rem;
  max-width: 580px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 3.5s both;
}

.hero-cta-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 3.7s both;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: heroScaleZoom 1.2s cubic-bezier(0.16, 1, 0.3, 1) 3.3s both;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 2.5rem;
  background: rgba(26, 26, 26, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-visual-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(212, 160, 23, 0.35);
}

.hero-visual-card img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 1.5rem auto;
}

.hero-bottom-blend {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--color-offwhite));
  pointer-events: none;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-heading {
    font-size: 2.75rem;
  }
}

/* --------------------------------------------------------------------------
   6. ADVANCED WORD-SPLIT & CINEMATIC SCROLL REVEAL SYSTEM
   -------------------------------------------------------------------------- */
/* Standard Vertical Reveal */
.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

/* Directional Reveals */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Listing cards rise gently into view instead of popping into place. */
.listings-grid .listing-card.reveal-scale {
  transform: translateY(70px) scale(0.94);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.listings-grid .listing-card.reveal-scale.active {
  transform: translateY(0) scale(1);
}

/* Mask Word Horizontal Split Classes */
.mask-word-left {
  display: inline-block;
  opacity: 0;
  transform: translateX(-70px);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.mask-word-right {
  display: inline-block;
  opacity: 0;
  transform: translateX(70px);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.active .mask-word-left,
.active .mask-word-right {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.15s !important; }
.delay-2 { transition-delay: 0.3s !important; }
.delay-3 { transition-delay: 0.45s !important; }
.delay-4 { transition-delay: 0.6s !important; }

/* --------------------------------------------------------------------------
   7. ABOUT SECTION (CINEMATIC SLIDE & PARALLAX IMAGE)
   -------------------------------------------------------------------------- */
.about-section {
  padding: 100px 0;
  background-color: var(--color-offwhite);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--color-border);
}

.about-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  will-change: transform;
}

.about-image-wrapper:hover img {
  transform: scale(1.06);
}

.about-badge-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 1.25rem 2rem;
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease;
}

.about-image-wrapper:hover .about-badge-card {
  transform: translateY(-4px);
}

.about-badge-card h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-gold);
}

.about-badge-card p {
  font-size: 0.85rem;
  color: var(--color-beige);
  letter-spacing: 1px;
}

.about-text-content p {
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   8. VISION AND MISSION
   -------------------------------------------------------------------------- */
.vision-mission-section {
  padding: 90px 0;
  background-color: #141414;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.vm-card {
  background-color: var(--color-card-dark);
  padding: 3.5rem 3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-gold);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.vm-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-gold);
}

.vm-card-tag {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.vm-card h3 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.vm-card p {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .vm-grid {
    grid-template-columns: 1fr;
  }
  .vm-card {
    padding: 2.5rem 2rem;
  }
}

/* --------------------------------------------------------------------------
   9. PROJECTS SHOWCASE SECTION & CARDS
   -------------------------------------------------------------------------- */
.projects-section {
  padding: 110px 0;
  background-color: var(--color-offwhite);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-category-card {
  position: relative;
  background-color: var(--color-card-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.project-category-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(212, 160, 23, 0.35);
  border-color: var(--color-gold);
}

.project-card-image {
  position: relative;
  height: 340px;
  overflow: hidden;
  background-color: var(--color-navy);
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.project-category-card:hover .project-card-image img {
  transform: scale(1.1);
}

.project-card-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-title {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: var(--color-white);
  transition: transform 0.4s ease;
}

.project-category-card:hover .project-card-title {
  transform: translateY(-2px);
}

.project-card-desc {
  color: var(--color-muted);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.project-card-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-gold);
  gap: 0.5rem;
  transition: color 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-category-card:hover .project-card-link {
  color: var(--color-gold-hover);
  transform: translateX(10px);
}

@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   10. FARM LAND PROJECTS PAGE & VIDEO HERO
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 160px 0 100px 0;
  background-color: #0A0A0A;
  color: var(--color-white);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.video-hero-container {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.8) 0%, rgba(5, 5, 5, 0.9) 100%);
  z-index: 2;
}

.video-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
}

.video-hero-content h1 {
  font-size: 3.5rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.video-hero-content p {
  font-size: 1.25rem;
  color: var(--color-beige);
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   11. PROJECT LISTINGS & CARDS
   -------------------------------------------------------------------------- */
.listings-section {
  padding: 90px 0;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

.listing-card {
  background-color: var(--color-card-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.listing-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-gold);
}

.listing-card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.listing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.listing-card:hover .listing-card-img img {
  transform: scale(1.1);
}

.listing-card-body {
  padding: 1.75rem;
}

.listing-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.listing-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.listing-location {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.listing-details-list {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-beige);
}

.listing-details-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

/* --------------------------------------------------------------------------
   12. PROJECT DETAILS & GALLERY LIGHTBOX
   -------------------------------------------------------------------------- */
.project-detail-header {
  padding: 150px 0 60px 0;
  background-color: #141414;
  border-bottom: 1px solid var(--color-border);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.spec-box {
  background-color: var(--color-card-dark);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.4s ease;
}

.spec-box:hover {
  transform: translateY(-4px);
}

.spec-box span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.spec-box strong {
  font-size: 1.15rem;
  color: var(--color-white);
}

.gallery-section {
  padding: 80px 0;
  background-color: var(--color-offwhite);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--color-gold);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.12);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-weight: 600;
  letter-spacing: 1px;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: rgba(5, 5, 5, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--color-white);
  font-size: 2.2rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--color-gold);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  z-index: 2001;
}

.lightbox-nav-btn:hover {
  background: var(--color-gold);
  color: #0F0F0F;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

.lightbox-counter {
  margin-top: 1rem;
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-close {
    top: 10px;
    right: 15px;
  }
}

/* Layout Map & Location Map Sections */
.layout-map-box, .location-map-box {
  background-color: var(--color-card-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  margin-top: 1.5rem;
  text-align: center;
}

.map-placeholder-container {
  min-height: 350px;
  background-color: #141414;
  border: 2px dashed var(--color-gold);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--color-muted);
}

.location-map h3 {
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   13. CONTACT / ENQUIRY SECTION & FORM
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 90px 0;
  background-color: #141414;
  border-top: 1px solid var(--color-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-detail-item {
  margin-bottom: 1.75rem;
}

.contact-detail-item h4 {
  font-size: 1.1rem;
  color: var(--color-gold);
  margin-bottom: 0.35rem;
}

.contact-detail-item p, .contact-detail-item a {
  font-size: 1.05rem;
  color: var(--color-white);
}

.contact-form-box {
  background-color: var(--color-card-dark);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-gold);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: #242424;
  color: var(--color-white);
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: #2A2A2A;
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: #0A0A0A;
  color: var(--color-white);
  padding: 80px 0 30px 0;
  border-top: 3px solid var(--color-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--color-muted);
  margin-top: 1.25rem;
  font-size: 0.95rem;
  max-width: 340px;
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: var(--color-muted);
  font-size: 0.95rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social a {
  color: var(--color-muted);
}

.footer-social a:hover {
  color: var(--color-gold);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   15. ACCESSIBILITY - REDUCED MOTION SUPPORT
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .mask-word-left, .mask-word-right {
    opacity: 1 !important;
    transform: none !important;
  }

  .cinematic-intro-overlay {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   16. CINEMATIC INTRO OVERLAY (YEMKAY REALTORS ADVANCED WORD REVEAL)
   -------------------------------------------------------------------------- */
.cinematic-intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #050505;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-brand-container {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1rem;
}

.intro-word-yemkay {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 8px;
  color: var(--color-gold);
  text-transform: uppercase;
  text-shadow: 0 0 35px rgba(212, 160, 23, 0.45);
  animation: introYemkaySlide 3.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-word-realtors {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 8px;
  color: var(--color-white);
  text-transform: uppercase;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.3);
  animation: introRealtorsSlide 3.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes introYemkaySlide {
  0% {
    opacity: 0;
    transform: translateX(-120px) scale(0.85);
    filter: blur(14px);
  }
  30% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0px);
  }
  70% {
    opacity: 1;
    transform: translateX(0) scale(1.03);
    filter: blur(0px);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
    filter: blur(20px);
  }
}

@keyframes introRealtorsSlide {
  0% {
    opacity: 0;
    transform: translateX(120px) scale(0.85);
    filter: blur(14px);
  }
  30% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0px);
  }
  70% {
    opacity: 1;
    transform: translateX(0) scale(1.03);
    filter: blur(0px);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
    filter: blur(20px);
  }
}

@media (max-width: 768px) {
  .intro-brand-container {
    flex-direction: column;
    gap: 0.5rem;
  }
  .intro-word-yemkay, .intro-word-realtors {
    font-size: 2.2rem;
    letter-spacing: 4px;
  }
}

/* --------------------------------------------------------------------------
   17. SHARED-ELEMENT PROJECT ZOOM-IN OVERLAY
   -------------------------------------------------------------------------- */
.project-zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  pointer-events: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95);
  background-color: var(--color-card-dark);
}

.project-zoom-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-zoom-overlay.zoomed-full {
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0 !important;
}

/* --------------------------------------------------------------------------
   18. AUTOMATIC WORD-SPLIT ANIMATION SYSTEM
   Elements with [data-word-split] get each word wrapped in a <span>
   that slides in from left/right/below when the container enters viewport.
   -------------------------------------------------------------------------- */
.word-split-container {
  overflow: hidden;
}

.split-word {
  display: inline-block;
  opacity: 0;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.split-word.from-left {
  transform: translateX(-80px);
}

.split-word.from-right {
  transform: translateX(80px);
}

.split-word.from-below {
  transform: translateY(60px);
}

/* When parent container gets .active from IntersectionObserver */
.word-split-container.active .split-word {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* --------------------------------------------------------------------------
   19. VILLA EXPERIENCE PAGE — 3D VIEWER & CINEMATIC TITLE
   -------------------------------------------------------------------------- */
.villa-viewer-section {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  background: radial-gradient(ellipse at center, #1A1A1A 0%, #0F0F0F 70%, #050505 100%);
  overflow: hidden;
}

.villa-canvas-container {
  width: 100%;
  height: 100%;
  cursor: grab;
}

.villa-canvas-container:active {
  cursor: grabbing;
}

.villa-canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.villa-drag-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.6rem 2rem;
  background: rgba(212, 160, 23, 0.12);
  border: 1px solid var(--color-gold);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--color-gold);
  text-transform: uppercase;
  pointer-events: none;
  z-index: 10;
  opacity: 1;
  transition: opacity 1s ease;
}

.villa-drag-hint.hidden {
  opacity: 0;
}

/* Villa cinematic title overlay on top of 3D scene */
.villa-title-overlay {
  position: absolute;
  top: 2rem;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
  pointer-events: none;
  padding: 0 1rem;
}

.villa-title-word {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 6px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
  will-change: transform, opacity;
}

.villa-word-yemkay {
  font-size: 3.2rem;
  color: var(--color-gold);
  animation: villaWordFromLeft 1.4s cubic-bezier(0.16, 1, 0.3, 1) 3.5s both;
}

.villa-word-luxury {
  font-size: 3.2rem;
  color: var(--color-white);
  margin: 0 0.8rem;
  animation: villaWordFromRight 1.4s cubic-bezier(0.16, 1, 0.3, 1) 3.7s both;
}

.villa-word-villa {
  font-size: 3.2rem;
  color: var(--color-beige);
  animation: villaWordFromBelow 1.4s cubic-bezier(0.16, 1, 0.3, 1) 3.9s both;
}

@keyframes villaWordFromLeft {
  0% { opacity: 0; transform: translateX(-120px); filter: blur(8px); }
  100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

@keyframes villaWordFromRight {
  0% { opacity: 0; transform: translateX(120px); filter: blur(8px); }
  100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

@keyframes villaWordFromBelow {
  0% { opacity: 0; transform: translateY(60px); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@media (max-width: 768px) {
  .villa-word-yemkay,
  .villa-word-luxury,
  .villa-word-villa {
    font-size: 1.8rem;
    letter-spacing: 3px;
  }

  .villa-viewer-section {
    height: 60vh;
    min-height: 400px;
  }

  .villa-title-overlay {
    top: 1rem;
  }
}

/* --------------------------------------------------------------------------
   20. HERO SUBTITLE BADGE — used on non-index page heroes
   -------------------------------------------------------------------------- */
.hero-subtitle-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--color-gold-hover);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding: 0.4rem 1rem;
  background-color: rgba(212, 160, 23, 0.12);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-sm);
}

/* =========================================
   FARM LAND PAGE FIX
========================================= */

.video-hero-container {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Keep video properly inside hero */

.hero-video-bg {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}


/* Overlay */

.video-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;
}


/* Text above video */

.video-hero-content {
    position: relative;

    z-index: 2;
}

/* LOGO IN NAVBAR */

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

.logo img {
    width: 140px;
    height: auto;
    display: block;
}

/* BLEND HERO LOGO INTO BACKGROUND */

.hero-main-logo {
     width: min(650px, 100%);
    height: auto;
    display: block;
    object-fit: contain;

    opacity: 0.95;

    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.18));
}


/* ==========================================
   AAMBAL PROJECT HERO
   ========================================== */

.hero-project-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  object-position: center -50%;
}

.video-hero-container {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.video-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Farm Land Projects Hero Background */

.farm-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.video-hero-container {
  position: relative;
  overflow: hidden;
}

/* ==========================================
   AAMBAL GALLERY
   ========================================== */

.aambal-gallery-section {
  padding: 100px 0;
  background: var(--color-dark);
}

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

.gallery-heading p {
  color: var(--color-muted);
  line-height: 1.8;
  margin-top: 15px;
}

/* Gallery Grid */
.aambal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}

/* Gallery Images */
.aambal-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.aambal-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Large Image */
.gallery-large {
  grid-column: span 1;
  grid-row: span 1;
}

/* Wide Image */
.gallery-wide {
  grid-column: span 1;
}

/* Hover Zoom */
.aambal-gallery-item:hover img {
  transform: scale(1.08);
}

/* Dark Overlay */
.aambal-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
}

.aambal-gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

/* Mobile */
@media (max-width: 768px) {

  .aambal-gallery-section {
    padding: 70px 0;
  }

  .aambal-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery-large,
  .gallery-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

}
/* ==========================================
   AAMBAL TEXT AMENITIES
   ========================================== */

.aambal-amenities-section {
  padding: 100px 0;
  background: var(--color-dark);
}

.amenities-heading {
  max-width: none;
  margin: 0 0 45px;
  text-align: left;
}

.amenities-heading .section-title {
  text-align: left;
}

.amenities-heading p {
  max-width: 700px;
  text-align: left;
}

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

.amenity-card {
  position: relative;
  padding: 35px 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 240px;
  transition: transform 0.4s ease,
              background 0.4s ease,
              border-color 0.4s ease;
}

.amenity-number {
  display: block;
  color: var(--color-gold);
  font-size: 0.8rem;
  letter-spacing: 3px;
  margin-bottom: 45px;
}

.amenity-card h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.amenity-card p {
  color: var(--color-muted);
  line-height: 1.7;
}

.amenity-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-gold);
}

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

@media (max-width: 600px) {
  .aambal-amenities-section {
    padding: 70px 0;
  }

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

/* Reduce space between Gallery and Amenities */

.aambal-gallery-section {
  padding-bottom: 40px;
}

.aambal-amenities-section {
  padding: 50px 0 90px;
  background: var(--color-dark);
}

/* ==========================================
   AAMBAL TEXT AMENITIES
========================================== */

.aambal-amenities-section {
  padding: 50px 0 90px;
  background: var(--color-light);
}

.amenities-heading {
  max-width: 700px;
  margin-bottom: 3rem;
}

.amenities-heading p {
  color: var(--color-muted);
  line-height: 1.7;
  margin-top: 1rem;
}

.amenities-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;

  background: rgba(255, 255, 255, 0.04);
  color: white;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;

  padding: 40px 45px;
}
.amenities-column-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-dark);
}

.amenities-line {
  width: 100%;
  height: 1px;
  background: #D4A017;
  margin: 12px 0 25px;
}

.amenities-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
}
.amenity-text-item {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  padding: 3px 0;
  min-height: auto;
  color: rgba(255, 255, 255, 0.85);
}

.amenity-text-item::before {
  content: "•";
  color: #D4A017;
  font-size: 20px;
  margin-right: 10px;
}

.amenity-text-item {
  min-height: 130px;
  padding: 2rem 1.5rem;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;

  color: var(--color-dark);

  border-right: 1px solid rgba(180, 140, 40, 0.35);
  border-bottom: 1px solid rgba(180, 140, 40, 0.35);

  transition: 
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease;
}
.amenity-text-item {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  padding: 7px 0;
  color: var(--color-dark);
}

.amenity-text-item::before {
  content: "•";
  color: #D4A017;
  font-size: 24px;
  margin-right: 12px;
}
/* Amenities - Bullet Style */
.amenity-text-item::before {
  content: "•";
  margin-right: 12px;
  color: #D4A017;
  font-size: 22px;
}

@media (max-width: 700px) {
  .amenities-text-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 30px 25px;
  }
}

/* ==========================================
   FINAL AMENITIES + HIGHLIGHTS OVERRIDE
   ========================================== */

.aambal-amenities-section {
  background: var(--color-dark) !important;
}

.amenities-text-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 60px !important;

  background: rgba(255, 255, 255, 0.04) !important;
  padding: 40px !important;

  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
}

/* Column */
.amenities-column {
  width: 100%;
}

/* Heading */
.amenities-column-title {
  color: white !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-align: left !important;
}

/* Straight gold line */
.amenities-line {
  width: 100% !important;
  height: 1px !important;
  background: #D4A017 !important;
  margin: 10px 0 18px !important;
}

/* LIST */
.amenities-list {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
}

/* EACH BULLET */
.amenities-list .amenity-text-item {
  display: block !important;

  min-height: 0 !important;
  height: auto !important;

  margin: 0 !important;
  padding: 4px 0 !important;

  border: none !important;

  background: transparent !important;

  color: rgba(255, 255, 255, 0.85) !important;

  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;

  text-align: left !important;

  transform: none !important;
}

/* GOLD BULLET */
.amenities-list .amenity-text-item::before {
  content: "•" !important;

  color: #D4A017 !important;
  font-size: 20px !important;

  margin-right: 10px !important;
}

/* Remove old hover effect */
.amenities-list .amenity-text-item:hover {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.85) !important;
  transform: none !important;
}

/* MOBILE */
@media (max-width: 700px) {
  .amenities-text-grid {
    grid-template-columns: 1fr !important;
    gap: 45px !important;
    padding: 30px !important;
  }
}

/* ==========================================
   AAMBAL LOCATION & CONNECTIVITY
========================================== */

.aambal-location-section {
   padding: 30px 0 5px;
  background: var(--color-dark);
}


/* Heading */

.location-heading {
  max-width: 750px;
  margin-bottom: 60px;
}

.location-heading .section-title {
  color: rgb(7, 7, 7);
  margin-top: 12px;
}

.location-heading p {
  color: var(--color-muted);
  line-height: 1.8;
  margin-top: 18px;
}


/* Main Layout */

.location-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
}


/* Column Heading */

.location-column-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
}


.location-line {
  width: 100%;
  height: 1px;
  background: #D4A017;
  margin: 12px 0 25px;
}


/* Locations */

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 35px;
}


.location-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}


.location-item strong {
  color: #D4A017;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-left: 15px;
  white-space: nowrap;
}


/* Map Box */

.map-placeholder {
    min-height: 300px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  padding: 25px;

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}


.map-pin {
  font-size: 2.5rem;
  margin-bottom: 20px;
}


.map-placeholder h3 {
  color: white;
  letter-spacing: 2px;
  font-size: 1.1rem;
}


.map-placeholder p {
  color: var(--color-muted);
  line-height: 1.7;
  margin: 15px 0 30px;
}


.map-button {
  display: inline-block;

  padding: 13px 22px;

  border: 1px solid #D4A017;

  color: #D4A017;

  text-decoration: none;

  font-size: 0.8rem;
  letter-spacing: 1px;

  transition: all 0.3s ease;
}


.map-button:hover {
  background: #D4A017;
  color: #111;
}


/* Tablet */

@media (max-width: 900px) {

  .location-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .map-placeholder {
    min-height: 350px;
  }

}


/* Mobile */

@media (max-width: 600px) {

  .aambal-location-section {
    padding: 70px 0;
  }

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

  .location-heading {
    margin-bottom: 40px;
  }

  .location-item {
    padding: 13px 0;
  }

}

.map-placeholder {
  padding: 0;
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 300px;
  display: block;
  border: none;
}

/* ==========================================
   GALLERY FULLSCREEN VIEW
========================================== */

.aambal-gallery-item {
  cursor: pointer;
}

/* Fullscreen overlay */
.gallery-lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.gallery-lightbox.active {
  display: flex;
}

.gallery-lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 45px;
  cursor: pointer;
  z-index: 100000;
}

.aambal-gallery-item {
  cursor: pointer;
}

/* ==========================================
   AAMBAL - ONE LAND MULTIPLE POSSIBILITIES
========================================== */

.aambal-possibilities-section {
  padding: 100px 0;
  background: black;
  color: white;
}


/* Heading */

.possibilities-heading {
  max-width: 750px;
  margin-bottom: 60px;
}

.possibilities-heading .section-title {
  color: white;
  margin-top: 12px;
}

.possibilities-heading p {
  color: var(--color-muted);
  line-height: 1.8;
  margin-top: 18px;
}


/* Cards */

.possibilities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}


.possibility-card {
  position: relative;

  min-height: 330px;

  padding: 32px 28px;

  background: white;

  border: 1px solid rgba(0, 0, 0, 0.1);

  transition:
    transform 0.4s ease,
    background 0.4s ease,
    border-color 0.4s ease;
}


/* Number */

.possibility-number {
  display: block;

  color: #D4A017;

  font-size: 0.8rem;

  letter-spacing: 3px;

  margin-bottom: 45px;
}


/* Icon */

.possibility-icon {
  font-size: 2rem;

  margin-bottom: 22px;
}


/* Title */

.possibility-card h3 {
  color: white;

  font-size: 1.2rem;

  letter-spacing: 1px;

  margin-bottom: 15px;
}


/* Description */

.possibility-card p {
  color: var(--color-muted);

  line-height: 1.7;

  font-size: 0.95rem;
}


/* Hover */

.possibility-card:hover {
  transform: translateY(-10px);

  background: var(--color-dark);

  border-color: #D4A017;
}


.possibility-card:hover h3 {
  color: white;
}


.possibility-card:hover p {
  color: rgba(255, 255, 255, 0.65);
}


/* Tablet */

@media (max-width: 1000px) {

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

}


/* Mobile */

@media (max-width: 600px) {

  .aambal-possibilities-section {
    padding: 100px 0;
  background: var(--color-dark);
  }

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

  .possibility-card {
     background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
}

/* FORCE DARK POSSIBILITIES CARDS */

.aambal-possibilities-section .possibility-card {
  background: #111 !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.aambal-possibilities-section .possibility-card h3 {
  color: white !important;
}

.aambal-possibilities-section .possibility-card p {
  color: rgba(255, 255, 255, 0.65) !important;
}

.aambal-location-section .section-title {
  color: white !important;
}

.video-hero-content .section-subtitle {
  font-size: 1.4rem;
  letter-spacing: 7px;
  font-weight: 700;
}
/* ==========================================
   AAMBAL VIDEO SECTION
========================================== */

.aambal-video-section {
  padding: 80px 0;
  background: var(--color-light);
}


/* ==========================================
   VIDEO HEADING
========================================== */

.video-section-heading {
  max-width: 750px;
  margin-bottom: 45px;
}


.video-section-heading .section-title {
  color: var(--color-dark);
  margin-top: 12px;
}


.video-section-heading p {
  color: var(--color-muted);
  line-height: 1.8;
  margin-top: 18px;
}


/* ==========================================
   VIDEO WRAPPER
========================================== */

.aambal-video-wrapper {
  width: 100%;
  max-width: 1000px;

  margin: 0 auto;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: 12px;

  background: #000;
}


/* ==========================================
   VIDEO
========================================== */

.aambal-video-wrapper video {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  border: none;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

  .aambal-video-section {
    padding: 60px 0;
  }

  .video-section-heading {
    margin-bottom: 30px;
  }

}

/* CONTACT INFO BELOW BUTTON */

.aambal-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;

  margin-top: 28px;
}

.aambal-contact-item {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
}

.aambal-contact-item span {
  color: var(--color-gold);
  font-weight: 600;
  margin-right: 6px;
}


/* SOCIAL LINKS */

.aambal-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;

  margin-top: 20px;
}

.aambal-social-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;

  font-size: 0.9rem;
  letter-spacing: 1px;

  transition: color 0.3s ease;
}

.aambal-social-links a:hover {
  color: var(--color-gold);
}


/* MOBILE */

@media (max-width: 600px) {

  .aambal-contact-info {
    flex-direction: column;
    gap: 12px;
  }

  .aambal-social-links {
    gap: 15px;
  }

}

/* ==========================================
   ENQUIRY POPUP
========================================== */

.enquiry-modal {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;

  background: rgba(0, 0, 0, 0.75);

  z-index: 9999;

  align-items: center;
  justify-content: center;

  padding: 20px;
  overflow-y: auto;
}


/* When popup is open */

.enquiry-modal.active {
  display: flex;
}


/* POPUP BOX */

.enquiry-box {
  position: relative;

  width: 100%;
  max-width: 600px;

  background: #151515;

  padding: 45px;

  border: 1px solid #d4a017;

  color: white;

  border-radius: 8px;

  max-height: 90vh;
  overflow-y: auto;
}


/* CLOSE BUTTON */

.close-enquiry {
  position: absolute;

  top: 15px;
  right: 20px;

  background: transparent;
  border: none;

  color: white;

  font-size: 32px;

  cursor: pointer;
}


/* FORM */

.enquiry-form {
  display: flex;
  flex-direction: column;

  gap: 15px;

  margin-top: 25px;
}


.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;

  padding: 14px;

  background: #222;

  border: 1px solid #444;

  color: white;

  font-size: 15px;

  outline: none;
}


.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: #d4a017;
}


/* CONTACT INFO */

.enquiry-contact {
  display: flex;

  gap: 50px;

  margin-top: 30px;

  padding-top: 20px;

  border-top: 1px solid #333;
}


.enquiry-contact div {
  display: flex;
  flex-direction: column;

  gap: 5px;
}


.enquiry-contact span {
  color: #d4a017;

  font-size: 11px;

  letter-spacing: 1px;
}


.enquiry-contact strong {
  color: white;
}


/* SOCIAL LINKS */

.enquiry-social {
  display: flex;

  flex-wrap: wrap;

  gap: 20px;

  margin-top: 25px;

  padding-top: 20px;

  border-top: 1px solid #333;
}


.enquiry-social a {
  color: #bbb;

  text-decoration: none;

  transition: 0.3s;
}


.enquiry-social a:hover {
  color: #d4a017;
}


/* MOBILE */

@media (max-width: 600px) {

  .enquiry-box {
    padding: 30px 20px;
  }

  .enquiry-contact {
    flex-direction: column;

    gap: 15px;
  }

}

.project-cta-title span {
  display: block;
  margin-bottom: 1rem;
}

.project-cta-title span:last-child {
  margin-bottom: 0;
}

.project-cta-title {
  margin-bottom: 2rem;
}

.project-cta-description {
  margin-bottom: 2.5rem;
}

/* AMAYA LOCATION SECTION FIX */
.location-item {
  font-size: 0.85rem;
}

/* AMAYA LOCATION SECTION */
.amaya-location-section .location-item {
  font-size: 0.85rem;
}

.amaya-location-section .location-item span {
  font-size: 1.2rem;
}

.amaya-location-section .location-item strong {
  font-size: 1rem;
}

/* ==========================================
   AMAYA LOCATION SECTION FIX
========================================== */

.amaya-location-section .location-content {
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.amaya-location-section .nearby-locations,
.amaya-location-section .location-map {
  min-width: 0;
}

.amaya-location-section .location-map {
  margin-top: 0;
}

.amaya-location-section .locations-grid {
  gap: 0 20px;
}

@media (max-width: 600px) {
  .amaya-location-section .location-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* AMAYA POSSIBILITIES SECTION SPACING */
.amaya-possibilities-section {
  margin-top: 10px;
}

/* AMAYA POSSIBILITIES SECTION BACKGROUND FIX */
.amaya-possibilities-section {
  background: transparent;
}

.contact-section {
  margin-top: 60px;
}

.contact-section {
  background: transparent !important;
}

.site-map-section {
  padding: 80px 0;
}

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

.site-map-image {
  width: 75%;
  max-width: 900px;
  margin: 0 auto;
}

.site-map-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
}

.site-map-clickable {
  cursor: pointer;
}

.site-map-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.site-map-lightbox.active {
  display: flex;
}

.site-map-lightbox-img {
  max-width: 95%;
  max-height: 90vh;
  object-fit: contain;
}

.site-map-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 45px;
  cursor: pointer;
  line-height: 1;
}

.site-map-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 25px;
  flex-wrap: wrap;
}

.site-map-images .site-map-image {
  width: 48%;
}

.site-map-images .site-map-image img {
  width: 100%;
  height: auto;
  display: block;
}

.site-map-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.site-map-images .site-map-image {
  width: calc(50% - 12.5px);
  margin: 0;
}

.site-map-images .site-map-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .site-map-images {
    flex-direction: column;
  }

  .site-map-images .site-map-image {
    width: 75%;
  }
}

.site-map-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 25px;
}

.site-map-images .site-map-image {
  width: 48%;
  margin: 0;
}

.site-map-images .site-map-image img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}


/* MOBILE */
@media (max-width: 768px) {
  .site-map-images {
    flex-direction: column;
    align-items: center;
  }

  .site-map-images .site-map-image {
    width: 80%;
  }
}

/* ==========================================
   ENQUIRY FORM FIX
========================================== */

.enquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.enquiry-form input[name="name"],
.enquiry-form input[name="phone"],
.enquiry-form textarea,
.enquiry-form button {
  grid-column: 1 / -1;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  box-sizing: border-box;
}

/* Mobile */
@media (max-width: 600px) {
  .enquiry-form {
    grid-template-columns: 1fr;
  }

  .enquiry-form input,
  .enquiry-form select,
  .enquiry-form textarea,
  .enquiry-form button {
    grid-column: 1 / -1;
  }
}

/* FORCE ENQUIRY FORM LAYOUT */

.enquiry-form {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
}

.enquiry-form input[name="name"],
.enquiry-form input[name="phone"],
.enquiry-form textarea {
  width: 100% !important;
  flex: 0 0 100% !important;
}

.enquiry-form input[name="email"],
.enquiry-form select[name="interest"] {
  width: calc(50% - 9px) !important;
  flex: 0 0 calc(50% - 9px) !important;
}

.enquiry-form button {
  width: auto !important;
  flex: none !important;
}

.residential-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url("images/residential-hero.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.residential-hero-content {
  position: relative;
  z-index: 2;
}

.residential-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  background-size: cover !important;
  background-position: center center;
  background-repeat: no-repeat;
}

.residential-hero .hero-overlay {
  position: absolute;
  inset: 100;
  background: rgba(0, 0, 0, 0.45);
}

.page-hero.residential-hero {
  position: relative !important;
  overflow: hidden !important;
}

.page-hero.residential-hero::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.65)
  ) !important;
  z-index: 1 !important;
}

.page-hero.residential-hero .residential-hero-content {
  position: relative !important;
  z-index: 2 !important;
}

.aambal-video-wrapper {
  width: 100%;
  height: 650px;
  overflow: hidden;
  border-radius: 16px;
  background: black;
}

.township-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {

  .location-map-box {
    width: 100%;
    box-sizing: border-box;
  }

  .location-map-box iframe {
    width: 100% !important;
    max-width: 100%;
  }

}