:root {
    /* colors */
    --text: #11328a;
    /* content width */
    --content-width-percentage: clamp(75%, calc(75% + (1338px - 100vw) * 0.5), 94%);
}

:focus-visible {
    outline: 2px solid #000;
}

* {
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0px;
    padding: 0px;
    width: 100vw;
    height: 100vdh;
    overflow-y: auto;
    scrollbar-width: none;
    font-family: "Lato-Regular"
}

body::-webkit-scrollbar {
    display: none;
}


.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #fff;
    color: black;
    padding: 8px 16px;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}


.center-content {
    width: var(--content-width-percentage);
    max-width: 1100px !important;
}


/* navbar gray background blur styling */
.nav-grayout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 90;
}


/* navbar */
.side-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    padding: 1rem 1rem 0px 4rem;
    z-index: 100;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
    background: #010D5D;
    color: #9eafb9;
    font-size: x-large;
}

.side-menu.active {
    transform: translateX(0);
}

.side-menu .content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.side-menu .content .close-container {
    align-self: stretch;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

.side-menu .content .close-container:hover {
    cursor: pointer;
}

.side-menu .content .close-container svg {
    width: 4rem;
    height: 4rem;
    transform-origin: center center;
    transition: transform 0.3s ease;
}

.side-menu .content .close-container svg:hover {
    transform: scale(1.05);
    filter: drop-shadow(0px 0px 1rem #000f);
}

.side-menu .content .close-container svg path {
    fill: #9eafb9;
}

.side-menu .content .navlist {
    width: 100%;
    list-style: none;
}

.side-menu .content .navlist {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.side-menu .content .navlist a,
.side-menu .content .navlist a:visited {
    color: #9eafb9;
    text-decoration: none;
    position: relative;
}

.side-menu .content .navlist a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
    background: currentColor;
}

.side-menu .content .navlist a:hover::after {
    transform: scaleX(1);
}

.nav-grayout-overlay.active {
    opacity: 1;
    pointer-events: auto;
}



header {
    width: 100%;
}



/* top location header */
header .location-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0px;
    background-color: #142573;
    color: #fff;
}

header .location-banner .center-content {
    width: var(--content-width-percentage);
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

header .location-banner svg {
    width: 1rem;
    height: 1rem;
    padding-right: 0.3rem;
}

header .location-banner svg path {
    fill: #526470;
}



/* main header*/
header .main-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 0px;
    color: var(--text);
}

header .main-header .center-content {
    width: var(--content-width-percentage);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}


header .main-header .center-content .logo-container {
    display: flex;display: flex;
    flex-direction: column;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

header .main-header .center-content .logo-container img {
    width: 3.6rem;
    height: 4.39rem;
}

header .main-header .center-content .logo-container .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-left: 0.8rem;
}

header .main-header .center-content .logo-container .title h1,
header .main-header .center-content .logo-container .title b {
    margin: 0.2rem 8px 0.5rem 0px;
    font-size: x-large;
}

header .main-header .center-content .contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    gap: 2rem;
}

header .main-header .center-content .contact svg {
    width: 2rem;
    height: 2rem;
    padding-right: 1rem;
}

header .main-header .center-content .contact svg path {
    fill: #526470;
}

header .main-header .center-content .contact .contact-way {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

header .main-header .center-content .contact .contact-way,
header .main-header .center-content .contact .contact-way:active {
    text-decoration: none;
    color: var(--text);
}

header .main-header .center-content .contact .contact-way .heading {
    margin: 0px;
}

header .main-header .center-content .contact .contact-way h3 {
    margin: 4px 0px 0px 0px;
}


/* desktop nav bar */
header .navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 0px;
    filter: drop-shadow(0 1px 6px #0003);
    /* color gradient */
    background: #D56D9C;
    background: -webkit-linear-gradient(180deg, rgba(213, 109, 156, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(213, 109, 156, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(180deg, rgba(213, 109, 156, 1) 0%, rgba(255, 255, 255, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#D56D9C", endColorstr="#fff", GradientType=0);
}

header .navbar .center-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: var(--content-width-percentage);
}

header .navbar .center-content .left {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: clamp(1rem, 2rem, 2rem);
    list-style: none;
    margin: 0px;
}

header .navbar .center-content .left a,
header .navbar .center-content .left a:visited {
    text-decoration: none;
    color: #010d5d;
    font-weight: 800;
}

header .navbar .center-content .left a:hover {
    color: #000
}

header .navbar .center-content .right .burger {
    display: none;
    width: 2.5rem;
    border-radius: 50%;
    margin: -10px 20px -10px 0px;
    cursor: pointer;
    transform-origin: center center;
    transition: transform 0.3s ease;
}

header .navbar .center-content .right .burger:hover {
    filter: drop-shadow(0px 0px 0.8rem #000a);
    transform: scale(1.05);
}

/* disable hover when navbar open */
.side-menu.active ~ header .navbar .center-content .right .burger:hover {
    background-color: #00000000;
}

header .navbar .center-content .right .burger path {
    fill: var(--text);
}



/* main content wrapper */
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content-wrapper .main-content {
    width: var(--content-width-percentage);
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* Desktop footer */
footer.desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #010D5D;
    color: #9eafb9;
    padding: 20px 0px 25px 0px;
}

footer.desktop .center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: var(--content-width-percentage);
    max-width: 1100px;
}

footer.desktop .center-content .top {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    width: 100%;
}

footer.desktop .center-content .top img {
    width: 111;
    height: 135;
    margin-left: 10px;
}

footer.desktop .center-content .top .links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    margin-bottom: 1.5rem;
}

footer.desktop .center-content .top .links a,
footer.desktop .center-content .top .links a:visited {
    color: #9eafb9;
}

footer.desktop .center-content .top .links:last-child {
    margin-right: 20px;
}

footer.desktop .center-content .top .links .line {
    width: 150px;
    height: 0.1rem;
    margin-top: 0.75rem;
    background-color: #797979;
}


footer.desktop .center-content .line {
    width: 100%;
    height: 1px;
    background-color: #797979;
}


footer.desktop .center-content .bottom {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0px 1rem 0px 1rem;
}

footer.desktop .center-content .bottom span {
    margin: 1rem auto;
}

footer.desktop .center-content .bottom span:first-child {
    margin-left: 30px;
}

footer.desktop .center-content .bottom span:last-child {
    margin-right: 30px;
}


/* Mobile footer */
footer.mobile {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #010D5D;
    color: #9eafb9;
}

footer.mobile .logo {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

footer.mobile .logo img {
    width: 8rem;
    height: auto;
    margin-right: 1rem;
}

footer.mobile .links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

footer.mobile .links a,
footer.mobile .links a:visited {
    color: #9eafb9;
}

footer.mobile .copyright {
    margin-bottom: 3rem;
}



@font-face {
    font-family: "Lato-Regular";
    src: url(../fonts/Lato-Regular.woff);
}

@font-face {
    font-family: "Lato-Italic";
    src: url(../fonts/Lato-Italic.woff);
}



@media (max-width: 500px) {
    /* resize side navbar to full screen width */
    .side-menu {
        width: 100dvw;
        box-sizing: border-box;
    }
}

@media (max-width: 920px) {
    /* hide navbar, show burger */
    header .navbar .center-content .left a {
        display: none;
    }

    header .navbar .center-content .right .burger {
        display: block;
    }
}


@media (max-width: 850px) {
    /* switch to mobile footer */
    footer.desktop {
        display: none;
    }

    footer.mobile {
        display: flex
    }
}


@media (max-width: 1068px) {
    /* compact contact ways (no tel/email) */
    header .location-banner {
        padding: 10px 0px;
    }

    header .location-banner svg {
        width: 1.5rem;
        height: 1.5rem;
        padding-right: 0.8rem;
    }

    header .main-header .center-content .contact svg {
        width: 3rem;
        height: 3rem;
        padding-right: 1rem;
    }
}


@media (max-width: 1338px) {
    header .main-header .center-content .contact {
        gap: 0.75rem;
        margin-right: 0.5rem;
    }

    header .main-header .center-content .contact .contact-way .content {
        display: none;
    }

    header .main-header .center-content .contact svg {
        width: 1.9rem;
        height: 1.9rem;
    }
}
