/* === Gilmer Heavy === */
@font-face {
  font-family: 'Gilmer Heavy';
  src:
    url('assets/fonts/Gilmer Heavy/Gilmer-Heavy.woff2') format('woff2'),
    url('assets/fonts/Gilmer Heavy/Gilmer-Heavy.woff')  format('woff'),
    url('assets/fonts/Gilmer Heavy/Gilmer-Heavy.ttf')   format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* === Euclid Circular A ===
   You can list all the weights you need; here’s a common regular + medium example. */
@font-face {
  font-family: 'Euclid Circular A';
  src:
    url('assets/fonts/euclid-circular-a/EuclidCircularA-Regular.woff2') format('woff2'),
    url('assets/fonts/euclid-circular-a/EuclidCircularA-Regular.woff')  format('woff'),
    url('assets/fonts/euclid-circular-a/EuclidCircularA-Regular.ttf')   format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Euclid Circular A';
  src:
    url('assets/fonts/euclid-circular-a/EuclidCircularA-Medium.woff2') format('woff2'),
    url('assets/fonts/euclid-circular-a/EuclidCircularA-Medium.woff')  format('woff'),
    url('assets/fonts/euclid-circular-a/EuclidCircularA-Medium.ttf')   format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* put near the top of styles.css */
html, body { overflow-x: clip; }   /* or: hidden */

/* 1) Global background (beats Tailwind bg-* classes) */
html, body { background-color: var(--bg-hex) !important; }
section, .container,
#home,
#facilities, #lead-form,
.two-col__content { background-color: var(--bg-hex) !important; }

/* 2) Headings to brand color (also kill gradient text on .section-title) */
h1, h2, .section-title,
.fp-content h1, .feature h3 { color: var(--brand-hex) !important; }

.section-title{
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: var(--brand-hex) !important;
}

/* 3) Buttons to brand color (beats Tailwind gradient utilities) */
.btn, .btn-primary, .btn-whatsapp, .fp-cta,
#lead-form button[type="submit"],
 #lang-toggle {
  background: var(--brand-hex) !important;
  background-image: none !important;
  border-color: var(--brand-hex) !important;
  color: #fff !important;
}
.btn:hover, .btn-primary:hover, .btn-whatsapp:hover, .fp-cta:hover,
#lead-form button[type="submit"]:hover, .whatsapp-float:hover, #lang-toggle:hover {
  filter: brightness(0.92);
}

/* === Footer theme override === */
#contact {
  background-color: var(--brand-hex) !important;  /* gold footer */
  background-image: none !important;      /* kill the gradient from HTML classes */
}

#contact,
#contact p,
#contact li,
#contact a {
  color: #fff !important;                  /* white base text/links on gold */
}

/* Keep footer headings readable on gold, even if headings elsewhere are green */
#contact h1,
#contact h2,
#contact h3,
#contact h4 {
  color: #fff !important;
}

/* Hover color = site background (bg-hex) */
#contact a:hover,
#contact .footer-link:hover,
#contact .fab:hover {
  color: var(--bg-hex, #f8f7ec) !important;
}

/* Hide text visually but keep it for screen readers/SEO */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Responsive hero logo */
.hero-logo {
  display: block;
  width: clamp(180px, 40vw, 400px);
  height: auto;
  margin: 0 auto 1.5rem;   /* center and keep the same spacing the H1 had */
  object-fit: contain;
}

/* (optional) tweak for very small phones */
@media (max-width: 400px) {
  .hero-logo { width: clamp(160px, 60vw, 360px); }
}


/* Gentle continuous float/bounce */
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }  /* upward motion */
}

/* Target the single Hero button */
.hero .buttons .btn {
  animation: floatBounce 2.5s ease-in-out infinite;
  /* Optional: slight glow or shadow for emphasis */
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Headings */
h1, h2, h3, .section-title {
  font-family: 'Gilmer Heavy', sans-serif;
}

/* Paragraphs & links */
body, p, a {
  font-family: 'Euclid Circular A', 'Inter', 'Montserrat', sans-serif;
}


:root {
  --primary: 210 79% 23%;
  --primary-foreground: 0 0% 98%;
  --secondary: 45 78% 65%;
  --secondary-foreground: 0 0% 9%;
  --accent: 45 78% 65%;
  --accent-foreground: 0 0% 9%;
  --background: 0 0% 100%;
  --foreground: 0 0% 9%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 9%;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 45%;
  --border: 0 0% 90%;
  --ring: 210 79% 23%;
  --luxury: 45 78% 65%;
  --gradient-luxury: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  --gradient-hero: linear-gradient(135deg, hsl(var(--primary) / 0.9), hsl(var(--primary) / 0.7));
  --shadow-luxury: 0 20px 40px -12px hsl(var(--primary) / 0.25);
  --brand-hex: #2e4023;   /* headings + buttons */
  --bg-hex: #f8f7ec;      /* page/section background */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', 'Montserrat', sans-serif; line-height: 1.6; color: hsl(var(--foreground)); background: hsl(var(--background)); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
html { scroll-behavior: smooth; }

/* ---- Serenity: Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: url('assets/PJ10\ Cover\ \(1\).jpg') center/cover;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.25) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(0,0,0,0.4) 100%
);

  z-index: 1;
}

.hero-content { 
  position: relative; 
  z-index: 2; 
  text-align: center; 
  color: hsl(var(--primary-foreground)); max-width: 800px; 
}
.badge {
  display: inline-block; padding: 0.5rem 1rem; background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground));
  border-radius: 9999px; font-size: 1.125rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero h1 { font-size: clamp(3rem, 8vw, 5rem); font-weight: 700; margin-bottom: 1.5rem; line-height: 1.1; }
.hero p { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-bottom: 3rem; opacity: 0.95; }

.hero-logo-group {
  display: flex;
  flex-direction: column;          /* stack logo, divider, slogan */
  align-items: center;             /* center horizontally */
  justify-content: center;         /* center vertically inside hero-content */
  gap: 1rem;                       /* space between each item */
  height: 100%;                    /* let it fill hero-content height */
}


.hero-divider {                   /* let it shrink to content */
  align-self: center;             /* center it between logo & text */
  text-align: center;
  justify-content: center;
  width: 0.01rem;
  height: 4rem;
  background: white;
  z-index: 1 ;
}

/* Smaller logo */
.hero-logo-group .hero-logo {
  width: clamp(20rem, 20vw, 4rem);
  height: auto;
}


.hero-slogan {
  font-family: 'Euclid Circular A', sans-serif;
  font-size: clamp(1.75rem, 2.5vw, 1.75em);
  align-self: center;          /* vertically center inside the flex row */
  text-align: center;            /* keep left aligned */
  line-height: 1.4;
  color: white !important;
}

/* On small screens stack vertically */
@media (max-width: 640px) {
  .hero-slogan {
    font-size: clamp(1.5em, 2vw, 1.5rem);
    font-weight: 800;
    text-align: center;
    max-width: 70%;
  }

  .hero-divider{
    width: 0px;
    height: 0px;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.1) 0%,
      rgba(0,0,0,0.3) 50%,
      rgba(0,0,0,0.4) 100%
    );
    z-index: 1;
  }

}

@media (max-width: 640px) {
  .hero-logo-group {
    flex-direction: column;   /* keep this if you still want stacking */
    /* REMOVE the .hero-divider width/height override */
  }
  .hero-logo-group .hero-logo {
    width: clamp(12rem, 12vw, 5rem);
    height: auto;
  }
}

/* Put the family's position in view on phones */
@media (max-width: 640px) {
  /* 1) Aim the crop */
  .hero {
    /* try 'left center' first; then fine-tune with percentages */
    background-position: 10% 80%;   /* ← move focus toward the family */
    background-size: cover;         /* keep full-bleed */
  }
}
@media (max-width: 1440px) {
  /* 1) Aim the crop */
  .hero {
    /* try 'left center' first; then fine-tune with percentages */
    background-position: 10% 70%;   /* ← move focus toward the family */
    background-size: cover;         /* keep full-bleed */
  }
}

@media (max-width: 640px) {
  .hero { 
    padding-bottom: 6vh; 
  }     /* a little more space on phones */
  .hero .buttons {
  margin-bottom: 2.5rem;        /* or clamp(1.5rem, 4vw, 2.5rem) for responsiveness */
  }
  .hero-logo-group .hero-logo{
    margin-top: 8vh;
  }
}

/* Center the entire stats block horizontally */
.hero-stats {
  display: flex;
  justify-content: center;   /* horizontally center all the stat items */
  align-items: center;       /* keep them vertically aligned */
  gap: 2rem;                 /* space between each stat group */
  margin: 2rem auto 0;       /* auto left/right ensures true centering */
  max-width: 800px;          /* optional: prevents over-stretch on wide screens */
  text-align: center;        /* keeps labels/values centered inside each block */

}

/* Make each stat share space evenly and stay centered */
.hero-stats .stat {
  flex: 0 0 auto;            /* don’t stretch unevenly */
  text-align: center;
}

.hero-stats .stat-value {
  display: inline-block; /* ensures value itself doesn’t break */
  white-space: nowrap;   /* prevent line-wrap inside each value */
}

.stat-value { 
  font-size: clamp(2rem, 4vw, 2.5rem); 
  font-weight: 700; 
  color:white; 
}

.stat-value sup{
  font-size: 0.6em; /* smaller */
  vertical-align: super;
  line-height: 0;
}

.stat-label { 
  font-size: 1.125rem; 
  opacity: 0.9; 
  color: white; 
}

.stat-divider { 
  width: 1px; 
  height: 4rem; 
  background: rgba(255,255,255,0.3); 
}

.hero-stats .stat {
  flex: 1 1 auto;         /* let them share the line evenly */
  text-align: center;
}

@media (max-width: 500px) {
  .hero-stats {
    flex-wrap: wrap;      /* allow two rows again only on tiny screens */
  }
}


.buttons { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 1rem; 
  justify-content: center;
  padding-top: 5rem;  
}
.btn { padding: 1rem 2rem; border: none; border-radius: 0.5rem; font-size: 1.125rem; font-weight: 600; cursor: pointer;
  transition: all 0.3s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-primary { background: var(--gradient-luxury); color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-luxury); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 25px 50px -12px hsl(var(--primary) / 0.35); }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #22c55e; transform: translateY(-2px); }

.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; }
.scroll-mouse { width: 1.5rem; height: 2.5rem; border: 2px solid rgba(255,255,255,0.5); border-radius: 1rem; display: flex; justify-content: center; align-items: flex-start; padding-top: 0.5rem; }
.scroll-dot { width: 0.25rem; height: 0.75rem; background: rgba(255,255,255,0.7); border-radius: 0.125rem; animation: pulse 2s infinite; }

/* ---- Serenity: Sections / Cards ---- */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title {
  font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem;
  background: var(--gradient-luxury); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-subtitle { font-size: 1.25rem; color: hsl(var(--muted-foreground)); max-width: 600px; margin: 0 auto; }

/* Full-bleed hero with text overlay */
.key-hero {
  position: relative;
  width: 100vw;
  min-height: 100vh;                /* full screen height */
  background: var(--hero-bg) center/cover no-repeat;
  color: #fff;                      /* white text on dark overlay */
  display: flex;
  justify-content: right;
  align-items: center;
  text-align: left;
  padding: 0 5vw;
}

.key-hero::before {                 /* dark gradient overlay */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);      /* adjust darkness as needed */
  z-index: 0;
}

.key-hero .hero-overlay {
  position: relative;
  z-index: 1;                       /* sit above gradient */
  max-width: 700px;
}

.key-hero .section-title {
  font-size: clamp(28px,4vw,52px);
  font-weight:500;
  color: #fff !important;
   /* beat the WebKit text fill that keeps it green */
  -webkit-text-fill-color: #fff !important;

  /* ensure no gradient/clip from earlier rules affects it */
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  line-height: 1.25;
  margin-bottom: 3rem;
}

.key-hero p, .key-hero li {
  color: rgba(255,255,255,.92);
}

.key-hero .btn-primary {
  background: var(--brand-hex, #2e4023);
  margin-top: 3rem;
}

.key-hero h3{
  color: white !important;
}


@media (max-width: 768px) {
  .key-hero{
    justify-content: center;
    align-items: center;
    background-position: 10% 50%;
    line-height: 1.25;
  }

  .key-hero .btn-primary {
    display: block;        /* take full row so margin auto works */
    margin: 1.5rem auto 0;  /* top spacing + center horizontally */
    margin-top: 3rem;
  }
  

  .key-hero .btn-primary{
    text-align: center;
  }

  .key-hero .section-title{
    margin-bottom: 3rem;
    font-weight: 700;
  }

  .key-hero p, .key-hero li{
    line-height: 1.5;
  }
}



#key-features{
  background-color: var(--bg-hex);  
}



.features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;           /* allow items to wrap on small screens */
  padding: 4rem 2rem;
  max-width: 80%;
  margin: 0 auto; /* keep whole group centered */
  min-height: 50vh;
}

.feature {
  flex: 1 1 30%;           /* grow/shrink but min 250px */
  text-align: center;
  padding: 1rem;
}

.feature img {
  width: 7rem;
  max-width: 100%;           /* let image shrink if container smaller */
  height: auto;
  margin-left: auto;         /* ensure true centering */
  margin-right: auto;
}

.feature h3 {
  font-weight: 600;
  margin-bottom: 0.4rem;   /* reduce gap between heading & paragraph */
  font-size: 1.5rem;
}

.feature p {
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
}

/* ===== Key Features Banner: bottom gradient + left-aligned copy ===== */
.key-features-bg {
  position: relative;
  min-height: 100vh;
  background: url('assets/Facade-Final-1.jpg') center/cover no-repeat;
  overflow: hidden;
}

/* heavy black-at-bottom fade */
.key-features-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.25) 35%,
    rgba(0,0,0,0.00) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* text block pinned near bottom-left */
.kfb-content {
  position: absolute;
  left: clamp(16px, 8vw, 120px);
  top: clamp(24px, 12vh, 140px);   /* distance from top of image */
  bottom: auto;  
  z-index: 1;
  max-width: min(1000px, 86vw);
  color: #fff;
  text-align: left;
}

/* big all-caps heading (Gilmer), force white */
.kfb-title {
  font-family: 'Gilmer Heavy', sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-weight: 800;
  font-size: clamp(28px, 5.2vw, 56px);
  line-height: 1.1;
  margin: 0 0 10px 0;
  color: #fff !important;
}

/* small line + subheadline row */
.kfb-subrow {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
}

.kfb-rule {
  width: clamp(60px, 10vw, 120px);
  height: 4px;
  border-radius: 3px;
  background: rgba(255,255,255,.35);
  display: inline-block;
  flex: 0 0 auto;
}

.kfb-sub {
  font-family: 'Euclid Circular A', 'Inter', 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 2.2vw, 28px);
  line-height: 1.4;
  margin: 0;
  color: rgba(255,255,255,.95) !important;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .kfb-content {
    top: 10%;
        max-width: 70%;
  }
  .kfb-rule { 
    width: 0;
    display: none;
    height: 0px;
 
  }


  .key-features-bg{
    min-height: 70vh;
  }
}



.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.card {
  background: hsl(var(--card)); border-radius: 1rem; padding: 2rem;
  box-shadow: 0 10px 30px -10px hsl(var(--primary) / 0.1); transition: all 0.3s ease; border: 1px solid hsl(var(--border));
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -10px hsl(var(--primary) / 0.15); }
.card-icon {
  width: 3rem; height: 3rem; background: var(--gradient-luxury); border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: white; font-size: 1.5rem;
}
.card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
.card p { color: hsl(var(--muted-foreground)); line-height: 1.6; }

.features-list { 
  list-style: none; 
}

.features-list li { 
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-weight: 500; 
}

.features-list sup{
  font-size: 1rem; /* smaller */
  vertical-align: super;
  line-height: 0;
}

.features-list li::before { 
  content: '✓'; 
  color: hsl(var(--secondary)); 
  font-weight: 700; 
  font-size: 1.25rem; 
}

@media (max-width: 780px) {
  .features .feature p{
    text-align: justify;
  }
}

.floorplan {
  display: grid;
  grid-template-columns: 1fr 1fr;        /* equal halves */
  align-items: center;
  justify-content: center;               /* centers the grid horizontally */
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 6vw, 72px);

  max-width: 1200px;                     /* optional: cap the width */
  margin: 0 auto;                        /* key: center the whole grid */
}


.fp-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Text section */
.fp-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fp-title {
  font-size: clamp(2rem, 4vw, 2.75rem); /* bigger headline */
  font-weight: 800;                     /* bold */
  margin: 0 0 1rem 0;
}

.fp-content h1{
  font-weight: 800;
  font-size: clamp(3rem, 5vw, 3rem);
}

.fp-content p {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem); /* larger body text */
  margin: 0.4rem 0;
}

/* CTA button */
.fp-cta {
  display: inline-block;
  margin-top: 1.5rem;
  width: 205px;
  padding: 12px 36px;
  border-radius: 999px;
  background: #223813;   /* dark green to match your previous button */
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}
.fp-cta:hover {
  background: #1a2d0f;
}

/* Outer two-tone container */
.fp-outer {
  background: #f1f1f1;            /* outer tone – light grey */
  padding: 1.5rem;                /* spacing around inner card */
  border-radius: 24px;            /* big radius for soft edges */
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: inline-block;          /* shrink-wrap to inner size */
}

.fp-outer h1{
  font-size: clamp(3rem, 2vw, 1rem);
  font-weight: 800;
}

/* Inner details card */
.fp-inner {
  background: #ffffff;            /* inner tone – white */
  padding: 2rem;
  border-radius: 16px;            /* slightly smaller radius */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.fp-inner p{
  line-height: 2;
}

/* Keep the grid responsive */
@media (max-width: 900px) {
  .fp-outer {
    max-width: 680px;
    margin: 0 auto;               /* center on mobile */
  }
}


/* Responsive */
@media (max-width: 900px) {
  .floorplan {
    grid-template-columns: 1fr;
  }
  .fp-content {
    margin-top: 2rem;
  }
}

/* Project Details as full background image */
.project-details-bg {
  position: relative;
  width: 100%;
  min-height: 100vh;                 /* adjust height as desired */
  background: url('assets/Bandar\ Baharu\ Banner.png') center/cover no-repeat;
 /* optional parallax effect */
}


/* Tweak the cards under the plan to feel cohesive */
#facilities{
  min-height: 80vh;
}
#facilities .cards-grid .card { 
  border-radius: 1rem; 
}
#facilities .cards-grid .card .card-icon { 
  border-radius: .9rem; 
}

/* === Location: full-width map, keep heading, hide description === */
#location {
  background-color: var(--bg-hex);
  padding-left: 0 !important;       /* remove the px-4 side padding from the section */
  padding-right: 0 !important;
}

/* let the Location container go full width just for this section */
#location > .max-w-6xl {
  max-width: 70% !important;
  width: 100% !important;
}

/* turn the 2-col grid into 1-col and hide the right column (bullets) */
#location .grid {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}
#location .grid > div:last-child {
  display: none !important;          /* hide the description column */
}

/* make the map image span the whole section width */
#location .location-map {
  width: 100% !important;
  max-width: none !important;        /* override the 900px cap from styles.css */
  height: auto !important;
  display: block;
  margin: 0;                         /* no auto-centering margin */
  border-radius: 0 !important;       /* remove rounded corners from Tailwind classes */
  box-shadow: none !important;       /* remove shadow from Tailwind classes */
}

/* optional: a little space under the heading */
#location .section-title {
  margin-bottom: clamp(12px, 3vw, 28px) !important;
}

/* Mobile: make the Location map fill the screen edge-to-edge */
@media (max-width: 768px) {
  /* kill the Tailwind px-4 padding on the section */
  #location { padding-left: 0 !important; padding-right: 0 !important; }

  /* let the inner container expand fully */
  #location > .max-w-6xl {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* collapse the 2-col grid (keep your heading above) */
  #location .grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* the map image: remove cap & rounded edges and stretch to 100% */
  #location .location-map {
    width: 100% !important;
    max-width: none !important;   /* overrides 900px cap */
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block;
  }
}


/* === Lead form as hero section === */
#lead-form {
  position: relative;
  padding: 0;                       /* remove extra spacing */
  background: none !important;      /* kill section bg color override */
}

.lead-hero {
  position: relative;
  min-height: 75vh;                 /* tall hero */
  background: url('assets/Hero Banner 2.png') center/cover no-repeat;  /* your hero banner */
}

.lead-hero::before {                 /* dark overlay like Sunway */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.55) 100%);
  z-index: 0;
}

.lead-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* copy a bit wider like their layout */
  gap: clamp(24px, 4vw, 48px);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px);
  align-items: center;
}

/* Optional slim vertical divider between columns (desktop only) */
@media (min-width: 900px) {
  .lead-grid { column-gap: clamp(32px, 5vw, 64px); }
  .lead-grid::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: rgba(255,255,255,0.35);
    transform: translateX(-0.5px);
    pointer-events: none;
  }
}

/* Left copy styles */
.lead-copy {
  color: #fff;
  max-width: 90%;
}

.lead-eyebrow {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .9;
  margin-bottom: .5rem;
}

.lead-headline {
  font-family: 'Gilmer Heavy', sans-serif;
  color: #fff;
  font-size: clamp(1.1rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  margin: 0;
}

/* Right form card (glassy, rounded inputs) */
.lead-form-card {
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 28px);
  color: #fff;
}

.lead-form-title {
  color: #fff !important;     /* override theme green here */
  text-align: center;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin-bottom: .25rem;
}

.lead-form-sub {
  color: rgba(255,255,255,.9);
  text-align: left;
  margin-bottom: 1rem;
}

/* Form fields (pill, translucent, white text/borders) */
.lead-form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-form-fields label {
  font-weight: 600;
  font-size: .95rem;
  color: rgba(255,255,255,.95);
}

.lead-form-fields input {
  height: 48px;
  border-radius: 999px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(0,0,0,.25);
  color: #fff;
  outline: none;
}

.lead-form-fields input::placeholder { color: rgba(255,255,255,.7); }

.lead-form-fields input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.18);
}

/* Submit button — keep your brand green but pill-shaped */
.lead-submit {
  margin-top: 6px;
  height: 52px;
  border-radius: 999px;
  border: none;
  background: var(--brand-hex, #2e4023);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}

.lead-submit:hover { filter: brightness(.92); transform: translateY(-1px); }

/* Mobile stacking */
@media (max-width: 900px) {
  .lead-grid {
    grid-template-columns: 1fr;
    padding: clamp(20px, 6vw, 36px);
  }
  .lead-grid::after { display: none; } /* hide divider on mobile */
  .lead-headline { text-align: left; }
}





/* ---- Sunrise: Glass / Gallery / Sticky nav styles reused where needed ---- */
.glass {
  background: rgba(255,255,255,0.7);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.15);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 16px; border: 1px solid rgba(255,255,255,0.18);
}
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 50; animation: bounce 2s infinite; }

/* ===== PJ10 Gallery (full-screen with docked thumbs) ===== */
#gallery {
  position: relative;  
  padding: 0 !important;
  background: none !important;
  height: 100vh;          /* lock the whole section to viewport height */
  min-height: 100svh;     /* safe on mobile address-bar shrink */
}

/* full-bleed hero that fills the section */
#gallery-hero {
  position: relative;
  width: 100vw;
  height: 100%;           /* fill the 100vh section */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
}

/* subtle dark fade for readability (like Sunway) */
#gallery-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 35%, transparent 60%);
  pointer-events: none;
}

/* (optional) left caption block on top of image */

.gallery-caption {
  position: absolute; left: clamp(16px,5vw,48px); bottom: clamp(110px,14vh,160px);
  color:#fff; z-index: 2;
}
.gallery-caption h4 { 
  font-size: clamp(2rem, 3vw, 2rem); 
  font-family: 'Gilmer Heavy', sans-serif; 
  color: white !important; 
}
.gallery-caption p  { 
  opacity: .9; 
  font-size: clamp(14px,2vw,20px); 
}


/* the dock that sits on the image bottom */
.thumb-dock {
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 3vh, 28px);
  transform: translateX(-50%);
  z-index: 3;

  /* translucent “card” like Sunway */
  background: rgba(248,247,236,.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  padding: 8px 10px;
  max-width: min(1100px, 92vw);
  width: max-content;
}

/* horizontal scroll on small screens */
.thumb-strip {
  display: flex; gap: 10px;
  overflow-x: auto; scrollbar-width: thin;
  max-width: min(1060px, 88vw);
}

/* thumbs */
.thumb {
  width: clamp(96px, 12vw, 160px);
  height: clamp(64px, 8vw, 100px);
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  border: 2px solid transparent;
}
.thumb--active {
  border-color: var(--brand-hex, #2e4023);
}

/* wrapper around each img */
.thumb-wrap{
  position: relative;
  display: inline-block;   /* keep your current layout */
}

/* the badge */
.thumb-wrap::after{
  content: attr(data-label);                /* per-image text */
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 10px;
  font-family: sans-serif;
  padding: 3px 6px;
  border-radius: 3px;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.artist-note {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
  font-style: italic;
  margin-top: 12px;
}

/* optional white variant if you prefer it over a dark image */
#gallery .artist-note {
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 3;
}


/* add these: */
body[data-lang="en"] .thumb-wrap::after { content: attr(data-label-en); }
body[data-lang="my"] .thumb-wrap::after { content: attr(data-label-my); }


/* make sure the heading doesn’t push layout */
#gallery .section-title { margin: 0; padding: 12px 0; }




.gallery-swiper img {
  width: 100%;
  height: auto;
  transition: transform .3s, box-shadow .3s;
}

.gallery-swiper img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(31,38,135,0.15);
}

.gallery-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  border-radius: inherit;
}

/* PJ10 Gallery */
.gallery-hero { 
  position: relative;
 }
.thumb-row { background-color: var(--bg-hex, #f8f7ec); }

/* active thumb highlight (brand green) */
.thumb--active { outline: 3px solid var(--brand-hex, #2e4023); outline-offset: 2px; }

/* make sure the full-bleed hero ignores section background color */
#gallery { padding: 0; }

/* optional: prevent horizontal scroll-jumps on full-bleed block */
#gallery-hero, .gallery-hero { margin-left: calc(50% - 50vw); width: 100vw; }


/* ---- Animations ---- */
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .overview-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-divider { display: none; }
  .buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; justify-content: center; }
}

/* Mobile-safe full image for the "Key Features" and "Project Details" banners */
@media (max-width: 768px) {
  .project-details-bg {
    /* show the whole image, no cropping on phones */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;

    /* make the block auto-size based on image ratio */
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;          /* adjust if your source isn't 16:9 */
    /* optional: color behind letterboxing */
    background-color: #f8f7ec;     /* or transparent */
  }
}

/* Optional: ultra-small devices can use a taller ratio if needed */
@media (max-width: 400px) {
  .project-details-bg {
    aspect-ratio: 4 / 5;           /* use this if your mobile art is taller */
  }
}

@media (max-width: 768px) {
  .features {
    flex-direction: column;  /* stack features vertically */
    align-items: center;     /* center each feature */
  }
  .feature {
    max-width: 400px;        /* optional cap for nicer width */
  }
}



.whatsapp-float{
  color: #075E54;
}

.whatsapp-float span{
  color: white;
}



