
  /* Import custom font */
  @font-face {
    font-family: 'The Last Shuriken';
    src: url('fonts/TheLastShuriken.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  :root{
    --nav-height: 72px;
    --cta-bg: #10242f;
    --cta-hover: #0d3342;
    --text-light: #f6fbff;
  }

  *{box-sizing:border-box}
  html,body{height:100%;margin:0;font-family: Arial, sans-serif;}
  a{color:inherit;text-decoration:none}

  /* Top navigation bar */
  .site-nav {
    position: absolute;
    left:0; right:0;
    top:0;
    height: var(--nav-height);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 0 36px;
    z-index: 40;
  }
  .logo {
    font-weight:700; color:var(--text-light);
    letter-spacing:1px;
  }
  .nav-right {
    display:flex; align-items:center; gap:26px;
    font-size:15px;
  }
  .nav-right a {
    color:var(--text-light);
    opacity:0.95;
    padding:8px 6px;
    position:relative;
    font-weight:500;
  }
  .nav-right a.active::after{
    content:"";
    position:absolute;
    height:3px;
    width:34px;
    left:50%;
    transform:translateX(-50%);
    bottom:-12px;
    background:rgba(255,255,255,0.9);
    border-radius:2px;
  }

  /* HERO container */
  .hero {
    position:relative;
    width:100%;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--text-light);
    text-align:center;
  }

  .hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background-position:center right;
    background-repeat:no-repeat;
    background-size:cover;
  }
  .hero::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(180deg, rgba(6,24,34,0.75) 0%, rgba(6,24,34,0.0) 65%);
  }

  .hero-inner{
    position:relative;
    z-index:5;
    max-width:1150px;
    padding: 110px 24px 60px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:18px;
  }

  .eyebrow {
    font-weight:500;
    letter-spacing:2px;
    text-transform:uppercase;
    opacity:0.9;
    font-size:13px;
  }

  .hero-title{
    font-family: 'The Last Shuriken', sans-serif;
    margin:0;
    line-height:1.1;
    font-size: clamp(34px, 6vw, 72px);
    text-transform:uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 0 rgba(0,0,0,0.18);
  }

  .hero-sub {
    font-weight:600;
    margin:0;
    font-size: clamp(16px, 2.2vw, 22px);
    letter-spacing:1px;
    text-transform:uppercase;
    opacity:0.95;
  }

  .btn {
    display:inline-block;
    background:var(--cta-bg);
    color:var(--text-light);
    padding: 12px 22px;
    border-radius:10px;
    font-weight:600;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 6px 14px rgba(3,20,30,0.28);
    transition: transform .18s ease, background .18s ease;
    margin-top: -542px;
  }
  .btn:hover{ transform:translateY(-2px); background:var(--cta-hover); }

  @media (min-width: 992px) {
    .hero { height: 1000px; }
    .hero::before{
      background-image: url("images/dbbanner.jpg");
    }
    .hero-inner{ padding-top: 160px; }
  }
  @media (max-width: 767px) {
    .site-nav { padding: 8px 18px; height:64px; }
    .hero { height: 1200px; }
    .hero::before{
      background-image: url("images/ekamoimbbanner.jpg");
      background-position: center top;
    }
    .hero-inner{ padding-top: 92px; }
    .hero-title { font-size: clamp(28px, 8vw, 48px); }
  }
    /* Custom font for headline */
    @font-face {
      font-family: 'The Last Shuriken';
      src: url('fonts/TheLastShuriken.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
      font-display: swap;
    }


    .mobile-toggle { position: absolute; left: -9999px; }

/* keep label visually in header area using absolute positioning */
.mobile-toggle-button{
  position: absolute;
  right: 18px;
  top: 10px;
  display: none;                /* shown only on mobile breakpoint */
  width:56px; height:56px;
  border-radius:10px;
  background: rgba(11,43,58,0.9);
  box-shadow: 0 8px 26px rgba(3,20,30,0.35);
  display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer;
  z-index:9999; /* ensure above hero */
}

/* hamburger bars */
.hamburger { width:34px; height:22px; position:relative; display:inline-block; }
.bar { position:absolute; left:0; right:0; height:3px; background:#fff; border-radius:6px; transform-origin:center; transition: transform .36s cubic-bezier(.2,.9,.2,1), opacity .22s ease, top .22s ease; }
.bar1 { top:0; }
.bar2 { top:9px; }
.bar3 { top:18px; }

/* Desktop header (your existing styles) */
.site-nav {
  position: absolute;
  left:0; right:0;
  top:0;
  height: var(--nav-height);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 36px;
  z-index: 40;
}
.logo {
  font-weight:700; color:var(--text-light);
  letter-spacing:1px;
}
.nav-right {
  display:flex; align-items:center; gap:26px;
  font-size:15px;
}
.nav-right a {
  color:var(--text-light);
  opacity:0.95;
  padding:8px 6px;
  position:relative;
  font-weight:500;
}
.nav-right a.active::after{
  content:"";
  position:absolute;
  height:3px;
  width:34px;
  left:50%;
  transform:translateX(-50%);
  bottom:-12px;
  background:rgba(255,255,255,0.9);
  border-radius:2px;
}

/* MOBILE MENU (overlay) */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

/* overlay background */
.mobile-menu::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(6,20,30,0.92), rgba(6,20,30,0.86));
  backdrop-filter: blur(6px);
  transition: opacity .36s ease, transform .4s cubic-bezier(.2,.9,.2,1);
  transform: scale(1.02);
  opacity: 0;
}

/* menu panel */
.mobile-menu-list {
  position: relative;
  z-index: 95;
  margin-top: 12vh;
  list-style:none;
  padding: 28px;
  width: min(92%, 420px);
  display:flex;
  flex-direction:column;
  gap:18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border-radius:12px;
  box-shadow: 0 24px 70px rgba(3,20,30,0.5);
  transform: translateY(12px) scale(.98);
  transition: transform .42s cubic-bezier(.2,.9,.2,1);
  pointer-events: auto;
}

/* mobile links */
.mobile-menu-list a {
  color: #fff;
  text-decoration:none;
  padding: 12px 6px;
  display:block;
  font-weight:700;
  font-size:18px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .34s ease, transform .34s ease;
}

/* CTA inside mobile menu */
.mobile-cta { display:flex; justify-content:center; margin-top:6px; }
.mobile-btn {
  background: #fff; color: var(--cta-bg); padding: 10px 18px; border-radius:8px; font-weight:700; text-decoration:none;
  box-shadow: 0 8px 22px rgba(2,12,20,0.24);
  opacity:0; transform: translateY(10px); transition: opacity .34s ease, transform .34s ease;
}

/* Close icon inside the menu */
.mobile-close {
  position:absolute; right:18px; top:12px;
  font-size:36px; line-height:1;
  color:#fff; cursor:pointer;
  background: transparent; border:none;
  padding:6px 10px; border-radius:8px; z-index:96;
  transition: transform .16s ease;
}

/* Toggle animations: hamburger -> close */
.mobile-toggle:checked + .mobile-toggle-button .bar1 {
  transform: translateY(9px) rotate(45deg);
  top:9px;
}
.mobile-toggle:checked + .mobile-toggle-button .bar2 {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle:checked + .mobile-toggle-button .bar3 {
  transform: translateY(-9px) rotate(-45deg);
  top:9px;
}

/* show overlay + panel when checked (note: "~" targets following siblings) */
.mobile-toggle:checked ~ .mobile-menu { pointer-events:auto; opacity:1; }
.mobile-toggle:checked ~ .mobile-menu::before { opacity:1; transform: scale(1); }

/* reveal menu panel */
.mobile-toggle:checked ~ .mobile-menu .mobile-menu-list { transform: translateY(0) scale(1); }

/* stagger reveal menu items */
.mobile-toggle:checked ~ .mobile-menu .mobile-menu-list a{ opacity:1; transform: translateY(0); }
.mobile-toggle:checked ~ .mobile-menu .mobile-menu-list a:nth-child(1){ transition-delay:.06s; }
.mobile-toggle:checked ~ .mobile-menu .mobile-menu-list a:nth-child(2){ transition-delay:.12s; }
.mobile-toggle:checked ~ .mobile-menu .mobile-menu-list a:nth-child(3){ transition-delay:.18s; }
.mobile-toggle:checked ~ .mobile-menu .mobile-menu-list a:nth-child(4){ transition-delay:.24s; }
.mobile-toggle:checked ~ .mobile-menu .mobile-menu-list a:nth-child(5){ transition-delay:.30s; }
.mobile-toggle:checked ~ .mobile-menu .mobile-menu-list .mobile-btn{ opacity:1; transform: translateY(0); transition-delay:.36s; }

/* responsive rules */
@media (max-width: 767px){
  .nav-right { display: none; }              /* hide desktop nav */
  .mobile-toggle-button { display: inline-flex; } /* show hamburger */
  /* position label above header so it visually appears inside header */
  .mobile-toggle-button { top: 12px; right: 14px; }
}
@media (min-width: 768px){
  .mobile-menu { display:none; }
  .mobile-toggle-button { display:none; }
}

/* accessibility polish */
.mobile-toggle-button:focus, .mobile-close:focus { outline: 3px solid rgba(255,255,255,0.08); outline-offset:4px; border-radius:8px; }
.mobile-close:active { transform: scale(.98); }

    /* Body font fallback */
    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

    :root{
      --bg: #f5efe7;            /* soft beige background like screenshot */
      --text-deep: #0f2a36;     /* deep navy for headings */
      --muted: #5b6a72;         /* muted paragraph color */
      --max-width: 920px;       /* content width */
    }

    /* *{box-sizing:border-box}
    html,body{height:100%;margin:0;background:var(--bg);font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;}
    a{color:inherit} */

    /* Section wrapper */
    .about-section {
      position: relative;
      overflow: hidden;
      padding: 72px 18px 40px;
      display:flex;
      justify-content:center;
      align-items:flex-start;
      text-align:center;
    }

    /* background illustration pinned to bottom */
    .about-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-repeat: no-repeat;
      background-position: center bottom;
      background-size: contain; /* contain keeps line-art visible */
      opacity: 1;
      transform-origin: bottom center;
    }

    /* darken/soften overlay to ensure text readability (very subtle) */
    .about-overlay{
      position:absolute; inset:0; z-index:1;
      background: linear-gradient(180deg, rgba(245,239,231,0.0) 0%, rgba(245,239,231,0.95) 62%);
      pointer-events:none;
    }

    /* Content */
    .about-inner {
      position: relative;
      z-index: 5;
      width:100%;
      max-width: var(--max-width);
      margin: 0 auto;
      display:flex;
      flex-direction:column;
      align-items:center;
      gap:20px;
      padding-top: 8px;
    }

    .about-title {
      font-family: 'The Last Shuriken', 'Inter', sans-serif;
      font-weight: 400;
      color: var(--text-deep);
      font-size: clamp(30px, 4.6vw, 48px);
      letter-spacing: 1px;
      text-transform: uppercase;
      line-height: 1.02;
      margin: 8px 0 6px;
    }

    /* decorative underline */
    .title-decor {
      display:flex; align-items:center; gap:12px; margin-bottom:6px;
    }
    .title-decor .line {
      height:3px; width:110px; border-radius:2px;
      background: linear-gradient(90deg, rgba(15,42,54,0.9), rgba(15,42,54,0.55));
    }
    .title-decor .dot {
      width:34px; height:8px; border-radius:8px; background: rgba(15,42,54,0.12);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.26);
    }

    /* Section wrapper */
    .about-section {
      position: relative;
      overflow: hidden;
      /* keep a good minimum height so the artwork can show fully */
      min-height: 560px;
      display:flex;
      justify-content:center;
      align-items:flex-start;
      text-align:center;
    }

    /* background illustration pinned to bottom and covers entire section */
    .about-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-repeat: no-repeat;
      background-position: center bottom;
      background-size: cover; /* COVER fills section */
      transform-origin: bottom center;
      /* subtle smoothing to keep the line-art clear */
      image-rendering: -webkit-optimize-contrast;
    }

    /* overlay kept very subtle so artwork is vivid */
    .about-overlay{
      position:absolute; inset:0; z-index:1;
      background: linear-gradient(180deg, rgba(245,239,231,0.0) 0%, rgba(245,239,231,0.9) 84%);
      pointer-events:none;
    }

    /* Content */
    .about-inner {
      position: relative;
      z-index: 5;
      width:100%;
      max-width: var(--max-width);
      margin: 0 auto;
      display:flex;
      flex-direction:column;
      align-items:center;
      gap:18px;
      padding: 18px;
      /* move the content slightly upwards to overlap the artwork */
      transform: translateY(-6vh);
    }

    .about-title {
      font-family: 'The Last Shuriken', 'Inter', sans-serif;
      font-weight: 400;
      color: var(--text-deep);
      font-size: clamp(30px, 4.6vw, 48px);
      letter-spacing: 1px;
      text-transform: uppercase;
      line-height: 1.02;
      margin: 8px 0 6px;
    }

    .title-decor {
      display:flex; align-items:center; gap:12px; margin-bottom:6px;
    }
    .title-decor .line {
      height:3px; width:110px; border-radius:2px;
      background: linear-gradient(90deg, rgba(15,42,54,0.9), rgba(15,42,54,0.55));
    }
    .title-decor .dot {
      width:34px; height:8px; border-radius:8px; background: rgba(15,42,54,0.12);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.26);
    }

    .about-sub {
      color: var(--text-deep);
      font-weight: 600;
      font-size: clamp(15px, 1.8vw, 18px);
      margin: 6px 0 8px;
    }

    .about-body {
      color: var(--muted);
      font-size: 15px;
      line-height: 1.72;
      max-width: 820px;
      margin: 0 auto;
      padding: 0 12px;
      background: rgba(245,239,231,0.0); /* transparent, in case you want a subtle box later */
    }

    /* responsive adjustments */
    @media (min-width: 1200px) {
      .about-section { min-height: 640px; padding: 36px 0 36px; }
      .about-bg {
        background-image: url('images/about.jpg'); /* desktop artwork */
        background-position: center 82%;
      }
      .about-inner { transform: translateY(-8vh); } /* lift a bit more on wide screens */
    }

    @media (min-width: 992px) and (max-width:1199px) {
      .about-section { min-height: 600px; }
      .about-bg {
        background-image: url('assets/about.jpg');
        background-position: center 84%;
      }
      .about-inner { transform: translateY(-7vh); }
    }

    @media (min-width: 768px) and (max-width:991px) {
      .about-section { min-height: 560px; padding-bottom: 32px; }
      .about-bg {
        background-image: url('images/about.jpg');
        background-position: center 88%;
      }
      .about-inner { transform: translateY(-6vh); padding: 0 18px; }
    }

    @media (max-width: 767px) {
      /* on mobile we keep the artwork filling whole section; allow taller area to show */
      .about-section { min-height: 720px; padding-bottom: 20px; }
      .about-bg {
        background-image: url('images/aboutmb.jpg'); /* mobile crop */
        background-position: center 92%;
        background-size: cover;
      }
      .about-inner { transform: translateY(-4vh); padding: 0 14px; }
      .about-title { font-size: clamp(22px, 7.4vw, 32px); }
      .title-decor .line { width: 80px; }
      .about-body { font-size:14px; }
    }

    @media (max-width: 360px) {
      .about-inner { transform: translateY(-3.2vh); }
      .about-title { font-size: 20px; }
      .about-body { font-size: 13px; }
    }

    .amenities-block{
    --deep:#081f2b;       /* dark blue like your header strip */
    --ink:#eae7df;        /* soft-beige text shadow tone */
    --sub:#cfd6db;        /* subtitle color */
    --radius:18px;
    overflow:hidden;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    background:#000; /* fallback under image */
  }

  .amenities-top{
    position:relative;
    text-align:center;
    padding: 34px 18px 22px;
    color:#fff;
    background: var(--deep);
    /* subtle geometric pattern */
    --p: radial-gradient(circle at 25% 25%, rgba(255,255,255,.06) 1px, transparent 1px) 0 0/26px 26px,
         radial-gradient(circle at 75% 75%, rgba(255,255,255,.05) 1px, transparent 1px) 0 0/26px 26px;
    background-image: var(--p);
  }

  .amenities-top h2{
    margin:0 0 6px;
    font-family:"The Last Shuriken", system-ui, sans-serif;
    text-transform:uppercase;
    letter-spacing:.5px;
    line-height:1.05;
    font-size: clamp(26px, 4.4vw, 48px);
    text-shadow: 0 2px 0 rgba(0,0,0,.25);
  }

  .amenities-sub{
    margin:0;
    color:var(--sub);
    font-weight:600;
    font-size: clamp(13px, 1.6vw, 18px);
  }

  .amenities-media{
    margin:0;
    display:block;
    line-height:0;
    background:#000;
  }

  .amenities-media img{
    display:block;
    width:100%;
    height:auto;           /* keep your image ratio */
    object-fit:cover;      /* ensures full bleed if a fixed height is set later */
  }

  /* Optional: tighten on very small screens */
  @media (max-width: 480px){
    .amenities-top{ padding: 26px 14px 18px; }
  }

  /* Scoped to .amenities-hero so styles don't leak */
  .amenities-hero { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }

  /* Top patterned strip */
  .amenities-top {
    background: #0f3142; /* deep navy */
    color: #ffffff;
    padding: 20px 12px;
    position: relative;
    overflow: hidden;
  }

  /* subtle pattern using radial gradients */
  .amenities-top::before{
    content:"";
    position:absolute; inset:0;
    opacity:0.06;
    background-image:
      radial-gradient(circle at 15% 20%, rgba(255,255,255,0.18) 1px, transparent 1px),
      radial-gradient(circle at 75% 80%, rgba(255,255,255,0.16) 1px, transparent 1px);
    background-size: 28px 28px, 28px 28px;
    pointer-events:none;
  }

  .amenities-inner {
    max-width: 1220px;
    margin: 0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    position: relative;
    z-index: 2;
  }

  /* amenity item list */
  .amenity-list {
    display:flex;
    gap: 32px;
    align-items:center;
    width:100%;
    padding: 0 12px;
    justify-content: space-between;
    list-style:none;
    margin:0;
  }

  .amenity-item {
    font-weight:600;
    font-size: 15px;
    color: #f1f6f8;
    white-space:nowrap;
    padding: 6px 0;
    display:flex;
    align-items:center;
    justify-content:center;
    flex: 1 1 auto;
  }

  /* vertical separators between items */
  .amenity-item + .amenity-item {
    position: relative;
  }
  .amenity-item + .amenity-item::before{
    content:"";
    width:1px;
    height:28px;
    background: rgba(255,255,255,0.14);
    margin-right:16px;
    margin-left:-16px;
  }

  /* Make the separators more spaced on wide screens */
  @media (min-width:1100px){
    .amenity-list { gap: 48px; }
    .amenity-item + .amenity-item::before{ margin-left:-24px; margin-right:24px; height:32px; }
  }

  /* For small screens: wrap items into 2 rows and hide separators */
  @media (max-width:720px){
    .amenity-list {
      flex-wrap:wrap;
      gap:12px;
      justify-content:center;
    }
    .amenity-item { flex:0 0 48%; font-size:14px; padding:8px 6px; }
    .amenity-item + .amenity-item::before{ content:none; }
    .amenities-inner{ padding-bottom:6px; }
  }

  /* --------- Image block --------- */
  .amenities-media {
    width:100%;
    display:block;
    margin:0;
    background:#000;
  }

  /* fluid full-bleed image container */
  .amenities-media img{
    display:block;
    width:100%;
    height: 520px;            /* default desktop banner height */
    object-fit: cover;        /* ensures the image covers area and centers subject */
    object-position: center 55%; /* nudge subject slightly down for composition */
  }

  /* taller desktop image if you prefer more presence */
  @media (min-width:1200px){
    .amenities-media img { height: 640px; object-position: center 55%; }
  }

  /* tablet */
  @media (min-width:768px) and (max-width:1199px){
    .amenities-media img { height: 520px; object-position: center 54%; }
  }

  /* mobile: taller so the subject remains visible while stacking */
  @media (max-width:767px){
    .amenities-media img {
      height: 420px;
      object-position: center 50%;
    }
  }

  /* very small phones */
  @media (max-width:380px){
    .amenities-media img { height: 360px; }
    .amenity-item { font-size:13px; }
  }

  /* small visual polish */
  .amenities-top, .amenities-media { box-shadow: inset 0 -6px 14px rgba(0,0,0,0.12); }

  /* optional rounded corners when used as a card block — remove if you want full page bleed */
  .amenities-hero.card-mode { border-radius: 12px; overflow: hidden; }


  /* ============================
   Fix for overlapping investment overlay
   ============================ */

/* 1) Guarantee the section always contains the image */
.amenities-hero.investment {
  /* make sure section is tall enough for the image across breakpoints */
  min-height: 720px;           /* desktop baseline - matches your image height */
  box-sizing: border-box;
  z-index: 0;                  /* ensure section sits below overlay content */
  /* create extra bottom gap so next section never hits the overlay */
  padding-bottom: 48px;
}

/* Keep image as-is but ensure it's not absolutely positioned */
.amenities-media img {
  display:block;
  width:100%;
  height:720px;           /* desktop height — adjust if needed */
  object-fit:cover;
  object-position:center 40%;
  max-width: 100%;
}

/* 2) Keep the overlay absolute on wider screens (desktop/tablet),
      but ensure it doesn't overflow the section's bottom boundary */
.investment-content{
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translate(-50%, -38%);
  z-index: 6;
  width: 100%;
  max-width: 960px;
  padding: 0 20px;
  text-align: center;
  pointer-events: auto;
}

/* helpful clamp so overlay never extends past the image on huge screens */
@media (min-width: 1200px) {
  .amenities-hero.investment { min-height: 820px; } /* give more vertical room for large screens */
  .amenities-media img { height:820px; }
}

/* 3) MOBILE: Switch overlay to "in-flow" layout so it pushes following content
      instead of overlapping it. This prevents collisions on small screens. */
@media (max-width: 720px;) {

  /* make section height match the image so flow is consistent */
  .amenities-hero.investment { min-height: auto; padding-bottom: 20px; }

  /* reduce image height for mobile */
  .amenities-media img { height: 480px; object-position:center 50%; }

  /* Move overlay into the flow — it will sit after the image and push next sections down */
  .investment-content {
    position: relative;         /* key change: make it part of the document flow */
    left: 0;
    top: 0;
    transform: none;
    width: 100%;
    max-width: 720px;
    margin: -120px auto 0;      /* "overlap" slightly but reserve space — tweak this value */
    pointer-events: auto;
    text-align: center;
    padding: 0 14px;
  }

  /* ensure the rounded card becomes centered and full-width-ish on small screens */
  .investment-card {
    margin: 0 auto;
    max-width: 92%;
    padding: 16px;
    border-radius: 18px;
  }

  /* reduce title sizes so they don't force the card downward too far */
  .investment-title { font-size: clamp(20px, 7vw, 34px); }
  .investment-sub { font-size: 13px; }

  /* ensure footer / following sections have breathing room */
  .amenities-hero.investment + * { margin-top: 24px; }
}

/* 4) Extra safety: if content still overlaps because of other custom rules,
   force a minimum safe margin below the investment section */
@media (min-width: 721px) {
  .amenities-hero.investment + * {
    margin-top: 48px;   /* ensures the following section clears visual area */
  }
}


/* Scoped container so styles don't leak */
  .masterplan-section {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    position: relative;
    overflow: hidden;
  }

  /* Top patterned header */
  .mp-top {
    background: #0f3142;
    color: #fff;
    text-align: center;
    padding: 34px 18px 18px;
    position: relative;
    z-index: 30;
    /* subtle geometric pattern */
    background-image:
      radial-gradient(circle at 15% 25%, rgba(255,255,255,0.02) 1px, transparent 1px),
      radial-gradient(circle at 75% 75%, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 28px 28px, 28px 28px;
  }

  .mp-top h2 {
    margin: 0;
    font-family: "The Last Shuriken", system-ui, sans-serif;
    font-size: clamp(26px, 4.6vw, 44px);
    letter-spacing: .8px;
    text-transform: uppercase;
    line-height: 1;
  }

  .mp-top p {
    margin: 8px 0 0;
    font-size: 15px;
    color: rgba(255,255,255,0.92);
    opacity: 0.95;
    font-weight: 500;
  }

  /* Image / hero area */
  .mp-hero {
    position: relative;
    width: 100%;
    height: 72vh; /* responsive height; will adjust with breakpoints */
    min-height: 420px;
    display:block;
    background: #f7f7f7;
    z-index: 10;
  }

  /* blurred artwork as background layer */
  .mp-hero .mp-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("images/masterplan.jpg");
    background-size: cover;
    background-position: center;
    filter: blur(10px) brightness(.98) saturate(.95);
    transform: scale(1.03); /* avoid sharp edges showing after blur */
    will-change: transform, filter;
  }

  /* subtle vignette / lighten edges like sample */
  .mp-hero::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0) 20%, rgba(255,255,255,0.6) 85%);
    pointer-events:none;
    mix-blend-mode: normal;
  }

  /* center CTA wrapper sitting above the blurred background */
  .mp-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .mp-cta {
    background: linear-gradient(180deg, rgba(12,40,56,0.95), rgba(8,28,40,0.98));
    color: #fff;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight:600;
    font-size: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 10px 30px rgba(8,20,28,0.45);
    text-decoration:none;
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .mp-cta:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(8,20,28,0.5); }

  /* small fade separating top from hero like reference */
  .mp-top + .mp-hero { box-shadow: inset 0 18px 30px rgba(0,0,0,0.16); }

  /* Responsive tweaks */
  @media (min-width: 1200px) {
    .mp-hero { height: 78vh; min-height: 560px; }
    .mp-bg { filter: blur(14px) brightness(.98); transform: scale(1.05); }
  }

  @media (max-width: 991px) {
    .mp-hero { height: 60vh; min-height: 420px; }
    .mp-bg { filter: blur(10px); transform: scale(1.03); background-position: center 40%; }
    .mp-top h2 { font-size: clamp(22px, 6.4vw, 36px); }
  }

  @media (max-width: 600px) {
    .mp-hero { height: 48vh; min-height: 320px; }
    .mp-top { padding: 22px 12px 12px; }
    .mp-center { top: 54%; transform: translate(-50%, -54%); }
    .mp-cta { padding:10px 20px; font-size:14px; }
  }

  /* accessibility: if prefers-reduced-motion, reduce transforms */
  @media (prefers-reduced-motion: reduce) {
    .mp-bg, .mp-center { transition: none; transform: none; }
  }

   /* Utility: screen-reader only text */
  .sr-only { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

  /* Footer root */
  .site-footer {
    --nav-bg: #0f3142;
    --pattern-opacity: 0.03;
    --muted: rgba(255,255,255,0.75);
    --accent: #e9eef2;
    background: var(--nav-bg);
    color: white;
    padding: 42px 22px;
    box-shadow: inset 0 8px 20px rgba(0,0,0,0.35);
  }

  /* subtle geometric pattern similar to header */
  .site-footer::before{
    content:"";
    position:absolute;
    inset:auto 0 0 0;
    height: 120px;
    pointer-events:none;
    background-image:
      radial-gradient(circle at 15% 25%, rgba(255,255,255,var(--pattern-opacity)) 1px, transparent 1px),
      radial-gradient(circle at 75% 75%, rgba(255,255,255,var(--pattern-opacity)) 1px, transparent 1px);
    background-size: 28px 28px, 28px 28px;
    z-index:0;
    mix-blend-mode: overlay;
  }

  .footer-inner{
    max-width: 1200px;
    margin: 0 auto;
    display:grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 28px;
    align-items:start;
    position:relative;
    z-index:2;
  }

  /* left column */
  .footer-left { display:flex; flex-direction:column; gap:14px; align-items:flex-start; }
  .logo-manyata { width: 110px; height:auto; display:block; filter: drop-shadow(0 2px 0 rgba(0,0,0,0.45)); }
  .socials { display:flex; gap:10px; margin-top:6px; }
  .social-link svg { opacity:0.95; transition: opacity .12s ease, transform .12s ease; }
  .social-link:hover svg { opacity:1; transform: translateY(-2px); }
  .copyright { color: var(--muted); font-size: 13px; opacity:0.95; margin-top:6px; max-width:170px; }

  /* center column */
  .footer-center { color: var(--muted); font-size: 13px; line-height:1.45; padding: 4px 12px; }
  .footer-center .disclaimer { margin:0 0 10px 0; opacity:.95; }
  .footer-center .privacy { color: rgba(255,255,255,0.9); font-size:13px; text-decoration:underline; }

  /* right column */
  .footer-right { display:flex; flex-direction:column; gap:18px; align-items:flex-end; justify-content:space-between; min-height:120px; }
  .cta-wrap { text-align:right; width:100%; max-width:360px; }
  .cta-text { color: rgba(255,255,255,0.9); font-size:15px; margin-bottom:8px; }

  .footer-form { display:flex; gap:10px; align-items:center; justify-content:flex-end; }
  .footer-form input[type="email"]{
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    padding: 10px 12px;
    width: 220px;
    border-radius: 4px;
    outline: none;
    transition: box-shadow .12s ease, background .12s ease;
  }
  .footer-form input[type="email"]::placeholder{ color: rgba(255,255,255,0.6); }

  .footer-form input[type="email"]:focus{
    box-shadow: 0 6px 18px rgba(2,12,20,0.28);
    background: rgba(255,255,255,0.16);
  }

  .btn-enquire{
    background: #fff;
    color: #0f3142;
    border: none;
    padding: 10px 14px;
    font-weight:700;
    border-radius:4px;
    cursor:pointer;
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .btn-enquire:hover{ transform: translateY(-2px); box-shadow: 0 8px 22px rgba(6,18,26,0.16); }

  .partner { margin-top:8px; display:flex; align-items:center; gap:8px; }
  .partner-logo { height: 40px; width:auto; filter: drop-shadow(0 1px 0 rgba(0,0,0,0.45)); }

  /* responsive: stack columns */
  @media (max-width: 980px){
    .footer-inner { grid-template-columns: 1fr; gap:18px; text-align:center; }
    .footer-left, .footer-center, .footer-right { align-items:center; }
    .footer-right { align-items:center; }
    .footer-form { justify-content:center; }
    .footer-form input[type="email"]{ width: 200px; }
  }

  @media (max-width: 480px){
    .site-footer { padding: 28px 14px; }
    .footer-inner { gap:12px; }
    .footer-form input[type="email"]{ width: 160px; padding: 9px 10px; }
    .logo-manyata { width:92px; }
    .partner-logo { height:34px; }
  }

  /* HERO root */
  .umbrella-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: grid;
    place-items: center;
    text-align: center;
  }

  /* background image layer (covers whole section) */
  .umbrella-hero::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("images/inspiration.jpg"); /* <-- put your image here */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    transform-origin: center;
    will-change: transform;
    /* slight scale to avoid edge artifacts on mobile */
    transform: scale(1.02);
    filter: contrast(.96) saturate(.9);
  }

  /* dark overlay so white text reads */
  .umbrella-hero::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6,20,28,0.66) 0%, rgba(6,20,28,0.36) 28%, rgba(6,20,28,0.16) 56%, rgba(6,20,28,0.18) 100%);
    pointer-events: none;
  }

  /* content wrapper (above bg & overlay) */
  .hero-inner {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1100px;
    padding: clamp(36px, 8vw, 120px) 22px;
    display:flex;
    flex-direction:column;
    gap: 18px;
    align-items:center;
    justify-content:center;
  }

  /* small pre-title (optional) */
  .hero-eyebrow {
    font-size: 15px;
    letter-spacing:1px;
    color: rgba(255,255,255,0.92);
    font-weight:600;
    text-transform:uppercase;
    opacity:0.95;
  }

  /* big headline */
  .hero-title {
    font-family: 'The Last Shuriken', 'Audiowide', system-ui, sans-serif;
    font-weight:400;
    margin: 0;
    line-height:1.02;
    color: #fff;
    text-transform: uppercase;
    font-size: clamp(28px, 6.8vw, 72px); /* responsive scaling */
    letter-spacing: 1px;
    text-shadow: 0 8px 28px rgba(2,8,12,0.55);
  }

  /* subtitle */
  .hero-sub {
    font-size: clamp(14px, 1.9vw, 20px);
    color: rgba(255,255,255,0.92);
    font-weight:600;
  }

  /* CTA pill */
  .hero-cta {
    margin-top: 6px;
  }
  .btn-cta {
    appearance:none;
    -webkit-appearance:none;
    display:inline-block;
    background: rgba(245,241,236,0.95); /* light cream like sample */
    color: #0b2b3a;
    padding: 12px 24px;
    border-radius: 16px;
    font-weight:700;
    border: none;
    box-shadow: 0 8px 30px rgba(3,20,30,0.28);
    cursor:pointer;
    transition: transform .16s ease, box-shadow .16s ease;
    text-decoration:none;
    font-size: 16px;
  }
  .btn-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(3,20,30,0.36); }

  /* HERO sizing by breakpoint */
  @media (min-width: 1200px) {
    .umbrella-hero { min-height: 720px; height: calc(100vh - 0px); } /* large presence */
    .hero-inner { padding-top: 120px; padding-bottom: 120px; }
  }

  @media (min-width: 768px) and (max-width:1199px) {
    .umbrella-hero { min-height: 640px; height: 72vh; }
    .hero-inner { padding-top: 80px; padding-bottom: 80px; }
  }

  @media (max-width: 767px) {
    .umbrella-hero { min-height: 520px; height: 60vh; }
    .hero-inner { padding-top: 56px; padding-bottom: 56px; }
    .hero-title { font-size: clamp(22px, 9.6vw, 40px); }
    .btn-cta { padding: 10px 18px; border-radius: 12px; }
  }

  /* reduced-motion preference */
  @media (prefers-reduced-motion: reduce) {
    .umbrella-hero::before { transition: none; transform: none; }
    .btn-cta { transition: none; }
  }

  /* Root and layout */
  .testimonials { background: #0f3142; padding: 56px 18px; color: #fff; position: relative; overflow: hidden; }
  .testimonials::before{
    /* subtle geometric pattern similar to header */
    content:"";
    position:absolute; inset:0;
    background-image:
      radial-gradient(circle at 15% 25%, rgba(255,255,255,0.018) 1px, transparent 1px),
      radial-gradient(circle at 75% 75%, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 28px 28px, 28px 28px;
    mix-blend-mode: overlay;
    opacity: 0.9;
    pointer-events: none;
  }

  .wrap{ max-width: 1220px; margin: 0 auto; position: relative; z-index:2; }

  .testimonials-header { text-align:center; margin-bottom: 34px; }
  .testimonials-header h2 {
    font-family: "The Last Shuriken", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    font-size: clamp(28px, 4.6vw, 46px);
    margin: 0;
    color: #e9eef2;
    letter-spacing: 1px;
  }
  .testimonials-header .subtitle {
    margin: 8px 0 0;
    color: rgba(233,238,242,0.9);
    font-weight: 500;
  }

  /* Grid */
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
    padding: 12px;
  }

  /* Card */
  .testimonial {
    position: relative;
    transform-origin: center;
    /* slight rotation per card to create the angled layout */
  }
  .testimonial:nth-child(1) { transform: rotate(-6deg); }
  .testimonial:nth-child(2) { transform: rotate(2.5deg); }
  .testimonial:nth-child(3) { transform: rotate(-1.5deg); }

  .card-inner {
    position: relative;
    background: #ffffff;
    color: #0f2a36;
    padding: 28px 24px 30px;
    border-radius: 36px;
    min-height: 260px;
    box-shadow: 0 18px 44px rgba(6,20,28,0.28);
    overflow: visible;
  }

  /* badge circle */
  .quote-badge{
    position: absolute;
    left: -22px;
    top: -22px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow: 0 8px 22px rgba(2,12,20,0.28);
  }
  /* per-card badge colors */
  .testimonial:nth-child(1) .quote-badge{ background: #7ed957; } /* green */
  .testimonial:nth-child(2) .quote-badge{ background: #12a3e2; } /* blue */
  .testimonial:nth-child(3) .quote-badge{ background: #ffad3b; } /* orange */

  .quote-badge svg { display:block; }

  /* meta */
  .meta { display:flex; flex-direction:column; gap:6px; margin-bottom: 8px; }
  .meta .name { font-weight:800; color:#0f2a36; letter-spacing: 0.6px; }
  .meta .role { color: rgba(15,42,54,0.6); font-size:13px; font-weight:600; }

  /* stars */
  .stars { display:flex; gap:6px; margin: 6px 0 8px; }
  .star{ width:18px; height:18px; fill:#ffb84b; filter: drop-shadow(0 2px 4px rgba(255,160,30,0.12)); }

  /* quote text */
  .quote { font-size: 13px; line-height:1.65; color: rgba(15,42,54,0.9); margin: 6px 0 12px; text-align:left; }

  /* bottom-right quote mark */
  .quote-mark { position: absolute; right: 12px; bottom: 10px; opacity: 0.18; }

  /* remove rotation and slightly shrink cards on small screens */
  @media (max-width: 1000px){
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .testimonial { transform: none; }
    .card-inner { min-height: 220px; border-radius: 28px; padding: 22px; }
    .quote-badge { left: -18px; top: -18px; width:56px; height:56px; }
  }

  @media (max-width: 620px){
    .testimonials-grid { grid-template-columns: 1fr; gap: 18px; padding: 6px; }
    .testimonial { transform:none; }
    .card-inner { min-height: auto; border-radius: 18px; padding:18px; }
    .quote-badge { left: 14px; top: -30px; transform: translateY(0); } /* move badge inside view for stacked layout */
    .card-inner { padding-top: 34px; } /* space for the badge overlap */
    .meta { align-items:flex-start; }
    .quote { font-size:14px; text-align:left; }
    .testimonials-header h2 { font-size: 28px; }
  }

  /* very small phones */
  @media (max-width: 360px){
    .quote { font-size:13px; }
    .meta .name { font-size: 15px; }
  }


.modal {
  display: none;
}

  .modal-content {
  background-image: url('images/form-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 65vh; /* for desktops */
}

.modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.modal-content * {
  position: relative;
  z-index: 1;
}

.modal-header,
.modal-body,
.modal-footer {
  background: transparent;
}

.modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  max-height: calc(100dvh - 200px);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-content {
    height: auto;
    max-height: 90dvh;
  }

  .modal-body {
    max-height: calc(90dvh - 140px);
  }
}

@media (max-height: 600px) {
  .modal-content {
    max-height: 84dvh;
  }

  .modal-body {
    max-height: calc(84dvh - 140px);
  }
}

@media (max-width: 767.98px) {
  .modal-dialog {
    margin: 1rem auto;
  }

  .modal-content {
    height: auto !important;
    max-height: 92vh !important;
    display: flex;
    flex-direction: column;
    padding-bottom: 0.5rem;
  }

  .modal-header,
  .modal-footer {
    flex-shrink: 0 !important;
    padding: 1rem 1.25rem;
  }

  .modal-body {
    overflow-y: auto !important;
    padding: 0 1.25rem;
    max-height: calc(92vh - 140px) !important;
  }

  .modal-footer button {
    margin-top: 0.75rem;
    width: 100%;
  }
}

.location-advantage {
    width: 100%;
    background-color: #f2ebe4; /* fallback */
    background-image: url("images/location.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    /* responsive heights: adjust as needed */
    min-height: 420px;         /* mobile minimum */
    height: auto;
    padding: 48px 16px;
    position: relative;
    box-sizing: border-box;
  }

  /* subtle dark overlay so white/dark text is readable depending on image */
  .location-advantage::after{
    content:"";
    position:absolute;
    inset:0;
    /*background: linear-gradient(180deg, rgba(243,239,235,0.6), rgba(243,239,235,0.6));*/
    pointer-events:none;
  }

  .location-advantage .overlay{
    position:relative;
    z-index:2;
    max-width:1100px;
    width:100%;
    text-align:center;
    padding: 28px 18px;
  }

  .title{
    margin:0 0 8px;
    font-size: clamp(24px, 4.6vw, 44px);
    color:#0f3142;
    letter-spacing:1px;
    text-transform:uppercase;
    font-weight:700;
  }

  .subtitle{
    margin:0;
    font-size: clamp(13px, 1.6vw, 18px);
    color: rgba(15,42,54,0.9);
    max-width:900px;
    margin-left:auto;
    margin-right:auto;
  }

  /* Larger hero feel on wide screens */
  @media (min-width: 992px){
    .location-advantage {
      min-height: 720px;
      padding: 64px 24px;
      background-position: center 8%;
    }
    .title { font-size: clamp(32px, 3.6vw, 56px); }
  }

  /* Slightly smaller on tablets */
  @media (min-width: 600px) and (max-width: 991px){
    .location-advantage { min-height: 520px; background-position: center 6%; }
    .title { font-size: clamp(26px, 5.2vw, 44px); }
  }

  /* Mobile tweaks */
  @media (max-width: 599px){
    .location-advantage { min-height: 420px; background-position: center top; padding-top: 36px; padding-bottom: 36px; }
    .title { font-size: clamp(20px, 7.6vw, 28px); }
    .subtitle { font-size: 14px; }
  }