/* ══════════════════════════════════════
       DESIGN TOKENS — match index.html
    ══════════════════════════════════════ */
    :root {
      --gold:       #d4af37;
      --gold-light: #E8D08A;
      --dark:       #330033;
      --charcoal:   #3d003d;   /* slightly lighter purple for cards */
      --mid:        #2C2C2C;
      --cream:      #F5F0E8;
      --text-dim:   #b09ab0;   /* dimmed but purple-warm */
      --white:      #FFFFFF;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      background: var(--dark);
      color: var(--cream);
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      overflow-x: hidden;
    }
    
  /* ═══════════════════════════════
   NAVBAR
═══════════════════════════════ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;

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

  padding: 18px 60px;

  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.92) 0%,
    transparent 100%
  );

  backdrop-filter: blur(2px);
  transition: 0.4s;
}

nav.scrolled {
  background: #330033;
}

/* LOGO */

.nav-logo img {
  height: 70px;
  width: auto;
  display: block;
}

/* LINKS */

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  transition: 0.3s;
}

/* Hover underline */

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;

  width: 0;
  height: 1px;
  background: var(--gold);

  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* CTA */

.nav-cta {
  background: var(--gold);
  border: 1px solid white;
  color: white;

  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  padding: 10px 24px;
  cursor: pointer;
  transition: 0.3s;
}

.nav-cta:hover {
  background: white;
  color: var(--dark);
}

/* ═══════════════════════════════
   DROPDOWN
═══════════════════════════════ */

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;

  min-width: 220px;

  background: #1b001b;
  border: 1px solid rgba(255,255,255,0.08);

  padding: 14px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: 0.3s ease;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 12px 22px;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ═══════════════════════════════
   MOBILE TOGGLE
═══════════════════════════════ */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--cream);
  transition: 0.3s;
}

/* Toggle Animation */

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Button */

.mobile-btn {
  display: none;
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */

@media (max-width: 991px) {

  nav {
    padding: 18px 24px;
  }

  .menu-toggle {
    display: flex;
  }

  .desktop-btn {
    display: none;
  }

  .nav-links {
    position: fixed;

    top: 0;
    left: -100%;

    width: 300px;
    height: 100vh;

    background: #140014;

    flex-direction: column;
    align-items: flex-start;
    gap: 0;

    padding: 120px 30px;

    transition: 0.4s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  /* Mobile Dropdown */

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;

    background: transparent;
    border: none;

    display: none;

    padding-left: 15px;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .mobile-btn {
    display: block;
    margin-top: 20px;
  } 

  .mobile-btn .nav-cta {
    width: 100%;
  }

  .nav-logo img {
    height: 56px;
  }
}
/* ══════════════════════════════════════
   MOBILE ENQUIRE BUTTON — COMPLETE FIX
══════════════════════════════════════ */
@media (max-width: 991px) {

    /* Fix the menu panel width so nothing overflows */
    .nav-links {
        width: 280px !important;
        max-width: 85vw !important;
        box-sizing: border-box !important;
        padding: 100px 24px 40px !important;
        overflow-x: hidden !important;
    }

    /* Make every list item stay inside the panel */
    .nav-links li {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Fix the mobile-btn container */
    .mobile-btn {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-top: 24px !important;
        padding: 0 !important;
    }

    /* Enquire Now button — match desktop gold style exactly */
    .mobile-btn a.nav-cta {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        padding: 14px 16px !important;
        background: transparent !important;
        border: 1px solid #c9a84c !important;
        color: #c9a84c !important;
        font-family: 'Jost', sans-serif !important;
        font-size: 0.75rem !important;
        letter-spacing: 0.18em !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        border-bottom: 1px solid #c9a84c !important;
        transition: background 0.3s, color 0.3s !important;
    }

    .mobile-btn a.nav-cta:hover,
    .mobile-btn a.nav-cta:active {
        background: #c9a84c !important;
        color: #0d0d0d !important;
    }
}
 
 /* home page css */


    /* ── HERO SLIDER ── */
    .slider {
      position: relative; width: 100%; height: 100vh; overflow: hidden;
    }

    .slide {
      position: absolute; inset: 0;
      background-size: cover; background-position: center;
      opacity: 0; transition: opacity 1.2s ease;
      display: flex; align-items: center;
    }
    .slide.active { opacity: 1; z-index: 2; }
    .slide.prev { opacity: 0; z-index: 1; }

    .slide::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(
        105deg,
        rgba(13,13,13,0.78) 0%,
        rgba(13,13,13,0.4) 55%,
        rgba(13,13,13,0.15) 100%
      );
    }

    /* Slide backgrounds using CSS gradients as placeholders for real images */
    .slide-1 { background-image: url('../images/slide-1.jpg'); }
    .slide-2 { background-image: url('../images/slide-2.jpg'); }
    .slide-3 { background-image: url('../images/slide-3.jpg'); }
    .slide-4 { background-image: url('../images/slide-4.jpg'); }

    .slide-content {
      position: relative; z-index: 3;
      padding: 0 10vw;
      max-width: 780px;
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.9s ease 0.4s, transform 0.9s ease 0.4s;
    }
    .slide.active .slide-content { opacity: 1; transform: translateY(0); }

    .slide-tag {
      font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 20px;
      display: flex; align-items: center; gap: 12px;
    }
    .slide-tag::before {
      content: ''; display: block; width: 36px; height: 1px; background: var(--gold);
    }

    .slide-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.6rem, 6vw, 5rem);
      font-weight: 300; line-height: 1.1;
      color: var(--white); margin-bottom: 16px;
    }
    .slide-title em,
    .slide-title i { font-style: italic; color: var(--gold-light); }
    .slide-title strong,
    .slide-title b { font-weight: 500; color: var(--gold-light); }
    .slide-title p { display: inline; margin: 0; padding: 0; }

    .slide-sub {
      font-size: 0.95rem; line-height: 1.7;
      color: rgba(245,240,232,0.75);
      max-width: 480px; margin-bottom: 36px;
    }

    .slide-btn {
      display: inline-flex; align-items: center; gap: 14px;
      color: var(--cream); text-decoration: none;
      font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
      border-bottom: 1px solid rgba(201,168,76,0.5);
      padding-bottom: 6px; transition: all 0.3s;
    }
    .slide-btn::after { content: '→'; transition: transform 0.3s; }
    .slide-btn:hover { color: var(--gold); border-color: var(--gold); }
    .slide-btn:hover::after { transform: translateX(6px); }

    /* Slider Controls */
    .slider-controls {
      position: absolute; bottom: 44px; left: 10vw;
      z-index: 10; display: flex; align-items: center; gap: 20px;
    }
    .slider-btn {
      width: 44px; height: 44px; border: 1px solid rgba(201,168,76,0.4);
      background: transparent; color: var(--gold); font-size: 1.1rem;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: all 0.3s;
    }
    .slider-btn:hover { background: var(--gold); color: var(--dark); }

    .slider-dots {
      display: flex; gap: 8px;
    }
    .dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: rgba(201,168,76,0.3); cursor: pointer;
      transition: all 0.3s;
    }
    .dot.active { background: var(--gold); transform: scale(1.4); }

    .slider-count {
      position: absolute; bottom: 52px; right: 10vw;
      z-index: 10; font-size: 0.7rem; letter-spacing: 0.2em;
      color: var(--text-dim);
    }
    .slider-count span { color: var(--gold); font-size: 1.1rem; font-family: 'Cormorant Garamond', serif; }

    /* Progress bar */
    .slide-progress {
      position: absolute; bottom: 0; left: 0; height: 2px;
      background: var(--gold); z-index: 10;
      animation: progress 5s linear infinite;
    }
    @keyframes progress { from { width: 0; } to { width: 100%; } }

    /* ── STATS STRIP ── */
    .stats-strip {
      background:#d4af37;
      border-top: 1px solid rgba(201,168,76,0.2);
      border-bottom: 1px solid rgba(201,168,76,0.2);
      padding: 36px 10vw;
      display: flex; align-items: center; justify-content: space-between;
      gap: 40px;
      overflow: hidden;
    }
    .stat-item { text-align: center; flex: 1; }
    .stat-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.8rem; font-weight: 600;
      color: #330033; line-height: 1;
    }
    .stat-label {
      font-size: 0.7rem; letter-spacing: 0.2em;
      text-transform: uppercase; color: #330033;
      margin-top: 6px;
    }
    .stat-divider { width: 1px; height: 44px; background: rgba(201,168,76,0.2); }

    /* Animate stats on scroll */
    .stat-item { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
    .stat-item.visible { opacity: 1; transform: translateY(0); }

    /* ── SECTION HEADER ── */
    .section-header {
      padding: 100px 10vw 60px;
      display: flex; align-items: flex-end; justify-content: space-between;
    }
    .section-label {
      font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 12px;
      display: flex; align-items: center; gap: 10px;
    }
    .section-label::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 300; line-height: 1.2; color: var(--white);
    }
    .section-title em { font-style: italic; color: var(--gold-light); }
    .section-link {
      color: var(--text-dim); font-size: 0.76rem; letter-spacing: 0.16em;
      text-transform: uppercase; text-decoration: none; white-space: nowrap;
      border-bottom: 1px solid rgba(153,153,153,0.3);
      padding-bottom: 4px; transition: all 0.3s;
      align-self: flex-end; margin-bottom: 4px;
    }
    .section-link:hover { color: var(--gold); border-color: var(--gold); }

    /* ── COMPLETED PROJECTS CARDS ── */
    .homeProjects.projects-grid {
      padding: 0 10vw 100px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }

    .homeProjects .project-card {
      position: relative; overflow: hidden;
      background: #d4af37;
      border: 1px solid rgba(201,168,76,0.12);
      cursor: pointer;
      transition: border-color 0.4s, transform 0.4s;
      opacity: 0; transform: translateY(40px);
      transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.3s;
    }
    .homeProjects .project-card.visible { opacity: 1; transform: translateY(0); }
    .homeProjects .project-card:hover { border-color: rgba(201,168,76,0.5); transform: translateY(-6px) !important; }

    .homeProjects .card-image {
      width: 100%; height: 240px;
      background-size: cover; background-position: center;
      transition: transform 0.6s ease;
      position: relative; overflow: hidden;
    }
    .homeProjects .project-card:hover .card-image { transform: scale(1.05); }

    .homeProjects .card-image::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(13,13,13,0.6) 0%, transparent 60%);
    }
     .homeProjects .card-location {color: #fff;}

    .card-img-1 { background-image: url('../images/card-1-umadarshan.jpg'); }
    .card-img-2 { background-image: url('../images/card-2-spaarkle.jpg'); }
    .card-img-3 { background-image: url('../images/card-1-umadarshan.jpg'); }
    .card-img-4 { background-image: url('../images/card-img-4.jpg'); }
    .card-img-5 { background-image: url('../images/card-img-5.jpg'); }
    .card-img-6 { background-image: url('../images/card-img-6.jpg'); }

    .card-badge {
      position: absolute; top: 16px; left: 16px; z-index: 2;
      font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
      padding: 5px 12px; background: var(--gold); color: var(--dark);
      font-weight: 500;
    }

    .card-body { padding: 24px 26px 28px; }
    .card-location {
      font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 8px;
    }
    .card-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.45rem; font-weight: 400; line-height: 1.25;
      color: #330033; margin-bottom: 10px;
    }
    .card-desc { font-size: 1rem; line-height: 1.65; color: #000; margin-bottom: 20px; }

    .card-meta {
      display: flex; gap: 20px; border-top: 1px solid rgba(201,168,76,0.1);
      padding-top: 16px;
    }
    .meta-item { }

    .meta-val {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem; color: var(--cream);
    }
    .meta-key {
      font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
      color:#000; margin-top: 2px;
    }








    

    /* ── ONGOING PROJECTS — horizontal scroll ── */
    .ongoing-section { padding: 0 0 100px; }
    .ongoing-inner { padding: 0 10vw 48px; }

    .ongoing-scroll {
      display: flex; gap: 24px;
      padding: 0 10vw;
      overflow-x: auto; scroll-snap-type: x mandatory;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
    }
    .ongoing-scroll::-webkit-scrollbar { display: none; }

    .ongoing-card {
      min-width: 380px; flex-shrink: 0;
      scroll-snap-align: start;
      position: relative; overflow: hidden;
      border: 1px solid rgba(201,168,76,0.12);
      transition: border-color 0.3s;
      opacity: 0; transform: translateX(40px);
      transition: opacity 0.7s, transform 0.7s, border-color 0.3s;
    }
    .ongoing-card.visible { opacity: 1; transform: translateX(0); }
    .ongoing-card:hover { border-color: rgba(201,168,76,0.45); }

    .ongoing-img {
      width: 100%; height: 280px;
      background-size: cover; background-position: center;
      transition: transform 0.6s;
    }
    .ongoing-card:hover .ongoing-img { transform: scale(1.04); }

    .ong-img-1 { background-image: url('../images/ong-img-1.jpg'); }
    .ong-img-2 { background-image: url('../images/ong-img-2.jpg'); }
    .ong-img-3 { background-image: url('../images/ong-img-3.jpg'); }
    .ong-img-4 { background-image: url('../images/ong-img-4.jpg'); }

    .progress-bar-wrap {
      position: absolute; bottom: 0; left: 0; right: 0;
      height: 3px; background: rgba(255,255,255,0.1);
    }
    .progress-fill {
      height: 100%; background: linear-gradient(to right, var(--gold), var(--gold-light));
      transition: width 1.4s ease 0.3s;
    }

    .ongoing-body { padding: 24px 26px 28px; background: var(--charcoal); }
    .ongoing-status {
      display: flex; align-items: center; gap: 8px;
      font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 10px;
    }
    .status-dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: var(--gold);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.3); }
    }
    .ongoing-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem; font-weight: 400;
      color: var(--white); margin-bottom: 8px;
    }
    .ongoing-desc { font-size: 0.82rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 16px; }
    .completion-info {
      display: flex; justify-content: space-between; align-items: center;
      font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--text-dim); margin-bottom: 6px;
    }
    .completion-info span { color: var(--gold); }

    /* ── UPCOMING SECTION ── */
    .upcoming-section {
      padding: 0 10vw 100px;
    }
    .upcoming-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-top: 0;
    }
    .upcoming-card {
      border: 1px solid rgba(201,168,76,0.15);
      padding: 40px 36px;
      position: relative; overflow: hidden;
      transition: border-color 0.3s, background 0.3s;
      opacity: 0; transform: translateY(30px);
      transition: opacity 0.6s, transform 0.6s, border-color 0.3s;
    }
    .upcoming-card.visible { opacity: 1; transform: translateY(0); }
    .upcoming-card:hover { border-color: var(--gold); background: rgba(201,168,76,0.03); }

    .upcoming-card::before {
      content: ''; position: absolute;
      top: 0; left: 0; width: 3px; height: 0;
      background: var(--gold);
      transition: height 0.4s ease;
    }
    .upcoming-card:hover::before { height: 100%; }

    .upcoming-number {
      font-family: 'Cormorant Garamond', serif;
      font-size: 5rem; font-weight: 300;
      color: rgba(201,168,76,0.1); line-height: 1;
      position: absolute; top: 20px; right: 30px;
      transition: color 0.3s;
    }
    .upcoming-card:hover .upcoming-number { color: rgba(201,168,76,0.18); }

    .upcoming-type {
      font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 14px;
    }
    .upcoming-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.7rem; font-weight: 400;
      color: var(--white); margin-bottom: 12px; line-height: 1.2;
    }
    .upcoming-desc { font-size: 0.83rem; color: var(--text-dim); line-height: 1.65; margin-bottom: 24px; }
    .upcoming-tags { display: flex; flex-wrap: wrap; gap: 8px; }
    .tag {
      font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
      padding: 5px 12px; border: 1px solid rgba(201,168,76,0.2);
      color: var(--text-dim); transition: all 0.3s;
    }
    .upcoming-card:hover .tag { border-color: rgba(201,168,76,0.4); color: var(--cream); }

    /* ── VISION / CTA ── */
    .vision-section {
      position: relative; overflow: hidden;
      min-height: 520px;
      display: flex; align-items: center; justify-content: center;
      text-align: center;
      background-image: url('../images/vision-section.jpg');
      background-size: cover; background-position: center;
      background-attachment: fixed;
    }
    .vision-section::before {
      content: ''; position: absolute; inset: 0;
      background: rgba(13,13,13,0.82);
    }
    .vision-content {
      position: relative; z-index: 2;
      max-width: 720px; padding: 80px 40px;
      opacity: 0; transform: translateY(30px);
      transition: opacity 0.8s, transform 0.8s;
    }
    .vision-content.visible { opacity: 1; transform: translateY(0); }
    .vision-tag { color: var(--gold); font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 20px; }
    .vision-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 5vw, 3.8rem);
      font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 20px;
    }
    .vision-title em { font-style: italic; color: var(--gold-light); }
    .vision-text { font-size: 0.92rem; line-height: 1.75; color: rgba(245,240,232,0.7); max-width: 540px; margin: 0 auto 36px; }
    .vision-btn {
      display: inline-block; padding: 14px 44px;
      background: var(--gold); color: var(--dark);
      font-family: 'Jost', sans-serif; font-size: 0.76rem;
      letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
      font-weight: 500; transition: all 0.3s;
    }
    .vision-btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.3); }
 
    /* =========================================================
   RESPONSIVE DESIGN
   Stats • Sections • Cards • Ongoing • Upcoming • Vision
========================================================= */


/* =========================================================
   LARGE LAPTOPS
========================================================= */
@media (max-width: 1400px) {

  .stats-strip,
  .section-header,
  .projects-grid,
  .ongoing-inner,
  .ongoing-scroll,
  .upcoming-section {
    padding-left: 7vw;
    padding-right: 7vw;
  }

}


/* =========================================================
   TABLETS + SMALL LAPTOPS
========================================================= */
@media (max-width: 992px) {

  /* Stats Strip */
  .stats-strip {
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    padding: 32px 6vw;
  }

  .stat-item {
    min-width: 180px;
    flex: 1 1 calc(33.33% - 28px);
  }

  .stat-divider {
    display: none;
  }

  .stat-num {
    font-size: 2.3rem;
  }

  /* Section Header */
  .section-header {
    padding: 80px 6vw 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  /* Completed Projects */
  .projects-grid {
    padding: 0 6vw 80px;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .card-image {
    height: 220px;
  }

  /* Ongoing */
  .ongoing-inner {
    padding: 0 6vw 40px;
  }

  .ongoing-scroll {
    padding: 0 6vw;
  }

  .ongoing-card {
    min-width: 340px;
  }

  .ongoing-img {
    height: 240px;
  }

  /* Upcoming */
  .upcoming-section {
    padding: 0 6vw 80px;
  }

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

  .upcoming-card {
    padding: 36px 30px;
  }

  /* Vision */
  .vision-section {
    min-height: 480px;
    background-attachment: scroll;
  }

  .vision-content {
    padding: 70px 30px;
  }

}


/* =========================================================
   MOBILE DEVICES
========================================================= */
@media (max-width: 768px) {

  /* Stats Strip */
  .stats-strip {
    padding: 28px 5vw;
    gap: 24px;
  }

  .stat-item {
    min-width: calc(50% - 24px);
    flex: 1 1 calc(50% - 24px);
  }

  .stat-num {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    line-height: 1.5;
  }

  /* Section Header */
  .section-header {
    padding: 70px 5vw 40px;
    gap: 16px;
  }

  .section-label {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
  }

  .section-label::before {
    width: 22px;
  }

  .section-link {
    font-size: 0.68rem;
  }

  /* Completed Projects */
  .projects-grid {
    padding: 0 5vw 70px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card {
    border-radius: 0;
  }

  .card-image {
    height: 230px;
  }

  .card-body {
    padding: 22px 20px 24px;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-desc {
    font-size: 0.8rem;
  }

  .card-meta {
    gap: 14px;
    flex-wrap: wrap;
  }

  /* Ongoing */
  .ongoing-section {
    padding-bottom: 70px;
  }

  .ongoing-inner {
    padding: 0 5vw 36px;
  }

  .ongoing-scroll {
    padding: 0 5vw;
    gap: 18px;
  }

  .ongoing-card {
    min-width: 88%;
  }

  .ongoing-img {
    height: 220px;
  }

  .ongoing-body {
    padding: 22px 20px 24px;
  }

  .ongoing-title {
    font-size: 1.35rem;
  }

  .ongoing-desc {
    font-size: 0.78rem;
  }

  .completion-info {
    font-size: 0.66rem;
    gap: 10px;
    flex-wrap: wrap;
  }

  /* Upcoming */
  .upcoming-section {
    padding: 0 5vw 70px;
  }

  .upcoming-grid {
    gap: 20px;
  }

  .upcoming-card {
    padding: 30px 22px;
  }

  .upcoming-number {
    font-size: 3.8rem;
    top: 14px;
    right: 18px;
  }

  .upcoming-title {
    font-size: 1.45rem;
  }

  .upcoming-desc {
    font-size: 0.8rem;
  }

  .tag {
    font-size: 0.58rem;
    padding: 5px 10px;
  }

  /* Vision */
  .vision-section {
    min-height: auto;
    padding: 80px 0;
  }

  .vision-content {
    padding: 0 24px;
  }

  .vision-tag {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
  }

  .vision-text {
    font-size: 0.86rem;
    line-height: 1.75;
  }

  .vision-btn {
    padding: 13px 34px;
    font-size: 0.7rem;
  }

}


/* =========================================================
   SMALL PHONES
========================================================= */
@media (max-width: 480px) {

  /* Stats */
  .stats-strip {
    padding: 24px 20px;
    gap: 20px;
  }

  .stat-item {
    min-width: 100%;
    flex: 1 1 100%;
  }

  .stat-num {
    font-size: 1.8rem;
  }

  /* Section Header */
  .section-header {
    padding: 60px 20px 34px;
  }

  /* Completed */
  .projects-grid {
    padding: 0 20px 60px;
  }

  .card-image {
    height: 200px;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-location {
    font-size: 0.62rem;
  }

  .card-meta {
    justify-content: space-between;
  }

  .meta-val {
    font-size: 1rem;
  }

  /* Ongoing */
  .ongoing-inner {
    padding: 0 20px 30px;
  }

  .ongoing-scroll {
    padding: 0 20px;
  }

  .ongoing-card {
    min-width: 100%;
  }

  .ongoing-img {
    height: 200px;
  }

  .ongoing-title {
    font-size: 1.2rem;
  }

  .ongoing-status {
    font-size: 0.6rem;
  }

  /* Upcoming */
  .upcoming-section {
    padding: 0 20px 60px;
  }

  .upcoming-card {
    padding: 26px 18px;
  }

  .upcoming-number {
    font-size: 3rem;
  }

  .upcoming-title {
    font-size: 1.25rem;
  }

  .upcoming-type {
    font-size: 0.58rem;
  }

  .tag {
    letter-spacing: 0.1em;
  }

  /* Vision */
  .vision-section {
    padding: 70px 0;
  }

  .vision-title {
    line-height: 1.3;
  }

  .vision-text {
    font-size: 0.82rem;
  }

}
/* =========================================================
   ULTRA SMALL DEVICES
========================================================= */
@media (max-width: 360px) {

  .section-title {
    font-size: 1.7rem;
  }

  .card-title,
  .ongoing-title,
  .upcoming-title {
    font-size: 1.1rem;
  }

  .vision-title {
    font-size: 1.8rem;
  }

  .card-desc,
  .ongoing-desc,
  .upcoming-desc,
  .vision-text {
    font-size: 0.76rem;
  }

  .vision-btn {
    width: 100%;
    text-align: center;
  }
}


 /* ── PAGE HERO BANNER ── */
    .page-hero {
      position: relative; width: 100%; height: 64vh; min-height: 420px;
      display: flex; align-items: flex-end;
      background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1800&q=80');
      background-size: cover; background-position: center 40%;
      overflow: hidden;
    }
    .page-hero::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(
        160deg,
        rgba(51,0,51,0.85) 0%,
        rgba(51,0,51,0.55) 50%,
        rgba(51,0,51,0.3) 100%
      );
    }
    .page-hero::after {
      content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
      background: linear-gradient(to top, var(--dark), transparent);
    }
    .hero-content {
      position: relative; z-index: 2;
      padding: 0 10vw 70px;
      opacity: 0; transform: translateY(24px);
      animation: heroIn 1s ease 0.3s forwards;
    }
    @keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

    .hero-breadcrumb {
      font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 16px;
      display: flex; align-items: center; gap: 10px;
    }
    .hero-breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
    .hero-breadcrumb a:hover { color: var(--gold); }
    .hero-breadcrumb::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

    .hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.8rem, 6vw, 5.2rem);
      font-weight: 300; line-height: 1.08; color: var(--white);
    }
    .hero-title em { font-style: italic; color: var(--gold-light); }

    /* ── SHARED SECTION HELPERS ── */
    .section-label {
      font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 12px;
      display: flex; align-items: center; gap: 10px;
    }
    .section-label::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 300; line-height: 1.2; color: var(--white);
    }
    .section-title em { font-style: italic; color: var(--gold-light); }

    .divider {
      display: flex; align-items: center; justify-content: center;
      padding: 10px 0; gap: 16px;
    }
    .divider::before, .divider::after {
      content: ''; flex: 1; max-width: 100px; height: 1px;
      background: linear-gradient(to right, transparent, rgba(212,175,55,0.3));
    }
    .divider::after { transform: scaleX(-1); }
    .divider-icon { color: var(--gold); font-size: 0.9rem; opacity: 0.6; }

    /* ── SCROLL REVEAL ── */
    .reveal {
      opacity: 0; transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-left {
      opacity: 0; transform: translateX(-40px);
      transition: opacity 0.9s ease, transform 0.9s ease;
    }
    .reveal-left.visible { opacity: 1; transform: translateX(0); }
    .reveal-right {
      opacity: 0; transform: translateX(40px);
      transition: opacity 0.9s ease, transform 0.9s ease;
    }
    .reveal-right.visible { opacity: 1; transform: translateX(0); }
    .d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; }
    .d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }

    /* ════════════════════════════════════
       SECTION 1 — CHAIRMAN'S MESSAGE
    ════════════════════════════════════ */
    .chairman-section {
      padding: 110px 10vw 100px;
      display: grid;
      grid-template-columns: 1fr 1.6fr;
      gap: 80px;
      align-items: start;
    }

    .chairman-portrait-wrap {
      position: relative;
    }
    .portrait-frame {
      position: relative;
      width: 100%;
      padding-bottom: 125%;   /* portrait ratio */
      overflow: hidden;
      border: 1px solid rgba(212,175,55,0.2);
    }
    .portrait-frame img,
    .portrait-placeholder {
      position: absolute; inset: 0; width: 100%; height: 100%;
      object-fit: cover;
    }
    /* Placeholder gradient since we have no real photo */
    .portrait-placeholder {
      background: linear-gradient(
        145deg,
        #4a0050 0%, #330033 40%, #1e001e 100%
      );
      display: flex; align-items: flex-end; justify-content: center;
      padding-bottom: 32px;
    }
    .portrait-placeholder-icon {
      width: 80px; height: 80px; border-radius: 50%;
      border: 2px solid rgba(212,175,55,0.3);
      display: flex; align-items: center; justify-content: center;
      font-size: 2.4rem; color: rgba(212,175,55,0.35);
    }

    /* Gold accent line on portrait */
    .portrait-frame::before {
      content: ''; position: absolute;
      top: -8px; left: -8px;
      width: 50px; height: 50px;
      border-top: 2px solid var(--gold);
      border-left: 2px solid var(--gold);
      z-index: 2;
    }
    .portrait-frame::after {
      content: ''; position: absolute;
      bottom: -8px; right: -8px;
      width: 50px; height: 50px;
      border-bottom: 2px solid var(--gold);
      border-right: 2px solid var(--gold);
      z-index: 2;
    }

    .chairman-name-card {
      margin-top: 24px;
      padding: 18px 22px;
      background: rgba(212,175,55,0.06);
      border-left: 2px solid var(--gold);
    }
    .chairman-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.35rem; font-weight: 600; color: var(--white);
      margin-bottom: 4px;
    }
    .chairman-title-label {
      font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--gold);
    }

    /* Right — message text */
    .chairman-message {
      padding-top: 10px;
    }
    .message-quote-mark {
      font-family: 'Cormorant Garamond', serif;
      font-size: 7rem; line-height: 0.6;
      color: rgba(212,175,55,0.18);
      margin-bottom: 8px; display: block;
      margin-left: -6px;
    }
    .message-body {
      font-size: 1rem; line-height: 1.95;
      color: rgba(245,240,232,0.82);
      margin-bottom: 24px;
    }
    .message-body p { margin-bottom: 20px; }
    .message-body p:last-child { margin-bottom: 0; }

    .message-highlight {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.55rem; font-style: italic; font-weight: 300;
      color: var(--gold-light); line-height: 1.5;
      border-left: 2px solid var(--gold);
      padding: 10px 0 10px 24px;
      margin: 32px 0;
    }

    .signature {
      margin-top: 36px;
      display: flex; align-items: center; gap: 20px;
    }
    .signature-line {
      flex: 1; max-width: 160px; height: 1px; background: rgba(212,175,55,0.3);
    }
    .signature-text {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem; font-style: italic; color: var(--gold);
    }

    /* ════════════════════════════════════
       SECTION 2 — ABOUT THE COMPANY
    ════════════════════════════════════ */
    .about-section {
      padding: 80px 0 100px;
      background: var(--charcoal);
      border-top: 1px solid rgba(212,175,55,0.12);
      border-bottom: 1px solid rgba(212,175,55,0.12);
    }

    .about-inner {
      padding: 0 10vw;
    }

    .about-header {
      display: flex; align-items: flex-end; justify-content: space-between;
      margin-bottom: 64px;
    }

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

    .about-image-mosaic {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 12px;
    }
    .mosaic-img {
      background-size: cover; background-position: center;
      border: 1px solid rgba(212,175,55,0.1);
      transition: transform 0.5s ease;
      overflow: hidden;
    }
    .mosaic-img:hover { transform: scale(1.03); }
    .mosaic-img.tall { grid-row: span 2; height: 100%; min-height: 360px; }
    .mosaic-img.short { height: 170px; }
    .mosaic-1 { background-image: url('../images/mosaic-1.jpg'); }
    .mosaic-2 { background-image: url('../images/mosaic-2.jpg'); }
    .mosaic-3 { background-image: url('../images/mosaic-3.jpg'); }

    .about-text .section-label { margin-bottom: 14px; }
    .about-text .section-title { margin-bottom: 28px; }

    .about-body {
      font-size: 0.93rem; line-height: 1.9;
      color: rgba(245,240,232,0.78);
    }
    .about-body p { margin-bottom: 18px; }

    .about-pillars {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 16px; margin-top: 36px;
    }
    .pillar {
      padding: 18px 20px;
      border: 1px solid rgba(212,175,55,0.14);
      position: relative; overflow: hidden;
      transition: border-color 0.3s, background 0.3s;
    }
    .pillar:hover { border-color: rgba(212,175,55,0.4); background: rgba(212,175,55,0.03); }
    .pillar::before {
      content: ''; position: absolute;
      bottom: 0; left: 0; width: 0; height: 2px;
      background: var(--gold); transition: width 0.4s ease;
    }
    .pillar:hover::before { width: 100%; }
    .pillar-icon { font-size: 1.2rem; margin-bottom: 8px; color: var(--gold); }
    .pillar-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.05rem; color: var(--white); margin-bottom: 4px;
    }
    .pillar-desc { font-size: 0.76rem; color: var(--text-dim); line-height: 1.6; }

    /* Timeline strip */
    .timeline {
      margin-top: 80px;
      padding-top: 60px;
      border-top: 1px solid rgba(212,175,55,0.1);
    }
    .timeline-header { text-align: center; margin-bottom: 52px; }
    .timeline-track {
      position: relative;
      display: flex; justify-content: space-between;
      padding: 0 20px;
    }
    .timeline-track::before {
      content: ''; position: absolute;
      top: 18px; left: 20px; right: 20px; height: 1px;
      background: linear-gradient(to right, transparent, rgba(212,175,55,0.4), transparent);
    }
    .timeline-event {
      display: flex; flex-direction: column; align-items: center;
      flex: 1; position: relative;
      opacity: 0; transform: translateY(20px);
      transition: opacity 0.5s, transform 0.5s;
    }
    .timeline-event.visible { opacity: 1; transform: translateY(0); }
    .timeline-dot {
      width: 36px; height: 36px; border-radius: 50%;
      border: 1px solid var(--gold);
      background: var(--charcoal);
      display: flex; align-items: center; justify-content: center;
      font-size: 0.55rem; color: var(--gold); letter-spacing: 0.05em;
      font-weight: 500; margin-bottom: 14px; position: relative; z-index: 1;
    }
    .timeline-year {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.3rem; color: var(--gold); margin-bottom: 4px;
    }
    .timeline-desc {
      font-size: 0.7rem; letter-spacing: 0.1em; color: var(--text-dim);
      text-align: center; max-width: 100px; line-height: 1.5;
    }

    /* ════════════════════════════════════
       SECTION 3 — MISSION & VISION
    ════════════════════════════════════ */
    .mv-section {
      padding: 100px 10vw;
    }

    .mv-header {
      text-align: center; margin-bottom: 72px;
    }
    .mv-header .section-label { justify-content: center; }
    .mv-header .section-label::before { display: none; }

    .mv-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      margin-bottom: 72px;
    }

    .mv-card {
      position: relative; overflow: hidden;
      padding: 52px 44px;
      border: 1px solid rgba(212,175,55,0.15);
      background: linear-gradient(145deg, rgba(61,0,61,0.5) 0%, rgba(51,0,51,0.2) 100%);
      transition: border-color 0.4s, transform 0.4s;
    }
    .mv-card:hover { border-color: rgba(212,175,55,0.45); transform: translateY(-5px); }

    /* Large faded background text */
    .mv-bg-word {
      position: absolute; bottom: -10px; right: -10px;
      font-family: 'Cormorant Garamond', serif;
      font-size: 9rem; font-weight: 600;
      color: rgba(212,175,55,0.05);
      line-height: 1; pointer-events: none;
      transition: color 0.4s;
      user-select: none;
    }
    .mv-card:hover .mv-bg-word { color: rgba(212,175,55,0.09); }

    .mv-icon {
      width: 52px; height: 52px; margin-bottom: 26px;
      border: 1px solid rgba(212,175,55,0.3);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem;
      transition: background 0.3s, border-color 0.3s;
    }
    .mv-card:hover .mv-icon { background: rgba(212,175,55,0.08); border-color: var(--gold); }

    .mv-label {
      font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 12px;
    }
    .mv-heading {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.2rem; font-weight: 300; color: var(--white);
      line-height: 1.2; margin-bottom: 20px;
    }
    .mv-heading em { font-style: italic; color: var(--gold-light); }
    .mv-text {
      font-size: 0.9rem; line-height: 1.85;
      color: rgba(245,240,232,0.75);
      position: relative; z-index: 1;
    }

    /* Values row */
    .values-row {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    }
    .value-block {
      text-align: center; padding: 32px 20px;
      border: 1px solid rgba(212,175,55,0.1);
      transition: border-color 0.3s, background 0.3s;
      opacity: 0; transform: translateY(24px);
      transition: opacity 0.6s, transform 0.6s, border-color 0.3s;
    }
    .value-block.visible { opacity: 1; transform: translateY(0); }
    .value-block:hover { border-color: rgba(212,175,55,0.35); background: rgba(212,175,55,0.03); }
    .value-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.6rem; font-weight: 300; color: var(--gold);
      line-height: 1; margin-bottom: 10px;
    }
    .value-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.15rem; color: var(--white); margin-bottom: 8px;
    }
    .value-desc { font-size: 0.76rem; color: var(--text-dim); line-height: 1.6; }

    /* ════════════════════════════════════
       SECTION 4 — WHY US
    ════════════════════════════════════ */
    .whyus-section {
      background: var(--charcoal);
      border-top: 1px solid rgba(212,175,55,0.12);
      padding: 100px 10vw;
    }

    .whyus-header {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 60px; align-items: end;
      margin-bottom: 72px;
    }
    .whyus-intro {
      font-size: 0.93rem; line-height: 1.85;
      color: rgba(245,240,232,0.72);
      padding-top: 20px;
    }

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

    .why-card {
      padding: 36px 30px;
      border: 1px solid rgba(212,175,55,0.12);
      position: relative; overflow: hidden;
      transition: border-color 0.35s, transform 0.35s;
      cursor: default;
    }
    .why-card:hover { border-color: rgba(212,175,55,0.45); transform: translateY(-6px); }

    /* Animated corner accent */
    .why-card::before {
      content: ''; position: absolute;
      top: 0; left: 0; width: 0; height: 2px;
      background: var(--gold); transition: width 0.4s ease;
    }
    .why-card:hover::before { width: 100%; }

    .why-number {
      font-family: 'Cormorant Garamond', serif;
      font-size: 3.5rem; font-weight: 300;
      color: rgba(212,175,55,0.12);
      line-height: 1; margin-bottom: 16px;
      transition: color 0.3s;
    }
    .why-card:hover .why-number { color: rgba(212,175,55,0.22); }

    .why-icon {
      width: 44px; height: 44px;
      border: 1px solid rgba(212,175,55,0.25);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem; margin-bottom: 18px;
      transition: border-color 0.3s, background 0.3s;
    }
    .why-card:hover .why-icon { border-color: var(--gold); background: rgba(212,175,55,0.07); }

    .why-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.4rem; font-weight: 400;
      color: var(--white); margin-bottom: 12px; line-height: 1.25;
    }
    .why-desc {
      font-size: 0.83rem; line-height: 1.75;
      color: var(--text-dim);
    }

    /* Bottom trust bar */
    .trust-bar {
      margin-top: 72px;
      padding: 36px 0;
      border-top: 1px solid rgba(212,175,55,0.12);
      display: flex; align-items: center; justify-content: center; gap: 60px;
      flex-wrap: wrap;
    }
    .trust-item {
      display: flex; align-items: center; gap: 12px;
      font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--text-dim);
    }
    .trust-icon { font-size: 1.1rem; color: var(--gold); }

    /* ── STATS STRIP (gold bg — matches index) ── */
    .stats-strip {
      background: #d4af37;
      border-top: 1px solid rgba(201,168,76,0.2);
      border-bottom: 1px solid rgba(201,168,76,0.2);
      padding: 36px 10vw;
      display: flex; align-items: center; justify-content: space-between;
      gap: 40px; overflow: hidden;
    }
    .stat-item { text-align: center; flex: 1;
      opacity: 0; transform: translateY(20px);
      transition: opacity 0.6s, transform 0.6s;
    }
    .stat-item.visible { opacity: 1; transform: translateY(0); }
    .stat-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.8rem; font-weight: 600; color: #330033; line-height: 1;
    }
    .stat-label {
      font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
      color: #330033; margin-top: 6px;
    }
    .stat-divider { width: 1px; height: 44px; background: rgba(51,0,51,0.2); }


    /* ════════════════════════════════════
   RESPONSIVE DESIGN
════════════════════════════════════ */

/* ─────────────────────────────
   Large Tablet / Small Laptop
───────────────────────────── */
@media (max-width: 1200px) {

  .chairman-section,
  .mv-section,
  .whyus-section {
    padding-left: 7vw;
    padding-right: 7vw;
  }

  .about-inner {
    padding: 0 7vw;
  }

  .chairman-section {
    gap: 60px;
    grid-template-columns: 1fr 1.4fr;
  }

  .about-grid {
    gap: 40px;
  }

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

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

  .stats-strip {
    flex-wrap: wrap;
    row-gap: 30px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    min-width: 180px;
  }
}


/* ─────────────────────────────
   Tablet
───────────────────────────── */
@media (max-width: 992px) {

  /* Chairman */
  .chairman-section {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 90px;
    padding-bottom: 80px;
  }

  .chairman-portrait-wrap {
    max-width: 520px;
    margin: 0 auto;
  }

  .chairman-message {
    padding-top: 0;
  }

  .message-quote-mark {
    font-size: 5rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image-mosaic {
    order: 1;
  }

  .about-text {
    order: 2;
  }

  .about-header {
    margin-bottom: 50px;
  }

  /* Timeline */
  .timeline-track {
    flex-wrap: wrap;
    gap: 40px 0;
    justify-content: center;
  }

  .timeline-track::before {
    display: none;
  }

  .timeline-event {
    flex: 0 0 33.333%;
    margin-bottom: 20px;
  }

  /* Mission Vision */
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .mv-card {
    padding: 44px 36px;
  }

  .mv-bg-word {
    font-size: 7rem;
  }

  /* Why Us */
  .whyus-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  /* Trust */
  .trust-bar {
    gap: 24px;
  }

  .trust-item {
    justify-content: center;
  }

  /* Stats */
  .stats-strip {
    justify-content: center;
  }

  .stat-item {
    flex: 0 0 30%;
  }
}


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

  .chairman-section,
  .mv-section,
  .whyus-section {
    padding: 70px 6vw;
  }

  .about-inner {
    padding: 0 6vw;
  }

  .about-section {
    padding: 70px 0 80px;
  }

  /* Headings */
  .section-title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
    line-height: 1.2;
  }

  /* Chairman */
  .chairman-name {
    font-size: 1.2rem;
  }

  .message-body {
    font-size: 0.92rem;
    line-height: 1.85;
  }

  .message-highlight {
    font-size: 1.25rem;
    padding-left: 18px;
  }

  .signature {
    gap: 14px;
  }

  .signature-text {
    font-size: 1.3rem;
  }

  /* About */
  .about-image-mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-img.tall,
  .mosaic-img.short {
    min-height: 240px;
    height: 240px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  /* Timeline */
  .timeline {
    margin-top: 60px;
    padding-top: 50px;
  }

  .timeline-event {
    flex: 0 0 50%;
  }

  .timeline-year {
    font-size: 1.1rem;
  }

  .timeline-desc {
    max-width: 120px;
  }

  /* Mission Vision */
  .mv-grid {
    margin-bottom: 50px;
  }

  .mv-card {
    padding: 38px 28px;
  }

  .mv-heading {
    font-size: 1.9rem;
  }

  .mv-bg-word {
    font-size: 5rem;
  }

  .values-row {
    grid-template-columns: 1fr;
  }

  /* Why Us */
  .whyus-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: 30px 24px;
  }

  .why-title {
    font-size: 1.25rem;
  }

  /* Trust */
  .trust-bar {
    justify-content: flex-start;
    gap: 18px;
  }

  .trust-item {
    width: 100%;
  }

  /* Stats */
  .stats-strip {
    padding: 28px 6vw;
    gap: 24px;
  }

  .stat-item {
    flex: 0 0 45%;
  }

  .stat-num {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }
}


/* ─────────────────────────────
   Mobile Portrait
───────────────────────────── */
@media (max-width: 576px) {

  /* Global */
  .section-label {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

  .section-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem) !important;
  }

  /* Chairman */
  .chairman-section {
    gap: 50px;
  }

  .chairman-name-card {
    padding: 16px 18px;
  }

  .message-quote-mark {
    font-size: 4rem;
  }

  .message-body {
    font-size: 0.88rem;
    line-height: 1.8;
  }

  .message-highlight {
    font-size: 1.1rem;
    margin: 24px 0;
  }

  /* Timeline */
  .timeline-event {
    flex: 0 0 100%;
  }

  .timeline-dot {
    width: 32px;
    height: 32px;
  }

  /* MV */
  .mv-card {
    padding: 34px 22px;
  }

  .mv-heading {
    font-size: 1.65rem;
  }

  .mv-text {
    font-size: 0.86rem;
  }

  .mv-icon {
    width: 48px;
    height: 48px;
  }

  .mv-bg-word {
    font-size: 4rem;
  }

  /* Values */
  .value-block {
    padding: 28px 18px;
  }

  .value-num {
    font-size: 2.2rem;
  }

  /* Why Us */
  .why-number {
    font-size: 3rem;
  }

  .why-desc {
    font-size: 0.8rem;
  }

  /* Stats */
  .stats-strip {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .stat-item {
    width: 100%;
  }
}


/* ─────────────────────────────
   Extra Small Devices
───────────────────────────── */
@media (max-width: 380px) {

  .chairman-section,
  .mv-section,
  .whyus-section {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .about-inner {
    padding: 0 5vw;
  }

  .mv-heading,
  .why-title {
    line-height: 1.3;
  }

  .message-body,
  .about-body,
  .mv-text,
  .why-desc {
    font-size: 0.82rem;
  }

  .stat-num {
    font-size: 2rem;
  }
}

   
   
   /*project cards (for ongoing/upcoming)*/

   
    /* ── PAGE HERO ── */
    .page-hero {
      position: relative; width: 100%; height: 52vh; min-height: 360px;
      display: flex; align-items: flex-end;
      background-image: url('https://images.unsplash.com/photo-1590490360182-c33d57733427?w=1800&q=80');
      background-size: cover; background-position: center 30%;
      overflow: hidden;
    }
    .page-hero::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(160deg, rgba(51,0,51,0.88) 0%, rgba(51,0,51,0.5) 60%, rgba(51,0,51,0.25) 100%);
    }
    .page-hero::after {
      content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 100px;
      background: linear-gradient(to top, var(--dark), transparent);
    }
    .hero-content {
      position: relative; z-index: 2; padding: 0 10vw 64px;
      opacity: 0; transform: translateY(20px);
      animation: heroIn 0.9s ease 0.2s forwards;
    }
    @keyframes heroIn { to { opacity: 1; transform: none; } }
    .hero-breadcrumb {
      font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 14px;
      display: flex; align-items: center; gap: 10px;
    }
    .hero-breadcrumb::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
    .hero-breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
    .hero-breadcrumb a:hover { color: var(--gold); }
    .hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.6rem, 5.5vw, 4.6rem);
      font-weight: 300; line-height: 1.08; color: var(--white);
    }
    .hero-title em { font-style: italic; color: var(--gold-light); }

    /* ── FILTER BAR ── */
    .filter-bar {
      background: var(--charcoal);
      border-bottom: 1px solid rgba(212,175,55,0.15);
      padding: 0 10vw;
      display: flex; align-items: center; gap: 0;
      position: sticky; top: 70px; z-index: 50;
    }
    .filter-label {
      font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
      color: var(--text-dim); padding: 18px 24px 18px 0;
      border-right: 1px solid rgba(212,175,55,0.12);
      margin-right: 0; white-space: nowrap;
    }
    .filter-btn {
      background: transparent; border: none; cursor: pointer;
      font-family: 'Jost', sans-serif; font-size: 0.75rem;
      letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--text-dim); padding: 18px 22px;
      position: relative; transition: color 0.3s;
      white-space: nowrap;
    }
    .filter-btn::after {
      content: ''; position: absolute; bottom: 0; left: 22px; right: 22px;
      height: 2px; background: var(--gold);
      transform: scaleX(0); transition: transform 0.3s ease;
    }
    .filter-btn:hover { color: var(--cream); }
    .filter-btn.active { color: var(--gold); }
    .filter-btn.active::after { transform: scaleX(1); }

    .filter-count {
      margin-left: auto; padding: 18px 0;
      font-size: 0.7rem; letter-spacing: 0.14em; color: var(--text-dim);
    }
    .filter-count span { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; }

    /* ── PROJECTS GRID ── */
    .projects-section { padding: 64px 10vw 100px; }

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

    /* ── PROJECT CARD ── */
    .project-card {
      background: var(--charcoal);
      border: 1px solid rgba(212,175,55,0.12);
      overflow: hidden;
      position: relative;
      display: flex; flex-direction: column;
      opacity: 0; transform: translateY(36px);
      transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.3s;
      text-decoration: none; color: inherit;
    }
    .project-card.visible { opacity: 1; transform: translateY(0); }
    .project-card:hover { border-color: rgba(212,175,55,0.5); }

    /* Image */
    .card-image-wrap {
      position: relative; overflow: hidden; height: 230px;
    }
    .card-image {
      width: 100%; height: 100%;
      background-size: cover; background-position: center;
      transition: transform 0.65s ease;
    }
    .project-card:hover .card-image { transform: scale(1.06); }
    .card-image::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(51,0,51,0.7) 0%, transparent 55%);
    }

    /* Status badge */
    .card-badge {
      position: absolute; top: 16px; left: 16px; z-index: 2;
      font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
      padding: 5px 13px; font-weight: 500;
    }
    .badge-ongoing  { background: var(--gold); color: var(--dark); }
    .badge-upcoming { background: rgba(51,0,51,0.85); color: var(--gold); border: 1px solid var(--gold); }

    /* Live pulse for ongoing */
    .badge-live {
      display: inline-flex; align-items: center; gap: 6px;
    }
    .badge-live::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%;
      background: var(--dark); animation: livePulse 1.8s infinite;
    }
    @keyframes livePulse {
      0%,100% { opacity:1; transform:scale(1); }
      50%      { opacity:0.4; transform:scale(1.4); }
    }

    /* Progress bar on image bottom */
    .card-progress-wrap {
      position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
      height: 3px; background: rgba(255,255,255,0.12);
    }
    .card-progress-fill {
      height: 100%;
      background: linear-gradient(to right, var(--gold), var(--gold-light));
      transition: width 1.2s ease 0.3s;
    }

    /* Type chip on image */
    .card-type-chip {
      position: absolute; bottom: 14px; right: 14px; z-index: 4;
      font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--cream); background: rgba(51,0,51,0.75);
      padding: 4px 10px; backdrop-filter: blur(4px);
    }

    /* Card body */
    .card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }

    .card-location {
      font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 8px;
      display: flex; align-items: center; gap: 6px;
    }
    .card-location::before { content: '📍'; font-size: 0.7rem; }

    .card-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem; font-weight: 800; color: var(--white);
      line-height: 1.2; margin-bottom: 10px;
    }

    .card-tagline {
      font-size: 0.81rem; color: var(--text-dim); line-height: 1.65;
      margin-bottom: 18px; flex: 1;
    }

    /* Quick specs row */
    .card-specs {
      display: flex; gap: 0;
      border-top: 1px solid rgba(212,175,55,0.1);
      padding-top: 16px; margin-bottom: 18px;
    }
    .spec-item {
      flex: 1; text-align: center;
      padding: 0 8px;
      border-right: 1px solid rgba(212,175,55,0.1);
    }
    .spec-item:first-child { padding-left: 0; text-align: left; }
    .spec-item:last-child  { border-right: none; }
    .spec-val {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.15rem; color: var(--cream); display: block;
    }
    .spec-key {
      font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--text-dim); margin-top: 2px; display: block;
    }

    /* CTA link */
    .card-cta {
      display: inline-flex; align-items: center; gap: 10px;
      font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--gold); text-decoration: none;
      border-bottom: 1px solid rgba(212,175,55,0.3);
      padding-bottom: 4px; align-self: flex-start;
      transition: gap 0.3s, border-color 0.3s;
    }
    .card-cta::after { content: '→'; transition: transform 0.3s; }
    .project-card:hover .card-cta { gap: 14px; border-color: var(--gold); }
    .project-card:hover .card-cta::after { transform: translateX(4px); }

    /* Completion % label */
    .completion-label {
      font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--text-dim); margin-bottom: 6px;
      display: flex; justify-content: space-between;
    }
    .completion-label span { color: var(--gold); }

    /* ── FEATURED CARD (full width) ── */
    .project-card.featured {
      grid-column: span 3;
      flex-direction: row;
      min-height: 320px;
    }
    .project-card.featured .card-image-wrap { height: auto; flex: 0 0 48%; }
    .project-card.featured .card-image { height: 100%; }
    .project-card.featured .card-body { padding: 36px 40px; justify-content: center; }
    .project-card.featured .card-title { font-size: 2rem; margin-bottom: 14px; }
    .project-card.featured .card-tagline { font-size: 0.88rem; margin-bottom: 24px; }
    .project-card.featured .card-specs { margin-bottom: 24px; }

    /* ── DIVIDER ── */
    .divider {
      display: flex; align-items: center; justify-content: center;
      padding: 10px 0; gap: 16px; margin: 20px 0 50px;
    }
    .divider::before, .divider::after {
      content: ''; flex: 1; max-width: 80px; height: 1px;
      background: linear-gradient(to right, transparent, rgba(212,175,55,0.3));
    }
    .divider::after { transform: scaleX(-1); }
    .divider-icon { color: var(--gold); font-size: 0.8rem; opacity: 0.6; }

    /* Section heading within grid area */
    .grid-section-head {
      grid-column: span 3;
      display: flex; align-items: center; justify-content: space-between;
      padding-bottom: 12px;
      border-bottom: 1px solid rgba(212,175,55,0.1);
      margin-bottom: 4px;
    }
    .section-label-sm {
      font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase;
      color: var(--gold); display: flex; align-items: center; gap: 10px;
    }
    .section-label-sm::before { content:''; width:24px; height:1px; background:var(--gold); }
    .section-count {
      font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--text-dim);
    }

    
    /* card images */
    .img-serenity  { background-image: url('../images/img-serenity.jpg'); }
    .img-prism     { background-image: url('../images/img-prism.jpg'); }
    .img-elara     { background-image: url('../images/img-elara.jpg'); }
    .img-gateway   { background-image: url('../images/img-gateway.jpg'); }
    .img-nexus     { background-image: url('../images/img-nexus.jpg'); }
    .img-verdant   { background-image: url('../images/img-verdant.jpg'); }
    .img-confluence{ background-image: url('../images/img-confluence.jpg'); }
   
   /* =========================================================
   RESPONSIVE DESIGN
========================================================= */

/* ─────────────────────────────────────────
   Large Laptop / Small Desktop
───────────────────────────────────────── */
@media (max-width: 1200px) {

  .filter-bar {
    padding: 0 6vw;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .projects-section {
    padding: 56px 6vw 90px;
  }

  .projects-grid {
    gap: 24px;
  }

  .project-card.featured .card-body {
    padding: 32px;
  }

  .project-card.featured .card-title {
    font-size: 1.8rem;
  }
}


/* ─────────────────────────────────────────
   Tablet Landscape
───────────────────────────────────────── */
@media (max-width: 992px) {

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

  .project-card.featured {
    grid-column: span 2;
    flex-direction: column;
    min-height: auto;
  }

  .project-card.featured .card-image-wrap {
    flex: unset;
    height: 320px;
  }

  .project-card.featured .card-body {
    padding: 30px;
  }

  .project-card.featured .card-title {
    font-size: 1.8rem;
  }

  .grid-section-head {
    grid-column: span 2;
  }

  .filter-label {
    padding-right: 18px;
  }

  .filter-btn {
    padding: 18px 18px;
  }

  .card-title {
    font-size: 1.35rem;
  }

  .card-tagline {
    font-size: 0.78rem;
  }
}


/* ─────────────────────────────────────────
   Tablet Portrait
───────────────────────────────────────── */
@media (max-width: 768px) {

  .filter-bar {
    top: 64px;
    padding: 0 5vw;
    gap: 4px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .filter-label {
    font-size: 0.58rem;
    padding: 16px 18px 16px 0;
  }

  .filter-btn {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    padding: 16px 14px;
  }

  .filter-count {
    display: none;
  }

  .projects-section {
    padding: 46px 5vw 80px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-card.featured {
    grid-column: span 1;
  }

  .grid-section-head {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .project-card.featured .card-image-wrap {
    height: 260px;
  }

  .project-card.featured .card-body {
    padding: 24px;
  }

  .project-card.featured .card-title {
    font-size: 1.6rem;
  }

  .card-image-wrap {
    height: 220px;
  }

  .card-body {
    padding: 20px;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-tagline {
    font-size: 0.78rem;
    line-height: 1.7;
  }

  .card-specs {
    flex-wrap: wrap;
    row-gap: 16px;
  }

  .spec-item {
    min-width: 33.33%;
    border-right: none;
    text-align: left;
    padding: 0;
  }

  .spec-item:first-child {
    text-align: left;
  }

  .card-cta {
    font-size: 0.68rem;
  }
}


/* ─────────────────────────────────────────
   Mobile Devices
───────────────────────────────────────── */
@media (max-width: 576px) {

  .filter-bar {
    top: 58px;
    padding: 0 4vw;
  }

  .filter-label {
    display: none;
  }

  .filter-btn {
    padding: 14px 12px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .projects-section {
    padding: 36px 4vw 70px;
  }

  .projects-grid {
    gap: 18px;
  }

  .card-image-wrap,
  .project-card.featured .card-image-wrap {
    height: 210px;
  }

  .card-body,
  .project-card.featured .card-body {
    padding: 18px;
  }

  .card-location {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
  }

  .card-title,
  .project-card.featured .card-title {
    font-size: 1.35rem;
    line-height: 1.15;
  }

  .card-tagline,
  .project-card.featured .card-tagline {
    font-size: 0.75rem;
    line-height: 1.65;
    margin-bottom: 16px;
  }

  .card-specs {
    padding-top: 14px;
    margin-bottom: 16px;
    gap: 12px;
  }

  .spec-item {
    min-width: calc(50% - 6px);
  }

  .spec-val {
    font-size: 1rem;
  }

  .spec-key {
    font-size: 0.56rem;
  }

  .card-badge {
    top: 12px;
    left: 12px;
    font-size: 0.55rem;
    padding: 4px 10px;
  }

  .card-type-chip {
    bottom: 12px;
    right: 12px;
    font-size: 0.52rem;
    padding: 4px 8px;
  }

  .card-cta {
    font-size: 0.64rem;
    gap: 8px;
  }

  .section-label-sm {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
  }

  .section-count {
    font-size: 0.9rem;
  }
}


/* ─────────────────────────────────────────
   Small Mobile Devices
───────────────────────────────────────── */
@media (max-width: 380px) {

  .filter-btn {
    padding: 13px 10px;
    font-size: 0.58rem;
  }

  .card-image-wrap,
  .project-card.featured .card-image-wrap {
    height: 190px;
  }

  .card-title,
  .project-card.featured .card-title {
    font-size: 1.2rem;
  }

  .card-tagline {
    font-size: 0.72rem;
  }

  .spec-item {
    min-width: 100%;
  }

  .card-specs {
    gap: 14px;
  }

  .spec-val {
    font-size: 0.95rem;
  }

  .card-cta {
    font-size: 0.6rem;
  }
}

   /*project details page*/
    /* ── HERO ── */
    .project-hero {
      position: relative; width: 100%; height: 90vh; min-height: 500px;
      display: flex; align-items: flex-end;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute; inset: 0;
      background-size: cover; background-position: center;
      transition: transform 0.1s linear;
    }
    .project-hero::before {
      content: ''; position: absolute; inset: 0; z-index: 1;
      background: linear-gradient(
        170deg,
        rgba(51,0,51,0.55) 0%,
        rgba(51,0,51,0.3) 40%,
        rgba(51,0,51,0.85) 85%,
        var(--dark) 100%
      );
    }
    .hero-content {
      position: relative; z-index: 2; width: 100%;
      padding: 0 10vw 72px;
      display: grid; grid-template-columns: 1fr auto;
      align-items: flex-end; gap: 40px;
    }
    .hero-left { opacity: 0; transform: translateY(24px); animation: fadeUp 0.9s ease 0.2s forwards; }
    @keyframes fadeUp { to { opacity:1; transform:none; } }

    .hero-breadcrumb {
      font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
      color: var(--text-dim); margin-bottom: 16px;
      display: flex; align-items: center; gap: 8px;
    }
    .hero-breadcrumb::before { content:''; width:24px; height:1px; background:var(--gold); }
    .hero-breadcrumb a { color: var(--text-dim); text-decoration:none; transition:color 0.3s; }
    .hero-breadcrumb a:hover { color: var(--gold); }
    .hero-breadcrumb span { color: var(--gold); }

    .hero-status-pill {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
      padding: 6px 16px; margin-bottom: 16px;
    }
    .pill-ongoing  { background: var(--gold); color: var(--dark); }
    .pill-upcoming { border: 1px solid var(--gold); color: var(--gold); }
    .pill-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
    @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.4)} }

    .hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.8rem, 6vw, 5.5rem);
      font-weight: 300; line-height: 1.05; color: var(--white);
      margin-bottom: 12px;
    }
    .hero-title em { font-style:italic; color:var(--gold-light); }
    .hero-location {
      font-size: 0.82rem; letter-spacing: 0.14em; color: rgba(245,240,232,0.65);
      display: flex; align-items: center; gap: 8px;
    }
    .hero-location::before { content: '📍'; }

    /* Key stat pills on right */
    .hero-right {
      display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
      opacity: 0; transform: translateY(20px); animation: fadeUp 0.9s ease 0.45s forwards;
    }
    .hero-stat-pill {
      background: rgba(51,0,51,0.75); backdrop-filter: blur(8px);
      border: 1px solid rgba(212,175,55,0.25);
      padding: 10px 20px; text-align: right; min-width: 140px;
    }
    .hsp-val {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.6rem; color: var(--gold); line-height: 1;
    }
    .hsp-key {
      font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--text-dim); margin-top: 3px;
    }

    /* =========================================================
   RESPONSIVE HERO SECTION
========================================================= */

/* Large laptops */
@media (max-width: 1400px) {

  .hero-content {
    padding: 0 7vw 64px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 5.5vw, 5rem);
  }

}


/* Tablets + Small Laptops */
@media (max-width: 992px) {

  .project-hero {
    height: auto;
    min-height: 720px;
    align-items: flex-end;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 6vw 54px;
  }

  .hero-right {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 14px;
  }

  .hero-stat-pill {
    min-width: 160px;
    flex: 1 1 calc(50% - 14px);
    text-align: left;
  }

  .hero-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.08;
  }

  .hero-location {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

}


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

  .project-hero {
    min-height: 640px;
    height: auto;
  }

  .project-hero::before {
    background: linear-gradient(
      180deg,
      rgba(51,0,51,0.45) 0%,
      rgba(51,0,51,0.45) 35%,
      rgba(51,0,51,0.9) 82%,
      var(--dark) 100%
    );
  }

  .hero-content {
    padding: 0 5vw 42px;
    gap: 24px;
  }

  .hero-breadcrumb {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    gap: 6px;
    flex-wrap: wrap;
  }

  .hero-breadcrumb::before {
    width: 18px;
  }

  .hero-status-pill {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    padding: 6px 12px;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3.5rem);
    line-height: 1.12;
    margin-bottom: 14px;
  }

  .hero-location {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    gap: 6px;
  }

  .hero-right {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-stat-pill {
    width: 100%;
    min-width: auto;
    padding: 14px 16px;
  }

  .hsp-val {
    font-size: 1.45rem;
  }

  .hsp-key {
    font-size: 0.56rem;
  }

}


/* Small Phones */
@media (max-width: 480px) {

  .project-hero {
    min-height: 580px;
  }

  .hero-content {
    padding: 0 20px 34px;
  }

  .hero-breadcrumb {
    font-size: 0.54rem;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
  }

  .hero-status-pill {
    margin-bottom: 14px;
    padding: 5px 11px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.14;
  }

  .hero-location {
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .hero-stat-pill {
    padding: 13px 14px;
  }

  .hsp-val {
    font-size: 1.3rem;
  }

  .hsp-key {
    letter-spacing: 0.14em;
  }
}
/* Ultra Small Devices */
@media (max-width: 360px) {

  .project-hero {
    min-height: 540px;
  }

  .hero-content {
    padding: 0 16px 28px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-location {
    font-size: 0.64rem;
  }

  .hero-status-pill {
    font-size: 0.52rem;
  }

  .hsp-val {
    font-size: 1.15rem;
  }

  .hsp-key {
    font-size: 0.5rem;
  }

}

    /* ── PROGRESS BAR (ongoing only) ── */
    .progress-section {
      background: var(--charcoal);
      border-bottom: 1px solid rgba(212,175,55,0.12);
      padding: 24px 10vw;
      display: flex; align-items: center; gap: 32px;
    }
    .progress-label {
      font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--text-dim); white-space: nowrap;
    }
    .progress-track {
      flex: 1; height: 4px; background: rgba(212,175,55,0.1); position: relative;
    }
    .progress-fill {
      height: 100%; background: linear-gradient(to right, var(--gold), var(--gold-light));
      transition: width 1.4s ease 0.3s;
    }
    .progress-pct {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem; color: var(--gold); white-space: nowrap;
    }
    .progress-delivery {
      font-size: 0.72rem; letter-spacing: 0.14em; color: var(--text-dim);
      white-space: nowrap;
    }
    .progress-delivery strong { color: var(--cream); font-weight: 400; }

    /* ── MAIN CONTENT ── */
    .detail-grid {
      padding: 80px 10vw 100px;
      display: grid; grid-template-columns: 1fr 360px;
      gap: 60px; align-items: start;
    }

    /* Left column */
    .detail-left {}

    .section-label {
      font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase;
      color: var(--gold); display: flex; align-items: center; gap: 10px;
      margin-bottom: 14px;
    }
    .section-label::before { content:''; width:24px; height:1px; background:var(--gold); }

    .detail-heading {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      font-weight: 300; color: var(--white); line-height: 1.2;
      margin-bottom: 24px;
    }
    .detail-heading em { font-style:italic; color:var(--gold-light); }

    .detail-body {
      font-size: 0.92rem; line-height: 1.9;
      color: rgba(245,240,232,0.78);
    }
    .detail-body p { margin-bottom: 18px; }

    /* Specs full table */
    .specs-table {
      margin: 48px 0;
      border: 1px solid rgba(212,175,55,0.14);
      overflow: hidden;
    }
    .specs-table-head {
      background: rgba(212,175,55,0.06);
      padding: 14px 24px;
      font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
      color: var(--gold);
      border-bottom: 1px solid rgba(212,175,55,0.14);
    }
    .specs-row {
      display: grid; grid-template-columns: 1fr 1fr;
      border-bottom: 1px solid rgba(212,175,55,0.08);
    }
    .specs-row:last-child { border-bottom: none; }
    .specs-cell {
      padding: 14px 24px;
      font-size: 0.84rem; color: var(--text-dim);
    }
    .specs-cell:first-child {
      border-right: 1px solid rgba(212,175,55,0.08);
      font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase;
      color: rgba(212,175,55,0.7);font-weight:700;
    }
    .specs-cell strong { color: var(--cream); font-weight: 400; font-size: 0.9rem; }

    /* Features list */
    .features-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 14px; margin: 24px 0 48px;
    }
    .feature-item {
      display: flex; align-items: flex-start; gap: 12px;
      font-size: 0.82rem; line-height: 1.55; color: rgba(245,240,232,0.75);
    }
    .feature-item::before {
      content: '◆'; color: var(--gold); font-size: 0.45rem;
      margin-top: 5px; flex-shrink: 0;
    }

    /* Image gallery strip */
    .gallery-strip {
      display: grid; grid-template-columns: 2fr 1fr 1fr;
      gap: 8px; margin: 48px 0;
    }
    .gallery-img {
      background-size: cover; background-position: center;
      border: 1px solid rgba(212,175,55,0.1); overflow: hidden;
      transition: opacity 0.3s;
    }
    .gallery-img:hover { opacity: 0.85; }
    .gallery-img.tall { grid-row: span 2; height: 340px; }
    .gallery-img.short { height: 163px; }

    /* Right column — sticky enquiry card */
    .detail-right {}

    .enquiry-card {
      background: var(--charcoal);
      border: 1px solid rgba(212,175,55,0.18);
      padding: 32px;
      position: sticky; top: 96px;
    }
    .enquiry-card::before {
      content: ''; display: block;
      width: 40px; height: 2px; background: var(--gold);
      margin-bottom: 22px;
    }
    .enquiry-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem; color: var(--white); margin-bottom: 6px;
    }
    .enquiry-sub { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 28px; line-height: 1.6; }

    .form-group { margin-bottom: 16px; }
    .form-group label {
      display: block; font-size: 0.65rem; letter-spacing: 0.18em;
      text-transform: uppercase; color: var(--text-dim); margin-bottom: 7px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(212,175,55,0.15);
      color: var(--cream);
      font-family: 'Jost', sans-serif; font-size: 0.85rem; font-weight: 300;
      padding: 12px 14px;
      outline: none; transition: border-color 0.3s;
      appearance: none;
    }
    .form-group input::placeholder,
    .form-group textarea::placeholder { color: var(--text-dim); }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus { border-color: var(--gold); }
    .form-group select option { background: var(--dark); }
    .form-group textarea { resize: none; height: 80px; }

    .form-submit {
      width: 100%; padding: 14px;
      background: var(--gold); color: var(--dark);
      font-family: 'Jost', sans-serif; font-size: 0.76rem;
      letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
      border: none; cursor: pointer; transition: all 0.3s;
      margin-top: 8px;
    }
    .form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }

    .enquiry-note {
      font-size: 0.68rem; color: var(--text-dim); text-align: center;
      margin-top: 14px; line-height: 1.6;
    }

    /* Quick facts below form */
    .quick-facts {
      margin-top: 24px;
      border-top: 1px solid rgba(212,175,55,0.1);
      padding-top: 20px;
    }
    .quick-fact {
      display: flex; align-items: center; gap: 12px;
      font-size: 0.75rem; color: var(--text-dim);
      margin-bottom: 10px;
    }
    .quick-fact::before { content:'✓'; color: var(--gold); font-weight: 500; }

    /* ── RELATED PROJECTS ── */
    .related-section {
      padding: 0 10vw 100px;
      border-top: 1px solid rgba(212,175,55,0.1);
      padding-top: 72px;
    }
    .related-heading {
      display: flex; justify-content: space-between; align-items: flex-end;
      margin-bottom: 36px;
    }
    .related-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem; font-weight: 300; color: var(--white);
    }
    .related-title em { font-style:italic; color:var(--gold-light); }
    .related-link {
      font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--text-dim); text-decoration: none;
      border-bottom: 1px solid rgba(153,153,153,0.2); padding-bottom: 3px;
      transition: all 0.3s;
    }
    .related-link:hover { color: var(--gold); border-color: var(--gold); }

    .related-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
    }
    .related-card {
      text-decoration: none; color: inherit;
      border: 1px solid rgba(212,175,55,0.1); overflow: hidden;
      background: var(--charcoal);
      transition: border-color 0.3s, transform 0.3s;
    }
    .related-card:hover { border-color: rgba(212,175,55,0.4); transform: translateY(-4px); }
    .related-img {
      height: 160px; background-size: cover; background-position: center;
      transition: transform 0.5s;
    }
    .related-card:hover .related-img { transform: scale(1.04); }
    .related-body { padding: 18px 20px; }
    .related-type {
      font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 6px;
    }
    .related-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.2rem; color: var(--white); margin-bottom: 4px;
    }
    .related-loc { font-size: 0.75rem; color: var(--text-dim); }


    /* =========================================================
   RESPONSIVE DESIGN
========================================================= */

/* Large Tablets / Small Laptops */
@media (max-width: 1200px) {

  .detail-grid {
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 70px 7vw 90px;
  }

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

  .gallery-strip {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

}


/* Tablets */
@media (max-width: 992px) {

  /* Progress */
  .progress-section {
    flex-wrap: wrap;
    gap: 16px;
    padding: 22px 6vw;
  }

  .progress-track {
    width: 100%;
    order: 3;
  }

  /* Main layout */
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 60px 6vw 80px;
  }

  .detail-right {
    width: 100%;
  }

  .enquiry-card {
    position: relative;
    top: auto;
  }

  /* Gallery */
  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-img.tall {
    grid-row: span 1;
    height: 260px;
  }

  .gallery-img.short {
    height: 260px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Related */
  .related-section {
    padding: 0 6vw 80px;
    padding-top: 60px;
  }

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

}


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

  /* Progress */
  .progress-section {
    padding: 18px 5vw;
    gap: 14px;
  }

  .progress-label,
  .progress-delivery {
    width: 100%;
  }

  .progress-pct {
    font-size: 1.2rem;
  }

  /* Main */
  .detail-grid {
    padding: 50px 5vw 70px;
    gap: 50px;
  }

  .detail-heading {
    line-height: 1.25;
  }

  .detail-body {
    font-size: 0.88rem;
    line-height: 1.8;
  }

  /* Specs */
  .specs-row {
    grid-template-columns: 1fr;
  }

  .specs-cell:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(212,175,55,0.08);
  }

  .specs-cell {
    padding: 12px 18px;
  }

  /* Gallery */
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .gallery-img.tall,
  .gallery-img.short {
    height: 220px;
  }

  /* Enquiry */
  .enquiry-card {
    padding: 26px 22px;
  }

  .enquiry-title {
    font-size: 1.35rem;
  }

  /* Related */
  .related-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

  .related-img {
    height: 220px;
  }

}


/* Small Phones */
@media (max-width: 480px) {

  .progress-section {
    padding: 16px 20px;
  }

  .detail-grid {
    padding: 42px 20px 60px;
  }

  .related-section {
    padding: 0 20px 60px;
    padding-top: 50px;
  }

  .detail-heading {
    font-size: 1.7rem;
  }

  .related-title {
    font-size: 1.7rem;
  }

  .enquiry-card {
    padding: 22px 18px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.82rem;
    padding: 11px 12px;
  }

  .form-submit {
    padding: 13px;
    font-size: 0.7rem;
  }

  .gallery-img.tall,
  .gallery-img.short {
    height: 190px;
  }

  .related-img {
    height: 190px;
  }
}
/* Ultra Small Devices */
@media (max-width: 360px) {

  .detail-heading {
    font-size: 1.5rem;
  }

  .enquiry-title {
    font-size: 1.2rem;
  }

  .progress-pct {
    font-size: 1rem;
  }

  .specs-cell,
  .detail-body,
  .feature-item {
    font-size: 0.8rem;
  }

}

/* ── FOOTER (identical to index) ── */
    footer {
      background: var(--charcoal);
      border-top: 1px solid rgba(212,175,55,0.15);
      padding: 70px 10vw 36px;
    }
    .footer-grid {
      display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 50px; margin-bottom: 60px;
    }
    .footer-brand .nav-logo { display: block; margin-bottom: 18px; font-size: 1.4rem; }
    .footer-about { font-size: 0.82rem; color: var(--text-dim); line-height: 1.7; max-width: 280px; }
    .footer-heading {
      font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 20px;
    }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 10px; }
    .footer-links a {
      color: var(--text-dim); text-decoration: none; font-size: 0.83rem;
      transition: color 0.3s;
    }
    .footer-links a:hover { color: var(--cream); }
    .footer-contact p { font-size: 0.83rem; color: var(--text-dim); line-height: 1.8; }
    .footer-contact strong { color: var(--cream); font-weight: 400; }
    .footer-bottom {
      display: flex; justify-content: space-between; align-items: center;
      border-top: 1px solid rgba(255,255,255,0.06);
      padding-top: 28px;
      font-size: 0.72rem; color: rgba(153,153,153,0.5); letter-spacing: 0.08em;
    }

/* ════════════════════════════════════
   FOOTER RESPONSIVE
════════════════════════════════════ */
/* ─────────────────────────────
   Large Tablet / Small Laptop
───────────────────────────── */
@media (max-width: 1200px) {
  footer {
    padding: 70px 7vw 36px;
  }
  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 40px;
  }
  .footer-about {
    max-width: 100%;
  }
}

/* ─────────────────────────────
   Tablet
───────────────────────────── */
@media (max-width: 992px) {
  footer {
    padding: 60px 6vw 32px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 40px;
    margin-bottom: 50px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-brand .nav-logo {
    margin-bottom: 16px;
  }

  .footer-about {
    max-width: 600px;
    font-size: 0.84rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    line-height: 1.8;
  }
}
/* ─────────────────────────────
   Mobile Landscape / Large Mobile
───────────────────────────── */
@media (max-width: 768px) {

  footer {
    padding: 55px 6vw 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-brand .nav-logo img {
    max-width: 170px;
    height: auto;
  }
  .footer-heading {
    margin-bottom: 16px;
    font-size: 1.2rem;
    letter-spacing: 0.18em;
  }
  .footer-links li {
    margin-bottom: 8px;
  }
  .footer-links a,
  .footer-contact p,
  .footer-about {
    font-size: 1rem;
    line-height: 1.7;
  }

  .footer-bottom {
    padding-top: 22px;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }
}

/* ─────────────────────────────
   FOOTER CENTER ALIGN FIX
───────────────────────────── */

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

  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Logo */
  .footer-brand .nav-logo {
    display: flex;
    justify-content: center;
  }

  /* UL alignment */
  .footer-links ul {
    padding: 0;
    margin: 0;
    list-style: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-links li {
    text-align: center;
  }

  .footer-links a {
    display: inline-block;
    text-align: center;
  }

  /* Contact items */
  .footer-contact p {
    text-align: center;
    justify-content: center;
  }

  /* Footer bottom */
  .footer-bottom {
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

}

/* Extra Small Devices */
@media (max-width: 480px) {

  .footer-grid {
    gap: 30px;
  }

  .footer-links ul {
    gap: 8px;
  }

}