/* ── SHARED ───────────────────────────────────────────── */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-eyebrow.light {
  color: rgba(255, 255, 255, 0.6);
}

.section-eyebrow.light::before {
  background: rgba(255, 255, 255, 0.4);
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 em {
  font-style: italic;
  color: var(--blue);
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}

h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

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

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb-sep {
  color: var(--border);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--blue);
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--blue);
  transition: background 0.2s;
}

.btn-outline:hover {
  background: var(--blue-light);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition:
    background 0.2s,
    border-color 0.2s;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ── PAGE HERO ────────────────────────────────────────── */
.page-hero {
  padding: 148px 6vw 90px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 47px,
    var(--blue-mid) 47px,
    var(--blue-mid) 48px
  );
  opacity: 0.22;
  pointer-events: none;
}

.page-hero-inner {
  max-width: 720px;
  position: relative;
  z-index: 1;
  margin-top: 2rem;
}

.hero-img {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  z-index: 5;
}

.hero-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.page-hero h1 {
  margin-bottom: 1.25rem;
}

.page-hero-lead {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── STATS STRIP ──────────────────────────────────────── */
.stats-bar {
  background: var(--blue);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-block {
  padding: 2.25rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

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

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-lbl {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ── CATEGORY NAV ─────────────────────────────────────── */
.cat-nav-section {
  padding: 3rem 6vw;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 4.5rem;
}

.cat-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  background: var(--white);
  transition: all 0.2s;
}

.cat-nav a:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── TECH CATEGORY SECTIONS ───────────────────────────── */
.tech-category {
  padding: 5rem 6vw;
  border-bottom: 1px solid var(--border);
}

.tech-category:nth-child(even) {
  background: var(--off-white);
}

.tech-category:nth-child(odd) {
  background: var(--white);
}

.cat-header {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3rem;
}

.cat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 5rem;
  color: var(--blue-mid);
  line-height: 1;
  margin-bottom: 0;
  transition: color 0.3s;
}

.tech-category:hover .cat-number {
  color: var(--blue-light);
}

.cat-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.cat-desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.8;
}

/* Tech cards grid */
.tech-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tech-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition:
    border-color 0.22s,
    box-shadow 0.22s,
    transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tech-category:nth-child(even) .tech-card {
  background: var(--white);
}

.tech-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 24px rgba(10, 79, 191, 0.09);
  transform: translateY(-3px);
}

.tech-card-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.tech-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.tech-card-sub {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 400;
  line-height: 1;
  margin-top: -4px;
}

.tech-card-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.65;
  flex: 1;
}

.tech-card-uses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.use-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--blue-light);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--blue);
}

/* Proficiency bar */
.proficiency {
  margin-top: 0.25rem;
}

.prof-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 4px;
}

.prof-label span:last-child {
  color: var(--blue);
  font-weight: 600;
}

.prof-bar {
  height: 4px;
  background: var(--blue-mid);
  border-radius: 2px;
  overflow: hidden;
}

.prof-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
  transition: width 1s ease;
}

/* ── PLATFORMS SECTION ────────────────────────────────── */
.platforms-section {
  padding: 5rem 6vw;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.platform-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition:
    border-color 0.22s,
    box-shadow 0.22s,
    transform 0.2s;
}

.platform-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(10, 79, 191, 0.09);
  transform: translateY(-3px);
}

.platform-header {
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.platform-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.platform-partner {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
}

.platform-body {
  padding: 0 1.75rem 1.75rem;
}

.platform-desc {
  font-size: 0.868rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.platform-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.platform-service {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-mid);
}

/* ── METHODOLOGY ──────────────────────────────────────── */
.methodology-section {
  padding: 5rem 6vw;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.methodology-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  transition:
    border-color 0.22s,
    box-shadow 0.22s;
}

.methodology-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(10, 79, 191, 0.08);
}

.meth-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.meth-icon svg {
  width: 20px;
  height: 20px;
}

.meth-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.meth-desc {
  font-size: 0.845rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.7;
}

/* ── DARK CTA ─────────────────────────────────────────── */
.dark-cta {
  background: var(--blue-deeper);
  padding: 6rem 6vw;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.dark-cta h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.dark-cta p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.75;
}

.dark-cta-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

/* ── ANIMATIONS ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

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

.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.reveal:nth-child(5) {
  transition-delay: 0.32s;
}

.reveal:nth-child(6) {
  transition-delay: 0.4s;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (min-width: 1770px) {
  .hero-img img {
    width: 837.6px;
  }
}

@media (max-width: 1100px) {
  .hero-img {
    display: none;
  }

  .cat-header {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cat-number {
    font-size: 3.5rem;
  }

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

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

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

  .dark-cta {
    grid-template-columns: 1fr;
  }

  .dark-cta-right {
    flex-direction: row;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

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

  .stat-block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

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

  .overview-stats {
    grid-template-columns: repeat(1, 1fr);
  }

  .stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .two-col {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-right {
    flex-direction: column;
  }
  
  
  /*added 20260414*/
  .nav-toggle {
    display: flex;
  }

  .nav-drawer {
    display: block;
  }
  /*hide secondary nav*/
  .cat-nav {
    display: none;
    margin: 0;
    padding: 0;
  }
    
  .page-hero-inner {
    margin-top: 0rem;
   }
   /*end added 20260414*/
   
   
}

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

  .tech-cards {
    grid-template-columns: 1fr;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dark-cta-right {
    flex-direction: column;
  }
}
