/* ================================================================
   ClearPath Solutions — brand palette drawn from the company logo:
   deep navy + teal/cyan gradient accents on clean white.
   ================================================================ */

:root {
  --navy-900: #002B49;
  --navy-800: #003a5d;
  --navy-700: #0a4a73;
  --teal-500: #17b8c4;
  --teal-400: #3fd0d4;
  --cyan-300: #6fe3e1;
  --ink: #1d2b36;
  --ink-soft: #4d6273;
  --bg: #ffffff;
  --bg-alt: #f2f7f9;
  --line: #dce8ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 43, 73, 0.10);
  --font: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.15; color: var(--navy-900); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-500);
  margin-bottom: 0.75rem;
}

.lead { font-size: 1.15rem; color: var(--ink-soft); margin: 1.25rem 0 2rem; }
.accent {
  background: linear-gradient(90deg, var(--teal-500), var(--cyan-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(90deg, var(--teal-500), var(--navy-700));
  color: #fff;
  box-shadow: 0 6px 18px rgba(23, 184, 196, 0.35);
}
.btn-outline {
  border: 2px solid var(--navy-900);
  color: var(--navy-900);
}
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.9rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.nav-logo { height: 54px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-menu a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav-menu a:not(.btn):hover { color: var(--teal-500); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 3px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(23, 184, 196, 0.14), transparent 60%),
    linear-gradient(180deg, #f6fbfc 0%, #ffffff 100%);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

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

.hero-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background:
    radial-gradient(900px 400px at 10% 0%, rgba(23, 184, 196, 0.15), transparent 55%),
    var(--navy-900);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #c7d9e4; }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; margin-top: 0.75rem; }
.section-dark .section-sub { color: #9fc0d1; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.feature-list { margin: 2rem 0; display: grid; gap: 1.4rem; }
.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature-num {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--teal-500);
  background: rgba(23, 184, 196, 0.12);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
}
.feature p { color: var(--ink-soft); font-size: 0.98rem; }

.sector-badge {
  border-left: 4px solid var(--teal-500);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
}
.sector-badge p { color: var(--ink-soft); }

.about-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Challenges ---------- */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-bottom: 3rem;
}

.challenge-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.challenge-card:hover { transform: translateY(-4px); border-color: var(--teal-400); }
.challenge-num {
  display: inline-block;
  font-weight: 800;
  color: var(--teal-400);
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}
.challenge-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.challenge-card p { font-size: 0.93rem; }

.differentiator {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2.2rem;
}
.differentiator img {
  border-radius: 10px;
  max-height: 300px;
  width: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.differentiator-statement {
  font-size: 1.35rem;
  line-height: 1.5;
  color: #fff !important;
}
.differentiator-statement strong { color: var(--teal-400); }

/* ---------- Services ---------- */
.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.service-tab {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.service-tab:hover { border-color: var(--teal-500); color: var(--navy-900); }
.service-tab.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.service-panel { display: none; }
.service-panel.active { display: block; animation: fadeUp 0.4s ease; }

.service-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.service-tagline { color: var(--teal-500); font-weight: 600; margin: 0.35rem 0 1rem; }
.service-text h4 {
  margin: 1.4rem 0 0.6rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy-800);
}
.capability-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.2rem;
}
.capability-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.capability-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-300));
}
.service-outcome {
  margin-top: 1.4rem;
  padding: 0.9rem 1.2rem;
  background: rgba(23, 184, 196, 0.1);
  border-radius: 10px;
  font-size: 0.97rem;
}
.service-img {
  border-radius: 10px;
  box-shadow: var(--shadow);
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.team-photo {
  width: 140px; height: 140px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(23, 184, 196, 0.35);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-role { color: var(--teal-500); font-weight: 700; font-size: 0.92rem; margin: 0.25rem 0 0.8rem; }
.team-bio { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Leadership ---------- */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.leader-card {
  position: relative;
  background: linear-gradient(180deg, #f6fbfc 0%, #ffffff 70%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.leader-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy-800), var(--teal-500), var(--cyan-300));
}
.leader-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.leader-stat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1.3rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
}
.leader-stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--navy-800), var(--teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.leader-stat-num sup { font-size: 1.4rem; }
.leader-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--ink-soft);
}

.leader-role { color: var(--teal-500); font-weight: 700; font-size: 0.92rem; margin: 0.3rem 0 1rem; }

.leader-points {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.leader-points li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.leader-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
}

/* ---------- Contact ---------- */
.contact-wrap .section-head { margin-left: auto; margin-right: auto; text-align: center; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
.contact-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
}
.contact-item h3 { color: var(--teal-400); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.5rem; }
.contact-item a { color: #fff; text-decoration: none; }
.contact-item a:hover { color: var(--teal-400); }

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}
.footer-grid { text-align: center; }
.footer-logo { height: 60px; width: auto; margin: 0 auto 0.8rem; }
.footer-tagline { color: var(--ink-soft); font-size: 0.95rem; }
.footer-copy { color: #93a8b5; font-size: 0.85rem; margin-top: 0.6rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .service-content, .differentiator {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; }
  .capability-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-menu.open { max-height: 420px; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 0.9rem 1.4rem; }
  .nav-menu .btn { margin: 0.6rem 1.4rem 1rem; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .section { padding: 3.5rem 0; }
  .hero { padding: 3rem 0; }
}
