body {
  margin: 0;
  font-family: "Noto Sans", sans-serif;
    padding-top: 128px; /* matches the max header height */
}

header {
  width: 100%;
  height: 128px;
  background-color: #011451;
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.logo {
  height: 64px;
}

.page-title {
  font-family: "Noto Sans", sans-serif;
  color: #011451;
  font-size: 2.4rem;
  line-height: 2.4rem;
  font-weight: 900; /* lighter weight for that clean, semi-bold effect */
  text-transform: uppercase;
  margin: 1rem 0 1rem 3rem;
}
.info-box {
  background-color: #ededed;
  padding: 2rem 1rem;
  margin: 0 3rem 2rem;
}

.subtitle {
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 2rem;
  margin: 0 0 1.5rem 0;
  padding: 0;
  color: #011451;
  background: none;
  font-weight: bold;
}

.section-container {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.section-block {
  flex: 1;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: white;
  font-family: "Noto Sans", sans-serif;
}

/* Keep original background colors */
.section-one {
  background-color: #005398;
}

.section-two {
  background-color: #5b4d94;
}

.section-three {
  background-color: #4f5961;
}

.section-four {
  background-color: #951272;
}

.section-five {
  background-color: #011451;
}


/* Top third (image area) */
.section-top {
  height: 150px;
  overflow: hidden;
}

.section-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bottom two-thirds (content area) */
.section-bottom {
  min-height: 300px;
  height: auto;
  padding: 1rem 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Title formatting */
.section-title {
  font-weight: 400;
  padding: 0;
  margin: 0;
  margin-bottom: 1rem;
  line-height: 1.8rem;
  font-size: 1.6rem;
  color: #fff;
}

/* Filler text formatting */
.section-text {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}



.uog-footer {
  background-color: #ededed;
  margin: 0 auto !important;
  padding: 2rem;
  padding-bottom: 2rem;
  font-family: "Noto Sans", sans-serif;
}

.footer-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem; /* Tight horizontal padding */
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}


/* Individual Column Styles */
.footer-column {
  flex: 1 1 220px;
  min-width: 200px;
}

/* Section Headers */
.footer-column h2 {
  margin-top: 1.4rem;
  margin-bottom: 12px;
  padding: 0;
  font-family: "Noto Sans", sans-serif;
  font-size: 1.2rem;
  line-height: 1.5rem;
  font-weight: 400;
  color: #011451;
  text-transform: uppercase;
}

.footer-column h2 a {
  text-decoration: none;
  color: #011451;
}

/* List Styles */
.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  font-size: clamp(12px, 1vw + 14px, 16px);
  line-height: 1.5;
  color: #011451;
  margin-bottom: 0px;
  padding: 0;
}

/* Link Styles */
.footer-column li a {
  color: #011451;
  text-decoration: none;
}

.footer-column li a:hover {
  text-decoration: underline;
}

/* Focus States for Accessibility */
.footer-column li a:focus {
  box-shadow: 0 0 0px 1px #fff;
}

footer#footerNav {
  background-color: #ffffff;
  margin: 0;
  padding: 2rem;
  font-family: "Noto Sans", sans-serif;
}
footer#footerNav h2 {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.6rem;
  margin-top: 1.4rem;
  color: #011451;
}
footer#footerNav h2 a {
  color: #011451;
  text-transform: uppercase;
  text-decoration: none;
}
footer#footerNav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer#footerNav ul li {
  color: #011451;
  margin: 0;
  padding: 0;
}
footer#footerNav ul li a {
  color: #011451;
  text-decoration: none;
}
footer#footerNav ul li a:focus {
  box-shadow: 0 0 0px 1px #fff;
}
footer#footerNav .social.list-inline li {
  width: 40px;
  display: inline-block;
}
#footer-badges {
  margin-top: 2rem;
  text-align: center;
}
#footer-badges img {
  max-width: 100%;
  height: auto;
}


.footer-column #footer-badge {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 1.5rem; /* This adds space above the image */
}

/* Default Header */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 128px;
  max-height: 128px;
  background-color: #011451;
  transition: all 0.3s ease;
  z-index: 9999;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Default Logo (marque.svg) */
#main-logo {
  max-height: 128px;
  margin: 1.8rem;
}

/* Shrunk Header on Scroll */
#site-header.scrolled {
  height: 64px;
  background-color: #011451;
}

/* Shrunk Logo (ug-keyline.svg) */
#site-header.scrolled #main-logo {
  content: url("../img/ug-keyline.svg");
  height: auto;
  max-height: 64px;
  max-width: 100%;
  margin: 0 1rem;
}

.login-form {
  margin: 30px auto 0 auto; /* top margin + horizontal centering */
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  width: 100%;
}


.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.login-button {
  padding: 10px;
  font-size: 1rem;
  background-color: #2e86de;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background-color: #006630;
}

/* Section 1 Layout - Grid (For Larger Screens) */
.section1 {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* Three columns */
    grid-template-rows: 1fr 1fr; /* Two rows */
    gap: 20px;
    padding-top: 70px; /* To avoid header overlap */
    position: relative;
    height: calc(100vh - 70px); /* Full height minus header */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.standard-button {
    width: 100%; /* Each button takes 100% width of its container */
    height: 40px; /* Adjust button height */
    background-color: #2e86de;
    color: white;
    cursor: pointer;
    padding: 5px 10px; /* Adjust button padding */
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
    box-sizing: border-box;
    border: 0px solid black;
    flex-shrink: 0; /* Prevent the buttons from shrinking */
    margin: 0; /* Remove extra margins */
    margin-top: 10px; /* Remove top margin to ensure no space */
    border-radius: 6px;
    outline: none;
}

.standard-button:hover {
    background-color: #006630;
    color: white;
}

@media (max-width: 768px) {
  .section-container {
    flex-direction: column;
  }

  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-column {
    flex: 1 1 100%;
    min-width: unset;
  }

  .section-bottom {
    height: auto; /* Allow sections to expand as needed */
  }

  .section-top {
    height: 200px; /* Slightly taller for better visual on mobile */
  }

  .login-form {
    max-width: 100%;
    padding: 0 1rem; /* Adds equal left and right padding */
    box-sizing: border-box; /* Ensures padding doesn't overflow */
  }

  .page-title {
    margin-left: 1rem;
    margin-right: 1rem;
    font-size: 1.8rem;
    text-align: left; /* Force left alignment */
  }

  .info-box {
    margin: 0 1rem 2rem;
    padding: 1.5rem 1rem;
  }
}
