/* HEADER AND FOOTER SECTION STYLES */
/* HEADER SECTION - START - DEFAULT */
header {
  background: #ffffff;
  margin: 10px auto;
  max-width: 1200px;
  height: 100px;
  padding: 0;
  position: relative;
}

#logo {
  width: 250px;
  height: 94px;
  display: inline-block;
}

/* NAVIGATION MENU - START - DEFAULT */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.nav-toggle {
  display: none;
  font-size: 2rem;
  background-color: #d7e9fc; /* For browsers that do not support gradients */
  background-image: linear-gradient(
    #3c82c5,
    #d7e9fc,
    #f0f4ff,
    #d7e9fc,
    #3c82c5
  );
  border: 1px solid #3c82c5;
  border-radius: 8px;
  color: #002060;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: 1.5rem;
  z-index: 1001;
  padding: 8px 14px;
  width: 88px;
  height: 68px;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover {
  background-image: linear-gradient(
    #2d5d9f,
    #d7e9fc,
    #f0f4ff,
    #d7e9fc,
    #2d5d9f
  );
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.nav-toggle i {
  color: #002060;
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.NavMenu {
  margin-top: 60px;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
  margin: 0 1rem;
}

.menu > li > a {
  font-size: 22px;
  color: #002060;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 0.75rem 0;
  transition: color 0.25s ease;
  display: inline-block;
}

.menu > li > a:hover,
.menu > li > a:focus {
  color: #0094f2;
}

.menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0094f2;
  transition: width 0.25s ease;
}

.menu > li > a:hover::after,
.menu > li > a:focus::after {
  width: 100%;
}

.has-mega:hover > a {
  color: #0094f2;
}

.has-mega:hover > a::after {
  width: 100%;
}

.arrow {
  font-size: 0.55em;
  margin-left: 6px;
  vertical-align: middle;
  color: #002060;
}

.has-mega:hover > a .arrow {
  color: #0094f2;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background-color: #1d5493;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 24px 32px;
  border-radius: 0 0 6px 6px;
  z-index: 1000;
}

.has-mega:hover .mega-menu {
  display: flex;
}

.mega-links {
  display: flex;
  gap: 2rem;
  flex: 1;
}

.columns-2 > div {
  display: flex;
  flex-direction: column;
}

.mega-links a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color 0.25s ease;
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
}

.mega-links a:hover {
  color: #ffcc00;
}

.mega-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0094f2;
  transition: width 0.25s ease;
}

.mega-links a:hover::after {
  width: 100%;
}

/* Nav Menu Media Queries */
/* This is to make the investor tab drop down menu align right, and flow left */
@media (max-width: 1637px) {
  .investor-tab {
    position: relative;
  }

  .investor-tab .mega-menu {
    left: -25px;
    right: auto;
  }
}

@media (max-width: 1597px) {
  .investor-tab .mega-menu {
    left: -45px;
    right: auto;
  }
}

@media (max-width: 1557px) {
  .investor-tab .mega-menu {
    left: -65px;
    right: auto;
  }
}

@media (max-width: 1517px) {
  .investor-tab .mega-menu {
    left: -85px;
    right: auto;
  }
}

@media (max-width: 1477px) {
  .investor-tab .mega-menu {
    left: -105px;
    right: auto;
  }
}

@media (max-width: 1437px) {
  .investor-tab .mega-menu {
    left: -125px;
    right: auto;
  }
}

@media (max-width: 1397px) {
  .investor-tab .mega-menu {
    left: -145px;
    right: auto;
  }
}

@media (max-width: 1357px) {
  .investor-tab .mega-menu {
    left: -165px;
    right: auto;
  }
}

@media (max-width: 1317px) {
  .investor-tab .mega-menu {
    left: -185px;
    right: auto;
  }
}

@media (max-width: 1277px) {
  .investor-tab .mega-menu {
    left: -205px;
    right: auto;
  }
}

@media (max-width: 1237px) {
  .investor-tab .mega-menu {
    left: -225px;
    right: auto;
  }
}

@media (max-width: 1197px) {
  .investor-tab .mega-menu {
    left: auto;
    right: 0;
  }
}

@media (max-width: 1030px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 0 0.35rem;
    z-index: 1000;
  }

  .nav-toggle {
    display: flex;
    right: 0.75rem;
    top: 1rem;
  }

  .nav-toggle:hover {
    background-image: linear-gradient(
      #3c82c5,
      #d7e9fc,
      #f0f4ff,
      #d7e9fc,
      #3c82c5
    );
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }

  .NavMenu {
    width: 100%;
    margin-top: 0.75rem; /* This is the space between the bottom of logo and the mobile drop down menu */
    z-index: 1000;
  }

  .menu {
    flex-direction: column;
    display: none;
    background: #1d5493;
    /*background-image: linear-gradient(#1D5493, #3C82C5, #1D5493);*/
    border-radius: 0px 0px 16px 16px;
    width: 100%;
    z-index: 1000;
  }

  .menu.show {
    display: flex;
    z-index: 1000;
  }

  .menu li {
    margin: 0;
    padding: 0.5rem 1rem;
    z-index: 1000;
  }

  .menu > li > a {
    font-size: 22px;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    padding: 0.75rem 0;
    transition: color 0.25s ease;
    display: inline-block;
    z-index: 1000;
  }

  .arrow {
    font-size: 0.55em;
    margin-left: 6px;
    vertical-align: middle;
    color: #ffffff;
    z-index: 1000;
  }

  .mega-menu {
    position: static;
    box-shadow: none;
    background: none;
    padding: 0;
    flex-direction: column;
    z-index: 1000;
  }

  .mega-links {
    /*flex-direction: column;*/
    gap: 2rem;
    z-index: 1000;
  }
}

/* NAVIGATION MENU - END - DEFAULT */
/* HEADER SECTION - END - DEFAULT */

/* FOOTER AREA STYLE - START - DEFAULT */
/* systemic footer tag */
footer {
  position: relative;
  display: flex;
  height: auto;
  margin: 0px auto 0px;
  background-color: #003777;
  background: linear-gradient(45deg, #2d5d9f, #0d1a2f); /* Slate to Navy */
  transition: background 3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  justify-content: center;
}

footer:hover {
  background: linear-gradient(45deg, #3c82c5, #0d1a2f); /* Sky to Navy */
}

.footer-wrapper {
  max-width: 1200px;
  height: auto;
  padding: 40px 0px 10px 0px;
  color: #ffffff;
}

footer .footer-wrapper img {
  height: 80px;
  margin-bottom: 10px;
}

#footer-parent {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 20px 0px 0px 0px;
}

.f-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.f-column {
  width: 333px;
  padding: 0 15px;
  text-align: left;
}

#f-logo {
  height: 65px;
  margin-bottom: 10px;
}

footer p {
  font-size: 14px;
  line-height: 25px;
  color: #fff;
  padding-right: 40px;
}

footer h4 {
  font-size: 19px;
  margin-bottom: 20px;
}

footer h5 {
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 0px;
}

footer a {
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
}
a.address {
  font-size: 14px;
  font-weight: normal;
  text-decoration: none;
  color: #ffffff;
}

/* Footer Links Chevron arrow style */
.f-arrow {
  font-size: 10px;
  margin-right: 10px;
  display: inline-block;
  color: #ffffff;
}

.f-fa-contact {
  font-size: 14px;
  margin-right: 10px;
  display: inline-block;
  color: #ffffff;
}

footer li,
ul {
  padding: 0;
  margin-bottom: 10px;
  list-style: none;
}

.f-links a:hover {
  color: #ffcc00;
}

.copyright {
  font-size: 10px;
  color: #ffffff;
  text-align: center;
  margin: 20px auto 0;
}

.footer-NavMenu a {
  color: #ffffff;
}

.footer-NavMenu a:hover {
  color: red;
  font-weight: bold;
}

/* Footer Section (previously Section 5) TEXT AND LINKS (CERTIFICATIONS) - START - DEFAULT */
#section5 {
  display: inline;
  clear: both;
}

#cert-container {
  height: 80px;
  margin: 0px 0px 50px 0px;
  clear: both;
}

#Cert {
  font-size: 22px;
  color: #000000;
  font-family: "Gotham SSm A", "Gotham SSm B", sans-serif;
  line-height: 24px;
  text-align: center;
  margin: 0px auto 0px;
}

#AS9100D {
  height: 75px;
  display: block;
}

/* Responsive tweak for smaller screens */
@media (max-width: 1030px) {
  footer {
    background: linear-gradient(45deg, #3c82c5, #0d1a2f); /* Sky to Navy */
  }
}