@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Approved brand palette (charter D9): Deep Navy, Muted Teal, Soft White */
  --navy: #0D2137;
  --navy-dark: #0A1A2C;
  --navy-deeper: #07131F;
  --teal: #1D6A5B;
  --teal-light: #2E9C86;
  --teal-dark: #145144;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100%;
  font-family: var(--font-family);
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-container {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition);
}

.navbar-logo:hover .logo-container {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(26, 35, 50, 0.3);
}

.logo-image {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.navbar-wordmark {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@media (max-width: 400px) {
  .navbar-wordmark {
    font-size: 0.9rem;
  }
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}

.btn-cta:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 35, 50, 0.3);
}

.btn-cta svg {
  transition: transform 0.2s ease;
}

.btn-cta:hover svg {
  transform: translateX(3px);
}

/* ===== NAVBAR AUTH AREA (prevents layout shift from Clerk async load) ===== */
.navbar-auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 160px;       /* reserves space so nav doesn't jump when Clerk loads */
  justify-content: flex-end;
}

.navbar-auth-signin {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  transition: var(--transition);
  padding: 0;
}

.navbar-auth-signin:hover {
  color: var(--teal);
}

.navbar-auth-signup {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: #6d28d9;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}

.navbar-auth-signup:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.35);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deeper) 100%);
  padding: 3rem 2rem 4.5rem;
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(29, 106, 91, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(29, 106, 91, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(29, 106, 91, 0.15);
  color: var(--teal-light);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid rgba(29, 106, 91, 0.25);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 600px;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--teal-light);
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

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

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: var(--white);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}

.btn-hero-primary:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ===== HERO GRID LAYOUT ===== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-image-column {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-pic {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 12px;
  box-shadow: none;
  border: none;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-pic:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: none;
}

.hero-text-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-image-column {
    order: 2;
  }
  .hero-text-column {
    order: 1;
    align-items: center;
    text-align: center;
  }
  .hero h1 {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
    width: 100%;
  }
}

/* ===== SECTION COMMONS ===== */
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-title-light {
  color: var(--white);
}

.section-underline {
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin-bottom: 2rem;
}

.section-underline-center {
  margin-left: auto;
  margin-right: auto;
}

/* ===== CHALLENGE SECTION ===== */
.challenge {
  padding: 5rem 2rem;
  background: var(--white);
  text-align: center;
}

.challenge-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.challenge .section-title {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

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

.challenge-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.challenge-card:hover {
  border-color: var(--gray-300);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.challenge-card-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gray-700);
}

.challenge-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.challenge-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== METHOD SECTION ===== */
.method {
  padding: 5rem 2rem;
  background: var(--gray-50);
}

.method-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.method-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.method-step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  position: relative;
  padding: 0 1.5rem;
}

.method-step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.method-step:hover .method-step-number {
  background: var(--teal);
  color: var(--white);
  transform: scale(1.05);
}

.method-step-connector {
  position: absolute;
  top: 32px;
  left: calc(50% + 32px);
  width: calc(100% - 64px);
  height: 2px;
  background: var(--gray-300);
  z-index: 1;
}

.method-step:last-child .method-step-connector {
  display: none;
}

.method-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.method-step p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 5rem 2rem;
  background: var(--white);
}

.services-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.services-header-left {
  /* text side */
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  transition: var(--transition);
  cursor: pointer;
}

.view-all-link:hover {
  color: var(--teal-dark);
}

.view-all-link:hover svg {
  transform: translateX(3px);
}

.view-all-link svg {
  transition: transform 0.2s ease;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--gray-300);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.learn-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
  cursor: pointer;
}

.learn-more:hover {
  color: var(--teal-dark);
}

/* ===== LEADERSHIP SECTION ===== */
.leadership {
  padding: 5rem 2rem;
  background: var(--white);
  text-align: center;
}

.leadership-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.leadership-grid {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
}

.leader-card {
  text-align: center;
  transition: var(--transition);
}

.leader-card:hover {
  transform: translateY(-4px);
}

.leader-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-600);
  transition: var(--transition);
}

.leader-card:hover .leader-avatar {
  background: var(--gray-300);
}

.leader-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.leader-card .leader-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.leader-card .leader-bio {
  font-size: 0.825rem;
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 280px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--gray-900);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--gray-300);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}

.btn-outline:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 5rem 2rem;
  text-align: center;
}

.cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.01em;
}

.btn-cta-teal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}

.btn-cta-teal:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER (Full 3-column) ===== */
.footer-full {
  background: var(--navy-deeper);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4rem 2rem 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-full-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1rem;
}

.footer-brand-desc {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-social-icon:hover {
  background: rgba(29, 106, 91, 0.15);
  border-color: rgba(29, 106, 91, 0.3);
  color: var(--teal-light);
}

.footer-col-heading {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
  font-size: 0.875rem;
}

.footer-nav-link:hover {
  color: var(--teal-light);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
}

.footer-schedule-link {
  color: var(--teal-light);
  font-weight: 500;
  transition: color 0.2s;
  font-size: 0.875rem;
}

.footer-schedule-link:hover {
  color: var(--teal);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-contributors {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  text-align: right;
}

/* ===== ABOUT HERO ===== */
.about-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deeper) 100%);
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(29, 106, 91, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.about-hero-quote {
  border-left: 3px solid var(--teal);
  padding-left: 1.25rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  font-style: italic;
  max-width: 560px;
}

/* ===== OUR STORY ===== */
.our-story {
  padding: 5rem 2rem;
  background: var(--white);
}

.our-story-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.our-story-left .section-title {
  margin-top: 0.25rem;
}

.our-story-body {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.our-story-highlight {
  color: var(--teal);
  font-weight: 500;
}

.story-quote-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 2.25rem 2rem;
}

.story-quote-text {
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.story-quote-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.story-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.story-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.story-bullet-dot {
  width: 6px;
  height: 6px;
  background: var(--teal-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== CONSULTING APPROACH ===== */
.consulting-approach {
  padding: 5rem 2rem;
  background: var(--gray-50);
}

.consulting-approach-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.consulting-approach-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.consulting-approach-header .section-title {
  margin-bottom: 1rem;
}

.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.approach-step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  transition: var(--transition);
}

.approach-step-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-color: var(--gray-300);
}

.approach-step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  min-width: 56px;
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.approach-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.approach-step-body {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ===== OUR TEAM ===== */
.our-team {
  padding: 5rem 2rem;
  background: var(--navy-dark);
}

.our-team-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.our-team .section-label {
  color: var(--teal-light);
  margin-bottom: 0.75rem;
}

.our-team .section-underline {
  margin-bottom: 3.5rem;
}

.team-member {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.team-member:last-of-type {
  border-bottom: none;
}

.team-member-reverse {
  grid-template-columns: 1fr 200px;
}

.team-member-avatar {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-avatar-initials {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

.team-member-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-light);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.team-member-bio {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.team-member-details {
  display: flex;
  gap: 2.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.team-details-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.team-specializes-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.team-specializes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.team-specializes-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.65);
}

.team-check-icon {
  color: var(--teal-light);
  flex-shrink: 0;
}

.team-experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.team-experience-tag {
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.team-member-quote {
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.team-specializes-wide {
  width: 100%;
}

/* ===== SERVICES PAGE HERO ===== */
.services-page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deeper) 100%);
  padding: 4.5rem 2rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(29, 106, 91, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.services-page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.services-page-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.services-page-hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ===== SERVICE CARDS ===== */
.svc-cards-section {
  padding: 3rem 2rem 5rem;
  background: var(--white);
}

.svc-cards-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.svc-card {
  display: grid;
  grid-template-columns: 370px 1fr;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.svc-card:hover {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.06);
  border-color: var(--gray-300);
}

.svc-card-left {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.svc-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.svc-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.svc-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--teal);
  line-height: 1.5;
  margin-bottom: auto;
}

.svc-divider {
  width: 100%;
  max-width: 220px;
  height: 1px;
  background: var(--gray-200);
  margin: 2rem 0 1.5rem;
}

.svc-outcome-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.svc-outcome-text {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.svc-card-right {
  padding: 2.5rem 2.5rem;
  border-left: 1px solid var(--gray-200);
}

.svc-section-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.svc-heading-dot {
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.svc-problems-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.svc-problem-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.svc-problem-dot {
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.svc-approach-text {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.svc-results-box {
  background: var(--gray-50);
  border-left: 3px solid var(--gray-300);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.svc-results-box p {
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.svc-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}

.svc-cta-btn:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 35, 50, 0.3);
}

/* ===== CASE STUDIES HERO ===== */
.cs-hero {
  background: var(--gray-50);
  padding: 5rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}

.cs-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cs-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.cs-hero-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== CASE STUDY CARDS ===== */
.cs-cards-section {
  padding: 3.5rem 2rem 4rem;
  background: var(--white);
}

.cs-cards-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.cs-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: var(--transition);
}

.cs-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  border-color: var(--gray-300);
}

.cs-card-header {
  padding: 1.75rem 2rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.cs-company {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

.cs-industry {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
}

.cs-section {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--gray-100);
}

.cs-section:last-child {
  border-bottom: none;
}

.cs-section-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.cs-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cs-icon-problem {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.cs-icon-intervention {
  background: rgba(29, 106, 91, 0.1);
  color: var(--teal);
}

.cs-icon-outcome {
  background: rgba(29, 106, 91, 0.1);
  color: var(--teal);
}

.cs-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.cs-section-body {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.cs-outcome-section {
  background: var(--gray-50);
}

.cs-outcome-body {
  font-size: 0.875rem;
  color: var(--gray-800);
  line-height: 1.75;
  font-weight: 500;
}

/* ===== CASE STUDIES CTA ===== */
.cs-cta {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 5rem 2rem;
  text-align: center;
}

.cs-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cs-cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cs-cta-subtitle {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cs-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2.25rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
  transition: var(--transition);
  font-family: var(--font-family);
}

.cs-cta-btn:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 35, 50, 0.3);
}

/* ===== RESPONSIVE â€” SERVICES ===== */
@media (max-width: 768px) {
  .services-page-hero-title {
    font-size: 2rem;
  }

  .svc-card {
    grid-template-columns: 1fr;
  }

  .svc-card-right {
    border-left: none;
    border-top: 1px solid var(--gray-200);
  }
}

/* ===== RESPONSIVE â€” ABOUT ===== */
@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2rem;
  }

  .our-story-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .team-member,
  .team-member-reverse {
    grid-template-columns: 1fr;
  }

  .team-member-reverse {
    direction: ltr;
  }

  .team-member-avatar {
    width: 140px;
    height: 140px;
  }

  .team-member-details {
    flex-direction: column;
    gap: 1.5rem;
  }

  .team-specializes-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contributors {
    text-align: left;
  }

  .approach-step-card {
    flex-direction: column;
    gap: 0.75rem;
  }
}


/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--gray-700);
}

.mobile-menu {
  display: none;
}

/* ===== ANIMATIONS & KEYFRAMES ===== */

/* --- Hero entrance sequence --- */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroBadgePop {
  0%   { opacity: 0; transform: scale(0.8) translateY(10px); }
  60%  { transform: scale(1.04) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- Floating orbs --- */
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 15px) scale(0.98); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-40px, 25px) scale(1.06); }
  80%       { transform: translate(20px, -15px) scale(0.97); }
}

/* --- Connector draw --- */
@keyframes drawLine {
  from { width: 0; opacity: 0; }
  to   { width: calc(100% - 64px); opacity: 1; }
}

/* --- Pulse ring --- */
@keyframes pulseRing {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* --- Shimmer sweep --- */
@keyframes shimmerSweep {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* --- CTA gradient shift --- */
@keyframes ctaGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Legacy fadeInUp --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.reveal-delay-0 { transition-delay: 0s; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Force scroll-reveal content to be visible on mobile to prevent empty sections
   if IntersectionObserver fails to fire on iOS/mobile browsers */
@media (max-width: 768px) {
  .scroll-reveal,
  .scroll-reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== HERO ANIMATE CLASSES ===== */
.hero-animate-badge {
  animation: heroBadgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}
.hero-animate-title {
  animation: heroFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.35s both;
}
.hero-animate-desc {
  animation: heroFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.55s both;
}
.hero-animate-btns {
  animation: heroSlideUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.75s both;
}

/* Fallback: ensure hero content is always visible on devices that
   restrict or skip CSS animations (iOS low-power, reduced-motion, etc.) */
@media (prefers-reduced-motion: reduce) {
  .hero-animate-badge,
  .hero-animate-title,
  .hero-animate-desc,
  .hero-animate-btns {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Force hero content visible on mobile — iOS Safari can skip animations
   if the page loads while in a background tab or low-power mode */
@media (max-width: 768px) {
  .hero-animate-badge,
  .hero-animate-title,
  .hero-animate-desc,
  .hero-animate-btns {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== HERO FLOATING ORBS ===== */
.hero-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
}
.hero-orb-1 {
  top: -10%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(29, 106, 91, 0.12) 0%, transparent 70%);
  animation: float1 12s ease-in-out infinite;
}
.hero-orb-2 {
  bottom: -20%; left: -8%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(29, 106, 91, 0.07) 0%, transparent 70%);
  animation: float2 16s ease-in-out infinite;
}
.hero-orb-3 {
  top: 30%; left: 45%;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(34, 184, 165, 0.05) 0%, transparent 70%);
  animation: float1 20s ease-in-out infinite reverse;
}

/* ===== CHALLENGE CARD SHIMMER HOVER ===== */
.challenge-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(29, 106, 91, 0.06) 50%, transparent 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.challenge-card:hover::before {
  opacity: 1;
  animation: shimmerSweep 0.8s ease forwards;
}
.challenge-card-icon { transition: all 0.3s ease; }
.challenge-card:hover .challenge-card-icon {
  background: rgba(29, 106, 91, 0.12);
  color: var(--teal);
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(29, 106, 91, 0.2);
}

/* ===== METHOD CONNECTOR DRAW ===== */
.method-step-connector.animate-draw {
  animation: drawLine 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

/* ===== SERVICE CARD GLOW BORDER ===== */
.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(29, 106, 91, 0) 0%, rgba(29, 106, 91, 0.35) 50%, rgba(29, 106, 91, 0) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: -1;
}
.service-card:hover::after { opacity: 1; }

/* ===== CTA ANIMATED GRADIENT ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #102844 50%, var(--navy-deeper) 100%);
  background-size: 200% 200%;
  animation: ctaGradientShift 8s ease infinite;
}

/* ===== CTA PULSE RING ===== */
.btn-cta-teal { position: relative; }
.btn-cta-teal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  animation: pulseRing 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}

/* ===== NAVBAR SCROLLED STATE ===== */
.navbar.scrolled {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(0,0,0,0.08);
}

/* ===== NAV LINK ANIMATED UNDERLINE ===== */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover::after { width: 100%; }

/* ===== LEGACY ANIMATE-IN ===== */
.animate-in { animation: fadeInUp 0.6s ease-out forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .challenge-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

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

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10001;
  }

  .mobile-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 72px);
    background: var(--white);
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    overflow-y: auto;
  }

  .mobile-menu .nav-link {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navy);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
  }

  .mobile-menu .nav-link:last-of-type {
    border-bottom: none;
  }

  .mobile-menu .btn-cta {
    margin-top: 1rem;
    justify-content: center;
    padding: 1.125rem;
    font-size: 1.1rem;
    width: 100%;
  }

  .mobile-menu .navbar-auth-signin {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    background: transparent;
    border: 1px solid var(--gray-300);
    padding: 0.875rem;
    border-radius: 8px;
    width: 100%;
  }

  .mobile-menu .navbar-auth-signup {
    margin-top: 0.75rem;
    font-weight: 600;
    color: var(--white);
    background: var(--navy);
    border: none;
    padding: 0.875rem;
    border-radius: 8px;
    width: 100%;
  }

  .hero {
    padding: 4rem 1.5rem 3.5rem;
    min-height: 420px;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .method-steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .method-step-connector {
    display: none;
  }

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

  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .leadership-grid {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }
}

/* ===== CONTACT PAGE HERO ===== */
.contact-page-wrapper {
  background: var(--gray-50);
  min-height: 100vh;
}

.contact-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deeper) 100%);
  padding: 6rem 2rem 14rem;
}

.contact-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.contact-hero-subtitle-wrapper {
  border-left: 3px solid var(--teal);
  padding-left: 1.5rem;
}

.contact-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 550px;
}

/* ===== CONTACT CARD & FORM ===== */
.contact-card-wrapper {
  max-width: 1000px;
  margin: -9rem auto 5rem;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.contact-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  overflow: hidden;
}

.contact-heading {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.contact-info {
  background: var(--gray-50);
  padding: 3rem;
  border-right: 1px solid var(--gray-200);
}

.contact-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  color: var(--teal);
  margin-top: 0.1rem;
}

.contact-detail-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-detail-text strong {
  font-size: 0.9rem;
  color: var(--gray-900);
}

.contact-detail-text span,
.contact-detail-text a {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.contact-detail-text a:hover {
  color: var(--teal);
}

.contact-socials-wrapper {
  margin-bottom: 2rem;
}

.contact-socials-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.contact-socials {
  display: flex;
  gap: 0.75rem;
}

.contact-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: var(--transition);
}

.contact-social-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(29, 106, 91, 0.05);
}

.contact-divider {
  width: 100%;
  height: 1px;
  background: var(--gray-200);
  margin: 2rem 0;
}

.contact-quote {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.7;
  border-left: 2px solid var(--gray-300);
  padding-left: 1rem;
  margin: 0;
}

.contact-form-side {
  padding: 3rem;
  background: var(--white);
}

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-900);
}

.form-group label .required {
  color: #ef4444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--gray-900);
  transition: var(--transition);
  background: #fcfcfc;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(29, 106, 91, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.contact-submit-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-family);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  transition: var(--transition);
}

.contact-submit-btn:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 35, 50, 0.2);
}

@media (max-width: 768px) {
  .contact-hero-title {
    font-size: 2rem;
  }
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-info {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 2rem;
  }
  .contact-form-side {
    padding: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ===== TEAM EXPAND TWEAKS ===== */
.interactive-member {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.interactive-member:hover {
  transform: translateY(-4px);
  background: rgba(30,30,30,0.7);
}
.team-bio-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-bio-content.expanded {
  grid-template-rows: 1fr;
}
.team-bio-inner {
  overflow: hidden;
}
.team-click-hint {
  margin-top: 1rem;
  color: #00F0FF;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.interactive-member:hover .team-click-hint {
  color: #FFFFFF;
}

/* ===== LEADERSHIP GRID - 5 MEMBERS + EXPAND ===== */
.leadership-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.leader-card-interactive {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  padding: 2rem 1.25rem;
  border-radius: 12px;
}
.leader-card-interactive:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.leader-card-interactive.leader-card-expanded {
  background: rgba(255,255,255,0.06);
  box-shadow: 0 12px 32px rgba(0,240,255,0.08);
}
.leader-expand-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.leader-expand-content.expanded {
  grid-template-rows: 1fr;
}
.leader-expand-inner {
  overflow: hidden;
}
.leader-avatar-fallback {
  font-size: 2rem;
  font-weight: 700;
  color: #606060;
  position: absolute;
  z-index: 0;
}
.leader-click-hint {
  margin-top: 0.75rem;
  color: #00F0FF;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  text-align: center;
  transition: color 0.3s ease;
}
.leader-card-interactive:hover .leader-click-hint {
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .leadership-grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .leader-card-interactive {
    padding: 1.25rem 1rem;
  }
}
@media (max-width: 480px) {
  .leadership-grid-5 {
    grid-template-columns: 1fr;
  }
}

/* ===== TEAM AVATAR PHOTO ===== */
.team-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}

/* ===== LEADER AVATAR PHOTO (HOMEPAGE) ===== */
.leader-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ===============================================================
   MOBILE RESPONSIVE FIXES
   Supplements the existing responsive rules at ~line 1925.
   =============================================================== */

/* --- Tablet (max-width: 900px) --- */
@media (max-width: 900px) {
  .footer-full-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .footer-brand-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-contributors {
    text-align: center;
    font-size: 0.68rem;
    line-height: 1.6;
  }
  .about-hero-title {
    font-size: 2.25rem;
  }
  .team-member,
  .team-member-reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  /* D6: pull the avatar above the name/intro on mobile for reverse members
     (Jennifer, Alejandro, Pranav) whose photo sits after the text in the DOM. */
  .team-member-reverse .team-member-avatar {
    order: -1;
  }
  .team-member-avatar {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
  .navbar-inner {
    padding: 0 1.25rem;
  }
  .contact-hero-title {
    font-size: 2rem;
  }
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-info {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 2rem;
  }
  .contact-form-side {
    padding: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .services-page-hero-title {
    font-size: 2rem;
  }
  .team-member,
  .team-member-reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 0;
  }
  .team-member-avatar {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }
  .team-specializes-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .team-member-details {
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
  }
  .approach-step-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    text-align: center;
  }
  .approach-step-number {
    min-width: auto;
    margin: 0 auto;
  }
  .leadership-grid {
    flex-direction: column;
    gap: 2.5rem;
  }
  .leader-avatar {
    width: 100px;
    height: 100px;
  }
}

/* --- Small phones (max-width: 480px) --- */
@media (max-width: 480px) {
  .hero {
    padding: 3rem 1.25rem 2.5rem;
    min-height: 380px;
  }
  .hero h1 {
    font-size: 1.65rem;
    line-height: 1.15;
  }
  .hero-description {
    font-size: 0.92rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons a,
  .hero-buttons button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .about-hero-title {
    font-size: 1.65rem;
  }
  .contact-hero {
    padding: 4rem 1.25rem 10rem;
  }
  .contact-hero-title {
    font-size: 1.65rem;
  }
  .leader-avatar {
    width: 80px;
    height: 80px;
  }
  .team-member-avatar {
    width: 120px;
    height: 120px;
  }
  .consulting-approach {
    padding: 3rem 1.25rem;
  }
}

/* ===== CONTACTS MODAL POPUP ===== */
.contact-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 33, 55, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem;
}

.contact-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 950px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 3.5rem 2rem 2rem;
}

.contact-modal-overlay.active .contact-modal-card {
  transform: translateY(0);
}

.contact-modal-close-top {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-modal-close-top:hover {
  opacity: 1;
  transform: scale(1.08);
}

.contact-modal-close-bottom-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  width: 100%;
}

.contact-modal-close-bottom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: transparent;
  color: var(--gray-900);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--gray-300);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}

.contact-modal-close-bottom:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

