.white-background {
  background-color: #fff;
}

.dark-blue-background {
  background-color: #05054B;
  color: #fff;
}

.blue-background {
  background-color: #126AAA;
  color: #fff;
}

.light-blue-background {
  background-color: #DFEBF8;
}

.light-green-background {
  background-color: #D6EFDE;
}

.light-pink-background {
  background-color: #FAEAF4;
}

.white-font {
  color: #fff;
}

.dark-blue-font {
  color: #05054B;
}

.blue-font {
  color: #126AAA;
}

.light-blue-font {
  color: #DFEBF8;
}

.light-green-font {
  color: #D6EFDE;
}

.light-pink-font {
  color: #FAEAF4;
}

@font-face {
  font-family: "bootssharp-light-webfont";
  src: url("../fonts/bootssharp-light-webfont.woff2") format("woff2"), url("../fonts/bootssharp-light-webfont.woff") format("woff");
}
@font-face {
  font-family: "bootssharp-regular-webfont";
  src: url("../fonts/bootssharp-regular-webfont.woff2") format("woff2"), url("../fonts/bootssharp-regular-webfont.woff") format("woff");
}
@font-face {
  font-family: "bootssharp-bold-webfont";
  src: url("../fonts/bootssharp-bold-webfont.woff2") format("woff2"), url("../fonts/bootssharp-bold-webfont.woff") format("woff");
}
body {
  font-family: "bootssharp-regular-webfont";
  color: #05054B;
}

h1 {
  font-family: "bootssharp-bold-webfont";
  font-size: 52px;
  line-height: 64px; /* 123.077% */
}
@media (max-width: 991px) {
  h1 {
    font-size: 40px;
    line-height: 54px; /* 123.077% */
    text-align: left;
  }
}

.homepage h1 {
  font-family: "bootssharp-bold-webfont";
  font-size: 40px;
  line-height: 50px; /* 123.077% */
}
@media (max-width: 991px) {
  .homepage h1 {
    font-size: 35px;
    line-height: 40px; /* 123.077% */
    text-align: left;
  }
}

h2 {
  font-family: "bootssharp-bold-webfont";
  font-size: 42px;
  line-height: 48px; /* 114.286% */
  margin-top: 2rem;
}
@media (max-width: 991px) {
  h2 {
    font-size: 32px;
    line-height: 48px; /* 114.286% */
    text-align: left;
  }
}

h3 {
  font-family: "bootssharp-bold-webfont";
  font-size: 32px;
  line-height: 40px; /* 125% */
}
@media (max-width: 991px) {
  h3 {
    font-size: 24px;
    line-height: 40px; /* 125% */
    text-align: left;
  }
}

h4 {
  font-family: "bootssharp-bold-webfont";
  font-size: 24px;
  line-height: 36px; /* 150% */
}

p {
  font-size: 18px;
  line-height: 26px; /* 133.333% */
}
@media (max-width: 991px) {
  p {
    font-size: 16px;
    line-height: 26px; /* 133.333% */
  }
}
p.small {
  font-size: 14px;
  line-height: 20px; /* 142.857% */
}
@media (max-width: 991px) {
  p.small {
    font-size: 16px;
    line-height: 36px; /* 150% */
  }
}
p.lead {
  font-size: 24px;
  line-height: 36px; /* 150% */
}
@media (max-width: 991px) {
  p.lead {
    font-size: 20px;
    line-height: 36px; /* 150% */
  }
}
p.bold {
  font-family: "bootssharp-bold-webfont";
}
p a:hover {
  text-decoration: underline;
}

a {
  color: #126AAA;
  text-decoration: none;
}

ul li p {
  line-height: 36px;
}

.navbar {
  padding: 24px 40px;
  box-shadow: none !important;
  /* Style the hamburger lines */
  /* Hide the default Bootstrap icon */
  /* Create hamburger lines using pseudo-elements */
  /* Transform to X when menu is open */
}
@media (max-width: 991px) {
  .navbar {
    padding: 10px;
  }
}
@media (min-width: 991px) and (max-width: 1200px) {
  .navbar .container {
    max-width: 100%;
  }
}
.navbar .logo {
  height: 56px;
  width: 297px;
}
@media (min-width: 991px) and (max-width: 1200px) {
  .navbar .logo {
    width: 230px;
  }
}
@media (max-width: 768px) {
  .navbar .logo {
    height: 40px;
    width: 210px;
  }
}
@media (max-width: 991px) {
  .navbar .navbar-nav li {
    padding: 0;
  }
  .navbar .navbar-nav li li {
    padding: 5px 0;
  }
  .navbar .navbar-nav li li a:hover {
    background: none;
  }
}
.navbar .navbar-nav li a {
  color: #05054B;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-left: 0;
}
@media (min-width: 991px) and (max-width: 1200px) {
  .navbar .navbar-nav li a {
    font-size: 16px;
  }
}
.navbar .navbar-nav li a:hover {
  background: none;
  color: #126AAA;
}
@media (max-width: 991px) {
  .navbar .navbar-nav {
    padding: 40px 0;
  }
}
.navbar .navbar-toggler {
  border: 0;
}
.navbar .navbar-toggler {
  border: none;
  padding: 0;
  width: 30px;
  height: 30px;
  position: relative;
}
.navbar .navbar-toggler:focus {
  box-shadow: none;
}
.navbar .navbar-toggler-icon {
  background-image: none !important;
  position: relative;
  width: 25px;
  height: 3px;
  background-color: #333;
  display: block;
  transition: all 0.3s ease;
}
.navbar .navbar-toggler-icon::before,
.navbar .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
  left: 0;
  border-radius: 20px;
}
.navbar .navbar-toggler-icon::before {
  top: -8px;
}
.navbar .navbar-toggler-icon::after {
  top: 8px;
}
.navbar .navbar-toggler[aria-expanded=true] .navbar-toggler-icon {
  background-color: transparent;
}
.navbar .navbar-toggler[aria-expanded=true] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}
.navbar .navbar-toggler[aria-expanded=true] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Custom styles for hover dropdowns on desktop */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    padding: 20px 20px;
    border-radius: 0;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
    min-width: 250px;
  }
  .navbar-nav .dropdown:hover .dropdown-menu li {
    padding: 10px 0 0 0;
  }
  .navbar-nav .dropdown:hover .dropdown-menu li:first-child {
    padding-top: 0;
  }
  .navbar-nav .dropdown:hover .dropdown-menu a {
    padding: 0;
  }
  .navbar-nav .dropdown:hover .dropdown-menu a:hover {
    color: #126AAA;
  }
  .navbar-nav .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }
  .navbar-nav .dropdown .dropdown-toggle::after {
    transition: transform 0.2s ease;
  }
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
  }
  .dropdown-menu {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    opacity: 0;
    visibility: hidden;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
}
/* Ensure mobile behavior is preserved */
@media (max-width: 991.98px) {
  .dropdown-menu {
    position: static !important;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}
@media (max-width: 991.98px) {
  .dropdown-toggle::after {
    display: none;
  }
}

.footer {
  color: black;
  border-top: 1px solid #DCE3EA;
  padding: 40px 0;
}
.footer .footer-content .footer-link-container {
  width: 100%;
  display: flex;
}
.footer .footer-content .footer-link-container .copyright {
  min-width: 122px;
  margin-right: 20px;
}
@media (max-width: 1199px) {
  .footer .footer-content .footer-link-container .copyright {
    display: block;
    min-width: 100%;
    margin-top: 20px;
  }
}
@media (max-width: 991px) {
  .footer .footer-content .footer-link-container .copyright {
    margin-top: 40px;
    text-align: left;
  }
}
@media (max-width: 767px) {
  .footer .footer-content .footer-link-container .copyright {
    margin-top: 20px;
  }
}
@media (max-width: 1199px) {
  .footer .footer-content .footer-link-container {
    flex-direction: column-reverse;
  }
}
@media (max-width: 1199px) {
  .footer .footer-content {
    flex-direction: column-reverse;
  }
}
@media (max-width: 1199px) {
  .footer .footer-logo-container {
    width: 100%;
    margin-bottom: 40px;
  }
}
@media (max-width: 991px) {
  .footer .footer-logo-container {
    margin-bottom: 20px;
  }
}
.footer .footer-logo {
  width: 220px;
}
.footer a {
  color: black;
  text-decoration: none;
  font-size: 14px;
  display: block;
}
.footer a:hover {
  color: #126AAA;
}
@media (max-width: 1200px) {
  .footer a {
    max-width: 210px;
  }
}
@media (max-width: 991px) {
  .footer a {
    font-size: 16px;
  }
}
.footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 991px) {
  .footer .footer-links {
    margin-top: 25px;
  }
}
@media (max-width: 768px) {
  .footer .footer-links {
    padding: 25px 0;
    flex-direction: column;
    width: 100%;
    text-align: left;
    margin-top: 0;
  }
}
.footer .footer-links li {
  margin: 0;
}
@media (max-width: 991px) {
  .footer .footer-links li {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .footer .footer-links li {
    align-items: left !important;
  }
}
.footer .copyright {
  vertical-align: top;
}

@media (max-width: 768px) {
  .footer-content {
    text-align: center;
  }
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    max-width: 100%;
  }
}
body {
  font-size: 18px;
}

.page-banner-image img {
  background-size: cover;
  width: 100%;
}

.title-banner {
  text-align: center;
  background-size: cover;
}
.title-banner h1 {
  padding: 40px 0;
}
@media (max-width: 991px) {
  .title-banner h1 {
    padding: 20px 0;
  }
}

.content-area {
  padding: 80px 0;
}
@media (max-width: 991px) {
  .content-area {
    padding: 40px 0;
  }
}
.content-area img {
  width: 100%;
  padding-bottom: 20px;
}

@media (max-width: 991px) {
  .justify-content-md-end {
    justify-content: flex-start !important;
  }
}

.logo-block .logo {
  display: flex;
  background: #fff;
  align-items: center;
}
.logo-block .logo a {
  border: 1px solid #D0D0D0;
  padding: 40px;
  height: 215px;
  justify-content: center;
  display: flex;
  align-items: center;
}
.logo-block .logo a:hover {
  border: 1px solid #D0D0D0;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
}
.logo-block .logo a img {
  padding-bottom: 0;
  max-width: 90%;
}
@media (max-width: 991px) {
  .logo-block .logo a img {
    max-width: 150px;
  }
}
@media (max-width: 767px) {
  .logo-block .logo a img {
    max-width: 100%;
  }
}
@media (max-width: 400px) {
  .logo-block .logo a img {
    width: 50%;
  }
}
@media (max-width: 1199px) {
  .logo-block .logo a {
    padding: 20px;
  }
}
@media (max-width: 991px) {
  .logo-block .logo a {
    padding: 20px;
    width: 100%;
  }
}
@media (max-width: 575px) {
  .logo-block .logo {
    width: 50%;
  }
}
@media (max-width: 400px) {
  .logo-block .logo {
    width: 100%;
  }
}

.counters {
  margin: 32px 0;
  background-color: #DFEBF8;
  padding: 32px;
}

.info-panels {
  margin-bottom: 32px;
}
.info-panels .info-panel {
  padding: 32px;
}
.info-panels .info-panel ul li p {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .info-panels .info-panel:nth-child(even) {
    flex-direction: column-reverse;
  }
}

.article-backline {
  text-decoration: underline;
  color: #126AAA;
}

@media (max-width: 991px) {
  .news-articles .col-lg-4 {
    margin-bottom: 20px;
  }
}
.news-articles .article {
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #05054B;
}
.news-articles .article .article-header {
  padding: 0;
}
.news-articles .article .article-header img {
  width: 100%;
  padding-bottom: 0;
}
.news-articles .article .article-body {
  padding: 20px 50px 20px 20px;
  display: flex;
  border-left: 1px solid #D0D0D0;
  border-bottom: 1px solid #D0D0D0;
  border-right: 1px solid #D0D0D0;
  background: url("../img/theme/news-icon.png") no-repeat right;
}
.news-articles .article .article-date {
  color: #B0B0B0;
  font-size: 14px;
  margin-bottom: 8px;
}
.news-articles .article:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
}

.pdf-box {
  padding: 20px;
  display: flex;
  gap: 20px;
  color: #05054B;
}
.pdf-box img {
  width: 25px;
  height: 32px;
  padding-bottom: 0;
}
.pdf-box span {
  line-height: 32px;
  font-size: 16px;
}
.pdf-box span:hover {
  color: #126AAA;
  text-decoration: underline;
}

.copyright-links {
  padding-left: 0;
}
.copyright-links li {
  list-style: none;
}

.gov-list li {
  margin-bottom: 10px;
}

.timeline {
  position: relative;
  padding-left: 60px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #126AAA;
  border-radius: 2px;
}

.timeline-period {
  position: relative;
  margin-bottom: 6rem;
  bottom: 18px;
}

.timeline-period-title {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-period-title h2 {
  font-size: 3rem;
  font-weight: bold;
  color: #05054B;
  margin: 0;
}

.timeline-period-title::before {
  content: "";
  position: absolute;
  left: -46px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: #007bff;
  border-radius: 50%;
}

.timeline-events {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .timeline-events {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .timeline-events {
    grid-template-columns: repeat(3, 1fr);
  }
}
.timeline-card {
  background: white;
  overflow: hidden;
  background: #DFEBF8;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: solid 1px #DFEBF8;
}
.timeline-card img {
  padding-bottom: 0;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
}

.timeline-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.timeline-card-body {
  padding: 1.5rem;
  background-color: #DFEBF8;
}

.timeline-card-year {
  font-size: 2rem;
  font-weight: bold;
  color: #1a365d;
  margin: 0 0 1rem 0;
}
