/* Anish Desai — homepage (Figma hero layout) */

:root {
  --color-navy: #16368F;
  --color-navy-mid: #102a63;
  --color-primary: #1D4ED8;
  --color-primary-hover: #1d4ed8;
  --color-accent: #3b82f6;
  --color-accent-soft: rgba(37, 99, 235, 0.08);
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-white: #ffffff;
  --color-text: #0a0f1c;
  --color-text-muted: #000;
  --color-border: #e2e8f0;
  --shadow-sm: 0 4px 14px rgba(37, 99, 235, 0.12);
  --shadow-nav-btn: 0 4px 14px rgba(37, 99, 235, 0.35);
  --shadow-md: 0 12px 40px rgba(37, 99, 235, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, sans-serif;
  --header-h: 88px;
  --section-py: clamp(1.5rem, 3vw, 2.5rem);
  --container-max: 1340px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

section[id],
main[id] {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
}

/* Typography */
.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.section-title-sm {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.section-desc {
  max-width: 38rem;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.lead-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text);
}

.section-padding {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

/* Header */
.site-header {
  z-index: 1030;
  background: var(--color-white);
  transition: box-shadow 0.25s ease;
}

.site-header .navbar {
  padding: 1.25rem 0;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--color-border);
}

.header-container {
  max-width: var(--container-max);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.navbar-brand {
  margin-right: auto;
}

.navbar-brand img {
  width: auto;
  height: 51px;
}

.navbar-toggler {
  border: 1px solid var(--color-border);
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-md);
  order: 2;
  margin-left: auto;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.2);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230A0F1C' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNav {
  order: 4;
  flex-basis: 100%;
}

@media (min-width: 992px) {
  .header-container {
    flex-wrap: nowrap;
  }

  .navbar-brand {
    margin-right: 1.5rem;
  }

  #mainNav {
    order: 0;
    position: static;
    transform: none;
    flex-basis: auto;
    flex-grow: 0;
    width: auto;
  }

  .navbar-expand-lg .navbar-nav {
    padding-left: 2rem;
  }

  .header-cta {
    order: 3;
    flex-shrink: 0;
    margin-left: auto;
  }
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-navy) !important;
  padding: 0.35rem 1.25rem !important;
  position: relative;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-primary) !important;
}

.nav-link.active {
  color: var(--color-primary) !important;
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-top: 0.35rem;
}

.btn-primary {
  --bs-btn-bg: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-bg: var(--color-primary-hover);
  --bs-btn-hover-border-color: var(--color-primary-hover);
  --bs-btn-active-bg: var(--color-primary-hover);
  --bs-btn-active-border-color: var(--color-primary-hover);
  --bs-btn-focus-shadow-rgb: 37, 99, 235;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.5rem;
  font-size: 0.9375rem;
  box-shadow: var(--shadow-nav-btn);
}

.btn-outline-primary {
  --bs-btn-color: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-bg: var(--color-primary);
  --bs-btn-hover-border-color: var(--color-primary);
  --bs-btn-focus-shadow-rgb: 37, 99, 235;
  font-weight: 600;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn-pill {
  border-radius: var(--radius-pill);
}

.btn-nav {
  padding: 0.65rem 1.5rem;
  white-space: nowrap;
}

.btn-secondary-hero {
  background: var(--color-white);
  color: var(--color-navy);
  border: 1px solid var(--color-border);
  font-weight: 600;
  box-shadow: none;
}

.btn-secondary-hero:hover,
.btn-secondary-hero:focus {
  background: var(--color-bg-alt);
  color: var(--color-navy);
  border-color: #cbd5e1;
}

/* Hero */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 0;
  overflow: hidden;
  background-color: #f8fafc;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../images/bg.webp");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.88) 38%,
    rgba(255, 255, 255, 0.55) 62%,
    rgba(255, 255, 255, 0.15) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
}

.hero-row {
  position: relative;
  align-items: stretch;
  padding-bottom: 0;
}

.hero-copy {
  padding-top: 0.25rem;
  align-self: flex-start;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0A0F1C;
  margin-bottom: 1.5rem;
}

.hero-title-accent {
  color: var(--color-primary);
}

.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
}

.hero-actions .btn-primary {
  box-shadow: var(--shadow-nav-btn);
}

.hero-credential-col {
  padding: 0;
  margin-top: 0.25rem;
}

.hero-credential {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 13.5rem;
  margin-inline: auto;
  text-align: center;
  z-index: 2;
}

.hero-signature {
  width: auto;
  max-width: 175px;
  height: auto;
  margin: 0 0 0.35rem;
  display: block;
  flex-shrink: 0;
}

.hero-credential-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
}

.hero-credential-tags {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0.35rem 0 0;
  line-height: 1.4;
  white-space: nowrap;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  align-self: stretch;
  padding-top: 0;
}

.hero-image-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-top: auto;
}

.hero-portrait {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  margin-left: auto;
  display: block;
  vertical-align: bottom;
}

@media (min-width: 992px) {
  .hero-credential-col {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20%;
    margin-top: 0;
    pointer-events: none;
  }

  .hero-credential {
    position: absolute;
    left: 58%;
    bottom: -55px;
    transform: translateX(-72%);
    margin-inline: 0;
    pointer-events: auto;
  }

  .hero-portrait {
    max-width: 420px;
  }
}

@media (min-width: 1200px) {
  .hero-credential {
    transform: translateX(-68%);
  }

  .hero-credential-col {
    bottom: 22%;
  }

  .hero-portrait {
    max-width: 460px;
  }
}

/* Credentials — press logos + impact stats */
.credentials-section {
  background: var(--color-white);
}

.press-band {
  padding: 2rem 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.press-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 6rem;
  margin: 0;
  padding: 0;
  max-width: var(--container-max);
  margin-inline: auto;
}

.press-logo {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 500;
  color: #90a1b9;
  letter-spacing: 0;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  flex: 0 0 auto;
}

.impact-section {
  background: linear-gradient(90deg, #03143f 0%, #233870 100%);
  padding: 2.5rem 0 3rem;
}

.impact-section .container {
  max-width: 1080px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}

.impact-card {
  width: 100%;
  min-width: 0;
  min-height: 7.5rem;
  padding: 0.9rem 0.75rem 1rem;
  font-family: var(--font-sans);
  background: rgba(16, 42, 99, 0.55);
  border: 1px solid rgba(81, 162, 255, 0.12);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.impact-card:hover {
  background: rgba(16, 42, 99, 0.72);
  border-color: rgba(81, 162, 255, 0.22);
}

.impact-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

.impact-icon svg {
  width: 30px;
  height: 30px;
}

.impact-value {
  font-family: var(--font-sans);
  font-size:2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-white);
  margin: 0 0 0.25rem;
  letter-spacing: 0;
}

.impact-label {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.35;
  min-height: 2.75em;
  word-break: break-word;
}

/* Passionate builder */
.builder-section {
  background: var(--color-white);
}

.builder-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
}

.builder-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.builder-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0A0F1C;
  margin-bottom: 1rem;
  max-width: 36rem;
}

.builder-title-accent {
  color: var(--color-primary);
  display: inline;
}

.builder-lead {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  max-width: 38rem;
}

.builder-education {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 0;
}

.builder-education-logo {
  flex-shrink: 0;
  line-height: 0;
}

.builder-education-logo img {
  width: 7rem;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.builder-education-details {
  min-width: 0;
}

.builder-education-label {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.2rem;
  line-height: 1.25;
}

.builder-education-school {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 0.15rem;
  line-height: 1.3;
}

.builder-education-degree,
.builder-education-years {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.4;
}

.builder-education-degree {
  margin-bottom: 0.1rem;
}

@media (min-width: 992px) {
  .builder-title {
    max-width: 32rem;
  }
}

@media (max-width: 991.98px) {
  .builder-image-wrap {
    max-width: 480px;
    margin-inline: auto;
  }

  .builder-copy {
    margin-top: 0.25rem;
  }

  .builder-title {
    margin-top: 1.5rem;
  }
}

/* Areas of expertise */
.expertise-section {
  background: #f8fafc;
}

.expertise-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  margin-bottom: 2.5rem;
}

.expertise-card {
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.expertise-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.expertise-icon,
.frameworks-icon {
  line-height: 0;
  margin-bottom: 1rem;
}

.feature-icon {
  display: inline-flex;
  filter: drop-shadow(0 0 14px rgba(29, 78, 216, 0.35));
}

.feature-icon svg,
.feature-icon img {
  width: 58px;
  height: 58px;
  display: block;
}

.expertise-card-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

.expertise-card-text {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 767.98px) {
  .expertise-title {
    margin-bottom: 1.75rem;
  }

  .expertise-card {
    padding: 1.5rem 1.25rem 1.4rem;
  }
}

/* Signature frameworks */
.frameworks-section {
  background: #eaf2fd;
}

.frameworks-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  margin-bottom: 2.5rem;
}

.frameworks-card {
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.frameworks-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.frameworks-card-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

.frameworks-card-text {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 767.98px) {
  .frameworks-title {
    margin-bottom: 1.75rem;
  }

  .frameworks-card {
    padding: 1.5rem 1.25rem 1.4rem;
  }
}

/* Featured platform — mySeniorCareHub */
.platform-section {
  background: #f8fafc;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-pill);
  line-height: 1.2;
}

.platform-badge-icon {
  flex-shrink: 0;
  color: var(--color-primary);
}

.platform-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.platform-lead {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.platform-cta {
  min-width: 11rem;
  box-shadow: var(--shadow-nav-btn);
}

.platform-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.platform-image-wrap {
  width: 100%;
  max-width: 580px;
  line-height: 0;
}

.platform-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .platform-visual {
    order: -1;
  }

  .platform-image-wrap {
    max-width: 480px;
    margin-inline: auto;
  }

  .platform-copy {
    text-align: left;
  }
}

/* Exploring Humanity — travel */
.travel-section {
  background: var(--color-white);
}

.travel-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
}

.travel-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.travel-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0A0F1C;
  margin-bottom: 1rem;
  max-width: 36rem;
}

.travel-title-accent {
  color: var(--color-primary);
  display: inline;
}

.travel-lead {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 0;
  max-width: 38rem;
}

/* Read more / less */
.read-more--travel {
  max-width: 38rem;
}

.read-more--testimonial {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin: 0 0 0.25rem;
  text-align: left;
}

.read-more--testimonial .read-more-body {
  flex: 0 0 auto;
  width: 100%;
}

.read-more--testimonial .read-more-toggle {
  display: block;
  width: fit-content;
  align-self: flex-start;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.read-more-body {
  overflow: hidden;
  transition: max-height 0.4s ease;
  will-change: max-height;
}

.read-more-inner {
  margin: 0;
}

.read-more-line-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.read-more.is-expanded .read-more-inner {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
  .read-more-body {
    transition: none;
  }
}

.read-more-toggle {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #16368F;
  cursor: pointer;
  transition: color 0.2s ease;
}

.read-more--travel .read-more-toggle {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.read-more--travel .read-more-toggle:hover,
.read-more--travel .read-more-toggle:focus-visible {
  color: var(--color-primary);
}

.read-more-toggle:hover,
.read-more-toggle:focus-visible {
  color: var(--color-navy);
  outline: none;
}

.read-more.is-expanded .read-more-toggle {
  margin-top: 0.5rem;
}

@media (max-width: 991.98px) {
  .travel-image-wrap {
    max-width: 520px;
    margin-inline: auto;
  }
}

/* About */
.about-section {
  background: var(--color-bg-alt);
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.about-content p strong {
  color: var(--color-navy);
}

.about-highlights {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.about-highlights li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.9375rem;
  color: var(--color-navy-mid);
}

.about-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Focus cards */
.focus-section {
  background: var(--color-white);
}

.focus-card {
  height: 100%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.focus-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(37, 99, 235, 0.18);
}

.focus-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.focus-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.focus-icon-sm {
  width: 64px;
  height: 64px;
  background: var(--color-accent-soft);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-xl);
}

.focus-icon-sm img {
  width: 28px;
  height: 28px;
}

.focus-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.focus-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Ventures */
.ventures-section {
  background: var(--color-bg-alt);
}

.venture-card {
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.venture-card:hover {
  box-shadow: var(--shadow-sm);
}

.venture-image {
  aspect-ratio: 482 / 280;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.venture-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venture-body {
  padding: 1.35rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.venture-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.venture-body p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.venture-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.venture-link:hover {
  color: var(--color-primary-hover);
}

/* Education */
.education-section {
  background: var(--color-white);
}

.education-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.education-logo {
  border-radius: var(--radius-sm);
  max-width: 160px;
  margin-inline: auto;
}

/* Testimonials — What People Says */
.testimonials-section {
  background: #eaf2fd;
}

.testimonials-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  margin-bottom: 2.5rem;
}

.testimonials-grid {
  align-items: stretch;
}

.testimonials-grid > [class*="col"] {
  display: flex;
  align-items: stretch;
}

.testimonials-grid .testimonial-card {
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.testimonial-card .read-more-inner,
.testimonial-card blockquote {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.testimonial-quote-icon {
  position: absolute;
  top: 0.60rem;
  right: 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: #93c5fd;
  transform: scaleX(-1);
  pointer-events: none;
  user-select: none;
}

.testimonial-quote {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0 0 0rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 15px;
  width: 100%;
  flex-shrink: 0;
  min-height: 90px;
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  overflow: hidden;
  background: #e2e8f0;
  line-height: 0;
}

.testimonial-author-info {
  flex: 1;
  min-width: 0;
}

.testimonial-avatar svg,
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  display: block;
}

.testimonial-avatar img {
  object-fit: cover;
}

.testimonial-name {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  font-style: normal;
  color: var(--color-navy);
  margin: 0 0 0.15rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-role {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .testimonials-grid > [class*="col"] {
    min-height: 100%;
  }

  .testimonial-card {
    height: 100%;
  }

  .testimonial-author-info {
    min-height: 3.5rem;
  }
}

@media (max-width: 767.98px) {
  .testimonials-title {
    margin-bottom: 1.75rem;
  }

  .testimonial-card {
    padding: 1.5rem 1.25rem 1.35rem;
  }

  .testimonial-name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .testimonial-author-info {
    min-height: 0;
  }
}

/* CTA — Let's Work Together */
.cta-section {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  background: url("../images/bg2.webp") center center / cover no-repeat;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 20, 63, 0.82) 0%,
    rgba(35, 56, 112, 0.44) 100%
  );
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 1;
}

.cta-inner {
  max-width: 40rem;
  margin-inline: auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-lead {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
}

.cta-btn {
  min-width: 11rem;
  box-shadow: var(--shadow-nav-btn);
}

/* Ventures page */
.page-ventures .ventures-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(320px, 42vw, 440px);
  padding-top: var(--header-h);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  background: #eaf2fd;
}

.ventures-hero-bg {
  position: absolute;
  top: var(--header-h);
  left: 50%;
  right: auto;
  bottom: 0;
  width: 100vw;
  max-width: none;
  transform: translateX(-50%);
  background-image:
    linear-gradient(
      90deg,
      rgba(234, 242, 253, 0.92) 0%,
      rgba(248, 250, 252, 0.7) 38%,
      rgba(255, 255, 255, 0.25) 58%,
      transparent 72%
    ),
    url("../images/Banner.png");
  background-repeat: no-repeat;
  background-position: right top, right top;
  background-size: cover, cover;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .page-ventures .ventures-hero {
    min-height: calc(var(--header-h) + 8.5rem);
    padding-bottom: 0;
    align-items: center;
  }

  .ventures-hero-bg {
    background-position: right center, right center;
    background-size: cover, cover;
  }

  .ventures-hero-container {
    display: flex;
    align-items: center;
    min-height: 8.5rem;
  }

  .ventures-hero-title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }
}

.ventures-hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
}

.ventures-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0A0F1C;
  margin: 0;
  max-width: 14ch;
}

.ventures-list-section {
  background: var(--color-white);
}

.ventures-list-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.ventures-logo-grid > [class*="col"] {
  display: flex;
}

.venture-logo-card {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 1px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  isolation: isolate;
  transform: translateZ(0);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.venture-logo-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px) translateZ(0);
}

.venture-logo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 0;
  background: var(--color-white);
}

/* Footer */
.site-footer {
  background: #eaf2fd;
  border-top: 1px solid rgba(22, 54, 143, 0.12);
  padding: clamp(1.5rem, 3vw, 2rem) 0 clamp(1rem, 2vw, 1.5rem);
}

.footer-main {
  align-items: stretch;
}

.footer-brand-col,
.footer-nav-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-col {
  justify-content: center;
}

.footer-nav-col {
  padding-top: 0;
}

@media (min-width: 992px) {
  .footer-nav-col {
    padding-top: 0.75rem;
  }
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
  line-height: 0;
}

.footer-brand-logo {
  width: 100%;
  max-width: 15.375rem;
  height: auto;
  display: block;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0;
  max-width: 20rem;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1rem;
  line-height: 1.3;
  min-height: 1.3em;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.footer-contact-icon {
  flex-shrink: 0;
  color: var(--color-primary);
}

.footer-contact-col {
  min-width: min(100%, 16.5rem);
}

.footer-bottom {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(22, 54, 143, 0.1);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
  text-align: center;
}

@media (max-width: 991.98px) {
  .footer-contact a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767.98px) {
  .footer-brand-col {
    margin-bottom: 0.25rem;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-heading {
    margin-bottom: 0.75rem;
  }

  .footer-contact-col {
    min-width: 0;
  }
}

/* Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem 1rem;
    margin-top: 0.75rem;
    box-shadow: var(--shadow-sm);
  }

  .btn-nav {
    width: 100%;
    justify-content: center;
  }

  .hero-section {
    padding-top: calc(var(--header-h) + 1rem);
  }

  .hero-row {
    padding-bottom: 0;
  }

  .hero-visual {
    order: 1;
    justify-content: center;
    align-items: center;
  }

  .hero-copy {
    order: 3;
  }

  .hero-image-wrap {
    max-width: 320px;
    margin-top: 0;
    margin-inline: auto;
    justify-content: center;
    align-items: center;
  }

  .hero-portrait {
    max-width: 300px;
    margin-inline: auto;
    object-position: center bottom;
  }

  .hero-credential-col {
    order: 2;
    margin-top: 0;
    margin-bottom: 0.25rem;
  }

  .hero-credential {
    position: static;
    transform: none;
    max-width: none;
    margin-top: 1rem;
  }

  .hero-credential-title,
  .hero-credential-tags {
    white-space: normal;
  }

  .hero-signature {
    max-width: 150px;
  }

  .press-logos {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .press-logo {
    font-size: 1rem;
  }

  .impact-section {
    padding: 2rem 0 2.5rem;
    background: linear-gradient(160deg, #1e4a82 0%, #4a6fa8 55%, #6b8fc4 100%);
  }

  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-h: 72px;
  }

  .navbar-brand img {
    height: 42px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .focus-card {
    padding: 1.25rem 1.1rem;
  }

  .press-logos {
    gap: 0.75rem 1rem;
  }

  .press-logo {
    font-size: 0.8125rem;
    white-space: normal;
  }

  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    max-width: 100%;
  }

  .impact-value {
    font-size: 1.125rem;
  }

  .impact-label {
    font-size: 0.6875rem;
    line-height: 1.3;
    min-height: 2.5em;
  }

  .impact-card {
    min-height: 6.75rem;
    padding: 0.75rem 0.5rem 0.85rem;
  }

  .impact-icon {
    margin-bottom: 0.35rem;
  }

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

@media (min-width: 1200px) {
  .container,
  .header-container,
  .hero-container {
    max-width: var(--container-max);
  }
}
