/* Toronto Employment and Training Network — torontoemploymentnetwork.ca */

:root {
  --red: #E10B0A;
  --red-dark: #b90908;
  --navy: #1C2539;
  --pink: #FFEEEF;
  --smoke: #F9F9F9;
  --white: #fff;
  --black: #000;
  --font: 'Red Hat Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1170px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--red);
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--black);
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--red);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 110px;
}

.brand { display: flex; align-items: center; }
.brand img {
  height: 78px;
  width: auto;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a:focus-visible { border-bottom-color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  padding: 8px;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--pink) url('assets/hero.webp') center/cover no-repeat;
  padding-block: 96px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 238, 239, .82);
}
.hero .container { position: relative; }

.hero-copy { max-width: 854px; margin-left: auto; }
.hero-copy h1 {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--black);
}
.hero-copy p {
  margin: 0 0 28px;
  font-size: 20px;
  color: var(--navy);
}

/* ---------- About ---------- */

.about { background: var(--smoke); padding-block: 72px; }
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about p { font-size: 18px; }

.check-list { list-style: none; margin: 26px 0; padding: 0; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
}
.check-list svg { flex: none; width: 22px; height: 22px; fill: var(--red); }

.about-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* ---------- Services ---------- */

.services { background: var(--red); padding-block: 72px; }
.services .section-head { text-align: center; margin-bottom: 40px; }
.services .eyebrow { color: var(--white); opacity: .9; }
.services .section-title { color: var(--white); font-size: 32px; }

.service-list { display: grid; gap: 24px; }

.service {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  background: var(--smoke);
  border-radius: 10px;
  padding: 32px;
}
.service img { width: 64px; height: auto; }
.service h3 {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 700;
  color: var(--navy);
}
.service p { margin: 0 0 16px; font-size: 17px; }
.service .read-more {
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
}
.service .read-more:hover { text-decoration: underline; }

/* ---------- Team ---------- */

.team { background: var(--smoke); padding-block: 72px; }
.team .section-title { text-align: center; font-size: 30px; margin-bottom: 40px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card { text-align: center; }
.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
}
.team-card h3 { margin: 0; font-size: 22px; font-weight: 700; color: var(--black); }

/* ---------- FAQ ---------- */

.faq { background: var(--red); padding-block: 72px; }
.faq .section-title { color: var(--white); text-align: center; margin-bottom: 36px; }

.faq-list { max-width: 1110px; margin-inline: auto; display: grid; gap: 14px; }

.faq-item {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  font-size: 26px;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
}
.faq-item[open] summary::after { content: '\2013'; }
.faq-item p { margin: 0; padding: 0 24px 22px; font-size: 17px; }

/* ---------- Testimonials ---------- */

.testimonials { background: var(--white); padding-block: 72px; }
.testimonials .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.testimonials blockquote {
  margin: 0;
  font-size: 18px;
  color: var(--navy);
}
.testimonial-media img { width: 100%; border-radius: 10px; }

/* ---------- Contact ---------- */

.contact { background: var(--smoke); padding-block: 72px; }
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact .section-title { font-size: 26px; }
.contact-line {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}
.contact-line:last-child { margin-bottom: 0; }
.contact a { color: var(--red); }
.contact-map img { width: 100%; border-radius: 10px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--white); padding-block: 40px; border-top: 1px solid #e5e7eb; }
.site-footer .container {
  display: grid;
  grid-template-columns: 267px 1fr 296px;
  gap: 32px;
  align-items: center;
}
.site-footer img { width: 200px; height: auto; }
.footer-details { margin: 0; font-size: 15px; }
.footer-details a { color: var(--red); }
.footer-legal { text-align: right; font-size: 14px; color: #6b7280; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .about .container,
  .testimonials .container,
  .contact .container { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .container { grid-template-columns: 1fr; text-align: center; }
  .site-footer img { margin-inline: auto; }
  .footer-legal { text-align: center; }
  .hero-copy { margin-left: 0; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--red);
    padding: 8px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px var(--gutter); border-bottom: 0; }
  .site-nav .container { position: relative; }

  .brand img { height: 56px; }

  .hero { padding-block: 64px; }
  .hero-copy h1 { font-size: 30px; }
  .hero-copy p { font-size: 18px; }
  .section-title, .services .section-title { font-size: 25px; }
  .service { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .team-grid { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 18px; padding: 16px 18px; }
  .faq-item p { padding: 0 18px 18px; }
}
