:root {
    --bs-primary: #43A6E0;
    --bs-primary-rgb: 67, 166, 224;
    --bs-secondary: #FDE3C2;
    --bs-secondary-rgb: 253, 227, 194;
    --bs-light: #FFFAF6;
    --bs-light-rgb: 255, 250, 246;
    --bs-grey: #CCD1DA;
    --bs-grey-rgb: 204, 209, 218;
    --bs-green: #D0D3B9;
    --bs-green-rgb: 208, 211, 185;
    --bs-link-color: #040D1A;
    --bs-link-color-rgb: 4, 13, 26;
    --bs-breadcrumb-font-size: 1rem;
    --bs-soft: #FFF7EE;
    --bs-soft-rgb: 255, 247, 238;
    --bs-dark: #040D1A;
    --bs-dark-rgb: 4, 13, 26;
}
.navbar-nav {
    --bs-nav-link-color: #040D1A;
    --bs-nav-link-color-rgb: 4, 13, 26;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: column;
    background: var(--bs-soft);
    line-height: 1.5;
    color: #040D1A;
    font-size: clamp(17px, 1.15vw, 22px);
}
figure:not(.wp-block-table) {
    height: 100%;
    -webkit-mask-image: url(../img/hero-mask-1.svg);
    mask-image: url(../img/hero-mask-1.svg);
    width: 100%;
    -webkit-mask-position: center center;
    mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    overflow: hidden;
}
figure:not(.wp-block-table).right-mask {
    -webkit-mask-image: url(../img/hero-mask-2.svg);
    mask-image: url(../img/hero-mask-2.svg);
}
figure:not(.wp-block-table) img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Image hover zoom animation */
figure:not(.wp-block-table):hover img,
a:hover img {
    transform: scale(1.05);
}
h1, .h1 {
    font-weight: 900;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
}
.container-fluid,
.container {
    max-width: min(95%, 1728px);
}
.shape-element {
    animation: 10s linear infinite itemRotate;
}
@keyframes itemRotate {
    0% {transform: rotate(0)}
    50% {transform: rotate(12deg)}
    100% {transform: rotate(0)}
}
.b-header {
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
    background: var(--bs-secondary);
}

@media (max-width: 1199.98px) {
    .b-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
    .b-content {
        padding-top: var(--header-height, 70px);
    }
}

.b-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
/* Disable click on placeholder menu items with href='#' */
.navbar-nav a[href="#"],
.dropdown-menu a[href="#"] {
    cursor: default;
    pointer-events: none;
}

/* Font weight for depth 1 items only if they have depth 2 children */
.dropdown-menu > .nav-item.dropdown > .dropdown-toggle,
.navbar-nav .nav-item.active,
.sub-menu .nav-item.active .dropdown-item {
    font-weight: 700;
}
/* Dropdown menu hover on desktop */
@media (min-width: 1200px) {
    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
    
    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 1000;
        border: none;
    }
    
    /* Remove arrow from depth 1 dropdown-toggle items */
    .dropdown-menu .dropdown-toggle::after {
        display: none;
    }
    
    
    
    /* Show nested dropdowns on parent hover */
    .dropdown-menu .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
    
    /* Depth 2: Position to the left */
    .dropdown-menu .dropdown-menu {
        position: absolute;
        top: 0;
        right: 100%;
        margin-right: 0;
    }
    
    /* Depth 3: Always visible inside depth 2 (static, not hover-triggered) */
    .dropdown-menu .dropdown-menu .dropdown-menu {
        position: static;
        display: block !important;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        margin: 0;
    }
    
    .dropdown-menu .sub-menu .menu-item a{
        padding-right: 1.5rem;
        font-size: 0.875em;
        opacity: 0.85;
    }
    
    .navbar-nav .nav-item.active {
        font-weight: 700;
        opacity: 1;
    }
    
    .dropdown-menu .nav-item.dropdown.active:not(:hover) > .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
    
    .dropdown-menu .dropdown-toggle.active {
        font-weight: 700;
        opacity: 1;
    }
}

/* Mobile: show all dropdown children always visible */
@media (max-width: 1199.98px) {
    .dropdown-menu,
    .sub-menu,
    .dropdown-menu .sub-menu {
        display: block !important;
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    .dropdown-menu .sub-menu {
        padding: 0 1rem 0 0 !important;
    }

    .dropdown-menu .dropdown-toggle::after {
        display: none;
    }

    /* Full screen mobile menu */
    #mainMenu.collapse:not(.show) {
        display: none !important;
    }

    #mainMenu.show {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        position: fixed;
        top: 4.8125rem;
        right: 0;
        left: 0;
        bottom: 0;
        height: calc(100dvh - 4.8125rem);
        width: 100%;
        z-index: 9999;
        background: var(--bs-secondary);
        overflow-y: auto;
        padding: 1rem 1.5rem 2rem;
    }

    #mainMenu.show .navbar-nav {
        align-items: flex-start !important;
        width: 100%;
    }

    #mainMenu.show .nav-link,
    #mainMenu.show .dropdown-item {
        font-size: clamp(1.35rem, 4vw, 1.75rem);
        white-space: unset;
        color: var(--bs-link-color);
    }

    /* Keep toggler above full screen menu */
    .navbar-toggler {
        position: relative;
        z-index: 10000;
        transition: all 0.3s ease;
    }

    /* X icon styling when menu is open */
    .navbar-toggler.menu-open .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23040D1A' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 2l12 12M14 2L2 14'/%3e%3c/svg%3e");
    }

    .navbar-toggler .navbar-toggler-icon {
        transition: background-image 0.3s ease;
    }

    /* Keep logo above full screen menu when open */
    .navbar-toggler[aria-expanded="true"] ~ .navbar-brand,
    .b-header__logo.navbar-brand {
        position: relative;
        z-index: 10000;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.b-wrapper {
    display: flex;
    flex-direction: column;
}
.b-content {
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}
.b-footer {
    flex: none;
    padding: clamp(48px, 6vw, 72px) 0 25px;
}
.footer-bottom {
    font-size: clamp(12px, 3vw, 15px);
    color: #311522;
}

.footer-menu, .bottom-menu {
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
    display: flex;
    gap: 15px;
    margin: 0;
    font-size: clamp(12px, 3vw, 15px);
}
.bottom-menu li + li::before {
    content: '|';
    margin-left: 15px;
    opacity: 0.4;
}
.b-footer a {
    text-decoration: none;
    color: #311522;
}
.b-global-form {
    padding: clamp(48px, 6vw, 72px) 0;
}

.ratio-3x4 {
    --bs-aspect-ratio: calc(4 / 3 * 100%);
}
.form-group {
    margin-bottom: 1rem;
}
.form-control {
    background-color: transparent;
    border-color: var(--bs-dark);
    padding: 0.5rem 0.75rem;
    text-align: right;
    color: var(--bs-dark);
    font-size: 1rem;
}
.form-control::placeholder {
    color: var(--bs-dark);
    opacity: 1;
}
form,
.form-group label {
    font-size: 1rem;
}
.form-control:focus {
    border-color: var(--bs-soft);
    background-color: transparent;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-dark-rgb), 0.25);
}
.form-control input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #000;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    vertical-align: middle;
}

.form-control input[type="radio"]:checked {
    background: radial-gradient(circle, #000 40%, transparent 45%);
}

.form-control input[type="radio"]:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}
.form-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #000;
    background: transparent;
    cursor: pointer;
    vertical-align: middle;
}

.form-group input[type="checkbox"]:checked {
    background: transparent;
    position: relative;
}

.form-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    line-height: 1;
}

.form-group input[type="checkbox"]:focus {
    outline: 2px solid #000;
}
.wpcf7-list-item {margin: 0;}
.wpcf7-radio {
    display: grid;
    grid-template-columns: 1fr 1fr;}
.wpcf7-not-valid-tip {
    font-size: 0.875rem;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 3px;
    border-radius: 5px;
    color: #fff;
    background-color: brown;
}
.b-badge__title::after {
    --tri-w: clamp(1.8rem, 4vw, 3rem);
    --tri-h: clamp(3rem, 6vw, 4.2rem);

    content: "";
    position: absolute;

    width: var(--tri-w);
    height: var(--tri-h);

    left: calc(-0.95 * var(--tri-w));
    bottom: 0;

    background: var(--bs-primary);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);

    border-bottom-left-radius: 10px;
}
.b-badge__title {
    padding-left: 1rem;
    border-bottom-left-radius: 0;
    font-weight: 500;
    height: clamp(3rem, 6vw, 4.2rem);
}
.has-top-img {
    display: flex;
    flex-direction: row;
}
.btn-green, .btn-green:hover, .btn-green:focus, .btn-green:active {
    background-color: var(--bs-green);
    color: var(--bs-dark);
    border: 2px solid var(--bs-green);
}
.bg-green {
    background-color: var(--bs-green);
}
.bg-soft {
    background-color: var(--bs-soft);
}
.bg-grey {
    background-color: var(--bs-grey);
}
.page404 {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.b-single__shape-1 {
  top: -20%;
  left: 23%;
  background: url(../img/shape-el1.svg) no-repeat center / contain;
  width: clamp(5rem, 8vw, 10rem);
  height: clamp(3.5rem, 5.5vw, 7rem);
}
.b-single__shape-2 {
  bottom: 0%;
  left: 52%;
  background: url(../img/shape-el2.svg) no-repeat center / contain;
  width: clamp(7rem, 9vw, 11.25rem);
  height: clamp(5rem, 7vw, 8.063rem);
}
.b-single__shape-3 {
  top: 20%;
  left: 80%;
  background: url(../img/shape-el3.svg) no-repeat center / contain;
  width: clamp(4rem, 5vw, 5.938rem);
  height: clamp(4.5rem, 5.5vw, 6.688rem);
}

@media (max-width: 991.98px) {
    .footer-bottom {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    .footer-copyright {
        text-align: center;
        order: 1;
    }
    .footer-bottom-menu {
        order: 2;
    }
    .footer-credits {
        order: 3;
    }
    .footer-menu,.bottom-menu {
        justify-content: center!important;
    }
    .b-footer__logo {
        display: block!important;
        margin: 0 auto 20px;
        text-align: center;
    }
}

/* WordPress Table Block Styles */
.wp-block-table {
    margin: 1.5rem 0;
    overflow-x: auto;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d0d0d0;
}

.wp-block-table table thead {
    background-color: var(--bs-green, #D0D3B9);
}

.wp-block-table table th {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #d0d0d0;
    font-weight: 600;
}

.wp-block-table table td {
    padding: 0.75rem;
    border: 1px solid #d0d0d0;
}

.wp-block-table table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.wp-block-table table tbody tr:hover {
    background-color: #f0f0f0;
}

.wp-block-table.is-style-stripes table tbody tr:nth-child(even) {
    background-color: rgba(var(--bs-primary-rgb, 67, 166, 224), 0.1);
}

@media screen and (max-width: 767.98px) {
  
  
}

/**
 * High Contrast Mode - Black and White
 * When accessibility plugins apply grayscale(100%), enhance it with proper black & white styling
 */
html.greyscale {
  --bs-primary: #000000 !important;
  --bs-primary-rgb: 0, 0, 0 !important;
  --bs-secondary: #FFFFFF !important;
  --bs-secondary-rgb: 255, 255, 255 !important;
  --bs-light: #FFFFFF !important;
  --bs-light-rgb: 255, 255, 255 !important;
  --bs-grey: #ffffff !important;
  --bs-grey-rgb: 255, 255, 255 !important;
  --bs-green: #ffffff !important;
  --bs-green-rgb: 255, 255, 255 !important;
  --bs-link-color: #000000 !important;
  --bs-link-color-rgb: 0, 0, 0 !important;
  --bs-soft: #FFFFFF !important;
  --bs-soft-rgb: 255, 255, 255 !important;
  --bs-dark: #000000 !important;
  --bs-dark-rgb: 0, 0, 0 !important;
}

html.greyscale,
html.greyscale body {
  filter: grayscale(100%) contrast(1.3) !important;
  background-color: #FFFFFF !important;
  color: #000000 !important;
}

html.greyscale a {
  color: #000000 !important;
  text-decoration: underline !important;
}


html.greyscale input, 
html.greyscale textarea, 
html.greyscale select {
  background-color: #FFFFFF !important;
  color: #000000 !important;
  border-color: #000000 !important;
}

html.greyscale img, 
html.greyscale picture {
  filter: grayscale(100%) !important;
}
html.greyscale .btn-dark, html.greyscale .btn-dark:hover, html.greyscale .btn-dark:focus, html.greyscale .btn-dark:active {
    background-color: #000!important;
    color: #fff!important;
    border: 2px solid #000!important;
}
html.greyscale .b-faq__accordion .accordion-item:nth-child(4n+2) .accordion-button,
html.greyscale .b-why__icon-wrapper:nth-child(4n+3) .b-why__icon {
    background-color: #fff!important;
}
html.greyscale .b-global-form {
    background-color: #fff!important;
}