/*
Theme Name: Homeland Group
Theme URI: https://homelandgroup.pk
Author: Homeland Group of Companies
Author URI: https://homelandgroup.pk
Description: Custom institutional homepage theme for Homeland Group of Companies - a diversified Pakistani enterprise across real estate, tourism, agriculture, media, energy and trading, developer of the Kartarpur Global Heritage Village & Cultural Theme Park.
Version: 2.0.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: homeland-group
License: Proprietary
*/
/* ==========================================================================
   Homeland Group — Sample 1: "Cinematic Institutional"
   Full-bleed heritage imagery, dramatic scale, generous whitespace.
   ========================================================================== */

:root {
  --navy: #102A43;
  --navy-deep: #0B1F33;
  --royal: #234B70;
  --royal-light: #3A668C;
  --gold: #C9A24A;
  --gold-light: #E6C878;
  --gold-dark: #9B7625;
  --white: #FCFCFA;
  --off-white: #F5F3ED;
  --charcoal: #263746;
  --gray: #718096;
  --line: rgba(201, 162, 74, 0.25);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --edge-pad: clamp(20px, 4vw, 56px);
  --radius: 6px;
  --shadow-soft: 0 20px 50px -20px rgba(16, 42, 67, 0.35);
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-serif); margin: 0; font-weight: 700; color: var(--navy); }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy);
  padding: 12px 20px; z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 2px; border: 1px solid transparent;
  transition: all var(--transition); cursor: pointer; white-space: nowrap;
}
.btn-lg { padding: 17px 34px; font-size: 0.85rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(212,160,23,0.55); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.play-icon { font-size: 0.7em; }

/* ---------- Reveal animation system (bidirectional: replays on scroll up + down) ----------
   Content is visible by default (progressive enhancement). Only when site.js successfully
   loads does it add "js" to <html>, which then arms the hide-until-scrolled-into-view effect.
   This guarantees the page never appears blank if a script fails to load. */
.reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-item { opacity: 1; transform: none; }

html.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1), transform 0.85s cubic-bezier(0.22,1,0.36,1); will-change: opacity, transform; }
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

html.js .reveal-left { opacity: 0; transform: translateX(-56px); transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1), transform 0.85s cubic-bezier(0.22,1,0.36,1); will-change: opacity, transform; }
html.js .reveal-left.is-visible { opacity: 1; transform: translateX(0); }

html.js .reveal-right { opacity: 0; transform: translateX(56px); transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1), transform 0.85s cubic-bezier(0.22,1,0.36,1); will-change: opacity, transform; }
html.js .reveal-right.is-visible { opacity: 1; transform: translateX(0); }

html.js .reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22,1,0.36,1); will-change: opacity, transform; }
html.js .reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* Staggered grid children — each item's --i custom property (set inline) drives its delay */
html.js .reveal-item {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
  transition-delay: calc(var(--i, 0) * 70ms);
  will-change: opacity, transform;
}
html.js .reveal-item.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal-left, html.js .reveal-right, html.js .reveal-scale, html.js .reveal-item {
    transition: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
  background: linear-gradient(to bottom, rgba(7,15,28,0.55), rgba(7,15,28,0));
}
.site-header.is-scrolled {
  background: rgba(16,42,67,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 6px 24px -8px rgba(0,0,0,0.3);
}
.site-header .container {
  max-width: 100%; padding-left: var(--edge-pad); padding-right: var(--edge-pad);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; flex-shrink: 0; margin-left: 14px; }
.brand-crest { width: 64px; height: 64px; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); margin-left: 0; }
.brand:hover .brand-crest { transform: rotate(-6deg) scale(1.06); }

.main-nav { min-width: 0; }
.main-nav ul { display: flex; gap: 16px; flex-wrap: nowrap; white-space: nowrap; }
.main-nav a {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.88); position: relative; padding: 6px 0; white-space: nowrap;
}

@media (max-width: 1260px) {
  .main-nav ul { gap: 10px; }
  .main-nav a { font-size: 0.62rem; letter-spacing: 0.04em; }
}

@media (max-width: 1160px) {
  .main-nav ul { gap: 8px; }
  .main-nav a { font-size: 0.58rem; }
  .header-actions .btn { padding-left: 18px; padding-right: 18px; }
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold);
  transition: width 0.3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: all 0.3s ease; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy-deep);
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 20%;
  opacity: 0; transform: scale(1.04); transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: transform, opacity;
}
.hero-slide.active { opacity: 1; }
.hero-illustration {
  width: 100%; height: 100%; object-fit: cover; object-position: 78% 20%;
  transform: translateY(0) scale(1.04); transition: transform 0.1s linear; will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(2,8,17,0.96) 0%, rgba(7,13,24,0.88) 18%, rgba(11,18,29,0.72) 32%, rgba(11,18,29,0.38) 52%, rgba(0,0,0,0.12) 70%, rgba(0,0,0,0) 100%),
    linear-gradient(to top, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0) 38%),
    linear-gradient(to bottom, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0) 22%);
}
.hero-photo-credit {
  position: absolute; z-index: 2; right: var(--edge-pad); bottom: 16px;
  font-size: 0.62rem; letter-spacing: 0.03em; color: rgba(255,255,255,0.45);
}
.hero-photo-credit a { color: rgba(255,255,255,0.55); text-decoration: underline; }
.hero-content {
  position: relative; z-index: 2; width: 100%; max-width: none; margin: 0;
  padding: 168px var(--edge-pad) 120px;
}
.eyebrow {
  color: var(--gold-light); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; margin-bottom: 20px; text-shadow: 0 0 18px rgba(0,0,0,0.28);
}
.hero-title {
  color: #f7f4ee; font-size: clamp(2.1rem, 3.6vw, 3.2rem); line-height: 1.08; margin-bottom: 24px; max-width: 700px; text-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
.text-gold { color: #f0d998; font-style: italic; }
.hero-copy { color: rgba(255,255,255,0.94); font-size: 1.02rem; max-width: 600px; margin-bottom: 34px; text-shadow: 0 2px 18px rgba(0,0,0,0.32); }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue span {
  width: 1px; height: 34px; background: linear-gradient(to bottom, var(--gold-light), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Stats Strip ---------- */
.stats-strip { background: var(--navy); padding: 52px 0; }
.stats-grid { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 32px; }
.stat-item {
  text-align: center; padding: 0 28px; position: relative; display: flex; flex-direction: column; align-items: center;
  transition: transform var(--transition);
}
.stat-item:hover { transform: translateY(-4px); }
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: rgba(212,160,23,0.28);
}
.stat-icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 12px; transition: transform var(--transition); }
.stat-item:hover .stat-icon { transform: scale(1.15) rotate(-6deg); }
.stat-number {
  display: block; font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; color: var(--white); margin-bottom: 6px;
}
.stat-number.static { font-size: 1.25rem; }
.stat-label { font-size: 0.74rem; color: rgba(255,255,255,0.7); letter-spacing: 0.03em; line-height: 1.4; max-width: 150px; }

/* ---------- Section heads ---------- */
.section-eyebrow {
  color: var(--gold-dark); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 14px; position: relative; display: inline-block; padding-bottom: 10px;
}
.section-eyebrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; background: var(--gold); }
.section-eyebrow.light { color: var(--gold-light); }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.2; margin-bottom: 20px; }
.section-title.light { color: var(--white); }
.section-sub { color: var(--gray); max-width: 560px; }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 52px; }
.section-head.center .section-eyebrow::after { left: 50%; transform: translateX(-50%); }

/* ---------- About ---------- */
.about { padding: 120px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.about-copy p { color: var(--charcoal); font-size: 1.02rem; }
.link-underline {
  color: var(--navy); font-weight: 700; font-size: 0.92rem; border-bottom: 2px solid var(--gold); padding-bottom: 3px;
  transition: color var(--transition);
}
.link-underline:hover { color: var(--gold-dark); }
.about-figure { position: relative; }
.figure-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
  border: 6px solid var(--white); outline: 1px solid rgba(10,34,64,0.08);
}
.figure-caption { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.figure-caption strong { font-family: var(--font-serif); color: var(--navy); font-size: 1.02rem; }
.figure-caption span { font-size: 0.82rem; color: var(--gray); }

/* Centered, image-free variant of the About layout (no figure column) */
.about-grid--centered {
  display: block; max-width: 820px; margin: 0 auto; text-align: center;
}
.about-grid--centered .section-eyebrow::after { left: 50%; transform: translateX(-50%); }
.about-grid--centered .about-copy p { text-align: center; }
.about-grid--centered .link-underline { display: inline-block; }

/* ---------- Companies ---------- */
.companies { padding: 100px 0 110px; background: var(--off-white); }
.companies-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-bottom: 48px;
}
.companies-slider { position: relative; margin-bottom: 48px; }
.companies-slider-viewport { overflow: hidden; padding: 6px 4px 18px; margin: -6px -4px -18px; }
.companies-slider-track { display: flex; gap: 26px; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.companies-slider-track .company-card { flex: 0 0 calc((100% - 78px) / 4); min-width: 0; }
.companies-slider-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 28px; }
.slider-arrow { width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%; background: transparent; color: var(--gold-dark); cursor: pointer; font-size: 1.1rem; transition: all var(--transition); }
.slider-arrow:hover, .slider-arrow:focus-visible { background: var(--gold); color: var(--navy-deep); outline: none; transform: translateY(-2px); }
.slider-dots { display: flex; align-items: center; justify-content: center; gap: 7px; max-width: 620px; flex-wrap: wrap; }
.slider-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(16,42,67,0.22); cursor: pointer; transition: all var(--transition); }
.slider-dot.is-active { width: 24px; border-radius: 8px; background: var(--gold); }
.company-card {
  background: var(--white); border: 1px solid rgba(10,34,64,0.08); border-radius: var(--radius);
  padding: 34px 26px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.company-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.company-logo-wrap {
  width: 88px; height: 88px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--off-white); border: 1px solid rgba(10,34,64,0.08); margin-bottom: 10px; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.company-logo-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.company-logo-wrap.placeholder { background: linear-gradient(135deg, var(--royal), var(--navy)); }
.company-card:hover .company-logo-wrap { transform: scale(1.08) rotate(-3deg); box-shadow: 0 10px 22px -8px rgba(212,160,23,0.45); }
.company-mark {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  color: var(--gold-light); font-family: var(--font-serif); font-weight: 700; font-size: 1rem;
}
.company-card h3 { font-size: 1.02rem; color: var(--navy); line-height: 1.3; margin: 0; }
.company-type { font-size: 0.7rem; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.company-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.6; margin: 6px 0 4px; flex: 1; }
.companies-slider .company-card { min-height: 392px; padding: 26px 22px 20px; }
.companies-slider .company-logo-wrap { width: 74px; height: 74px; margin-bottom: 7px; }
.companies-slider .company-desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }
.companies-slider .company-desc.is-expanded { display: block; }
.company-read-more { display: inline; padding: 0; border: 0; background: transparent; color: var(--gold-dark); font: inherit; font-weight: 600; cursor: pointer; }
.company-read-more:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.company-link {
  margin-top: 10px; padding-top: 14px; width: 100%; border-top: 1px solid rgba(10,34,64,0.08);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark);
  transition: color var(--transition), gap var(--transition);
}
.company-link:hover { color: var(--navy); gap: 10px; }
.center { text-align: center; }

/* ---------- Sectors + Vision split ---------- */
.sectors-vision { position: relative; left: 50%; width: 100vw; min-width: 100vw; max-width: none; transform: translateX(-50%); display: grid; grid-template-columns: 50% 50%; align-items: stretch; background: var(--navy); }
.sv-panel { width: auto; min-width: 0; justify-self: stretch; padding: 78px clamp(28px, 5vw, 76px); }
.sv-inner { max-width: 640px; }
.sv-sectors { background: var(--off-white); color: var(--charcoal); position: relative; overflow: hidden; }
.sv-sectors::before {
  content: ""; position: absolute; inset: 0; background-image: url('assets/images/jali-pattern.svg');
  background-size: 160px; opacity: 0.05; pointer-events: none;
}
.sv-sectors .sv-inner { max-width: 720px; margin: 0 auto; }
.sv-sectors .section-eyebrow.light { color: var(--gold-dark); }
.sv-sectors .section-title.light { color: var(--navy); }
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.sector-item { min-height: 86px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px; padding: 16px; border: 1px solid var(--gold); background: var(--navy); transition: transform var(--transition), background var(--transition), border-color var(--transition); }
.sector-item:hover { transform: translateY(-4px); background: var(--royal); border-color: var(--gold-light); }
.sector-item svg { width: 34px; height: 34px; color: var(--gold); transition: transform var(--transition); }
.sector-item:hover svg { transform: scale(1.15); }
.sector-item span { font-size: 0.85rem; line-height: 1.4; color: var(--white); }
.sv-vision { background: linear-gradient(135deg, var(--royal), var(--navy)); display: flex; align-items: center; }
.sv-vision .sv-inner { max-width: 620px; margin: 0 auto; }
.sv-vision .section-title { color: var(--white); }
.sv-copy { color: rgba(255,255,255,0.82); font-size: 1.02rem; margin-bottom: 30px; }

/* ---------- Kartarpur ---------- */
.kartarpur { background: linear-gradient(180deg, var(--navy-deep), var(--navy)); padding: 120px 0 0; position: relative; }
.kartarpur-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-bottom: 100px; }
.kartarpur .section-eyebrow { color: var(--gold-light); }
.kartarpur-sub { color: var(--gold-light); font-weight: 600; font-size: 1rem; margin-bottom: 20px; }
.kartarpur-copy p { color: rgba(255,255,255,0.82); }
.kartarpur-stats { display: flex; gap: 34px; margin: 30px 0 12px; flex-wrap: wrap; }
.kartarpur-stats li { display: flex; flex-direction: column; gap: 4px; transition: transform var(--transition); }
.kartarpur-stats li:hover { transform: translateY(-4px); }
.kartarpur-stats strong { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold-light); }
.kartarpur-stats span { font-size: 0.76rem; color: rgba(255,255,255,0.65); max-width: 140px; }
.kartarpur-note { font-size: 0.72rem; color: rgba(255,255,255,0.45); font-style: italic; margin-bottom: 30px; }
.kartarpur-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 3 / 2; }
.flagship-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity 1.1s ease, transform 1.1s ease;
  will-change: transform, opacity;
}
.flagship-slide.active { opacity: 1; }
.media-tag {
  position: absolute; bottom: 16px; left: 16px; background: rgba(7,15,28,0.75); color: var(--gold-light);
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 14px; border-radius: 2px;
}
.kartarpur-validation { background: rgba(0,0,0,0.22); border-top: 1px solid rgba(212,160,23,0.2); padding: 34px 0; }
.validation-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; text-align: center; }
.validation-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.validation-list span { font-size: 0.82rem; color: rgba(255,255,255,0.72); position: relative; padding-left: 16px; transition: color var(--transition); }
.validation-list span:hover { color: var(--gold-light); }
.validation-list span::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: 0.6em; top: 4px; }

/* ---------- Homepage project gallery ---------- */
.project-gallery-section { padding: 84px 0; background: var(--off-white); }
.project-gallery-stage { position: relative; padding: 0 56px; }
.project-gallery-viewport { overflow: hidden; }
.project-gallery-track { display: flex; gap: 18px; transition: transform 0.55s ease; }
.project-gallery-item { flex: 0 0 calc((100% - 36px) / 3); min-width: 0; margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.project-gallery-item a { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.project-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.project-gallery-item a:hover img { transform: scale(1.05); }
.project-gallery-item a:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.project-gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--gold);
  border-radius: 50%; background: var(--white); color: var(--gold-dark);
  font-size: 2rem; line-height: 1; cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.project-gallery-arrow:hover, .project-gallery-arrow:focus-visible { background: var(--gold); color: var(--navy-deep); }
.project-gallery-prev { left: 0; }
.project-gallery-next { right: 0; }
.project-gallery-dots { margin: 28px auto 0; }
.project-gallery-dots .slider-dot { width: 12px; height: 12px; }
.project-gallery-dots .slider-dot.is-active { width: 24px; }
.project-gallery-dots .slider-dot:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .project-gallery-track { transition: none; }
}

/* ---------- Contact CTA ---------- */
.contact-cta { background: var(--gold); padding: 80px 0; text-align: center; }
.cta-inner h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--navy-deep); margin-bottom: 14px; }
.cta-inner p { color: rgba(10,34,64,0.75); font-size: 1.05rem; margin-bottom: 30px; }
.contact-cta .btn-gold { background: var(--navy); color: var(--gold-light); }
.contact-cta .btn-gold:hover { background: var(--navy-deep); box-shadow: 0 12px 24px -8px rgba(10,34,64,0.55); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); padding: 56px 0 30px; color: rgba(255,255,255,0.75); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 40px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.footer-brand .brand-name { display: block; color: var(--white); font-family: var(--font-serif); font-size: 1.05rem; }
.footer-brand .brand-tagline { display: block; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin-top: 3px; }
.footer-contact p { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; margin-bottom: 12px; }
.icon-sm { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; text-align: right; }
.footer-meta p { font-size: 0.8rem; margin: 0; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(212,160,23,0.4);
  display: flex; align-items: center; justify-content: center; transition: all var(--transition);
}
.social-icons svg { width: 16px; height: 16px; color: var(--gold-light); }
.social-icons a:hover { background: var(--gold); border-color: var(--gold); }
.social-icons a:hover svg { color: var(--navy-deep); }

/* ---------- Interior Page Hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy-deep); }
.page-hero-content { position: relative; z-index: 2; width: 100%; padding: 168px var(--edge-pad) 76px; }
.breadcrumb {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.78); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold-light); }
.page-hero-content h1 {
  color: var(--white); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.16; margin-bottom: 18px; max-width: 760px;
}
.page-hero-sub { color: rgba(255,255,255,0.85); font-size: 1.04rem; max-width: 660px; margin-bottom: 0; }

/* ---------- Company Profile Hero (static — no slider) ---------- */
.company-hero {
  position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--royal));
  padding: 168px 0 76px;
}
.company-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 12%, rgba(230,200,120,0.16), transparent 55%);
}
.company-hero-inner { position: relative; z-index: 2; }
.company-hero-top { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.company-hero-emblem {
  width: 118px; height: 118px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 3px solid var(--gold); box-shadow: 0 20px 45px -18px rgba(0,0,0,0.55);
}
.company-hero-emblem img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.company-hero-emblem.placeholder { background: linear-gradient(135deg, var(--royal), var(--navy)); }
.company-hero-emblem.placeholder span { color: var(--gold-light); font-family: var(--font-serif); font-weight: 700; font-size: 1.4rem; }
.company-hero-text h1 { color: var(--white); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.18; margin-bottom: 10px; }
.company-hero-type {
  display: inline-block; color: var(--gold-light); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0;
}

/* ---------- Vision & Mission cards (Company Profile page) ---------- */
.vision-mission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.vision-mission-card {
  background: var(--white); border: 1px solid rgba(10,34,64,0.08); border-radius: var(--radius);
  padding: 42px 36px; text-align: center; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.vision-mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.vision-mission-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--off-white); color: var(--gold-dark); margin-bottom: 18px;
}
.vision-mission-icon svg { width: 26px; height: 26px; }
.vision-mission-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.vision-mission-card p { color: var(--charcoal); font-size: 0.98rem; margin-bottom: 0; }
.company-project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 1080px; margin: 0 auto; }
.company-project-card {
  display: flex; gap: 24px; align-items: flex-start; padding: 30px; background: var(--white);
  border: 1px solid rgba(10,34,64,0.08); border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  scroll-margin-top: 110px;
}
.company-project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.company-project-logo {
  width: 88px; height: 88px; flex: 0 0 88px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: var(--off-white);
  border: 1px solid rgba(10,34,64,0.08);
}
.company-project-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.company-project-content h3 { margin: 3px 0 10px; color: var(--navy); font-size: 1.22rem; line-height: 1.25; }
.company-project-content p:last-child { margin: 0; color: var(--gray); font-size: 0.9rem; line-height: 1.65; }
.company-project-read-more {
  display: inline-block; margin-top: 14px; padding: 0; border: 0; background: transparent; color: var(--gold-dark);
  font: inherit; font-weight: 700; cursor: pointer;
}
.company-project-read-more:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.company-project-details { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(10,34,64,0.1); }
.company-project-details p { color: var(--gray); font-size: 0.88rem; line-height: 1.65; }
.company-project-details h4 { margin: 18px 0 8px; color: var(--navy); font-size: 0.92rem; }
.company-project-details ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.company-project-details li { position: relative; padding-left: 14px; color: var(--gray); font-size: 0.84rem; line-height: 1.5; }
.company-project-details li::before { content: "\2022"; position: absolute; left: 0; color: var(--gold); }
.company-extra-logo { width: 120px; height: 120px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; }
.company-extra-logo img { width: 100%; height: 100%; object-fit: contain; }
.company-extra-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--gold-dark);
  font-weight: 700; letter-spacing: 0.04em; text-decoration: underline; text-underline-offset: 4px;
}
.company-extra-link:hover { color: var(--navy); }

/* ---------- Generic interior sections ---------- */
.section { padding: 100px 0; background: var(--white); }
.section.alt { background: var(--off-white); }
.section.navy { background: var(--navy); color: rgba(255,255,255,0.85); }
.section.navy .section-title { color: var(--white); }
.section.navy .section-sub { color: rgba(255,255,255,0.72); }
.section-sub.center { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Sector detail cards (Our Sectors page) ---------- */
.sector-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sector-detail-card {
  background: var(--white); border: 1px solid rgba(10,34,64,0.08); border-radius: var(--radius);
  padding: 34px 28px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.sector-detail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.sector-detail-icon {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--royal), var(--navy)); margin-bottom: 18px;
  transition: transform var(--transition);
}
.sector-detail-card:hover .sector-detail-icon { transform: scale(1.08) rotate(-4deg); }
.sector-detail-icon svg { width: 26px; height: 26px; color: var(--gold-light); }
.sector-detail-photos { display: flex; gap: 8px; margin-bottom: 18px; }
.sector-detail-photos img {
  width: 54px; height: 54px; border-radius: 10px; object-fit: cover;
  box-shadow: 0 4px 14px rgba(10,34,64,0.18); transition: transform var(--transition);
}
.sector-detail-card:hover .sector-detail-photos img { transform: scale(1.06); }
.sector-detail-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.sector-detail-card p { font-size: 0.9rem; color: var(--gray); margin-bottom: 0; }

/* ---------- Masterplan zone cards (Kartarpur + Projects pages) ---------- */
.zone-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.zone-card {
  grid-column: span 3;
  background: var(--navy); border: 1px solid rgba(212,160,23,0.18); border-radius: var(--radius);
  padding: 28px 24px; transition: transform var(--transition), border-color var(--transition);
}
.zone-card:nth-child(5) { grid-column: 2 / span 3; position: relative; left: clamp(38px, 4vw, 42px); }
.zone-card:nth-child(6) { grid-column: 5 / span 3; position: relative; left: clamp(38px, 4vw, 42px); }
.zone-card:nth-child(7) { grid-column: 8 / span 3; position: relative; left: clamp(38px, 4vw, 42px); }
.zone-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.zone-card h3 { color: var(--gold-light); font-size: 1.02rem; margin-bottom: 12px; letter-spacing: 0.02em; }
.zone-card ul { display: flex; flex-direction: column; gap: 7px; }
.zone-card li { font-size: 0.84rem; color: rgba(255,255,255,0.75); position: relative; padding-left: 14px; }
.zone-card li::before { content: "\2022"; position: absolute; left: 0; color: var(--gold); }

/* ---------- Featured project card (Projects page) ---------- */
.featured-project {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  background: var(--navy); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
}
.featured-project-media { position: relative; height: 100%; min-height: 360px; }
.featured-project-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.featured-project-copy { padding: 50px 50px 50px 0; color: rgba(255,255,255,0.85); }
.featured-project-copy .section-eyebrow { color: var(--gold-light); }
.featured-project-copy h2 { color: var(--white); margin-bottom: 16px; }
.featured-project-copy p { font-size: 0.98rem; }
.project-note {
  background: var(--off-white); border-left: 3px solid var(--gold); padding: 18px 22px; font-size: 0.86rem;
  color: var(--charcoal); margin: 36px 0 0;
}

/* ---------- News & Media categories ---------- */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.news-card {
  background: var(--white); border: 1px solid rgba(10,34,64,0.08); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.news-card-icon {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--royal), var(--navy));
}
.news-card-icon svg { width: 22px; height: 22px; color: var(--gold-light); }
.news-card h3 { font-size: 0.96rem; margin-bottom: 0; }
.newsroom-notice {
  text-align: center; max-width: 620px; margin: 56px auto 0; padding: 34px 30px; border: 1px dashed rgba(10,34,64,0.2);
  border-radius: var(--radius); background: var(--off-white);
}
.newsroom-notice p { color: var(--gray); font-size: 0.94rem; margin-bottom: 18px; }
.gallery-heading { margin-top: 86px; scroll-margin-top: 110px; }
.media-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.media-gallery-item {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(16, 42, 67, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px -22px rgba(16, 42, 67, 0.5);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.media-gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}
.media-gallery-item a { display: block; overflow: hidden; background: var(--off-white); }
.media-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition);
}
.media-gallery-item:hover img { transform: scale(1.05); }
.media-gallery-item figcaption {
  padding: 13px 14px 15px;
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: 0.82rem;
  line-height: 1.35;
}

/* ---------- Lightbox (media gallery image viewer) ---------- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 16, 28, 0.92);
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-figure {
  max-width: min(1200px, 92vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  background: #10233c;
}
.lightbox-caption {
  color: var(--white, #fff);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  text-align: center;
  opacity: 0.9;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.05); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
@media (max-width: 640px) {
  .lightbox-figure { max-width: calc(100vw - 108px); }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox-close { width: 38px; height: 38px; font-size: 1.3rem; top: 10px; right: 10px; }
}

/* ---------- Partnership grid (Investor & Partners page) ---------- */
.partnership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.partnership-card {
  background: var(--off-white); border: 1px solid rgba(10,34,64,0.08); border-radius: var(--radius);
  padding: 30px 26px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.partnership-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.partnership-card h3 { font-size: 1rem; margin-bottom: 8px; }
.partnership-card p { font-size: 0.86rem; color: var(--gray); margin-bottom: 0; }
.guardrail-note {
  font-size: 0.82rem; color: var(--gray); font-style: italic; border-top: 1px solid rgba(10,34,64,0.08);
  padding-top: 20px; margin-top: 36px;
}

/* ---------- Contact page ---------- */
.pathway-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
.pathway-card {
  background: var(--white); border: 1px solid rgba(10,34,64,0.08); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pathway-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.pathway-card strong { display: block; font-size: 0.96rem; color: var(--navy); margin-bottom: 8px; }
.pathway-card span { font-size: 0.82rem; color: var(--gray); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item .icon-sm { width: 22px; height: 22px; margin-top: 3px; }
.contact-info-item strong { display: block; color: var(--navy); font-size: 0.92rem; margin-bottom: 3px; }
.contact-info-item span, .contact-info-item a { font-size: 0.9rem; color: var(--gray); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid rgba(10,34,64,0.08); }
.map-embed iframe { width: 100%; height: 280px; display: block; border: 0; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font-sans); font-size: 0.94rem; padding: 13px 16px; border: 1px solid rgba(10,34,64,0.18);
  border-radius: 4px; background: var(--off-white); color: var(--charcoal); transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { align-self: flex-start; border: none; cursor: pointer; }
.form-notice {
  padding: 16px 20px; border-radius: 4px; font-size: 0.9rem; margin-bottom: 28px;
}
.form-notice.success { background: rgba(212,160,23,0.12); border: 1px solid var(--gold); color: var(--navy); }
.form-notice.error { background: rgba(200,60,60,0.08); border: 1px solid rgba(200,60,60,0.4); color: #8a2c2c; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .stats-grid { row-gap: 28px; }
  .stat-item { padding: 0 16px; }
  .companies-grid { grid-template-columns: repeat(2, 1fr); }
  .companies-slider-track .company-card { flex-basis: calc((100% - 26px) / 2); }
  .sectors-vision { grid-template-columns: 1fr; }
  .sv-sectors .sv-inner { margin-left: 0; }
  .company-project-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(4, 1fr); }
  .kartarpur-grid { grid-template-columns: 1fr; }
  .project-gallery-item { flex-basis: calc((100% - 18px) / 2); }
  .sector-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .zone-card, .zone-card:nth-child(5), .zone-card:nth-child(6), .zone-card:nth-child(7) { grid-column: auto; left: auto; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .media-gallery { grid-template-columns: repeat(3, 1fr); }
  .partnership-grid { grid-template-columns: repeat(2, 1fr); }
  .pathway-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-project { grid-template-columns: 1fr; }
  .featured-project-media { min-height: 260px; }
  .featured-project-copy { padding: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 767px) {
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 82vw);
    background: var(--navy-deep); padding: 100px 32px 32px; transition: right var(--transition); box-shadow: -10px 0 40px rgba(0,0,0,0.3); }
  .main-nav.is-open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: left; }
  .footer-meta { align-items: flex-start; text-align: left; }
  .vision-mission-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .hero-content { padding: 128px var(--edge-pad) 90px; }
  .page-hero-content { padding: 128px var(--edge-pad) 50px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .btn { padding: 11px 20px; font-size: 0.7rem; gap: 8px; }
  .btn-lg { padding: 12px 22px; font-size: 0.72rem; }
  .hero-photo-credit { display: none; }
  .stats-grid { row-gap: 24px; }
  .stat-item { flex-basis: 45%; padding: 0 10px; }
  .companies-grid { grid-template-columns: 1fr; }
  .company-project-card { flex-direction: column; padding: 24px; }
  .company-project-details ul { grid-template-columns: 1fr; }
  .companies-slider-track { gap: 14px; }
  .companies-slider-track .company-card { flex-basis: 100%; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .sv-panel { padding: 56px 24px; }
  .kartarpur-stats { gap: 24px; }
  .project-gallery-section { padding: 60px 0; }
  .project-gallery-stage { padding: 0; }
  .project-gallery-arrow { width: 38px; height: 38px; background: rgba(255,255,255,0.9); }
  .project-gallery-prev { left: 8px; }
  .project-gallery-next { right: 8px; }
  .project-gallery-item { flex-basis: 100%; }
  .about, .companies { padding: 70px 0; }
  .section { padding: 60px 0; }
  .sector-detail-grid { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .media-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .media-gallery-item figcaption { font-size: 0.75rem; padding: 10px; }
  .partnership-grid { grid-template-columns: 1fr; }
  .pathway-grid { grid-template-columns: 1fr; }
  .featured-project-copy { padding: 30px; }
  .form-row { grid-template-columns: 1fr; }
}
