/* OPŠTA PODEŠAVANJA KOJA SPREČAVAJU PREKLAPANJE */
.service-category-item {
    position: relative;
}
.service-category-item.active .service-image-wrapper {
    border: 3px solid;
    border-top-color: #fcd116 !important;
    border-right-color: #fcd116 !important;
    border-bottom-color: #004b87 !important;
    border-left-color: #004b87 !important;
}
.listar-homebannervthree,
.listar-homebanner {
    border: none !important;
    box-shadow: none !important;
}
.listar-homebannervthree::after,
.listar-homebanner::after {
    content: none !important;
}
.listar-homebannervthree {
    position: relative;
    height: 500px;
}
.listar-homebannervthree figure {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.listar-homebannervthree figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 10;
}
.listar-bannercontent {
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}
.listar-search-container {
    position: relative;
    z-index: 1000;
}
.services-section {
    z-index: 2;
    position: relative;
    margin-top: -50px;
}
.services-section .container {
    position: relative;
    z-index: 10;
}
/* STILOVI ZA PRETRAGU */
.listar-formsearchlisting .form-control {
    color: #333 !important;
}
/* STILOVI ZA EASYAUTOCOMPLETE */
#querySeach {
    width: 100% !important;
    position: relative;
    z-index: 99999 !important;
}
.easy-autocomplete-container {
    position: absolute;
    z-index: 99999 !important;
    width: 100% !important;
    top: 100% !important;
    left: 0;
    border-top: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.easy-autocomplete-container ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}
.easy-autocomplete-container ul li {
    list-style: none !important;
}
.easy-autocomplete-container ul li a {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    padding: 10px;
    color: #333;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.easy-autocomplete-container ul li a:hover {
    text-decoration: none !important;
}
.easy-autocomplete-container ul li.selected a {
    background-color: #f0f0f0;
}
/* STILOVI ZA SUBKATEGORIJE */
.subcategory-menu {
    display: none;
}
.subcategory-menu ul,
.sidebar-content ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}
.subcategory-menu li,
.sidebar-content li {
    list-style: none !important;
}
.subcategory-menu li a,
.sidebar-content li a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #555;
    border-bottom: 1px solid #eee;
    background-color: transparent;
    font-size: 16px;
    transition: color 0.2s, background-color 0.2s;
}
.subcategory-menu li:last-child a,
.sidebar-content li:last-child a {
    border-bottom: none;
}
.subcategory-menu li a:hover,
.sidebar-content li a:hover {
    color: #004b87;
    background-color: #f0f0f0;
}
.kategorija-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 15px 0;
}
.kategorija-content i {
    font-size: 75px;
    margin-bottom: 40px;
}
.sidebar-header h3 i {
    margin-right: 10px;
    color: #004b87;
}
.sidebar-subcategory-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    padding: 20px;
    overflow-y: auto;
}
.sidebar-subcategory-menu.open {
    right: 0;
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.sidebar-header h3 {
    margin: 0;
    font-size: 18px;
}
.close-sidebar-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}
.chosen-container.chosen-with-drop {
    z-index: 99999 !important;
}
.chosen-container .chosen-drop {
    z-index: 99998 !important;
}

/* Prilagođena margina za sekciju servisa */
.services-section {
    margin-top: -50px;
}
/* DODANA MARGINA IZNAD POSLOVNOG IMENIKA */
.listar-businesstypesarea {
    margin-top: 80px;
}
.button-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    gap: 5px;
}
.listar-businesstype {
    flex: 1 1 0;
    padding: 40px 30px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.listar-businesstype:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.listar-businesstype.listar-business {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    color: #444;
}
.listar-businesstype.listar-user {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    color: #fff;
}
.listar-businesstype::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.listar-businesstype.listar-business::before {
    background-color: #fcd116;
}
.listar-businesstype.listar-user::before {
    background-color: #004b87;
}
.listar-businesstype h2,
.listar-businesstype a.btn span {
    font-weight: bold;
}
.listar-businesstype .text-center {
    margin-top: 20px;
}
.listar-businesstypesarea .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
.listar-businesstype.listar-business::after,
.listar-businesstype.listar-user::after {
    content: none !important;
}
@media (max-width: 768px) {
    .listar-businesstypesarea .button-row {
        flex-direction: column;
        gap: 20px;
    }
    .listar-businesstype {
        width: 100%;
        padding: 30px 20px;
        border-radius: 10px !important;
        overflow: visible;
        margin-bottom: 20px;
    }
    .listar-businesstype h2 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 10px;
    }
}
/* STILOVI ZA DUGMAD */
.button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.listar-btn-primary,
.listar-btn-secondary {
    white-space: nowrap;
    min-width: 200px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.listar-btn-primary i,
.listar-btn-secondary i {
    margin-right: 8px;
}
.listar-btn-primary {
    background-color: #004b87;
    border: 2px solid #004b87;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 9999px;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.listar-btn-primary:hover {
    background-color: #fcd116;
    border-color: #004b87;
    color: #004b87 !important;
}
.listar-btn-primary span {
    color: inherit !important;
}
.listar-btn-secondary {
    background-color: #fcd116;
    border: 2px solid #fcd116;
    color: #004b87 !important;
    padding: 12px 30px;
    border-radius: 9999px;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.listar-btn-secondary:hover {
    background-color: #004b87;
    border-color: #fcd116;
    color: #fcd116 !important;
}
.listar-btn-secondary span,
.listar-btn-secondary i {
    color: inherit !important;
}
.listar-btn-secondary i {
    margin-right: 8px;
}
.listar-btngreen {
    background-color: #8dc144;
    border: 2px solid #8dc144;
    color: #8dc144;
    padding: 12px 30px;
    border-radius: 9999px;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.listar-btngreen:hover {
    background-color: transparent;
    border-color: #8dc144;
    color: #8dc144;
}
.search-btn-white-text,
.search-btn-white-text span,
.search-btn-white-text i {
    color: #383636 !important;
}
/* STILOVI ZA NEWS KARTICE */
.home-news-section {
    margin-top: 80px;
}
.listar-themesectionheading {
    text-align: center;
    padding-bottom: 20px;
    position: relative;
}
.listar-themesectionheading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #fcd116;
}
.listar-themesectionheading h3 {
    font-size: 32px;
    font-weight: 700;
    color: #004b87;
    margin: 0;
}
.news-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 40px 0;
}
.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.news-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid #fcd116;
}
.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.news-title {
    font-size: 20px;
    font-weight: 700;
    color: #004b87;
    margin-top: 0;
    margin-bottom: 10px;
}
.news-title a {
    color: #004b87;
    text-decoration: none;
    transition: color 0.3s ease;
}
.news-title a:hover {
    color: #fcd116;
}
.news-excerpt {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}
.read-more-btn {
    display: inline-flex;
    align-items: center;
    color: #004b87;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}
.read-more-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.read-more-btn:hover {
    color: #fcd116;
}
.read-more-btn:hover i {
    transform: translateX(5px);
}
/* STILOVI ZA FOOTER */
.custom-footer-bg {
    background-color: #004b87;
    padding: 60px 0;
    color: #fff;
}
.custom-footer-bg h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}
.custom-footer-bg h3:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #fcd116;
    margin-top: 10px;
}
.custom-footer-bg p,
.custom-footer-bg address,
.custom-footer-bg ul,
.custom-footer-bg a {
    color: #fff;
}
.custom-footer-bg .footer-logo {
    margin-bottom: 20px;
}
.custom-footer-bg .social_footer ul,
.custom-footer-bg .footer_qucik_links ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}
.custom-footer-bg .social_footer ul li,
.custom-footer-bg .footer_qucik_links ul li {
    list-style: none !important;
}
.custom-footer-bg .social_footer ul li a,
.custom-footer-bg .footer_qucik_links ul li a {
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
}
.custom-footer-bg .social_footer ul li a:hover,
.custom-footer-bg .footer_qucik_links ul li a:hover {
    color: #fcd116;
    padding-left: 10px;
}
.footer_qucik_links .row>div {
    flex-grow: 1;
    width: auto;
    padding-right: 15px;
    padding-left: 15px;
}
.footer_qucik_links ul li {
    width: 100%;
    margin-bottom: 10px;
}
@media (max-width: 767px) {
    .footer_qucik_links ul li {
        width: 100%;
    }
}
.newsletter_box_footer strong {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
}
.newsletter_box_footer p {
    margin-bottom: 20px;
}
.newsletter_box_footer .listar-btn {
    background-color: #fcd116;
    color: #004b87;
    border-radius: 50px;
    padding: 10px 30px;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #fcd116;
}
.newsletter_box_footer .listar-btn:hover {
    background-color: #004b87;
    color: #fcd116;
    border-color: #fcd116;
}
.listar-footeraboutarea {
    padding: 40px 0;
}
.listar-footerbar {
    background-color: #003366;
    padding: 0;
    text-align: center;
}
.listar-footerbar .container {
    padding: 20px 0;
}
.listar-copyright {
    color: #ddd;
}
/* STILOVI ZA BURGER MENU */
.cta-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 20px;
}
.cta-section .marketing-btn {
    width: 100%;
    background-color: #fcd116;
    color: #004b87;
    font-weight: bold;
    border-radius: 50px;
    border: none;
    padding: 10px 20px;
    transition: all 0.3s ease;
    text-align: center;
}
.cta-section .marketing-btn:hover {
    background-color: #f5c900;
    color: #004b87;
}
.cta-section .firm-btn {
    width: 100%;
    background-color: #004b87;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    border: none;
    padding: 10px 20px;
    transition: all 0.3s ease;
    text-align: center;
}
.cta-section .firm-btn:hover {
    background-color: #00599d;
    color: #fff;
}
.listar-footer {
    padding-top: 15px;
    padding-bottom: 0px;
}