/* ============================================
   Deaf Multicultural Counseling (DMC)
   Shared Design System — matched to live site
   ============================================ */

:root {
  --color-navy: #14213D;
  --color-navy-light: #1E2E54;
  --color-blue: #2E8BC9;
  --color-blue-light: #E3F1FB;
  --color-green: #3CB371;
  --color-bg: #F7F9FB;
  --color-bg-alt: #EDF3F8;
  --color-white: #FFFFFF;
  --color-text: #1C2433;
  --color-muted: #5B6B7E;
  --color-border: #E2E8EF;
  --color-accent-orange: #F4A623;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 5.5rem;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-card: 0 4px 18px rgba(20, 33, 61, 0.07);
  --shadow-card-hover: 0 10px 28px rgba(20, 33, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--color-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

/* ============================================
   Header / Navigation
   ============================================ */

.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-navy);
  letter-spacing: 0.01em;
}

.logo img {
  width: 42px;
  height: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-navy);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

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

.nav-links a.active {
  color: var(--color-blue);
}

.nav-cta {
  background: var(--color-navy);
  color: var(--color-white) !important;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--color-navy-light);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--color-navy);
}

@media (max-width: 880px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md);
    gap: var(--space-md);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}

/* ============================================
   Hero / Page header
   ============================================ */

.page-hero {
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  text-align: center;
  background: var(--color-bg-alt);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-blue);
  background: var(--color-blue-light);
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin: 0 0 var(--space-sm);
  color: var(--color-navy);
  line-height: 1.2;
}

.page-hero h1 .accent {
  color: var(--color-blue);
}

.page-hero p.lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--color-muted);
}

/* ============================================
   Layout helpers
   ============================================ */

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

section {
  padding: var(--space-xl) 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--color-navy);
  text-align: center;
  margin: 0 0 var(--space-xs);
}

.section-title .accent {
  color: var(--color-blue);
}

.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  font-size: 1.05rem;
}

/* ============================================
   Team Grid & Cards
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.team-card .headshot {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.team-card .headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .card-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-card .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 0 0.15rem;
  color: var(--color-navy);
}

.team-card .pronouns {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
}

.team-card .credentials {
  font-size: 1rem;
  color: var(--color-blue);
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.team-card .bio {
  font-size: 0.97rem;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

.team-card .support-areas {
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

.team-card .support-areas h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-navy);
  margin: 0 0 0.6rem;
  font-weight: 700;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 var(--space-sm);
  padding: 0;
}

.tag-list li {
  background: var(--color-blue-light);
  color: var(--color-blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

.learn-more {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.learn-more:hover {
  color: var(--color-blue);
  text-decoration: none;
}

.new-badge {
  display: inline-block;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.7rem;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-navy-light);
  color: var(--color-white);
  text-decoration: none;
}

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

.btn-secondary:hover {
  border-color: var(--color-navy);
  text-decoration: none;
}

/* ============================================
   Forms (Client Feedback page)
   ============================================ */

.feedback-shell {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
}

.confidentiality-note {
  background: var(--color-blue-light);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.confidentiality-note strong {
  color: var(--color-navy);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label,
fieldset legend {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.form-group .hint {
  font-size: 0.82rem;
  color: var(--color-muted);
  font-weight: 400;
  display: block;
  margin-top: 0.2rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px var(--color-blue-light);
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

fieldset {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  margin: 0 0 var(--space-md);
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.radio-group label,
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.97rem;
  color: var(--color-text);
  cursor: pointer;
  margin-bottom: 0;
}

.radio-group input,
.checkbox-group input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-blue);
  flex-shrink: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 600px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .feedback-shell {
    padding: var(--space-md);
  }
}

.form-submit {
  width: 100%;
  font-size: 1.05rem;
  padding: 1.05rem;
  border: none;
}

/* Success / error messages */
.success-message {
  display: none;
  text-align: center;
  background: var(--color-blue-light);
  color: var(--color-navy);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: var(--space-md);
}

.success-message.visible {
  display: block;
}

.success-message .icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-xs);
  color: var(--color-green);
}

.success-message h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  color: var(--color-navy);
}

.error-message {
  display: none;
  background: #FBEAEA;
  color: #9C3B3B;
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  margin-top: var(--space-md);
  font-size: 0.95rem;
}

.error-message.visible {
  display: block;
}

/* ============================================
   Footer (dark navy, per live site)
   ============================================ */

.site-footer {
  background: var(--color-navy);
  color: #B7C4DA;
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-2xl);
}

.footer-top {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

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

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--color-blue);
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.footer-grid h3 {
  font-family: var(--font-display);
  color: var(--color-white);
  margin-top: 0;
  font-size: 1.1rem;
}

.footer-grid a {
  color: #B7C4DA;
}

.footer-grid a:hover {
  color: var(--color-blue);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-crisis {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  font-size: 0.95rem;
}

.footer-crisis strong {
  color: var(--color-accent-orange);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(183,196,218,0.6);
  padding-top: var(--space-md);
}

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