/* ==========================================================================
   Synaptic Technologies — shared design tokens & components
   ========================================================================== */

:root {
  --color-navy: #0b1d3a;
  --color-blue: #42A5CA;
  --color-text: #44474d;
  --color-text-light: #7585a8;
  --color-text-muted: #6b7280;
  --color-border: #c5c6ce;
  --color-border-soft: rgba(197, 198, 206, 0.3);
  --color-bg: #ffffff;
  --color-bg-soft: #f7f9fb;
  --color-bg-soft-2: #f2f4f6;
  --color-bg-dark: #00030f;

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-max: 1440px;
  --nav-height: 81px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(11, 29, 58, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 29, 58, 0.08);
  --shadow-lg: 0 12px 24px -8px rgba(11, 29, 58, 0.14);
  --shadow-xl: 0 25px 50px -12px rgba(11, 29, 58, 0.18);
  --shadow-focus: 0 0 0 3px rgba(66, 165, 202, 0.35);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.2s;
}

:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.2;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 64px;
}

.section {
  padding: 75px 0!important;
}
section {
  padding: 75px 0!important;
}
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .section { padding: 56px 0; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14px;
  border: 1px solid transparent;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background-color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #132a52;
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--color-blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  background: #3897bb;
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-navy);
}

.btn-outline:hover {
  border-color: var(--color-navy);
  background: var(--color-bg-soft-2);
}

/* --------------------------------------------------------------------------
   Top navigation
   -------------------------------------------------------------------------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(247, 249, 251, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 198, 206, 0.2);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  height: 30px;
  width: auto;
  transition: opacity var(--duration) var(--ease);
}

.logo:hover img {
  opacity: 0.82;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14px;
  color: var(--color-text);
  padding-bottom: 6px;
  transition: color var(--duration) var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--color-blue);
  transition: right var(--duration) var(--ease);
}

.nav-links a:hover {
  color: var(--color-navy);
}

.nav-links a:hover::after {
  right: 0;
}

.nav-links a.active {
  color: var(--color-blue);
  border-bottom: 2px solid var(--color-blue);
}

.nav-links a.active::after {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-navy);
}

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

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-copy {
  flex: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(66, 165, 202, 0.3);
  border-radius: var(--radius-pill);
  padding: 4px 16px 4px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24px;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-blue);
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.96px;
  margin-bottom: 24px;
}

.hero h1 .gradient {
  background: linear-gradient(125deg, var(--color-navy) 0%, var(--color-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 512px;
  margin-bottom: 32px;
}

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

.hero-media {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.hero-media:hover img {
  transform: scale(1.04);
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 29, 58, 0.4), rgba(11, 29, 58, 0));
}

@media (max-width: 900px) {
  .hero .container { flex-direction: column; }
  .hero p { white-space: normal !important; }
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats-section {
  background: var(--color-bg-soft-2);
}

.stats-intro {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.stats-intro h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.stats-intro p {
  color: var(--color-text);
}

.mission-quote {
  border-left: 4px solid var(--color-blue);
  padding: 8px 0 8px 28px;
  align-self: end;
}

.mission-quote .label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 3px;
}

.mission-quote p {
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
}

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

.stat-card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 33px;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(66, 165, 202, 0.35);
}

.stat-card .value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 32px;
  color: var(--color-blue);
  margin-bottom: 7px;
}

.stat-card .label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .stats-intro, .stats-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Section headings (centered)
   -------------------------------------------------------------------------- */

.section-heading {
  text-align: center;
  max-width: 672px;
  margin: 0 auto 64px;
}

.section-heading h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Bento grid (Industries)
   -------------------------------------------------------------------------- */

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

.bento-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 33px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(66, 165, 202, 0.4);
}

.bento-card.dark {
  background: var(--color-navy);
  color: #fff;
  border-color: transparent;
}

.bento-card.dark:hover {
  box-shadow: var(--shadow-xl);
}

.bento-card.muted {
  background: #e6e8ea;
}

.bento-card .icon {
  width: 30px;
  height: 30px;
}

.bento-card .icon[src*="icon-healthcare"],
.bento-card .icon[src*="icon-cybersecurity"] {
  width: 24px;
}

.bento-card .icon[src*="icon-cloud"] {
  width: 33px;
  height: 24px;
}

.bento-card h3 {
  font-size: 24px;
  color: inherit;
}

.bento-card.dark p {
  opacity: 0.8;
}

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Leadership highlight
   -------------------------------------------------------------------------- */

.leadership-section {
  background: var(--color-navy);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.leadership-section .container {
  display: flex;
  align-items: center;
  gap: 64px;
}

.leadership-photo {
  flex: 1;
  border: 2px solid rgba(66, 165, 202, 0.3);
  border-radius: var(--radius-lg);
  padding: 10px;
}

.leadership-photo img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 524px;
  object-fit: cover;
}

.leadership-copy {
  flex: 1;
}

.leadership-copy blockquote {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 28px;
}

.leadership-copy .name {
  font-size: 24px;
  color: #fff;
  margin-bottom: 3px;
}

.leadership-copy .title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-blue);
}

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */
.timeline-section {
  background: var(--color-bg-soft);
}
 
.timeline-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
 
.timeline-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(66, 165, 202, 0.15);
  border-radius: var(--radius-pill);
  padding: 4px 16px 4px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24px;
  color: var(--color-navy);
  margin-bottom: 16px;
}
 
.timeline-header .eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-blue);
}
 
.timeline-header h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-navy);
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1.2;
}
 
.timeline-header p.sub {
  color: var(--color-text);
}
 
.timeline-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
 
.timeline-counter {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14px;
  color: var(--color-text-muted);
  min-width: 44px;
}
 
.timeline-counter b {
  color: var(--color-navy);
}
 
.timeline-nav {
  display: flex;
  gap: 16px;
}
 
.timeline-nav button {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--duration) var(--ease), background-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
 
.timeline-nav button:hover {
  border-color: var(--color-blue);
  background: var(--color-bg-soft-2);
  transform: translateY(-2px);
}
 
.timeline-nav button:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
  border-radius: 4px;
}
 
.timeline-nav svg {
  width: 7px;
  height: 12px;
  stroke: var(--color-navy);
}
 
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 28px 4px 16px;
  scrollbar-width: none;
}
 
.timeline-track::-webkit-scrollbar {
  display: none;
}
 
/* base connecting line, replaces the old per-item .divider */
.track-line {
  position: absolute;
  top: 24px;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--color-border-soft);
  z-index: 0;
}
 
/* accent trace that fills in as the visitor scrolls through the story */
.track-line-fill {
  position: absolute;
  top: 24px;
  left: 4px;
  height: 2px;
  width: 0;
  background: var(--color-blue);
  z-index: 1;
  transition: width 0.08s linear;
}
 
.timeline-item {
  position: relative;
  flex: 0 0 260px;
  scroll-snap-align: start;
  z-index: 2;
}
 
.timeline-item .node {
  position: absolute;
  top: 16px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-border);
  box-shadow: 0 0 0 4px var(--color-bg-soft);
  transition: background-color var(--duration) var(--ease);
}
 
.timeline-item:first-child .node {
  background: var(--color-navy);
}
 
.timeline-item.is-active .node {
  background: var(--color-blue);
}
 
.timeline-item.is-active .node::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--color-blue);
  animation: pulse 2.2s ease-out infinite;
}
 
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(66, 165, 202, 0.35); }
  100% { box-shadow: 0 0 0 10px rgba(66, 165, 202, 0); }
}
 
/* gap chip sitting in the space between two nodes, states real elapsed time */
.gap-label {
  position: relative;
  flex: 0 0 56px;
  z-index: 2;
  display: flex;
  justify-content: center;
}
 
.gap-label span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-soft);
  padding: 0 8px;
  position: relative;
  top: 20px;
  white-space: nowrap;
  transition: color var(--duration) var(--ease);
}
 
.gap-label.is-passed span {
  color: var(--color-blue);
}
 
.timeline-card {
  padding-top: 48px;
  border-radius: var(--radius-md);
  transition: transform var(--duration) var(--ease);
}
 
.timeline-item:hover .timeline-card {
  transform: translateY(-3px);
}
 
.timeline-item .year {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-navy);
  font-size: 24px;
  margin-bottom: 7px;
  transition: color var(--duration) var(--ease);
}
 
.timeline-item.is-active .year {
  color: var(--color-blue);
}
 
.timeline-item .tag {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14px;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 8px;
}
 
.timeline-item p {
  font-size: 14px;
  color: var(--color-text);
  max-width: 26ch;
}
 
/* --------------------------------------------------------------------------
   CodePeko brand bridge
   -------------------------------------------------------------------------- */

.codepeko-section {
  background: var(--color-bg-soft);
}

.codepeko-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.5);
  border-radius: 40px;
  box-shadow: 0 10px 30px 0 rgba(11, 29, 58, 0.05);
  padding: 81px;
  display: flex;
  align-items: center;
  gap: 64px;
  position: relative;
  overflow: hidden;
}

.codepeko-copy {
  flex: 1;
}

.codepeko-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.codepeko-brand .mark {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.codepeko-brand .mark img {
  width: 16px;
}

.codepeko-brand .name {
  font-size: 24px;
  letter-spacing: -0.6px;
}

.codepeko-copy h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.codepeko-copy p {
  margin-bottom: 16px;
}

.codepeko-media {
  flex: 1;
  position: relative;
}

.codepeko-media img {
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  height: 253px;
  object-fit: cover;
}

.codepeko-badge {
  position: absolute;
  bottom: -32px;
  left: -32px;
  background: #fff;
  border: 1px solid rgba(197, 198, 206, 0.1);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.codepeko-badge .value {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-navy);
}

.codepeko-badge .label {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .codepeko-card { flex-direction: column; padding: 40px 24px; }
}

/* --------------------------------------------------------------------------
   Global reach map
   -------------------------------------------------------------------------- */

.map-frame {
  background: var(--color-bg-soft-2);
  border-radius: var(--radius-xl);
  height: 648px;
  position: relative;
  overflow: hidden;
  margin-top: 16px;
}

.map-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.map-pin {
  position: absolute;
  background: var(--color-navy);
  color: #fff;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.map-pin.hq {
  background: var(--color-blue);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Contact section
   -------------------------------------------------------------------------- */

.contact-section {
  background: var(--color-navy);
  color: #fff;
}

.contact-section .container {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.contact-copy {
  flex: 1;
}

.contact-copy h2 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 32px;
}

.contact-copy > p {
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.contact-item .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .icon-badge img {
  width: 20px;
}

.contact-item .icon-badge img[src*="icon-email"] {
  width: 20px;
  height: 16px;
}

.contact-item .icon-badge img[src*="icon-location"] {
  width: 16px;
  height: 20px;
}

.contact-item .eyebrow-label {
  font-size: 14px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 4px;
}

.contact-item .value {
  font-size: 18px;
}

.contact-form {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: flex;
  gap: 24px;
}

.form-group {
  flex: 1;
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14px;
  color: var(--color-navy);
  margin-bottom: 11px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 15px 13px;
  font-family: inherit;
  font-size: 16px;
  color: var(--color-navy);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: #9aa0ab;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: var(--shadow-focus);
  background: #fff;
}

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

.contact-form .btn-accent {
  width: 100%;
  padding: 16px;
}

@media (max-width: 900px) {
  .contact-section .container, .form-row { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 80px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.footer-brand .logo {
  margin-bottom: 23px;
}

.footer-brand .logo img {
  height: 24px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(197, 198, 206, 0.7);
  max-width: 320px;
}

.footer-col h6 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 23px;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  color: rgba(197, 198, 206, 0.7);
  transition: color var(--duration) var(--ease), padding-left var(--duration) var(--ease);
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(197, 198, 206, 0.7);
}

.footer-social {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-social img[src*="icon-social-1"] {
  width: 15px;
  height: 16.7px;
}

.footer-social img[src*="icon-social-2"] {
  width: 16.7px;
  height: 8.3px;
}
.codepeko-brand img{width: 200px;}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* --------------------------------------------------------------------------
   Generic page header (for interior pages)
   -------------------------------------------------------------------------- */

.page-header {
  background: var(--color-bg-soft);
  padding: 160px 0 64px;
  text-align: center;
}

.page-header h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.page-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
}

/* --------------------------------------------------------------------------
   Generic card grid (used across interior pages)
   -------------------------------------------------------------------------- */

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

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

.card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(66, 165, 202, 0.35);
}
.nav-links a.btn.btn-primary.nav-cta:hover{background:#0b1d3a;
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

@media (max-width: 900px) {
  .card-grid, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .contact-form {width: 100%; padding: 32px;}
  .news-newsletter-form button {padding: 12px 16px; }
   .timeline-header { margin-bottom: 40px; }

}
@media (max-width: 767px) {
   .section{padding: 45px 0!important;}
  section{padding: 45px 0!important;}

}
@media (max-width: 575px) {
  .hero-media img{height:auto;}
  .hero h1 {font-size: 30px;line-height: 36px;}
  .hero h1 br{display:none;}
  .leadership-section .container{flex-direction:column;gap: 30px;}
  .leadership-photo img{height:auto;}
  .codepeko-copy h2 {font-size: 28px; margin-bottom: 15px;}
  .codepeko-card {gap: 40px;}
  .section-heading {margin: 0 auto 40px;}
  .map-frame{height: auto;}
  .map-frame img{height: auto;}
  .contact-section .container{gap: 40px;}
   .contact-form .form-row{gap:0px}
   .footer-grid { margin-bottom: 20px;}
 .site-footer {padding: 45px 0; }
 .card {padding: 24px;}
 .btn {padding: 8px 16px;}
   .timeline-item { flex-basis: 220px; }
  .gap-label { flex-basis: 36px; }
}


@media (prefers-reduced-motion: reduce) {
  .timeline-item.is-active .node::after { animation: none; }
  .timeline-card, .timeline-item .year { transition: none; }
}
 
@media (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300px;
    max-width: 85%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 80px 0 32px;
    box-shadow: -8px 0 32px rgba(11, 29, 58, 0.18);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow-y: auto;
    display: none;
  }

  .nav-links.active {
    transform: translateX(0);
    display: block;
  }

  /* each link becomes a full-width row instead of an inline underline link */
  .nav-links a {
    display: block;
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    border-bottom: 1px solid var(--color-border-soft);
    color: var(--color-navy);
  }

  /* kill the desktop underline animation entirely on mobile */
  .nav-links a::after {
    display: none;
  }

  /* active state becomes a left accent bar + tinted background, not an underline */
  .nav-links a.active {
    color: var(--color-blue);
    background: rgba(66, 165, 202, 0.08);
    border-bottom: 1px solid var(--color-border-soft);
    border-left: 3px solid var(--color-blue);
    padding-left: 29px; /* compensate for the added border */
  }

  .nav-links a:hover {
    background: var(--color-bg-soft-2);
  }

  /* CTA sits apart from the link list, not glued to the last row */
  .nav-cta {
    margin: 24px 32px 0;
    width: calc(100% - 64px);
    text-align: center;
    border-bottom: none !important;
  }

  .nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-soft-2);
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-navy);
    cursor: pointer;
  }

  .nav-toggle {
    display: block;
  }

  .btn-desktop {
    display: none;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 29, 58, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-overlay.active {
    display: block;
    opacity: 1;
  }

  body.nav-open {
    overflow: hidden;
  }
  .nav-links a.btn.btn-primary.nav-cta{display: block; padding: 16px 32px;font-size: 16px;color: #d9d9d9;width: auto;}
}

@media (min-width: 992px) {
  .nav-toggle,
  .nav-close,
  .nav-overlay,
  .nav-cta {
    display: none;
  }
}

/* .nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
} */