@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Skip to main content link for accessibility */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0052A5;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 1001;
}

.skip-to-main:focus {
  top: 80px;
}


li,
a,
button {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #2C3E50;
  text-decoration: none;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background-color: #FFFFFF;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid #E8ECEF;
}
.logo-link {
  text-decoration: none;
}

.logo {
  cursor: pointer;
  color: #0052A5;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

.logo-link:hover .logo {
  color: #0066CC;
}
.nav__links {
  list-style: none;
}
.nav__links li {
  display: inline-block;
  padding: 0px 20px;
}
.nav__links li a {
  transition: all 0.3s ease 0s;
  color: #2C3E50;
  font-weight: 500;
  position: relative;
}
.nav__links li a:hover {
  color: #0052A5;
}
.nav__links li a.active,
.nav__links li a[aria-current="page"] {
  color: #0052A5;
  font-weight: 600;
}
.nav__links li a.active::after,
.nav__links li a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #0052A5;
  border-radius: 2px;
}
button {
  color: white;
  padding: 14px 32px;
  background-color: #0052A5;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  font-weight: 600;
  font-size: 16px;
  font-family: "Inter", sans-serif;
}
button:hover {
  background-color: #0066CC;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 82, 165, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  gap: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #2C3E50;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 1000px) {
  header {
    flex-wrap: wrap;
    padding: 15px 5%;
  }
  
  .page-wrapper {
    padding-top: 100px; /* More padding for wrapped header */
  }
  
  .cta {
    order: 3;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 780px) {
  header {
    padding: 15px 5%;
    /* position: relative; */
  }

  .page-wrapper {
    padding-top: 70px; /* Less padding for mobile */
  }

  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 15px;
    right: 5%;
    z-index: 1001;
  }

  nav {
    width: 100%;
    order: 3;
    background-color: #FFFFFF;
  }

  .nav__links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    text-align: center;
    padding: 0 0 20px 0;
    background-color: #FFFFFF;
    margin-top: 0;
    border-top: 1px solid #E8ECEF;
  }

  .nav__links.active {
    display: flex;
  }

  .nav__links li {
    padding: 10px 0;
  }

  .cta {
    order: 2;
    width: auto;
  }
}


/* Make the page a full-height flex container */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Inter", sans-serif;
  background-color: #F8F9FA;
  color: #2C3E50;
}

.page-wrapper {
  flex: 1; /* take remaining space between header and footer */
  display: flex;
  flex-direction: column;
  padding-top: 80px; /* Add padding to account for fixed header */
}

/* Main content grows to push footer down */
main {
  flex: 1;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}