/* On wide screen, show dropdown when hover */
/*@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}*/

.page-wrapper {
    min-height: 100vh;
}

.body-wrapper {
    position: relative;
    min-height: 100vh;
    background-color: #f6f9fb;
}

    .body-wrapper > .container-fluid {
        max-width: 1300px;
        margin: 0 auto 20px auto;
    }

.page-wrapper .body-wrapper > .container-fluid {
    padding-top: 16px !important;
}

/* Top Bar */
.topbar {
    width: 100%;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.7) 100%, #fff 0);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.15);
    border-radius: 1.125rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

    .topbar .navbar-nav .nav-item .nav-link:hover,
    .topbar .icon-action .nav-link:hover,
    .topbar .dropdown-menu .dropdown-item:hover,
    .topbar .icon-action button:hover {
        color: var(--bs-warning);
    }

    .topbar .nav-link.active {
        color: var(--bs-primary);
        font-weight: bold;
    }

    .topbar:has(.navbar-toggler[aria-expanded="true"]) {
        background-color: mintcream !important;
    }

        .topbar:has(.navbar-toggler[aria-expanded="true"]) .navbar-collapse .icon-action {
            display: none !important;
        }

    .topbar .navbar-collapse.show {
        border-top: 2px solid lightgray;
    }

.back-btn {
    padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: var(--bs-navbar-color);
    border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
    border-radius: var(--bs-navbar-toggler-border-radius);
}

.topbar .nav-back-btn {
    padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: var(--bs-navbar-color);
    border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
    border-radius: var(--bs-navbar-toggler-border-radius);
}

.search-box {
    width: fit-content;
    height: fit-content;
    position: relative;
}

    .search-box:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

@media (min-width: 992px) {
    /* Visibility is driven by the .menu-open class (set/unset in JS with a close delay) rather
       than pure CSS :hover — see the script below the header markup for why. */
    .nav-product-dropdown.menu-open > .product-mega-menu {
        display: flex !important;
    }
}

.product-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    padding: 0;
    /* No min-width here on purpose: the box must shrink to whatever columns are actually
       visible (d-none'd columns should take zero space), not reserve room for hidden ones. */
    width: max-content;
    overflow: hidden;
}

    .product-mega-menu .mega-col {
        min-width: 200px;
        max-width: 260px;
        padding: 0.5rem 0;
        border-right: 1px solid var(--bs-border-color);
    }

        .product-mega-menu .mega-col:last-child {
            border-right: none;
        }

    .product-mega-menu .mega-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        color: var(--bs-body-color);
        text-decoration: none;
        white-space: nowrap;
    }

        .product-mega-menu .mega-item:hover,
        .product-mega-menu .mega-item.active {
            background-color: var(--bs-primary);
            color: #fff;
        }

        .product-mega-menu .mega-item.mega-all {
            font-weight: 600;
            border-bottom: 1px solid var(--bs-border-color);
            margin-bottom: 0.25rem;
        }

        .product-mega-menu .mega-item i {
            font-size: 0.75rem;
        }

.btn-search {
    width: 2rem;
    height: 2rem;
    border-style: none;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    pointer-events: painted;
    z-index: 1;
}

    .btn-search:hover {
        color: var(--bs-warning);
    }

/* Footer */
.footer-standard {
    background: #F3F3F3;
}

    .footer-standard .widget-wrapper .footer-widget .socials {
        justify-content: flex-start;
    }

        .footer-standard .widget-wrapper .footer-widget .socials li a {
            margin-right: 0.7rem;
        }

    .footer-standard .widget-wrapper .footer-widget .links li a {
        text-decoration: none;
        font-size: 1.1rem;
        line-height: 2rem;
        color: #585978;
    }

    .footer-standard .widget-wrapper .footer-widget .footer-logo-link {
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        background: #ffffff;
        max-width: 180px;
        width: 100%;
        overflow: hidden;
    }

    .footer-standard .copyright-wrapper .copyright {
        border-top: 1px solid rgb(88, 89, 120);
        padding: 1.25rem 0;
    }

.footer-social-icon {
    width: 2rem;
    height: 2rem;
}

.footer-logo {
    height: 5rem;
}

.footer-partner {
    height: 3.125rem;
    max-height: 3.125rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.footer-address {
    font-size: 1rem;
    font-weight: 200;
}

.copyright-wrapper .copyright a {
    color: #585978;
    text-decoration: none;
}

.footer-standard .socials {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-standard ul.socials, .footer-standard ul.links, .footer-standard ul.contacts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-standard a {
    text-decoration: none;
    color: #000;
}

    .footer-standard ul.contacts li a {
        text-decoration: none;
        color: #000;
    }

/* Section */
.pt-section {
    padding-top: 4rem !important;
}

.pb-section {
    padding-bottom: 4rem !important;
}

section {
    position: relative;
}

.section-header {
    color: #137DBE;
}

.section-header::first-letter {
    color: #ff5733; /* Changes the color */
    font-weight: bold; /* Makes it thicker */
}

.section-brief {
    font-size: 1rem;
    font-weight: 300;
}

.bg-holder {
    position: absolute;
    width: 100%;
    min-height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    will-change: transform, opacity, filter;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-repeat: no-repeat;
/*    z-index: -1;*/
}

.section-bg {
    background-position: top;
    background-image: url("../img/background/shape.png");
    opacity: 0.5;
}

.section-bg-oval {
    background-position: top;
    background-image: url("../img/background/oval.png");
    opacity: 0.5;
}

.section-bg-bar {
    background-position: top;
    background-image: url("../img/background/blob-ring.svg");
    opacity: 0.5;
}

.section-bg-city {
    background-position: top;
    background-image: url("../img/background/city.png");
    opacity: 0.5;
}

.section-bg-smart-city {
    background-position: top;
    background-image: url("../img/background/smart-city.png");
    opacity: 0.5;
}

.section-bg-wavy {
    background-position: top;
    background-image: url("../img/background/wavy.svg");
    opacity: 0.5;
}

.bg {
    position: absolute;
    width: 100%;
    min-height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    will-change: transform, opacity, filter;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-repeat: no-repeat;
    background-position: top;
    opacity: 0.5;
/*    z-index: -1;*/
}

.bg-polygon {
    background-image: url("../img/background/polygon-1.svg");
}

.bg-shiny {
    background-image: url("../img/background/shiny-yellow.svg");
}

.bg-wavy {
    background-image: url("../img/background/wavy.svg");
}

.bg-city {
    background-position: bottom !important;
    background-image: url("../img/background/city.png");
}

.bg-smart-city {
    background-image: url("../img/background/smart-city.png");
}

/* Firefox support */
.scroll-container {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

    /* Chrome, Edge, and Safari support */
    .scroll-container::-webkit-scrollbar {
        width: 6px; /* This makes it "slim" */
    }

    .scroll-container::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .scroll-container::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

#policy {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    height: 55vh;
    overflow-y: auto;
}

    #policy h5, #policy h6 {
        color: #137DBE;
    }

    #policy p, #policy ul, #policy ol {
        color: var(--bs-secondary);
    }

        #policy ol li {
            padding-left: 0.8rem;
        }

/* Typing */
#typing-effect {
    color: #137DBE;
}

.text-highlight {
    color: #ff5733;
    font-weight: bold;
}

.text-lowlight {
    color: #137DBE;
    font-weight: bold;
}

.hover-img {
    transition: .2s ease-in;
}

    .hover-img:hover {
        transform: translateY(-10px)
    }

/* Input */
.required:after {
    content: " *";
    color: red;
}

/* Target the Bootstrap close button */
.btn-close {
    transition: transform 0.3s ease-in-out;
}

    /* Rotate 90 degrees (or 180) on hover */
    .btn-close:hover {
        transform: rotate(90deg);
    }

.dropdown-menu {
    margin-top: 10px !important;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sweetalert */
.swal2-actions {
    gap: 1rem;
}

/* Min Width */
.min-w-40 {
    min-width: 40px !important;
}

.min-w-60 {
    min-width: 60px !important;
}

.min-w-100 {
    min-width: 100px;
}

.min-w-200 {
    min-width: 200px;
}

.min-w-250 {
    min-width: 250px;
}

.min-w-300 {
    min-width: 300px;
}

.mb-6 {
    margin-bottom: 12px !important;
}

.mb-7 {
    margin-bottom: 30px !important;
}

.gap-6 {
    gap: 12px !important;
}

.gap-7 {
    gap: 30px !important;
}

.pb-7 {
    padding-bottom: 30px !important;
}

.no-caret::after {
    display: none !important;
}

.spike {
    border: 0 solid rgba(0, 0, 0, 0.175);
    border-radius: 1.125rem !important;
    box-shadow: 0px 2px 6px rgba(37, 83, 185, 0.1);
}

.spike-rounded-start {
    border-top-left-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
}

.spike-rounded-end {
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
}

.tag-inline a {
    text-decoration: none;
}

.step-form {
    --sf-circle-size: 50px;
    --sf-circle-bg: var(--bs-body-bg);
    --sf-circle-text: var(--bs-body-color);
    --sf-circle-border: var(--bs-border-color);
    --sf-line-height: 45px;
    --sf-progress-top: 17px;
    --sf-item-count: 3;
}

    .step-form .headway {
        position: relative;
        width: 100%;
        height: 90px;
        top: 0;
    }

        .step-form .headway progress {
            position: relative;
            padding-left: calc(50% / var(--sf-item-count));
            padding-right: calc(50% / var(--sf-item-count));
            top: var(--sf-progress-top);
            width: 100%;
            height: 3px;
            appearance: none;
        }

            .step-form .headway progress::-webkit-progress-bar {
                background-color: var(--bs-border-color);
            }

            .step-form .headway progress::-webkit-progress-value {
                background-color: var(--bs-primary);
            }

            .step-form .headway progress::-moz-progress-bar {
                background-color: var(--bs-border-color);
            }

        .step-form .headway > ul {
            display: flex;
            justify-content: space-between;
            list-style: none;
            padding: 0;
            margin: 0;
            top: 0;
            width: 100%;
            position: absolute;
        }

    .step-form .step-label {
        position: relative;
        z-index: 1;
        background-color: transparent;
        padding: 0 5px;
    }

    .step-form .step-item {
        flex: 1 1 0 !important;
    }





    .step-form .step-link {
        border: 0;
        width: 100%;
        background-color: transparent;
        flex: 1 1 0 !important;
        flex-direction: column !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
    }

    .step-form .step-no {
        width: var(--sf-circle-size);
        height: var(--sf-circle-size);
        line-height: var(--sf-line-height);
        border: 3px solid var(--sf-circle-border);
        border-radius: 50%;
        background-color: var(--sf-circle-bg);
        color: var(--sf-circle-text);
        font-weight: bold;
        z-index: 1;
        transition: all 0.3s ease;
    }

    .step-form > .pager {
        position: relative;
        display: block;
        text-align: right;
        width: 100%;
    }

        .step-form > .pager > ul {
            display: inline-block;
            text-align: right;
            list-style: none;
        }

            .step-form > .pager > ul > li {
                float: left;
                margin: 0 6px
            }


    .step-form .step-item.active {
        --sf-circle-border: var(--bs-primary);
        pointer-events: none;
        cursor: default;
    }

    .step-form .step-item.disabled {
        --sf-circle-text: var(--bs-body-color);
        pointer-events: none;
        cursor: default;
    }

    .step-form .step-item.error {
        --sf-circle-bg: var(--bs-danger);
        --sf-circle-text: var(--bs-body-bg);
    }

    .step-form .step-item.visited {
        --sf-circle-bg: var(--bs-secondary);
        --sf-circle-text: var(--bs-body-bg);
    }

    .step-form .step-item.valid {
        --sf-circle-bg: var(--bs-success);
        --sf-circle-text: var(--bs-body-bg);
    }

/* Dark mode ------------------------------------------------------------ */
/* .body-wrapper / .topbar / .footer-standard all paint flat hardcoded light
   colors over `body`, which is the only element Bootstrap's [data-bs-theme]
   variables reach by default — so toggling the theme never changed them.
   Overriding with Bootstrap's own dark-theme vars keeps this consistent with
   the rest of the site instead of inventing a new palette. */
[data-bs-theme="dark"] .body-wrapper {
    background-color: var(--bs-body-bg);
}

[data-bs-theme="dark"] .topbar {
    background: var(--bs-secondary-bg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}

[data-bs-theme="dark"] .topbar:has(.navbar-toggler[aria-expanded="true"]) {
    background-color: var(--bs-tertiary-bg) !important;
}

[data-bs-theme="dark"] .topbar .navbar-collapse.show {
    border-top-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .footer-standard {
    background: var(--bs-tertiary-bg);
}

[data-bs-theme="dark"] .footer-standard a,
[data-bs-theme="dark"] .footer-standard ul.contacts li a {
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .footer-standard .widget-wrapper .footer-widget .links li a,
[data-bs-theme="dark"] .copyright-wrapper .copyright a {
    color: var(--bs-secondary-color);
}

[data-bs-theme="dark"] .footer-standard .copyright-wrapper .copyright {
    border-top-color: var(--bs-border-color);
}

/* Bootstrap's semantic-named utilities (.text-dark, .text-white, .bg-white, etc.) are pinned to a
   literal color on purpose and never redefined per [data-bs-theme] — Bootstrap's own dark-theme
   variables only cover the "default"/unnamed utilities (.text-body, .bg-body, etc). Product/Blog/
   News/Event card titles and meta text used .text-dark assuming the card would always be white;
   the .card itself DOES correctly go dark via Bootstrap's own theme vars, so the pinned-dark text
   ended up dark-on-dark. Re-pointing .text-dark at the current body color (only in dark mode —
   light mode is untouched) fixes every card that made this assumption in one place instead of
   patching each page's own <style> block. */
[data-bs-theme="dark"] .text-dark {
    color: var(--bs-body-color) !important;
}
