/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
    --primary-color: #00304c;
    --secondary-color: #0098b9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0rem;
}

/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
    /* padding: 12px 15px; */
    text-align: left;
    border-bottom: 1px solid #E1E1E1;
}

th:first-child,
td:first-child {
    padding-left: 0;
}

th:last-child,
td:last-child {
    padding-right: 0;
}

input,
textarea,
select,
fieldset {
    margin-bottom: 1.5rem;
}

.f-s-24 {
    font-size: 24px;
    line-height: 1.2em;
    font-weight: 500;
}

.c-yellow {
    color: #f0cc47;
}

/*********Lists***************/
.entry-content ul {
    list-style-type: disc;
    padding-left: 1.25rem;
}

/******************************************************************/
/*                       Navigation                               */
/******************************************************************/
.site-header {
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    position: relative;
    top: auto;
    z-index: 100;
    transition: top 0.3s ease-in-out, background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0);
    padding: 10px 0px;
}

body.home .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

/* Header with background when scrolling up */
.site-header.header-visible {
    background-color: #e7fbff;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

/* Hidden header styles */
.site-header.header-hidden {
    top: -215px;
    position: fixed;
    left: 0;
    width: 100%;
}

body.home .site-header.header-hidden {
    top: -215px;
}

body.home .site-header.header-visible {
    top: 0;
}

.site-header .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header__contact {
    display: flex;
    flex-direction: column;
}

.site-header__contact a {
    color: var(--primary-color);
    font-family: "Outfit", sans-serif;
    font-size: 20px;
    line-height: 1.2em;
    font-weight: 700;
    text-decoration: none;
    transition: ease-in-out all .3s;
}

.site-header__contact a:hover {
    color: var(--secondary-color);
}

.site-logo img {
    position: relative;
    z-index: 2;
    width: auto;
    height: 100px;
}

.main-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 50px;
}

.main-nav .right-side-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.icon-burger {
    display: flex;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    align-items: flex-start;
    justify-content: center;
    margin-left: 12px;
    position: relative;
}

.icon-burger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: -1;
}

.icon-burger div {
    background-color: #fff;
    height: 3px;
    width: 26px;
    border-radius: 20px;
    transition: ease-in-out all .2s;
    margin-left: 12px;
}

.icon-burger div:last-of-type {
    width: 12px;
}

.icon-burger:hover div {
    background-color: #00A9CE;
}

.icon-burger:hover div:first-of-type {
    width: 12px;
}

.icon-burger:hover div:last-of-type {
    width: 6px;
}

.desktop-svg .st0 {
    fill: #327ab7 !important;
}

@media(max-width: 1024px) {
    .icon-burger {
        position: relative;
        z-index: 1;
    }

    .site-header__contact {
        display: none;
    }
}

@media(max-width: 640px) {
    .right-side-nav .header-btn {
        display: none;
    }

    .f-s-24 {
        font-size: 20px;
    }
}

/***********************************************************/
/*                     Buttons                             */
/***********************************************************/
.site-header .header-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 22.3px 12px;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.25em;
    font-weight: 600;
    text-transform: capitalize;
    transition: ease-in-out all .3s;
    border-radius: 30px;
}

.site-header .header-btn:hover {
    background: var(--secondary-color);
}

/* Off Canvas Menu Panels */
/* Off-canvas panel */
.offcanvas-wrap {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease, background 0.3s ease;
    z-index: 9999;
    overflow-x: hidden;
    overflow-y: auto;
}

.offcanvas-wrap.submenu-open {
    background: var(--e-global-color-bc33c00);
}

/* Show the panel */
.offcanvas-wrap.open {
    right: 0;
}

/* Close button */
.offcanvas-wrap .close {
    position: absolute;
    top: 40px;
    right: 0px;
    background: transparent !important;
    border: none;
    cursor: pointer;
    transition: ease-in-out all .3s;
}

.offcanvas-wrap .close svg {
    fill: var(--primary-color);
}

/* Prevent scrolling when menu is open */
body.offcanvas-open {
    overflow: hidden;
}

/* Optional overlay behind menu */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 10;
}

/* Show overlay */
body.offcanvas-open .offcanvas-overlay {
    opacity: 1;
    visibility: visible;
}

.offcanvas-inner-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    transition: transform 0.4s ease;
    width: 100%;
    /* Horizontal padding moved to .offcanvas-panel — padding here made each panel
       narrower than the viewport so the next .offcanvas-panel peeked at the edge */
    padding: 0;
    margin-top: 160px;
}

.offcanvas-panel {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.offcanvas-back {
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 0;
}

@media(max-width: 768px) {
    .offcanvas-back {
        margin-left: 0px;
    }
}

.offcanvas-back span {
    font-size: 24px;
    color: var(--primary-color);
    opacity: 1;
    transition: ease-in-out all .2s;
}

.offcanvas-back svg {
    position: relative;
    left: 0;
    transition: ease-in-out all .3s;
    fill: var(--primary-color);
}

.offcanvas-back:hover svg {
    left: -3px;
}

.offcanvas-back:hover span {
    opacity: .7;
}

.offcanvas-panel a {
    font-family: "Overpass", sans-serif;
    height: 68px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--e-global-color-primary);
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding-left: 20px;
    transition: ease-in-out all .3s;
    border-top: solid var(--e-global-color-secondary) 2px;
    justify-content: space-between;
    width: 97%;
}

.offcanvas-wrap .close:hover {
    transform: scale(.9) !important;
    ;
}

.offcanvas-panel a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.offcanvas-wrap.open.submenu-open .offcanvas-button-container {
    display: none;
}

.offcanvas-wrap.submenu-open .offcanvas-panel a:hover {
    background-color: var(--e-global-color-primary);
    color: #ffffff;
}

.offcanvas-panel a:hover .submenu-chevron svg {
    fill: #fff;
}

.offcanvas-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offcanvas-wrap .btn {
    padding: 26px;
    width: 235px;
    margin-left: 100px;
}

.submenu-chevron {
    display: inline-block;
    margin-left: 0.5em;
    transition: transform 0.3s ease;
    font-size: 1.2em;
    line-height: 1;
    vertical-align: middle;
    margin-right: 20px;
}

.submenu-chevron svg {
    width: 25px;
    fill: var(--primary-color);
}

/* Optional: animate chevron on hover */
.menu-item-has-children>a:hover .submenu-chevron {
    transform: translateX(4px);
    /* or rotate(90deg) for dropdown look */
}

/* Offcanvas button container */
.offcanvas-button-container {
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

/* Offcanvas button styles */
.offcanvas-btn.offcanvas-btn {
    background-color: #3A4998;
    color: #fff;
    font-size: 20px;
    padding: 19px 40px;
    display: inline-block;
}

.menu-main-menu {
    margin: 0;
    padding: 0;
}

.offcanvas-wrap .site-logo {
    padding-left: 20px;
    padding-top: 35px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
}

.offcanvas-wrap .site-logo img {
    height: 120px;
    width: auto;
    display: block;
}

.nav-btn {
    left: 0;
    margin-left: 0px !important;
    margin-top: 30px;
}

/* Mobile Bottom Bar Styles */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 90px;
    background-color: rgba(255, 255, 255, .68);
    z-index: 99;
    transition: bottom 0.3s ease-in-out;
}

.mobile-bottom-bar.bar-hidden {
    bottom: -100px;
}

.mobile-bottom-bar__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    height: 100%;
    padding: 20px 10px;
}

.mobile-bottom-bar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #00304c;
    border-radius: 50%;
    color: #fff !important;
    font-size: 20px;
    text-decoration: none;
    transition: ease-in-out all .3s;
}

.mobile-bottom-bar__icon:hover {
    background-color: #007e99;
    color: #fff !important;
}

.mobile-bottom-bar__btn {
    white-space: nowrap;
    background-color: #00304c;
    border-radius: 30px;
    padding: 16px 30px 15px 30px;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2em;
}

.mobile-bottom-bar__btn:hover {
    color: #fff;
    background-color: #007e99;
}

.nav-btn a {
    padding: 0 26px;
}

@media(max-width: 768px) {
    .site-header {
        /* background-color: rgb(255, 255, 255 .8); */
        background-color: #e7e7e7;
        padding: 6px 0;
    }

    body.home .site-header {
        background-color: rgba(255, 255, 255, 0.8);
    }

    /* Hide contact and button in header */
    .site-header__contact {
        display: none !important;
    }

    /* Make main-nav single row */
    .main-nav {
        flex-direction: row;
        row-gap: 0;
        justify-content: space-between;
        align-items: center;
    }

    .site-logo {
        order: 1;
    }

    .right-side-nav {
        order: 2;
    }

    .site-logo img {
        width: auto;
        height: 70px;
    }

    .offcanvas-wrap {
        max-width: 100%;
    }

    .offcanvas-wrap #menu-main-menu {
        padding-left: 0px;
    }

    .offcanvas-panel {
        width: 100vw;
    }

    .offcanvas-wrap .close {
        left: 0;
        text-align: right;
        width: fit-content;
        margin: 0 auto;
        margin-right: 0;
    }

    .offcanvas-back span {
        font-size: 24px;
    }

    .offcanvas-panel .nav-btn a {
        height: 75px;
        width: 275px;
        padding: 0;
        margin: 0 auto;
        position: relative;
        left: -30px;
    }

    .offcanvas-back {
        margin-top: 20px;
        padding-left: 0;
    }

    .sub-menu {
        padding-left: 0;
    }

    .offcanvas-inner-wrap {
        width: 100%;
        display: block;
        position: relative;
        transform: none !important;
        padding: 0;
    }

    .offcanvas-panel {
        width: 100%;
        display: none;
    }

    .offcanvas-panel.active {
        display: block;
    }

    /* Optional: reset horizontal transform in case resized from desktop */
    .offcanvas-inner-wrap {
        transform: none !important;
    }

    /* Button container same as desktop */
    .offcanvas-button-container {
        padding: 20px;
        margin-top: 20px;
    }
}

@media(max-width: 640px) {
    .mobile-bottom-bar {
        display: block;
    }
}

@media(max-width: 420px) {
    .offcanvas-panel a {
        width: 83%;
    }
}

@media(max-width: 380px) {
    .mobile-bottom-bar__icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
