/* ============================================================
   MILLENNIA BUILDERS PRIVATE LIMITED
   Main Stylesheet — Modern Premium Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600;700&family=Bebas+Neue&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  /* Brand */
  --green:       #1B6035;
  --green-mid:   #247B44;
  --green-dark:  #0F3B20;
  --gold:        #B8892A;
  --gold-light:  #D4A83A;
  --gold-pale:   #F5EDD3;

  /* Backgrounds */
  --bg-dark:   #0C1910;   /* deep forest — hero & footer */
  --bg-cream:  #FAF9F6;   /* warm off-white */
  --bg-stone:  #F1ECE3;   /* warm stone for alternate sections */
  --bg-white:  #FFFFFF;

  /* Text */
  --text:             #111418;
  --text-mid:         #3D3A35;
  --text-muted:       #78746F;
  --text-light:       rgba(255,255,255,0.90);
  --text-light-mid:   rgba(255,255,255,0.62);
  --text-light-muted: rgba(255,255,255,0.38);

  /* UI helpers */
  --border:      rgba(0,0,0,0.08);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.05);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.09);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.13);
  --shadow-green: 0 8px 32px rgba(27,96,53,0.22);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-cream); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  background: rgba(250,249,246,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 24px rgba(0,0,0,0.04);
  transition: height 0.3s ease, box-shadow 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img { height: 46px; width: auto; }

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-text .name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-logo-text .tagline {
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  display: block;
  padding: 8px 20px;
  color: var(--text-mid);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 20px; right: 20px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--green); font-weight: 600; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(250,249,246,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  display: block;
  padding: 13px 0;
  color: var(--text-mid);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  transition: color 0.25s, padding-left 0.25s;
}

.mobile-menu a:hover,
.mobile-menu a.active { color: var(--green); padding-left: 8px; }

/* ===== SECTIONS ===== */
.section {
  min-height: 100vh;
  position: relative;
  scroll-margin-top: 72px;
}

/* ===== HOME / HERO ===== */
#home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(10,22,14,0.80) 0%, rgba(10,22,14,0.68) 55%, rgba(10,22,14,0.85) 100%),
    url('../assets/images/6.webp') center / cover no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(27,96,53,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 85% 15%, rgba(184,137,42,0.07) 0%, transparent 50%);
  z-index: 1;
}

.hero-cityscape { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 1000px;
  width: 100%;
}

.hero-logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  animation: fadeInDown 0.9s ease 0.1s both;
}

.hero-logo {
  width: clamp(160px, 38vw, 440px);
  max-width: 90%;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 4px 24px rgba(0,0,0,0.35));
}

.hero-badge {
  display: block;
  padding: 5px 18px;
  border: 1px solid rgba(212,168,58,0.45);
  border-radius: 40px;
  font-size: 0.59rem;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  text-transform: uppercase;
  background: rgba(184,137,42,0.07);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  white-space: nowrap;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.6rem;
  animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-title .line1 { color: #FFFFFF; display: block; }
.hero-title .line2 {
  color: var(--gold-light);
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: 0.62em;
  letter-spacing: 0.03em;
}

.hero-pvt {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.72rem, 1.4vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--text-light-mid);
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.9s ease 0.4s both;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: 0 auto 2rem;
  animation: fadeIn 1s ease 0.5s both;
}

.hero-tagline {
  font-size: clamp(0.94rem, 1.9vw, 1.08rem);
  color: var(--text-light-mid);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.9;
  font-weight: 300;
  animation: fadeInUp 0.9s ease 0.5s both;
}

/* Stats as a frosted panel */
.hero-stats {
  display: flex;
  justify-content: center;
  margin: 0 auto 3rem;
  max-width: 460px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.9s ease 0.6s both;
}

.stat-item {
  text-align: center;
  padding: 1.4rem 1.5rem;
  flex: 1;
  border-right: 1px solid rgba(255,255,255,0.10);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: 0.04em;
}

.stat-label {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--text-light-muted);
  text-transform: uppercase;
  margin-top: 5px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.7s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-light-muted);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
  animation: bounce 2s infinite;
}

.scroll-indicator svg { width: 18px; height: 18px; opacity: 0.45; color: #fff; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(27,96,53,0.40);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--green-mid);
  box-shadow: 0 8px 32px rgba(27,96,53,0.50);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 1.5px solid rgba(255,255,255,0.30);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.60);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title span { color: var(--green); }

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.82;
  font-weight: 400;
}

.gold-rule {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto;
}

/* ===== PROJECTS ===== */
#projects {
  background: var(--bg-stone);
  padding: 100px 2.5rem 80px;
}

.project-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 26px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 3px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(27,96,53,0.04);
}

.filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
  box-shadow: 0 3px 14px rgba(27,96,53,0.25);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  max-width: 1300px;
  margin: 0 auto;
}

.project-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184,137,42,0.22);
}

.project-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--bg-stone);
  display: block;
}

.project-image img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

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

.project-badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 1;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
}

.badge-completed { background: var(--green); color: #ffffff; }
.badge-ongoing   { background: var(--gold); color: #ffffff; }
.badge-commercial{ background: #8B1A1A; color: #ffffff; }

.project-info { padding: 1.5rem; }

.project-type {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.project-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.85rem;
  font-weight: 400;
}

.project-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
}

.meta-item svg { width: 12px; height: 12px; opacity: 0.6; }

/* ===== ABOUT ===== */
#about {
  background: var(--bg-cream);
  padding: 100px 2.5rem 80px;
}

.about-inner {
  max-width: 1300px;
  margin: 0 auto;
}

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

.about-visual { position: relative; }

.about-building-svg {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
  border-radius: 6px;
  display: block;
  box-shadow: var(--shadow-lg);
}

.about-accent {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 90px; height: 90px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  border-radius: 0 0 4px 0;
  z-index: -1;
}

.about-accent2 {
  position: absolute;
  top: -24px; left: -24px;
  width: 65px; height: 65px;
  border-left: 2px solid var(--green);
  border-top: 2px solid var(--green);
  border-radius: 4px 0 0 0;
  z-index: -1;
}

.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.75rem;
  line-height: 1.3;
}

.about-content h2 em { color: var(--green); font-style: italic; }

.about-content p {
  font-size: 0.94rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(27,96,53,0.07);
  border: 1px solid rgba(27,96,53,0.14);
}

.feature-icon svg { width: 18px; height: 18px; color: var(--green); }

.feature-text h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  font-family: 'DM Sans', sans-serif;
}

.feature-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184,137,42,0.18);
}

.value-card:hover::after { opacity: 1; }

.value-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(27,96,53,0.08), rgba(184,137,42,0.06));
  border: 1px solid rgba(184,137,42,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.value-icon-wrap svg { width: 26px; height: 26px; }

.value-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.value-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 400;
}

/* GST Band */
.gst-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(27,96,53,0.04);
  border: 1px solid rgba(27,96,53,0.12);
  border-radius: 4px;
  margin-top: 2rem;
  flex-wrap: wrap;
  text-align: center;
}

.gst-band .label {
  font-size: 0.62rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.gst-band .value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
}

/* ===== CONTACT ===== */
#contact {
  background: var(--bg-stone);
  padding: 100px 2.5rem 80px;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: stretch;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.contact-info > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 2.5rem;
}

.office-block {
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg-white);
  border-radius: 6px;
  border-left: 3px solid var(--green);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.office-block:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.office-label {
  font-size: 0.59rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.office-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}

.office-addr {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.78;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(27,96,53,0.07);
  border: 1px solid rgba(27,96,53,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row-icon svg { width: 16px; height: 16px; color: var(--green); }

.contact-row-text { font-size: 0.88rem; color: var(--text-mid); }

.contact-row-text a {
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-row-text a:hover { color: var(--green); }

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 2.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.contact-form-wrap .form-group:has(textarea) {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form-wrap .form-group:has(textarea) textarea { flex: 1; }

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-cream);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 4px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(27,96,53,0.08);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: #ffffff; color: var(--text); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--green);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,96,53,0.28);
}

.required-mark { color: #C84040; margin-left: 2px; }

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #C84040;
  box-shadow: 0 0 0 3px rgba(200,64,64,0.10);
}

.form-group .error-msg {
  font-size: 0.7rem;
  color: #C84040;
  margin-top: 4px;
  display: none;
}

.form-group.has-error .error-msg { display: block; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-dark);
  padding: 4rem 2.5rem 2rem;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.82);
}

.footer-logo-text .name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #D4A83A;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}

.footer-logo-text .pvt {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 3px;
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.82;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D4A83A;
  margin-bottom: 1.5rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }

.footer-col ul li a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: rgba(255,255,255,0.82);
  padding-left: 6px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-copyright { font-size: 0.75rem; color: rgba(255,255,255,0.32); }
.footer-copyright strong { color: rgba(255,255,255,0.58); font-weight: 500; }

.footer-designer { font-size: 0.65rem; color: rgba(255,255,255,0.20); }

.footer-designer a {
  color: rgba(255,255,255,0.26);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-designer a:hover { color: rgba(255,255,255,0.55); }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn    { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp  { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown{ from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual  { max-width: 480px; margin: 0 auto; }
  .contact-grid  { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
  .footer-brand  { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links          { display: none; }
  .hamburger          { display: flex; }
  .about-features     { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .footer-top         { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-brand       { grid-column: auto; }
  #projects           { padding: 80px 1.5rem 60px; }
  #about, #contact    { padding: 80px 1.5rem 60px; }
  .about-grid         { gap: 2.5rem; }
  .contact-form-wrap  { padding: 2rem; }
  .hero-stats         { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero-title          { font-size: 2rem; }
  .nav-logo-text .name { font-size: 0.82rem; }
  .stat-num            { font-size: 1.5rem; }
  .stat-item           { padding: 1rem 1rem; }
  .gst-band            { flex-direction: column; gap: 0.3rem; }
}

@media (min-width: 1600px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid    { max-width: 1300px; margin: 0 auto; }
}
