.debug {
    border: 1px #ff0000 dashed;
    margin: 20px;
    padding: 20px;
}

/*
:root {
    --min-font-size: 2rem;
    --max-font-scale: 7;
    --max-font-size: calc(var(--max-font-scale) *1rem);
    --scaling-factor: 0.857; /* 7rem / 8vw to maintain a proportionate scaling factor
    --preferred-font-size: calc(var(--max-font-scale) * var(--scaling-factor) * 1vw);

    font-size: clamp(var(--min-font-size), var(--preferred-font-size), var(--max-font-size));
}
*/


* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px; /* 1em = 16px */
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
}

body {
    font-size: 1em; /* 16px */
}

h1 {
    font-size: 2em; /* 32px */
}

ol, ul {
    list-style: initial;
}

p {
    font-size: 1em; /* 16px */
}

footer {
    background-color: rgb(6, 16, 69);
    color: #00c4cc;
    text-align: center;
    padding: 20px;
}

footer>a {
    /* display: block; */
    color: #00c4cc;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    transition: all 0.5s ease;
    border-radius: 5px;
    font-weight: 900;
}

footer>a:hover {
    box-shadow: 0 6px 10px rgb(0 0 0 / .15), 0 2px 4px rgb(0 0 0 / .12);
    background-color: #e56a3a;
    border: 1px solid #e56a3a;
    cursor: pointer;
    color: #0D1B49;
}

.roboto-mono {
  font-family: "Roboto Mono", monospace;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

.merriweather {
    font-family: "Merriweather Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

.lato-thin {
    font-family: "Lato", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.lato-light {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.lato-regular {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.lato-bold {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.lato-black {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.lato-thin-italic {
    font-family: "Lato", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.lato-light-italic {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.lato-regular-italic {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.lato-bold-italic {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.lato-black-italic {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: italic;
}

.material-icons {
    font-size: 0.75em;
}

div#shiftnav-toggle-main {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15), 0 6px 20px rgba(243, 123, 74, 0.3);
}

div#shiftnav-main {
    background: #e0e0e0;
    color: #0d1b49;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15), 0 6px 20px rgba(243, 123, 74, 0.3);
    width: 70vw;
}

li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-195.shiftnav-depth-0 {
    display: block;
}

ul li a.shiftnav-target {
    text-align: left;
}

ul.shiftnav-menu {
    background-color: inherit !important;
    color: #0d1b49;
}

li.menu-item.menu-item-type-custom.menu-item-object-custom {
    width: 100%;
}

.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item > .shiftnav-target {
    color: #0d1b49 !important;
    text-shadow: none!important;
    border-bottom: none!important;
    border-top-color: #0d1b49!important;
    border-top-width: 2px!important;
    border-radius: unset!important;
}

.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item:last-child > .shiftnav-target {
    border-bottom: 2px solid #0d1b49!important;
}

.shiftnav-inner button.shiftnav-panel-close {
    position: static;
    margin-left: auto;
    background-color: #00c4cc;
    border: 1px solid #00c4cc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.shiftnav-main-toggle-content.shiftnav-toggle-main-block {
    padding: 10px !important;
}

.mobile-image-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 !important;
}

.mobile-image-wrapper >img {
    width: 70%;
}

.hero-content {
    color: #ffffff;
    /*padding: 30px 10rem; */
    position: relative;
}

.hero-info {
    background: linear-gradient(135deg, #0072ce 0%, #0055a3 55%, #003f7a 100%);
    left: 200px;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    transform: translateY(-50%);
    padding: 22px 24px !important;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
    0 10px 30px rgba(0, 53, 102, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(2px);
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;    
}

.hero-info:hover {
  /*transform: translateY(-50%) translateY(-2px);*/
  box-shadow:
    0 16px 36px rgba(0, 53, 102, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.2);
  filter: brightness(1.04);
}


.hero-content > div:first-child {
    padding-right: 6.25rem;
}

.hero-content > div:last-child {
    padding-left: 6.25rem;
}

.circle-icon {
    display: inline-block;
    width: 2em; /* Adjust the size as needed */
    height: 2em; /* Adjust the size as needed */
    border-radius: 50%;
    border: 2px solid #0D1B49; /* Adjust the color as needed */
    text-align: center;
    line-height: 2em; /* This should match the height to center the icon vertically */
    color: #0D1B49; /* Adjust the color as needed */
    margin-right: 20px;
}

.button {
    display: block;
    /*min-width: 370px;*/
    width: fit-content;
    width: clamp(0px, 65vw, 370px);
    padding: 20px;
    background-color: #f0f0f0;
    color: #333;
    text-align: center;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.button:hover {
    background-color: #e0e0e0;
    border-color: #bbb;
}

/* CTA button (link or tel:) */
.hero-info .call-to-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
  color: #003f7a;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 32, 64, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  text-align: left;
    font-size: 22px;
}

.hero-info .call-to-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 32, 64, 0.28);
  background: linear-gradient(180deg, #ffffff 0%, #e8f3ff 100%);
}

.hero-info .call-to-action:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 32, 64, 0.2);
}

.hero-info .call-to-action:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.call_to_action_wrapper {
    display: flex;
    justify-content: center;
}

.light .call-to-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
    color: #003f7a;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 32, 64, 0.2);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    text-align: left;
    width: fit-content;
    max-width: 100%;
    font-size: 24px;
}

.light .call-to-action:hover {
    color: #003f7a;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 32, 64, 0.28);
  background: linear-gradient(180deg, #ffffff 0%, #e8f3ff 100%);
}

.light .call-to-action:active {
    color: #003f7a;
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 32, 64, 0.2);
}

.light.call-to-action:focus-visible {
    color: #003f7a;
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}


.about-us-call-to-action-wrapper {
    margin-left: 3em;
    width: 70%;
    border-top: 4px solid #00c4cc;
}

.about-us-call-to-action-wrapper span.material-icons.circle-icon {
    color: #00c4cc;
    border: 2px solid #00c4cc;
}

a.button.call-to-action.dark-blue {
    width: auto;
    background-color: #00c4cc;
    border: 1px solid #00c4cc;
    color: #00c4cc;
    font-size: 2em;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    text-align: center;
    text-decoration: none;
    transition: box-shadow 0.3s ease;
    margin-top: 20px;
}

a.button.call-to-action.dark-blue:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12);
    background-color: #0b1942;
    border: 1px solid #0b1942;
    cursor: pointer;
}

.split-layout >.page {
    width: 50%;
}

.image-component img {
    width: 100%;
    height: 100%;
}

.content p {
    margin-bottom: 1em;
}

.testimonials_box {
    container-name: testimonials_box;
    container-type: inline-size;
    display: none;
}

#map .content {
    padding: 0;
    margin: 0;
}

@container testimonials_box (width > 0px) {
    .testimonial-wrapper {
        display: flex;
        /*align-items: center;*/

        justify-content: center;
    }

    .img-contaner {
        width: 250px;
        height: 250px;
        margin-right: 30px;
    }

    .img-contaner img {
        width: inherit;
    }

    .name-contaner {
        font-weight: bold;
        font-size: 1.5em;
        margin-bottom: 20px;
        border-bottom: 3px solid #00c4cc;
        color: #00c4cc !important;
    }

    .content-container {
        width: 30rem;
    }
}


.gform {
    container-name: gform;
    container-type: inline-size;
    color: #061045;
}

@container gform (width > 0px) {
    .gform_wrapper.gravity-theme .gform_validation_errors,
    .gform_wrapper.gravity-theme .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message {
        background-color: #ee314f !important;
    }

    .gform_wrapper.gravity-theme .gform_validation_errors > h2,
    .gform_wrapper.gravity-theme .gform_validation_errors > ol a,
    .gform_wrapper.gravity-theme [aria-invalid="true"] + label, .gform_wrapper.gravity-theme label + [aria-invalid="true"], .gform_wrapper.gravity-theme .gfield_error legend, .gform_wrapper.gravity-theme .gfield_error label, .gform_wrapper.gravity-theme .gfield_error .gfield_repeater_cell label, .gform_wrapper.gravity-theme .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message{
        color: #061045 !important;
        text-decoration: none !important;
    }

    .gform_wrapper.gravity-theme .gfield_required .gfield_required_text, .gform_wrapper.gravity-theme .gfield_required .gfield_required_custom {
        color: #061045;
    }

    .gform_wrapper.gravity-theme .ginput_counter {
        color: #061045;
    }

    .gform_button {
        background-color: #061045;
        border: 1px solid #061045;
        color: #00c4cc;
        font-size: 2em;
        font-family: "Lato", sans-serif;
        font-weight: 900;
        font-style: normal;
        text-transform: uppercase;
        border-radius: 4px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
        text-align: center;
        text-decoration: none;
        transition: box-shadow 0.3s ease;
        margin-top: 20px;
    }

    .gform_button:hover {
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12);
        background-color: #0b1942;
        border: 1px solid #0b1942;
        cursor: pointer;
    }
}

#hero-image >img {
    width: 100%;
    height: 100%;
}

#hero-promo-header {
    font-size: var(--hero-promo-header-font);
    font-weight: bold;
    color: #00c4cc;
    margin-top: 20px;
}

#here-promo-body {
    font-size: 2em;
    font-size: var(--hero-promo-body-font);
    margin-top: 0.5em;
}

.header-content {
    background-color: #fff;
    display: flex;
    padding: 20px 10px;
    position: relative;
}

.header-content>div:last-child {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.menu-group {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
}

.menu-panel {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid #b9dbff;
    border-radius: 8px;
    background-color: #ffffff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    background-color: #e8f3ff;
    border-color: #7db8f1;
    box-shadow: 0 6px 14px rgba(6, 83, 160, 0.16);
    outline: none;
}

.menu-toggle__line {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #0d4f8b;
    border-radius: 2px;
}

#logo-container {
    padding-left: 10rem;
    padding-right: 10px;
}

#logo-container > a {
    display: flex;
    align-items: center;
    height: 100%;
}

#logo-container >a >img {
    /*height: 110px;*/
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
}

#menu-container {
    flex-grow: 1;
}

.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    display: flex;
    justify-content: flex-end;
    padding-top:2px;
    padding-bottom: 2px;
}

.menu-item {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    position: relative;
}

.menu-item >a {
    display: block;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    color: #0a2b4d;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 900;
    transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
    font-size: 0.95em;
}

.menu-item >a:hover {
    box-shadow: 0 8px 18px rgba(6, 83, 160, 0.2), 0 2px 6px rgba(2, 22, 45, 0.12);
    background-color: #e8f3ff;
    border-color: #b9dbff;
    color: #0d4f8b;
    cursor: pointer;
}

.menu-item-border {
    background: linear-gradient(180deg, #2f98ff 0%, #0d73da 100%);
    border: 1px solid #0d73da;
    color: #ffffff;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(6, 83, 160, 0.28), 0 2px 6px rgba(2, 22, 45, 0.14);
    text-align: center;
    text-decoration: none;
    transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
    display: flex;
    align-items: center;
}

.menu-item-border > a {
    color: inherit;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    transition: all 220ms ease;
}

.menu-item-border > a:hover {
    background-color: transparent;
    border-color: transparent;
    color: inherit;
    box-shadow: none;
    transform: none;
}

.menu-item-border:hover {
    background: #e8f3ff;
    border-color: #b9dbff;
    color: #0d4f8b;
    box-shadow: 0 8px 18px rgba(6, 83, 160, 0.2), 0 2px 6px rgba(2, 22, 45, 0.12);
}

.menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #d7e9fb;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(2, 22, 45, 0.18);
    z-index: 10050;
}

.menu .menu-item-has-children:hover::after,
.menu .menu-item-has-children:focus-within::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 10px;
}

.menu .menu-item:hover > .sub-menu,
.menu .menu-item:focus-within > .sub-menu {
    display: block;
}

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

.menu .sub-menu .menu-item > a {
    display: block;
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
}



.split-content, .split-layout, .hero-content {
    display: flex;
    /*width: 100%;*/
}

.single-content, .page, .hero-content >div {
    max-width: 100%;
}

.full-page {
    /*min-height: 100vh;*/
    min-height: calc(100vh - var(--header-height));
    padding: 30px 10rem;
}

.page:not(.body-class) {
    display: flow-root;
    padding: 30px 10rem;
}

#hero-header {
    font-weight: bold;
    font-size: var(--hero-header-font);
}

#hero-sub {
    font-size: var(--hero-header-sub-font);
}

.primary-header {
    z-index: 10001;
    position: sticky;
    top: 0;
    transition: all 1.3s ease;
    height: 110px;
    max-width: 100vw;
    margin: 0;
}

.primary-header.shrink {
    height: 80px;
    box-shadow: 0 1px 3px rgba(0, 63, 122, 0.12), 0 1px 2px rgba(0, 63, 122, 0.24);
    border-radius: 8px;
    transition: all 1.3s ease;


    top: 20px;
    max-width: 70vw;
    margin: auto;
    align-items: center;
}

.primary-header.shrink #logo-container {
    height: inherit;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 15px;
}

.primary-header.shrink #logo-container > a {
    height: 100%;
}

.primary-header.shrink #logo-container >a >img{
    padding-left: 0;
    object-fit: contain;
}

.header, .sub-header {
    font-size: 4em;
    font-size: var(--header-font);
    font-weight: bold;
    color: #00c4cc;
    margin-top: 20px;
}

.sub-header {
    font-size: 2em;
    font-size: var(--sub-header-font);
}

h1 {
    font-size: 2em !important;
    color: #003f7a;
}

h3 {
    display: block;
    font-size: 2em;
    font-size: 1.5em;
    margin-block-start: 0.15em;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    /*font-family: "Merriweather Sans", sans-serif; */
}

.content {
    padding: 0 3rem;
}

.content>ul {
    padding-left: 2em;
}

.service-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.stats-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card.stats-card {
    max-width: calc(100vw / 4);
    background-color: #C3C5D9;
    color: #00c4cc;
    box-shadow: 0 1px 3px rgba(224,224,224, 0.12), 0 1px 2px rgba(224,224,224, 0.24); /* Elevation-like shadow */
}
.card:hover.stats-card {
    box-shadow: 0 10px 20px rgba(224,224,224, 0.19), 0 6px 6px rgba(224,224,224, 0.23); /* Elevation effect on hover */
}

.stats-card .card-header {
    color: #00c4cc;
    text-align: center;
}

.service-card >.card-header >h3 {
    padding: 0;
    margin: 0;
}

.card {
    background-color: #FFFFFF; /* White background color */
    border-radius: 4px; /* Rounded corners */
    box-shadow: 0 1px 3px rgba(0,63,122, 0.12), 0 1px 2px rgba(0,63,122, 0.24); /* Elevation-like shadow */
    margin: 16px; /* Margin around the card */
    /*padding: 16px; */
    transition: box-shadow 0.3s ease-in-out; /* Smooth transition for shadow */
    flex: 1 1 calc(50% - 32px); /* 2 cards per row with spacing accounted for */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    container-name: card;
    container-type: inline-size;
    margin-top: 2em;
    margin-bottom: 2em;
}

.card:hover {
    box-shadow: 0 10px 20px rgb(0 63 122 / 19%), 0 6px 6px rgb(0 63 122 / 23%);
}

.card-header {
    color: #003f7a;
    font-size: var(--card-header-font);
    padding: 16px;
    padding-bottom: 0;
}

.service-options >ul {
    padding-left: 2em;
    list-style-type: none;
}

.service-card .image-wrap {
  height: 430px;           /* same height for all cards */
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

ul {
    margin-top: 1em;
}

li {
    margin-bottom: 0.5em;
}

.service-options-list::before {
    content: '✔'; /* Unicode character for the tick */
    color: #00c4cc; /* Change the color of the tick */
    display: inline-block; /* Make the tick inline with the text */
    width: 20px; /* Adjust the width of the tick */
    text-align: center; /* Center the tick vertically */
    margin-right: 10px; /* Add space between the tick and the list text */
}

.split-layout > .page.full-page {
    flex: 1;
    max-width: 50%;
}

.acf-map {
    /*width: 100%; */
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

.acf-map img {
   max-width: inherit !important;
}

/*https://stackoverflow.com/a/52205730*/
.percentage-circle {
    --v:calc( ((18/5) * var(--p) - 90)*1deg);
    --bgCol:#fff;

    width:100px;
    height:100px;
    display:inline-block;
    border-radius:50%;
    padding:10px;
    background:
            linear-gradient(var(--bgCol),var(--bgCol)) content-box,
            linear-gradient(var(--v), #09113F     50%,transparent 0) 0/min(100%,(50 - var(--p))*100%),
            linear-gradient(var(--v), transparent 50%,#DE4645        0) 0/min(100%,(var(--p) - 50)*100%),
            linear-gradient(to right, #09113F 50%,#DE4645 0);
}

.percentage-circle >div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #de4645;
}

.stats-card>.percentage {
    display: flex;
    justify-content: center;
}

.card-bg-image {
    background-image: url(/wp-content/uploads/2024/06/Asset-1@3x.png);
    background-size: 70px 70px;
    background-repeat: no-repeat;
    background-position: top right;
    padding-right: 80px;

    margin: 2em 5em;
}

.content.lato-regular {
    margin-top: 1em;
}

@container card (width > 0px) {
    .service-description {
        margin-bottom: 1em;
    }

    .card-body {
        margin-top: 1em;
        margin-bottom: 1em;
        padding: 16px;
        padding-top: 0;
    }

    ul {
        padding-left: 2em;
    }

    .page:not(.body-class) {
        padding: 0;
    }

    .header, .sub-header {
        font-size: 2em;
        font-size: var(--card-header-font);
        font-weight: bold;
        color: #00c4cc;
        margin-top: 0;
    }

    .sub-header {
        font-size: 1.5em;
        font-size: var(--card-sub-header-font);
    }
}

/* Responsive adjustments */
@media screen and (max-width: 1410px) {
    .acf-map {
        height: 100vh;
    }

    .page:not(.body-class), .full-page {
        padding: 30px 3rem;
    }

    #logo-container {
        padding-left: 3rem;
    }

    .hero-content, .split-layout, .service-box {
        flex-direction: column;
    }

    .split-layout > .page.full-page {
        max-width: 100%;
        width: 100%;

        box-sizing: border-box;
    }

    .split-layout >.page {
        max-width: 100%;
        width: 100%;

        box-sizing: border-box;
    }

    .about-us-call-to-action-wrapper {
        margin-left: 0;
    }

    .content {
        padding: 0;
    }

    .hero-content > div:first-child, .hero-content > div:last-child {
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 50px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .n2_clear {
        padding-bottom: 0!important;
    }    

    div#hero-image {
        width: 80vw;
    }

    .header {
        /*font-size: 2em;*/
    }

    .service-box {
        flex-wrap: nowrap;
    }
}

@media screen and (max-width: 1090px) {
    .menu-phone {
        display: none;
    }
}

@media screen and (max-width: 850px) {
    .page:not(.body-class), .full-page {
        padding: 30px 1rem;
    }

    #logo-container {
        padding-left: 1rem;
    }
}

@media screen and (max-width: 830px) {
    .header-content {
        align-items: center;
        flex-wrap: nowrap;
    }

    .header-content > div:last-child,
    .menu-group {
        align-items: center;
    }

    .header-content > div:last-child {
        flex-grow: 0;
    }

    #logo-container {
        flex: 1 1 auto;
        min-width: 0;
        padding-right: 0;
    }

    #logo-container >a > img {
        display: block;
        width: auto;
        height: auto;
        max-height: 56px;
        max-width: 100%;
        object-fit: contain;
    }

    .menu-toggle {
        display: inline-flex;
        position: relative;
        z-index: 10080;
    }

    .menu-group {
        position: relative;
        width: auto;
        justify-content: flex-end;
    }

    .menu-panel {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: min(88vw, 380px);
        height: 100vh;
        padding: 18px 12px;
        border-right: 1px solid #d7e9fb;
        border-radius: 0;
        box-shadow: 0 16px 30px rgba(2, 22, 45, 0.28);
        background-color: #ffffff;
        z-index: 10070;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        overflow-y: auto;
        transform: translateX(0);
        transition: transform 260ms ease;
    }

    .primary-header.menu-open .menu-panel {
        display: flex;
        transform: translateX(0);
        animation: fitt-menu-drawer-in 260ms ease both;
    }

    #menu-container,
    .menu-panel > div {
        width: 100%;
    }

    #menu-container .menu,
    .menu-panel > div .menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        gap: 6px;
        padding-top: 10px;
    }

    #menu-container .menu-item,
    .menu-panel > div .menu-item {
        display: block;
        margin: 0;
    }

    #menu-container .menu-item > a,
    .menu-panel > div .menu-item > a {
        text-align: left;
    }

    .menu-panel #menu-container .menu .sub-menu {
        display: block !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        float: none !important;
        clear: both;
        width: 100% !important;
        min-width: 0 !important;
        margin: 6px 0 0 0 !important;
        padding: 0 0 0 16px !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        transform: none !important;
    }

    .menu-panel #menu-container .menu .sub-menu .menu-item > a {
        white-space: normal;
        padding-left: 12px;
    }

    .menu .menu-item-has-children:hover::after,
    .menu .menu-item-has-children:focus-within::after {
        display: none;
    }
}

body.menu-open-mobile {
    overflow: hidden;
}

@keyframes fitt-menu-drawer-in {
    from {
        transform: translateX(-105%);
    }

    to {
        transform: translateX(0);
    }
}

div#hero-sub>h4, .hero-description, #hero-header>h3 {
    margin-bottom: 10px;
}

@media screen and (max-width: 1025px) {
    .hero-info {
        width: 70%;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
}

@media screen and (max-width: 871px) {
    .hero-info {
        width: 96%;
        /*top: 35%;*/
    }
}

@media screen and (max-width: 788px) {
    .hero-description {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .hero-info {
        width: 96%;
        /*top: 30%;*/
    }
}

@media screen and (max-width: 600px) {
    .hero-info {
        width: 96%;
        /*top: 28%;*/
    }

    #hero-sub>h4 {
        display: none;
    }
}

@media screen and (max-width: 546px) {
    .cta-search {
        width: 100%!important;
    }

    #hero-header>h3 {
        display: none;
    }
}

@media screen and (max-width: 502px) {
    .hero-info {
        /*top: 23%;*/
        padding: 0 !important;
        background-color: transparent;
        border: transparent;
    }
}

@media screen and (max-width: 468px) {
    #info-lines {
        display: none;;
    }
}

@media screen and (max-width: 340px) {
    .n2_clear {
        display: none;;
    }
}

@media screen and (min-width: 831px) {
    #menu-container .menu > .menu-item {
        position: relative;
    }

    #menu-container .menu > .menu-item > .sub-menu {
        position: absolute;
        top: calc(100% + 2px);
        left: 0;
        right: auto;
    }
}

@media screen and (max-width: 700px) {
    /*
    .card {
        margin: 2em 2em;
        padding-right: 55px;
    }

    .stats-box {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .card.stats-card {
        width: 90%;
        max-width: 90%;
        min-width: 90%;
    } */

    @container testimonials_box (width > 0px) {
        .testimonial-wrapper {
            flex-direction: column;
        }

        .img-contaner {
            justify-content: center;
            align-items: center;
            display: flex;
            width: 100%;
        }

        .img-contaner img {
            width: 250px;
        }
    }

    .content-container {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .about-us-call-to-action-wrapper {
        margin-left: 0;
        width: initial;
        border-top: 4px solid #00c4cc;
    }

    @container card (width > 0px) {
        .card-bg-image .page:not(.body-class) {
            margin-top: 20px;
        }
    }

    /*
    .card {
        padding-right: 10px;
        padding-left: 10px;
    } */
}






/* CTA Search Box polish */
.contentBox .es-search {
  background: linear-gradient(145deg, #0d4f8b 0%, #0a3f73 55%, #082f56 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 18px !important;
  box-shadow:
    0 14px 36px rgba(2, 22, 45, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contentBox .es-search h3 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.contentBox .es-search__address {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.contentBox .es-search .es-field__address,
.contentBox .es-search .es-btn--primary {
  height: 48px;
  min-height: 48px;
  box-sizing: border-box;
}

.contentBox .es-search .es-field__address {
  flex: 1;
  display: flex;
  position: relative;
  align-items: center;
  padding: 0 12px;
  background: #fff;
  border: 1px solid rgba(10, 63, 115, 0.25);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
  padding-bottom: 0 !important;
}

.contentBox .es-search .es-field__address input {
  display: block;
  width: 100% !important;
  height: 100%;
  margin: 0;
  padding: 0 !important;
  line-height: normal !important;
  font-size: 0.98rem !important;
  color: #0a2b4d !important;
  background: transparent;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.contentBox .es-search .es-field__address input::placeholder {
  color: #6a7f95;
}

.contentBox .es-search .es-field__address input:focus,
.contentBox .es-search .es-field__address input:focus-visible {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.contentBox .es-search .es-field__address:focus-within {
  border-color: rgba(20, 112, 201, 0.55);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.06),
    0 0 0 2px rgba(83, 170, 255, 0.25);
}

.contentBox .es-search .es-field__address .es-autocomplete {
  top: 100% !important;
  left: 0;
  width: 100%;
  margin-top: 4px;
  z-index: 10;
}

.contentBox .es-search .es-btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  margin-left: 0;
  border: 0;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(180deg, #2f98ff 0%, #0d73da 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(6, 83, 160, 0.45);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.contentBox .es-search .es-btn--primary:hover {
  
  box-shadow: 0 12px 22px rgba(6, 83, 160, 0.5);
  filter: brightness(1.04);
}

.contentBox .es-search .es-btn--primary:active {
  transform: translateY(0);
}


.cta-search {
    width: 80%;
}

#featured {
    background: linear-gradient(180deg, #ffffff 40%, #003f7a 40%, #003f7a 100%);
}

.front-page-property-meta >ul {
    display: flex;
    justify-content: space-around;
}

.cta-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, #e8f3ff 100%);
  color: #003f7a;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 18px rgba(0, 23, 46, 0.28);
  transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  font-size: 24px;
}

.cta-phone-btn:hover {
  background: linear-gradient(180deg, #f5fbff 0%, #d8ecff 100%);
  border-color: rgba(255, 255, 255, 0.65);
  color: #002f5c;
  box-shadow: 0 12px 24px rgba(0, 23, 46, 0.34);
}

.cta-phone-btn:focus-visible {
  outline: 3px solid rgba(168, 214, 255, 0.9);
  outline-offset: 2px;
}

.es-property-field__value.es-entity-field__value >p {
    font-size: 1.5em;
}

.info {
    color: #fff;
    display: flex;
    justify-content: center;
    padding: 10px;
    font-size: 0.85em;
}

.info-text >span {
    margin-left: 10px;
    margin-right: 10px;
}

.es-listings .type-properties {
    padding: 0;
    background: 0 0;
    box-shadow: 0 1px 3px rgba(0, 63, 122, 0.12), 0 1px 2px rgba(0, 63, 122, 0.24);
}


@media screen and (max-width: 560px) {
    .light .call-to-action {
        font-size: 17px;
    }
}

@media screen and (max-width: 417px) {
    .light .call-to-action {
        font-size: 1em;
    }
}

@media screen and (max-width: 396px) {
    .light .call-to-action {
        font-size: 0.9em;
    }
}

@media screen and (max-width: 364px) {
    .light .call-to-action {
        font-size: 0.85em;
    }
}
