:root{ 
  --bg:#fefefe; --panel:#ffffff; --muted:#4b5563; --fg:#111827;
  --gold:#ed91a4; --cyan:#1b1eb5; --accent:#1d3482; --accent2:#425eb0; --accent3: #ef4461;
  --border:#e2e8f0; --radius:18px; --shadow:0 10px 30px rgba(0,0,0,.08);
}

/* Base */
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--fg);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block;border-radius:4px}
.container{max-width:1280px;margin:0 auto;padding:0 22px}

/* Nav */
.nav{position:sticky;top:0;z-index:1000;backdrop-filter:blur(12px);background:rgba(255,255,255,.85);border-bottom:1px solid var(--accent3);transition: transform .25s ease;will-change: auto;}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:10px 20px}
.nav .links{display:flex;gap:26px;align-items:center}
.nav .links a{font-weight:600;font-size:18px;color:var(--accent);transition:color .2s ease}
.nav .links a:hover{color:var(--accent3)}
.nav.nav--hidden { transform: translate3d(0, -100%, 0); }

/* Buttons */
.btn{appearance:none;border:1px solid var(--border);background:#fff;color:var(--accent);padding:10px 16px;border-radius:50px;font-weight:700;letter-spacing:.02em;cursor:pointer;transition:all .3s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.1)}
.btn.primary{background: linear-gradient(135deg, #1e3c72, #2a5298); color:#fff;border:none;box-shadow:0 10px 25px rgba(155,93,229,.25);}
.btn.ghost{border-color:var(--accent);color:var(--accent)}
.btn.ghost:hover{background:var(--accent);color:#df2a58}

/* ===================== HERO (restructured) ===================== */
.hero{
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg,#fdfbfb 0%,#ebedee 100%);
}
.hero .bg{ position:absolute; inset:0; }

/* Parallax elements used by GSAP (no default background image here) */
.hero .bg .parallax-bg{
  position:absolute; inset:0;
  transform: scale(1.06);
  opacity: .95;
  filter: saturate(1.05) contrast(1.03);
}

/* Gradient sheen overlay */
.hero .grad{
  position:absolute; inset:0;
  background:
    radial-gradient(40% 30% at 70% 20%, rgba(241,183,0,.15), transparent 60%),
    radial-gradient(30% 30% at 15% 80%, rgba(155,93,229,.12), transparent 65%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Slider shell */
.hero .slider{
  position:absolute; inset:0; overflow:hidden;
  contain: paint; /* optimize compositing for fades */
}

/* Individual slides */
.hero .slide{
  position:absolute; inset:0;
  background-position:center;
  background-size:cover;
  opacity:0;
  visibility:hidden;
  transition: opacity .8s ease, visibility .8s step-end;
  will-change: opacity;
  pointer-events: none; /* only active slide receives events */
}
.hero .slide.active{
  opacity:1;
  visibility:visible;
  transition: opacity .8s ease, visibility 0s step-start;
  pointer-events:auto;
}

/* Content over hero */
.hero .content{position:relative;z-index:2;max-width:1200px;padding:0 22px 110px;text-align:center}
.hero h1{font-family:'Playfair Display',serif;font-weight:700;font-size:clamp(40px,7vw,88px);line-height:1.2;background:#ffffff/*linear-gradient(90deg,var(--accent),var(--accent2))*/;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero p{color:var(--muted);font-size:1.1rem;max-width:700px;margin:0 auto 26px}
.hero .actions{display:flex;justify-content:center;gap:12px;margin-top:20px}

/* Hero controls */
.hero .hero-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  border:none; background:rgba(255,255,255,.7); color:#111; width:38px; height:38px;
  border-radius:999px; display:grid; place-items:center; cursor:pointer;
  box-shadow:0 6px 20px rgba(0,0,0,.15); z-index:3;
}
.hero .hero-nav:hover{ background:#fff; }
.hero .hero-nav.prev{ left:14px; }
.hero .hero-nav.next{ right:14px; }

/* Dots */
.hero .dots{
  position:absolute; left:50%; transform:translateX(-50%);
  bottom:18px; display:flex; gap:8px; z-index:3;
}
.hero .dots button{
  width:8px; height:8px; border-radius:999px; border:0;
  background:rgba(255,255,255,.6); cursor:pointer;
}
.hero .dots button.active{ background:#fff; }

.eyebrow{text-transform:uppercase;letter-spacing:.22em;font-size:18px; font-weight: 600;color:#e97c7c}

/* Ticker + Alerts */
.ticker-wrap{background: #ffffff/*radial-gradient(70% 70% at 20% 10%, rgba(90, 63, 255, .35), transparent 60%), radial-gradient(60% 60% at 80% 18%, rgba(0, 229, 255, .18), transparent 55%), radial-gradient(80% 80% at 60% 90%, rgba(255, 255, 255, .08), transparent 55%), linear-gradient(135deg, #08112a 0%, #0a1f4d 35%, #122c74 70%, #0b1940 100%);border-block:1px solid var(--border)*/}
.ticker{white-space:nowrap;display:flex;gap:40px;padding:14px 0;will-change:transform}
.ticker .offer{display:inline-flex;align-items:center;gap:10px;padding:8px 14px;border-radius:999px;background:#fff;border:1px solid #405f9e;color:var(--accent3);font-weight:600}

.alerts{
  display:flex;flex-wrap:wrap;gap:10px;padding:12px 22px;
  border-bottom:1px solid var(--border);background:#ffffff;
  justify-content:center;align-items:center;text-align:center;
}
.alerts .badge{
  display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;
  background:linear-gradient(135deg,var(--accent2),var(--cyan));color:#fff;border:none;
  font-weight:600;font-size:12px;letter-spacing:.04em
}

/* Rotating icon strip */
.icons-rot{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:18px;padding:16px 0}
.icon-card{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px;transition:transform .4s ease,box-shadow .4s ease}
.icon-card:hover{transform:translateY(-4px);box-shadow:0 8px 22px rgba(0,0,0,.1)}
.icon.rotate{width:22px;height:22px;animation:spin 10s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* Sections */
section{padding:56px 0;position:relative}
h2{font-family:'Playfair Display',serif;font-size:clamp(28px,3.2vw,44px);margin:8px 0 12px;color:var(--accent)}
.lead{color:var(--muted);max-width:760px}

/* Cards & Features */
.grid-3{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.card,.panel{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);transition:transform .4s ease}
.card:hover,.panel:hover{transform:translateY(-4px)}
.card .media{height:220px;background:#fafafa}
.card .body{padding:22px}

.feature{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center;margin:42px 0}
.media-lg{position:relative;border-radius:22px;overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow)}
.media-lg .img{background:url('https://placehold.co/1200x800?text=Project+Image') center/cover no-repeat;height:420px;transform:scale(1.08)}
.media-lg .scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.25))}

/* Timeline */
.timeline{position:relative;margin-top:26px}
.timeline::before{content:'';position:absolute;left:14px;top:0;bottom:0;width:2px;background:linear-gradient(var(--accent),var(--accent2));animation:flow 6s linear infinite}
@keyframes flow{0%{opacity:.2}50%{opacity:1}100%{opacity:.2}}
.step{position:relative;padding-left:40px;margin:16px 0}
.step::before{content:'';position:absolute;left:6px;top:4px;width:16px;height:16px;border-radius:50%;background:linear-gradient(135deg,var(--cyan),var(--gold));box-shadow:0 0 0 4px #fff;animation:pulse 3s infinite}
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.2)}}

/* Footer */
footer{border-top:1px solid var(--border);padding:60px 0;background:linear-gradient(180deg,#ffffff 0%,#f9fafb 100%);color:var(--muted)}
footer .cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:20px}
.footer-cta{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,var(--cyan),var(--accent3));border:none;border-radius:18px;padding:18px 22px;margin-top:22px;color:#fff;font-weight:600}

/* Forms / CTA*/
.form input,.form select,.form textarea{
  width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:12px;
  background:#fff;color:var(--fg);font-size:14px;outline:none;transition:border-color .2s ease, box-shadow .2s ease
}
.form input:focus,.form select:focus,.form textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(155,93,229,.15)}
.form textarea{resize:vertical}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}

.badge.progress{background:#fff;color:#374151;border:1px dashed var(--border)}
.badge.progress .dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:var(--accent2)}

.cta-band{background:linear-gradient(90deg,var(--cyan),var(--accent3));color:#fff;border:none;border-radius:20px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.cta-band .meta{font-weight:700;font-size:18px}
.cta-band p{margin:0;opacity:.95}



/* Why Crystal — redesigned */
.why-split{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:start;margin-top:12px}
.why-head .points{margin:14px 0 0;padding-left:0;list-style:none;display:grid;gap:10px}
.why-head .points li{display:flex;gap:10px;align-items:flex-start;background:#fff;border:1px solid var(--border);border-radius:14px;padding:30px 12px}
.why-head .points svg{min-width:18px;height:22px}
.why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.why-tile{background:var(--panel);border:1px solid var(--border);border-radius:18px;padding:16px;box-shadow:var(--shadow);display:grid;gap:8px}
.stat-badge{display:inline-flex;gap:8px;align-items:center;background:#fff;border:1px dashed var(--border);border-radius:999px;padding:6px 10px;font-weight:600}

/* ========== Responsive ========== */
@media (max-width:1100px){
  .feature{grid-template-columns:1fr}
  .why-split{grid-template-columns:1fr}
  .why-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:900px){
  .nav .links{display:none}
  .grid-3{grid-template-columns:1fr}
  footer .cols{grid-template-columns:1fr 1fr}
  .form .row{grid-template-columns:1fr}
  .cta-band{flex-direction:column;align-items:flex-start}
}
@media (max-width:700px){
  .why-grid{grid-template-columns:1fr}
}

/* Scrolling & overflow safety */
html, body { height: auto; min-height: 100%; overflow-x: hidden; }

/* Ensure sections can stack above any parallax/sticky oddities */
section, footer { position: relative; z-index: 1; }

/* --- Compact padding for selected sections --- */
#why, #visit-cta, #enquiry { padding-block: 56px; }
#why .why-split { margin-top: 12px; }
#visit-cta .cta-band { padding: 18px; }
#enquiry .container { gap: 18px !important; }

@media (max-width: 900px){
  #why, #visit-cta, #enquiry { padding-block: 36px; }
  #visit-cta .cta-band { padding: 16px; }
}

/* Enquiry media: responsive, no overflow */
#enquiry .panel .media{
  width: 100%;
  max-width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  height: auto !important;
  background-position: center;
  background-size: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Grid item overflow safety */
#enquiry .container > * { min-width: 0; }

/* --- Enquiry panel improvements --- */
#enquiry .panel {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#enquiry .form { display: grid; gap: 14px; }
#enquiry .form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 900px) {
  #enquiry .panel { padding: 22px 20px; }
  #enquiry .form .row { grid-template-columns: 1fr; }
}

/* Project tabs */
.proj-tabs{
  display:inline-flex; gap:10px; margin:16px auto 24px;
  background:#fff; border:1px solid var(--border); border-radius:999px; padding:6px 10px;
  box-shadow:var(--shadow); justify-content:center;
}
.proj-tabs .tab{
  appearance:none; border:0; background:transparent; cursor:pointer;
  padding:8px 14px; border-radius:999px; font-weight:700; color:var(--muted);
}
.proj-tabs .tab.active{ background:linear-gradient(135deg,var(--accent),var(--accent2)); color:#fff; }

#projects .container { text-align:center; }
.projects-grid { justify-content:center; align-items:stretch; margin-inline:auto; }
.projects-grid .card{ transition:opacity .25s ease, transform .25s ease; }
.projects-grid .card[hidden]{ display:none; }

/* Tighten spacing for the visit-cta section */
#visit-cta { padding-block: 5px !important; }
#visit-cta .cta-band { margin: 0 auto; }

/* Video section */
#video { padding-block: 60px; text-align: center; background: radial-gradient(70% 70% at 20% 10%, rgba(90, 63, 255, .35), transparent 60%), radial-gradient(60% 60% at 80% 18%, rgba(0, 229, 255, .18), transparent 55%), radial-gradient(80% 80% at 60% 90%, rgba(255, 255, 255, .08), transparent 55%), linear-gradient(135deg, #08112a 0%, #0a1f4d 35%, #122c74 70%, #0b1940 100%);border-block:1px solid var(--border);}
#video .video-wrap {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  margin: 28px auto 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
#video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== About (DRA Style) + Royal Blue Posh Background ===== */
.aboutDRA{
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  color: #fff;

  /* Royal / posh blue gradient */
  background:
    radial-gradient(70% 70% at 20% 10%, rgba(90, 63, 255, .35), transparent 60%),
    radial-gradient(60% 60% at 80% 18%, rgba(0, 229, 255, .18), transparent 55%),
    radial-gradient(80% 80% at 60% 90%, rgba(255, 255, 255, .08), transparent 55%),
    linear-gradient(135deg, #08112a 0%, #0a1f4d 35%, #122c74 70%, #0b1940 100%);
}

/* subtle texture */
.aboutDRA::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.06), transparent 35%),
    radial-gradient(circle at 90% 30%, rgba(255,255,255,.04), transparent 40%);
  opacity: .9;
  pointer-events:none;
}

.aboutDRA__grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: center;
}

.aboutDRA {
  color: rgba(255,255,255,.75);
}

.aboutDRA__title{
  margin: 10px 0 14px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(44px, 5.4vw, 84px);
}

.aboutDRA__title .t1{
  display:block;
  color: #ffffff; /* gold accent like reference */
}

.aboutDRA__title .t2{
  display:block;
  color: #ffffff;
}

.aboutDRA__desc{
  max-width: 680px;
  color: rgba(255,255,255,.82);
  line-height: 2.1;
  font-size: 1.6rem;
}

.hlBlock{
  display: inline;
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--accent);
  font-weight: 800;

  /* highlight wipe will animate with CSS variable */
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(237, 225, 225, 0.95));
  background-size: var(--hlw, 0%) 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Tabs like reference */
.aboutDRA__tabs{
  display:flex;
  gap: 18px;
  margin: 22px 0 26px;
  flex-wrap: wrap;
}

.tabBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 160px;
  padding: 14px 18px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  font-size: 12px;
  color: #0b1020;
  background: #ffffff;
  border: 1px dashed rgba(0,0,0,.22);
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
  transition: transform .25s ease, filter .25s ease;
}

.tabBtn:hover{
  transform: translateY(-2px);
  filter: brightness(1.03);
}

/* Features row */
.aboutDRA__features{
  margin-top: 10px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.feat{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.feat h4{
  margin: 0;
  font-size: 18px;
  color: #fff;
  font-weight: 900;
}

.feat p{
  margin: 6px 0 0;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  font-size: 13px;
}

/* Minimal “flame” like icon */
.featIcon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(110, 243, 95, 0.95), transparent 60%),
    radial-gradient(circle at 60% 60%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, rgba(255,209,102,.35), rgba(255,209,102,.08));
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
  border: 1px solid rgba(255,209,102,.35);
}

/* Right ambassador*


/* Highlight text effect (like your example video) */
.hl{
  position: relative;
  font-weight: 800;
  color: var(--ch-dark-blue);
  background-image: linear-gradient(180deg, rgba(255,255,255,0) 62%, rgba(162,34,39,.18) 0);
  background-size: var(--hlw, 0%) 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  padding: 0 .12em;
  border-radius: 6px;
}

/* Right side ambassador card */
.aboutPro__visual{
  display: flex;
  justify-content: center;
}

.ambCard{
  position: relative;
  width: min(420px, 100%);
  height: 520px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  place-items: end center;
}

.ambGlow{
  position: absolute;
  inset: -40% -40% auto -40%;
  height: 70%;
  background:
    radial-gradient(circle at 30% 30%, rgba(66,52,90,.22), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(162,34,39,.20), transparent 55%);
  filter: blur(18px);
  opacity: .9;
  pointer-events: none;
}

.ambImg{
  width: 92%;
  height: 100%;
  object-fit: contain;
  transform-origin: 50% 80%;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.18));
}

.ambCaption{
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(17,24,39,.55);
  backdrop-filter: blur(10px);
  color: #fff;
  display: grid;
  gap: 2px;
  text-align: center;
}

.ambCaption strong{ font-size: 14px; letter-spacing: .02em; }
.ambCaption span{ font-size: 12px; opacity: .92; font-weight: 700; }


/* 1) shrink section height */
.aboutDRA{
  padding: 52px 0;   /* was 78px */
}

/* 2) shrink the right visual area (no crop) */
.ambWrap{
  height: 800px;     /* was 620px */
  width: min(500px, 100%); /* slightly narrower so it looks compact */
}

/* 3) ensure image is fully visible (no crop) */
.ambassador{
  width: 100%;
  height: 100%;
  object-fit: contain;  /* keep full image */
  max-height: 800px;    /* matches ambWrap height */
}

/* ===== Shrink About DRA content (compact) ===== */
.aboutDRA__title{
  font-size: clamp(34px, 4.4vw, 68px); /* smaller heading */
  margin: 6px 0 10px;
}

.aboutDRA__desc{
  font-size: 1.2rem;    /* slightly smaller paragraph */
  line-height: 1.7;
  max-width: 640px;
  margin-top: 0;
}

/* Tabs smaller */
.aboutDRA__tabs{
  margin: 14px 0 16px;
  gap: 14px;
}

.tabBtn{
  min-width: 140px;      /* was 160px */
  padding: 12px 16px;    /* smaller height */
  font-size: 11px;
}

/* Features tighter */
.aboutDRA__features{
  gap: 14px;
  padding-top: 14px;
}

.feat h4{
  font-size: 16px;
}

.feat p{
  font-size: 12.5px;
  line-height: 1.55;
}

/* Icon smaller */
.featIcon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

/* ===== Mobile: image goes BELOW + minimal text ===== */
@media (max-width: 980px){
  .aboutDRA{ padding: 44px 0; }

  .aboutDRA__grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Put ambassador image below content */
  .aboutDRA__right{
    order: 2;
    margin-top: 8px;
  }
  .aboutDRA__left{
    order: 1;
    text-align: left; /* change to center if you want */
  }

  /* Shrink image area (no crop) */
  .ambWrap{
    height: 420px;
    width: min(400px, 100%);
  }
  .ambassador{
    max-height: 420px;
    object-fit: contain; /* full image */
  }

  /* Minimal content: hide feature row */
  .aboutDRA__features{ display: none; }

  /* Keep description minimal */
  .aboutDRA__desc{
    font-size: 0.92rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* show only 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Tabs smaller + centered */
  .aboutDRA__tabs{
    justify-content: center;
    gap: 10px;
    margin: 12px 0 10px;
  }
  .tabBtn{
    min-width: 120px;
    padding: 11px 14px;
    font-size: 10px;
  }

  /* Title smaller on mobile */
  .aboutDRA__title{
    font-size: clamp(30px, 7.2vw, 44px);
  }
}

@media (max-width: 520px){
  .ambWrap{ height: 380px; }
  .ambassador{ max-height: 380px; }

  .tabBtn{
    min-width: 108px;
    padding: 10px 12px;
  }
}

/* Center align all text on mobile */
@media (max-width: 980px){
  .aboutDRA__left{
    text-align: center;
  }

  .aboutDRA__desc{
    margin-inline: auto;
    text-align: center;
  }

  .aboutDRA__tabs{
    justify-content: center;
  }
}

/* ===== MOBILE ONLY: use dd-2.png + image below + minimal text + stick to bottom ===== */
@media (max-width: 980px){

  /* make section have NO bottom padding so image can touch bottom */
  .aboutDRA{ padding: 44px 0 0 !important; }

  /* stack */
  .aboutDRA__grid{
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  /* text first */
  .aboutDRA__left{
    order: 1;
    text-align: center;
    align-self: start;
  }

  /* image below */
  .aboutDRA__right{
    order: 2;
    margin-top: 8px;
  }

  /* keep the image wrapper flush bottom + remove baseline gap */
  .ambWrap{
    width: min(400px, 100%);
    height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    margin: 0;
    line-height: 0;
  }

  .ambWrap picture,
  .ambWrap img{
    display: block;
    margin: 0;
    padding: 0;
  }

  .ambassador{
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: contain;              /* no crop */
    object-position: center bottom;   /* anchor bottom */
    transform: translateY(1px);       /* hides 1px visual gap on some browsers */
  }

  /* hide feature row on mobile */
  .aboutDRA__features{ display: none !important; }

  /* clamp description */
  .aboutDRA__desc{
    font-size: 0.92rem;
    line-height: 1.65;
    margin-inline: auto;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* buttons smaller */
  .aboutDRA__tabs{
    justify-content: center;
    gap: 10px;
    margin: 12px 0 10px;
  }
  .tabBtn{
    min-width: 120px;
    padding: 11px 14px;
    font-size: 10px;
  }

  .aboutDRA__title{
    font-size: clamp(30px, 7.2vw, 44px);
  }
}

@media (max-width: 520px){
  .ambWrap{ height: 380px; width: min(320px, 100%); }
  .ambassador{ max-height: 380px; }
  .tabBtn{ min-width: 108px; padding: 10px 12px; }
}

@media (max-width: 980px){
  .aboutDRA__right{
    display: flex;
    justify-content: center;
  }

  .ambWrap{
    margin-inline: auto;   /* centers the wrapper */
  }

  .ambWrap picture{
    width: 100%;
    display: flex;
    justify-content: center; /* centers the image inside picture */
  }

  .ambassador{
    margin-inline: auto;   /* centers the image itself */
  }
}

/* base highlight style stays */
.trailText{
  color: #0b1020; /* normal text color */
}

/* each character span */
.trailText .ch{
  display: inline-block;
  color: #0b1020;
  transition: color .12s linear;
}

/* trailing active color */
.trailText .ch.on{
  color: #fe4639; /* royal blue */
}

/* optional: little glow for premium feel */
.trailText .ch.on{
  text-shadow: 0 0 14px rgba(10,31,77,.25);
}



/* ===== Hero section mobile adjustments ===== */
@media (max-width: 600px) {
  .hero .content { padding: 0 18px 60px; }
  .hero h1 { font-size: clamp(32px, 8vw, 56px); line-height: 1.1; }
  .hero p { font-size: 0.95rem; padding: 0 6px; }
}

/* Alternating section backgrounds */
#projects  { background: #ffffff; }

#enquiry   { background: linear-gradient(180deg,#ffffff 0%, #f8fafc 100%); }


/* ===== Mobile bottom CTA bar ===== */
.mobile-cta-bar{
  position: fixed; left: 0; right: 0;
  bottom: calc(env(safe-area-inset-bottom, 0px));
  background: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px rgba(0,0,0,.10);
  z-index: 1001;
  display: none; /* mobile only */
  transform: translateY(110%);
}
.mobile-cta-bar .inner{
  display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 12px;
}
.mobile-cta-bar .chip{
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 10px; border-radius: 999px; border: 1px solid var(--border);
  font-weight: 700; color: #111827; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; background: #fff;
}
.mobile-cta-bar .chip:hover{ transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.10); }
.mobile-cta-bar .chip--wa{ background: #e7f9ee; border-color: #b7ebcc; }
.mobile-cta-bar .chip--projects{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none; box-shadow: 0 8px 18px rgba(155,93,229,.25);
}
@media (max-width: 900px){
  .mobile-cta-bar{ display: block; animation: ctaSlideUp .4s ease .2s forwards; }
  body{ padding-bottom: 86px; }
}
@keyframes ctaSlideUp{ from{ transform: translateY(110%); } to{ transform: translateY(0); } }

/* ===== Enhanced project cards ===== */
.project-card { position: relative; overflow: hidden; }
.project-card .media{ position:relative; height:400px; border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.project-card .share-btn{
  position:absolute; right:10px; top:10px; display:grid; place-items:center;
  width:36px; height:36px; border-radius:999px; border:1px solid var(--border); background:#fff;
  box-shadow: var(--shadow); cursor:pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.project-card .share-btn:hover{ transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.project-card .meta{ color:#6b7280; margin:.25rem 0 .5rem; }

.project-card .lead.small{ font-size:.95rem; }
.proj-actions{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:10px; }
.icon-btn{
  display:inline-flex; align-items:center; gap:8px; padding:10px 12px; border-radius:999px; border:1px solid var(--border);
  background:#fff; font-weight:700; color:#111827; text-decoration:none; transition: transform .2s ease, box-shadow .2s ease;
}
.icon-btn:hover{ transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.icon-btn.wa{ background:#e7f9ee; border-color:#b7ebcc; }
.btn.brochure{ padding:10px 14px; border-radius:999px; }

/* Modal for brochure lead */
/*.modal-scrim{
  position:fixed; inset:0; background:rgba(0,0,0,.46); z-index: 1002;
  opacity:0; pointer-events:none; transition:opacity .25s ease;
}
.modal-scrim.open{ opacity:1; pointer-events:auto; }
.modal{
  position:fixed; inset:0; display:grid; place-items:center; z-index:1003;
  opacity:0; pointer-events:none; transition:opacity .25s ease;
}
.modal.open{ opacity:1; pointer-events:auto; }
.modal__panel{
  width:min(600px, 92%); background:#fff; border:1px solid var(--border);
  border-radius:18px; padding:22px; box-shadow: var(--shadow);
  transform: translateY(10px); transition: transform .25s ease;
}
.modal.open .modal__panel{ transform:none; }
.modal__close{
  position:absolute; top:10px; right:12px; width:34px; height:34px; border:0; border-radius:8px; background:#f3f4f6; cursor:pointer;
}
@media (max-width: 900px){ .modal__panel{ margin-bottom: 70px; } }*/

/* ===== Brochure Modal (premium + modern, keeps your existing HTML) ===== */
.modal-scrim[hidden],
.modal[hidden]{
  display:none !important;
}

/* Scrim: darker + subtle vignette */
.modal-scrim{
  position:fixed;
  inset:0;
  z-index: 9998;
  background:
    radial-gradient(120% 80% at 50% 20%, rgba(0,0,0,.55), rgba(0,0,0,.72));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Center wrapper + safe padding for small screens */
.modal{
  position:fixed;
  inset:0;
  display:grid;
  place-items:center;
  z-index: 9999;
  padding: 18px;
}

/* Panel: glassy card + soft border + better depth */
.modal__panel{
  width: min(560px, 92vw);
  position: relative;
  border-radius: 22px;
  padding: 22px 22px 20px;

  /* soft “crystal” background */
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.90));
  border: 1px solid rgba(148,163,184,.35);

  /* depth + lift */
  box-shadow:
    0 22px 70px rgba(2, 6, 23, .28),
    0 1px 0 rgba(255,255,255,.70) inset;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transform: translateY(6px) scale(.985);
  animation: modalPop .22s ease-out forwards;
  overflow: hidden;
}

/* subtle accent glow (optional but classy) */
.modal__panel::before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(29,52,130,.18), transparent 55%),
    radial-gradient(55% 55% at 80% 20%, rgba(239,68,97,.14), transparent 58%),
    radial-gradient(70% 70% at 50% 110%, rgba(66,94,176,.12), transparent 60%);
  opacity: .9;
}

/* Close: circular, cleaner, nicer hover */
.modal__close{
  position:absolute;
  top: 12px;
  right: 12px;
  z-index: 2;

  width: 42px;
  height: 42px;
  border-radius: 999px;

  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.85);
  color: #0b1940;

  cursor: pointer;
  font-size: 22px;
  line-height: 1;

  display:grid;
  place-items:center;

  transition: transform .16s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 10px 26px rgba(2,6,23,.10);
}

.modal__close:hover{
  transform: translateY(-1px) scale(1.04);
  background: #fff;
  box-shadow: 0 14px 30px rgba(2,6,23,.14);
}

.modal__close:active{
  transform: scale(.98);
}

/* Accessibility: visible focus */
.modal__close:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(29,52,130,.18), 0 14px 30px rgba(2,6,23,.14);
}
.popup-modal{
  margin-top: 8px;
}

/* Animation */
@keyframes modalPop{
  to{ transform: translateY(0) scale(1); }
}

/* Mobile tweaks */
@media (max-width: 420px){
  .modal{ padding: 14px; }
  .modal__panel{
    border-radius: 18px;
    padding: 18px 16px 16px;
  }
  .modal__close{
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .modal__panel{ animation: none; transform:none; }
  .modal__close{ transition: none; }
}

/* Image labels (DTCP / RERA / CMDA) */
.project-card .labels{
  position:absolute; left:10px; top:10px; display:flex; gap:6px; flex-wrap:wrap;
}
.project-card .label{
  background: #111827; color:#fff; font-weight:700; font-size:12px;
  padding:6px 8px; border-radius:999px; letter-spacing:.02em; box-shadow: 0 6px 14px rgba(0,0,0,.15);
}

/* Specs list */
.project-card .specs{
  margin: 8px 0 4px; padding:0; list-style:none; display:grid; gap:6px;
}
.project-card .specs li{
  display:flex; align-items:center; justify-content:space-between;
  background:#fff; border:1px solid var(--border); border-radius:12px;
  padding:10px 12px; color:#374151; font-weight:600;
}
.project-card .specs li strong{ color:#111827; font-size:.95rem; }
.project-card .specs li span{ color:#111827; }

/* Card footer (current completion) */
.project-card .card-footer{ margin-top: 10px; display:flex; align-items:center; justify-content:flex-start; }
.badge.progress{ display:inline-flex; align-items:center; gap:8px; }

/* Compacting actions (icon-only) */
.icon-btn span{ display: none !important; }
.proj-actions .icon-btn{ min-width: auto !important; }

/* Mobile compact cards */
@media (max-width: 900px){
  #projects .projects-grid{ gap: 12px; }
  .project-card .media{ height: 160px; }
  .project-card .body{ padding: 14px 14px 16px; }
  .project-card h3{ font-size: 1rem; margin: 0 0 6px; }
  .badge.progress{ font-size: 12px; }
  .project-card .specs{ gap: 6px; }
  .project-card .specs li{ padding: 8px 10px; font-size: 13px; }
  .project-card .specs li strong{ font-size: 13px; }
  .proj-actions{ gap: 8px; }
  .icon-btn{ padding: 8px 10px; }
  .icon-btn svg{ width: 16px; height: 16px; }
  .btn.brochure{ padding: 8px 12px; font-size: 13px; }
}

/* View More placement */
#projects .view-more{ display: flex; justify-content: center; margin-top: 18px; }
#projects .projects-grid{ margin-bottom: 10px; }
@media (max-width: 900px){ #projects .view-more{ margin-top: 22px; } }

/* Hide long About text on mobile (optional) */
/*@media (max-width: 900px){
  #about .about-text p{ display: none !important; }
}*/

/* ===== Mobile menu ===== */
.menu-toggle{
  display:none; position:relative; width:38px; height:34px; border:0; background:transparent; cursor:pointer;
  margin-right:10px;
}
.menu-toggle span{
  position:absolute; left:7px; right:7px; height:2px; background:#111827; transition:transform .25s ease, opacity .25s ease, top .25s ease;
}
.menu-toggle span:nth-child(1){ top:9px; }
.menu-toggle span:nth-child(2){ top:16px; }
.menu-toggle span:nth-child(3){ top:23px; }
.menu-toggle.active span:nth-child(1){ top:16px; transform:rotate(45deg); }
.menu-toggle.active span:nth-child(2){ opacity:0; }
.menu-toggle.active span:nth-child(3){ top:16px; transform:rotate(-45deg); }

.mobile-menu{
  display:none; position:absolute; left:0; right:0; top:100%; background:#ffffff; border-bottom:1px solid var(--border);
  box-shadow:0 12px 26px rgba(0,0,0,.08); padding:10px 22px; z-index:1002;
}
.mobile-menu a{
  display:block; padding:12px 6px; border-bottom:1px solid #f3f4f6; color:var(--muted); font-weight:700;
}
.mobile-menu a:last-child{ border-bottom:0; }

@media (max-width: 900px){
  .menu-toggle{ display:block; order:-1; }
  .nav .links{ display:none !important; }
  .nav .cta{ display: none !important; }
}
@media (min-width: 901px){
  .nav .cta{ display: flex; gap: 10px; align-items: center; }
  .menu-toggle{ display:none; }
}

.nav { overflow: visible; }
.mobile-menu { display: none; }
.nav.is-menu-open .mobile-menu { display: block; animation: mmSlideDown .25s ease; }
@keyframes mmSlideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* Pull sections together a touch */
/*#about { margin-bottom: 0 !important; padding-bottom: 0 !important; }
#about .container:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }*/
#projects { margin-top: 0 !important; padding-top: 20px !important; }

/* iOS fixed fallback */
@supports (-webkit-touch-callout: none) {
  .nav { position: fixed; top: 0; left: 0; right: 0; }
  body { padding-top: var(--nav-height, 64px); }
}

/* Utilities */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Logo sizing */
.company-logo { max-height: 90px; }
@media (max-width: 900px){ .company-logo { max-height: 70px; } }

/* Why section refinement (boxed) */
#why .why-split {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: start;
  gap: 32px; padding: 32px; border-radius: var(--radius); background: #ffffff; box-shadow: var(--shadow);
}
#why .why-head {
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  padding: 24px 28px; border-radius: var(--radius); box-shadow: var(--shadow);
}
#why .why-title { margin: 0 0 8px; }
#why .points { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
#why .points li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; color: var(--muted); }
#why .ic-wrap { flex-shrink: 0; width: 22px; height: 22px; }
#why .why-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px;}
#why .stat-badge { display: flex; align-items: center; gap: 6px; background: #f8fafc; padding: 6px 12px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--fg); border: 1px solid var(--border); }
#why .why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
#why .why-tile {
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; text-align: left; box-shadow: 0 4px 10px rgba(0,0,0,.04); transition: transform .2s ease, box-shadow .2s ease;
}
#why .why-tile:hover { transform: translateY(-4px); box-shadow: 0 10px 18px rgba(0,0,0,.06); }
#why .why-tile-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--fg); font-weight: 600; }
@media (max-width: 900px) {
  #why .why-split { grid-template-columns: 1fr; padding: 22px; gap: 24px; }
  #why .why-grid { grid-template-columns: 1fr; }
}

/* Accessibility: focus styles */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
a:focus-visible, .btn:focus-visible, .tab:focus-visible { box-shadow: 0 0 0 4px rgba(155,93,229,.25); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 900px){
  .why-stats{
    display: none !important;
  }
}

/* Animated Stats Section */
/*.about-stats { text-align: center; padding: 3rem 1rem; background: #fafafa; }
.stats-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.stat { font-size: 1.5rem; font-weight: 600; color: var(--accent2, #9b5de5); }
.stat .count { font-size: 2.5rem; color: var(--accent); display: inline-block; vertical-align: baseline; }
.stat .plus  { font-size: 2.5rem; color: var(--accent); margin-left: 4px; display:inline-block; vertical-align: baseline; }*/

/* View more button styling */
.view-more .btn { padding: 12px 28px; font-size: 1rem; border-radius: 999px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.view-more .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15); }


/* === Hero Slider: support for .hero-slide + .is-active === */
.hero .hero-slider, #heroSlider { position: relative; }
#heroSlider { width:100%; height:100%; }
#heroSlider .hero-slide{
  position:absolute; inset:0;
  opacity:0; visibility:hidden;
  transition: opacity .8s ease, visibility .8s step-end;
  pointer-events:none;
}
#heroSlider .hero-slide.is-active,
#heroSlider .hero-slide.active{
  opacity:1; visibility:visible;
  transition: opacity .8s ease, visibility 0s step-start;
  pointer-events:auto;
}
#heroSlider .hero-slide picture,
#heroSlider .hero-slide img{
  width:100%; height:100%; object-fit:cover; display:block;
}
/* === End Hero Slider support === */


/* === Hero Slider: centered dots + hide arrows === */
#heroSlider { position: relative; }
#heroDots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
#heroDots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.5);
  cursor: pointer;
}
#heroDots button.active { background: rgba(255,255,255,1); }
.hero-nav, .hero-arrow { display: none !important; }
/* === End centered dots + hide arrows === */

/* === Hero Slider: Sleek Dots with Transparent Bar === */
#heroDots {
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  padding: 2px 18px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
#heroDots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}
#heroDots button:hover {
  background: rgba(255,255,255,0.8);
  transform: scale(1.2);
}
#heroDots button.active {
  background: #fff;
  width: 10px;
  height: 4px;
  box-shadow: 0 0 8px rgba(255,255,255,0.9);
}
/* === End Sleek Dots === */


/* === Hero Slider: Parallax + Animation Effects === */
#heroSlider { position: relative; overflow: hidden; }

/* Smooth fading between slides */
#heroSlider .hero-slide, 
#heroSlider .slide {
  will-change: opacity, transform;
  transition: opacity .8s ease, visibility .8s step-end;
}
#heroSlider .hero-slide.is-active,
#heroSlider .hero-slide.active,
#heroSlider .slide.is-active,
#heroSlider .slide.active {
  transition: opacity .8s ease, visibility 0s step-start;
}

/* Ken Burns (subtle zoom) on active slide image */
#heroSlider .kb img,
#heroSlider .kb picture img {
  animation: hero-kenburns 6s ease-in-out both;
  transform-origin: center center;
  will-change: transform;
}

@keyframes hero-kenburns {
  0%   { transform: scale(1.05); }
  100% { transform: scale(1.0); }
}

/* Parallax: allow translating either the slide or its img */
#heroSlider .parallax-translate { will-change: transform; }

/* Sleek dots with translucent bar */
#heroDots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
#heroDots button {
  width: 10px;
  height: 4px;
  border-radius: 50%;
  border: 0;
  outline: none;
  background: rgba(255,255,255,.55);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
#heroDots button:hover { transform: scale(1.05); background: rgba(255,255,255,.85); }
#heroDots button.active {
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,.9);
}
/* === End Parallax + Animation Effects === */


/* === Enquiry grid fix for index.html === */
.enquiry-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
}
@media (max-width: 900px){
  .enquiry-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}


/* === Footer overflow safeguards === */
footer { overflow-x: clip; }
footer .cols { overflow: hidden; }
footer .cols > * { min-width: 0; } /* allow grid children to shrink within container */
.footer-cta { flex-wrap: wrap; gap: 10px; }
.footer-cta > div { flex: 1 1 220px; } /* prevent flex child from forcing overflow */
.footer-cta .btn { white-space: nowrap; }

@media (max-width: 600px){
  footer .cols { grid-template-columns: 1fr; }
}

@media (max-width: 600px){
  #heroSlider .hero-slide{
    background-size: cover;
    background-position: center top;
  }
}

/* ===== Alerts: mobile ticker ===== */
@media (max-width: 900px){
  .alerts{
    overflow: hidden;               /* mask scrolling content */
    padding: 0;                     /* track handles its own padding */
    background: #fff;               /* solid for readability */
    border-bottom: 1px solid var(--border);
  }
  .alerts__track{
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;            /* keep badges on one line */
    padding: 12px 16px;
    will-change: transform;         /* smooth GPU scrolling */
  }
  .alerts .badge{
    display: inline-flex;           /* ensure badges flow inline */
  }
}
/* Why (Right side image) */
#why .why-visual{
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  /*background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden; *//* keeps it compact */
}

#why .why-visual img{
  width: 100%;
  height: 100%;
  max-height: 500px;      /* prevents it from making the area taller */
  object-fit: contain;     /* fits inside without cropping */
  border-radius: 14px;
}

.why-head{
  margin-top: 15px;
}
#why {
 background: radial-gradient(70% 70% at 20% 10%, rgba(90, 63, 255, .35), transparent 60%),
    radial-gradient(60% 60% at 80% 18%, rgba(0, 229, 255, .18), transparent 55%),
    radial-gradient(80% 80% at 60% 90%, rgba(255, 255, 255, .08), transparent 55%),
    linear-gradient(135deg, #08112a 0%, #0a1f4d 35%, #122c74 70%, #0b1940 100%)
}


/* Founder section */
.section--founder{
  padding: 56px 0;
}

.founder{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  margin: 30px auto;
}

.founder-text h2{
  margin: 6px 0 10px;
}

.founder-name{
  margin: 14px 0 16px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.25;
  color: var(--fg);
}

.founder-name strong{
  display: block;
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ch-dark-blue);
}

.founder-role{
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
}

.founder-copy{
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.founder-copy p{
  margin: 0 0 12px;
}

.founder-frame{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 420px;
  margin-left: auto; /* keeps image aligned nicely on right */
}

.founder-frame img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 900px){
  .founder{
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 26px auto;
  }
  .founder-frame{
    margin: 0 auto;
    max-width: 520px;
  }
  .founder-text{
    text-align: center;
  }
}

.founder-caption{
  padding: 10px 8px 6px;
  text-align: center;
}

.founder-caption strong{
  display: block;
  font-size: 1rem;
  color: var(--fg);
  line-height: 1.2;
}

.founder-caption span{
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

/* ===== Footer headings + list spacing (desktop only) ===== */
@media (min-width: 900px){

  /* Each column */
  .footer-links > div{
    display: flex;
    flex-direction: column;
  }

  /* Headings */
  .footer-links strong{
    display: block;
    font-size: 22px;     /* bigger */
    font-weight: 800;    /* bold */
    letter-spacing: .3px;
    line-height: 1.2;
  }

  /* Gap ABOVE the list (between heading and list) */
  .footer-links ul{
    margin-top: 14px;    /* <-- this is the top gap you want */
    list-style: none;
    padding: 0;
    margin-bottom: 0;

    display: flex;
    flex-direction: column;
    gap: 12px;           /* spacing between list items */
  }

  /* Links */
  .footer-links ul li a{
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    display: inline-block;
    opacity: .92;
    transition: opacity .2s ease, transform .2s ease;
  }

  .footer-links ul li a:hover{
    opacity: 1;
    transform: translateX(2px);
  }
}

/* ================================
   PROJECT CARD — BODY (DRA-style)
   Only redesigns the .body section
   ================================ */

.project-card .body{
  position: relative;
  padding: 18px 18px 16px !important;

  /* clean + premium */
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-top: 1px solid rgba(226,232,240,.85);

  display: grid;
  gap: 12px;

  /* nicer rhythm */
  text-align: left;
}

/* Title */
.project-card .body h3{
  margin: 0 !important;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--accent);
}

/* subtle divider line under title */
.project-card .body h3::after{
  content:"";
  display:block;
  height: 1px;
  margin-top: 10px;
  background: linear-gradient(90deg, rgba(17,24,39,.10), rgba(17,24,39,0));
}

/* ================================
   Specs → DRA style "data blocks"
   ================================ */
.project-card .specs{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* each spec becomes a mini card */
.project-card .specs li{
  margin: 0 !important;
  padding: 12px 12px !important;

  border-radius: 14px;
  border: 1px solid rgba(226,232,240,.95);
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 22px rgba(15,23,42,.06);

  display: grid;
  gap: 6px;
  align-content: start;
}

/* label */
.project-card .specs li strong{
  font-size: 11px !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #64748b !important;
  font-weight: 900;
}

/* value */
.project-card .specs li span{
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
}

/* ================================
   Actions row — clean DRA bar
   ================================ */
.project-card .proj-actions{
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

/* Call + WA become icon pills */
.project-card .icon-btn{
  width: 44px;
  height: 44px;

  padding: 0 !important;
  border-radius: 999px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(226,232,240,.95);
  background: #fff;

  box-shadow: 0 12px 24px rgba(15,23,42,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.project-card .icon-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15,23,42,.12);
  border-color: rgba(59,130,246,.25);
}

/* whatsapp color hint */
.project-card .icon-btn.wa{
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
  border-color: rgba(34,197,94,.28);
}

/* Brochure becomes full width button */
.project-card .btn.brochure{
  flex: 1;
  height: 44px;

  border-radius: 999px;
  border: 1px solid rgba(226,232,240,.95);

  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 900;

  box-shadow: 0 16px 34px rgba(29,52,130,.22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.project-card .btn.brochure:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(29,52,130,.28);
  filter: brightness(1.02);
}

/* make svg icon look consistent */
.project-card .icon-btn svg{
  width: 18px;
  height: 18px;
}

/* ================================
   Mobile polish
   ================================ */
@media (max-width: 900px){

  .project-card .body{
    padding: 14px 14px 14px !important;
    gap: 10px;
    text-align: left;
  }

  .project-card .body h3{
    font-size: 16px;
  }

  .project-card .specs{
    grid-template-columns: 1fr;
  }

  .project-card .specs li{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;

    padding: 11px 12px !important;
    border-radius: 14px;
  }

  .project-card .specs li strong{
    font-size: 10px !important;
  }

  .project-card .specs li span{
    font-size: 13px;
    text-align: right;
  }

  .project-card .proj-actions{
    gap: 10px;
  }

  .project-card .btn.brochure{
    font-size: 13px;
  }
}

/* ultra small phones */
@media (max-width: 360px){
  .project-card .btn.brochure{
    font-size: 12px;
  }
}

@media (max-width: 650px) {
  .hlBlock .trailText{
    display: none !important;
  }
}

/* ===== FAQ (details/summary) ===== */
.faq .faq-list{
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

/* Each item */
.faq .faq-item{
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 16px;
  background: rgba(255,255,255,.02);
  overflow: clip; /* prevents weird border bleed */
}

/* Remove default marker (triangle) */
.faq .faq-item summary{
  list-style: none;
}
.faq .faq-item summary::-webkit-details-marker{
  display: none;
}

/* Summary row */
.faq .faq-item .q{
  cursor: pointer;
  padding: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 700;
  line-height: 1.3;
  user-select: none;
}

/* Custom plus icon (no need to type + in HTML) */
.faq .faq-item .q::after{
  content: "+";
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .25);
  color: #ea8686;
  flex: 0 0 auto;
  transition: transform .18s ease, background .18s ease;
}

/* Open state: rotate + to look like x */
.faq .faq-item[open] .q::after{
  transform: rotate(45deg);
  background: rgba(3, 30, 69, 0.08);
}

/* Answer wrapper (we'll animate height via JS) */
.faq .faq-item .a{
  padding: 0 16px 16px;
  color: rgba(0, 0, 0, 0.85);
  line-height: 1.75;
}

/* Remove default paragraph margin causing jump */
.faq .faq-item .a p{
  margin: 0;
}

/* Accessibility focus */
.faq .faq-item summary:focus-visible{
  outline: 2px solid rgba(34, 211, 238, .7);
  outline-offset: 3px;
  border-radius: 14px;
}

