:root {
    /* Variables Elementor Rouge Hexagone */
    --rh-primary: #4D4084;
    --rh-primary-hover: #3f3473;
    --rh-secondary: #01D8E5;
    --rh-accent: #73C400;
    --rh-text: #292F47;
    --rh-text-light: #A0ADB6;
    --rh-white: #FFFFFF;
    --rh-black: #000000;
    --rh-background: #EFF0F9;
    --rh-border: #e5e5e5;
    --rh-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --rh-header-height: 80px;
    --rh-mobile-header-height: 60px;
    
    /* Police Elementor */
    --rh-font-family: "Inter", Sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.rh-header {
    background: var(--rh-white);
    width: 100%;
    font-family: var(--rh-font-family);
    overflow: visible;
}

.rh-header-container {
    max-width: 1398px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--rh-header-height);
}

.rh-header-logo img {
    display: block;
    height: auto;
}

.rh-header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.rh-mobile-menu-toggle {
    display: none;
    background: var(--rh-primary);
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    margin-left: auto;
    margin-right: 10px;
    z-index: 1001;
    position: relative;
    border-radius: 4px;
    align-items: center;
    gap: 8px;
}

.rh-menu-text {
    color: var(--rh-white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: var(--rh-font-family);
}

.rh-menu-icon {
    display: block;
    width: 24px;
    height: 20px;
    position: relative;
}

.rh-menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--rh-white);
    position: absolute;
    transition: all 0.3s ease;
}

.rh-menu-icon span:nth-child(1) {
    top: 0;
}

.rh-menu-icon span:nth-child(2) {
    top: 8px;
}

.rh-menu-icon span:nth-child(3) {
    bottom: 0;
    width: 70%;
}

.rh-mobile-menu-toggle[aria-expanded="true"] .rh-menu-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.rh-mobile-menu-toggle[aria-expanded="true"] .rh-menu-icon span:nth-child(2) {
    opacity: 0;
}

.rh-mobile-menu-toggle[aria-expanded="true"] .rh-menu-icon span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
    width: 100%;
}

.rh-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.rh-nav-item {
    position: relative;
    margin: 0 15px;
}

.rh-nav-item > a,
.rh-mega-menu-toggle {
    color: #4d4084;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 5px;
    display: inline-flex;
    align-items: center;
    transition: color 0.24s ease, background-color 0.24s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.rh-nav-item > a:hover,
.rh-mega-menu-toggle:hover {
    color: var(--rh-primary-hover);
}

.rh-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: 5px;
    display: inline-flex;
    align-items: center;
    color: var(--rh-primary);
}

.rh-dropdown-toggle::after,
.rh-mega-menu-toggle::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 8px;
    transition: transform 0.3s ease;
    display: inline-block;
}


.menu-item-has-children button{
    padding: 0 !important;
    background-color:  transparent !important;
    border: none !important
}

.menu-item-has-children button:after{
    margin-left: 0;
    border-top: 5px solid #4D4084; 

}

button.rh-dropdown-toggle{
	    position: relative;
        top: -2px
}


.rh-dropdown-toggle[aria-expanded="true"]::after,
.rh-mega-menu-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.rh-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
/*    background: #efeff5;
*/    border-radius: 4px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
/*    padding: 10px 0;
*/    z-index: 10
}

.rh-nav-item:hover .rh-dropdown-menu,
.rh-dropdown-toggle[aria-expanded="true"] + .rh-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rh-dropdown-menu li {
    padding: 0;
    background-color: #efeff5;
    position: relative;
}

.rh-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--rh-text);
    text-decoration: none;
    Font: 18px/24px "Inter", sans-serif;
    transition: background-color 0.24s ease, color 0.24s ease;
}

.rh-dropdown-menu a:hover {
    background: #e7e4f2;
    color: var(--rh-primary-hover);
}

.rh-mega-menu {
    position: absolute;
    top: 88%;
    left: 50%;
    transform: translateY(-10px);
    background: #fff;
    box-shadow: var(--rh-shadow);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 100vw;
    max-width: none;
    padding: 30px 0;
    margin-top: 10px;
    margin-left: -50vw;
    background-color: #efeff5;
}

.rh-header-container{
    position: relative
}

.rh-nav-item:hover .rh-mega-menu,
.rh-mega-menu-toggle[aria-expanded="true"] + .rh-mega-menu {
    opacity: 1;
    visibility: visible;
    transform:  translateY(0);
    z-index: 100;
    background: #efeef6;
}

button.rh-mega-menu-toggle{
    background-color: transparent !important;
    border-color: transparent !important;
    padding: 30px 5px !important;
    color: #4D4084 !important;
    font-size: 18px !important;
  font-weight: 600 !important;
}

@media (max-width: 992px) {
    .rh-nav-item:hover .rh-mega-menu,
    .rh-mega-menu-toggle[aria-expanded="true"] + .rh-mega-menu {
        transform: none;
    }
}

.rh-mega-menu-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: calc(100% - 40px);
    max-width: 1398px;
    margin: 0 auto;
}

.rh-mega-menu-column .submenu-title {
    font-size: 19px;
    font-weight: 600;
    color: var(--rh-primary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rh-border);
}

.rh-mega-menu-column ul {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.rh-mega-menu-column ul li {
    margin-bottom: 0;
}

.rh-mega-menu-column ul a {
    color: var(--rh-text);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
    display: block;
    padding: 8px 0;
    line-height: 1.4;
    border-bottom: 1px solid transparent;
}

.rh-mega-menu-column ul a:hover {
    color: var(--rh-primary-hover);
    border-bottom-color: var(--rh-border);
}

.rh-header-actions {
    display: flex;
    column-gap: 15px;
    align-items: center;
}

.rh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease;
    cursor: pointer;
    border: none;
}

.rh-btn-phone {
    color: var(--rh-primary);
    background: transparent;
    border: 2px solid var(--rh-primary);
}

.rh-btn-phone:hover {
    background: var(--rh-primary-hover);
    border-color: var(--rh-primary-hover);
    color: #fff;
}

.rh-btn-phone svg {
    margin-right: 8px;
}

.rh-btn-primary {
    background: var(--rh-primary);
    color: var(--rh-white) !important;
    border: 1px solid #4A2F86;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.rh-btn-primary:hover {
    background: var(--rh-primary-hover);
    color: var(--rh-white) !important;
    border-color: var(--rh-primary-hover);
}

.rh-nav-item{
    position: inherit;
}

.rh-mega-menu li a{
    color: #4d4084;
    Font:18px/24px "Inter", sans-serif;
}

.rh-header-logo{
    width: 230px
}


.rh-nav-item.menu-item-has-children{
	position: relative !important;
}

@media (max-width: 992px) {
    header#site-header{
        padding: 10px 0;
        position: relative;
        z-index: 1000;
    }
    
    .rh-header {
        position: relative;
        z-index: 1000;
    }

    .rh-header-container {
        height: 64px;
        position: relative;
        padding: 0 16px;
        gap: 12px;
    }

    .rh-header-logo {
        width: min(210px, 52vw);
        flex: 0 1 auto;
    }

    .rh-header-logo img {
        max-width: 100%;
        height: auto;
    }

    .rh-mobile-menu-toggle {
        display: flex;
        min-width: 46px;
        min-height: 42px;
        justify-content: center;
        transition: background-color 0.24s ease;
    }

    .rh-mobile-menu-toggle:hover {
        background: var(--rh-primary-hover);
    }

    .rh-header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--rh-white);
        border-top: 1px solid rgba(77,64,132,0.10);
        border-radius: 0 0 14px 14px;
        box-shadow: 0 18px 36px rgba(41,47,71,0.16);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transform-origin: top center;
        transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
        z-index: 999;
        justify-content: flex-start;
        max-height: calc(100dvh - 82px);
        overflow: hidden auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .rh-header-nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .rh-header-actions {
        display: none;
    }

    .rh-nav-menu {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        width: 100%;
        min-width: 0;
    }

    .rh-nav-item {
        margin: 0;
        position: relative !important;
        border-bottom: 1px solid rgba(77,64,132,0.10);
    }

    .rh-nav-item.menu-item-has-children {
        display: block;
    }

    .rh-nav-item:last-child {
        border-bottom: 0;
    }

    .rh-nav-item > a,
    .rh-mega-menu-toggle,
    button.rh-mega-menu-toggle {
        min-height: 50px;
        padding: 14px 10px !important;
        width: 100%;
        justify-content: space-between;
        color: var(--rh-primary) !important;
        font-size: 17px !important;
        line-height: 1.2;
        text-align: left;
        border-radius: 12px;
        -webkit-tap-highlight-color: transparent;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .rh-nav-item.menu-item-has-children > a {
        padding-right: 50px !important;
        pointer-events: none;
        width: 100%;
        min-width: 0;
    }

    .rh-nav-item > a:hover,
    .rh-mega-menu-toggle:hover {
        background: #e7e4f2;
        color: var(--rh-primary-hover) !important;
    }

    .rh-dropdown-toggle {
        position: absolute !important;
        top: 0 !important;
        left: 0;
        right: 0;
        min-width: 100%;
        min-height: 50px;
        width: 100%;
        justify-content: flex-end;
        align-items: center;
        border-radius: 10px !important;
        margin-left: 0;
        padding: 0 18px !important;
        z-index: 2;
    }

    .rh-dropdown-toggle::after {
        margin-left: 0;
    }

/*    .rh-dropdown-toggle:hover {
        background: #f4f2fb !important;
    }
*/
    .rh-dropdown-menu,
    .rh-mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f7f6fb;
        margin: 0;
        margin-left: 0;
        left: auto;
        width: 100%;
        display: none;
        border-radius: 14px;
        max-height: none;
        overflow: visible;
        padding: 4px 0;
    }

    .rh-dropdown-menu.active,
    .rh-mega-menu.active {
        display: block;
        margin: 0 0 10px;
    }

    .rh-mega-menu-container {
        display: block;
        width: 100%;
        max-width: none;
        padding: 10px 12px;
    }

    .rh-mega-menu-column {
        margin-bottom: 14px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(77,64,132,0.10);
    }

    .rh-mega-menu-column:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .rh-mega-menu-column .submenu-title {
        font-size: 14px;
        line-height: 1.25;
        margin-bottom: 8px;
        padding-bottom: 0;
        border-bottom: 0;
        color: var(--rh-primary);
        font-weight: 700;
    }

    .rh-mega-menu-column ul {
        margin-bottom: 0;
    }

    .rh-mega-menu-column ul li {
        margin-bottom: 2px;
    }

    .rh-dropdown-menu a,
    .rh-mega-menu-column ul a {
        padding: 8px 10px;
        font-size: 15px;
        color: var(--rh-text);
        display: block;
        line-height: 1.35;
        border-radius: 10px;
    }

    .rh-dropdown-menu a:hover,
    .rh-mega-menu-column ul a:hover {
        color: var(--rh-primary-hover);
        background: var(--rh-white);
    }

    .rh-header-actions {
        display: none;
    }

    .rh-header-actions.mobile-visible {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 10px;
        margin-top: 4px;
        align-items: center;
        gap: 10px;
    }

    .rh-btn {
        width: 100%;
        justify-content: center;
        min-height: 46px;
        white-space: normal;
        text-align: center;
    }
}

@media (min-width: 577px) and (max-width: 992px) {
    header{
        padding: 15px 0
    }
    .rh-mega-menu-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 14px;
    }
    
    .rh-mega-menu-column {
        margin-bottom: 0;
    }
    
    .rh-mega-menu-column ul a {
        font-size: 14px;
        padding: 7px 9px;
    }
}

@media (max-width: 576px) {
    header#site-header {
        padding: 8px 0;
    }

    .rh-header-container {
        height: 58px;
        padding: 0 12px;
    }

    .rh-header-logo {
        width: min(175px, 48vw);
        min-width: 0;
    }

    .rh-menu-text {
        display: none;
    }

    .rh-mobile-menu-toggle {
        margin-right: 0;
        padding: 9px 10px;
    }

    .rh-header-nav {
        border-radius: 0 0 14px 14px;
        max-height: calc(100dvh - 74px);
        left: 0;
        right: 0;
    }

    .rh-mega-menu-column .submenu-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .rh-mega-menu-column ul a {
        font-size: 15px;
        padding: 8px 10px;
    }
    
    .rh-mega-menu-column ul li {
        margin-bottom: 1px;
    }
    
    .rh-mega-menu-container {
        padding: 10px;
    }

    .rh-nav-item > a,
    .rh-mega-menu-toggle,
    button.rh-mega-menu-toggle {
        min-height: 48px;
        padding: 13px 9px !important;
        font-size: 16px !important;
    }

    .rh-dropdown-toggle {
        min-height: 48px;
    }
}

@media (max-width: 360px) {
    .rh-header-logo {
        width: min(148px, 46vw);
    }

    .rh-header-container {
        padding-left: 10px;
        padding-right: 10px;
    }
}
