/* Base styling */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

header {
  background-color: #008caa;
  color: white;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-circle img {
  width: 60px;
  height: 60px;
}

.school-info h1 {
  margin: 0;
  font-size: 1.4rem;
}

.school-info p {
  margin: 0;
  font-size: 0.9rem;
}

/* Navigation */
#nav-menu {
  display: flex;
  gap: 1.5rem;
}

#nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

#nav-menu a:hover {
  text-decoration: underline;
}

/* Hamburger Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 3;
}

.menu-toggle svg {
  width: 30px;
  height: 30px;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .header-content { flex-wrap: wrap; }
  .menu-toggle { display: block !important; }

  #nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    background-color: #008caa;
  }

  #nav-menu.show { display: flex; }

  #nav-menu a {
    display: block;
    padding: 0.5rem 0;
  }
}

/* Global spacing improvements */
section {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* ===== Sleek Footer ===== */
.site-footer {
  background: linear-gradient(135deg, #0f6e7c, #0b5b66);
  color: #f8fafc;
  margin-top: 3rem;
}

.site-footer .bar {
  height: 4px;
  background: linear-gradient(90deg, #12c2e9, #17a2b8, #0ea5a6);
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-column h4 {
  font-size: 1.05rem;
  letter-spacing: .02em;
  margin: 0 0 .75rem;
  color: #a7f3d0;
}

.footer-text {
  opacity: .95;
  margin: .25rem 0;
  line-height: 1.5;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li { margin-top: .5rem; }

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #ffffff;
  text-decoration: none;
  padding: .25rem 0;
  border-radius: 6px;
  transition: transform .15s, box-shadow .15s, color .15s;
}

.footer-link::before {
  content: "›";
  font-weight: 700;
  opacity: .9;
  translate: 0 -1px;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #d1fae5;
  transform: translateX(2px);
  box-shadow: 0 0 0 3px rgba(23,162,184,.25);
  outline: none;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #d1fae5;
  text-decoration: underline;
  outline: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18);
  text-align: center;
  padding: 1rem 1.25rem 2rem;
  color: #e5f4f6;
  font-size: .95rem;
}

/* Adjust column layout for better alignment */
.footer-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.2rem;
}

.footer-links-col { margin-left: 2rem; }

/* Responsive footer */
@media (max-width: 768px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links-col { margin-left: 0; }
}

/* =========================================================
   CONTACT PAGE — wider, modern card + inputs
   ========================================================= */
.contact-grid {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* form | info */
  gap: 2rem;
}

.contact-form-container {
  background: #ffffff;
  padding: 2rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
  color: #008caa;
  border-bottom: 2px solid #008caa;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.4rem;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1.1rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #008caa;
  box-shadow: 0 0 0 3px rgba(0, 140, 170, 0.18);
  outline: none;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
  background-color: #008caa;
  color: #fff;
  border: none;
  padding: 0.95rem 1rem;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .25s, transform .15s, box-shadow .15s;
  box-shadow: 0 8px 16px rgba(0, 140, 170, .25);
}

.contact-form button:hover {
  background-color: #007697;
  transform: translateY(-2px);
}

/* Contact page layout improvements */
.contact-page .grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* form wider than info */
  gap: 2.5rem;
  align-items: start;
}

.contact-page .card {
  padding: 2.5rem;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-page form { display: grid; gap: 1.25rem; }

.contact-page input,
.contact-page textarea {
  font-size: 1rem;
  padding: 1rem;
}

.contact-page textarea { min-height: 180px; }

.contact-page .btn {
  width: 100%;
  font-size: 1rem;
}

/* Make it stack on smaller screens */
@media (max-width: 900px) {
  .contact-page .grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Optional card for the contact info / quick links on the right */
.contact-side-card {
  background: #ffffff;
  padding: 1.5rem 1.75rem;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.contact-side-card h3 {
  margin-top: 0;
  color: #008caa;
}

/* Slightly taller message box on desktop */
@media (min-width: 901px) {
  .contact-page textarea { min-height: 220px; }
}

/* ===== Links: blue in content, white in header/footer ===== */

/* In-page links (content area) */
main a {
  color: #008caa;
  text-decoration: underline;
}
main a:hover,
main a:focus-visible {
  color: #006d85;
  text-decoration: none;
}

/* If .footer-link is reused inside the contact card, force blue */
.contact-side-card a,
.contact-side-card .footer-link {
  color: #008caa !important;
  text-decoration: underline;
}
.contact-side-card .footer-link:hover,
.contact-side-card a:hover {
  color: #006d85 !important;
  text-decoration: none;
}

/* Keep header and footer links white for contrast */
header a,
.site-footer a,
.site-footer .footer-link {
  color: #fff;
  text-decoration: none;
}
header a:hover,
.site-footer a:hover,
.site-footer .footer-link:hover {
  color: #d1fae5;
  text-decoration: underline;
}

/* Also make links in generic cards adopt brand color */
.card a { color: #0b7c91; text-decoration: underline; }
.card a:hover { color: #085e6e; }
