/* Global styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }
body { min-height: 100vh; }

body {
  font-family: 'League Spartan', sans-serif;
  font-size: 15pt;
  font-weight: 300;
  line-height: 1.4;
  background: linear-gradient(to bottom, #6DB3CD 0%, #ebf5fc 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* White column container */
.container {
  background: #fff;
  width: 100%;
  max-width: 1000px;
  min-height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Logo */
header.logo { padding: 20px; text-align: center; flex-shrink: 0; }
header.logo img { width: 100%; max-width: 400px; height: auto; }

/* Navigation */
nav.nav {
  position: sticky;
  top: 0;
  background: #fff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  z-index: 100; flex-shrink: 0;
}
nav .menu {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 10px;
}
nav .menu li { margin: 0 20px; }
nav .menu a {
  text-decoration: none;
  color: #333;
  font-weight: 300;
  text-transform: uppercase;
}
nav .menu a.active {
  color: #4E89A2;
  font-weight: 600;
}

/* Hamburger */
.menu-toggle {
  background: transparent;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 15pt;
  padding: 10px;
  cursor: pointer;
  font-family: inherit;
  color: #333;
}
@media (max-width: 768px) {
  nav .menu { display: none; flex-direction: column; }
  .menu-toggle {
    display: block;
    margin: 0 auto;
  }
  nav.nav { text-align: center; }
  footer {
    flex-wrap: wrap;           /* allow items to wrap to new lines */
    justify-content: flex-start; /* we’ll control alignment per item */
  }

  footer .logos {
    /* logos go full-width on their own row */
    order: 0;
    width: 100%;
    margin-bottom: 1em;        /* space before the texts */
    justify-content: center;   /* center the two logos within their row */
  }

  footer .footer-left,
  footer .footer-right {
    /* both text items share the second row */
    order: 1;
    width: 50%;                /* each takes half the line */
    margin-top: 0;             /* reset any vertical spacing */
  }

  /* align them to the left and right edges */
  .footer-left  { text-align: left;  }
  .footer-right { text-align: right; }
}

@media (min-width: 769px) {
  .menu-toggle { display: none; }
  nav .menu { display: flex; }
}

/* Hero image + attribution (index.html) */
.hero-wrapper { position: relative; flex-shrink: 0; }
.hero-img { width: 100%; height: auto; display: block; }
.attribution {
  text-align: right;
  font-size: 0.8em;
  color: #666;
  padding: 5px 5% 0;
}

/* Profile image (about.html) */
.profile {
  display: block;
  width: 263px;
  height: 310px;
  margin: 20px auto;
  object-fit: cover;
}

/* Content */
.content {
  flex: 1;
  padding: 20px 5%;
  color: #333;
  line-height: 1.2;
}
.content p { margin-bottom: 1em; }
.content ul { margin-left: 2em; margin-bottom: 1em; }
.content h1, .content h2 {
  font-size: inherit;
  font-weight: 300;
  text-transform: uppercase;
  color: #4E89A2;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.content table {
  margin-bottom: 1em;
}

.content table td {
  padding-right: 1em;
  font-weight: 400;
}

.content .faq-item {
  padding-bottom: 0.5em;
  border-bottom: 1px solid #e6eef0;
}

.content .faq-item:last-of-type {
  padding-bottom: 0.5em;
  border-bottom: none;
}

.content img.map {
  max-width: 100%;
}

.content p span#mobile a, .content p span#email a {
  color:       #4E89A2;
  font-weight: 400;
  text-decoration: none;           /* remove default underline */
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ddd;
  padding: 20px;
  flex-shrink: 0;
}
footer .logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
}
footer .logos img { max-height: 60px; height: auto; }
footer p { font-size: 0.8em; color: #666; margin-top: 5px; }
