/* Instaweb: home */
html {
    scroll-behavior: smooth;
}
#rezultati,
            #usluge,
            #proces,
            #cijene {
    scroll-margin-top: 90px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon:hover > .services-dropdown-menu,
            .navbar .navbar-nav .dropdown.dropdown-with-icon .services-dropdown-menu.show {
    display: grid !important;
    grid-template-rows: repeat(5, auto);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: column;
    width: min(760px, calc(100vw - 30px)) !important;
    max-width: calc(100vw - 30px);
    max-height: none;
    overflow: visible;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.services-dropdown-menu > li,
            .services-dropdown-menu > li > a {
    min-width: 0;
}
.services-dropdown-menu {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.services-dropdown-menu > li {
    transition: background-color 0.2s ease;
}
.services-dropdown-menu > li > a {
    height: 100%;
    padding-left: 35px !important;
    padding-right: 35px !important;
    transition: color 0.2s ease;
}
.services-dropdown-menu > li > a:before {
    content: none !important;
    display: none !important;
}
.services-dropdown-menu > li:hover,
            .services-dropdown-menu > li:focus-within {
    background-color: rgba(255, 106, 77, 0.08);
}
.services-dropdown-menu > li > a:hover i,
            .services-dropdown-menu > li > a:focus i,
            .services-dropdown-menu > li > a:hover .submenu-icon-content span,
            .services-dropdown-menu > li > a:focus .submenu-icon-content span {
    color: #ff6a4d !important;
}
.services-dropdown-menu > li:nth-child(6) > a {
    border-top: 0 !important;
}
.automation-benefits-list .feature-box.feature-box-left-icon-middle {
    justify-content: center !important;
    text-align: center;
}
.automation-benefits-list .feature-box-icon {
    flex: 0 0 auto;
}
.automation-benefits-list .feature-box-content {
    flex: 0 1 auto !important;
}
.home-hero-benefits {
    position: absolute;
    top: var(--hero-benefits-top, 75%);
    left: 0;
    width: 100%;
    margin: 0;
}
#proces .how-we-work-dashboard {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}
#proces {
    padding-top: 90px;
    padding-bottom: 90px;
}
.automation-outcomes-section {
    background: linear-gradient(135deg, #fff9fb 0%, #ffffff 48%, #f5fffb 100%);
}
.automation-outcomes-grid {
    row-gap: 24px;
}
.automation-outcomes-card {
    height: 100%;
    padding: 30px 30px 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e6e8ec;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(31, 37, 48, 0.04);
}
.automation-outcomes-card h4 {
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 30px;
}
.automation-outcomes-list {
    padding: 0;
    margin: 0;
    list-style: none;
}
.automation-outcomes-list li {
    display: flex;
    align-items: center;
    min-height: 62px;
    padding: 14px 2px;
    border-bottom: 1px solid #e8eaed;
    color: #52566a;
    font-size: 17px;
    line-height: 26px;
}
.automation-outcomes-list li:last-child {
    border-bottom: 0;
}
.automation-outcomes-check {
    display: inline-flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 14px;
    border-radius: 50%;
    background: #24b576;
    color: #fff;
    font-size: 10px;
}
.automation-tech-section {
    position: relative;
    overflow: hidden;
    background:
                    radial-gradient(circle at 15% 20%, rgba(255, 106, 77, 0.13), transparent 32%),
                    radial-gradient(circle at 88% 80%, rgba(46, 187, 121, 0.09), transparent 30%),
                    #171c27;
}
.automation-tech-section .container {
    position: relative;
    z-index: 1;
}
.automation-tech-title {
    color: rgba(255, 255, 255, 0.78);
}
.automation-tech-title strong {
    color: #fff;
}
.automation-tech-logos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    width: min(82vw, 980px);
    margin: 0 auto;
    gap: 42px;
}
.automation-tech-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.automation-tech-logo img {
    display: block;
    width: 100%;
    max-width: 130px;
    height: auto;
    margin: 0 auto;
}
@media (max-width: 767px) {
    .automation-outcomes-card {
        padding: 24px 22px 12px;
    }
    .automation-outcomes-list li {
        min-height: 56px;
        font-size: 16px;
        line-height: 24px;
    }
    #proces .how-we-work-dashboard {
        width: 100%;
    }
}
.home-hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.home-hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(11, 17, 28, 0.88) 0%, rgba(11, 17, 28, 0.72) 46%, rgba(11, 17, 28, 0.34) 100%);
}
.home-hero-section > .container {
    position: relative;
    z-index: 1;
}
.home-hero-section .home-hero-title,
            .home-hero-section .home-hero-benefits .text-dark-gray {
    color: #ffffff !important;
}
.home-hero-section .home-hero-title + div {
    color: rgba(255, 255, 255, 0.88);
}
.home-hero-benefits .feature-box-icon {
    background-color: #f96f4a !important;
}
.home-video-hero-page header .navbar {
    background-color: #ffffff !important;
}
@media (min-width: 992px) {
    .home-video-hero-page header .navbar {
        background-color: transparent !important;
        border-bottom-color: transparent !important;
        box-shadow: none !important;
    }
    .home-video-hero-page header .navbar-brand img {
        content: url("/images/instaweb-logo-new-white.png");
    }
    .home-video-hero-page header .navbar-nav > .nav-item > .nav-link,
                .home-video-hero-page header .navbar-nav > .nav-item > .dropdown-toggle {
        color: #ffffff !important;
    }
    .home-video-hero-page header .header-icon .btn {
        background-color: #ffffff !important;
        border-color: #ffffff !important;
        color: #171c27 !important;
    }
    .home-video-hero-page header .header-icon .btn .btn-text,
                .home-video-hero-page header .header-icon .btn .btn-icon,
                .home-video-hero-page header .header-icon .btn i {
        color: #171c27 !important;
    }
}
@media (min-width: 768px) and (max-width: 1600px) {
    .home-hero-title {
        font-size: 5rem !important;
        line-height: 5rem !important;
    }
}
.pricing-service-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 38px;
    max-width: 980px;
}
.pricing-service-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 18px;
    border: 1px solid rgba(23, 28, 39, 0.12);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.82);
    color: #5f6470;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 12px 30px rgba(23, 28, 39, 0.04);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pricing-service-tab:hover,
            .pricing-service-tab:focus,
            .pricing-service-tab.is-active {
    border-color: #ff6a4d;
    background: #ff6a4d;
    color: #fff;
    box-shadow: 0 16px 36px rgba(255, 106, 77, 0.22);
}
.pricing-table-style-08.is-pricing-hidden {
    display: none !important;
}
#cijene .pricing-table-style-08 {
    max-width: 430px;
}
#cijene .pricing-table-style-08.is-single-service {
    max-width: 620px;
}
#cijene .pricing-body li {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
}
#cijene .pricing-table h2[data-pricing-target="price"] {
    font-size: 42px !important;
    line-height: 48px !important;
    letter-spacing: 0 !important;
}
#cijene .pricing-table h2[data-pricing-target="price"] sup {
    font-size: 20px !important;
    line-height: 1 !important;
}
.pricing-table [data-pricing-target] {
    transition: opacity 0.16s ease;
}
#cijene .pricing-table-style-08 {
    display: flex;
}
#cijene .pricing-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
#cijene .pricing-body {
    flex: 1 0 auto;
}
#cijene .pricing-footer {
    margin-top: auto;
}
.pricing-table .pricing-body [data-pricing-target^="feature-"] {
    color: #5f6470 !important;
    opacity: 1 !important;
    font-size: 15px;
    line-height: 24px;
}
.pricing-table .pricing-body li {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 25px;
    padding-left: 22px !important;
    padding-right: 22px !important;
}
@media (max-width: 991px) {
    .services-dropdown-menu {
        max-height: 70vh;
        overflow-y: auto;
    }
    .pricing-service-tabs {
        margin-bottom: 30px;
    }
}
@media (max-width: 991px) {
    .services-dropdown-menu {
        max-height: 70vh;
        overflow-y: auto;
    }
    .home-hero-section {
        background-color: #ffffff;
        background-image: url("/images/demo-marketing-dot.svg") !important;
        background-position: center top;
    }
    .home-hero-visual,
                .home-hero-overlay {
        display: none !important;
    }
    .home-hero-section .home-hero-title,
                .home-hero-section .home-hero-benefits .text-dark-gray {
        color: #171c27 !important;
    }
    .home-hero-section .home-hero-title + div {
        color: #6f7480;
    }
}
@media (max-width: 767px) {
    .home-hero-benefits {
        position: relative;
        top: auto;
        left: auto;
        margin-top: 30px;
    }
}
@media (max-width: 575px) {
    #usluge {
        display: none;
    }
    .home-hero-section {
        height: auto !important;
        min-height: 600px;
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    #proces,
                .mobile-balanced-section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    #proces .how-we-work-title {
        margin-bottom: 42px;
    }
    #rezultati .automation-outcomes-heading {
        margin-bottom: 60px !important;
    }
    .work-method-pricing-link {
        display: none !important;
    }
    .navbar #navbarNav {
        max-height: calc(100vh - 86px);
        padding: 12px 18px 24px;
        overflow-y: auto;
        background: #fff;
        border-top: 1px solid #edf0f4;
        box-shadow: 0 18px 35px rgba(22, 28, 39, 0.08);
    }
    .navbar #navbarNav > .navbar-nav {
        gap: 2px;
    }
    .navbar #navbarNav > .navbar-nav > .nav-item {
        width: 100%;
        border-bottom: 1px solid #edf0f4;
    }
    .navbar #navbarNav > .navbar-nav > .nav-item:last-child {
        border-bottom: 0;
    }
    .navbar #navbarNav > .navbar-nav > .nav-item > .nav-link {
        display: flex;
        align-items: center;
        min-height: 50px;
        padding: 10px 2px !important;
        color: #171c27 !important;
        font-size: 18px;
        font-weight: 600;
        line-height: 28px;
    }
    .navbar #navbarNav .dropdown.dropdown-with-icon {
        position: relative;
    }
    .navbar #navbarNav .dropdown.dropdown-with-icon > .dropdown-toggle {
        position: absolute;
        top: 7px;
        right: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        margin: 0;
        border-radius: 50%;
        background: #f3f5f8;
        color: #171c27;
        font-size: 0;
    }
    .navbar #navbarNav .dropdown.dropdown-with-icon > .dropdown-toggle::before {
        display: none !important;
        content: none !important;
    }
    .navbar #navbarNav .dropdown.dropdown-with-icon > .dropdown-toggle::after {
        display: block !important;
        width: auto;
        height: auto;
        border: 0;
        content: "+";
        color: #171c27;
        font-family: Arial, sans-serif;
        font-size: 22px;
        font-weight: 400;
        line-height: 1;
        transform: none;
    }
    .navbar #navbarNav .dropdown.dropdown-with-icon > .dropdown-toggle[aria-expanded="true"]::after {
        content: "−";
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon:hover > .services-dropdown-menu,
                .navbar .navbar-nav .dropdown.dropdown-with-icon .services-dropdown-menu.show {
        position: static !important;
        display: grid !important;
        grid-template: none !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: row !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: min(54vh, 460px);
        margin: 2px 0 14px !important;
        padding: 8px !important;
        gap: 7px !important;
        overflow-x: hidden;
        overflow-y: auto;
        transform: none !important;
        background: #f3f5f8;
        border: 1px solid #e7eaf0;
        border-radius: 16px;
        box-shadow: none;
        scrollbar-color: #9ca2ad transparent;
        scrollbar-width: thin;
    }
    .services-dropdown-menu::-webkit-scrollbar {
        width: 5px;
    }
    .services-dropdown-menu::-webkit-scrollbar-thumb {
        background: #9ca2ad;
        border-radius: 10px;
    }
    .services-dropdown-menu > li {
        display: block;
        width: 100%;
        background: transparent;
    }
    .services-dropdown-menu > li > a {
        display: flex !important;
        align-items: center;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 66px;
        padding: 11px 12px !important;
        background: #fff;
        border: 1px solid #e9ebef !important;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(22, 28, 39, 0.035);
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
    .services-dropdown-menu > li > a > i {
        display: inline-flex;
        flex: 0 0 38px;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        margin: 0 12px 0 0 !important;
        border-radius: 11px;
        background: rgba(255, 106, 77, 0.12);
        color: #ff6a4d !important;
        font-size: 17px;
    }
    .services-dropdown-menu .submenu-icon-content {
        display: block;
        min-width: 0;
        width: auto;
        text-align: left;
        white-space: normal !important;
        word-break: normal !important;
    }
    .services-dropdown-menu .submenu-icon-content span {
        display: block;
        color: #171c27 !important;
        font-size: 14px;
        font-weight: 700;
        line-height: 20px;
        white-space: normal !important;
        word-break: normal !important;
    }
    .services-dropdown-menu .submenu-icon-content p {
        display: block;
        margin: 2px 0 0;
        color: #747986;
        font-size: 11px;
        line-height: 16px;
        white-space: normal !important;
        word-break: normal !important;
    }
}
/* Hero action and responsive title. */
.home-hero-actions > a:first-child {
    background-color: #ff805f !important;
    border-color: #ff805f !important;
    color: #171c27 !important;
    font-weight: 600 !important;
}
.home-hero-actions > a:first-child:hover,
            .home-hero-actions > a:first-child:focus-visible {
    background-color: #ff9b80 !important;
    border-color: #ff9b80 !important;
}
.home-hero-mobile-space {
    display: none;
}
@media (max-width: 991px) {
    .home-hero-desktop-break {
        display: none;
    }
    .home-hero-mobile-space {
        display: inline;
    }
}

/* Reviews use a native, immediate drag cursor instead of magic-cursor. */
.home-reviews-slider,
.home-reviews-slider * {
    cursor: grab !important;
}
.home-reviews-slider:active,
.home-reviews-slider:active * {
    cursor: grabbing !important;
}
.home-reviews-slider {
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}
body:has(.home-reviews-slider:hover) .cursor-page-inner {
    display: none !important;
}
