/* Custom dropdown on hover for larger screens */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        animation: slideIn 0.3s ease forwards;
    }
    .navbar .dropdown-menu {
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        background: var(--dark);
    }
}

/* Keyframes for the slide-in effect */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        visibility: hidden;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
}

/* Rotate the icon when the dropdown is shown */
.nav-item .dropdown-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}

.nav-item .dropdown-menu.show ~ .fa-chevron-down {
    transform: rotate(180deg);
}
.navbar .dropdown-menu {
    background: var(--dark);
}

@media (max-width: 992px) {
    .counter {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .similar_search_content h2 {
        font-size: 28px;
    }
    
    .similar_search_content {
        margin: 30px 0px;
    }
    
    .image_absolute {
        display: none;
    }
    
    .logo_card {
        margin-bottom: 20px;
    }
    
    .attorney {
        position: relative;
        top: 0;
    }
    
    .attorney_inner {
        padding: 20px;
    }
    
    .faq {
        margin-top: 0px;
    }
    
    .footer_links {
        justify-content: center;
    }

    .comp_search .flex_search .input_field {
        width: 100%;
    }
    
    .comp_search .flex_search .btn {
        width: fit-content;
        margin: 0 auto;
    }

    .pkg_card.card {
        margin-bottom: 20px;
    }

    .comp_search_table {
        display: none;
    }
    .trademark_services {
        display: none;
    }
    .card_border {
        margin: 5px;
    }
    .countries_sec img {
        margin: 20px 0px;
    }
    .mmpopup .centercont h3 span{
        font-size: 22px;
    }
    .get_in_touch {
        padding: 20px;
        margin-bottom: 20px;
    }
}
