:root {
  --color-bg: #f9fafb;
  --color-surface: #ffffff;
  --color-accent: #0891b2;
  --color-accent-soft: #e0f2fe;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 55%, #f3f4f6 100%);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2rem;
  font-weight: 600;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(249, 250, 251, 0.96), rgba(255, 255, 255, 0.92));
  border-bottom: 1px solid rgba(8, 145, 178, 0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 250 px;
}
.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(8, 145, 178, 0.4);
  background: radial-gradient(circle at top left, rgba(8, 145, 178, 0.12), transparent 55%);
}
.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 1.15 rem;
}

.nav a {
  padding: 0.35rem 0.1rem;
  color: var(--color-muted);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0891b2, #06b6d4);
  transition: width 0.18s ease-out;
}
.nav a:hover {
  color: var(--color-text);
}
.nav a:hover::after {
  width: 100%;
}
.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(8, 145, 178, 0.7);
  background: radial-gradient(circle at top, rgba(8, 145, 178, 0.12), transparent 60%);
  color: var(--color-text);
  margin-left: auto;
}
/* Footer */
.site-footer {
  border-top: 1px solid rgba(8, 145, 178, 0.15);
  padding: 1.5rem 0 2rem;
  margin-top: 4rem;
  background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 55%);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-muted);
}
.footer-links {
  display: flex;
  gap: 1rem;
}
/* Generic layout helpers */
.section {
  padding: 3.5rem 0;
}
.section-header {
  margin-bottom: 1.75rem;
}
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: #0891b2;
  margin-bottom: 0.4rem;
}
.section-title {
  font-size: 1.9rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
}
.section-subtitle {
  color: var(--color-muted);
  max-width: 540px;
  font-size: 0.95rem;
}
/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
    height: auto;
    padding: 0.75rem 0;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .section {
    padding: 4.5rem 0 3.5rem;
  }
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}
.hero-title {
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  text-align: left;
}
.hero-subtitle {
  color: var(--color-muted);
  max-width: 520px;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
}
.btn-primary {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(8, 145, 178, 0.2);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(8, 145, 178, 0.3);
}
.btn-ghost {
  border-color: rgba(8, 145, 178, 0.5);
  color: var(--color-text);
  background: rgba(8, 145, 178, 0.08);
}
.hero-visual {
  display: flex;
  justify-content: flex-end;
}
.hero-card {
  width: 100%;
  max-width: 320px;
  padding: 1.4rem 1.3rem;
  border-radius: 1.4rem;
  background: radial-gradient(circle at top left, #f0f9fc 0, #ffffff 55%);
  border: 1px solid rgba(8, 145, 178, 0.25);
  box-shadow: var(--shadow-soft);
}
.hero-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  margin-bottom: 0.9rem;
}
.hero-metrics-mini {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
}
.metric-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
}
.metric-label {
  font-size: 0.75rem;
  color: var(--color-muted);
}
.hero-tagline {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(8, 145, 178, 0.12);
  border: 1px solid rgba(8, 145, 178, 0.4);
}
.pill-soft {
  background: rgba(224, 242, 254, 0.8);
  border-color: rgba(8, 145, 178, 0.3);
}
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    justify-content: flex-start;
  }
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.metric-card {
  padding: 1.1rem 1rem;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top, #f8fafc 0, #ffffff 70%);
  border: 1px solid rgba(8, 145, 178, 0.18);
}
.metric-card .metric-number {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.metric-card .metric-label {
  font-size: 0.8rem;
  color: var(--color-muted);
}
@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}
.card {
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid var(--color-border);
  padding: 1.2rem 1.1rem;
}
.card-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.card-text {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.card-link {
  font-size: 0.85rem;
  color: var(--color-accent);
}
.tabs {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(8, 145, 178, 0.2);
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  padding: 1.2rem 1.1rem;
}
.tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.tab {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
}
.tab.active {
  border-color: rgba(8, 145, 178, 0.7);
  background: rgba(8, 145, 178, 0.12);
  color: var(--color-text);
}
.tab-panel {
  display: none;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.tab-panel.active {
  display: block;
}

/* Two-column layout for What We Do and Who We Are */
.section-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.section-content-left {
  flex: 1;
}

.section-content-right {
  flex: 1;
}

/* Team Members Styles */
.team-members {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 3px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-soft);
}

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

.team-member-name {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.team-member-title {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .section-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .team-member-image {
    width: 120px;
    height: 120px;
  }
  
  .team-member-name {
    font-size: 1rem;
  }
}

/* Impact Page Styles */
.header-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

h1 {
  text-align: center;
  margin-bottom: 32px;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.testimonial {
  background: #f0f4f8;
  border-radius: 8px;
  padding: 16px;
  flex: 1 1 350px;
  min-width: 280px;
  max-width: 400px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.name {
  font-weight: bold;
  margin-bottom: 6px;
}

.degree {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 8px;
}

.quote {
  font-style: italic;
  color: #333;
  margin-bottom: 8px;
}

@media (max-width: 700px) {
  .testimonials {
    flex-direction: column;
    align-items: center;
  }
}