/* ════════════════════════════════════════════
   ABOUT NEC — PAGE-SPECIFIC STYLES
   about-nec.css
   ════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   HERO — Vision | Image | Mission
   ───────────────────────────────────────── */

.nec-hero-vm {
  background: #fff;
  padding: calc(62px + 56px) 60px 64px;
}

.nec-hero-vm-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  gap: 48px;
}

/* Left column — top aligned, right-aligned text */
.nec-vm-left {
  text-align: right;
  align-self: start;
}

/* Right column — bottom aligned, left-aligned text */
.nec-vm-right {
  text-align: left;
  align-self: end;
}

/* Heading: "Our Vision" / "Our Mission" */
.nec-vm-heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
  line-height: 1.1;
}

.nec-vm-accent {
  color: var(--red);
}

/* Bold subheading */
.nec-vm-bold {
  font-size: 1rem;
  font-weight: 800;
  color: #111;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Body paragraph */
.nec-vm-body {
  font-size: 1rem;
  color: #000;
  line-height: 1.7;
}

/* Center image column */
.nec-vm-img-col {
  display: flex;
  justify-content: center;
}

.nec-vm-img-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
  background: #f0efed;
  position: relative;
}

.nec-vm-img {
  width: 100%;
  height: auto;
  display: block;
}

.nec-vm-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 0.75rem;
  color: #fff;
  text-align: center;
  padding: 28px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  letter-spacing: 0.01em;
  pointer-events: none;
}

/* ─────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────── */

@media (max-width: 860px) {
  .nec-hero-vm {
    padding: 100px 24px 48px;
  }

  .nec-hero-vm-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nec-vm-img-col {
    order: -1;
  }

  .nec-vm-left,
  .nec-vm-right {
    text-align: left;
  }
}

/* ─────────────────────────────────────────
   SECTION 2 — WHAT THIS LOOKS LIKE
   ───────────────────────────────────────── */

.nec-wlooks {
  background: #F2F0F0;
  padding: 48px 60px;
}

.nec-wlooks-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.nec-wlooks-pill {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 31px !important;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.nec-wlooks-cols {
  display: flex;
  align-items: center;
  width: 100%;
}

.nec-wlooks-item {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}

.nec-wlooks-item p {
  font-size: 1.25rem;
  color: #000;
  line-height: 1.6;
  font-weight: 500;
}

.nec-wlooks-divider {
  width: 1px;
  height: 48px;
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .nec-wlooks { padding: 40px 24px; }
  .nec-wlooks-cols { flex-direction: column; gap: 20px; }
  .nec-wlooks-divider { width: 48px; height: 1px; }
  .nec-wlooks-item { padding: 0; }
}

/* -----------------------------------------
   SECTION 4 - WHO WE WORK WITH (BENTO)
   4-column grid: Row1=1+2+1, Row2=1+1+2, Row3=2+1+1
   ----------------------------------------- */

.wwww-grid {
  grid-template-columns: repeat(40, 1fr) !important;
  gap: 10px !important;
}

/* Spans set per-card via inline style */
.wwww-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 20px !important;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease !important;
  cursor: default;
}

/* Thicker border on plain white cards */
.wwww-card:not(.wwww-card--blue):not(.wwww-card--red):not(.wwww-card--white) {
  border: 2px solid #c8d4df !important;
}

.wwww-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13) !important;
}

/* Blue bg with white-pill variant — Government & Ecosystem enablers */
.wwww-card--white {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
}

.wwww-card--white .wwww-pill {
  background: #fff !important;
  color: var(--red) !important;
  border: none !important;
}

.wwww-card--white h3 {
  color: #fff !important;
  background: none;
  display: block;
  padding: 0;
  border-radius: 0;
  margin-top: 0;
}

.wwww-card--white p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.wwww-card--blue:hover {
  box-shadow: 0 16px 40px rgba(50, 140, 197, 0.25) !important;
}

.wwww-card--red:hover {
  box-shadow: 0 16px 40px rgba(140, 0, 0, 0.25) !important;
}

/* Industry bodies — white pill with blue text */
.wwww-card--red .wwww-pill {
  background: #fff !important;
  color: var(--blue) !important;
  border: none !important;
}

.wwww-card--red h3,
.wwww-card--red p {
  color: #fff !important;
}

.wwww-card:hover .wwww-pill {
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .wwww-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .wwww-card,
  .wwww-card--s2 { grid-column: span 1 !important; }
  .wwww-pill {
    white-space: nowrap;
    font-size: 0.62rem;
    padding: 3px 9px;
  }
}

@media (max-width: 640px) {
  .nec-wlooks-pill {
    font-size: 22px !important;
    padding: 6px 16px;
  }
}




