:root {
  --vh: 100vh; 
  --c-brand-light: #176082;
  --c-brand-mid: #0e3248;
  --c-brand-dark: #1E2D33;
  --c-bg-white: #FFF;
  --c-txt-grey: #2A2A2A;
  --c-trim-ltgrey: #e4e7e9;
  --c-txt-white: #FFF;
  --c-link-dark: #0e3248;
  --c-link-hover-dark: #1F7FA5;
  --c-link-light: #73bce6;
  --c-link-hover-light: #FFF;
}

/* Global Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: var(--c-brand-mid);
  color: var(--c-txt-white);
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  flex-direction: column;
}

/* Header + Banner */
.banner-container {
  background: 20px solid var(--c-brand-mid);
}

.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.1rem;
  background: var(--c-bg-white);
  border-top: 6px solid var(--c-brand-mid);
  min-width: 0;
  flex-wrap: nowrap;
}

.logo {
  font: 1.3rem sans-serif;
  flex-shrink: 1;    
  overflow: hidden;  
  min-width: 0;
  text-overflow: ellipsis; 
  white-space: nowrap;    
  max-width: 80%;
}

.logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.logo-link {
  text-decoration: none;
  display: inline-block;
}

/* Navigation */
.nav {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding-right: 2rem;
  background: var(--c-bg-white);
}

.nav-links li a {
  color: var(--c-link-dark);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--c-link-hover-dark);
  text-decoration: underline;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  margin-left: auto;
  margin-right: 0.6rem;       /* Adjust as needed */
  position: relative;
  z-index: 101;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--c-link-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2),
.hamburger span:nth-child(3) {
  top: 10px;
}

.hamburger span:nth-child(4) {
  top: 20px;
}

.hamburger.active span:nth-child(1),
.hamburger.active span:nth-child(4) {
  top: 10px;
  width: 0;
  left: 50%;
}

.hamburger.active span:nth-child(2) {
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Hero Section */
.hero-section {
  background: var(--c-brand-mid) url('./Images/Hero/img_hero1.jpg') center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 1.9rem 3rem 0.5rem 3rem;
  height: calc(var(--vh, 1vh) * 20);
  min-height: calc(var(--vh, 1vh) * 20);
}

.hero-text {
  max-width: 460px;
  min-width: 300px;
  color: var(--c-txt-white);
  font-size: 2rem;
}

.hero-text a {
  color: var(--c-link-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-text a:hover {
  color: var(--c-link-hover-light);
  text-decoration: underline;
}

.hero-text-sm {
  font-size: 1.1rem;
  opacity: 0.9;
}

.hero-text-md {
  font-size: 1.3rem;
  opacity: 0.9;
}

.hero-text-lg {
  font-size: 1.6rem;
}

/* Main Content */
.main-content {
  background: var(--c-bg-white);
  color: var(--c-txt-grey);
  padding: 0.5rem 3rem 1.5rem 3rem;
}

.main-content a {
  color: var(--c-link-dark);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-content a:hover {
  color: var(--c-link-hover-dark);
  text-decoration: underline;
}

.main-text-caption {
  font-size: 1.7rem;
  font-style: italic;
  color: var(--c-brand-light);
  padding-left: 0.5rem;
  text-align: center;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}

.main-text-ctr {
  text-align: center;
}

.main-text-highlight {
  font-weight: bold;
}

.main-text-ital {
  font-style: italic;
}

/* Columns */
.mn-columns {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 0;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 0 0.5rem 0;
  width: 100%;
}

.mn-column-l {
  display: flex;
  background: var(--c-bg-white);
  flex: 1 1 30px;
  width: 16vw;
  max-width: 300px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 0.5rem 1rem 0;
  margin-right: 1rem;
}

.mn-column-r {
  display: flex;
  flex-direction: column;
  background: var(--c-bg-white);
  flex: 1 1 20px;
  width: 70vw;
  max-width: 600px;
  margin-right: 0.5rem;
}

/* Subsection */
.subsection {
  background-color: var(--c-trim-ltgrey);
  padding: 0.5rem 0.5rem 1.5rem;
  margin: 1rem auto 2rem;
  border-radius: 8px;
  max-width: 960px;
  width: 100%;
}

.subsection a {
  color: var(--c-link-dark);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.subsection a:hover {
  color: var(--c-link-hover-dark);
  text-decoration: underline;
}

.subsection-title {
  margin-bottom: 0;
  padding: 0 2.5rem;
  font-size: 1.3rem;
  font-weight: normal;
  text-align: center;
}

.ss-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.3rem 0;
}

.ss-column {
  background: var(--c-bg-white);
  padding: 1rem;
  flex: 1 1 240px;
  max-width: 400px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
}

.ss-column ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 0.5rem;
  padding-left: 1.25rem;
  list-style-type: disc;
}

.ss-column a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.ss-column:hover a {
  text-decoration: none;
}

.ss-column-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
}

.ss-column-text-lg {
  font-size: 1.4rem;
  padding: 0.7rem 0 0.4rem 0;
  font-weight: normal;
}

.ss-column-text-sm {
  font-weight: normal;
  color: var(--c-txt-grey);
  pointer-events: none;
}

.ss-column-text-sm ul {
  list-style-type: disc;
  margin-top: 0;
}

.ss-txt {
  border-top: 1px solid #ccc;
  margin-top: 2rem;
  padding: 0 3.7rem;
}

.ss-txt h4 {
  color: var(--c-brand-mid);
  font-size: 1.3rem;
  font-weight: normal;
  margin-bottom: 0;
}

.ss-txt ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: var(--c-txt-grey);
  font-size: 0.9rem;
  line-height: 1.4;
}

.ss-txt ul li {
  margin-bottom: 0.5rem;
}

/* Contact Link */
.contact-link {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  font-size: 0.9rem;
  background-color: transparent;
  border-radius: 999px;
  border: 1px solid var(--c-link-dark);
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  margin-bottom: 1rem;
}

.contact-link:hover,
.contact-link:focus {
  background-color: var(--c-txt-white);
  color: white;
  border: 1px solid var(--c-link-hover-dark);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

a.contact-link:hover {
  text-decoration: none !important;
}

/* Footer */
.footer {
  background-color: var(--c-brand-mid);
  color: var(--c-txt-white);
  font-size: 0.9rem;
  padding-bottom: 1rem 0 1.5rem 0;
  border-bottom: 20px solid var(--c-brand-mid);
  margin-bottom: 10px;
}

.footer a {
  color: var(--c-link-light);
  text-decoration: none;
  margin-left: 1rem;
  font-weight: bold;
}

.footer a:hover {
  color: var(--c-link-hover-light);
  text-decoration: underline;
  font-weight: bold;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  margin-top: 0;
  padding-left: 3rem;
}

.footer-right {
  margin-top: 0;
  padding-right: 3rem;
}

.footer-nav {
  display: flex;
  gap: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .banner {
    padding-right: 3.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--c-bg-white);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
    max-width: 300px;
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--c-trim-ltgrey);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    font-size: 1rem;
    padding: 0.3rem 1rem;
  }

  .hamburger {
    display: flex;
  }

  .hero-text {
    font-size: 1.8rem;
  }
  
  .hero-text-sm {
    font-size: 0.9rem;
    opacity: 0.9;
  }

  .hero-text-md {
    font-size: 1.1rem;
    opacity: 0.9;
  }
  
  .hero-text-lg {
    font-size: 1.3rem;
  }

  .main-content {
    font-size: 1.0rem;
    line-height: 1.5;
    padding: 0.2rem;
    font-size: 1.2rem;
  }

  .mn-columns {
    justify-content: left;
  }

  .mn-column-l,
  .mn-column-r {
    flex: 0 0 auto;
    width: 95%;
  }
  
  .ss-columns {
    justify-content: center;
    max-width: 95%;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }

  .ss-column {
    justify-content: center;
    flex: 0 0 auto;
    width: 100%;
    padding: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .ss-column-text-lg {
    font-size: 1.3rem;
  }

  .ss-column-text-sm {
    font-size: 1.1rem;
  }
  
  .ss-txt h4 {
    font-size: 1.3rem;
  }
  
  .ss-txt ul {
    font-size: 1.1rem;
  }

  .mn-column-l,
  .mn-column-r,
  .ss-column {
    max-width: 95%;
    margin: 0 auto;
  }
  
  .mn-column-l img,
  .mn-column-r img,
  .ss-column img {
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto; /* Centers the image */
  }
}

@media (max-width: 480px) {
  .banner {
    padding: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    font-size: 1rem;
  }

  .nav-links {
    padding-right: 1rem;
  }
}
