/* Tech EDVolution — shared styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --purple: #4B2F8A;
  --purple-dark: #1a0d2e;
  --orange: #FF6633;
  --orange-dark: #E55A2B;
  --teal: #17a2b8;
  --ink: #2c3e50;
  --muted: #555;
  --soft: #f8f9fa;
  --line: #e0e4e8;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); }

/* Navigation */
nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.logo img { height: 48px; width: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--orange-dark); }
.nav-links a[aria-current="page"] { font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.cta-button {
  background: var(--orange);
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.cta-button:hover { background: var(--orange-dark); }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: #fff; color: var(--purple); border: 2px solid var(--purple); }
.btn-secondary:hover { background: var(--purple); color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #f4f1fa 0%, #ffffff 60%);
  padding: 80px 40px;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1100px) { .tagline { white-space: nowrap; } }
.tagline {
  font-size: 15px;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 14px;
}
.tagline strong { color: var(--purple); font-weight: 700; }
.tagline span { color: #b9bfc7; margin: 0 6px; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  color: var(--purple);
  margin-bottom: 18px;
}
.hero .lead { font-size: 18px; color: var(--muted); margin-bottom: 28px; max-width: 560px; }
.hero-photo {
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
  aspect-ratio: 4 / 5;
  max-width: 380px;
  justify-self: end;
  width: 100%;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-caption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: right; }
.hero-media { border-radius: 12px; overflow: hidden; background: var(--line); box-shadow: 0 12px 30px rgba(75,47,138,0.12); }
.hero-media img { width: 100%; height: auto; }
.faq-teaser { max-width: 760px; text-align: center; }
.faq-teaser p { font-size: 16px; color: var(--muted); margin-bottom: 14px; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, #f4f1fa 0%, #ffffff 70%);
  padding: 64px 40px 48px;
  text-align: center;
}
.page-hero h1 { font-size: 38px; color: var(--purple); line-height: 1.2; margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: var(--muted); max-width: 680px; margin: 0 auto; }

/* Proof strip */
.proof {
  background: var(--purple);
  color: #fff;
  padding: 28px 40px;
}
.proof-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.proof-label {
  max-width: 1200px;
  margin: 0 auto 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #d9cff2;
}
.proof-item strong { display: block; font-size: 28px; line-height: 1.1; }
.proof-item span { font-size: 14px; opacity: 0.92; }

/* Sections */
.section { padding: 80px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section.alt { background: var(--soft); }
.section-title { font-size: 32px; color: var(--purple); margin-bottom: 12px; line-height: 1.2; }
.section-subtitle { font-size: 17px; color: var(--muted); max-width: 680px; margin-bottom: 40px; }

/* Service cards */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.section.alt .service-card { background: #fff; }
.service-card .format {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.service-card h3 { font-size: 20px; color: var(--purple); margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.service-card ul { padding-left: 18px; font-size: 15px; color: var(--ink); margin-bottom: 16px; }
.service-card li { margin-bottom: 4px; }
.service-card .more { margin-top: auto; font-weight: 600; text-decoration: none; font-size: 15px; }
.follow-on {
  margin-top: 24px;
  background: #fff;
  border: 1px dashed var(--purple);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 15px;
}
.follow-on strong { color: var(--purple); }

/* Value props / process */
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.value-prop h3, .process-step h3 { font-size: 18px; color: var(--purple); margin-bottom: 8px; }
.value-prop p, .process-step p { font-size: 15px; color: var(--muted); }
.step-number { font-size: 44px; font-weight: 700; color: var(--teal); opacity: 0.35; line-height: 1; margin-bottom: 10px; }

/* Two-column content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split p { font-size: 16px; color: var(--muted); margin-bottom: 14px; }
.split h2 { margin-bottom: 14px; }
.text-link { font-weight: 600; text-decoration: none; }
.rounded-img { border-radius: 10px; overflow: hidden; background: var(--line); }

/* Results list */
.results-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
.results-list li {
  background: #fff;
  border-radius: 8px;
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  font-size: 15px;
}
.results-list li strong { color: var(--purple); display: block; margin-bottom: 2px; }

/* Service detail (services page) */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: none; }
.service-detail h2 { font-size: 26px; color: var(--purple); margin-bottom: 8px; line-height: 1.25; }
.service-detail .format { font-size: 14px; font-weight: 700; color: var(--orange-dark); margin-bottom: 12px; }
.service-detail p { font-size: 16px; color: var(--muted); margin-bottom: 12px; }
.service-detail h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--teal); margin: 6px 0 8px; }
.service-detail ul { padding-left: 18px; margin-bottom: 14px; font-size: 15px; }
.service-detail li { margin-bottom: 4px; }
.note { font-size: 14px; color: var(--muted); font-style: italic; }

/* Audience cards */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.audience-card { background: #fff; border-radius: 8px; padding: 28px; border-top: 4px solid var(--purple); }
.audience-card h2 { font-size: 21px; color: var(--purple); margin-bottom: 8px; }
.audience-card p { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.audience-card ul { padding-left: 18px; font-size: 15px; }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 14px;
  background: #fff;
}
.faq-list summary { font-weight: 700; color: var(--purple); cursor: pointer; font-size: 17px; }
.faq-list details p { margin-top: 12px; color: var(--muted); font-size: 16px; }

/* About */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.about-photo { border-radius: 12px; overflow: hidden; background: var(--line); aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { font-size: 16px; color: var(--muted); margin-bottom: 14px; }
.about-text h2 { font-size: 24px; color: var(--purple); margin: 28px 0 10px; }
.about-text ul { padding-left: 18px; margin-bottom: 14px; }
.about-text li { margin-bottom: 6px; }
.press-list { list-style: none; padding-left: 0 !important; }
.press-list li { border-left: 4px solid var(--teal); padding: 4px 0 4px 14px; margin-bottom: 14px; color: var(--muted); }
.press-list a { text-decoration: none; color: var(--purple); }
.press-list a:hover { text-decoration: underline; }
.split p.press-line { font-size: 15px; font-style: italic; }

/* Contact */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-detail { margin-bottom: 22px; }
.contact-detail h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--teal); margin-bottom: 4px; }
.contact-detail p { font-size: 16px; color: var(--muted); }
.contact-form { background: var(--soft); border-radius: 10px; padding: 32px; }
.contact-form h2 { font-size: 22px; color: var(--purple); margin-bottom: 18px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #c9ced4;
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
  background: #fff;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-submit {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.form-submit:hover { background: var(--orange-dark); }
.form-note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.form-status { margin-top: 12px; font-weight: 600; color: var(--purple); }

/* CTA band */
.cta-section {
  text-align: center;
  padding: 56px 40px;
  background: var(--purple);
  color: #fff;
  border-radius: 10px;
  margin: 64px auto;
  max-width: 1120px;
}
.cta-section h2 { font-size: 28px; margin-bottom: 12px; }
.cta-section p { font-size: 17px; margin-bottom: 26px; opacity: 0.95; }
.cta-section .btn-row { justify-content: center; }
.cta-section .btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.cta-section .btn-secondary:hover { background: #fff; color: var(--purple); }
.cta-light { background: #fff; color: var(--purple); }
.cta-light:hover { background: #f1ecfa; }

/* Footer */
footer { background: var(--purple-dark); color: #fff; padding: 40px; font-size: 14px; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.footer-contact p { margin-bottom: 4px; opacity: 0.9; }

/* Responsive */
@media (max-width: 960px) {
  .hero-container, .split, .about-grid, .contact-container, .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { justify-self: start; max-width: 320px; }
  .photo-caption { text-align: left; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .about-photo { max-width: 320px; }
}
@media (max-width: 820px) {
  .nav-container { padding: 0 20px; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 16px; }
  .hero, .page-hero, .section, .proof { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 48px; padding-bottom: 48px; }
  .hero h1 { font-size: 32px; }
  .page-hero h1 { font-size: 30px; }
  .services-grid, .three-col, .audience-grid, .results-list { grid-template-columns: 1fr; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .cta-section { margin: 40px 20px; padding: 40px 24px; }
}
@media (max-width: 420px) {
  .nav-actions .cta-button { display: none; }
  .proof-item strong { font-size: 24px; }
}

/* Plain-language service cards */
.service-card .need { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.35; }
.service-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--purple); margin-bottom: 8px; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.card-foot .format { font-size: 13px; font-weight: 700; color: var(--orange-dark); text-transform: uppercase; letter-spacing: 0.6px; margin: 0; }
.card-foot .more { margin-top: 0; }
.start-here { margin-top: 16px; font-size: 16px; color: var(--muted); }

/* About TEDV */
.who-we-are p { max-width: 860px;
 }
.who-we-are p { font-size: 17px; color: var(--muted); margin-bottom: 14px; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.team-member { scroll-margin-top: 90px; }
.member-name { font-weight: 700; color: var(--purple); font-size: 18px; margin-top: 14px; }
.member-title { color: var(--orange-dark); font-weight: 600; font-size: 15px; }
.link-row { display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 820px) { .values-grid { grid-template-columns: 1fr; } }
.belief { max-width: 860px; border-left: 4px solid var(--orange); padding-left: 24px; }
.belief p { font-size: 20px; line-height: 1.55; color: var(--ink); margin-bottom: 12px; }
.belief strong { color: var(--purple); }
@media (max-width: 820px) { .belief p { font-size: 18px; } }
.service-detail .need { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.35; }
