/* ============================================================
   Pulkit Projects — style.css
   Engineering Precision aesthetic: navy, teal, white, data-forward
   ============================================================ */

/* 1. Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* 2. CSS Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 3. Design Tokens */
:root {
  --navy:        #0a1f3d;
  --navy-mid:    #0e3358;
  --navy-dark:   #060f1e;
  --teal:        #0891b2;
  --teal-light:  #67e8f9;
  --teal-dim:    rgba(8, 145, 178, 0.12);
  --white:       #ffffff;
  --cool-white:  #f5f8fa;
  --text:        #0a1f3d;
  --muted:       #64748b;
  --border:      #e2eaf2;
  --shadow:      0 4px 24px rgba(10, 31, 61, 0.08);
  --shadow-lg:   0 12px 48px rgba(10, 31, 61, 0.14);
  --radius:      10px;
  --radius-sm:   6px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* 4. Base Typography */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--teal-light); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 5. Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}
.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--cool {
  background: var(--cool-white);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-eyebrow--light {
  color: var(--teal-light);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
}
.btn-primary:hover {
  background: #0a7d9a;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.text-teal { color: var(--teal); }
.text-muted { color: var(--muted); }

/* ============================================================
   6. NAVBAR
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(10, 31, 61, 0.06);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.nav-brand img {
  height: 52px;
  width: auto;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.3px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.nav-cta {
  padding: 12px 28px;
  background: var(--teal);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  border: none !important;
  border-bottom: none !important;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #0a7d9a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
  color: var(--white) !important;
  border-color: transparent !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-mobile-overlay.open {
  display: flex;
  opacity: 1;
}

.nav-mobile-overlay a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav-mobile-overlay a:hover {
  opacity: 1;
  color: var(--teal-light);
}

.nav-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   7. FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 44px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-badges {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-badges span {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(8, 145, 178, 0.12);
  color: var(--teal-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
}

.footer-nav h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--teal-light);
}

.footer-contact h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-contact p {
  font-size: 13px;
  line-height: 1.8;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.5);
}
.footer-contact a:hover {
  color: var(--teal-light);
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover {
  background: var(--teal);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
}

/* ============================================================
   8. HOME PAGE
   ============================================================ */

/* Hero */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #0a1f3d, #0c2d50, #0a3a5c);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Water particle canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-content .section-eyebrow {
  color: var(--teal-light);
}

.hero-content h1 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-content h1 em {
  color: var(--teal-light);
  font-style: italic;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero LOI cards */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(103, 232, 249, 0.12);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.hero-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(8, 145, 178, 0.45);
  transform: translateX(-4px);
  box-shadow: 4px 4px 24px rgba(8, 145, 178, 0.15);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.2), rgba(103, 232, 249, 0.1));
  border: 1px solid rgba(103, 232, 249, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-icon svg {
  width: 24px;
  height: 24px;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: rgba(8, 145, 178, 0.18);
  color: var(--teal-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.hero-card-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-light);
  animation: pulse-dot 2s infinite;
}

.hero-card h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}

/* Stat Bar */
.stat-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* About Strip */
.about-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-strip h2 {
  margin-bottom: 24px;
  font-size: 2.2rem;
}

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

.about-strip p {
  color: var(--muted);
  line-height: 1.8;
}

.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.capability-card {
  background: var(--cool-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.capability-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.capability-card .cap-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.capability-card h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.capability-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.iso-highlight {
  grid-column: 1 / -1;
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  display: flex;
  align-items: center;
  gap: 16px;
}

.iso-highlight:hover {
  border-color: var(--teal);
}

.iso-highlight .iso-badge {
  padding: 6px 14px;
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  white-space: nowrap;
}

.iso-highlight p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 13px;
}

/* Programmes Band */
.programmes-band {
  background: var(--cool-white);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.programmes-band .band-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.programmes-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.programmes-list span {
  padding: 0 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  border-right: 1px solid var(--border);
  line-height: 2.4;
}

.programmes-list span:last-child {
  border-right: none;
}

/* Projects Preview */
.projects-preview .preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.loi-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.loi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(8, 145, 178, 0); }
}

.preview-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}

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

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow 0.3s, transform 0.2s;
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.project-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 48px;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.project-card-body {
  padding: 20px;
}

.project-card-body h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}

.project-card-body p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.preview-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 32px;
}

.preview-divider::before,
.preview-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.preview-divider span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* Commitment Band */
.commitment-band {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.commitment-band::before,
.commitment-band::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.commitment-band::before {
  top: -100px;
  left: -100px;
}

.commitment-band::after {
  bottom: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
}

.commitment-band .section-eyebrow {
  color: var(--teal-light);
}

.commitment-band h2 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.commitment-band h2 em {
  color: var(--teal-light);
  font-style: italic;
}

.commitment-band p {
  color: rgba(255, 255, 255, 0.55);
  max-width: 600px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
}

/* ============================================================
   9. ABOUT PAGE
   ============================================================ */

.page-hero {
  background: linear-gradient(145deg, #0a1f3d, #0c2d50);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.page-hero .subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  margin-bottom: 16px;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}
.breadcrumb a:hover {
  color: var(--teal-light);
}

/* Company Story */
.company-story .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.company-story p {
  color: var(--muted);
  line-height: 1.8;
}

.story-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Founders */
.founders {
  background: var(--navy);
  padding: 80px 0;
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.founder-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.founder-initials {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--teal-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--teal-light);
}

.founder-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.founder-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0;
}

/* Core Areas */
.core-areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.core-area-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.core-area-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.core-area-card .area-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.core-area-card h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.core-area-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   10. CLIENTS PAGE
   ============================================================ */

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

.client-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.client-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.client-card img {
  max-height: 80px;
  max-width: 160px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.client-card h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
}

/* ============================================================
   11. PROJECTS PAGE
   ============================================================ */

.page-hero .hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-stat {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.hero-stat strong {
  color: var(--teal-light);
  font-weight: 600;
}

/* Section labels */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.section-label h2 {
  font-size: 1.8rem;
}

.section-label .loi-dot {
  flex-shrink: 0;
}

/* Project full card */
.project-full {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  transition: box-shadow 0.3s;
}

.project-full:hover {
  box-shadow: var(--shadow);
}

.project-full-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.project-gallery {
  background: var(--navy-dark);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-main {
  flex: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  min-height: 240px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
}

.gallery-thumb {
  width: 64px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  opacity: 1;
  border-color: var(--teal);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-details {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-status-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--teal-dim);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 20px;
  margin-bottom: 12px;
  width: fit-content;
}

.project-status-badge--completed {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.project-details h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.project-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 14px;
}

.project-meta dt {
  color: var(--muted);
  font-weight: 500;
}

.project-meta dd {
  color: var(--navy);
  font-weight: 500;
}

.project-scope {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* Placeholder for projects with no photos */
.gallery-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 64px;
  min-height: 240px;
}

.gallery-placeholder span {
  font-size: 13px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.25);
}

/* Section divider for completed */
.projects-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 56px 0 40px;
}

.projects-divider::before,
.projects-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.projects-divider h2 {
  font-size: 1.5rem;
  white-space: nowrap;
  color: var(--navy);
}

/* ============================================================
   LIGHTBOX OVERLAY
   ============================================================ */

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 15, 30, 0.92);
  z-index: 300;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox-overlay.open {
  display: flex;
  opacity: 1;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   12. CREDENTIALS PAGE
   ============================================================ */

.credential-section {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.credential-section h2 {
  margin-bottom: 16px;
}

.credential-section > p {
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.credential-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.credential-frame img {
  width: 100%;
  height: auto;
}

/* ============================================================
   13. CONTACT PAGE
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.contact-block {
  margin-bottom: 24px;
}

.contact-block h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.contact-block p,
.contact-block a {
  font-size: 15px;
  color: var(--navy);
  line-height: 1.8;
}

.contact-block a {
  color: var(--teal);
}

.contact-form {
  background: var(--cool-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-dim);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  margin-top: 16px;
}

/* Map */
.map-section {
  padding: 0;
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ============================================================
   14. ANIMATIONS
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.4s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   15. RESPONSIVE
   ============================================================ */

/* Mobile-first: stacked by default */

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 { font-size: 2.4rem; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-cards { max-width: 400px; margin: 0 auto; }

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

  .about-strip .container { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr 1fr; }

  .company-story .container { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; max-width: 400px; }

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

  .project-full-inner { grid-template-columns: 1fr; }
  .project-gallery { min-height: 200px; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .project-card-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 56px 0; }
  .page-hero { padding: 56px 0; }
  .page-hero h1 { font-size: 2rem; }

  .hero { min-height: auto; }
  .hero-content h1 { font-size: 2rem; }

  .stat-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-number { font-size: 1.5rem; }

  .programmes-list span { padding: 0 14px; font-size: 13px; }

  .project-card-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .core-areas-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

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

  .page-hero .hero-stats { gap: 16px; }
  .hero-stat { font-size: 12px; }

  .contact-form { padding: 24px; }
}

@media (min-width: 1280px) {
  .container { max-width: 1200px; }
}
