/* Tailwind compiled CSS will go here */

/* Desktop Menu */

.menu {
    display: flex;
    gap: 2rem;
}

.menu li {
    list-style: none;
}

.menu li a {
    position: relative;
    display: inline-block;
    padding: .5rem;
    color: #d1d5db;
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    transition: .3s;
}

.menu li.current-menu-item>a,
.menu li a:hover {
    color: #C5A059;
}

.menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #C5A059;
    transform: scaleX(0);
    transform-origin: left;
    transition: .3s;
}

.menu li a:hover::after,
.menu li.current-menu-item>a::after {
    transform: scaleX(1);
}

/* Mobile */

@media (max-width:1023px){

    #mobile-menu{
        display:none;
    }

    #mobile-menu.open{
        display:block;
    }

    #mobile-menu .menu{
        display:flex;
        flex-direction:column;
        gap:.25rem;
    }

    #mobile-menu .menu li a{
        display:block;
        padding:.75rem .5rem;
    }

}

/* Remove CF7 default spacing */
.wpcf7 {
    width: 100%;
}

.wpcf7 p {
    margin: 0;
}

.wpcf7 br {
    display: none;
}

/* Inputs */

.cf7-input,
.cf7-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    outline: none;
    transition: all .3s;
    font-size: 1rem;
    background: #fff;
}

.cf7-input:focus,
.cf7-textarea:focus {
    border-color: #0B192C;
    box-shadow: 0 0 0 2px rgba(11,25,44,.15);
}

/* Textarea */

.cf7-textarea {
    min-height: 140px;
    resize: vertical;
}

/* Submit */

.cf7-submit {
    width: 100%;
    background: #C5A059;
    color: #0B192C;
    font-weight: 900;
    font-size: 1.25rem;
    padding: 1rem;
    border: 0;
    border-radius: .25rem;
    cursor: pointer;
    transition: .3s;
}

.cf7-submit:hover {
    background: #eab308;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

/* Validation */

.wpcf7-not-valid-tip {
    font-size: .875rem;
    margin-top: .35rem;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: .75rem 1rem;
    border-radius: .25rem;
}
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: #0B192C;
    border-radius: 8px;
    padding: 10px 0;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s ease;
}

.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item-has-children > .sub-menu {
    top: calc(100% + 8px);
}

.sub-menu .menu-item-object-page a{
           padding-left: 20px;
}
.menu-item-has-children svg {
    width: 14px !important;
    height: 14px !important;
    display: inline-block !important;
}

      .modal-bg-patternb {
            background-size: 30px 30px;
            background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                              linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
        }

 /* Checkmark path animation preparation */
        .check-path {
            stroke-dasharray: 100;
            stroke-dashoffset: 100;
            animation: drawCheck 0.8s ease-out forwards;
            animation-delay: 0.3s;
        }

     .modal-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }
        .modal-content.active {
            opacity: 1;
            transform: scale(1) translateY(0);
        }


.page-template-truck-accidents{
overflow-x:hidden !important;
}