/* Base styles extracted from pages */
html,
body {
  height: 100%;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background-image: linear-gradient(to bottom, #ffffff, #f0f0f0);
  color: #032B44;
  margin: 0;
  padding: 0;
}

.container {
  width: 80%;
  margin: auto;
  overflow: hidden;
}

nav .container {
  cursor: default;
}

header {
header .container {
    position: relative;
}

.logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 200px; /* adjust the width to fit your logo */
    height: auto;
}

header h1 {
    margin-left: 120px; /* adjust the margin to fit your logo width */
}
  background: linear-gradient(rgba(200, 200, 200, 0.2), rgba(200, 200, 200, 0.2)), #032B44;
  padding: 26px 20px 32px;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

header h1 {
	
  margin: 0;
  color: #ffffff;
}

header p {
  color: #ffffff;
  font-weight: bold;
}

nav {
  background: #032B44;
  color: #ffffff;
  padding: 15px 0;
  text-align: center;
  cursor: default;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 98px;
  left: 0;
  right: 0;
  z-index: 1000;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 5px;
  cursor: pointer;
  display: inline-block;
 100px;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

nav a:hover {
  background-color: #FFA07A;
  color: #032B44;
  cursor: pointer;
}

nav a.active {
  background-color: #FFA07A;
  color: #032B44;
  border-radius: 6px;
  cursor: pointer;
}

.content {
  padding: 20px;
  background: #ffffff;
  margin-top: 20px;
  padding-bottom: 100px;
}

footer {
  background: #032B44;
  color: #ffffff;
  text-align: center;
  padding: 10px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.image-container img {
  width: 100%;
  max-width: 280px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #032B44;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.team-member {
  flex: 0 0 calc(25% - 30px);
  min-width: 180px;
  max-width: 200px;
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: #333;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #032B44;
}

.map-container iframe {
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-container form {
  display: inline-block;
  text-align: left;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: #333;
}

.contact-sections {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-sections .map-container,
.contact-sections .form-container {
  flex: 0 1 420px;
  height: 350px;
  display: flex;
  flex-direction: column;
}

.contact-sections .map-container iframe {
  width: 100%;
  height: 85%;
  flex-grow: 1;
}

.contact-sections .form-container form {
  height: 85%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact-sections .form-container textarea {
  flex-grow: 1;
  width: 100%;
  box-sizing: border-box;
  resize: none;
  margin-bottom: 10px;
}

.form-container input[type="submit"] {
  padding: 10px 20px;
  font-size: 1.1em;
  background-color: #FFA07A;
  color: #032B44;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.form-container input[type="submit"]:hover {
  background-color: #FFC499;
}

.staff-gallery {
  background: #fff;
  padding: 20px;
  margin-top: 20px;
  padding-bottom: 100px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  flex: 1 0 auto;
}

.staff-gallery h2 {
  margin-top: 0;
  color: #333;
}

.team-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.team-heading {
  margin-bottom: 10px;
  text-align: left;
  align-self: flex-start;
  width: 100%;
}

.principal-info {
  margin-top: 10px;
  text-align: center;
  width: 100%;
}

.principal-info p {
  margin: 0;
  font-size: 0.9em;
  color: #333;
  background-color: #fff;
  padding: 8px 15px;
  border-radius: 6px;
  display: inline-block;
}

.banner {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #032B44;
  margin-top: 158px;
}

.banner-track {
  display: flex;
  width: max-content;
  animation: banner-scroll 30s linear infinite;
}

.banner:hover .banner-track {
  animation-play-state: paused;
}

.banner img {
  height: 220px;
  width: auto;
  flex: 0 0 auto;
  object-fit: cover;
}

@keyframes banner-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hidden {
  display: none !important;
}

/* Responsive Design - Media Queries */
@media screen and (max-width: 768px) {
  .banner {
    height: 180px;
    margin-top: 120px;
  }
  
  .banner img {
    height: 180px;
  }

  .container {
    width: 95%;
  }
  
  nav a {
    margin: 0 2px;
    padding: 6px 12px;
    font-size: 14px;
  }
  
  .content {
    padding: 15px;
    padding-bottom: 110px;
  }
  
  header {
    padding: 15px;
  }
  
  header h1 {
    font-size: 1.8em;
  }
  
  nav {
    top: 65px;
  }
}

@media screen and (max-width: 480px) {
  .banner {
    height: 140px;
    margin-top: 110px;
  }
  
  .banner img {
    height: 140px;
  }

  nav a {
    margin: 0 1px;
    padding: 4px 8px;
    font-size: 12px;
  }
  
  header h1 {
    font-size: 1.5em;
  }
  
  header p {
    font-size: 14px;
  }
  
  .content {
    padding: 10px;
    padding-bottom: 110px;
  }
  
  .container {
    width: 98%;
  }nav {
  top: 60px;
}
}

@media screen and (max-width: 360px) {
.banner {
  height: 120px;
  margin-top: 100px;
}

.banner img {
  height: 120px;
}

nav {
  padding: 10px 0;
  top: 55px;
}

nav a {
  font-size: 11px;
  padding: 3px 6px;
}

header h1 {
  font-size: 1.3em;
}

.content {
  padding-bottom: 110px;
}
}

/* Ensure minimum page height for short content pages */
.banner + .content,
.banner + .staff-gallery {
min-height: 50vh;
}

/* Content section enhancements for better layout */
.content h2 {
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.content h3 {
  color: #333;
  border-bottom: 2px solid #032B44;
  padding-bottom: 5px;
  margin-top: 30px;
  margin-bottom: 15px;
}

.content h4 {
  color: #333;
  margin-top: 20px;
  margin-bottom: 10px;
}

.content p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #333;
}

.content ul {
  list-style-type: disc;
  padding-left: 30px;
  margin-bottom: 20px;
}

.content li {
  margin-bottom: 8px;
  line-height: 1.5;
  color: #333;
}