/* FTS Editable Hover Effects */

.fts_editable_trigger:hover {

  background: linear-gradient(

    135deg,

    rgba(255, 140, 0, 0.08) 0%,

    rgba(255, 165, 0, 0.12) 100%

  );

  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2),

    0 2px 8px rgba(255, 140, 0, 0.15);

  border-radius: 4px;

  padding: 2px 4px;

  margin: -2px -4px;

}



.fts_editable_trigger:active {

  transform: translateY(1px);

  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.3), 0 1px 4px rgba(255, 140, 0, 0.2);

}



.fts_editable {

  position: relative;

  display: inline-block;

}



.fts_editable:hover {

  background: linear-gradient(

    135deg,

    rgba(255, 140, 0, 0.08) 0%,

    rgba(255, 165, 0, 0.12) 100%

  );

  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);

  border-radius: 4px;

}



/* Prevent link behavior for editable links */

a.fts_editable {

  pointer-events: none;

}



a.fts_editable .fts_editable_trigger {

  pointer-events: auto;

}


@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1320px;
    }
}

main {
    background-color: white;
}

row {
    max-width: 100%;
}


.language_switcher button {

  margin-top: 10px;

  color: white;

  border: none;

}

.navbar-brand img {
  max-width: 100px;
}

.language_switcher .dropdown-menu {
    min-width: 60px;
    width: 70px !important;
}

.language_switcher .fi {
    width: 30px;
    height: 21px;
    background-size: cover;
}

.switch-box {
    display: none;
}

.single-banner-content {
    top: 60px;
}

.single-banner-content p {
    margin: 30px 0px 30px !important;
}


@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    .single-banner-content h1 {
        font-size: 56px;
        line-height: 68px;
    }
}

@media only screen and (min-width: 1400px) and (max-width: 1499px) {
    .single-banner-content h1 {
        font-size: 60px;
        line-height: 69px;
    }
}

/* Global Styles for this section */
.services_section {
    background-color: #0d9488; /* Teal boja slična slici */
    padding: 80px 0;
    color: #fff;
    min-height: 100vh;
}

.small_title {
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.main_title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* Container za iteme - ovde definišemo poravnanje */
.services_wrapper {
    display: flex;
    flex-direction: column;
    /* Ako želiš da budu centrirani kao piramida, promeni 'flex-start' u 'center' */
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

/* Osnovni izgled kartice/dugmeta */
.service_item {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px; /* Pill shape */
    padding: 0 40px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);

    /* Početna visina (kao dugme) */
    height: 80px;

    /* Flex setup za sadržaj */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* LOGIKA ZA ŠIRINE (Inverted Pyramid) */
/* 1. Usluga - 100% */
.service_item:nth-child(1) { width: 100%; }
/* 2. Usluga - 90% */
.service_item:nth-child(2) { width: 90%; }
/* 3. Usluga - 80% */
.service_item:nth-child(3) { width: 80%; }
/* 4. Usluga - 70% */
.service_item:nth-child(4) { width: 70%; }
/* 5. Usluga - 60% */
.service_item:nth-child(5) { width: 60%; }

/* Pozadinska slika (sakrivena po defaultu) */
.service_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

/* Tamni overlay da se tekst bolje vidi preko slike */
.service_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

/* Sadržaj (Tekst) */
.service_content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.service_title {
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

.service_excerpt {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 0;
    max-width: 600px;
    transition: all 0.4s ease;
    color: #e0e0e0;
}

.more_link {
    font-size: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: transform 0.3s ease;
}

/* --- HOVER EFEKTI --- */
.service_item:hover {
    /* Povećavamo visinu duplo (ili više po potrebi) */
    width: 100%;
    height: 250px;
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 30px; /* Malo manji radius kad je kartica velika */
}

.service_item:hover .service_bg,
.service_item:hover .service_overlay {
    opacity: 1;
}

.service_item:hover .service_excerpt {
    max-height: 100px; /* Dozvoli tekstu da zauzme prostor */
    opacity: 1;
    margin-top: 15px;
}

.service_item:hover .more_link {
    transform: translateX(5px); /* Mala animacija strelice */
}

/* --- RESPONSIVE (Mobilni) --- */
@media (max-width: 768px) {
    .service_item:nth-child(n) {
        width: 100%; /* Na mobilnom sve 100% širine */
    }

    .service_item {
        padding: 0 20px;
    }

    .service_excerpt {
        font-size: 0.85rem;
    }

    .service_title {
        font-size: 1rem;
    }

    /* Opciono: Na mobilnom možda želimo manju visinu otvaranja */
    .service_item:hover {
        height: 220px;
    }
}

.experts-slider.owl-theme .owl-nav .owl-prev {
    left: 30px !important;
    background-color: #ffffff3b;
}

.experts-slider.owl-theme .owl-nav .owl-next {
    right: 30px !important;
    background-color: #ffffff3b;
}

.footer-widget img {
    max-width: 160px;
}

.footer-widget.footer-widget-link2 {
    padding-left: 60px;
}

.footer-widget.footer-widget-link {
    padding-left: 30px;
}

.footer-area .col-lg-3:nth-child(4) .footer-widget {
    padding-left: 10px;
}

.page-banner-area {
    margin: 0px 0px 60px;
    padding-top: 15%;
    padding-bottom: 3%;
}

.about2-img {
    padding: 6%;
}

.about2-main-img11 {
    display: none !important;
}

@media (min-width: 1300px) {
    .sidebar_sticky {
        position: relative;
    }

    .sidebar_sticky .categories,
    .sidebar_sticky .download-app,
    .sidebar_sticky .help-contact-card {
        border-radius: 14px;
    }

    .sidebar_sticky {
        position: sticky;
        top: 110px; /* prilagodi: visina headera */
        align-self: flex-start;
        transition: top .25s ease;
        will-change: top;
    }
}

.single-services-details-content h2 {
    margin: 30px 0px 10px;
    color: #2cb2b3;
}

.single-services-details-content .services-details-img2 {
    margin-bottom: 15px;
}

.single-services-details-content img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.single-services-details-content a {
    color: #2cb9a2;
}

.single-services-details-content a:hover {
    color: #2cb2b3;
}

.download-app .default-btn {
    margin-left: 0px !important;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#2DC97C), to(#2CB4AF));
    background-image: linear-gradient(180deg, #2DC97C 0%, #2CB4AF 100%);
    color: var(--whiteColor);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 11px 28px;
    font-size: 20px;
    border: none;
    font-weight: 500;
    font-family: var(--fontFamily);
    position: relative;
    text-align: center;
    overflow: hidden;
    -webkit-transition: var(--transition);
    transition: var(--transition);
    z-index: 1;
}

@media only screen and (min-width: 1500px) and (max-width: 1599px) {

    .single-banner-content {
        top: 100px;
    }

    .single-banner-content h1 {
        font-size: 70px;
        line-height: 81px;
    }

    .single-banner-image {
        top: 46px;
    }
}


@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    .about2-img .about2-main {
        display: none;
    }
}

@media (max-width: 1000px) {
    .mobile_header_cta {
        position: absolute;
        top: 7px;
        left: 41%;
        padding: 10px;
        font-size: 11px;
        font-weight: normal;
        background-image: none;
        background-color: var(--mainColor);
        border-radius: 10px;
        z-index: 999;
    }
}

@media (max-width: 768px) {

    .header-area {
        padding: 10px 0px !important;
    }

    .top_bar_social,
    .top_bar_address {
        display: none !important;
    }

    .navbar-area {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .logo img {
        max-width: 100px;
    }

    .mean-container a.meanmenu-reveal {
        width: 25px;
    }

    .main-responsive-nav .mean-container a.meanmenu-reveal span {
        height: 1px;
    }

    .main-responsive-nav .main-responsive-menu.mean-container .navbar-nav {
        height: auto;
    }

    .banner-area {
        padding-top: 0px;
    }

    .single-banner-content {
        top: 30px;
    }

    .single-banner-content p {
        margin: 7px 0px 15px !important;
    }

    .customer-services {
        display: none;
    }

    .single-banner-image .happy-customer-card ul li img {
        max-width: 36px;
    }

    .single-banner-image .banner-image3s .banner-main-img img {
        right: 0px;
        bottom: 60px;
    }

    .single-banner-image {
        right: 0px;
        margin-top: 30px;
    }

    .single-about-content .default-btn {
        width: 100%;
    }

    .single-about-content .about-btn .call-experts {
        margin-left: 17%;
    }

    .about2-img .about2-odometer-card {
        bottom: -105px;
        left: 21%;
        width: 170px;
        height: 170px;
    }

}
