header .menu-item {
    position: relative;
    list-style: none
}

header .menu-item>a {
    display: flex;
    align-items: center;
    padding: 13px 16px;
    color: #222;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all .3s ease
}

header .menu-item>.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    margin: 0;
    padding: 12px;
    list-style: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
    z-index: 9999
}

header .menu-item:hover>.sub-menu,
header .menu-item.menu-open>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

header .menu-item .sub-menu li {
    position: relative;
    width: 100%;
    margin: 0;
    list-style: none
}

header .menu-item .sub-menu li>a {
    padding: 16px 14px;
    color: #222;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all .3s ease
}

header .menu-item .sub-menu li>a:hover {
    padding-left: 22px;
    background: #f5f5f5;
    color: #000
}

header .menu-item .sub-menu .sub-menu {
    position: absolute;
    top: 0;
    left: calc(100% + 8px);
    width: 300px;
    margin: 0;
    padding: 12px;
    list-style: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
    z-index: 9999
}

header .menu-item .sub-menu li:hover>.sub-menu,
header .menu-item .sub-menu li.menu-open>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0)
}

header .menu-item-has-children>a::after {
    display: none
}

header .menu-item-has-children {
    position: relative
}

header .submenu-toggle {
    position: absolute;
    width: 42px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    border-radius: 8px;
    transition: background .3s ease
}

header .submenu-toggle:hover {
    background: #f5f5f5
}

header .submenu-toggle i {
    font-size: 11px;
    pointer-events: none;
    transition: transform .3s ease
}

@media(min-width:992px) and (max-width:1199px) {
    header .menu-item-has-children>.submenu-toggle {
        right: -22px !important;
    }
}

@media(min-width:992px) {
    header .menu-item-has-children>.submenu-toggle {
        top: 50%;
        right: -16px;
        transform: translateY(-50%)
    }

    header .menu-item-has-children.menu-open>.submenu-toggle i {
        transform: rotate(180deg)
    }

    header .sub-menu .menu-item-has-children>.submenu-toggle {
        top: 0;
        right: 8px;
        transform: none
    }

    header .sub-menu .menu-item-has-children>.submenu-toggle i {
        transform: rotate(-90deg)
    }

    header .sub-menu .menu-item-has-children:hover>.submenu-toggle i,
    header .sub-menu .menu-item-has-children.menu-open>.submenu-toggle i {
        transform: rotate(90deg)
    }
}

@media(max-width:991px) {
    header .menu-item {
        padding: 0;
        border-bottom: 1px solid #e5e5e5
    }

    header .menu-item>a {
        position: relative;
        min-height: 56px;
        padding: 16px 55px 16px 12px;
        border-radius: 0;
        background: transparent
    }

    header .menu-item>.sub-menu,
    header .menu-item .sub-menu .sub-menu {
        position: static;
        width: 100%;
        display: none;
        margin: 0;
        padding: 0 0 8px 12px;
        list-style: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        transition: none
    }

    header .menu-item.menu-open>.sub-menu,
    header .menu-item .sub-menu li.menu-open>.sub-menu {
        display: block
    }

    header .menu-item:hover>.sub-menu,
    header .menu-item .sub-menu li:hover>.sub-menu {
        display: none
    }

    header .menu-item.menu-open:hover>.sub-menu,
    header .menu-item .sub-menu li.menu-open:hover>.sub-menu {
        display: block
    }

    header .menu-item .sub-menu li {
        border-bottom: 1px solid #e5e5e5
    }

    header .menu-item .sub-menu li:last-child {
        border-bottom: none
    }

    header .menu-item .sub-menu li>a {
        min-height: 48px;
        padding: 14px 52px 14px 14px;
        margin: 0;
        background: transparent;
        border-radius: 0
    }

    header .menu-item .sub-menu li>a:hover {
        padding-left: 18px;
        background: #f8f8f8
    }

    header .menu-item.menu-open>a {
        background: #fafafa
    }

    header .menu-item.menu-open>a::before {
        content: "";
        position: absolute;
        top: 14px;
        bottom: 14px;
        left: 0;
        width: 2px;
        background: #d6a33d
    }

    header .submenu-toggle {
        top: 0;
        right: 0 !important;
        width: 48px;
        height: 56px;
        background: transparent;
        border-radius: 0;
        transform: none
    }

    header .submenu-toggle:hover {
        background: #f5f5f5
    }

    header .submenu-toggle i {
        transform: none
    }

    header .menu-item-has-children.menu-open>.submenu-toggle i {
        transform: rotate(180deg)
    }

    header .sub-menu .menu-item-has-children>.submenu-toggle i {
        transform: none
    }

    header .sub-menu .menu-item-has-children.menu-open>.submenu-toggle i {
        transform: rotate(180deg)
    }

    .published_card {
        width: fit-content;
    }

    .counter-section {
        padding: 30px 0 20px;
    }

    .counter-divider {
        margin: 0 20px;
    }

    .container {
        padding: 0 20px;
        max-width: 100%;
    }

    .sector-item span {
        font-size: 2.5rem;
    }

    .sector-item {
        padding: 10px 2.5rem;
    }

    .about-content {
        margin-bottom: 30px;
    }

    section.blog-section .row {
        row-gap: 30px;
    }

    .navbar-toggler-icon {
        width: 2.5em;
        height: 3.5em;
    }

    button.navbar-toggler.border-0 {
        background: #e9b54c;
        padding: 9px;
        border-radius: 25px;
        width: 50px;
        height: 50px;
    }

    .offcanvas-title {
        font-size: 4rem;
    }

    .work-card {
        padding: 20px;
    }

    .footer-column h3 {
        font-size: 2.8rem;
    }

    .footer-column ul li a {
        font-size: 15px;
    }

    .footer-column ul li {
        margin-bottom: 4rem;
    }

    .service-card h3 {
        margin: 0 0 3rem;
        font-size: 21px;
    }

    .process-item h3,
    .research-card h3 {
        margin: 2rem 0;
        font-size: 22px;
    }

    .process-section .section-description {
        font-size: 2rem;
    }

    .testimonial-author strong {
        font-size: 3rem;
    }

    .hero-section .row {
        row-gap: 120px;
    }

    .faq-question i {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 3rem;
    }

    .published_card {
        padding-top: 0;

    }

    .unpublished_card {
        padding-top: 20px;
    }

    .about-img img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width:767px) {
    .counter-wrapper {
        flex-direction: column;
        background: #692c8e;
        padding: 44px;
        border-radius: 10px;
    }

    .counter-item h3 {
        color: #d5c8c8;
        font-size: 5rem;
    }

    .counter-item p {
        margin: 15px 0 0;
        color: white;
    }

    section.services-section .row {
        row-gap: 2rem;
    }

    .counter-divider {
        margin: 10px 0px;
        height: 1px;
        width: 37%;
    }

    :root {
        font-size: 7.5px;
    }

    .hero_title {
        font-size: 5rem;
        line-height: 1;
        font-weight: 500;
    }

    .blog-content {
        padding: 20px 10px;
    }

    .blog-content a {
        margin-top: 10px;
    }

    .unpublished_card>strong {
        font-size: 40px;
    }

    .hero_cards {
        padding-left: 100px;
    }

    .unpublished_card {
        padding-top: 65px;
    }

    .hero_cards::after,
    .hero_cards::before {
        width: 70px;

    }
}
