/* General Body Styles */
body {
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  margin: 2px;
  padding: 2px;
  max-width: 98vw;
}

/* Header Styles */
header.main-header {
  background: #004aad;
  color: white;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.main-header img {
  width: 60px;
  height: auto;
  border-radius: 0; /* no curve to prevent cut */
}

/* Navigation Menu */
.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav ul li a:hover {
  color: #ffcc00;
}

/* Toggle Button (Hidden on Desktop) */
.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: none;
}

/* Responsive Menu */
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
    flex-direction: column;
    background: #004aad;
    position: absolute;
    top: 70px;
    right: 10px;
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    overflow: hidden;
  }

  .main-nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* Consistent Subheaders for all Subpages */
.subheader {
  color: #004aad;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 40px 0 20px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 3px solid #004aad;
  display: inline-block;
  padding-bottom: 8px;
  user-select: none;
}

/* About Section / Departments Container */
.about-section {
  max-width: 90vw;
  margin: 60px auto;
  background: white;
  padding: 40px 25px;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0,0,0,0.08);
  border: 3px solid #004aad;
}

/* About Section Headings */
.about-section h2 {
  text-align: center;
  color: #004aad;
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-section h3 {
  color: #004aad;
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 1.4rem;
  text-align: center;
}

/* Department list styles */
.about-section ol {
  padding-left: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.about-section ol > li {
  margin-bottom: 15px;
  line-height: 1.5;
  font-size: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

/* Department name bold, blue, with colon, inline with description */
.about-section ol > li > span.department-name {
  font-weight: bold;
  color: #004aad;
  margin-right: 6px;
  white-space: nowrap;
}

/* Contact Section Styles */
.contact {
  max-width: 600px;
  margin: 0 auto 60px auto;
  background: white;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0,0,0,0.08);
  border: 3px solid #004aad;
}

/* Contact Form */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact label {
  font-weight: 600;
  color: #004aad;
}

/* Inputs and textarea aligned and styled */
.contact input[type="text"],
.contact input[type="email"] {
  width: 80%;
  height: 45px;
  margin: 0 auto;
  display: block;
  font-size: 1.1rem;
  padding: 10px;
  border: 2px solid #004aad;
  border-radius: 6px;
  box-sizing: border-box;
}

.contact textarea {
  padding: 10px;
  border: 2px solid #004aad;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
  width: 100%;
  box-sizing: border-box;
  min-height: 100px;
}

/* Button styling */
.contact button {
  background-color: #004aad;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.contact button:hover {
  background-color: #002f75;
}

/* Social Media Links Container */
.social-links {
  text-align: center;
  margin: 20px 0 40px 0;
}

/* Social Media Icons */
.social-links a {
  display: inline-flex;
  align-items: center;
  margin: 0 12px;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: color 0.3s;
  user-select: none;
}

.social-links a:hover {
  color: #004aad;
}

.social-links img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

.social-links span {
  vertical-align: middle;
  font-size: 0.9rem;
}

/* Footer styles */
footer {
  background: #004aad;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 50px;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}
