/* ---------- Basic Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- Global Styles ---------- */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
  background: #dcdddf;
  line-height: 1.6;
}

/* ---------- Header ---------- */
header {

    background-image: url('images/header-bg.jpg'); /* path to your image */
    background-size: cover;      /* makes the image cover the entire header */
    background-position: center; /* centers the image */
    background-repeat: no-repeat; /* prevents tiling */
  /*  height: 12rem;               set a height for the header */

padding: 6rem 2rem;

  /* background: #fff; */
  color: #5ba4e3;
  padding: 1rem;
  text-align: center;
  position: relative;
}

header h1 {
  margin-bottom: 0.5rem;
  font-size: 5rem;
}

/* Hide the checkbox itself */
#menu-toggle {
  display: none;
}

/* The menu icon (☰) */
.menu-icon {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
  background: #5ba4e3;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: #fff;
  user-select: none;
}

/* ---------- Navigation ---------- */
nav {
  margin-top: 0.5rem;
}

nav a {
  color: #2447ec;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 600;
}

nav a:hover,
nav a.active {
  text-decoration: underline;
}

/* ---------- Main Content ---------- */
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.intro img {
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 6px;
}

.content ul {
  margin-top: 1rem;
  list-style-type: none;
}

.content li {
  background: #e8f0ff;
  margin: 0.3rem 0;
  padding: 0.5rem;
  border-radius: 4px;
}

/* ---------- New Two-Column Section ---------- */
.about {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

/* ---------- Footer ---------- */
footer {
  background: #5ba4e3;
  color: #fff;
  text-align: center;
  padding: 0.8rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* ---------- Responsive Design ---------- */

/* Tablets and smaller laptops */
@media (max-width: 900px) {
  header h1 {
    font-size: 1.8rem;
  }

  nav a {
    margin: 0 0.5rem;
  }

  main {
    margin: 1.5rem;
  }

  .about {
    gap: 1rem;
  }
}

/* Phones and small devices */
@media (max-width: 600px) {
  header {
    padding: 0.8rem;
  }

  header h1 {
    font-size: clamp(2rem, 5vw, 5rem);
  }

  /* Show the menu icon and hide nav by default */
  .menu-icon {
    display: block;
    margin: 0.5rem auto;
  }

  nav {
    display: none;
    flex-direction: column;
    background: #5ba4e3;
    padding: 0.5rem 0;
    border-radius: 4px;
  }

  nav a {
    display: block;
    padding: 0.5rem;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  /* Show menu when checkbox is checked */
  #menu-toggle:checked + .menu-icon + nav {
    display: flex;
  }

  /* Stack two-column layout vertically */
  .about {
    flex-direction: column;
  }

  main {
    margin: 1rem;
    padding: 0.8rem;
  }

  .content li {
    font-size: 0.95rem;
  }
}
/* ---------- Contact Page Styles ---------- */
.contact-section {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #004b8d;
}

.contact-section p {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #444;
}

/* Form layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #004b8d;
  outline: none;
  box-shadow: 0 0 4px rgba(0, 75, 141, 0.3);
}

/* Submit Button */
.contact-form button {
  background: #004b8d;
  color: #fff;
  font-size: 1.1rem;
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #0061b3;
}

/* Responsive Contact Layout */
@media (max-width: 600px) {
  .contact-section {
    margin: 1rem;
    padding: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  .contact-form button {
    font-size: 1rem;
  }
}
/* ---------- About Page Styles ---------- */

/* Hero banner */
.hero {
  background: linear-gradient(135deg, #004b8d, #0073d1);
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
  border-radius: 6px;
  margin-bottom: 2rem;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* About page two-column layout */
.about-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.about-page .about-text {
  flex: 1;
  min-width: 280px;
}

.about-page .about-text h3 {
  color: #004b8d;
  margin-bottom: 1rem;
}

.about-page .about-text p {
  margin-bottom: 1rem;
  color: #444;
}

.about-page .about-image {
  flex: 1;
  min-width: 280px;
}

.about-page .about-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

/* Mission section */
.mission {
  text-align: center;
  padding: 2rem 1rem;
  background: #f0f5ff;
  border-radius: 6px;
}

.mission h3 {
  color: #004b8d;
  margin-bottom: 1rem;
}

.mission p {
  max-width: 600px;
  margin: 0 auto;
  color: #333;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .hero {
    padding: 2rem 1rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .about-page {
    flex-direction: column;
    text-align: center;
  }

  .about-page .about-image {
    order: -1; /* image first on mobile */
  }

  .mission {
    padding: 1.5rem 1rem;
  }
}
