/* === Start of Base CSS === */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;

  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  line-height: 1;
}

/* main content grows to push footer down */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* === End of Base CSS === */








/* === Start of Top Black Header === */

.site-header {
  width: 100%;
}

.site-header__top {
  background: #000;
  display: flex;
  align-items: center;
  min-height: 25px;
  padding: 0px 0;
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.site-header__left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 15px;
}

.site-header__logo {
  height: 15px;
  width: 40px;
}

.site-header__title,
.site-header__service-link,
.site-header__search {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

.site-header__title {
  padding-left: 10px;
}

.site-header__service-link a,
.site-header__search a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.site-header__service-link a:hover,
.site-header__search a:hover {
  text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .site-header__inner {
    justify-content: flex-start;
  }

  /* Hide extras on mobile */
  .site-header__title,
  .site-header__right,
  .site-header__divider,
  .site-header__left span {
    display: none;
  }
}

/* === End of Top Black Header === */

















/* === Start of White Site Banner === */

.site-banner {
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.site-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.site-banner__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* === Columns === */

/* Left Column */
.site-banner__left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  min-width: 260px;
}

/* Center Column */
.site-banner__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
}

/* Right Column */
.site-banner__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  min-width: 260px;
  text-align: right;
  font-size: 14px;
  padding-right: 10px;
  gap: 4px;
}

/* === Elements === */

.site-banner__logo img {
  height: auto;
  width: auto;
  display: block;
  margin: 0 auto;
  max-width: 60px;
  padding-top: 4px;
  padding-bottom: 4px;
  height: auto;
}

.site-banner__tagline {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.site-banner__title-container h1 {
  font-size: 22px;
  color: #0080a9;
  font-weight: bold;
  margin: 0;

}

/* Return Program link below Google Translate */
.site-banner__program-page a {
  font-size: 13px;
  color: #0080a9;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-banner__program-page a:hover {
  text-decoration: underline;
  color: #006f92;
}

/* === Google Translate Widget === */
.language-selector {
  display: block;
  margin-top: 0px;
  text-align: right;
}

.language-selector .goog-te-gadget-simple {
  border: none;
  font-weight: bold;
}

.language-selector .goog-te-gadget-icon {
  display: none;
}

.language-selector .goog-te-gadget-simple span {
  color: #666;
}

.language-selector .goog-te-gadget-simple span:hover {
  color: #000;
}

/* Hide mobile program link by default */
.site-banner__program-page--mobile {
  display: none;
}













/* === RESPONSIVE ADJUSTMENTS === */

/* Large Phones (481px - 768px) - 75% size */
@media (max-width: 600px) {

  .site-banner {
    padding-top: 0px;
    padding-bottom: 1px;
  }

  .site-banner__inner {
    padding: 0px 12px;
  }

  .site-banner__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  .site-banner__tagline {
    display: none;
  }

  .site-banner__right .site-banner__program-page {
    display: none;
  }

  .site-banner__left {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    text-align: left;
    margin-bottom: 0px;
    min-width: unset;
  }

  .site-banner__program-page--mobile {
    display: block;
    margin-top: 0px;
    text-align: left;
  }

  .site-banner__program-page--mobile a {
    font-size: 11px;
  }

  .site-banner__center {
    width: 70%;
  }

  /* Scale logo to 75% */
  .site-banner__logo img {
    transform: scale(0.6);
    transform-origin: center;
  }

  /* Scale title to 75% */
  .site-banner__title-container h1 {
    font-size: 16.5px;
    margin: 0;
  }

  .site-banner__right {
    position: absolute;
    top: 2px;
    right: 8px;
    min-width: unset;
    flex: none;
    padding-right: 0;
    gap: 0px;
  }

  /* Scale Google Translate */
  .language-selector {
    font-size: 11px;
  }

  .language-selector .goog-te-gadget-simple {
    font-size: 11px;
  }
}




/* === End of White Site Banner === */








/* === Start of Tab Section === */

.tab-container {
  width: 100%;
  background-color: #ffffff;
  font-size: 15px;
}

.tab-header {
  /* display: flex;
  border-bottom: 2px solid #ddd;
  background-color: #f8f9fa; */
  display: flex;
  justify-content: center; /* CENTER tabs */
  align-items: stretch;
  gap: 2px;
  border-bottom: 2px solid #ddd;
  background-color: #0080a9;
}

.tab-button {
  /* flex: 1 1 auto; */
  flex: 0 0 auto; /* doesn't stretch the tabs */
  /* padding: 8px 10px; */
  padding: 8px 16px;
  background: none;
  border: none;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  border-right: 1px solid #e0e0e0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.2;
}

.tab-button.active {
  background-color: #0d3e4e;
  color: #ffffff;
  border-bottom: 3px solid #002d72;
}

.tab-button:last-child {
  border-right: none;
}

.tab-button:hover:not(.active) {
  background-color: #0d3e4e ;
  color: #ffffff;
  font-size: 15px;
}

.tab-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Tabs for each section */
.tab-content {
  display: none;
  background: #fff;
  min-height: calc(100vh - 220px);
  border: 1px solid #ddd;
  border-top: none;
}

.tab-content.active {
  display: block;
}

/* === RESPONSIVE - Tablets === */
@media (max-width: 768px) {
  .tab-button {
    font-size: 14px;
    padding: 7px 8px;
    flex: 1 1 auto;
  }
}

/* === RESPONSIVE - Large Phones === */
@media (max-width: 600px) {
  .tab-button {
    padding: 6px 6px;
    font-weight: 500;
    flex: 1 1 auto;
  }

}

/* === RESPONSIVE - Small Phones === */
@media (max-width: 480px) {
  .tab-header {
    border-bottom: 1px solid #ddd;
  }

  .tab-button {
    padding: 5px 3px;
    font-weight: 500;
    flex: 1 1 auto;
  }

  .tab-content {
    min-height: 400px;
  }
}

/* === End of Tab Section === */







/* === Start of Footer === */

.site-footer {
  background-color: #000;
  color: #fff;
  width: 100%;
  font-size: 10px;
  height: 60px;
  display: flex;
  align-items: center;
}

.site-footer__container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.site-footer__logo {
  width: 93px;
}

.site-footer__copyright {
  width: 220px;
  height: 42px;
  line-height: 1.2;
  display: flex;
  align-items: center;
}

.site-footer__copyright p {
  white-space: normal;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .site-footer__container {
    gap: 8px;
    /* small space between logo and text */
    padding: 8px 4px;
    /* add a little breathing room */
  }

  .site-footer__logo {
    width: 60px;
    height: auto;
    /* slightly smaller logo for mobile */
    flex-shrink: 0;
    /* prevent logo from squishing */
  }

  .site-footer__copyright {
    width: auto;
    height: auto;
    line-height: 1;
  }
}

/* === End of Footer === */