/* Google Fonts Import - Optimized for Performance */
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@200;300;500;600;700&family=DM+Sans:wght@400;500;700&display=swap');

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0;
}

/* Base Font Styling */
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.6;
    
}

p {
    font-size: 17px;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 300;
}

p:last-child {
    margin-bottom: 0;
}

p a:visited {
    color: #377679;
}

p a{
    color: #377679;
    transition: all 300ms ease;
}

p a:hover {
    color: #377679;
}

ul, ol {
    margin: 0 0 20px 0;
}

ul:last-child, ol:last-child {
    margin-bottom: 0;
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lexend Deca', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Desktop Heading Sizes */
h1, .h1-style {
    font-size: 100px;
    line-height: 0.9;
    margin: 0 0 20px 0;
}

h2, .h2-style {
    font-size: 60px;    
    line-height: 0.9;
    margin: 0 0 20px 0;
}

h3, .h3-style {
    font-size: 45px;
    line-height: 1;
    margin: 0 0 20px 0;
}

h4, .h4-style {
    font-size: 43px;
    line-height: 1;
    margin: 0 0 20px 0;
}

h5, .h5-style {
    font-size: 40px;
    line-height: 1;
    margin: 0 0 20px 0;
}

h6, .h6-style {
    font-size: 30px;
    line-height: 1;
    margin: 0 0 20px 0;
}

/* Utility classes inherit heading font properties */
.h1-style, .h2-style, .h3-style, .h4-style, .h5-style, .h6-style {
    font-family: 'Lexend Deca', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    
}

/* Bold/Strong Text */
b, strong {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
}

/* Global container styles for header and footer */
.site-header-container,
.site-footer-container,
.container {
    width: 100%;
    max-width: 1640px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.site-header-container{
    flex-wrap: nowrap;
}

/* Navigation Header Padding */
.site-header {
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
    z-index: 9999;
    background-color: #f8f8f8;
}

/* When homepage hero is present, make header absolute */
.page .homepage-hero ~ .site-header,
.home .homepage-hero ~ .site-header,
.page .subpage-hero ~ .site-header,
.home .subpage-hero ~ .site-header {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
}

.homepage-hero ~ * .site-header,
.homepage-hero + * .site-header,
body:has(.homepage-hero) .site-header,
.subpage-hero ~ * .site-header,
.subpage-hero + * .site-header,
body:has(.subpage-hero) .site-header,
.form-section ~ * .site-header,
.form-section + * .site-header,
body:has(.form-section) .site-header {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
}

/* When landing page block is present, make header absolute */
.page .landing-page-block ~ .site-header,
.home .landing-page-block ~ .site-header {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
}

.landing-page-block ~ * .site-header,
.landing-page-block + * .site-header,
body:has(.landing-page-block) .site-header {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
}

/* Site branding and navigation styles */
.site-branding {
    display: flex;
    align-items: center;
}

.site-branding .custom-logo-link {
    max-width: 166px;
}

.main-navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
    width: auto;
}

/* Menu Button Circle */
.menu-circle-button {
    display: none;
    border: 0px solid #FFF !important;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #377679;
    color: #fff;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    margin-left: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    line-height: 1.25;
    padding: 0;
    position: relative;
    cursor: pointer;
}

.menu-circle-button svg {
    display: block;
    width: 24px;
    height: 18px;
}

.menu-circle-button:hover {
    background-color: #377679;
    transform: scale(1.1);
}

/* Subpage hero specific hamburger menu colors */
body:has(.subpage-hero) .menu-circle-button {
    background-color: #144C55;
}

.main-navigation .menu-item a{
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 500;
    font-size: 17px;
    text-decoration: none;
    color: #FFF;
    padding: 10px 20px;
    transition: color 0.3s ease;
}

.main-navigation .menu-item a:hover,
.main-navigation .menu-item a:focus {
    color: #377679;
}

/* Last menu item button styling (top level only) */
#primary-menu > .menu-item:last-child > a {
    background-color: #F5F5F5;
    color: #144C55;
    border-radius: 50px;
    padding: 12px 30px;
    margin-left: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#primary-menu > .menu-item:last-child > a:hover,
#primary-menu > .menu-item:last-child > a:focus {
    background-color: #377679;
    color: #FFF;
}

/* Subpage hero specific navigation colors */
body:has(.subpage-hero) .main-navigation .menu-item a:hover,
body:has(.subpage-hero) .main-navigation .menu-item a:focus {
    color: #144C55;
}

body:has(.subpage-hero) #primary-menu > .menu-item:last-child > a:hover,
body:has(.subpage-hero) #primary-menu > .menu-item:last-child > a:focus {
    background-color: #144C55;
    color: #FFF;
}

/* Regular header submenu dropdown styles */
.main-navigation .menu-item {
    position: relative;
}

/* Add caret to parent menu items that have submenus */
.main-navigation .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 6px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
    transform: rotate(-90deg);
}

/* Rotate caret down on hover */
.main-navigation .menu-item-has-children:hover > a::after,
.main-navigation .menu-item-has-children:focus-within > a::after {
    transform: rotate(0deg);
}

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 12px 0;
    margin: 0;
    list-style: none;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.main-navigation .menu-item:hover > .sub-menu,
.main-navigation .menu-item:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: fadeInDown 0.3s ease forwards;
}

.main-navigation .sub-menu .menu-item {
    display: block;
    margin: 0;
}

.main-navigation .sub-menu .menu-item a {
    display: block;
    padding: 10px 15px;
    width: 100%;
    font-size: 16px;
    color: #333437;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.main-navigation .sub-menu .menu-item a:hover,
.main-navigation .sub-menu .menu-item a:focus {
    color: #377679;
}

/* Nested submenu (third level) */
.main-navigation .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 8px;
}

/* Add this to ensure text is absolutely centered */

/* Footer Styles */
.site-footer {
    background-color: #144C55;
    color: #fff;
}

/* Footer Hero Section */
.footer {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0px 0 100px;
    background-color: #144C55;
}

.footer__background {
    display: none;
}

.footer__overlay {
    display: none;
}

.footer .container {
    position: relative;
    z-index: 3;
    max-width: calc(1440px + 70px); /* Extend 115px to the left */
    width: 100%;
    margin-left: auto;
    margin-right: calc((100vw - 1440px) / 2); /* Keep right edge aligned with standard 1440px container */
    padding-left: 0px;
    padding-right: 0px;
}

@media (max-width: 1580px) {
    .footer .container {
        margin-right: auto;
        max-width: 1440px;
    }
}

@media (max-width: 1440px) {
    .footer .container {
        max-width: 1440px; /* Use standard container when at or below max size */
        margin-left: auto;
        margin-right: auto;
    }
    .footer-team-card__content{
        padding: 80px 30px 80px !important;
    }
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 600px;
    gap: 60px;
    align-items: start;
}

/* Left: Join The Team Card */
.footer__left {
    color: #fff;
    margin-top: -150px;
}

.footer-team-card {
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.footer-team-card__image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background-color: #377679 !important;
}

.footer-team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.footer-team-card__content {
    background-color: #377679;
    padding: 100px;
}

.footer-team-card__title {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 60px;
    font-weight: 300; /* Light */
    color: #F5F5F5;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.footer-team-card__text {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    color: #FFF;
    line-height: 1.6;
    margin: 0 0 40px 0;
    max-width: 678px;
    width: 100%;
}

.footer-team-card__button {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-team-card__button-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 19px;
    font-weight: 500;
    color: #333437;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-team-card__button-text svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.footer-team-card__button-text svg path {
    stroke: #333437;
    transition: stroke 0.3s ease;
}

.footer-team-card__button:hover .footer-team-card__button-text {
    color: #FFF;
}

.footer-team-card__button:hover .footer-team-card__button-text svg path {
    stroke: #FFF;
}

.footer-team-card__button:hover .footer-team-card__button-text svg {
    transform: translateX(5px);
}

.footer-team-card__button-underline {
    width: 100%;
    height: 2px;
    background-color: #333437;
    margin-top: 4px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.footer-team-card__button:hover .footer-team-card__button-underline {
    width: 0;
    background-color: #FFF;
}

/* Right: Testimonial */
.footer__right {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: end;
    padding-right: 30px;
}

.footer-testimonial {
    background-color: transparent;
    padding: 50px 0 0;
    text-align: left;
    max-width: 560px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.footer-testimonial__quote {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 40px;
    font-weight: 200;
    color: #F5F5F5;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    width: 100%;
    display: block;
}

.footer-testimonial__logo {
    width: 100%;
    height: auto;
    margin-top: 40px;
}

/* Contact Form (within footer-info) */
.footer-contact__form {
    display: flex;
    gap: 0;
    max-width: 100%;
    align-items: flex-end;
}

.footer-contact__input {
    flex: 1;
    padding: 12px 0 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 19px !important;
    font-weight: 400;
    border: none !important;
    border-bottom: 1px solid #FFF !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    color: #FFF !important;
    transition: border-color 0.3s ease;
}

.footer-contact__input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-contact__input:focus {
    outline: none;
    border: none !important;
    border-bottom: 1px solid #FFF !important;
}

.footer-contact__button {
    padding: 12px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 19px;
    font-weight: 400;
    background-color: transparent;
    color: #377679;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    margin-left: 40px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.footer-contact__button:hover {
    color: #F5F5F5;
}

/* Bottom Info Section */
.footer-info {
    background-color: #144C55;
    padding: 80px 0 125px 0;
}

.footer-info__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 60px;
    row-gap: 60px;
    width: 100%;
}

/* First row: Contact form and Quick Links */
.footer-info__col--contact {
    grid-column: 1 / 3; /* Spans 2 columns */
}

.footer-info__col--quicklinks {
    grid-column: 4 / 5; /* Last column */
}

/* Second row: Office, Phone, Email, Socials each take 1 column automatically */

.footer-info__col {
    color: #F7FAF9;
}

.footer-info__heading {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 20px;
    font-weight: 500; /* Medium */
    color: #377679;
    margin: 0 0 20px 0;
}

.footer-info__col p {
    font-family: 'DM Sans', sans-serif;
    font-size: 19px;
    font-weight: 400; /* Regular */
    line-height: 1.6;
    margin: 0;
    color: #F7FAF9;
}

.footer-info__col a {
    color: #F7FAF9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info__col a:hover {
    color: #377679;
}

.footer-info__menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-info__menu li {
    margin: 0;
    padding: 0;
}

.footer-info__menu a {
    font-family: 'DM Sans', sans-serif;
    font-size: 19px;
    font-weight: 400; /* Regular */
    color: #F7FAF9;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.footer-info__menu a:hover {
    color: #377679;
}

/* Responsive Footer Styles */
@media (max-width: 1280px) {
    .footer__content {
        grid-template-columns: 1fr 450px;
    }
    
    .footer-testimonial__quote {
        font-size: 33px;
    }
    .footer-testimonial{
        padding-right: 30px;
    }
    .footer-team-card__content {
        padding: 60px;
    }
    .footer__right {
        padding-right: 0px;
    }
}

@media (max-width: 1024px) {
    .footer-team-card__image {
        height: 350px;
    }

    .footer-testimonial__quote{
        max-width: 740px;
        width: 100%;
    }

    .footer-testimonial__logo{
        max-width: 420px;
    }
    
    .footer-team-card__content {
        padding: 40px 30px 100px;
    }
    .footer {
        padding: 0px 0 0px;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 0px;
    }
    
    .footer__left {
        margin-top: 0px;
    }
    
    .footer-team-card__title {
        font-size: 48px;
    }
    
    .footer-testimonial {
        max-width: 100%;
        padding: 100px 30px 40px;
        flex-direction: column-reverse;
    }
    
    .footer-testimonial__logo {
        margin-top: 0;
        margin-bottom: 40px;
    }
    
    .footer-testimonial__quote {
        font-size: 32px;
        margin: 0;
    }
    
    .footer-info__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-info__col--contact {
        grid-column: 1 / -1; /* Full width - spans all columns */
    }
    
    .footer-info__col--quicklinks {
        grid-column: span 1; /* Takes 1 column */
    }
}

@media (max-width: 768px) {
    .footer {
        min-height: auto;
        padding: 0px;
    }
    
    .footer-team-card__image {
        height: 300px;
    }
    
    .footer-team-card__title {
        font-size: 36px;
    }
    
    .footer-team-card__text {
        font-size: 16px;
    }
    
    .footer-team-card__button-text {
        font-size: 17px;
    }
    
    .footer-team-card__button-text svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-testimonial {
        padding: 100px 30px 20px;
    }
    
    .footer-testimonial__quote {
        font-size: 28px;
    }
    
    .footer-contact {
        padding: 60px 0;
    }
    
    .footer-contact__title {
        font-size: 32px;
    }
    
    .footer-info {
        padding: 60px 0 80px 0;
    }
    
    .footer-info__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-info__col--contact {
        grid-column: 1 / -1; /* Full width */
    }
    
    .footer-info__col--quicklinks {
        grid-column: span 1; /* Takes 1 column */
    }
    
    /* Footer info text sizes to match homepage hero */
    .footer-info__col p,
    .footer-info__menu a {
        font-size: 16px;
    }
    
    .footer-contact__input,
    .footer-contact__button {
        font-size: 16px !important;
    }
    
}

@media (max-width: 480px) {
    .footer-team-card__image {
        height: 250px;
    }

    .footer {
        padding: 0px;
    }
    
    .footer-team-card__title {
        font-size: 28px;
    }
    
    .footer-team-card__content {
        padding: 30px 25px 100px;
    }
    
    .footer-testimonial {
        padding: 100px 30px 20px;
    }
    
    .footer-testimonial__quote {
        font-size: 22px;
    }
    
    .footer-contact__title {
        font-size: 28px;
    }
    
    .footer-contact__button {
        margin-left: 20px;
        font-size: 17px;
    }
    
    .footer-contact__input {
        font-size: 17px !important;
    }
    
    /* Footer info text sizes */
    .footer-info__col p,
    .footer-info__menu a {
        font-size: 16px;
    }
    
    /* Footer CTA button sizing */
    .footer-team-card__button-text {
        font-size: 17px;
    }
    
    .footer-team-card__button-text svg {
        width: 17px;
        height: 17px;
    }
    
    .footer-info__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-info__col--contact,
    .footer-info__col--quicklinks {
        grid-column: span 1; /* Single column stack */
    }
}

.wp-block-create-block-dhw-custom-block{
    margin: 0;
}

.entry-content > section:first-child:not(.form-section){
    padding-top: 100px;
}

/* Responsive adjustments */
@media screen and (max-width: 1440px) {
    .entry-content > section:first-child:not(.form-section){
        padding-top: 80px;
    }
    /* Tablet Heading Sizes */
    h1, .h1-style {
        font-size: 80px;
    }
    
    h2, .h2-style {
        font-size: 50px;
    }
    
    h3, h4, .h3-style, .h4-style {
        font-size: 40px;
    }
    
    h5, .h5-style {
        font-size: 35px;
    }
    
    h6, .h6-style {
        font-size: 25px;
    }
}

@media (max-width: 1194px) {
    h1, .h1-style {
        font-size: 65px;
    }

    h2, .h2-style {
        font-size: 45px;
    }
    
    h3, h4, .h3-style, .h4-style {
        font-size: 40px;
    }
    
    h5, .h5-style {
        font-size: 25px;
    }
    
    h6, .h6-style {
        font-size: 25px;
    }

    body,
    p {
        font-size: 17px;
    }
    
    /* Footer text sizes to match homepage hero scaling */
    .footer-team-card__text {
        font-size: 17px;
    }
    
    .footer-info__col p,
    .footer-info__menu a {
        font-size: 17px;
    }
    
    .footer-contact__input,
    .footer-contact__button {
        font-size: 17px !important;
    }
    
    
    .footer-team-card__button-text svg {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 1024px) {
    .menu-circle-button{
        display: inline-flex;
    }
    .menu-header-menu-container{
        display: none;
    }
    .main-navigation .menu-item a{
        padding: 10px 15px;
    }
    .site-header {
        padding-top: 45px;
        padding-bottom: 45px;
    }
    .footer-logo-row .custom-logo-link {
        max-width: 50%;
    }
    .footer-copyright-row p{
        max-width: 550px;
        width: 100%;
        margin: 0;
    }
    
}

@media screen and (max-width: 767px) {
    body,
    p {
        font-size: 16px;
    }
    
    .menu-circle-button svg {
        width: 20px;
        height: 15px;
    }
    .entry-content > section:first-child:not(.form-section){
        padding-top: 60px;
    }
    .site-header-container,
.site-footer-container,
.container {
    padding-left: 30px;
    padding-right: 30px;
}

    .footer-col p {
        max-width: 320px;
    }
    
    /* Footer text sizes to match homepage hero scaling */
    .footer-team-card__text {
        font-size: 16px;
    }
    
    .footer-info__col p,
    .footer-info__menu a {
        font-size: 16px;
    }
    
    .footer-contact__input,
    .footer-contact__button {
        font-size: 16px !important;
    }
    
    .menu-header-menu-container{
        display: none;
    }
    .site-footer-container {
        width: 100%;
        flex-direction: column;
    }
    
    .site-branding {
        margin-bottom: 0px;
    }
    
    .main-navigation {
        margin-left: 0;
    }
    
    /* Adjust header padding for mobile */
    .site-header {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .custom-logo-link{
        max-width: 120px;
        width: 100%;
    }
    .menu-circle-button{
        width: 55px;
        height: 55px;
        font-size: 18px;
    }
    .site-footer {
        padding: 0px 0 20px;
    }
    
    .footer-logo-row {
        justify-content: left;
    }
    
    .footer-logo-row .custom-logo-link {
        max-width: 70%;
    }
    
    .footer-info-row {
        flex-direction: row;
        gap: 20px;
        padding: 25px 0;
    }
    
    .footer-col {
        text-align: left;
    }
    
    .footer-col p, .footer-col h3 {
        font-size: 20px;
    }
    
    /* Mobile Heading Sizes */
    h1, .h1-style {
        font-size: max(8.5vw, 40px);
    }

    h2, .h2-style {
        font-size: max(5.5vw, 28px);
    }

    h3, .h3-style {
        font-size: max(5vw, 25px);
    }

    h4, .h4-style {
        font-size: max(4.75vw, 23px);
    }

    h5, .h5-style {
        font-size: max(4.5vw, 22px);
    }

    h6, .h6-style {
        font-size: max(4.25vw, 20px);
    }
}

@media screen and (max-width: 660px) {
.footer-col p, .footer-col h3, .footer-copyright-row p {
    font-size: 1.1rem;
}
.site-header-container,
.site-footer-container,
.container {
    padding-left: 30px;
    padding-right: 30px;
    }
}

/* Fixed Header Styles */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(51, 52, 55, 0.90);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fixed-header.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Fixed header container matches normal header */
.fixed-header .site-header-container {
    padding-top: 0;
    padding-bottom: 0;
}

/* Fixed header navigation styling to match normal header */
.fixed-header .main-navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
    width: auto;
}

.fixed-header .main-navigation .menu-item a {
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    color: #FFF;
    padding: 10px 20px;
    transition: color 0.3s ease;
}

.fixed-header .main-navigation .menu-item a:hover,
.fixed-header .main-navigation .menu-item a:focus {
    color: #377679;
}

/* Fixed header last menu item button styling (top level only) */
#fixed-primary-menu > .menu-item:last-child > a {
    background-color: #F5F5F5;
    color: #144C55;
    border-radius: 50px;
    padding: 12px 30px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#fixed-primary-menu > .menu-item:last-child > a:hover,
#fixed-primary-menu > .menu-item:last-child > a:focus {
    background-color: #377679;
    color: #FFF;
}

/* Subpage hero specific fixed header navigation colors */
body:has(.subpage-hero) .fixed-header .main-navigation .menu-item a:hover,
body:has(.subpage-hero) .fixed-header .main-navigation .menu-item a:focus {
    color: #144C55;
}

body:has(.subpage-hero) #fixed-primary-menu > .menu-item:last-child > a:hover,
body:has(.subpage-hero) #fixed-primary-menu > .menu-item:last-child > a:focus {
    background-color: #144C55;
    color: #FFF;
}

/* Fixed header submenu dropdown styles */
.fixed-header .main-navigation .menu-item {
    position: relative;
}

/* Add caret to parent menu items that have submenus */
.fixed-header .main-navigation .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 6px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
    transform: rotate(-90deg);
}

/* Rotate caret down on hover */
.fixed-header .main-navigation .menu-item-has-children:hover > a::after,
.fixed-header .main-navigation .menu-item-has-children:focus-within > a::after {
    transform: rotate(0deg);
}

.fixed-header .main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 12px 0;
    margin: 0;
    list-style: none;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.fixed-header .main-navigation .menu-item:hover > .sub-menu,
.fixed-header .main-navigation .menu-item:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: fadeInDown 0.3s ease forwards;
}

.fixed-header .main-navigation .sub-menu .menu-item {
    display: block;
    margin: 0;
}

.fixed-header .main-navigation .sub-menu .menu-item a {
    display: block;
    padding: 10px 15px;
    font-size: 16px;
    color: #333437;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.fixed-header .main-navigation .sub-menu .menu-item a:hover,
.fixed-header .main-navigation .sub-menu .menu-item a:focus {
    color: #377679;
}

/* Nested submenu (third level) */
.fixed-header .main-navigation .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 8px;
}

/* Fade in down animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fixed header menu button styling to match normal header */
.fixed-header .menu-circle-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #377679;
    color: #fff;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    margin-left: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    line-height: 1.25;
    padding: 0;
    position: relative;
    border: none;
    cursor: pointer;
}

.fixed-header .menu-circle-button svg {
    display: block;
    width: 22px;
    height: 16px;
}

.fixed-header .menu-circle-button:hover {
    background-color: #377679;
    transform: scale(1.1);
}

/* Subpage hero specific fixed header hamburger menu colors */
body:has(.subpage-hero) .fixed-header .menu-circle-button:hover {
    background-color: #144C55;
}

/* Fixed header logo styling */
.fixed-header .site-branding {
    display: flex;
    align-items: center;
}

.fixed-header .custom-logo-link {
    transition: all 0.3s ease;
    max-width: 120px;
}

.fixed-header .custom-logo {
    max-height: auto;
    width: auto;
    transition: max-height 0.3s ease;
}

.menu-toggle,
.main-navigation.toggled ul {
	display: flex;
}

/* Responsive adjustments for fixed header */
@media screen and (max-width: 1024px) {
    .fixed-header .menu-circle-button {
        display: inline-flex;
    }
    .fixed-header {
        padding: 20px 0;
    }
    
    .fixed-header .main-navigation .menu-item a {
        padding: 10px 15px;
        font-size: 18px;
    }
    
    .fixed-header .menu-circle-button {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-left: 20px;
    }
    .fixed-header .menu-circle-button svg{
        width: 17px;
        height: 16px;
    }
    
    .fixed-header .custom-logo {
        max-height: auto;
    }
}

@media screen and (max-width: 767px) {
    .fixed-header {
        padding: 20px 0;
    }
    
    .fixed-header .site-header-container {
        flex-direction: row;
        align-items: center;
    }
    
    .fixed-header .site-branding {
        margin-bottom: 0;
    }
    
    .fixed-header .main-navigation {
        margin-left: auto;
    }
    
    .fixed-header .custom-logo-link {
        max-width: 110px;
        margin-top: 0;
    }
    
    .fixed-header .custom-logo {
        max-height: auto;
    }
    
    .fixed-header .menu-circle-button {
        width: 45px;
        height: 45px;
        font-size: 17px;
        margin-left: 20px;
    }
    
    /* Hide menu items on mobile, only show menu button */
    .fixed-header .menu-header-menu-container {
        display: none;
    }
}

@media screen and (max-width: 660px) {
    .fixed-header .site-header-container {
        padding-left: 30px;
        padding-right: 30px;
    }
}