:root {
  --primary-blue: #0d233a;
  --accent-green: #4caf50;
  --bg-light: #f9f9f9;
  --text-dark: #333333;
  --container-max: 1100px;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    "Helvetica Neue",
    Arial;
  background: var(--bg-light);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-height, 72px);
}
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
  padding: 0.75rem 0;
}
.brand {
  flex: 0 0 auto;
}
.logo {
  height: 44px;
  display: block;
}
#menuToggle,
.hamburger {
  display: none !important;
}
.site-nav {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.6rem, 2vw, 1rem);
  flex-wrap: nowrap;
  margin-left: auto;
  min-width: 0;
}
.site-nav a {
  color: var(--primary-blue);
  text-decoration: none;
  padding: 0.35rem 0.3rem;
  white-space: nowrap;
  font-size: 0.95rem;
  line-height: 1;
}
.site-nav a:focus,
.site-nav a:hover {
  opacity: 0.85;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.88)),
    url("../../assets/hero-background.webp") center/cover no-repeat;
}
.hero-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-logo {
  max-width: 220px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}
.hero h1 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}
.lead {
  color: #666;
  margin-bottom: 1rem;
}
.btn-primary {
  display: inline-block;
  background: var(--accent-green);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
}
.btn-primary:focus,
.btn-primary:hover {
  opacity: 0.9;
}

/* Sections */
.section {
  padding: 1.5rem 0;
}
.about p {
  line-height: 1.6;
}

.services-grid {
  display: block;
}
.card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.card h3 {
  margin-top: 0;
}

.program-grid {
  display: block;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
}

/* Footer / Contact form */
.site-footer {
  padding: 2rem 0 2.5rem;
  background: #fff;
  border-top: 1px solid #e6e6e6;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer-logo {
  display: block;
  max-width: 180px;
  width: 100%;
  height: auto;
  justify-self: center;
  margin-inline: auto;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  max-width: 560px;
  width: 100%;
}
.contact-form label {
  display: block;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(76, 175, 80, 0.12);
  border-color: var(--accent-green);
}
.form-status {
  margin-top: 0.5rem;
  color: var(--primary-blue);
}
.footer-details {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.footer-panel {
  background: #fdfdfd;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.footer-panel h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
}
.footer-panel p {
  margin: 0;
  line-height: 1.6;
}

/* Utility */
.note {
  color: #666;
  margin-top: 1rem;
}

/* Desktop styles */
@media (min-width: 768px) {
  body {
    padding-top: var(--header-height, 78px);
  }
  .site-header {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  }
  .site-nav {
    display: flex !important;
    gap: 1rem;
    font-size: 1rem;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
    column-gap: 2rem;
    row-gap: 1.25rem;
  }
  .footer-logo {
    grid-column: 1 / -1;
  }
  .contact-form {
    max-width: none;
  }
  .footer-details {
    grid-template-columns: 1fr;
    align-self: start;
  }
  .footer-panel {
    text-align: left;
  }
}

/* Small screens tweaks */
@media (max-width: 480px) {
  :root {
    --header-height: 68px;
  }
  .header-inner {
    padding: 0.5rem 0;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }
  .site-nav {
    gap: 0.85rem;
    overflow-x: visible;
    scrollbar-width: none;
  }
  .site-nav a {
    font-size: 0.84rem;
    padding: 0.35rem 0.15rem;
  }
  .logo {
    height: 36px;
  }
  .hero h1 {
    font-size: 1.15rem;
  }
  .footer-logo {
    max-width: 150px;
  }
}
