/* Global Styles */
.form-error {
    width: 100%;
    font-size: .875em;
    color: #dc3545;
    display: block;
    position: absolute;
}

/* Mobile Navigation */
@media (max-width: 767px) {
    #header .navbar .get-started-btn {
        order: 2;
    }

    #header .navbar .navbar-toggler {
        order: 3;
    }

    .cta-section .cta-wrap .cta-content {
        margin-top: 50px;
    }

    .cta-section .cta-wrap .cta-content p {
        padding-left: 0;
    }

    .cta-section .cta-wrap {
        padding: 50px 0;
    }

    .yearsince,
    .product .product-device {
        display: none;
    }

    .about-section .about-content-wrap,
    .product .section-title {
        padding-left: 0;
        padding-top: 0;
        margin-bottom: 0;
    }

    .img-bg .img-bg-inner h2 {
        font-size: 30px;
    }

    .section-title h2,
    .partner-heading-title {
        font-size: 25px !important;
    }

    .getform,
    .call-btn,
    .footer .footer-bottom {
        margin-top: 0;
    }

    .product .product-tab {
        padding-left: 0;
        margin-bottom: 20px;
        justify-content: center;
    }

    .review ul li {
        border-right: 1px solid transparent;
        border-bottom: 1px solid #e9e9e9;
    }

    .year-counter {
        width: 120px;
        height: 120px;
        padding: 10px;
    }

    .year-counter_number {
        font-size: 22px;
    }

    .call-group,
    .about-feature-wrap {
        display: block;
    }

    .footer .footer-middle,
    .footer .footer-bottom {
        text-align: center;
    }

    .callbutton-wrapper {
        margin-bottom: 10px;
    }

    .img-bg .img-bg-inner {
        padding-top: 0;
    }

    .img-bg .img-bg-inner h1 {
        font-size: 30px;
    }

    .serviceslider .actions-template-cards-top .actions-template-column,
    .serviceslider .actions-template-cards-bottom .actions-template-column {
        width: 100% !important;
    }

    .product .product-device {
        display: none;
    }

    .product-tab:before,
    .product .product-tab .nav-link:before,
    .product .product-tab .nav-link.active:after {
        display: none;
    }

    .product .product-tab .nav-link {
        padding: 17px 17px;
    }

    #header .navbar-expand-lg .navbar-collapse.show .collapse-header {
        display: block;
    }

    #header .navbar-expand-lg .navbar-collapse.show .collapse-header .navbar-toggler {
        position: absolute;
        right: 0;
        top: 0;
        background: #fff;
        padding: 10px;
        border-radius: 0;
    }

    #header .navbar.navbar-expand-lg .navbar-nav .nav-link {
        padding: 15px 20px !important;
    }


    #header .dropdown>.dropdown-menu .tab-content {
        padding: 0 !important;
    }

    #header .navbar .dropdown .dropdown-menu.show {
        position: static !important;
        transform: none !important;
    }

    .swiper.queryswiper {
        height: 250px;
    }
}

/* Tablet & Smaller Desktop */
/* @media (max-width: 1024px) {
    #header .navbar.navbar-expand-lg .navbar-nav .nav-link {
        padding: 1rem 10px;
        margin-bottom: 10px;
    }
} */

@media (max-width: 991px) {
    #header .dropdown-toggle::after {
        float: right;
    }

    .serviceslider .actions-template-cards-top .actions-template-column,
    .serviceslider .actions-template-cards-bottom .actions-template-column {
        width: 50%;
    }

    /* .getform {
        margin-top: -100px;
    } */

    .services-bg {
        max-height: 100%;
        padding: 0;
    }

    .services-image,
    .learnbtn {
        margin-bottom: 10px;
    }
}

/* Large Mobile Devices */
@media (max-width: 768px) {
    .product .product-device {
        display: none;
    }

    .get-started-btn {
        margin: 0 0px 0 0;
        font-size: 14px;
    }

    .call-group {
        display: inline-block;
    }

    .call-btn {
        margin-top: 10px;
    }

    .year-counter {
        width: 100px;
        height: 100px;
    }

    .year-counter_number {
        font-size: 30px;
    }

    .year-counter_text {
        font-size: 10px;
    }

    .about-feature-wrap {
        margin-bottom: 20px;
        padding-bottom: 20px;
        display: block;
    }

    .about-feature {
        margin-top: 10px;
    }

    .counts .count-box p {
        font-size: 12px;
    }

    .counts .count-box span {
        font-size: 30px;
    }

    .need-help-box {
        display: none;
    }

    #header .navbar .navbar-brand img {
        height: 38px;
    }

    #header .logo {
        font-size: 20px;
    }

    #header .navbar.navbar-expand-lg .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background: rgba(40, 58, 90, 0.9);
        transition: 0.3s;
        z-index: 10;
    }

    #header .navbar.navbar-expand-lg .navbar-nav {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 100%;
        max-width: 100%;
        width: 300px;
        padding: 1rem;
        overflow-y: auto;
        background-color: #fff;
        transition: visibility .2s ease-in-out, transform .2s ease-in-out;
        visibility: hidden;
    }

    #header .navbar.navbar-expand-lg .navbar-collapse.show .navbar-nav {
        visibility: visible;
        transform: translateX(100%);
    }

    #header .navbar.navbar-expand-lg .navbar-toggler {
        color: var(--accent-color);
        font-size: 28px;
        cursor: pointer;
        border: 0;
        line-height: 0;
        transition: 0.5s;
    }

    #header .navbar.navbar-expand-lg .navbar-toggler:focus {
        box-shadow: none;
    }

    #header .navbar.navbar-expand-lg .navbar-toggler .fa-x {
        color: #fff;
        font-size: 20px;
    }

    #header .navbar-nav .nav-link.active,
    #header .navbar-nav .nav-link.show,
    #header .navbar-nav .nav-item .nav-link:hover {
        background-color: var(--accent-color) !important;
        color: var(--contrast-color) !important;
    }

}

/* Desktop Styles */
@media (min-width: 992px) {
    #header .navbar .dropdown .dropdown-menu:before {
        bottom: 100%;
        left: 8%;
        border: solid transparent;
        content: "";
        height: 0;
        width: 0;
        position: absolute;
        border-color: transparent;
        border-bottom-color: #ebf4ff;
        border-width: 10px;
    }

    #header .navbar .dropdown.dropdown-mega .dropdown-menu:before {
        display: none;
    }

    #header .navbar.navbar-expand-lg .dropdown .dropdown-item {
        border-radius: 0;
    }

    #header .navbar.navbar-expand-lg .dropdown .dropdown-item:hover {
        background-color: #ebf4ff;
        color: var(--nav-hover-color) !important;
    }

    #header .dropdown>.dropdown-menu {
        margin-top: 0;
        padding: 0;
        border: 0;
        border-radius: 0 !important;
        box-shadow: 0 7px 7px rgba(48, 51, 50, 0.09);
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu.megamenu {
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
    }

    .dropdown-menu .w-100 .mt-0 .show {
        display: block;
    }



    #header .navbar .dropdown.dropdown-mega .dropdown-menu h5 {
        color: #000;
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 15px;
        border-bottom: 1px solid #e4e4e4;
        padding-bottom: 15px;
    }
}


#header .dropdown>.dropdown-menu .list-group-light {
    padding: 15px 0 15px 21px;
    border-radius: 0;
    height: 100%;
    background: #eef5ed;
}

#header .dropdown>.dropdown-menu .list-group-light a {
    border-radius: 0;
    margin-bottom: 10px;
}

#header .dropdown>.dropdown-menu .list-group-light a.active {
    font-weight: 600;
    font-size: 15px;
    color: var(--nav-hover-color);
    position: relative;
}

#header .dropdown>.dropdown-menu .list-group-light a:last-child {
    margin-bottom: 0;
}

#header .dropdown>.dropdown-menu .list-group-light a.active:before {
    background: var(--accent-color);
    border-bottom-right-radius: .125rem;
    border-top-right-radius: .125rem;
    bottom: 4px;
    content: "";
    display: block;
    left: 0;
    position: absolute;
    top: 4px;
    width: 4px;
}

#header .dropdown>.dropdown-menu .list-group-item-action:hover,
#header .dropdown>.dropdown-menu .list-group-item-action:focus {
    color: var(--nav-hover-color);
}

#header .dropdown>.dropdown-menu .tab-content {
    padding: 15px 21px;
    height: 100%;
}

#header .dropdown>.dropdown-menu .tab-content h5 {
    font-size: 16px;
}

#header .dropdown>.dropdown-menu .tab-content ul li a {
    color: var(--nav-color);
    margin-bottom: 10px;
    display: inline-block;
}

#header .dropdown>.dropdown-menu .tab-content ul li a:hover {
    color: var(--nav-hover-color);
}

#header .dropdown>.dropdown-menu .tab-content ul li a span {
    color: var(--nav-hover-color);
}


/* ============================================================
   SLIDEOUT MODAL (RIGHT → LEFT)
   ============================================================ */
.modal.fade .modal-dialog.modal-dialog-slideout {
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin-left: auto;
    display: flex;
    transform: translate(100%, 0) scale(1);
    -webkit-transform: translate(100%, 0) scale(1);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin: 0;
}

.modal.fade.show .modal-dialog.modal-dialog-slideout {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

/* ============================================================
   MODAL CONTENT
   ============================================================ */
.modal-dialog-slideout .modal-content.full {
    height: 100%;
    border: none;
    border-radius: 0;
    background: #fff;
}

.modal-dialog-slideout .modal-header {
    padding: 25px;
    border: none;
    background: transparent;
    font-weight: 700;
    color: #21333e;
}

.modal-dialog-slideout .modal-header .icon-close {
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s ease;
}

.modal-dialog-slideout .modal-header .icon-close:hover {
    color: #058283;
}


.modal-dialog-slideout .modal-body {
    padding: 25px 25px 75px;
}

.modal-dialog-slideout .nav-link {
    color: #21333e;
    font-weight: 700;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.modal-dialog-slideout .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    display: none;
    padding: 0 0 0 20px;
    margin: 0 0 15px;
    background: none;
    border: none;
    box-shadow: none;
    text-align: left;
}

.modal-dialog-slideout .dropdown-menu.show {
    display: block;
}

.modal-dialog-slideout .dropdown-menu>li>a,
.modal-dialog-slideout .dropdown-item {
    color: #555;
    padding: 5px 0;
    display: block;
    background-color: transparent;
}

.modal-dialog-slideout .dropdown-menu a:hover {
    color: #058283;
}

.modal-dialog-slideout .dropdown .dropdown-menu .nav-item .nav-link {
    font-weight: 400;
    color: #606d75;
    background: none;
    display: flex;
    justify-content: space-between;
    width: calc(100% - 12px);
    padding: 5px 0;
    border-radius: 4px;
    text-align: left;
    font-size: 15px;
}

.modal-dialog-slideout .dropdown .dropdown-menu .nav-item.text-primary .nav-link {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 14px;
}

.modal-dialog-slideout .dropdown-menu .dropdown-menu {
    position: relative;
    top: auto;
    left: auto;
}

.modal-dialog-slideout .dropdown-menu .dropdown>.nav-link:first-child {
    font-weight: 700;
}