/* ==== General ==== */

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

html {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  color: #000000;
  background-color: #f8f9fa;
}

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

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

header {
  background: #000000;
  color: #fff;
  padding: 1rem 0;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav a.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}

nav ul li a:hover {
  color: #1abc9c;
}

/* ==== Main Content ==== */

main {
  flex: 1;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* ==== Footer ==== */

footer {
  background: #000000;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  font-size: .9rem;
}

/* ==== Hero Section ==== */

.hero {
  background: url('https://upload.wikimedia.org/wikipedia/commons/6/68/Springfield%2C_MA.jpg?auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  color: #fff;
  text-shadow: 0px 0px 15px rgba(0, 0, 0, .99);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.hero h1 {
  position: relative;
  font-size: 2.8rem;
  margin-bottom: .5rem;
}

.hero p {
  position: relative;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  font-weight: bold;
}

/* ==== Section Styling ==== */

section {
  margin-bottom: 3rem;
}

section h2 {
  color: #000000;
  margin-bottom: .8rem;
}

section ul {
  padding-left: 1.2rem;
}

section ul li {
  margin-bottom: .5rem;
}

/* ==== Programs Grid ==== */

.programs {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.program-card {
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: .5rem;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,.07);
}

.program-card h3 {
  margin-top: 0;
  color: #1abc9c;
}

/* ==== About Profile ==== */

.profile {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.profile img {
  max-width: 260px;
  width: 100%;
  border-radius: .5rem;
  border: 4px solid #000000;
}

.profile .bio {
  flex: 1;
}

/* ==== Contact Form ==== */

form {
  background: #fff;
  padding: 2rem;
  border-radius: .5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

form .form-group {
  margin-bottom: 1.2rem;
}

form label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 600;
}

form input, form textarea {
  width: 100%;
  padding: .6rem .8rem;
  border: 1px solid #ccc;
  border-radius: .3rem;
  font-size: 1rem;
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form button {
  background: #1abc9c;
  color: #fff;
  border: none;
  padding: .8rem 1.6rem;
  font-size: 1rem;
  border-radius: .3rem;
  cursor: pointer;
  transition: background .2s;
}

form button:hover {
  background: #16a085;
}

/* ==== Responsive ==== */

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: .5rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 4rem 1rem;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }
}

