/* ==========================================================================
CUSTOM CSS
========================================================================== */

:root{
    scroll-behavior:auto;
    --font-primary: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --body-padding-top: 71px;
    --available-vh: calc(100vh - var(--body-padding-top));
}

.admin-bar :root {
    --body-padding-top: 102px;
    --available-vh: calc(100vh - var(--body-padding-top));
}

#pre-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999;
}

#status {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

body {
    padding-top: 75px;
    font-family: var(--font-primary);
    line-height: 1.6;
}

/* WordPress Admin Bar Padding */
.admin-bar body {
    padding-top: 97px; /* 75px + 32px for admin bar */
}

.admin-bar .fixed-top {
    top: 32px; /* Account for admin bar on desktop */
}

section.position-fixed {
    top: 75px;
    left: 0;
    right: 0;
    z-index: 1000;
}
.admin-bar section.position-fixed {
    top: 107px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.text-section h2 {
    margin-top: 2.6rem;
    margin-bottom: 1.8rem;
}

.text-section h2:first-child {
    margin-top: 0;
}

.text-section h3 {
    margin-top: 2.6rem;
    margin-bottom: 1.1rem;
}

.text-section h3:first-child {
    margin-top: 0;
}

/* header, section, footer {
    padding-top: 6rem;
    padding-bottom: 6rem;
} */

.full-size-background {
    background: url('../../../img/mip-static-bg.jpg') no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../../img/mip-static-bg.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../../img/mip-static-bg.jpg', sizingMethod='scale')";
}

.custom-logo {
    height: 26px;
    width: auto;
}



/* ==========================================================================
GENERAL
========================================================================== */

.pt-7 {
    padding-top: 5rem;
}

.pb-7 {
    padding-bottom: 5rem;
}

.py-7 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.pt-9 {
    padding-top: 7rem;
}

.pb-9 {
    padding-bottom: 7rem;
}

.py-9 {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.fs-7 {
    font-size: 0.9rem!important;
}

.w-20 {
    width: 20%;
}

/* ==========================================================================
COLOURS
========================================================================== */

.bg-black {
    background-color: #000000;
}

.bg-white {
    background-color: #ffffff;
}

.bg-off-white {
    background-color: #F4F5F7;
}

.bg-myrtle-green {
    background-color: #4A6C6F;
}

.bg-charcoal {
    background-color: #4B5563;
}

.bg-charcoal-tint {
    background-color: #E1E1E1;
}

.bg-rich-black {
    background-color: #001D21;
}

.bg-french-grey {
    background-color: #C9D1D9;
}

.bg-anti-flash-white {
    background-color: #EEEEEE;
}

.bg-bone {
    background-color: #DDD5C7;
}

.bg-ash-grey {
    background-color: #A3B9A6;
}

.bg-ash-grey-tint {
    background-color: #EDF1ED;
}

.bg-flame {
    background-color: #E4572E;
}

.bg-flame-overlay {
    background-color: rgba(228, 87, 46, 0.9);
}

.bg-flame-tint {
    background-color: #FFF4E6;
}

.bg-dark-cyan {
    background-color: #009ca6;
}

.bg-dark-cyan-overlay {
    background-color: rgba(0, 156, 166, 0.9);
}

.bg-dark-cyan-tint {
    background-color: #DAEEEF;
}

.text-black {
    color: #000000;
}

.text-white {
    color: #ffffff;
}

.text-myrtle-green {
    color: #4A6C6F;
}

.text-charcoal {
    color: #4B5563;
}

.text-charcoal-tint {
    color: #E1E1E1;
}

.text-rich-black {
    color: #001D21;
}

.text-french-grey {
    color: #C9D1D9;
}

.text-anti-flash-white {
    color: #EEEEEE;
}

.text-bone {
    color: #DDD5C7;
}

.text-ash-grey {
    color: #A3B9A6;
}

.text-ash-grey-tint {
    color: #EDF1ED;
}

.text-flame {
    color: #E4572E;
}

.text-flame-tint {
    color: #FFF4E6;
}

.text-dark-cyan {
    color: #009CA6;
}

.text-dark-cyan-tint {
    color: #DAEEEF;
}

a, a:hover {
    color: #000000
}

.text-white p a, .text-white p a:hover {
    color: #ffffff;
}

/* ==========================================================================
BUTTONS
========================================================================== */

.btn {
    border-radius: 1.6rem;
    padding: 0.8rem 2.4rem;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: none;
}

.btn-link {
    font-weight: 400;
    text-transform: none;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
}

.btn-black {
    background-color: #000000;
    color: #ffffff;
}

.btn-black:hover {
    background-color: #ffffff;
    color: #000000;
}

.btn-white {
    background-color: #ffffff;
    color: #000000;
}

.btn-white:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-off-white {
    background-color: #F4F5F7;
    color: #000000;
}

.btn-off-white:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-myrtle-green {
    background-color: #4A6C6F;
    color: #ffffff;
}

.btn-myrtle-green:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-charcoal {
    background-color: #4B5563;
    color: #ffffff;
}

.btn-charcoal:hover {
    background-color: #ffffff;
    color: #000000;
}

.btn-charcoal-tint {
    background-color: #E1E1E1;
    color: #000000;
}

.btn-charcoal-tint:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-rich-black {
    background-color: #001D21;
    color: #ffffff;
}

.btn-rich-black:hover {
    background-color: #ffffff;
    color: #000000;
}

.btn-french-grey {
    background-color: #C9D1D9;
    color: #000000;
}

.btn-french-grey:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-anti-flash-white {
    background-color: #EEEEEE;
    color: #000000;
}

.btn-anti-flash-white:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-bone {
    background-color: #DDD5C7;
    color: #000000;
}

.btn-bone:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-ash-grey {
    background-color: #A3B9A6;
    color: #000000;
    /* border: 1px solid #ffffff; */
}

.btn-ash-grey:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-ash-grey-tint {
    background-color: #EDF1ED;
    color: #009CA6;
}

.btn-ash-grey-tint:hover {
    background-color: #009CA6;
    color: #ffffff;
}

.btn-flame {
    background-color: #E4572E;
    color: #ffffff;
}

.btn-flame:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-flame-tint {
    background-color: #FFF4E6;
    color: #E4572E;
}

.btn-flame-tint:hover {
    background-color: #E4572E;
    color: #ffffff;
}

.btn-dark-cyan {
    background-color: #009CA6;
    color: #ffffff;
}

.btn-dark-cyan:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-dark-cyan-tint {
    background-color: #DAEEEF;
    color: #000000;
}

.btn-dark-cyan-tint:hover {
    background-color: #000000;
    color: #ffffff;
}

.scroll-down-link {
    opacity: 0.6;
    transition: all 0.3s ease;
}

.scroll-down-link:hover {
    opacity: 1;
    transition: all 0.3s ease;
}

.scroll-down-link i {
    font-size: 3rem;
}

/* ==========================================================================
NAVIGATION
========================================================================== */

.site-branding {
    padding: 1.5rem 0;
}

.navbar-collapse {
    width: 100%;
}

.navbar {
    padding: 0;
}

.navbar .nav-link {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.navbar .nav-link:hover, .navbar .nav-link:focus {
    color: #ffffff;
    font-weight: 600;
    opacity: 0.8;
}

/* Dropdown styles */
.navbar .dropdown-menu {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-top: 0.125rem;
    min-width: 10rem;
    padding: 0.5rem 0;
    white-space: nowrap;
    width: max-content;
    max-width: none;
    left: auto;
    right: auto;
}

.navbar .dropdown-menu .nav-link {
    color: #000000;
}

.navbar .dropdown-menu .dropdown-item {
    color: #212529;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    min-width: max-content;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background-color: #F4F5F7;
    color: #212529;
}

.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:active {
    background-color: #0d6efd;
    color: #ffffff;
}

.navbar .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* ==========================================================================
MEGA MENU STYLES
========================================================================== */

/* Mega Menu Container */
.mega-menu-dropdown {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-top: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 2rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    width: 100vw;
    min-width: 100vw;
    max-width: none;
}

.admin-bar .mega-menu-dropdown {
    top: 100px;
}

.mega-menu-parent.show .mega-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mega Menu Content */
.mega-menu-content {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 2rem;
    width: 100%;
}

/* Responsive columns */
@media (max-width: 768px) {
    .mega-menu-content {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}

.mega-menu-content > li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Mega Menu Section Headers */
.mega-menu-content .mega-menu-section {
    margin-bottom: 1.5rem;
}

.mega-menu-content .mega-menu-section h4 {
    color: #009CA6;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #009CA6;
}

/* Mega Menu Links */
.mega-menu-content .nav-link {
    color: #333333;
    font-size: 1rem;
    padding: 0.5rem 0;
    /* border-bottom: 1px solid #f0f0f0; */
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    display: block;
    width: 100%;
    /* min-width: max-content; */
    font-weight: 600;
}

.mega-menu-content .nav-link:hover {
    color: #009CA6;
    background-color: transparent;
    padding-left: 0.5rem;
}

/* Keep parent nav-link white when mega-menu is shown or hovered */
.mega-menu-parent.show > .nav-link,
.mega-menu-parent:hover > .nav-link {
    color: #ffffff !important;
    opacity: 0.8;
}

/* Mega Menu Column Variations */
.mega-menu-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default 3 columns */
    gap: 2rem;
}

.mega-menu-columns.mega-menu-2-col {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
}

.mega-menu-columns.mega-menu-4-col {
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
}

.mega-menu-columns.mega-menu-5-col {
    grid-template-columns: repeat(5, 1fr); /* 5 columns */
}

/* Responsive columns */
@media (max-width: 992px) {
    .mega-menu-columns.mega-menu-4-col,
    .mega-menu-columns.mega-menu-5-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mega-menu-columns {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}

/* Mega Menu Grid Layout */
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* Mega Menu Featured Section */
.mega-menu-featured {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #009CA6;
}

.mega-menu-featured h5 {
    color: #009CA6;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.mega-menu-featured p {
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Mobile Navigation Adjustments */
@media (max-width: 991.98px) {
    /* Mobile Navigation Scrolling */
    .navbar .navbar-nav {
        max-height: calc(100vh - 120px); /* Allow for navbar height and some padding */
        overflow-y: auto;
        overflow-x: hidden; /* Prevent horizontal scrolling */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        scrollbar-width: thin; /* Firefox */
        scrollbar-color: rgba(255, 255, 255, 0.3) transparent; /* Firefox */
        width: 100%; /* Ensure full width */
        box-sizing: border-box; /* Include padding in width calculation */
    }
    
    /* Prevent horizontal overflow on nav items */
    .navbar .nav-item {
        width: 100%;
        box-sizing: border-box;
    }
    
    .navbar .nav-link {
        width: 100%;
        box-sizing: border-box;
        white-space: normal; /* Allow text to wrap */
        word-wrap: break-word; /* Break long words if needed */
    }
    
    /* Custom scrollbar for webkit browsers */
    .navbar .navbar-nav::-webkit-scrollbar {
        width: 6px;
    }
    
    .navbar .navbar-nav::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .navbar .navbar-nav::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }
    
    .navbar .navbar-nav::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }
    
    /* Mobile Mega Menu Adjustments */
    .mega-menu-dropdown {
        position: static;
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 1rem;
    }
    
    .mega-menu-content .nav-link {
        color: #ffffff;
        border-bottom: none;
        padding: 0.5rem 0;
    }
    
    .mega-menu-content .nav-link:hover {
        color: #dee2e6;
        padding-left: 0;
    }
    
    .mega-menu-featured {
        background-color: transparent;
        padding: 0;
        border-left: none;
        margin-top: 1rem;
    }
    
    .mega-menu-featured h5 {
        color: #ffffff;
    }
    
    .mega-menu-featured p {
        color: #dee2e6;
    }
}


/* ==========================================================================
FLEXIBLE SECTION
========================================================================== */

/* Remove bottom padding from text-section when followed by flexible section */
.text-section:has(+ .acf-block-flexible-section) {
    padding-bottom: 0px!important;
}

/* Remove top padding from text-section when preceded by flexible section */
.acf-block-flexible-section + .text-section {
    padding-top: 0px!important;
}

.acf-block-flexible-section .wp-block-column {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 2.4rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.acf-block-flexible-section .wp-block-column h3 {
    margin-bottom: 1.2rem;
}

.acf-block-flexible-section .wp-block-column.blank-column {
    background-color: transparent;
    padding: 2rem;
    border-radius: 0;
    box-shadow: none;
}

/* ==========================================================================
PAGE HEADER
========================================================================== */

.page-header-section {
    position: relative;
    overflow: hidden;
}

.position-fixed + .page-header-section {
    margin-top: 3rem;
}
    
.page-header-section .parallax-bg {
    position: absolute;
    top: 0; left: 0; width: 100%;
    height: 130%; /* or 120% */
    z-index: 1;
    will-change: transform;
}

.page-header-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.page-header-description {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
}

.grid-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: 100%;
    z-index: 1;
}

/* ==========================================================================
BIG PAGE HEADER STYLES
========================================================================== */

.big-page-header-section {
    position: relative;
    overflow: hidden;
    display: flex;
    /* align-items: center; */
}

.big-page-header-section .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transform: scale(1.1);
    transform-origin: center center;
}

.big-page-header-section .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.big-page-header-section .video-background.fade-in {
    opacity: 1;
}

.big-page-header-section .video-background iframe {
    /* position: absolute;
    width: 100vw;
    height: 56.25vw;
    min-height: 150vh;
    min-width: 260vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */

    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Ensure background images scale properly even without parallax */
.big-page-header-section:not(.has-parallax) .parallax-bg {
    transform: scale(1.1);
    transform-origin: center center;
}

/* Ensure video backgrounds scale properly even without parallax */
.big-page-header-section:not(.has-parallax) .video-background-element {
    transform: scale(1.1);
    transform-origin: center center;
}

.big-page-header-section .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.big-page-header-content {
    position: relative;
    z-index: 3;
    /* margin-bottom: 5rem; */
}

.big-page-header-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.big-page-header-description {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
}

.big-page-header-sidebar {
    position: relative;
    z-index: 3;
}

.stat-item {
    padding: 1rem 0;
}

.stat-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.big-page-header-buttons {
    margin-top: 2rem;
}

.big-page-header-sidebar {
    margin-top: 3rem;
}

/* ==========================================================================
SLIDERS
========================================================================== */

.ingenious-vertical-slider-section {
    position: relative;
    overflow: hidden;
}

.keen-slider-vertical-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #ffffff;
    border-radius: 2rem;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
}

/* ==========================================================================
SIMPLE VERTICAL SLIDER
========================================================================== */

.simple-vertical-slider .slider-container {
    height: 100%;
    overflow-y: auto; /* Enable native scrolling */
    scrollbar-width: none; /* Firefox - hide scrollbar */
    -ms-overflow-style: none; /* IE and Edge - hide scrollbar */
    scroll-behavior: smooth; /* Smooth scrolling for better UX */
}
.simple-vertical-slider .slider-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera - hide scrollbar */
}
.simple-vertical-slider .slide {
    padding: 2rem;
    background-color: #fff;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.simple-vertical-slider .slide a {
    color: #000000;
}
.simple-vertical-slider .slide a:hover {
    color: #000000;
}

.simple-vertical-slider .slide:last-child {
    margin-bottom: 0;
}
.simple-vertical-slider .slide-content {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #000000;
}
.simple-vertical-slider-section .nav-button {
    display: block;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0px;
    font-size: 0.4rem;
    margin-bottom: 0.6rem;
}
.simple-vertical-slider-section .nav-button:hover:not(:disabled) i.fa-circle {
    color: #000000;
}
.simple-vertical-slider-section .nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================================================
KEY BENEFITS SLIDER
========================================================================== */

.key-benefits-slider-section {
    overflow: hidden;
}

.key-benefits-slider-section .key-benefits-slider {
    position: relative;
}

.key-benefits-slider-section .keen-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.key-benefits-slider-section .keen-slider__slide {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Benefit slides styling - white cards */
.key-benefits-slider-section .key-benefits-slide-box {
    background: white;
    color: #000000;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 1.5rem;
    text-align: left;
    position: relative;
    width: 100%;
    height: 100%;
}

.key-benefits-slider-section .key-benefits-slide-content {
    position: relative;
}

.key-benefits-slider-section .slide-content {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.3;
}

/* Navigation arrows */
.key-benefits-slider-section .nav-button {
    position: relative;
    width: 46%;
    height: auto;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 1rem;
    margin-top: 1rem;
}

.key-benefits-slider-section .nav-button.prev {
    padding-right: 1rem;
    justify-content: center;
    float: left;
}

.key-benefits-slider-section .nav-button.next {
    padding-left: 1rem;
    justify-content: center;
    float: right;
}

.key-benefits-slider-section .nav-button i {
    font-size: 2.6rem;
}

.key-benefits-slider-section .nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.key-benefits-slider-section .slide-header {
    margin-bottom: 2rem;
    font-size: 2.4rem;
    font-weight: 300;
    color: #009CA6;
    line-height: 1;
}

.key-benefits-slider-section .nav-button:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-button.hover-dark-cyan-tint:hover {
    background: #DAEEEF;
}

.nav-button.hover-flame-tint:hover {
    background: #FFF4E6;
}

.slide-icon {
    width: 12%;
    height: auto;
    float: right;
    margin-top: -0.2rem;
}

/* ==========================================================================
NUMBERS SLIDER
========================================================================== */

.numbered-slider-section {
    overflow: hidden;
}

.numbered-slider-section .numbered-slider {
    position: relative;
}

.numbered-slider-section .keen-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.numbered-slider-section .keen-slider__slide {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.numbered-slider-section .numbered-slide-box {
    background: white;
    color: #000000;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 1.5rem;
    text-align: left;
    position: relative;
    width: 100%;
    height: 100%;
}

.numbered-slider-section .numbered-slide-content {
    position: relative;
}

.numbered-slider-section .slide-content {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.3;
}

/* Navigation arrows */
.numbered-slider-section .nav-button {
    position: relative;
    width: 46%;
    height: auto;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 1rem;
    margin-top: 1rem;
}

.numbered-slider-section .nav-button.prev {
    padding-right: 1rem;
    justify-content: center;
    float: left;
}

.numbered-slider-section .nav-button.next {
    padding-left: 1rem;
    justify-content: center;
    float: right;
}

.numbered-slider-section .nav-button i {
    font-size: 2.4rem;
}

.numbered-slider-section .nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.numbered-slider-section .slide-header {
    margin-bottom: 2rem;
    font-size: 2.4rem;
    font-weight: 300;
    color: #009CA6;
    line-height: 1;
}

.numbered-slider-section .nav-button:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-button.hover-dark-cyan-tint:hover {
    background: #DAEEEF;
}

.nav-button.hover-flame-tint:hover {
    background: #FFF4E6;
}

.slide-icon {
    width: 12%;
    height: auto;
    float: right;
    margin-top: -0.2rem;
}

.numbered-slider-section + .numbered-slider-section {
    padding-top: 0px!important;
}

/* ==========================================================================
DOCUMENTS & DOWNLOADS SLIDER
========================================================================== */

.documents-downloads-slider-section {
    overflow: hidden;
}

.documents-downloads-slider-section .documents-downloads-slider {
    position: relative;
}

.documents-downloads-slider-section .keen-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.documents-downloads-slider-section .keen-slider__slide {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.documents-downloads-slider-section .documents-downloads-slide-box {
    background: transparent;
    color: #000000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 0;
    text-align: left;
    position: relative;
    width: 100%;
    height: 100%;
}

.documents-downloads-slider-section .documents-downloads-slide-content {
    position: relative;
}

.documents-downloads-slider-section .slide-content {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.3;
}

/* Navigation arrows */
.documents-downloads-slider-section .nav-button {
    position: relative;
    width: 46%;
    height: auto;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 1rem;
    margin-top: 1rem;
}

.documents-downloads-slider-section .nav-button.prev {
    padding-right: 1rem;
    justify-content: center;
    float: left;
}

.documents-downloads-slider-section .nav-button.next {
    padding-left: 1rem;
    justify-content: center;
    float: right;
}

.documents-downloads-slider-section .nav-button i {
    font-size: 2.6rem;
}

.documents-downloads-slider-section .nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.documents-downloads-slider-section .slide-header {
    margin-bottom: 2rem;
    font-size: 2.4rem;
    font-weight: 300;
    color: #009CA6;
    line-height: 1;
}

.documents-downloads-slider-section .nav-button:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.documents-downloads-slider-section .folder-content-right {
    margin-top: -1.4rem;
}

.folder-content-right a i {
    font-size: 2.4rem;
}

.documents-downloads-slider-section .folder-content {
    margin-top: -1px;
}

.documents-downloads-slider-section .folder-icon-bottom {
    margin-top: -1px;
}

/* ==========================================================================
SECTION WITH BOXES
========================================================================== */

.trapezoid-left {
    position: absolute;
    top: -1px;
    left: 0;
    border-top: 100px solid #ffffff;
    border-right: 60px solid transparent;
    height: 0;
    width: 50%;
}

.trapezoid-right {
    position: absolute;
    top: -1px;
    right: 0;
    border-top: 100px solid #ffffff;
    border-left: 60px solid transparent;
    height: 0;
    width: 50%;
}

.section-with-boxes .section-bottom {
    padding-top: 0;
}

.section-with-boxes .section-boxes {
    margin-top: -3rem;
}

.section-with-boxes .folder-content {
    margin-top: -1px;
}

.section-with-boxes .folder-icon-bottom {
    margin-top: -1px;
}

/* ==========================================================================
TEXT SECTION
========================================================================== */

.text-section p:last-child {
    margin-bottom: 0;
}

.text-section-content hr {
    border: 2px solid #009CA6;
    opacity: 1;
    width: 15%;
    max-width: 80px;
}

.text-section-content hr:has(+ h3) {
    margin-top: 1.8rem;
}

/* ==========================================================================
CTA BANNER
========================================================================== */

.cta-banner-section {
    position: relative;
    overflow: hidden;
}

.cta-banner-section .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-banner-section .cta-content-box {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    color: #ffffff;
    border: 16px solid #C9D1D9;
    border-radius: 2rem;
}

.cta-description {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
}

.frame-cut-out-container-left {
    position: absolute;
    top: 0;
    right: 100%;
    width: 300%;
    height: 100%;
}

.frame-cut-out-container-right {
    position: absolute;
    top: 0;
    left: 100%;
    width: 300%;
    height: 100%;
}

.frame-cut-out {
    position: relative;
    display: flex;
    background: transparent;
    height: 100%;
    z-index: 2;
}

.frame-cut-out-inner {
    position: relative;
    display: flex;
    background: transparent;
    height: 100%;
    width: 100%;
    z-index: 2;
    border-radius: 2rem;
    border: 16px solid #C9D1D9;
}

.triangle-top-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 30px solid #C9D1D9;
    border-right: 30px solid transparent;
    z-index: 5;
}

.triangle-top-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-right: 30px solid #C9D1D9;
    border-bottom: 30px solid transparent;
    z-index: 5;
}

.triangle-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 30px solid #C9D1D9;
    border-top: 30px solid transparent;
    z-index: 5;
}

.triangle-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-right: 30px solid #C9D1D9;
    border-top: 30px solid transparent;
    z-index: 5;
}

/* ==========================================================================
BOXED FEATURED CONTENT
========================================================================== */

.boxed-featured-content .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.boxed-featured-content .double-column-container {
    display: flex;
    width: 400%;
    height: 100%;
}

.featured-content-box {
    border: 10px solid #C9D1D9;
    border-radius: 2rem;
}

.featured-content-container .triangle-top-left {
    border-top: 30px solid #C9D1D9;
    border-right: 30px solid transparent;
}

.featured-content-container .triangle-top-right {
    border-right: 30px solid #C9D1D9;
    border-bottom: 30px solid transparent;
}

.featured-content-container .triangle-bottom-left {
    border-left: 30px solid #C9D1D9;
    border-top: 30px solid transparent;
    z-index: 2;
}

.featured-content-container .triangle-bottom-right {
    border-right: 30px solid #C9D1D9;
    border-top: 30px solid transparent;
}

.featured-content-container .frame-cut-out-inner {
    border-radius: 2rem;
    border: 16px solid #C9D1D9;
}

.left-gutter-frame-cut-out {
    position: absolute;
    top: 0;
    left: -600%;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.arrow-button-container {
    margin-top: 1rem;
}

.arrow-button-container .arrow-button-text {
    font-size: 1.6rem;
    font-weight: 400;
    text-decoration: none;
    color: #000000;
}

.arrow-button-container .arrow-button-text:hover + .btn-ash-grey-tint {
    background-color: #009CA6;
    color: #ffffff;
}

.arrow-button-container .arrow-button-text:hover + .btn-flame-tint {
    background-color: #E4572E;
    color: #ffffff;
}

/* ==========================================================================
BOXED CONTENT WITH DATA HIGHLIGHTS
========================================================================== */

.boxed-content-with-data-highlights + .boxed-content-with-data-highlights {
    padding-top: 0px!important;
}

/* ==========================================================================
SECTION WITH IMAGES
========================================================================== */

.section-with-images {
    overflow: hidden;
}

.section-with-images .single-image, .section-with-images .double-image {
    width: 100%;
}

.section-with-images .single-image img, .section-with-images .double-image img {
    width: 100%;
}

.section-with-images .image-left-gutter {
    position: absolute;
    width: 100%;
    left: -100%;
    margin-left: -2rem;
}

/* ==========================================================================
DATA HIGHLIGHTS IN COLUMNS
========================================================================== */

.data-highlights-in-columns {
    position: relative;
}

.data-highlights-columns {
    position: relative;
    z-index: 1;
}

.data-highlights-in-columns .section-divider {
    position: absolute;
    width: 100%;
    left: 0px;
    height: 40px;
    background-color: #ffffff;
}

/* ==========================================================================
FORM
========================================================================== */

.btn-check:active+.btn-secondary, .btn-check:checked+.btn-secondary, .btn-secondary.active, .btn-secondary:active, .show>.btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #E8AF6B;
    border-color: #E8AF6B;
}


/* ==========================================================================
OTHER
========================================================================== */

.accordion-button:not(.collapsed) {
    color: #000;
    background-color: #e6e4e5;
}

.accordion-button:focus {
    border-color: #000;
}

/* ==========================================================================
MAP
========================================================================== */

.map-container {
    position: relative;
    color: #222;
    background-attachment: scroll;
    background-image: url('../../../img/map-image.jpg');
    background-position: center center;
    background-repeat: none;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    min-height: 500px;
}

#map {
    position:absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 0; /* Set z-index to 0 as it will be on a layer below the contact form */
}

/* ==========================================================================
TEAM MEMBERS
========================================================================== */

.team-members-section {
    position: relative;
}

.team-member-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.team-member-image {
    position: relative;
    aspect-ratio: 1/1;
}

.team-member-image img {
    transition: transform 0.3s ease;
}

.team-member-card:hover .team-member-image img {
    transform: scale(1.05);
}

.team-member-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card:hover .team-member-overlay {
    opacity: 1;
}

.team-member-info {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.team-member-card:hover .team-member-info {
    transform: translateY(0);
}

.team-member-name {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.team-member-title {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.team-member-bio {
    line-height: 1.6;
    color: #000000;
}

.team-member-modal {
    margin: 0px;
    padding: 0px;
}

/* Mobile adjustments for team members */
/* Mobile-first team member adjustments */
.team-member-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.3) 100%);
}

.team-member-info {
    transform: translateY(0);
}

.team-member-card:hover {
    transform: none;
}

.team-member-card:hover .team-member-image img {
    transform: none;
}

.team-member-team-title {
    width: fit-content;
}

/* ==========================================================================
   REAL ESTATE PORTFOLIO SECTION
========================================================================== */

.real-estate-portfolio-section {
    position: relative;
}

.real-estate-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.real-estate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.real-estate-image {
    position: relative;
    aspect-ratio: 4/4;
}

.real-estate-image img {
    transition: transform 0.3s ease;
}

.real-estate-card:hover .real-estate-image img {
    transform: scale(1.05);
}

.real-estate-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.real-estate-card:hover .real-estate-overlay {
    opacity: 1;
}

.real-estate-title {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.real-estate-excerpt {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.property-type-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.real-estate-content {
    line-height: 1.6;
    color: #000000;
}

.real-estate-modal {
    margin: 0px;
    padding: 0px;
}

/* Placeholder image styling */
.placeholder-image {
    background-color: #f8f9fa;
}

/* ==========================================================================
MODAL STYLE
========================================================================== */

.modal-default .modal-content {
    border: none;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
    border-radius: 1.2rem;
}

/* .modal-default .modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #F4F5F7;
    border-top-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
} */

.modal-default .modal-body {
    padding: 2.4rem;
}

.modal-default .modal-footer {
    border-top: 1px solid #dee2e6;
    background-color: #F4F5F7;
    border-bottom-left-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}

.modal-default .modal-header .btn-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background-color: #eeeeee;
    border-radius: 50%;
    z-index: 99999;
}

.modal-default .modal-header .btn-close:hover {
    background-color: #e0e0e0;
}

.modal-default .modal-header .btn-close:focus {
    box-shadow: none;
}

.modal-side-panel .modal-header .btn-close {
    right: 30px;
}

.modal-default .modal-header {
    border-bottom: 0px;
    background-color: #ffffff;
    border-top-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    padding-top: 0px;
    padding-bottom: 0px;
}



/* ==========================================================================
MODAL SLIDE IN FROM RIGHT ANIMATION
========================================================================== */

.modal-slide-in-right.show {
    z-index: 99999;
}

.modal-slide-in-right.fade .modal-dialog {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.modal-slide-in-right.show .modal-dialog {
    transform: translateX(0);
}

.modal-slide-in-right.fade .modal-backdrop {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-slide-in-right.show .modal-backdrop {
    opacity: 0.5;
}

/* ==========================================================================
FOOTER STYLES
========================================================================== */

.site-footer {
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-column h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-content p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-menu-list {
    margin: 0;
    padding: 0;
}

.footer-menu-list li {
    margin-bottom: 0.5rem;
}

.footer-menu-list a {
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.footer-menu-list a:hover {
    text-decoration: none;
}

.contact-details p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.contact-details i {
    width: 16px;
    text-align: center;
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid currentColor;
}

.social-link:hover {
    text-decoration: none;
    background-color: #000000;
    color: #ffffff;
}

.footer-bottom-container {
    border-top: 1px solid #C9D1D9;
    margin-top: 3rem;
}

.footer-bottom-social a {
    white-space: nowrap;
}

.footer-bottom-links a {
    display: inline-block;
    line-height: 2.4rem;
    margin-right: 2.4rem;
    text-decoration: none;
    white-space: nowrap;
}

.footer-bottom-links a:hover {
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 991.98px) {
    .footer-column {
        text-align: center;
    }
    
    .contact-details p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .site-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-column h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        margin-top: 1.5rem;
    }
}



/* ==========================================================================
ANIMATED HAMBURGER MENU
========================================================================== */

.hamburger {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
    min-height: 44px; /* Better touch target */
    min-width: 44px;
}

.hamburger:focus {
    outline: none;
}

.hamburger:hover {
    opacity: 0.7;
}

.hamburger.is-active:hover {
    opacity: 0.7;
}

.hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner::before, .hamburger.is-active .hamburger-inner::after {
    background-color: #ffffff;
}

.hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 40px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 0px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

.hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze .hamburger-inner::before {
    transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}

.hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze.is-active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}

.hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* ==========================================================================
LOCATION ICONS
========================================================================== */

.location-icon {
    display: inline-block;
    max-width: 64px;
    max-height: 64px;
    width: auto;
    height: auto;
    vertical-align: middle;
    margin-right: 8px;
}

.location-icon.small {
    max-width: 32px;
    max-height: 32px;
}

.location-icon.large {
    max-width: 96px;
    max-height: 96px;
}

.location-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-with-icon .location-name {
    flex: 1;
}

/* Admin area styling for location icons */
.taxonomy-property_location .acf-field-image .acf-image-uploader {
    margin-bottom: 15px;
}

.taxonomy-property_location .acf-field-image .acf-image-uploader .image-wrap {
    max-width: 150px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .location-icon {
        max-width: 48px;
        max-height: 48px;
    }
    
    .location-icon.small {
        max-width: 24px;
        max-height: 24px;
    }
    
    .location-icon.large {
        max-width: 72px;
        max-height: 72px;
    }
}

/* Parent location styling */
.parent-location {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.parent-location a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.parent-location a:hover {
    text-decoration: underline;
}

/* Location hierarchy styling */
.location-children {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 2px solid #e9ecef;
}

.location-child {
    margin-bottom: 0.5rem;
}

.location-child .location-with-icon {
    font-size: 0.9rem;
}

.location-child .location-name {
    color: #666;
}

.location-child .location-name:hover {
    color: #007bff;
}

/* ==========================================================================
PROPERTY CARDS
========================================================================== */

.property-item {
    margin-bottom: 2rem;
}

.property-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.property-image {
    position: relative;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-header {
    margin-bottom: 1rem;
}

.property-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.property-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.property-title a:hover {
    color: #007bff;
}

.property-locations {
    margin-bottom: 0.75rem;
}

.property-locations .location-with-icon {
    margin-bottom: 0.25rem;
}

.property-locations .location-name {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.property-locations .location-name:hover {
    color: #007bff;
}

.property-types {
    margin-bottom: 0.75rem;
}

.property-type-badge {
    display: inline-block;
    background: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
    transition: background-color 0.2s ease;
}

.property-type-badge a {
    color: inherit;
    text-decoration: none;
}

.property-type-badge:hover {
    background: #e9ecef;
}

.property-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.property-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.feature-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Location archive specific styles */
.location-term {
    margin-bottom: 3rem;
}

.location-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.location-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.location-properties h2 {
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 600;
}

.no-properties-found {
    text-align: center;
    padding: 3rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-properties-found p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Responsive adjustments for property cards */
@media (max-width: 768px) {
    .property-content {
        padding: 1rem;
    }
    
    .property-title {
        font-size: 1.1rem;
    }
    
    .property-image img {
        height: 150px;
    }
    
    .property-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .property-footer .btn {
        margin-bottom: 0.5rem;
    }
}

/* ==========================================================================
SINGLE PROPERTY PAGE
========================================================================== */

.single-property {
    margin-bottom: 3rem;
}

.single-property .property-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.single-property .property-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.single-property .property-locations {
    margin-bottom: 1rem;
}

.single-property .property-locations .location-with-icon {
    margin-bottom: 0.5rem;
}

.single-property .property-locations .location-name {
    font-size: 1.1rem;
    font-weight: 500;
}

.single-property .property-types {
    margin-bottom: 1rem;
}

.single-property .property-type-badge {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
}

.property-featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.property-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-property .property-content {
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.single-property .property-content h2,
.single-property .property-content h3,
.single-property .property-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.property-features-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.property-features-section h3 {
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.single-property .property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.single-property .feature-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.property-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous a,
.nav-next a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #007bff;
    color: white;
    text-decoration: none;
}

.nav-next {
    text-align: right;
}

/* Responsive adjustments for single property */
@media (max-width: 768px) {
    .single-property .property-title {
        font-size: 2rem;
    }
    
    .property-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-next {
        text-align: left;
    }
}

/* ==========================================================================
ILLUSTRATION TOOL
========================================================================== */

.numbered-circle {
    position: relative;
    width: 80px;
    height: 80px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
}

.circle-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-weight: bold;
}

.numbered-circle-muted {
    background-color: #909090;
}

.illustration-tool-form {
    background-color: #EEEEEE;
    border-radius: 2rem;
}

.illustration-tool-form section {
    padding: 40px 40px;
}

.illustration-tool-form .btn-ingenious-lg {
    padding: 0.5rem 3rem;
    font-size: 1rem;
}

.range-slider {
    position: relative;
    margin-left: 70px;
    margin-right: 70px;
}

.range-slider-label-left {
    position: absolute;
    width: 50px;
    top: 22px;
    left: 20px;
    text-align: center;
}

.range-slider-label-right {
    position: absolute;
    width: 50px;
    top: 22px;
    right: 20px;
    text-align: center;
}

.ui-widget.ui-widget-content {
    border: 0px;
    margin-top: 1.1em;
    margin-bottom: 1.1em;
}

.ui-slider-horizontal {
    height: 2px;
    background-color: #009CA6;
    
}

.ui-slider-horizontal .ui-slider-handle {
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #009CA6;
    height: 1em;
    width: 1em;
    top: -0.45em;
    margin-left: -0.6em;
}

.ui-slider-horizontal .ui-slider-handle:hover {
    cursor: pointer;
}

.ui-slider-horizontal .ui-slider-handle:focus {
    outline: 0px;
}

.ui-slider-horizontal .ui-slider-handle:focus-within {
    background-color: #ffffff;
}

.ui-widget-header {
    background-color: #0079c1;
}

.edit-page-title {
    border-bottom: 2px solid #cccccc;
    font-weight: bold;
    margin-top: 2.4rem;
    margin-bottom: 1.6rem;
    padding-bottom: 0.4rem;
}

.edit-step {
    float: right;
    cursor: pointer;
}

.edit-step:hover {
    text-decoration: underline;
}

.edit-page-label {
    margin-bottom: 0.2rem;
}

.edit-page-value {
    border-bottom: 1px solid #cccccc;
    font-weight: bold;
    margin-bottom: 1.2rem;
    padding: 0.4rem 0.4rem;
}


.illustration-tool-custom-checkbox {
    padding: 0px;
}

.illustration-tool-custom-checkbox label {
    width: 100%;
    padding: 6px 20px 6px 60px;
    cursor: pointer;
}

.illustration-tool-custom-checkbox label:before {
    left: 20px;
    right: auto;
    margin-top: 0.14rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%!important;
    border: 2px solid #009CA6;
    background-color: #ffffff;
}

.illustration-tool-custom-checkbox label:after {
    left: 20px;
    right: auto;
    margin-top: 0.14rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%!important;
    border: 2px solid #009CA6;
}

.illustration-tool-custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #009CA6;
}

.form-request-checkbox.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #009CA6;
}

.input-check-container {
    position: relative;
}

.input-check {
    position: absolute;
    right: 0px;
    top: 0px;
    margin: 0.86rem;
    width: 1.5rem;
    height: 1.5rem;
    color: #009CA6;
    display: none;
}

.custom-select.is-valid, .form-control.is-valid, .was-validated .custom-select:valid, .was-validated .form-control:valid {
    border-color: #ced4da;
}

.custom-control-input.is-valid~.custom-control-label, .was-validated .custom-control-input:valid~.custom-control-label {
    color: initial;
}

.custom-control-input.is-valid~.custom-control-label::before, .was-validated .custom-control-input:valid~.custom-control-label::before {
    background-color: #ffffff;
}

.custom-control-input.is-valid:checked~.custom-control-label::before, .was-validated .custom-control-input:valid:checked~.custom-control-label::before {
    background-color: #009CA6;
    color: #ffffff;
}

.form-check.custom-radio-right {
    border-bottom: 2px solid #009CA6;
    padding-left: 0;
}

.form-check.custom-radio-right .form-check-label{
    padding: 0.5rem 0;
    width: 100%;
    cursor: pointer;
}

.form-check.custom-radio-right .form-check-input {
    position: relative;
    float: right;
    width: 1.3rem;
    height: 1.3rem;
    margin-top: 0.63rem;
    border: 2px solid rgba(0,0,0,.25);
    z-index: 1;
    cursor: pointer;
}

.form-check.custom-radio-right .form-check-input:checked {
    background-color: #009CA6;
    border-color: #009CA6;
}

.input-group .btn {
    border-radius: 0;
    padding: 0.2rem 1rem;
    border-top-left-radius: .375rem;
    border-bottom-left-radius: .375rem;
}

.input-group .form-control {
    border-top-right-radius: .375rem!important;
    border-bottom-right-radius: .375rem!important;
    padding-left: 1rem;
}

.form-control {
    padding: 0.8rem 0.75rem;
}

.form-check.custom-checkbox-left {
    border-bottom: 2px solid #009CA6;
    padding-left: 2rem;
}

.custom-checkbox-left .form-check-label {
    padding: 0.5rem 0;
    width: 100%;
    cursor: pointer;
}

.form-check.custom-checkbox-left .form-check-input {
    float: left;
    margin-left: -2rem;
    width: 1.3em;
    height: 1.3em;
    margin-top: 0.63rem;
    border: 2px solid rgba(0, 0, 0, .25);
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
}

.form-check.custom-checkbox-left .form-check-input:checked {
    background-color: #009CA6;
    border-color: #009CA6;
}

.form-control.is-valid, .was-validated .form-control:valid, .form-control.is-invalid, .was-validated .form-control:invalid {
    background-image: none;
}