@font-face {
    font-family: CamptonBold;
    src: url('/assets/fonts/Campton Bold.otf') format('opentype');
}

@font-face {
    font-family: CamptonMedium;
    src: url('/assets/fonts/Campton Medium.otf') format('opentype');
}


@font-face {
    font-family: CamptonLight;
    src: url('/assets/fonts/Campton Light.otf') format('opentype');
}



@font-face {
    font-family: CamptonThin;
    src: url('/assets/fonts/Campton Thin.otf') format('opentype');
}

[data-bs-theme-value="auto"] {
    display: none !important;
}

/* #preloader1{
    background: #FFFFFF url("/assets/images/loader.png") no-repeat center center;
    bottom: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
}
 */

@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}

@keyframes rotate {
    from {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}

#preloader1::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px; 
    height: 50px;
    margin: -50px 0 0 -50px;
    background: url("/assets/images/loader.png") no-repeat center center;
    background-size: contain;
    -webkit-animation: rotate 2s linear infinite;
            animation: rotate 2s linear infinite;
}

#preloader1 {
    background: #FFFFFF;
    bottom: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
}

.no-underline{
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6{
    font-family: CamptonMedium;
}

.no-unerline{
    text-decoration: none!important;
}

.opis-novice img {
    max-width: 100%;
}

.card-img-top {
    height: 500px; /* You can adjust this value as per your requirement */
    -o-object-fit: cover;
       object-fit: cover; /* Maintain aspect ratio */
       border-radius: 1rem;
       -webkit-transition: -webkit-transform 0.2s ease-in-out;
       transition: -webkit-transform 0.2s ease-in-out;
       transition: transform 0.2s ease-in-out;
       transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
       
}

.card-img-top-rabljena{
        height: 500px; /* You can adjust this value as per your requirement */
    -o-object-fit: cover;
       object-fit: cover; /* Maintain aspect ratio */
       border-radius: 1rem;
       scale: 1.1;
       -o-object-position: 20% 0%;
          object-position: 20% 0%;
       -webkit-transition: -webkit-transform 0.2s ease-in-out;
       transition: -webkit-transform 0.2s ease-in-out;
       transition: transform 0.2s ease-in-out;
       transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}

.card-img-top2 {
    height: 400px; /* You can adjust this value as per your requirement */
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 0% 100%;
       object-position: 0% 100%;
    
}


.card-img-top-fiat {
    height: 500px; /* You can adjust this value as per your requirement */
    -o-object-fit: cover;
       object-fit: cover; /* Maintain aspect ratio */
       border-radius: 1rem;
       -webkit-transition: -webkit-transform 0.2s ease-in-out;
       transition: -webkit-transform 0.2s ease-in-out;
       transition: transform 0.2s ease-in-out;
       transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;   
}

.card-img-top-kia {
    height: 500px; /* You can adjust this value as per your requirement */
    scale: 1.15;
    -o-object-fit: cover;
       object-fit: cover; /* Maintain aspect ratio */
       border-radius: 1rem;
       -webkit-transition: -webkit-transform 0.2s ease-in-out;
       transition: -webkit-transform 0.2s ease-in-out;
       transition: transform 0.2s ease-in-out;
       transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
       
}

.card-img-top-jeep {
    height: 500px; /* You can adjust this value as per your requirement */
    scale: 1.3;
    -o-object-fit: cover;
       object-fit: cover; /* Maintain aspect ratio */
       border-radius: 1rem;
       -webkit-transition: -webkit-transform 0.2s ease-in-out;
       transition: -webkit-transform 0.2s ease-in-out;
       transition: transform 0.2s ease-in-out;
       transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
       
}

.card-img-top-fiatPro {
    height: 500px; 
    scale: 1.1;
    -o-object-fit: cover;
       object-fit: cover; 
           -o-object-position: -13px -20px; 
              object-position: -13px -20px;
       border-radius: 1rem;
       -webkit-transition: -webkit-transform 0.2s ease-in-out;
       transition: -webkit-transform 0.2s ease-in-out;
       transition: transform 0.2s ease-in-out;
       transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
       
}

.card-novice {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
            border-radius: 1rem;
    overflow: hidden; /* Ensures the image doesn't overflow */
}

/* Outer circle with glass effect */
.outer-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2; /* Ensures it's above the image */
    cursor: pointer;
}

.outer-circle-servis {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2; /* Ensures it's above the image */
    cursor: pointer;
}

/* Inner circle (search button) */
.inner-circle {
    width: 80px;
    height: 80px;
    background: #009BDF;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color: white;
    font-size: 30px;
    -webkit-transition: .3s;
    transition: .3s;
}

.inner-circle img{
    position: absolute;
    height: 40px;
}

.inner-circle:hover .hover-pokazi{
    opacity: 1;
}

.inner-circle:hover .hover-skrij{
    opacity: 0;
}

.outer-circle:hover ~ .card-img-top {
    -webkit-transform: scale(1.1);
            transform: scale(1.1); /* Slightly zoom in the image */
}

.outer-circle:hover .inner-circle{
    color: rgb(0, 0, 0);
}



.nav-item:hover{
    background-color: #009BDF;
     color: white!important;
     border-radius: 10px;
}
.active::before{
    -webkit-transition: 0.3s;
    transition: 0.3s;
    border-radius: 10px;
}
.active{
    background-color: #009BDF;
    color: white!important;
    border-radius: 10px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 12px;
            box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 12px;
}

/* .gradient-line {
    width: 100%; 
    height: 100px; 
    background: -webkit-gradient(linear, left top, right top, from(#ff0000), color-stop(#ffa500), color-stop(#ffff00), color-stop(#00ff00), to(#0000ff));
    background: linear-gradient(to right, #ff0000, #ffa500, #ffff00, #00ff00, #0000ff); 
} */
.novica-hover{
    -webkit-transition: 0.6s;
    transition: 0.6s;
}

.novica-hover:hover{
    border-radius: 20px;
    margin: 0 10px;
-webkit-box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
        box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
        scale: 1.02;
}

.novica-hover:hover img{
    border-radius: 20px 20px 0 0;
    
}

.novica-hover:hover p{
    border-radius: 0 0 20px 20px;
}

.card-vozila{
    -webkit-transition: 0.5s;
    transition: 0.5s;
    
}

.card-hover2{
        -webkit-transition: 0.5s;
        transition: 0.5s;
}

.card-vozila:hover,
.card-hover2:hover{
    scale: 1.05;
}

.cursor{
    cursor: pointer;
}

.style1 {
    background-image: url("../assets/images/tipo5.jpg");
}

.style2 {
    background-image: url("../assets/images/alfa-login.jpg");
    background-size: cover;
}



.logo-hover{
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transition: -webkit-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
    
.logo-hover:hover{
     -webkit-transform: scale(1.2);
             transform: scale(1.2);
-webkit-filter: drop-shadow(0px 2px 4px rgba(255, 255, 255, 0.4));
        filter: drop-shadow(0px 2px 4px rgba(255, 255, 255, 0.4));
}


.reverse{

  -webkit-box-orient: horizontal;

  -webkit-box-direction: reverse;

      -ms-flex-direction: row-reverse;

          flex-direction: row-reverse;
  
}

.temna-ikona-servis:hover{
    color: black;
}

.sirina-servis{
    max-width: 300px;
    
}
 .bg-image{
    background-image: url("../assets/images/alfa-company.jpg");
    height: 100%;
    width: 100%;
    
 }
.zaokrozi{
    border-top-left-radius:5px!important;
    border-top-right-radius:5px!important;
}

.style5 {
    background-image: url("../assets/images/FIAT-SPLETNA.jpg");
     background-repeat: no-repeat;
  background-size: auto;
    height: 20vh;
}

.ikona{
    background-color: #009BDF;
    color: white;
    border-radius: 50%;
   -webkit-transition: background-color 0.3s ease, color 0.3s ease;
   transition: background-color 0.3s ease, color 0.3s ease;
   
}

.ikona:hover{
    background-color: white;
    color: #009BDF;
    -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.35);
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.35);;
    cursor: pointer;
    
}


.icon-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}



.telefon{
    text-decoration: none;
    color: white;
    font-size: 12px;
}

/* .style6 {
    height: 25vh;
} */


/* Base style for the overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Initially transparent */
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    z-index: 1; /* Ensures the overlay appears above the image but below the text */
}

/* Overlay effect on hover */
.position-relative:hover .image-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black on hover */
}

.naslovna-podstrani {
    position: absolute;
    left: 50%;
    top: 33%;
    z-index: 11;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);

}
.naslovna-podstrani2 {
    position: absolute;
    left: 50%;
    top: 60%;
    z-index: 11;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);

}

.naslovna-podstrani-moto {
    position: absolute;
    left: 50%;
    top: 33%;
    z-index: 11;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
    
}


.vozila-naslovna {
    height: 80vh;
    -o-object-fit: cover;
       object-fit: cover;
          -o-object-position: 0% 70%;
             object-position: 0% 70%; 
       
}

.cenilno-naslovna{
        height: 80vh;
    -o-object-fit: cover;
       object-fit: cover;
          -o-object-position: 0% 50%;
             object-position: 0% 50%; 
}

.servis-naslovna{
        height: 80vh;
    -o-object-fit: cover;
       object-fit: cover;
          -o-object-position: 0% 80%;
             object-position: 0% 80%; 
}

.naslovna-prvapomoc{
        height: 80vh;
       
    -o-object-fit: cover;
       object-fit: cover;
          -o-object-position: 0% 60%;
             object-position: 0% 60%; 
}

.naslovna-zaposlitev{
        height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
          -o-object-position: 100% 40%;
             object-position: 100% 40%; 
}
.nadomestni-naslovna{
        height: 80vh;
    -o-object-fit: cover;
       object-fit: cover;
          -o-object-position: 0% 50%;
             object-position: 0% 50%; 
}

.tecajcpp-naslovna{
    height: 80vh;
    -o-object-fit: cover;
       object-fit: cover; 
       -o-object-position: 70% 40%; 
          object-position: 70% 40%;
}

.naslovna-podjetje{
    height: 80vh;
    -o-object-fit: cover;
       object-fit: cover; 
          -o-object-position: 0% 65%; 
             object-position: 0% 65%;
}


.slika{
-o-object-fit: cover;
       object-fit: cover; 
       width: 100%;
       height: 100%;
}


.txt-shadow:hover{
       text-shadow: 
        0 0 1px #009BDF,
        0 0 2px #009BDF,
        0 0 3px #009BDF,
        0 0 4px #009BDF,
        0 0 7px #009BDF,
        0 0 8px #009BDF,
        0 0 10px #009BDF,
        0 0 15px #009BDF;
    }

.no-style{
    text-decoration: none;
}



.style6 {
    height: 100.1vh;

    -o-object-fit: cover;
       object-fit: cover;
       -webkit-transition: opacity 0.3s ease;
       transition: opacity 0.3s ease;
}

.style7 {
    position: absolute;
    top: 50%;
    bottom: 50%;
    left: 10%;
}



.card-title-servis{
    position: absolute;
    z-index: 10;
    bottom: 10px;
    right: 10px;
}




.style8 {
    height: 100vh;
    overflow-y: scroll;
}

.sirina-strani{
    width: 75%;
    padding: 0 2rem;
    margin: 0 auto;
    position: relative;
}

.razmak-servis{
    margin:8% 0 0;
}

.krog-nova-vozila {
    position: relative;
    cursor: pointer;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: 1px solid #000;
    background-color: white;
    color: black;
    font-size: 16px;
    text-align: center;
    /* Correct transition definition */
    -webkit-transition: -webkit-transform 0.6s ease;
    transition: -webkit-transform 0.6s ease;
    transition: transform 0.6s ease;
    transition: transform 0.6s ease, -webkit-transform 0.6s ease; 
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-perspective: 1000px;
    perspective: 1000px; 
    -webkit-box-shadow: rgba(0, 0, 0, 1  0.55) 0px 50px 30px -40px;
    box-shadow: rgba(0, 0, 0, 0.55) 0px 50px 30px -40px;
}

.krog-nova-vozila:hover {
    -webkit-transform: scale(1.1);
            transform: scale(1.1); 
}


/* test new rotation */
.flip-container {
    width: 200px; /* Should match the child's size */
    height: 200px;
    -webkit-perspective: 1000px;
            perspective: 1000px; /* The 3D space is defined here */
    cursor: pointer;
}

/*
  2. The actual rotating element.
  It no longer has a :hover rule itself.
*/
.krog-servis {
    position: relative;
    width: 100%;
    height: 100%;
    
    /* Animation properties */
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 0.6s ease;
    transition: -webkit-transform 0.6s ease;
    transition: transform 0.6s ease;
    transition: transform 0.6s ease, -webkit-transform 0.6s ease;
    
    /* The box-shadow can cause performance issues. It's often better
       to put shadows on the static front/back faces instead. */
}


.flip-container:hover .krog-servis {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
}

.front, .back {
    
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.front {
    font-size: 2rem;
    font-weight: 900;
    background-color: white;
    color: black;
    border: 1px solid #000;
    /* Adding the shadow here can be more performant */
    -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
            box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.back {
    background-color: #009BDF;
    color: white;
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
    /* You can add a different shadow for the back if you want */
    -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
            box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

/* .krog-servis {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid #000;
    background-color: white;
    color: black;
    font-size: 16px;
    text-align: center;
    -webkit-transition: -webkit-transform 0.6s ease;
    transition: -webkit-transform 0.6s ease;
    transition: transform 0.6s ease;
    transition: transform 0.6s ease, -webkit-transform 0.6s ease;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    -webkit-perspective: 1000px;
            perspective: 1000px; 

        -webkit-box-shadow: rgba(0, 0, 0, 0.55) 0px 50px 30px -40px;

                box-shadow: rgba(0, 0, 0, 0.55) 0px 50px 30px -40px;
}

.krog-servis:hover {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg); 
            border: none;
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    border-radius: 50%;
}

.front {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 900;
    background-color: white;
}

.back {
    font-size: 1rem;
    color: white;
    background-color: #009BDF;
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
} */

.back a{
    color:white;
    text-decoration: none;
}


.back a:hover{
    text-decoration: underline;
}

.rotate-on-load {
  -webkit-animation: rotateOnce 2s ease-in-out;
          animation: rotateOnce 2s ease-in-out;
}


@-webkit-keyframes rotateOnce {
  0% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
  50% {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
  100% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
}


@keyframes rotateOnce {
  0% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
  50% {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
  100% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
}



.krog-wrapper {
  display: inline-block;
  -webkit-animation: rotateOnce 1.5s ease 1s 1 forwards;
          animation: rotateOnce 1.5s ease 1s 1 forwards;
}


.col-position{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.list-group-item {
    color: #000;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 10px;
}

.overlay-text {
    color: white; /* Change to your preferred color */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    padding: 10px;
    border-radius: 5px;
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease; /* Smooth transition for background color */
    z-index: 2;
}

.col:hover .overlay-text {
    background-color: rgba(0, 0, 0, 0.7); /* Darker background on hover */
    cursor: pointer;
}

.row-first-page{
    height: 100%;
    margin: 0 10%;
}

.row-first-page2{
    height: 100%;
    margin: 0%;
}

.card {
    position: relative;
    overflow: hidden;
    height: 500px;
    border-radius: 1rem;
}

.card:hover{
    -webkit-box-shadow: 0 4px 12px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.7);
            box-shadow: 0 4px 12px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.7);
}

.card-img-overlay:hover .hover-skrij{
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.hover-pokazi{
    opacity: 0;
    
}

.card-img-overlay:hover .hover-pokazi{
    opacity: 1;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.card:hover .overlay-gradient,
.card:hover .overlay-gradient2,
.fixed-card:hover .overlay-gradient2 {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}



.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.65)), to(rgba(255, 255, 255, 0.01)));
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.01));
    z-index: 1;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}


.card-img-overlay {
    z-index: 1;
}

.card-img-overlay img{
        position: absolute;
    top: 50px;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
}



.extra-padding{
    padding: 10rem;
}

.o-podjetju-slika{
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

#oPodjetjuNovice .col-sm-3:nth-child(even),
#domov .col-sm-3:nth-child(even) p {
    background-color: black;
    color: white; 
}


#oPodjetjuNovice .col-sm-3:nth-child(odd),
#domov .col-sm-3:nth-child(odd) p {
    background-color: #009BDF; 
    color: white;
}

#oPodjetjuNovice2 .col-sm-3:nth-child(even),
#domov .col-sm-3:nth-child(even) p {
    background-color: black;
    color: white; 
}


#oPodjetjuNovice2 .col-sm-3:nth-child(odd),
#domov .col-sm-3:nth-child(odd) p {
    background-color: #009BDF; 
    color: white;
}

#oPodjetjuNovice2 .col-sm-3,
#domov .col-sm-3 {
    padding: 4rem;
}

#oPodjetjuNovice2 img {
    height: 300px;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

#oPodjetjuNovice .col-sm-3,
#domov .col-sm-3 {
    padding: 0;
}

#oPodjetjuNovice img {
    height: 300px;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
       
}


#domov img {
    height: 300px;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.slika-vse-novice{
    height: 130px;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.section-o-podjetju-novice{
    position: relative;
}

.o-podjetju-vec-novic{
cursor: pointer;
    position: absolute;
    bottom: 10px; 
    right: -15px;
    -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
            writing-mode: vertical-rl; /* Write text vertically from bottom to top */
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg); 
    font-size: 18px;
    color: white;
    font-weight: bold; 
    text-align: center;

}

.contact-square {
    position: relative;
    width: auto;
    height: 150px; /* Smaller height */
    border-radius: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: stretch;
        -ms-flex-pack: stretch;
            justify-content: stretch;
    padding: 0;
    
    margin: 5px;
    -webkit-box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
            box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    background: linear-gradient(135deg, #005ea8, #009ae1); /* Blue gradient */
}

.contact-square.dark-gradient {
    background: linear-gradient(135deg, #000000, #333333); /* Dark gradient */
}

.contact-square.blue-gradient {
    background: linear-gradient(135deg, #009ae1, #005ea8); /* Blue gradient */
}

.contact-square:hover {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
    -webkit-box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);
            box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);
}

.contact-upper {
    color: white;
    padding: 1rem 0.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
}

.contact-lower {
    color: white;
    padding: 0.5rem;
    width: 100%;
    height: 100%;
}

hr.line-separator {
    border: 0;
    border-top: 2px solid #ffffff; /* Semi-transparent white line */
    width: 100%;
    margin: 0;
}

.contact-square .fa-user-circle {
    color: white;
}

.contact-square p {
    margin: 0;
    font-size: 0.85rem; /* Smaller font size */
    text-align: left;
}

.contact-square a {
    color: #ffffff; /* White text for links */
    text-decoration: none;
}

.contact-square a:hover {
    text-decoration: underline;
    color: #e6e6e6; /* Slightly lighter shade on hover */
}

.container-kartice-domov{
    position: relative;
    margin-top: -30%;
    margin-bottom: 10%;
    z-index: 1;
}

/* .container-kartice-domov-nova{
    display: none;
    position: absolute;
    bottom:20%;
    z-index: 1;
} */
.container-kartice-domov-nova {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 100%; /* Adjust as needed */
    height: 100%; /* Ensure full height */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 1;
        opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.5s ease, visibility 0.5s ease;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center vertically */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center horizontally */
}

.container-kartice-domov-nova.visible {
    opacity: 1;
    visibility: visible;
}

.container-kartice-vozila{
     margin-top: -15%;

}

.margin-top-over{
    margin-top: -45px;
    margin-bottom: 10%;
    position: relative;
    z-index: 1;
}


.margin-top-over-vozilo{
    margin-top: -100px;
    margin-bottom: 4%;
    position: relative;
    z-index: 1;
}

.margin-top-over-kontakt{
    margin-top: -115px;
    margin-bottom: 7%;
    position: relative;
    z-index: 1;
}


.half-bg{
    background: -webkit-gradient(linear, left bottom, left top, color-stop(50%, #0099e2), color-stop(50%, transparent));
    background: linear-gradient(to top, #0099e2 50%, transparent 50%);
    padding: 0 5rem 10rem;
}

.middle-bg {
    position: relative;
    padding: 0 10%;
}

.middle-bg-inner{
    position: absolute;
    top: 50%; /* Vertically center */
    left: 50%; /* Horizontally center */
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%); /* Offset by 50% of its width and height to perfectly center it */
    height: 75%;
    width: 85%;
    border-radius: 1rem;
    background-color: #009BDF;
    }

.special-shadow{
    -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.7); 

}

.custom-radius {
  border-radius: 1rem!important; /* Adjust the radius as needed */
  overflow: hidden; /* Ensures the radius cuts the video edges */
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow effect */
}


./* contact-square {
    position: relative;
    width: auto;
    height: 140px; 
    border-radius: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: stretch;
    padding: 0;
    margin: 5px;
    -webkit-box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
            box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}

.contact-square:hover {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
    -webkit-box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);
            box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);
}

.contact-upper {
    background-color: #009ae1;
    color: white;
    padding: 0.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    width: 100%;
}

.contact-lower {
    background-color: #ffffff; 
    color: black;
    padding: 0.5rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 100%;
    height: 100%;
}

hr.line-separator {
    border: 0;
    border-top: 1px solid white;
    width: 100%;
    margin: 0;
}

.contact-square .fa-user-circle {
    color: white;
}

.contact-square p {
    margin: 0;
    font-size: 0.85rem; 
    text-align: left;
}

.contact-square a {
    color: black;
    text-decoration: none;
}

.contact-square a:hover {
    text-decoration: underline;
} */


/* .contact-square {
    position: relative;
    width: auto;
    height: 230px;
    border-radius: 10px;
    background-color: #009BDF;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 1rem 1rem 0rem 1rem;
   
    text-align: center;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
            margin: 3px;
}

.contact-square-oddelek {
    position: relative;
    width: auto;
    height: 100px;
    border-radius: 10px;
    background-color: #009BDF;
    text-align: center;
    margin: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;  
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;      
}

.contact-square .flex-grow-1 {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1; 
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.contact-square p {
    margin: 0;
}

.crvekov-kotek{
    width: 70%;
    position: absolute;
    bottom:3px;
    left: 5px;
    line-height: 1.1;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.20)
} */

/* .opis-novice * img {
    width: 100% !important;
    height: auto !important;
} */



.swiper-slide {
  height: 100%; /* Ensures the slide fills the swiper container */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; /* Ensures content inside aligns properly */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.slide-slika {
  height: 100%; /* Image will stretch to fill the parent height */
  width: 100%;  /* Image will stretch to fill the parent width */
  -o-object-fit: cover;
     object-fit: cover; /* Ensures the image scales proportionally without distortion */
}

.dark-overlay {
    position: relative;
}

.dark-overlay::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        pointer-events: none; 
}
.fixed-card-container {
    position: fixed;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end; /* Keeps the cards aligned to the right */
    z-index: 1000;
    width: auto; /* Ensures the container only wraps around the cards */
}

    .fixed-card {
        width: 150px;
        height: 100px;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        margin-bottom: 5px;
        cursor: pointer;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end;
            -ms-flex-pack: end;
                justify-content: flex-end; /* Ensures image content stays right-aligned */
        position: relative;
        border: 2px solid white;
        border-right-width: 0;
        margin-left: auto;
        border-radius: 5px 0 0 5px;
    }

    .fixed-card img {
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
           object-fit: cover;
        border-radius: 5px 0 0 5px;
        -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
                box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    }

    .fixed-card.izbrana, .fixed-card:hover {
        width: 200px;
        height: 130px;
    }



    .ikone-servis{
        position: absolute;
        top:10px;
        right: 10px;
        height: 100px;

    }

    .ikone-servis-glass{
        position: absolute;
        top:0;
        right: 0;
        z-index: 1;
        padding: 1rem;
        height: 100px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 1rem;
        margin: 1rem;
    }

    .overlay-gradient2 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(10%, rgba(0, 0, 0, 0.15)), to(rgba(0, 0, 0, 0.1)));
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 10%, rgba(0, 0, 0, 0.1) 100%);
        border-radius: 1rem;
    }
        .overlay-gradient2-kontra {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        
        background: -webkit-gradient(linear, left bottom, left top, color-stop(10%, rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.7)));
        
        background: linear-gradient(0deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.7) 100%);
        border-radius: 1rem;
    }

      .overlay-gradient3 {
        position: absolute; /* Position the overlay over the entire container */
        top: 0;
        left: 0;
        border-radius: 1rem;
        width: 100%;
        height: 100%;
        z-index:1;
        background: rgb(0,0,0);
        background: -webkit-gradient(linear, left top, right top, color-stop(50%, rgb(227, 222, 222)), to(rgba(255,255,255,0)));
        background: linear-gradient(90deg, rgb(227, 222, 222) 50%, rgba(255,255,255,0) 100%);
    }

    .card-img-overlay h2 {
        font-size: 2rem;
        line-height: 1.2;
        -webkit-transition: font-size 0.3s ease;
        transition: font-size 0.3s ease;
    }

    .card-img-overlay .h2-novice {
        font-size: 1.5rem;
        line-height: 1.2;
        -webkit-transition: font-size 0.3s ease;
        transition: font-size 0.3s ease;
    }

    .fixed-card.active .card-img-overlay h2,
    .fixed-card:hover .card-img-overlay h2 {
        font-size: 20px;
    }

    .overlay-gradient4 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(10%, rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.8)));
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.8) 100%);
        border-radius: 1rem;
    }



.link a{
    color: #009BDF;
}

.job-posting {
    background: linear-gradient(135deg, #000, #555); /* Black to dark gray gradient */
    color: #fff; /* White text */
    /* max-width: 600px; */
    margin: auto;
    padding: 15% 1rem;
    border-radius: 15px;
}

.job-posting h3, .job-posting h4 {
    color: #fff;
}

.job-posting ul {
    list-style: none;
    padding-left: 0;
}

.job-posting li {
    margin-bottom: 10px;
    color: #fff;
}

.btn-custom {
    background-color: #fff; /* White background for button */
    color: #000; /* Black text */
    border-radius: 20px;
    padding: 10px 20px;
    text-decoration: none;
    -webkit-transition: background-color 0.3s ease, color 0.3s ease;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-custom:hover {
    background-color: #e6e6e6; /* Slightly lighter shade of white for hover */
    color: #000;
}


.gradient-item{
    -webkit-transition: 0.3s;
    transition: 0.3s;
    background: linear-gradient(135deg, #005ea8, #009ae1);
    border-radius: 1rem;
}

.hover-effect{
    -webkit-transition: 0.3s;
    transition: 0.3s;
    background: linear-gradient(135deg, #005ea8, #009ae1);
    border-radius: 1rem;
}

.hover-effect:hover {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
    -webkit-box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);
            box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);
    background-color: #009BDF!important;
}

/* Footer */

.info-box {
    background-color: #f8f9fa; /* Light background similar to Bootstrap's light */
    border-radius: 0.5rem; /* Rounded corners */
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for a modern look */
    padding: 1rem; /* Padding for inner spacing */
    margin-bottom: 1.5rem; /* Margin for spacing from other elements */
}

.info-box-body {
    padding: 0.5rem 1rem; /* Padding for the body content */
}

.info-box h6 {
    font-weight: bold;
   
    color: #333; /* Darker text for better readability */
    margin-bottom: 1rem; /* Space below the title */
}

.info-box .d-flex {

    margin-bottom: 0.75rem; /* Spacing between time entries */
}

.info-box i {
    color: #007bff; /* Blue color for the icons */
    margin-right: 0.5rem; /* Space between the icon and the text */
}

.info-box p {
    margin: 0;
    font-size: 0.9rem; /* Slightly smaller text for a refined look */
    color: #555; /* Medium gray for general text */
}

.info-box .fw-bold {
    color: #000; /* Bold text for emphasis */
}

.info-box hr {
    border-top: 1px solid #ddd; /* Light separator */
    margin: 0.5rem 0; /* Spacing around the separator */
}

.info-box .fst-italic {
    color: #777; /* Lighter gray for italic text */
    font-size: 0.85rem; /* Smaller text for additional information */
}

.fixed-menu {
  position: fixed;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}

.menu-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  background-color: #0099e2;
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
  overflow: hidden;
  
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
  position: relative;
}

.menu-item .icon {
  font-size: 25px;
  padding: 10px 15px;
  background-color: #727171;
  -webkit-transition: margin-right 0.3s ease-in-out;
  transition: margin-right 0.3s ease-in-out;
}

.menu-item .text {
  opacity: 0;
  width: 0;
  padding-left: 10px;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
}

.menu-item:hover {
  padding-right: 10px;
}

.menu-item:hover .text {
  opacity: 1;
  width: auto;
  overflow: visible;
}

.fixed-menu .menu-item:not(:hover) {
  margin-left: auto; 
}

.custom-btn {
  font-size: 1.5rem; /* Larger font size for prominence */
  font-weight: bold;
  text-transform: uppercase;
  padding: 15px 25px; /* Balanced padding for size */
  background: linear-gradient(135deg, #005ea8, #009ae1); /* Gradient background */
  border: none;
  border-radius: 1rem!important; /* Smooth rounded corners */
  color: #fff;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}


.custom-btn-small {
  font-size: 1rem; /* Larger font size for prominence */
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px 20px; /* Balanced padding for size */
  background: linear-gradient(135deg, #005ea8, #009ae1); /* Gradient background */
  border: none;
  border-radius: 1rem!important; /* Smooth rounded corners */
  color: #fff;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.custom-btn-login {
  font-size: 1rem; /* Larger font size for prominence */
  font-weight: bold;
  text-transform: uppercase;
  padding: 15px 25px; /* Balanced padding for size */
  background: linear-gradient(45deg, #007bff, #0056b3); /* Gradient background */
  border: none;
  border-radius: 5px; /* Smooth rounded corners */
  color: #fff;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.custom-btn-login:hover{
    border-radius: 10px;

}

.btn-close-dark::before{
    background-color: white !important;
}

.btn-close-dark{
    position: absolute;
    top:10px;
    right: 2rem;
    
    background-color: white;
    font-size: 2rem;
    -webkit-filter: none!important;
            filter: none!important;
    z-index: 3;
    
}

.custom-btn:hover,
.custom-btn-small:hover {
  
  -webkit-transform: scale(1.05);
          transform: scale(1.05); /* Subtle scaling for emphasis */
  -webkit-box-shadow: 0 8px 15px rgba(0, 123, 255, 0.4);
          box-shadow: 0 8px 15px rgba(0, 123, 255, 0.4); /* Soft shadow on hover */
}

.custom-btn i {
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.custom-btn:hover i {
  -webkit-transform: translateY(2px);
          transform: translateY(2px); /* Icon animation for extra effect */
}

/* Add a glowing effect */
.custom-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}

.custom-btn:hover::after {
  opacity: 1;
}

.custom-card {
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  height: 60vh;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  -webkit-transition: -webkit-transform 0.3s ease-in-out, -webkit-box-shadow 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out, -webkit-box-shadow 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out, -webkit-box-shadow 0.3s ease-in-out;
  
}

.custom-card:hover {
  -webkit-transform: scale(1.03);
          transform: scale(1.03);
  -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
          box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.custom-card-img {
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
     width: 100%;
     height: 100%;
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.custom-card:hover .custom-card-img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1); /* Slight zoom effect on hover */
}

.custom-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.8)));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
  border-radius: 10px;
}

.custom-card-content {
    position: absolute;
    bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: rgba(255, 255, 255, 1);
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}

.custom-card:hover .custom-card-content {
  opacity: 1;

}

.custom-card-title {
  font-size: 1.8rem;
  color: white;
  z-index: 2;
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.custom-hidden-content {

  color: white;
  opacity: 0;
  visibility: hidden; /* Initially hidden */
  max-height: 0;
  overflow: hidden;
  -webkit-transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out, visibility 0s linear 0.3s;
  transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out, visibility 0s linear 0.3s; /* Delayed visibility */
}

.custom-card:hover .custom-hidden-content {
  opacity: 1;
  visibility: visible; /* Show content */
  max-height: 300px; /* Content expands smoothly */
  -webkit-transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out, visibility 0s linear 0s;
  transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out, visibility 0s linear 0s; /* Instant visibility on hover */
}

.custom-no-style {
  text-decoration: none;
  color: inherit;
}

.custom-hover-effect {
  -webkit-transition: background-color 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.custom-hover-effect:hover {
  background-color: #495057;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}


.slika-podrobno{
    background-image: url("../assets/images/naslovne/podjetje.jpg");
    background-size: cover;
    background-position: 0 69%;
    z-index: 2;
    position: relative;
    border-radius: 1rem;
}

.slika-podrobno-podjetje{
    background-image: url("../assets/images/o-podjetju2.jpg");
    background-size: cover;
    background-position: 0 69%;
    z-index: 2;
    position: relative;
}

.slika-podrobno-servis{
    background-image: url("../assets/images/servis1.jpg");
    background-size: cover;
    background-position: 0 69%;
    z-index: 2;
    position: relative;
}

.slika-podrobno-prvapomoc{
    background-image: url("../assets/avtosola/iStock-1289241613-min.jpg");
    background-size: cover;
    background-position: 400px 69%;
    z-index: 2;
    position: relative;
    border-radius: 1rem;
}

.slika-podrobno-zdpregled{
    background-image: url("../assets/avtosola/zdpregled.png");
    background-size: cover;
    background-position: right 65%;
    z-index: 2;
    position: relative;
    border-radius: 1rem;
}
.slika-podrobno-lokacija{
    background-image: url("../assets/avtosola/lokacija_slika.jpg");
    background-size: cover;
    background-position: 400px 69%;
    z-index: 2;
    position: relative;
    border-radius: 1rem;
}
.slika-podrobno-literatura{
    background-image: url("../assets/avtosola/kimberly-farmer-lUaaKCUANVI-unsplash.jpg");
    background-size: cover;
    background-position: 400px 40%;
    z-index: 2;
    position: relative;
    border-radius: 1rem;
}
.slika-podrobno-sestavacpp{
    background-image: url("../assets/avtosola/Tečaj_cpp.jpg");
    background-size: cover;
    background-position: 400px 69%;
    z-index: 2;
    position: relative;
    border-radius: 1rem;
}
.slika-podrobno-sestavapp{
    background-image: url("../assets/avtosola/iStock-1289241613-min.jpg");
    background-size: cover;
    background-position: 400px 69%;
    z-index: 2;
    position: relative;
    border-radius: 1rem;
}

.slika-podrobno-cpp{
    background-image: url("../assets/avtosola/Tečaj_cpp.jpg");
    background-size: cover;
    background-position: right 30%;
    z-index: 2;
    position: relative;
    border-radius: 1rem;
}

.text-content {
    position: relative; /* Text will be placed above the overlay */
    z-index: 2; /* Ensures the text is above the overlay */
    color: black; /* Optional: Set text color */
    width: 75%;
    padding: 1rem 1rem 1rem 2rem;
}

.special-width-modal{
    max-width: 70%;
    
}
.special-width-modal2{
    max-width: 40%;
    
}

.special-width-modal .modal-content{
    border-radius: 1rem;
    
}

.modal-backdrop {
    background-color:rgb(33,36,41,0.8) !important; 
     opacity: 1 !important;
}

.prvapomoc-hover{
    background: -webkit-gradient(linear, left top, left bottom, from(#005ea8), to(#009ae1));
    background: linear-gradient(180deg, #005ea8, #009ae1);
    border-radius: 1rem;

    -webkit-transition: 0.3s;
    transition: 0.3s;
    height: 110px;
    border-radius: 1rem;
}

.prvapomoc-hover2{
    border-radius: 1rem;
    background: -webkit-gradient(linear, left top, left bottom, from(#009dd8), to(#d5f3ff) );
    background: linear-gradient(180deg, #009dd8, #d5f3ff );
    -webkit-transition: 0.3s;
    transition: 0.3s;
    height: 110px;
    border-radius: 1rem;
}

.prvapomoc-hover i,
.prvapomoc-hover2 i{
    -webkit-transition: 0.3s;
    transition: 0.3s;
   
}

.prvapomoc-hover:hover i,
.prvapomoc-hover2:hover i{
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
}

.prvapomoc-hover img,
.prvapomoc-hover2 img{
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.prvapomoc-hover h3,
.prvapomoc-hover2 h3{
    font-size: 20px;
}

.prvapomoc-hover img,
.prvapomoc-hover2 img{
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
    transition: transform 0.5s ease, -webkit-transform 0.5s ease;
    -webkit-transform-origin: center center;
            transform-origin: center center;
}

.prvapomoc-hover:hover img,
.prvapomoc-hover2:hover img{
    -webkit-transform: scale(1.08);
            transform: scale(1.08);
}takt */

#mySidenav a {
z-index: 9999;
  position: fixed;
  right: -85px;
  top: 100px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  width: 150px;
  text-decoration: none;
  font-size: 20px;
  color: white;
  border-radius: 5px 0 0 5px;
  
}

#mySidenav p{
    padding-left: 3px;
    padding-right: 5px;

}

#mySidenav div {
    border-radius:5px 0 0 5px;
-webkit-transition: right 1s ease-in;
transition: right 1s ease-in;
}

#mySidenav:hover div{
    background-color: #333333;
    border-radius:1rem 0 0 1rem;
}

.icon-telefon{
    
     backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.696);
    background: rgba(0, 0, 0, 0.3);
}

.icon{
    padding:10px;
    width: 100px;
    /* background: #009BDF;
    -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
            box-shadow: 0px 0px 5px rgba(0,0,0,0.5); */
    border-radius:1rem;
     backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.696);
    background: rgba(0, 0, 0, 0.3);
    /* background: rgba(1, 154, 224, 0.3); */
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

#mySidenav:hover .icon{
    border: none;
    -webkit-box-shadow: none;
            box-shadow: none;
    background-color: inherit;
    border-radius:1rem 0 0 1rem;
}

#mySidenav a:hover {
  right:0px;
}
/* Sidebar vozila */
#sideVozila #nova {
z-index: 9999;
  position: fixed;
  right: -70px;
  top: 250px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  width: 175px;
  text-decoration: none;
  font-size: 20px;
  color: white;
  border-radius: 5px 0 0 5px;
  
}

#sideVozila #rabljena {
z-index: 9999;
  position: fixed;
  right: -105px;
  top: 320px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  width: 210px;
  text-decoration: none;
  font-size: 20px;
  color: white;
  border-radius: 5px 0 0 5px;
  
}

#sideVozila #motor {
z-index: 9999;
  position: fixed;
  right: -110px;
  top: 390px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  width: 215px;
  text-decoration: none;
  font-size: 20px;
  color: white;
  border-radius: 5px 0 0 5px;
  
}

#sideVozila #traktor {
z-index: 9999;
  position: fixed;
  right: -110px;
  top: 460px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  width: 215px;
  text-decoration: none;
  font-size: 20px;
  color: white;
  border-radius: 5px 0 0 5px;
  
}

#sideVozila p{
    padding-left: 10px;

}

#sideVozila div {
    border-radius:5px 0 0 5px;
-webkit-transition: right 1s ease-in;
transition: right 1s ease-in;
}

#sideVozila .icon:hover{
    background:rgba(0, 0, 0, 0.6);
}

/*  #nova:hover div,
 #rabljena:hover div,
#motor:hover div{
    background-color: #333333;
    border-radius:1rem 0 0 1rem;
}

 #nova:hover .icon,
 #rabljena:hover .icon,
#motor:hover .icon{
    border: none;
    -webkit-box-shadow: none;
            box-shadow: none;
    background-color: inherit;
    border-radius:1rem 0 0 1rem;
} */



/* #sideVozila:hover .icon{
    border-radius:1rem 0 0 1rem;
} */

/* #sideVozila #motor:hover,
#sideVozila #nova:hover,
#sideVozila #rabljena:hover {
  right: 0;
} */


.hover-container{
    position: relative; 
    display: inline-block;
    overflow: hidden;
    width: 100%;
}

.hover-container::before {
    content: ''; /* Empty content for the pseudo-element */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay color */
    opacity: 0; /* Initially invisible */
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease; /* Transition for fade effect */
    pointer-events: none; /* Prevent interaction with the overlay */
}

.hover-container:hover::before {
    opacity: 1; /* Make overlay visible on hover */
}


.pokazi-vec{
    position: absolute;
    bottom: 30%; 
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%); /* Center horizontally */
    color: black;
    font-size: 1.2rem;
    background-color: rgba(255, 255, 255, 1);
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
    -webkit-transition: bottom 0.6s ease;
    transition: bottom 0.6s ease; /* Smooth animation */
    opacity: 0; /* Initially invisible */
}

.hover-container:hover .pokazi-vec {
    bottom: 40%; /* Move to center vertically */
    opacity: 1; /* Make the text visible */
    -webkit-transform: translate(-50%, 50%);
            transform: translate(-50%, 50%); /* Ensure proper centering while sliding */
}


.vozila-special-margin{
    margin: 10% 0;
}

.special-margin-servis{
        margin: 0 10%;
    }

 .navbar-toggler{
    width: 20px;
    height: 20px;
    position: relative;
    margin-right: 10px;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
 }

 .navbar-toggler,
 .navbar-toggler:focus,
 .navbar-toggler:active,
 .navbar-toggler-icon:focus{
    outline: none;
    -webkit-box-shadow: none;
            box-shadow: none;
    border: 0;
 }

 .navbar-toggler span{
    margin: 0;
    padding: 0;
 }

 .toggler-icon{
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: rgb(0,155,223);
background: -webkit-gradient(linear, left top, right top, color-stop(24%, rgba(0,155,223,1)), color-stop(86%, rgba(255,255,255,1)));
background: linear-gradient(90deg, rgba(0,155,223,1) 24%, rgba(255,255,255,1) 86%);
    border-radius: 1px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
 }

 .middle-bar{
    margin-top: 0px;
 }

/* ko je meni odprt */
.navbar-toggler .top-bar{
    margin-top: 0px;
    -webkit-transform: rotate(135deg);
            transform: rotate(135deg);
}

.navbar-toggler .middle-bar{
    opacity: 0;
    -webkit-filter: opacity(0);
            filter: opacity(0);
}

.navbar-toggler .bottom-bar{
    margin-top: 0px;
    -webkit-transform: rotate(-135deg);
            transform: rotate(-135deg);
}

/* ko je meni zaprt */

.navbar-toggler.collapsed .top-bar{
    margin-top: -20px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
}
.navbar-toggler.collapsed .middle-bar{
    opacity: 1;
    -webkit-filter: opacity(100%);
            filter: opacity(100%);
}
.navbar-toggler.collapsed .bottom-bar{
    margin-top: 20px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
}


/* barve črt */
.navbar-toggler.collapsed .toggler-icon{
background: rgb(0,155,223);
background: -webkit-gradient(linear, left top, right top, color-stop(24%, rgba(0,155,223,1)), color-stop(86%, rgba(255,255,255,1)));
background: linear-gradient(90deg, rgba(0,155,223,1) 24%, rgba(255,255,255,1) 86%);
}


.novica-zgoraj{
    margin-top:120px;
}



.servis-special-margin{
    padding: 0 10%;
}



.rounded-servis-padding{
    padding: 15rem 1rem 3rem;
    border-radius: 1rem 1rem 9rem 1rem;
}

.rounded-servis-padding p{
    font-size: 14px;
}

.rounded-servis-slika{
    height: 100%;
    width: 100%;
    border: 2px solid white;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 1rem 9rem 1rem 1rem;
    -o-object-position: left;
       object-position: left;
}

.rounded-servis-slika-2{
    height: 100%;
    width: 100%;
    border: 2px solid white;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 9rem 1rem 1rem 1rem;
}

.section-servis-height {
   margin-top: 8%;
   /*  min-height: 30vh; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; 
        -ms-flex-align: center;
            -webkit-box-align: center;
                align-items: center; 
}


.icon2{
    color: #009BDF;
    font-size: 1.4rem;
    margin-right: 10px;
}

.list-group-item2 {
            background: rgba(255, 255, 255, 0.8);
            border: none;
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 10px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            font-size: 1.1rem;
            -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
                    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.kontakti-button{
    width: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(#005ea8), to(#009ae1));
    background: linear-gradient(180deg, #005ea8, #009ae1);
    /* background: linear-gradient(315deg, #9a9a9a, #dadada); */
    border-radius: 1rem;
    height: 110px;
    color:white;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    cursor: pointer;
}


.kontakti-button2{
    width: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(#009dd8), to(#d5f3ff) );
    background: linear-gradient(180deg, #009dd8, #d5f3ff );
    /* background: linear-gradient(315deg, #9a9a9a, #dadada); */
    border-radius: 1rem;
    height: 110px;
    color:white;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    cursor: pointer;
}

.kontakti-button-selected{
    background: linear-gradient(135deg, #005ea8, #009ae1);
    
}

.kontakti-button-selected h3{
    color: black!important;
}

.kontakti-button:hover{
    color: black;
}

.kontakti-button2:hover{
    color: black;
}

.kontakti-button h3,
.kontakti-button2 h3{
    font-size: 20px;
    margin: 0;
     color: white;
     -webkit-transition: .3s;
     transition: .3s;
}

.kontakti-button img,
.kontakti-button2 img{
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.kontakti-button:hover img,
.kontakti-button2:hover img{
    -webkit-transform: translateX(10px) translateY(-10px);
            transform: translateX(10px) translateY(-10px);
}

.kontakti-button:hover h3,
.kontakti-button2:hover h3{
    color: black;
}

.kontakti-button:hover .hover-pokazi,
.kontakti-button2:hover .hover-pokazi{
    opacity: 1;
}

.kontakti-button:hover .hover-skrij,
.kontakti-button2:hover .hover-skrij{
    opacity: 0;
}

.kontakti-button-selected .hover-skrij
{
    opacity: 0;
}

.kontakti-button-selected .hover-pokazi{
    opacity: 1;
}
/* section cards a kategorija */
/* SECTION */
.license-section-cards {
  background: url('tvoja-slika.jpg') center/cover no-repeat;
  position: relative;
}

/* overlay */
.license-section-cards::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 37, 41, 0.5);
}

/* ROW */
.license-section-cards .cards-row {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* CARD */
.license-section-cards .card {
  max-width: 380px;

  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  padding: 40px 30px;

  color: white;
  text-align: center;

  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;

  /* Samodejna višina glede na vsebino */
  height: auto;
}

/* TEXT */
.license-section-cards .card h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.license-section-cards .card p {
  font-size: 15px;
  line-height: 1.6;
}

.license-section-cards .card span {
  display: block;
  margin-top: 20px;
  font-weight: 600;
  opacity: 0.9;
}

/* HOVER */
.license-section-cards .card:hover {
  -webkit-transform: translateY(-8px);
          transform: translateY(-8px);
  background: rgba(255,255,255,0.15);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .license-section-cards .cards-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .license-section-cards .card {
    max-width: 100%;
  }
}
/* kartice 2 a kategorija */
.license-section-cards2 {
  background: url('tvoja-slika.jpg') center/cover no-repeat;
  position: relative;
}

/* overlay */
.license-section-cards2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 37, 41, 0.5);
}

/* ROW */
.license-section-cards2 .cards-row {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* CARD */
.license-section-cards2 .card {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 48%;
          flex: 1 1 48%; /* vsaka kartica zasede približno polovico vrstice */
  max-width: 600px; /* širše kot prej */
  min-width: 320px; /* za manjše zaslone */

  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  padding: 40px 30px;

  color: white;
  text-align: center;

  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;

  height: auto;
}

/* TEXT */
.license-section-cards2 .card h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.license-section-cards2 .card p {
  font-size: 15px;
  line-height: 1.6;
}

.license-section-cards2 .card span {
  display: block;
  margin-top: 20px;
  font-weight: 600;
  opacity: 0.9;
}

/* HOVER */
.license-section-cards2 .card:hover {
  -webkit-transform: translateY(-8px);
          transform: translateY(-8px);
  background: rgba(255,255,255,0.15);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .license-section-cards2 .cards-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .license-section-cards2 .card {
    max-width: 100%;
  }
}

.kontakt-img-position{
    position: absolute;
    top:0;
    right: 0;
    height: 65px;
}

.kontakt-img-black{
    height: 65px;
}

.video-container{
    width:100%;
    height: 100vh;
    -o-object-fit: cover;
       object-fit: cover;
}

.video-container2{
    width:100%;
    height: 80vh;
    -o-object-fit: cover;
       object-fit: cover;
}

.znamke-velikost-index{
    height: 80px;
}

.znamke-velikost-index-kgm{
    height: 45px;
}

.novica-radius{
    border-radius: 1rem;
}
/* 
@-webkit-keyframes appear{
    from{
        opacity: 0;
        scale: 0.5;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}

@keyframes appear{
    from{
        opacity: 0;
        scale: 0.5;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}

.block{
    -webkit-animation: appear 1s linear;
            animation: appear 1s linear;
    animation-timeline: view();
    animation-range:entry 0 cover 40%;
} */



@-webkit-keyframes appear {
    from {
        opacity: 0;

                -webkit-transform: scale(0.8);

                        transform: scale(0.8);
    }
    to {
        opacity: 1;
        -webkit-transform: scale(1);
                transform: scale(1);
    }
}



@keyframes appear {
    from {
        opacity: 0;

                -webkit-transform: scale(0.8);

                        transform: scale(0.8);
    }
    to {
        opacity: 1;
        -webkit-transform: scale(1);
                transform: scale(1);
    }
}

.block {
    opacity: 0; /* Hide initially */
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    -webkit-transition: none;
    transition: none;
}

.block.appear {
    animation: appear 1s linear forwards;
    -webkit-animation: appear 1s linear forwards;
}



@-webkit-keyframes pojavi {
    from {
        opacity: 0;
        bottom: -50px; /* Start slightly below */
    }
    to {
        opacity: 1;
        bottom: 50px; /* Final position */
    }
}


@keyframes pojavi {
    from {
        opacity: 0;
        bottom: -50px; /* Start slightly below */
    }
    to {
        opacity: 1;
        bottom: 50px; /* Final position */
    }
}

.o-podjetju-predstavitev {
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    width: 60%;

    border-radius: 1rem;
    color: black;
    padding: 20px;
    
    /* Apply animation */
    -webkit-animation: pojavi 1s ease-out forwards;
            animation: pojavi 1s ease-out forwards;
}

.o-podjetju-predstavitev p{
    font-size: 13px;
}

.slika-footer-1{
    margin-right: 58px;
}

.slika-footer-2{
    margin-right: 58px;
}

.slika-footer-3{
    margin-right: 65px;
}


@media screen and (max-width: 2200px){
    
    .prostorJ{
    margin-top: 8vw;
    }

    .prostorK{
        margin-top: 16vw;
    }
}


@media screen and (max-width: 1850px){
        .prostorJ{
        margin-top: 10vw;
    }

    .prostorK{
        margin-top: 20vw;
    }
}

@media screen and (max-width: 1600px){

    .extra-padding{
        padding: 5rem;
    }
}

@media screen and (max-width: 1500px){
        .prostorJ{
        margin-top: 13vw;
    }

    .prostorK{
        margin-top: 26vw;
    }

}


@media screen and (max-width: 981px){

            /* 1. CONTAINER: Keep Absolute, but fill the screen/parent */
            .container-kartice-domov-nova {
                /* Keep it absolute so it doesn't break parent layout */
                position: absolute !important;

                /* Reset positioning to fill the parent container */
                top: 0 !important;
                left: 0 !important;
                width: 100% !important;
                height: 100% !important;

                /* Remove the desktop centering transform */
                -webkit-transform: none !important;
                        transform: none !important;

                /* Use Flexbox to vertically center the card strip inside this overlay */
                display: -webkit-box !important;
                display: -ms-flexbox !important;
                display: flex !important;
                -webkit-box-orient: vertical !important;
                -webkit-box-direction: normal !important;
                    -ms-flex-direction: column !important;
                        flex-direction: column !important;
                -webkit-box-pack: center !important;
                    -ms-flex-pack: center !important;
                        justify-content: center !important;
                /* Centers verticaly */

                /* PADDING: Adjust this if cards are touching the top/bottom */
                padding: 0;

                /* VISIBILITY: Handled by your Script + Transition */
                opacity: 0;
                visibility: hidden;
                -webkit-transition: opacity 0.5s ease, visibility 0.5s ease;
                transition: opacity 0.5s ease, visibility 0.5s ease;
            }

            /* THIS MAKES IT APPEAR WHEN SCROLLED (Triggered by your JS) */
            .container-kartice-domov-nova.visible {
                opacity: 1 !important;
                visibility: visible !important;
            }

            /* 2. CREATE THE HORIZONTAL SCROLL STRIP */
            .row-first-page2 {
                display: -webkit-box !important;
                display: -ms-flexbox !important;
                display: flex !important;
                -ms-flex-wrap: nowrap !important;
                    flex-wrap: nowrap !important;
                overflow-x: auto !important;

                /* Ensure the row takes full width to allow scrolling */
                width: 100% !important;
                margin: 0 !important;

                padding-left: 20px;
                padding-right: 20px;
                gap: 15px;

                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                -ms-overflow-style: none;
            }

            .row-first-page2::-webkit-scrollbar {
                display: none;
            }

            /* 3. SIZE THE CARDS (85% width) */
            .row-first-page2>div {
                -webkit-box-flex: 0 !important;
                    -ms-flex: 0 0 85% !important;
                        flex: 0 0 85% !important;
                max-width: 85% !important;
                margin: 0 !important;
                padding: 0 !important;
            }

            /* 4. STYLE THE CARD */
            .row-first-page2 .card {
                height: 60vh !important;
                max-height: 450px;
                margin: 0 !important;
            }

            /* 5. FIX IMAGES */
            .row-first-page2 .card img[class^="card-img-top"] {
                height: 100%;
                -o-object-fit: cover;
                   object-fit: cover;
            }

            /* 6. LOGO POSITIONING */
            .card-img-overlay {
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-align: start !important;
                    -ms-flex-align: start !important;
                        align-items: start !important;
                -webkit-box-pack: center !important;
                    -ms-flex-pack: center !important;
                        justify-content: center !important;
            }

            .card-img-overlay img {
                position: relative !important;
                top: auto !important;
                left: auto !important;
                -webkit-transform: none !important;
                        transform: none !important;
                
                margin-top: 20px;
            }

            .hover-pokazi {
                display: none !important;
            }
        
   
    .text-content {
        width: 100%;
        padding: 25px;
    }

    .overlay-gradient3 {
        background: -webkit-gradient(linear, left top, right top, color-stop(45%, rgb(227, 222, 222)), color-stop(200%, rgba(255,255,255,0)));
        background: linear-gradient(90deg, rgb(227, 222, 222) 45%, rgba(255,255,255,0) 200%);
    }

    .znamke-velikost-index{
        height: 60px;
    }
   

}


@media screen and (max-width: 481px){
    .section-servis-height{
        margin-top: 30%;
    }

    .style4 {
    position: static; 

    }

    .reverse-mobile{
          -webkit-box-orient: vertical;
          -webkit-box-direction: reverse;
              -ms-flex-direction: column-reverse;
                  flex-direction: column-reverse;
  
    }
    .sirina-strani{
        width: 100%;
        padding: 10px;
        
    }
    
    .krog-servis {
        position: relative;
        width: 150px;
        height: 150px;
    }
    .krog-servis i{
        font-size: 1rem;
    }
    .bmw{
        width: 100px;
    }
    #oPodjetjuNovice .col-sm-3 , #domov .col-sm-3 {
        padding: 0;
    }
    .extra-padding{
        padding: 1rem;
    }
    .slika-vse-novice{
        height: 200px;
    }
    .no-border-mobile {
        border-bottom: none !important;
    }
    .o-podjetju-vec-novic{
        
        margin-right: 0px;
    }
    .slike-podjetja-mobile{
        width: 100%;
        margin: 10% 0;
    }
    .fixed-card-container {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        top: auto;
        bottom: 0;
        right: 50%;
        -webkit-transform: translateX(50%);
        transform: translateX(50%);
    }

        .fixed-card {
            width: 100px;
            height: 70px;
            margin-bottom: 0;
        }

        .fixed-card.active, .fixed-card:hover {
            width: 130px;
            height: 90px;
        }

        .card-img-overlay h2 {
            font-size: 14px;
        }

        .fixed-card.active .card-img-overlay h2,
        .fixed-card:hover .card-img-overlay h2 {
            font-size: 16px;
        }

        .fixed-card.izbrana, .fixed-card:hover {
        width: 110px;
        height: 70px;
    }
    .opis-novice img{
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    height: auto;
}
    .custom-radius {
        border-radius: 10px!important;
        padding: 0 10px 50px!important;
        }

    .half-bg{
        padding: 0 ;
    }

    .vozila-special-margin{
        margin:  30% 0;
    }

    .special-margin-servis{
        margin: 0;
    }

   /*  .middle-bg{
       background: -webkit-gradient(linear, left top, left bottom, color-stop(10%, transparent), color-stop(30%, #0099e2), color-stop(70%, #0099e2), color-stop(90%, transparent));
       background: linear-gradient(to bottom, transparent 10%, #0099e2 30%, #0099e2 70%, transparent 90%);
       padding: 0 5%;
    } */
    .search-container{
        width: 80%!important;
    }
    .kontakti-naslovna{
        height: 70vh;
        -o-object-fit: cover;
        object-fit: cover; 
        -o-object-position: 50% 40%; 
            object-position: 50% 40%;
    }

    .card,
    .card-img-top {
        height: 250px;
    }

    .outer-circle,
    .outer-circle-servis{
        width: 50px;
        height: 50px;
    }

    .inner-circle{
        width: 35px;
        height: 35px;
    }

    .inner-circle img{
        height: 20px;
    }


    .inner-circle i{
        font-size: 10px;
    }

    .card-img-overlay .h2-novice {
        font-size: .8rem;
        margin: 5px!important;
    }    

    .row-first-page{
        position: absolute;
        margin: 0 5%;
        bottom: 0;
        height: auto;
    }

    .middle-bg-inner{
        width: 100%;
    }

    .middle-bg{
        padding: 0;
    }

    .krog-nova-vozila{
        width: 150px;
        height: 150px;
    }

    .special-width-modal{
        max-width: 100%;
    }
    
    .motorna-kolesa-znen{
        width: 80px;
    }

    .motorna-kolesa-longjia{
        width: 100px;
    }

    .btn-close-dark{
        top:5px;
        right: 5px;
        font-size: 1.2rem;     
    }

    .o-podjetju-predstavitev {
        position: absolute;
        bottom: 0;
        left: 50%;
        -webkit-transform: translateX(-50%);
                transform: translateX(-50%);
        background-color: rgba(255, 255, 255, 0.8);
        width: 95%;

        border-radius: 1rem;
        color: black;
        padding: 20px;
        
        /* Apply animation */
        -webkit-animation: pojavi 1s ease-out forwards;
                animation: pojavi 1s ease-out forwards;
    }

    .kontakt-img-position{

        height: 35px;
    }

    .kontakt-img-black{
        height: 35px;
    }

    
    .kontakti-button h3,
    .kontakti-button2 h3{
        font-size: 12px;
    }

    .kontakti-button,
    .kontakti-button2{
        height: 50px;
    }

    .kontakti-button:hover img,
    .kontakti-button2:hover img{
            -webkit-transform: translateX(5px) translateY(-5px);
                    transform: translateX(5px) translateY(-5px);
    }

    .nakupne-moznosti{
        font-size: 1.4rem!important;
    }

    .servis-special-margin{
        padding: 0;
    }
    .flip-container {
        width: 150px; /* Should match the child's size */
        height: 150px;
    }
}


























