:root {
  --blue: #004b8d;
  --magenta: #c81056;
  --teal: #33b7a3;
  --yellow: #f7d9a6;
  --light-bg: #f6f7fb;
  --border: #e0e4f0;
  --text-main: #1b1f2a;
  --text-muted: #61667a;
  --white: #ffffff;
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.08);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --max-width: 1080px;
}

/* Global styles */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #ffffff;
  line-height: 1.5;
}

/* Layout helpers */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 1.9rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--blue);
}

.section-intro {
  margin: 0 0 2rem;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Navigation */

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--blue);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

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

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

/* Hero */

.hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 0 3.5rem;
  color: var(--white);
  background-color: var(--blue);
  background-image: url("images/fabacademy-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.80) 0%,
    rgba(0, 0, 0, 0.8) 45%,
    rgba(0, 0, 0, 0.40) 100%
  );
}

.hero-content {
  position: relative;
  padding: 2rem 0;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  margin: 0 0 0.5rem;
  color: var(--teal);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.hero-subtitle {
  margin: 0 0 1.7rem;
  max-width: 480px;
  font-size: 0.98rem;
  color: #e9edf5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background-color 0.12s ease, color 0.12s ease;
}

.btn-primary {
  background: var(--magenta);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.6);
  color: #f5f7ff;
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--blue);
}

/* Connection section */

.section-connect {
  background: var(--light-bg);
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 1.5rem 1.7rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--blue);
}

.card-connection dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.card-connection dd {
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: var(--text-main);
}

.connection-list {
  margin: 0 0 0.75rem;
}

.connection-note,
.card-timezone p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card a {
  color: var(--magenta);
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.hint {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Schedule */

.section-schedule {
  background: #ffffff;
}

.day-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: flex-start;
}

.day-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 1.6rem 1.7rem 1.9rem;
  box-shadow: var(--shadow-soft);
}

.day-header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.day-label {
  align-self: flex-start;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--magenta);
  color: var(--white);
  font-weight: 600;
}

.day-label-2 {
  background: var(--teal);
}

.day-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.day-meta {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.day-meta span + span::before {
  content: "•";
  margin: 0 0.4rem;
}

.day-description {
  margin: 0.6rem 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
}

.schedule-table th,
.schedule-table td {
  padding: 0.4rem 0.25rem;
  text-align: left;
  border-bottom: 1px solid #ecf0f6;
  vertical-align: top;
}

.schedule-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.schedule-table a {
  color: var(--magenta);
  text-decoration: none;
}

.schedule-table a:hover {
  text-decoration: underline;
}

.resources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.85rem;
}

.resources-label {
  font-weight: 600;
  color: var(--text-main);
}

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

.resources a:hover {
  text-decoration: underline;
}

/* Instructors */

.section-instructors {
  background: var(--light-bg);
}

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.instructor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.3rem 1.3rem 1.4rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--magenta), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.instructor-name {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.instructor-role {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.instructor-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.instructor-links {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.instructor-links a {
  color: var(--magenta);
  text-decoration: none;
}

.instructor-links a:hover {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.5rem 0 1.8rem;
  background: #ffffff;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Responsive */

@media (max-width: 900px) {
  .grid-2,
  .day-grid,
  .instructor-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 4rem;
  }

  .nav-inner {
    padding-inline: 1rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none; /* simple mobile nav – links still accessible by anchors in the page */
  }

  .section {
    padding: 3rem 0;
  }

  .day-card,
  .card {
    padding: 1.3rem 1.35rem 1.5rem;
  }
}
