*{
    margin: 0;
    padding: 0;
    @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
    box-sizing: border-box;
}

:root{
    --bež: #E9E6DA;
    --lightBež: #FBFBF8;
    --zelena: #007E80;
    --siva: #D9DBE3;


  --cards: 4;
   /* Scale card height with viewport, but never below 600px */
  --cardHeight: clamp(600px, 80vh, 1100px);

  /* Vertical gap also scales a bit with viewport height */
  --cardMargin: clamp(80px, 10vh, 180px);

  /* Sticky offset derived from the current card height */
  --cardTopOffset: calc(100vh - var(--cardHeight));

   
}



  
 

html{
    font-family: Montserrat;
    font-weight: 500;
    text-decoration: none;
    overflow-x: hidden;

    max-width: 100vw;
    overflow-x: hidden;   /* fallback for older browsers */
    overflow-x: clip;     /* modern: truly clips overflow */
    overscroll-behavior-x: none; /* stops side-swipe/scroll chaining */
    touch-action: pan-y;  /* allow vertical only on touch */
  }

   



body{
/*   overflow-x: hidden;  */
  background-color: white;
  background-image: 
    linear-gradient(to right, #fafaf7 1px, transparent 1px),
    linear-gradient(to bottom, #fafaf7 1px, transparent 1px);
  background-size: 52px 52px;  


 
  font-family: 'Montserrat';

}

#domovLogoBox{
  cursor: pointer;
}


.kontakt-page {
  height: 100vh;
  overflow: hidden; /* if needed to clip any overflow */
  margin: 0;         /* reset default browser margins */
  padding: 0;
}


header{
  /* max-width: 1700px;
  border-right: 1px var(--siva) solid;
  border-left: 1px var(--siva) solid; */
  margin: 0 auto;
 
  
  
}

#hero{
  display: flex;
  flex-direction: row;
  width: 100%;
 
}

#leva, .desna{
    width: 50%;
}


header{
   position: relative;
    display: flex;
    flex-direction: row;
}



/* /* toggle - to je input home/close icon za sidebar */




.toggleIcon {
    color: white;
    font-size: 15px;
    font-family: Montserrat;
    font-weight: 500;
    border-radius: 40px;
    padding: 0em 0.5em;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 900;
   
}

#KontaktIcon{

  position: static;
  cursor: pointer;


}








/* #xZnak{
    top: 32px;
    left: 0px;
    width: 20px;
    height: auto;
} */


#kljukica:checked ~ .sidebar{
    transform: translateX(0);
     
}
#kljukica:checked ~ #sidebarOverlay{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
     
}

#kljukica{
    display: none;
}










/* Full screen SIDEBAR */


.sidebar{
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-sizing: border-box;
  height: 100vh;
  width: clamp(430px, 28.29vw, 28.29vw);
  top: 0;
  right: 0;
  background: linear-gradient(to right, white 0%, white 60%);
  border-radius: clamp(16.0px, 2.30vh, 2.30vh) clamp(0.0px, 0.00vh, 0.00vh) clamp(0.0px, 0.00vh, 0.00vh) clamp(16.0px, 2.30vh, 2.30vh); 
  box-shadow: 0 clamp(4.0px, 0.58vh, 0.58vh) clamp(29.0px, 4.17vh, 4.17vh) rgba(233, 230, 218, 0.25);
  transform: translateX(100%);
  transition: 0.75s ease-in;
  z-index: 1000;
}



#sidebarMali{
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  height: 34vh;
  width: 70px;
  top: 12%;
  right: 0;
  background: var(--zelena);
  border-radius: clamp(16.0px, 2.30vh, 2.30vh) clamp(0.0px, 0.00vh, 0.00vh) clamp(0.0px, 0.00vh, 0.00vh) clamp(16.0px, 2.30vh, 2.30vh); 
  box-shadow: none;
  transform: translateX(100%);
  transition: 0.75s ease-in;
  z-index: 1001;
}

#sidebarMali img{
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: invert();
 
  
}




#sidebarBez{
z-index: 999;
background: var(--bež);
transition: 0.65s ease-in;
box-shadow: none;

}

#sidebarZelen{
z-index: 998;
background: var(--zelena);
transition: 0.55s ease-in;
box-shadow: none;
width: clamp(435px, 28.62vw, 28.62vw);
border-radius: 16px 0 0 0;
}

#sidebarCrn{
z-index: 997;
background: #1A1A19;
transition: 0.45s ease-in;
box-shadow: none;

}

.toggle{
  width: fit-content;
}

/* .stran-link{
font-family: Montserrat;
font-weight: 500;
color: #1A1A19;
background-color: #E9E6DA;
font-size: clamp(32.0px, 4.60vh, 4.60vh);
margin-bottom: clamp(24.0px, 3vh, 3vh);
margin-left: 28px;
padding: 0px 12px;
border-radius: 16px;

width: fit-content;
box-sizing: border-box;
position: relative;
display: flex;
align-items: center;
gap: 10px;

overflow: hidden;

}

.stran-link::before{
  content: '';
  background-image: url(Slike/pridruziPuscica.svg);
  background-repeat: no-repeat;
  background-size: contain;
  height: 14px;
  width: 60px;

  transform: translateX(-120%);
  transition: transform 0.4s ease-in;
}

.stran-link:hover::before{
   transform: translateX(0);
} */

.stran-link {
  font-family: Montserrat;
  font-weight: 500;
  color: #1A1A19;
  background-color: #E9E6DA; 
  font-size: clamp(32.0px, 4.60vh, 4.60vh);
  margin-bottom: clamp(24.0px, 3vh, 3vh);
  margin-left: 28px;
  padding: 0px 10px;
  border-radius: 16px;

  width: fit-content;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  overflow: hidden;
  position: relative;
}

.stran-link::before {
  content: '';
  background-image: url(Slike/pridruziPuscica.svg);
  background-repeat: no-repeat;
  background-size: contain;
  height: 14px;
  width: 0px; /* Hidden initially */
  opacity: 0;
  transition: width 1s ease, opacity 1s ease;
  flex-shrink: 0;
}

.stran-link:hover::before {
  width: 60px; /* Expand smoothly */
  opacity: 1;
}




.storitve-link{
color: var(--siva);
font-size: clamp(15.0px, 2.16vh, 2.16vh);
font-family: Montserrat;
font-weight: 500;
border-bottom: clamp(1.0px, 0.14vh, 0.14vh) solid var(--siva);
padding-top: clamp(8.0px, 1.15vh, 1.15vh);
padding-bottom: clamp(8.0px, 1.15vh, 1.15vh);
padding-left: clamp(40.0px, 5.76vh, 5.76vh);
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
gap: clamp(24.0px, 3.45vh, 3.45vh);
box-sizing: border-box;
}

.storitve-link:hover{
  color: #007E80;
}

.storitve-link:hover::before{
  filter: invert(1);
background-color: #FF817F;
} 


#stranl{
 
  margin-bottom: 24px;
  font-weight: 500;
}

.storitve-link::before{
 content: '';
  height: clamp(32.0px, 4.60vh, 4.60vh);
  width: clamp(32.0px, 4.60vh, 4.60vh); 
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 50%;
  box-sizing: border-box;
  padding: 2px;
} 

#sl6{
border: none;
}



#sl1::before{
background-image: url(Slike/icon1.svg);
}
#sl2::before{
background-image: url(Slike/icon2.svg);
}
#sl3::before{
background-image: url(Slike/icon3.svg);
}
#sl4::before{
background-image: url(Slike/icon4.svg);
}
#sl5::before{
background-image: url(Slike/icon5.svg);
}
#sl6::before{
background-image: url(Slike/icon6.svg);
}

.sidebar #gumb{
margin: clamp(0.0px, 0.00vh, 0.00vh); 
box-sizing: border-box;
width: 100%;
}

.objem-gumba{
margin-top: 24px;
padding: clamp(20.0px, 2.88vh, 2.88vh);
box-sizing: border-box;

}






/* Footer */



.footerSecs{
    display: flex;
    flex-direction: row;
    width: 1020px;
    max-width: 100%;
    flex-wrap: wrap;
    z-index: 2;
    justify-content: center;
    gap: 105px;
}

.Finfo{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px 80px;
  flex-wrap: wrap;

}




.footerSec a{
    display: block;
    font-weight: 400;
    color: #7F7F7F;
    padding-top: 16px;
    font-size: 14px;
}


.footerSec h2{
    font-size: 16px;
    margin-top: 20px;
    font-weight: 600;
    
}

#ZavihekKontakt{
 order: 99;
 width: 100%;
 max-width: 350px;

 


}

#ZavihekKontakt #gumb {
  margin-top: -24px;
}


#sm a::before{
    content: '';
    background-image: url(Slike/puscicasm.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 14px;
    width: 14px;
    margin-right: 14px;
    margin-bottom: -4px;
    display: inline-block;

    transition: transform 0.4s ease;

}

#sm a:hover::before{
  transform: rotate(52deg);
}

#sedemmin{
    padding-bottom: 5px;
    font-weight: 600;
}

#lociEmoji::before{
    content: '📍';
    margin-right: 5px;

}

.mapa-wrapper {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
  max-width: 100%;
  justify-content: center;
  align-items: center;

}

#mapa {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 10px;
  padding: 10px;
  padding-left: 20px;
  margin-top: 0;
  opacity: 0.66;
}






.ZeleniTrak{
    margin-top: 200px;
    width: 1020px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 30px;
    background-color: var(--zelena);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    animation: grow-in 1s;
   
}

.ZeleniTrak a{
    display: flex;
    color: white;
    font-size: 14px;
    font-weight: 400;
    align-items: center;
}

.ZeleniTrak a::before{
    margin-right: 10px;
}

#zeleniFon {
  position: relative;
  padding-left: 40px;
  display: inline-block;
  text-decoration: none;
 
}

/* Base phone icon */


/* Signal line stages as separate animation layers */
#zeleniFon::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  width: 32px;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 2;
  opacity: 0;
  padding-bottom: 4px;
 

  background-image: url("Slike/ikonice/CALL1.svg");
  opacity: 1;

  /* Animation is paused by default */
  animation: signal-cycle 1s steps(3) infinite;
  animation-play-state: paused;
}

/* Animation keyframes cycling through each signal state */
@keyframes signal-cycle {
  0% {
    background-image: url("Slike/ikonice/CALL1.svg");
    opacity: 1;
  }
  50% {
    background-image: url("Slike/ikonice/CALL2.svg");
    opacity: 1;
  }
  100% {
    background-image: url("Slike/ikonice/CALL3.svg");
    opacity: 1;
  }
 
}

/* Activate animation only on hover */
#zeleniFon:hover::after {
  animation-play-state: running;
}

#zeleniFon::after {
  animation-play-state: paused;
}




@keyframes bounce-up-down {
  0%, 100% {
    transform: translateY(-50%) translateY(0);
  }
  50% {
    transform: translateY(-50%) translateY(-4px);
  }
}

#zeleniLoci {
  position: relative;
  padding-left: 40px;
  display: inline-block;
  text-decoration: none;
}

#zeleniLoci::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  width: 32px;
  background-image: url("Slike/ikonice/map-pin-line-thin-svgrepo-com.svg");
  background-repeat: no-repeat;
  background-size: contain;
  filter: invert();
  transition: transform 0.3s ease;
}

/* Animate using layered transform so -50% stays intact */
#zeleniLoci:hover::before {
  animation: bounce-up-down 0.6s ease infinite;
}












#zeleniMail {
  position: relative;
  padding-left: 40px;
  display: inline-block;
  text-decoration: none;
 
}

/* Closed envelope (default) */
#zeleniMail::before,
#zeleniMail::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  width: 32px;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
  transition: none;
  
}

/* Closed mail image */
#zeleniMail::before {
  background-image: url("Slike/ikonice/envelope-simple-thin-svgrepo-com.svg");
  opacity: 1;
  animation: mail-close 1s ease-in-out infinite;
  animation-play-state: paused;
  filter: invert();
}

/* Open mail image */
#zeleniMail::after {
  background-image: url("Slike/zeleniMailODPRT.svg");
  opacity: 0;
  animation: mail-open 1s ease-in-out infinite;
  animation-play-state: paused;
}

/* Hover activates both animations */
#zeleniMail:hover::before,
#zeleniMail:hover::after {
  animation-play-state: running;
}

/* Animations to fade icons in/out alternately */
@keyframes mail-open {
  0%, 45% {
    opacity: 0;
  }
  50%, 95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes mail-close {
  0%, 45% {
    opacity: 1;
  }
  50%, 95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


#zeleniIg::before {
  content: '';
  display: inline-block;
  height: 30px;
  width: 30px;
  background-image: url("Slike/ikonice/instagram-logo-thin-svgrepo-com.svg");
  background-repeat: no-repeat;
  background-size: contain;
  filter: invert();
 
}
#zeleniFB::before {
  content: '';
  display: inline-block;
  height: 30px;
  width: 30px;
  background-image: url("Slike/ikonice/facebook-logo-thin-svgrepo-com.svg");
  background-repeat: no-repeat;
  background-size: contain;
  filter: invert();
 
}





 







/* menu na levi strani */

.menu{
  width: 100%;
  height: clamp(90.0px, 12.95vh, 12.95vh);
  display: flex;
  
  background-color: white;
  position: relative;
}

.menuKontakt{
z-index: 3;
}

.menu .menuItem{
  position: relative;
  border-bottom: clamp(1.0px, 0.14vh, 0.14vh) var(--siva) solid ;
 
  padding: clamp(20.0px, 2.88vh, 2.88vh) clamp(20.0px, 2.88vh, 2.88vh) clamp(18.0px, 2.59vh, 2.59vh) clamp(10.0px, 1.44vh, 1.44vh);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

  #stevka02{
    display: none;
  }


.menu #menu1{
  width: 33.33%;
  height: 100%;
  position: relative;
}

#domovLogoBox{
  width: 100%;
  height: 100%;
}

.menu #menu1dropdown {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu #dropdown{
 width: 33.333%;
 position: relative;

} 

#zadnjiItem{
height: clamp(90.0px, 12.95vh, 12.95vh);
width: 100%;
}

.menu #srednji{
  border-left: clamp(1.0px, 0.14vh, 0.14vh) var(--siva) solid ;
  border-right: clamp(1.0px, 0.14vh, 0.14vh) var(--siva) solid ;
  width: 33.33%;


}

.storitve > * {
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.3) clamp(0.0px, 0.00vh, 0.00vh) clamp(20.0px, 2.88vh, 2.88vh) clamp(25.0px, 3.60vh, 3.60vh) -clamp(5.0px, 0.72vh, 0.72vh),
              rgba(0, 0, 0, 0.04) clamp(0.0px, 0.00vh, 0.00vh) clamp(10.0px, 1.44vh, 1.44vh) clamp(10.0px, 1.44vh, 1.44vh) -clamp(5.0px, 0.72vh, 0.72vh);
}

#dropdown:hover .storitve > *:nth-child(1) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}

#dropdown:hover .storitve > *:nth-child(2) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

#dropdown:hover .storitve > *:nth-child(3) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}
#dropdown:hover .storitve > *:nth-child(4) {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateY(0);
}
#dropdown:hover .storitve > *:nth-child(5) {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateY(0);
}
#dropdown:hover .storitve > *:nth-child(6) {
  transition-delay: 0.6s;
  opacity: 1;
  transform: translateY(0);
}

.storitve > * {
  opacity: 0;
  transform: translateY(-clamp(10.0px, 1.44vh, 1.44vh));
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition-delay: 0s;
}

#dropdown:hover .storitve,
.dropdown:hover + .storitve {
pointer-events: auto;
opacity: 1;
transform: translateY(0);
}

.storitve{
position: absolute;
    top: 100%; /* position below the button */
    left: 0%;
width: 100%;
min-width: clamp(340.0px, 48.92vh, 48.92vh);

opacity: 0;
transform: translateY(-clamp(10.0px, 1.44vh, 1.44vh));
pointer-events: none;
visibility: hidden;
transition: opacity 0.3s ease, transform 0.3s ease;
transition-delay: 0s; 
border-radius: 0 clamp(16.0px, 2.30vh, 2.30vh) clamp(16.0px, 2.30vh, 2.30vh) 0;
overflow: hidden;
z-index: 10111;

}


#zadnjiItem:hover + .storitve,
.storitve:hover  {
opacity: 1;
transform: translateY(0);
pointer-events: auto;
visibility: visible;
transition-delay: 0.3s;
}

.storitve a {
display: flex;
align-items: center;
justify-content: space-between;
gap: clamp(8.0px, 1.15vh, 1.15vh); /* space between arrow and label */
padding: clamp(24.0px, 3.45vh, 3.45vh) clamp(10.0px, 1.44vh, 1.44vh);
background-color: white;
border-left: clamp(1.0px, 0.14vh, 0.14vh) var(--siva) solid;
border-right: clamp(1.0px, 0.14vh, 0.14vh) var(--siva) solid;
border-bottom: clamp(1.0px, 0.14vh, 0.14vh) var(--siva) solid;
text-decoration: none;


}

.storitve a .arrow {
  display: inline-block;
  width: clamp(36px, 5.18vh, 5.18vh);
  height: clamp(12px, 1.73vh, 1.73vh);
  background-image: url('Slike/pridruziPuscica.svg');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  transform: translateX(-150%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}


.storitve a .label {
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.3s ease;
}


.storitve a:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

.storitve a:hover .label {
  transform: translateX(clamp(10px, 1.44vh, 1.44vh));
}


.storitve a::after{
  content: '';
  height: clamp(40.0px, 5.76vh, 5.76vh);
  width: clamp(40.0px, 5.76vh, 5.76vh); 
  display: inline-block;
  background-image: url(Slike/icon1.svg);
  background-repeat: no-repeat;
  background-size: clamp(32.0px, 4.60vh, 4.60vh) clamp(32.0px, 4.60vh, 4.60vh);
  background-position: center center;
  margin-right: clamp(10.0px, 1.44vh, 1.44vh);
  border-radius: 50%;
  transition: background-color 0.3s ease, filter 0.3s ease;
}

.storitve a:hover::after{

filter: invert(1);
background-color: #FF817F;
} 

#st1::after{
  background-image: url(Slike/icon1.svg);

}

#st2::after{
  background-image: url(Slike/icon2.svg);
}

#st3::after{
  background-image: url(Slike/icon3.svg);
}

#st4::after{
  background-image: url(Slike/icon4.svg);
}

#st5::after{
  background-image: url(Slike/icon5.svg);
}

#st6::after{
  background-image: url(Slike/icon6.svg);
}

.menu p, a{
  text-decoration: none;
  font-size: clamp(15.0px, 2.16vh, 2.16vh);
  font-weight: 600;
  color: black;
}

.menuItem .stevka{
  align-self: end;
}

.menu .menuItem::before{
  content: '';
  position: absolute;
  background-color: var(--bež);
  height: clamp(8.0px, 1.15vh, 1.15vh);
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 0%;
  transition: 0.2s;
}

#domovLogoBox.menuItem::before {
  width: 100%;
}

.menu .menuItem:hover::before{
  width: 100%;
}

/* desna stran HEROTA */

.desna{
  background-repeat: no-repeat;
  background-size: cover; 
  height: clamp(1020.0px, 146.76vh, 146.76vh);
  background-color: white;

}












/* marquee kopiram iz yt*/

@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .logos {
    overflow: hidden;
    background-color: white;
    white-space: nowrap;
    position: relative;
    border-top: 1px #D9DBE3 solid;
    border-bottom: 1px #D9DBE3 solid;
  }
  
  .logos:before,
  .logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
  }
  
  .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
  }
  
  .logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
  }
  
  
  .logos-slide {
    display: inline-block;
    animation: 10s slide infinite linear;
  }
  
  

/* vstavim v marquee box */

.logo-box {
    display: inline-flex;
    justify-content: center;
    align-items: center; /* adjust as needed */
    border-left: 1px solid #D9DBE3;   /* half of original 60px spacing */
    box-sizing: border-box;
  }
  
  .logo-box img {
    height: 50px;
    margin: 60px;
    width: auto;
    object-fit: contain;

  }


  /* marquee end */




 /* leva stran headerja oz herota */


 #levaHeaderOzadje {
  padding: clamp(20px, 2.88vh, 100vh) clamp(20px, 1.32vw, 100vw);
   background: radial-gradient( at 10% 60%, #FAFAF7, transparent 40%);
  
}

#levaHeaderOzadje2 {
  padding: 0 clamp(20px, 1.32vw, 100vw);
  height: calc(110vh - clamp(90px, 12.95vh, 100vh));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
 background: radial-gradient( at 10% 60%, #FAFAF7, transparent 50%);
}

#levaHeaderOzadje3 {
  padding:  0 clamp(20px, 1.32vw, 100vw);
  height: calc(110vh - clamp(90px, 12.95vh, 100vh));
 background: radial-gradient( at 10% 60%, #FAFAF7, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#levaHeaderOzadje2 h2 {
  margin-top: 14%;
}

#levaHeaderOzadje2 h1 {
  margin-top: 0;
  padding-top: 0;
}

h2.levaHeader {
  display: inline-block;
  width: fit-content;
  font-size: clamp(16px, 1.05vw, 100vw);
  font-weight: 500;
  color: #007E80;
  margin-top: 14%;
  margin-bottom: clamp(20px, 2.88vh, 100vh);
  padding: 0 clamp(4px, 0.26vw, 100vw);
  border-radius: clamp(16px, 1.05vw, 100vw);
  border: clamp(1px, 0.07vw, 100vw) #007E80 solid;
  text-align: center;
}

#levaHeaderOzadje3 h2{
  margin-top: 16%;
}


.naslovna-slika-wrapper,
.storitve-slika-wrapper {
  width: 100%;
  max-width: clamp(640px, 42.11vw, 100vw);
  height: clamp(320px, 46.04vh, 100vh);
  margin-bottom: clamp(30px, 4.32vh, 100vh);
  border-radius: clamp(16px, 2.1vw, 100vw);
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}


.storitve-slika-wrapper {
  background: linear-gradient(#1A1A1980, #1A1A1980), linear-gradient(to top, #4CA2B2 0%, transparent 75%), url(Slike/grup.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(20px, 2.88vh, 100vh) clamp(20px, 1.32vw, 100vw);
}

.storitve-slika-wrapper .glavniNapis {
  color: white;
}

.naslovna-slika-wrapper img {

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* Reveal effect */
  clip-path: inset(0 100% 0 0);
  animation: reveal-left-to-right 1s ease forwards;
  animation-delay: 2.1s;
}




@keyframes reveal-left-to-right {
  to {
    clip-path: inset(0 0 0 0); /* fully revealed */
  }
}


#lingo2, #lingo3 {
  margin-bottom: clamp(20px, 2.88vh, 100vh);
}

#centriran-naslov {
  display: flex;
  flex-direction: column;
  align-self: start;
  width: 100%;
}

#centrirano {
  display: flex;
  flex-direction: column;
  align-self: center;
  justify-content: center;
  height: 100%;
}

#centrirano h2 {
  align-self: center;
  margin-top: clamp(-22px, -3.17vh, 100vh);
}

.etiketa {
  position: relative;
  font-weight: 400;
  margin-top: 0;
  padding: clamp(4px, 0.58vh, 100vh) clamp(12px, 0.79vw, 100vw);
  font-size: clamp(14px, 0.92vw, 100vw);
  color: #1A1A19;
  display: flex;
  align-items: center;
  opacity: 0;
  border: clamp(1px, 0.07vw, 100vw) solid var(--siva);
  border-radius: clamp(32px, 2.1vw, 100vw);
  width: fit-content;
  margin-left: clamp(-28px, -1.84vw, 100vw);
  background-color: white;
  animation: rotate1 1.5s ease-in-out forwards;
  animation-delay: 2s; /* ✅ add this */
  
}


#etiketaFizio, #etiketaPsiho{
  margin-top: -8vh;
}

@keyframes rotate1 {
  0% {
    transform: rotate(0);
    opacity: 0;
  }
  100% {
    transform: rotate(-1deg);
    opacity: 1;
  }
}

.etiketa::before {
  content: '';
  width: clamp(6px, 0.39vw, 100vw);
  height: clamp(6px, 0.86vh, 100vh);
  margin-right: clamp(12px, 0.79vw, 100vw);
  background-color: var(--zelena);
  display: inline-block;
  border-radius: 50%;
  text-align: center;
}

.etiketa::after {
  content: '';
  position: absolute;
  background-image: url(Slike/GGaljaz.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: clamp(50px, 3.29vw, 100vw);
  height: clamp(50px, 7.19vh, 100vh);
  bottom: clamp(-40px, -5.76vh, 100vh);
  left: clamp(-34px, -2.24vw, 100vw);
  opacity: 0;
  animation: grow-in 1s ease forwards;
  animation-delay: 2.5s;
}



#etiketaFizio::after{
  transform: rotate(20deg);
}
#etiketaSkup::after{
  background-image: url(Slike/GGniko.png);
}
#etiketaMas::after{
  background-image: url(Slike/GGanja.png);
  background-size: cover;
}

#etiketaDiet::after{
  background-image: url(Slike/GGbedrac.png);
  background-size: cover;
}
#etiketaPsiho::after{
  background-image: url(Slike/GGborjana.png);
  background-size: cover;
}



  
 .glavniNapis {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
 
}

#PsihoPage .glavniNapis{
  flex-direction: column;
}
#FizioPage .glavniNapis{
  flex-direction: column;
}

.falling-line {
  display: block;
}

.word {
  display: inline-block;
  white-space: nowrap; /* keeps word together, allows full line wrapping */
}

.letter {
  display: inline-block;
  transform: translateY(-1em);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}



#word1, #word2 {
  font-size: clamp(40px, 2.63vw, 100vw);
  font-weight: 500;
  box-sizing: border-box;
  width: fit-content;
  text-align: center;
 

}

#word2 {
  
 transform: translateX(-58%);
  animation: word2slide 1s ease forwards;
  animation-delay: 3.4s;
}


@keyframes word2slide{
  from{
     transform: translateX(-58%);
     color: #1A1A19;

  }
  to{
       transform: translateX(0);
       color: var(--bež);

  }
}


.TriP {
  width: fit-content;
  display: flex;
  flex-direction: row;
  margin: 0 clamp(10px, 0.66vw, 100vw);
}


.TriP img {
  height: clamp(50px, 7.19vh, 100vh);
  width: clamp(50px, 3.29vw, 100vw);
}

.TriP #coin2, #coin3 {
  margin-left: clamp(-10px, -0.66vw, 100vw);
}

.animate-on-load {
  opacity: 0;
  transform: translateX(60px); /* Start offscreen to the right */
  animation: slideInFromRight 0.6s ease forwards;
}
.animate-on-load2 {
  opacity: 0;
  transform: translateX(-60px); /* Start offscreen to the right */
  animation: slideInFromLeft 0.6s ease forwards;
}

.animate-on-load-gor {
  opacity: 0;
  transform: translateY(200%) scale(2); /* Start offscreen to the right */
  animation: slideInFromDown 1s ease forwards;
  animation-delay: 3s;
}

.animate-on-load-P {
 /* Start offscreen to the right */
  animation: slideUpP 2s ease forwards;
  animation-delay: 2s;
}

.animate-grow-on-load {
  opacity: 0;
  transform: scale(0);
  animation: growIn 1s ease forwards;

}

.animate-show-on-load {
  opacity: 0;
  animation: justShow 1s ease forwards;

}

@keyframes slideInFromRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInFromDown {
  to {
    opacity: 1;
    transform: translateY(0);
   
  }
}
@keyframes slideUpP {
  0%{
    opacity: 0;
    transform: translateY(200%) scale(2.5);

  }
  50%{
    opacity: 1;
    transform: translateY(200%) scale(2.5);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
   
  }
}
@keyframes growIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes justShow {
  to {
    opacity: 1;
   
  }
}





p.levaHeader {
  margin-top: clamp(40px, 5.76vh, 100vh);
  margin-bottom: clamp(40px, 5.76vh, 100vh);
  color: var(--siva);
  font-size: clamp(14px, 0.92vw, 100vw);
  max-width: clamp(700px, 46.05vw, 100vw);
}

a.levaHeader {
  padding: clamp(12px, 1.73vh, 100vh);
  background-color: white;
  border: clamp(1px, 0.07vw, 100vw) #E9E6DA solid;
  border-radius: clamp(32px, 2.1vw, 100vw);
  font-size: clamp(14px, 0.92vw, 100vw);
  font-family: Montserrat;
  font-weight: 500;
  margin-bottom: clamp(136px, 19.57vh, 100vh);
  display: inline-flex;
  align-items: center;
  gap: clamp(40px, 2.63vw, 100vw);
}





#gumbKontakt {
  padding-top: clamp(4px, 0.58vh, 100vh);
  padding-bottom: clamp(4px, 0.58vh, 100vh);
  padding-right: clamp(4px, 0.26vw, 100vw);
  padding-left: clamp(16px, 1.05vw, 100vw);
}
#gumbDiagnoz {
  padding-top: clamp(14px, 2.014vh, 100vh);
  padding-bottom: clamp(14px, 2.014vh, 100vh);
  padding-right: clamp(52px, 3.421vw, 100vw);
  padding-left: clamp(52px, 3.421vw, 100vw);
}


#gumbKontakt::after {
  content: '';
  background-image: url(Slike/Puscica.svg);
  background-repeat: no-repeat;
  background-size: contain;
  height: clamp(36px, 5.18vh, 100vh);
  width: clamp(36px, 2.37vw, 100vw);
  display: inline-block;
  transform-origin: center;
  transition: transform 0.2s ease-in-out;
}

#gumbKontakt:hover::after {
  transform: rotate(50deg);
}

.headerBottom {
  display: flex;
  justify-content: space-between;
  align-self: end;
}

.headerBottomFon{
  display: none;
}

#pridruži {
  font-weight: 600;
  font-size: clamp(16px, 1.05vw, 100vw);
  display: flex;
  align-items: center;
}

#pridruži::before {
  content: '';
  background-image: url(Slike/pridruziPuscica.svg);
  background-repeat: no-repeat;
  background-size: cover;
  display: inline-block;
  width: clamp(45px, 2.96vw, 100vw);
  height: clamp(6.5px, 0.94vh, 100vh);
  margin-right: clamp(10px, 0.66vw, 100vw);
}


body.scroll-lock {
  overflow-y: scroll; 
  overflow-x: hidden;    /* Keeps scrollbar visible */
  height: 100vh;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 12px; /* Increase width of scrollbar */
}

::-webkit-scrollbar-track {
  background: transparent; /* Hide the track */
}

::-webkit-scrollbar-thumb {
  background-color: var(--zelena); /* Your color */
  border-radius: 10px;
  border: none; /* No border padding */
}

/* Firefox */
* {
  scrollbar-color: var(--zelena) transparent;
  scrollbar-width: thin;
}




  body.loading {
    overflow: hidden;
  }


/* header DESNA STRAN */

header .desna{
    display: flex;
    align-items: end;
    padding: 20px;
}

#sportnikiDol{
  display: none;
}


.sportniki{
  position: relative; 
  height: clamp(270.0px, 38.85vh, 38.85vh);
  aspect-ratio: 1/1.09;
  background-image: url(Slike/Športniki.svg);
  background-repeat: no-repeat;
  background-size: cover; 
  padding: clamp(20.0px, 2.88vh, 2.88vh);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.sportniki img{
  height: clamp(60.0px, 8.63vh, 8.63vh);
  width: clamp(60.0px, 8.63vh, 8.63vh);
  margin-left: clamp(-16.0px, -2.30vw, -2.30vw);
}

.sportniki img:nth-child(1){
  margin: 0;
  z-index: 7;
}
.sportniki img:nth-child(2){
  z-index: 4;
  transition-delay: 100ms;
}
.sportniki img:nth-child(3){
  z-index: 3;
  transition-delay: 200ms;
}
.sportniki img:nth-child(4){
  z-index: 2;
  transition-delay: 300ms;
}

.zgornjiSportniki, .spodnjiSportniki{
  display: flex;
  flex-direction: row;
  margin-left: clamp(-8.0px, -1.15vh, -1.15vh);
}

.sportniki #sto{
  font-size: clamp(48.0px, 6.91vh, 6.91vh);
  font-weight: 800;
}

.sportniki #sto::after{
  content: '+';
  font-weight: 300;
}

.sportniki p{
  font-size: clamp(16px, 2.30vh, 2.30vh);

}

.sportniki::before{
  content: '';
  position: absolute;
  height: clamp(50.0px, 7.19vh, 7.19vh);
  aspect-ratio: 1/1;
  background-image: url(Slike/Puscica.svg);
  background-repeat: no-repeat;
  background-size: cover;
  top: clamp(10.0px, 1.44vh, 1.44vh);
  right: clamp(10.0px, 1.44vh, 1.44vh);
  transform-origin: center;
  transition: transform 0.6s ease-in-out;
}

#slediPuscica{
  display: none;
  content: none;
}


@media (min-width: 1064px) and (orientation: landscape) {

  .desna .sportniki:before{
  display: none;
  content: none;
} 

#slediPuscica{
  position: absolute;
  height: clamp(50.0px, 7.19vh, 7.19vh);
  aspect-ratio: 1/1;
  top: clamp(14px, 2.01vh, 2.01vh);
  right: clamp(5px, 0.72vh, 0.72vh);
   object-fit: contain; /* or 'cover' if you want it to crop */
  display: block; 
  transition: all ease-in;

}




 
}


.kontakt-page #slediPuscica{
  position: absolute;
  height: 40px;
  width: 40px;
  top: 14px;
  right: 8px;
   object-fit: contain; /* or 'cover' if you want it to crop */
  display: block; 
  transition: all ease-in;
}


.sportniki:hover::before {
  transform: rotate(50deg);
}

.sportniki:hover{
  box-shadow: none;   
}


/* scroll animation hidden and show */

.hidden{
    opacity: 0;
    transition: 1s;
    transform: translateX(-100%);
    filter: blur(5px); 
}

.show{
  opacity: 1;
  transform: scale(1);
  opacity: 1;
    transform: translateX(0);
    filter: blur(0px);
}




.hidden2 {
   opacity: 0;
    transition: 1s;
    transform: translateX(100%);
    filter: blur(50px);
  transition: opacity 0.5s ease var(--delay), transform 0.5s ease var(--delay);
}

.hidden2.show {
  opacity: 1;
  opacity: 1;
    transform: translateX(0);
    filter: blur(0px);
}



/* COOKIE BANENR */

#cookie-banner{
  position:fixed; right:5%; bottom:5%; z-index:9999;
  display:flex; flex-direction:column; gap:12px; align-items:center; justify-content:center;
  padding:30px; border-radius:32px; background:#1a1a19; color:#fff;
  width:fit-content;
  transform:translateY(200%);
  transition:transform .3s ease;
  font:400 14px/1.4 system-ui, sans-serif;
}
.show-cookie #cookie-banner{ transform:translateY(0); }
#cookie-banner p{ margin:0; max-width: 400px; }
#cookie-banner .actions{ display:flex; width:100%; gap:10px; justify-content:flex-end; }
.btn{ cursor:pointer; border:0; padding:.6rem 1rem; border-radius:16px; font-weight:600; }
.btn.primary{ background:#fff; color:#111; }
.btn.ghost{ background:transparent; color:#fff; outline:1px solid #555; }
.btn:focus-visible{ outline:2px solid #7aa2ff; outline-offset:2px; }

@media (max-width:600px){
  #cookie-banner{ right:0; bottom:0; margin:20px; }
}





/* Full screen SIDEBAR --- spreminjam v FOOTER!! */

footer{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--bež);
    z-index: 1;
    padding: 0 16px;
    
  
    
    
}






#FooterFour{
    display: flex;
    flex-direction: row;
    width: 1020px;
    max-width: 100%;
    margin-bottom: 140px;
}







.footerSec a{
    display: block;
    font-weight: 400;
    color: #7F7F7F;
    padding-top: 16px;
}

.footerSec h2{
    font-size: 16px;
    margin-top: 20px;
    font-weight: 6s00;
    
}

#ZavihekKontakt{
    z-index: 10;
 
}
.najdeteNas{
    background: linear-gradient(to bottom, var(--lightBež), transparent 100%);
    width: 100%;
    height: auto;
    border-radius: 16px 16px 0 0 ;
    box-sizing: border-box;
    padding: 10px 20px 10px 20px;
    margin-bottom: 5px;
   
}

.najdeteNas p{
    font-size: 14px;
    font-weight: 400;
}

#sm a::before{
    content: '';
    background-image: url(Slike/puscicasm.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 14px;
    width: 14px;
    margin-right: 14px;
    margin-bottom: -4px;
    display: inline-block;

}

#sedemmin{
    padding-bottom: 5px;
    font-weight: 600;
}

#lociEmoji::before{
    content: '📍';
    margin-right: 5px;

}



/*  */

#gumb {
  display: flex;
  font-family: Montserrat;
  font-weight: 500;
  justify-content: center;
  align-items: center;
  height: 56px;
  width: 100%;
  background-color: #1A1A19;
  border-radius: 16px;
  font-weight: 600;
  color: white;
  box-shadow: 0 4px 29px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  padding-top: 0;
  cursor: pointer;
  
}



/* Triangle styles */
#gumb::before,
#gumb::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  transition: all 0.4s ease;
}

#gumb::before {
  bottom: 8px;
  left: 8px;
  clip-path: polygon(0% 100%, 0% 0%, 100% 100%);
  transform: rotate(0deg);
}

#gumb::after {
  top: 8px;
  right: 8px;
  clip-path: polygon(100% 0%, 100% 100%, 0% 0%);
  transform: rotate(0deg);
}

/* Hover triangle movement */
#gumb:hover::before {
  top: 8px;
  bottom: auto;
  transform: rotate(90deg);
}

#gumb:hover::after {
  bottom: 8px;
  top: auto;
  transform: rotate(90deg);
}

/* Text span for hover animation */
.gumb-text {
  display: inline-block;
}

/* Trigger the "press and release" animation once on hover */
#gumb:hover .gumb-text {
  animation: pressBounce 0.3s ease;
}

/* Keyframe animation: down → faded → back */
@keyframes pressBounce {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(20px);
    opacity: 0.7;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}




#FooterRibbon{
    margin-bottom: 100px;
    width: 1020px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 30px;
    background-color: var(--zelena);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 2;
    flex-wrap: wrap;
}

#FooterRibbon #pokoncniLogo{
  display: none;
}

#zeleni-wrapper{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  text-align: center;
}

#FooterRibbon a{
    display: flex;
    color: white;
    font-size: 14px;
    font-weight: 400;
    align-items: center;
}


#zeleniFon a::before{
    content: '';
    display: inline-block;
    background-image: url(Slike/klic.svg);
    background-repeat: no-repeat;
    background-size: contain;
    height: 32px;
    aspect-ratio: 1 / 1;
}

#zeleniLoci a::before{
    background-image: url(Slike/zeleniLoci.svg);
    content: '';
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    height: 32px;
    aspect-ratio: 1 / 1;
}

#zeleniMail a::before{
    background-image: url(Slike/zeleniMail.svg);
    content: '';
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    height: 32px;
    width: 32px;
}

#pg{
  margin: 0 -16px;
}

/* tu probam za Adeft button css */

  


/* FAQ SECTION */

#FAQ{
    background-color: #1A1A19;
    
    padding: 200px 16px 0 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   
    position: relative;
  
}

details{
    background-color: #4E4E4E;
    width: 100%;
    max-width: 850px; 
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    color: white;
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 24px;
    padding-bottom: 24px;
    box-sizing: content-box;
    margin-bottom: 20px;
    z-index: 2;
    box-sizing: border-box;
  
}

details p{
    padding-top: 24px;
}

#FAQ .naslov{
    color: white;
    padding-top: 16px;
    padding-bottom: 70px; 
    text-align: center;
}

#FAQ .nadnaslov{
    color: var(--bež);
    border: 1px var(--bež) solid;
    text-align: center;
   
   
}

summary{
    cursor: pointer;
    width: 100%;
    max-width: 850px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

summary h3{
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 500;
}

summary svg{
  flex: 0 0 40px;
  height: 40px;
  margin-left: 10px;
}

.vertical-bar {
    transform-origin: center;
    transform-box: fill-box;
    transition: transform 0.3s ease;
  }
  
  details[open] .vertical-bar {
    transform: rotate(90deg); /* rotates it to horizontal */
  }

  /* tu je css za P sliders */

  .scroll-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px; /* enough to allow scrolling */
    background: #19191a;
    position: relative;
     margin-top: clamp(0px, 13.158vw, 200px);
  margin-bottom: clamp(0px, 19.737vw, 300px);
    width: 100%;
    max-width: 1200px;
   
   
   
  }

.scroll-section { 
  position: relative; 
}

/* content under the borders */
.content { 
  position: relative; 
  z-index: 1; 
}

/* both borders pinned to the edges, above content */
.border-left,
.border-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px; /* avoid half-pixel vanishing */
  background: var(--siva, #999);
  z-index: 3;            /* <-- higher than .content */
  pointer-events: none;   /* don't block clicks */

  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #E9E6DA 5%, #E9E6DA 95%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%,  5%, #E9E6DA 95%, transparent 100%);
  opacity: 0.9;
}

.border-left  { left: 0; }
.border-right { right: 0; }

/* Optional: if you really want a hairline look */
@supports (transform: scaleX(0.5)) {
  .border-left::after,
  .border-right::after {
    content: "";
    position: absolute; inset: 0;
    background: inherit;
    transform: scaleX(0.5);       /* half-width line without subpixel snap */
    transform-origin: center;
  }
}


  

  
  .content {
    display: flex;
    width: 80vw;
    max-width: 1200px;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    
  }
  
  .text-left, .text-right {
    width: 50%;
    color: white;
    font-size: clamp(20px, 3vw, 40px);
    font-weight: 500;
    display: flex;
    flex-direction: column;
  }

  .text-left{
    align-items: end;
    justify-content: start;
    font-weight: 500;

    padding-bottom: 1.58vw;
  }

  .text-right{
    justify-content: end;
  }

  
  
  .text-left p, .text-right p {
    transform: translateY(0) translateX(0);
    opacity: 0;
    transition: all 1s ease;
  }
  
  .image {
    max-width: 330px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    
  }

  #imageP {
    max-width: 330px;
    width: 100%;
    height: auto;
  }
  
  


  /* Initial hidden state */
.left-text,
.right-text {
  opacity: 0;
  transform: translateX(0);
  transition: all 0.6s ease-out;
}

/* Animate left text out to the left */
#zaz.active {
  transform: translateX(-6.58vw);
  opacity: 1;
}
#v.active {
  transform: translateX(-5.26vw);
  opacity: 1;
}
#svo.active {
  transform: translateX(-2.63vw);
  opacity: 1;
}

/* Animate right text out to the right */
.right-text.active {
  transform: translateX(1.32vw);
  opacity: 1;
}

/* image od FAQ spodaj */

#ozadje{
  background-image: 
  linear-gradient(to bottom, #1A1A19 40%, transparent 100%), 
  linear-gradient(#1A1A1999, #1A1A1999), 
  url("Slike/dajne2.png");

    width: 100%;
    aspect-ratio: 1 /0.52 ;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

#AparatPage #ozadje{
  background-image: 
  linear-gradient(to bottom, #1A1A19 40%, transparent 100%), 
  linear-gradient(#1A1A1999, #1A1A1999), 
  url("Slike/SkierFull.png");
  transform: scaleX(-1);
}

#MasPage #ozadje {
  background-image: 
    linear-gradient(to bottom, #1A1A19 40%, transparent 100%), 
    linear-gradient(#1A1A1999, #1A1A1999), 
    url("Slike/ozadjeMasaže2.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Mirror the background */
  transform: scaleX(-1);
}
#IndexPage #ozadje {
  background-image: 
    linear-gradient(to bottom, #1A1A19 40%, transparent 100%), 
    linear-gradient(#1A1A1999, #1A1A1999), 
    url("Slike/OzadjeIndex.jpg");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Mirror the background */
  transform: scaleX(-1);
}
#FizioPage #ozadje {
  background-image: 
    linear-gradient(to bottom, #1A1A19 40%, transparent 100%), 
    linear-gradient(#1A1A1999, #1A1A1999), 
    url("Slike/kroserOz.png");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Mirror the background */
  transform: scaleX(-1);
}
#SkupPage #ozadje {
  background-image: 
    linear-gradient(to bottom, #1A1A19 40%, transparent 100%), 
    linear-gradient(#1A1A1999, #1A1A1999), 
    url("Slike/1x/Artboard\ 21.png");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Mirror the background */
  transform: scaleX(-1);
}
#DietPage #ozadje{
  background-image: 
  linear-gradient(to bottom, #1A1A19 40%, transparent 100%), 
  linear-gradient(#1A1A1999, #1b1b1699), 
  url("Slike/ozadjeDieta.jpg");
}
#PsihoPage #ozadje{
  background-image: 
  linear-gradient(to bottom, #1A1A19 40%, transparent 100%), 
  linear-gradient(#1A1A1999, #1A1A1999), 
  url("Slike/ozadjePsiho.jpg");
}


  @media (min-width: 2000px) {
  /* styles for screens above 2000px */
  .scroll-section {
   
  
  margin-bottom: clamp(0px, 24vw, 500px);
    
   
   
   
  }
}





/* TESTIMONIAL SECTION */

#testimonialSection{
  position: relative;
  background: linear-gradient(to top, white, transparent);
  
  border-radius: 0 0 clamp(32.0px, 4.60vh, 4.60vh) clamp(32.0px, 4.60vh, 4.60vh);
 
  padding: 13.16vw 1.05vw 4.61vw 1.05vw;


  margin-bottom: clamp(-32.0px, -4.60vh, -4.60vh);
  z-index: 8;
  box-shadow: 0 clamp(4.0px, 0.58vh, 0.58vh) clamp(29.0px, 4.17vh, 4.17vh) rgba(0, 0, 0, 0.25);
  border-top: clamp(8.0px, 1.15vh, 1.15vh) solid var(--bež);
  display: flex;
  justify-content: center;
  overflow: hidden;
  
}
#testimonialSection2{
  position: relative;
  background: linear-gradient(to top, white, white);
  
  border-radius: 0 0 clamp(32.0px, 4.60vh, 4.60vh) clamp(32.0px, 4.60vh, 4.60vh);
 
  padding: 13.16vw 1.05vw 4.61vw 1.05vw;


  margin-bottom: clamp(-32.0px, -4.60vh, -4.60vh);
  z-index: 8;
  box-shadow: 0 clamp(4.0px, 0.58vh, 0.58vh) clamp(29.0px, 4.17vh, 4.17vh) rgba(0, 0, 0, 0.25);
  border-top: clamp(8.0px, 1.15vh, 1.15vh) solid var(--bež);
  display: flex;
  justify-content: center;
  overflow: hidden;
  
}

#testimonial-wrapper{
  display: flex;
  flex-direction: row;
  justify-content: end;
  width: 100%;
  max-width: clamp(1700.0px, 244.60vh, 244.60vh);
  margin: 0 clamp(20.0px, 2.88vh, 2.88vh);

}

#leviTest{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: clamp(240.0px, 34.53vh, 34.53vh);
  
}

.naslov{
  font-family: Montserrat;
  font-weight: 500;
  font-size: clamp(40.0px, 5.76vh, 5.76vh);
  color: #1A1A19;
}

.nadnaslov{
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color:#007E80;
  padding: 4px;
  border-radius: 16px;
  border: 1.0px #007E80 solid;
  text-align: center;
  width: fit-content;
  max-width: 100%;
}

.tekst{
  color: var(--siva);
  font-size: clamp(14.0px, 2.01vh, 2.01vh);
  padding-bottom: clamp(70.0px, 10.07vh, 10.07vh);
}

#leviTest .sportniki{
  box-shadow: none;
  width: clamp(240.0px, 34.53vh, 34.53vh);
}

#leviTest .tekst{
  padding-top: clamp(40.0px, 5.76vh, 5.76vh);
  max-width: clamp(250.0px, 35.97vh, 35.97vh);
}

#desniTest{
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: end;
  padding:0 clamp(80.0px, 11.51vh, 11.51vh);
 
  
}

/* css za slider tesimonial code */
.slider {
  max-width: clamp(900.0px, 129.50vh, 129.50vh);
  width: 100%;
}

#testimonial-text{
font-size: clamp(32.0px, 8.63vh, 8.63vh);
line-height: 1.4;
}

.testimonial-text::before {
content: "";
background-image: url(Slike/notaCrna.svg);
width: clamp(70.0px, 10.07vh, 10.07vh);
height: clamp(85px, 12.230vh, 12.230vh);
background-repeat: no-repeat;
background-size: contain;
position: absolute;
left: clamp(-160.0px, -7vw, -7vw);
top: clamp(-32.0px, -4.60vh, -4.60vh);

}

.testimonial-footer {
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
border-top: clamp(1.0px, 0.14vh, 0.14vh) var(--siva) solid;
padding-top: clamp(40.0px, 5.76vh, 5.76vh);
}

.profile {
display: flex;
align-items: center;
gap: clamp(16.0px, 2.30vh, 2.30vh);
}

.profile img {
width: clamp(60.0px, 8.63vh, 8.63vh);
height: clamp(60.0px, 8.63vh, 8.63vh);
border-radius: 50%;
object-fit: cover;
}

.profile-info {
display: flex;
flex-direction: column;
}

.profile-info strong {
font-family: Montserrat; 
font-size: clamp(20.0px, 2.88vh, 2.88vh);
font-weight: 500;
padding-bottom: clamp(4.0px, 0.58vh, 0.58vh);
}

.profile-info span {
font-size: clamp(15.0px, 2.16vh, 2.16vh);
color: var(--siva);
}

.controls {
display: flex;
gap: clamp(16.0px, 2.30vh, 2.30vh);
}

.controls button {
background: none;
border: none;
font-size: clamp(24.0px, 3.45vh, 3.45vh);
cursor: pointer;
padding: clamp(4.8px, 0.69vh, 0.69vh) clamp(9.6px, 1.38vh, 1.38vh);
transition: color 0.3s ease;
}

.controls button:hover {
filter: invert();
}

.testimonial-text {
text-align: left;
font-family: Montserrat;
font-size: clamp(clamp(16.0px, 2.30vh, 2.30vh), 6.35vw, clamp(60.0px, 8.63vh, 8.63vh));;
font-weight: 500;
padding-bottom: clamp(200.0px, 28.78vh, 28.78vh);
padding-left: clamp(0.0px, 0.00vh, 0.00vh);
position: relative;
}

.profile-info {
text-align: left;
font-family: Montserrat;
}








/* spinnin menu css */


.circle-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  z-index: 100;
  transform: scale(0);
  opacity: 0;
  animation: grow-in 1s ease forwards;
  animation-delay: 2.4s;
}

.kontakt-page .circle-wrapper{
  transform: translate(-50%,-50%);
  opacity: 0;
  transform: scale(2);
  transform: translateY(200%); /* Start offscreen to the right */
  animation: slideUpP 1.6s ease forwards;
  animation-delay: 3s;
}





@keyframes grow-in{
  0%{
    transform: scale(0);
    opacity: 0;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes grow-in-target{
  0%{
    transform: scale(0);
    opacity: 0;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
}




.circle-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
 
  will-change: transform;
}



.rotating-text {
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 14px;
}

/* Color classes */
.white {
  fill: white;
}




/*  .glow {
  filter: drop-shadow(0 0 4px white) drop-shadow(0 0 8px white);
} */

.big-text {
  font-size: 4px;
} 

/* Animations */
.rotate-cw {
  animation: spin 20s linear infinite;
}

.rotate-ccw {
  animation: spinReverse 25s linear infinite;
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

.center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 37px;  /* adjust as needed */
  height: auto;
  transform: translate(-40%, -52%);
  z-index: 2; /* ensure it's above the background, but below or above text as needed */
}

.spin-fast {
  animation-duration: 2s !important; /* original was 20s */
}


/* TU JE CSS ZA PRELOADER */

/* TU JE CSS ZA PRELOADER */


/* Loader container */




.loaderFon{
  display: none;
}

.loader {
  position: absolute;
  z-index: 10;
  top: 0;
  left: -50vw;
  width: 150vw;
  height: 110vh;
  display: flex;
  flex-direction: row;
  justify-content: start;
  box-sizing: content-box;
  overflow: hidden;
  will-change: transform;
  border-radius: 0;
  background-color: #1A1A19;
}

#loaderKontakt{
  left: -50vw;
  z-index: 1000;
}

#loaderIndex {
  position: absolute;
  z-index: 10;
  top: 0;
  left: -50vw;
  width: 150vw;
  height: clamp(1020.0px, 146.76vh, 146.76vh);
  display: flex;
  flex-direction: row;
  justify-content: start;
  box-sizing: content-box;
  overflow: hidden;
  will-change: transform;
  border-radius: 0;
  background-color: #1A1A19;
}







#loaderKontakt #desniLoader{
  background: url(Slike/steza2.jpg); 
  background-size: cover;
 
}


/* #desniLoader{
  height: 100%;
  width: 70%;
  background: url(Slike/1x/basketas66-8.png);
  background-size: cover;
  background-size: auto 100%;  
  background-repeat: no-repeat;
  background-position: top right; 
} */

/* Parent: 70% wide, full viewport height; bg photo always 100% width (auto height) */


/* Parent: 70% wide, full height; bg photo always 100% width (auto height) */
#desniLoader {
  width: 70%;
  height: 100%;                  /* or set an explicit height if you prefer */
  display: grid;
  grid-template-columns: 1fr 1fr; /* two 50% columns */
  position: relative;
  overflow: hidden;

  background: url("Slike/basketas.jpg");
       /* match parent width, keep aspect ratio */
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

/* Left half: transparent — shows the parent background normally */
#desniLoader .dinoOne { 
    display: flex;
    align-items: end;
    padding: 20px;
  
}








/* Right half: black overlay with a logo-shaped hole (mask) */
#desniLoader .dinoTwo { position: relative;
 }

/* The overlay + mask lives in a pseudo-element */
#desniLoader .dinoTwo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #19191a;  
  height: 100vh;             /* black everywhere... */

  /* your SVG logo becomes the “hole” */
  --logo: url("Slike/svglogo.svg");     /* adjust the path/name if needed */

  /* Standards syntax */
  mask-image: linear-gradient(#fff 0 0), var(--logo);
  mask-size: 100% 100%, cover;    /* logo mask covers the right column */
  mask-position: 0 0, right top;  /* logo at top-right */
  mask-repeat: no-repeat, no-repeat;
  mask-composite: exclude;        /* subtract logo from the black overlay */
 

  /* WebKit/Blink compatibility */
  -webkit-mask-image: linear-gradient(#fff 0 0), var(--logo);
  -webkit-mask-size: 100% 100%, cover;
  -webkit-mask-position: 0 0, right top;
  -webkit-mask-repeat: no-repeat, no-repeat;
  -webkit-mask-composite: xor;    /* creates the “hole” in Chrome/Safari */
}

/* If you want the logo to stretch exactly to the column box (even if distorted), use:
   mask-size: 100% 100%, 100% 100%;
   -webkit-mask-size: 100% 100%, 100% 100%;
*/


.loader.locked-right {
  position: fixed;          /* anchor to viewport */
  top: 0;
  right: 0;
  left: auto;
  width: 50vw;              /* only right half remains */
  height: 100vh;
  transform: none !important;
  overflow: hidden;
  z-index: -1;
}


/* optional: don't let the loader intercept clicks once done */
.loader.locked-right { pointer-events: none; }
/* if you need .dinoOne clickable, re-enable inside it: */
.loader.locked-right .dinoOne { 
  pointer-events: auto;
  width: 100%;
 }






#loaderKontakt{
  height: 100vh;
}

/* #srednjiLoader {
  width: 36%;
  background-image: url(Slike/1x/FuzbalP.png);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
} */


#loaderSportniki #desniLoader{
  background: url(Slike/ozaaa.png);
  background-size: cover;

  
}
#loaderFizio #desniLoader{
  background: url(Slike/kroserOz.jpg);
  background-size: cover;
  background-position: bottom;

}

#loaderPsiho #desniLoader{
  background: url(Slike/ozadjePsiho.jpg);
  background-size: cover;
  
}
#loaderSkupinske #desniLoader{
  background: url(Slike/1x/Artboard\ 21.png);
  background-size: cover;
  background-position: right;
}

#loaderAparat #desniLoader{
  background: url(Slike/SkierFull.png);
  background-size: cover;
  background-position: right;


}


#loaderDiet #desniLoader{
  background-image: url(Slike/swimOZ.jpg);
  background-size: cover;
   background-position: right;
 
}
#loaderMasaze #desniLoader{
  background: url(Slike/fuzbalMas.jpg);
  background-size: cover;
   background-position: top;
 
}
#loaderKontakt #desniLoader{
  background-image: url(Slike/kontaktRun.jpg);
  background-size: cover;
  background-position: center;
 
}



#loaderOnas #desniLoader{
  background: url(Slike/smejijo3.png) ;
  background-size: cover;
}


#loaderFizio, #loaderSkupinske, #loaderMasaze, #loaderPsiho, #loaderDiet, #loaderAparat, #loaderKontakt{
  background-color: #E9E6DA;
  color: #007E80;
}

#loaderIndex{
  background-color: #19191a;
}



#loaderFizio .dinoTwo::before{
  background-color: #E9E6DA;
}
#loaderSkupinske .dinoTwo::before{
  background-color: #E9E6DA;
}
#loaderMasaze .dinoTwo::before{
  background-color: #E9E6DA;
}
#loaderPsiho .dinoTwo::before{
  background-color: #E9E6DA;
}
#loaderDiet .dinoTwo::before{
  background-color: #E9E6DA;
}
#loaderAparat .dinoTwo::before{
  background-color: #E9E6DA;
}
#loaderKontakt .dinoTwo::before{
  background-color: #E9E6DA;
}






#leviLoader {
  height: 100vh;
  width: 32%;
  padding-top: 10vh;     /* 140px / 695px */
  padding-bottom: 11.51vh;  /* 80px / 695px */
  padding-right: 9.21vw;
    /* 140px / 1520px */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: end;
  gap: 2.88vh;   
  padding-left: 4vw;           /* 20px / 695px */
}

#leviLoader h1 {
  font-size: 7vw;
  line-height: 8.5vw;
        /* 48px / 1520px */
  color: #1A1A19;
  font-family: Montserrat;
 

}

.sp1 { display:inline-block; width:1ch; } /* ≈ width of one character */



#loaderIndex #leviLoader h1{
  color: white;
}
#loaderOnas #leviLoader h1{
  color: white;
}
#loaderSportniki #leviLoader h1{
  color: white;
}

/* Logo */
#leviLoader img {
  width: 40%;
  height: auto;
  align-self: end;
  padding-right: 40px;
}

/* Bar container */
#loaderBar {
  width: 40%;
  height: 1.15vh;           /* 8px / 695px */
  background-color: #E9E6DA;
  overflow: hidden;
  position: relative;
  opacity: 0;
}

/* Actual filling element */
.fill {
  height: 100%;
  width: 100%;
  background-color: black;
  transform: translateX(100%);
  animation: fillBar 1.5s linear forwards;
}

@keyframes fillBar {
  to {
    transform: translateX(0%);
  }
}

/* Slide RIGHT animation */
.slide-right {
  animation: slideOutRight 1.2s ease-in-out forwards;
}

.slide-right-rounded-top {
  animation: slideOutRightRoundedTop 1.2s ease-in-out forwards;
}




@keyframes slideOutRight {
  from {
    transform: translateX(0);
    border-radius: 0;
    z-index: 100;
  }
  to {
    transform: translateX(66.5%);
    border-radius: 32px 0 0 32px; 
    z-index: 1; /* 16px / 1520px */
  }
}

@keyframes slideOutRightRoundedTop {
  from {
    transform: translateX(0);
    border-radius: 0;
    z-index: 100;
  }
  to {
    transform: translateX(66.5%);
    border-radius: 32px 0 0 32px;
    z-index: 1;
  }
}







/* header {
  position: relative;
}



 #logoAnimation {
  position: absolute;
  width: 300px; 
  height: auto;
  top: calc(100vh - 80px);
  left: calc(100vw - 140px); 
  z-index: 1000000;
  transition: top 2s ease-in-out, left 2s ease-in-out, transform 2s ease-in-out;
}

#logoAnimation.animated {
  top: 20px;
  left: 10px;
  transform: scale(0.4); 
} */
 





#spinning.black{

  filter: invert(52%) sepia(91%) saturate(746%) hue-rotate(139deg) brightness(89%) contrast(88%);
 

}

/*  POSAMEZNI SERVICE section*/

#posamezni-section{
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 140px;
  background: linear-gradient(to top, var(--lightBež), transparent 70%);
  display: flex; 
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
 /*  min-height: calc(var(--cardHeight) * var(--cards) + var(--cardMargin) * (var(--cards) - 1)); */
}

#posamezni-section::after{
  content: '';
  background: url(Slike/krogi.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 740px;
  position: absolute;
  top: 34%;
  z-index: 0;
  
}

#posamezni-section2{
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 140px;
  background: linear-gradient(to top, var(--lightBež), transparent 20%);
  display: flex; 
  width: 100%;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: calc(var(--cardHeight) * var(--cards) + var(--cardMargin) * (var(--cards) - 1));
}

#posamezni-section2::after{
  content: '';
  background: url(Slike/krogi.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 740px;
  position: absolute;
  top: 69%;
  z-index: 0;
  
}


#taService{

z-index: 1;

}



.service-opis {
  padding-top: 160px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 36px 20vw; /* space between h2 and p */
  max-width: 1400px; /* optional, for layout control */
  margin: auto;
  width: 100%;
  max-width: 1270px;
  position: relative;
  
}

#service-opis1na1{
  margin-bottom: 120px;
}

.service-opis h2 {
  flex: 0 0 auto;
  
}

.service-opis p {
  flex: 1;
  font-size: 32px;
  font-family: Montserrat;
  font-weight: 500;
  color: #1A1A19;

}





#posamezni-grid{
  
  
  width: 100%;
  height: 540px;
  margin-top: 120px;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  grid-template-areas: 
  "x1 x1 x2"
  "x1 x1 x3"
  ;
}


#FizioPage #posamezni-grid{
 margin-top: 20px;
}



.serviceGrid{
  border-radius: 16px;
}

#posamezni-grid .serviceGrid:first-of-type{
  background-image: url(Slike/fizio1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: end;
  align-items: end;
  padding: 30px;
}
#SkupPage .serviceGrid:first-of-type{
  background-image: url(Slike/skupinske1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
#MasPage .serviceGrid:first-of-type{
  background-image: url(Slike/masaze1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
#PsihoPage .serviceGrid:first-of-type{
  background-image: url(Slike/psiho1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
#DietPage .serviceGrid:first-of-type{
  background-image: url(Slike/diet1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
#AparatPage .serviceGrid:first-of-type{
  background-image: url(Slike/aparati1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
#AparatPage .serviceGrid:last-of-type{
  background: url(Slike/aparati2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  
}
#PsihoPage .serviceGrid:last-of-type{
  background: url(Slike/psiho2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  
}
#DietPage .serviceGrid:last-of-type{
  background: url(Slike/diet2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  
}








.serviceGrid #pridruži{
  filter: invert();
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}





#posamezni-grid .serviceGrid:last-of-type {
  /* Remove the background image */
  

  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
  
  
}

/* Video should fill the grid cell without breaking the layout */
#posamezni-grid .serviceGrid:last-of-type video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border-radius: 16px; /* match the container's */
}

/* Optional play icon overlay */
#posamezni-grid .serviceGrid:last-of-type::before {
  background-image: url(Slike/kamera.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 60px;
  height: 60px;
  content: '';
  position: relative;
  z-index: 1;
  display: inline-block;
   transition: all 1s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}



#AparatPage .serviceGrid:last-of-type::before{
  background: none;
}
#PsihoPage .serviceGrid:last-of-type::before{
  background: none;
}
#DietPage .serviceGrid:last-of-type::before{
  background: none;
}



.video-wrapper {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);

  justify-content: center;
  align-items: center;
}

.video {
  display: none;
  height: 534px;
  width: 300px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.insta-link {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: black;
  border-radius: 8px;
  height: 30px;
  width: 30px;
  background-image: url(Slike/instagram_icon.svg);
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
  filter: invert();
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  cursor: pointer;
  text-decoration: none;
  position: absolute;
}

/* Tooltip initially hidden */
.insta-link .tooltip {
  opacity: 0;
  transform: translateX(10px);
  transition: all 1s ease;
  font-family: inherit;
  white-space: nowrap;
  background: white;
  color: black;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 8px;
  position: absolute;
  right: 100%; /* Position left of icon */
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  pointer-events: none;
}

/* Show tooltip on hover */
.insta-link:hover .tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}


.video video {
  width: 100%;
  height: auto;
  display: block;
}



#service-benefiti {
  position: relative;
  overflow: hidden; /* Contain the animated background */
  background: white; /* Base color, will be covered by gradient */
  border: 1px solid var(--zelena);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 126, 128, 0.05);
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Animated background layer (starts from right, width 0%) */
#service-benefiti::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0; /* Anchor to the right side */
  width: 0%;
  height: 100%;
  background: linear-gradient(to left, var(--bež), white);
  transition: width 1s ease;
  z-index: -1;
}

/* Trigger animation when element is visible */
#service-benefiti.animate-bg::before {
  width: 100%;
}



/* Benefit list items */
#service-benefiti p {
  margin: 10px 0;
  position: relative;
  padding-left: 18px;
}

#service-benefiti p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--zelena);
  border-radius: 50%;
}


/* Initial state */
.fade-in-stagger {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease var(--delay), transform 0.6s ease var(--delay);
}

/* When in view */
.fade-in-stagger.in-view {
  opacity: 1;
  transform: scale(1);
}


#aparati{
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* First aparat: Magnet */
#aparati .aparat:nth-child(1) {
  background-image: url('Slike/magnet.png');
  background-size: cover;
}

/* Second aparat: Elektrostimulacija */
#aparati .aparat:nth-child(2) {
  background-image: url('Slike/elektro.png');
  background-size: cover;
}

/* Third aparat: Normatec */
#aparati .aparat:nth-child(3) {
  background-image: url('Slike/nordic.png');
  background-size: cover;
}

/* Fourth aparat: Kinetek */
#aparati .aparat:nth-child(4) {
  background-image: url('Slike/kinetek.png');
  background-size: cover;
}

.aparat{
   width: calc(25% - 15px);
  padding: 16px 0 0 16px;
  border-radius: 16px;
  height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px #007E80 solid;
}



.aparat h3{
  font-size: 20px;
  font-weight: 500;
  color: #1A1A19;
}

.aparat p{
  align-self: end;
  padding: 8px 8px 8px 28px;
  border-radius: 70px 0 0 0;
  background-color: #1A1A19;
  color: white;
}


#skupinskeTri{
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;


  color: white;
}

.skupskaEna{
  width: calc(33.33% - 13.4px);
  padding: 16px;
  padding-top: 8px;
  padding-left: 8px;
  border-radius: 16px;
  height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: black;
  overflow: hidden;
  background: url(Slike/vadbe3.jpg);
  background-size: cover;
  position: relative;
}

#sk2{
  background: url(Slike/vadbe2.jpg);
  background-size: cover;
}
#sk3{
  background: url(Slike/vadbe1.jpg);
  background-size: cover;
}

.skupskaEna::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #007E80 0%, transparent 15%);
}

.skupskaEna h3{
  font-size: 16px;
  font-weight: 500;
  border-radius: 10px;
  color: #1a1a19;
  /* background: rgba(255, 255, 255, 0.1); 
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px); 
  border: 1px solid rgba(255, 255, 255, 0.3); */ 
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 14px;
  width: fit-content;
  background: linear-gradient(to top, #E9E6DA, white 50%);
  border: 1px solid #007E80;
  line-height: 20px;
}


.skupskaEna .bolder{
  font-weight: 700;
  color: #007E80;
}

.skupskaEna p{
   align-self: center;
   z-index: 2;
   text-align: center;
  
}




/* FLIP CARDS */
/* base */
.flip {
  position: relative;
}
.flip > .front,
.flip > .back {
  display: block;
  transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
  transition-duration: .5s;
  transition-property: transform, opacity;
}
.flip > .front {
  transform: rotateY(0deg);
}
.flip > .back {
  position: absolute;
  opacity: 0;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  transform: rotateY(-180deg);
}
.flip:hover > .front {
  transform: rotateY(180deg);
}
.flip:hover > .back {
  opacity: 1;
  transform: rotateY(0deg);
}
.flip.flip-vertical > .back {
  transform: rotateX(-180deg);
}
.flip.flip-vertical:hover > .front {
  transform: rotateX(180deg);
}
.flip.flip-vertical:hover > .back {
  transform: rotateX(0deg);
}

/* custom */
.flip {
  position: relative;
  display: inline-block;
  width: calc(33.33% - 13.4px);

}
.flip > .front,
.flip > .back {

  width: 100%;
 
}

.flip .back{
  background-color: #007E80;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  gap: 20px;
  padding: 20px;
}

.back h2{
color: white;

}

.back p{
  color: var(--siva);
  text-align: center;
  font-size: 15px;
}

.flip .front{
  display: flex;
  flex-direction: column;

  
}







.biggy{
  font-size: 40px;
  line-height: 1.5;
}


.bigg{
  font-style: italic;
}





.posamezni-section::before{
  content: '';
  background-image: url(Slike/krog.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;

}









.ostali-servici{
  width: 100%;
  max-width: 1200px;
  padding-top: 140px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}



#naslova-ostali{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
 
 
}

#naslova2{
  display: flex;
  flex-direction: column;
  align-items: start;

}

#storitveIkoniceNormalne{
  position: relative;
  display: flex;
  left: 0;
  flex-direction: row;

}






.ostali-servici h1{
  padding-bottom: 100px;
  padding-top: 20px;
}


#ostali-grid{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;

 
}

.ostala {
  height: 110px;
  width: 100%;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--zelena);
  position: relative;
  overflow: hidden;
  background-color: white;
  
}

/* Gradient overlay hidden by default */
.ostala::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, var(--bež), white 80%);
  transition: width 1s ease;
  z-index: 0;
}


/* When in view, expand the gradient */
.ostala.animate-bg::before {
  width: 100%;
}

/* Ensure content stays above the background */
.ostala > * {
  position: relative;
  z-index: 1;
}

/* On hover, animate the background gradient in */
.ostala:hover::before {
  width: 100%;
}


.ostala h3{
  font-size: 20px;
  font-weight: 500;
  font-family: Montserrat;
  gap: 8px;
  display: inline-flex;
  align-items: center;
}
.ostala h3::before{
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #007E80;
  border-radius: 50%;
  
}

.ServicePuscica{

  display: flex;
  align-items: center;
  justify-content: center;
  align-self: end;
}

.ServicePuscica img{
  width: 46px;
  height: 46px;
  padding: 4px;
  border-radius: 50%;
  border: 1px solid #1A1A19;
  background-color: white;
  
}



#storitveCTA{
  background-image: url(Slike/ekipa.png);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 16px;
  box-sizing: border-box;
  position: relative;
}


#storitveCTA:hover #CTAspodnji{
  align-self: center;
}


#storitveCTA::before{
  display: none;
}

#storitveCTA::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 16px;
  background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
}


#CTAzgornji{
  width: 100%;
  display: flex;
  justify-content: space-between;
  
}

#CTAzgornji img{
  height: 36px;
  width: 36px;
}

#storitveCTA p{
  color: white;
  font-size: 24px;
  z-index: 2;
}





#CTAzgornji .TriP{
  padding: 0;
}

#CTAspodnji{
  display: flex;
  flex-direction: row-reverse;
  justify-content: end;
  
}

.desnaStoritve{
  height: 100vh;
}

.headerBottom.lingoStoritve{
  align-self: end;
}

.levaStoritve{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;

  height: 87%;
  padding: 20px;
  box-sizing: border-box;

}

.levaStoritve .nadnaslov{
  margin-top: 30vh;
}

.levaStoritve .naslov{
  padding-bottom: 36vh;
}

.marqueeStoritve{
  margin-top: -3px;
}



/* nad FAQ niko chat */



.chat {
  position: absolute;
  top: clamp(140px, 20.14vh, 20.14vh);
  right: clamp(400px, 26.32vw, 26.32vw);
  font-weight: 400;
  margin-top: 14px;
  padding: 6px 12px;
  font-size: 14px;
  color: #1A1A19;
  display: flex;
  align-items: center;
  border: 1px solid var(--zelena);
  border-radius: 32px;
  width: fit-content;
  margin-left: -8px;
  background: linear-gradient(to top, white, var(--siva));
  opacity: 1;
  transform: rotate(0deg);
  transition: transform 0.2s ease-out;
}

.chat::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-right: 12px;
  background-color: var(--zelena);
  display: inline-block;
  border-radius: 50%;
  text-align: center;
}

.chat::after {
  content: '';
  position: absolute;
  background-image: url(Slike/nikoChat2.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 50px;
  height: 50px;
  top: -36px;
  right: -30px;
  z-index: 1;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

#etikFizio::after{
  background-image: url(Slike/jagodaGlav.png);
  background-repeat: no-repeat;
  background-size: contain;

}
#etikMas::after{
  background-image: url(Slike/anjaGlav.png);
  background-repeat: no-repeat;
  background-size: contain;

}
#etikDiet::after{
  background-image: url(Slike/leonGlav.png);
  background-repeat: no-repeat;
  background-size: contain;
  
}
#etikPsiho::after{
  background-image: url(Slike/BorjanaGlav.png);
  background-repeat: no-repeat;
  background-size: contain;

}

.chat.chat-reveal::after {
  opacity: 1;
  transform: scale(1);
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}




/* STYLING KONTAKTA */


.kontakt-page #leva{
  width: 50vw;
}

@media (orientation: portrait){
  .kontakt-page #leva{
  width: 100%
}
}

 #desnaKontakt{
  width: 50vw;
  height: 100vh;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
    position: relative; /* only if needed */
  z-index: 2; /* or remove */
  transform: none; /* critical */
  background-color: none;
  background: none;
  
  
  
  
} 



#prvaškatla{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(0px);
  
   position: relative; /* or unset */
  z-index: 1;


}

.pjek{
  display: none;
}

#desna1{
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  z-index: 20;
  margin-top: -24px;
  

  
}



#spinning2{
  filter: invert();
}

#desna1 img{
margin-top: -6px;
  height: 50px;
  width: auto;
  object-fit: contain;
  margin: 0 0 12px 0; 
  z-index: 2;
}


#desna1 h3{
  font-family: Montserrat;
 

 

  font-weight: 700;
  font-size: 24px;
  padding-bottom: 0px;
  padding-top: 0px;
  color: #1A1A19;
  /* background: linear-gradient(to bottom, #FAFAF7, #FFFFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; */

  /* Slant effect */
  z-index: 2;
  margin: 0;
}


.slanted{

  transform: skew(-10deg);
  display: inline-block; /* Required for transform on inline text */
}

 .konta{
  padding: 0 8px;
}

#spacerKontakt{
  width: 100%;
  
}

#desna2{
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: end;
  width: 100%;
  color: white;
 
 
  
  
  
 
}
#desna2 a{
  color: white;
  font-family: Montserrat;
  font-weight: 400;
  font-size: 14px;
}

#desna2 div{
  padding-top: 20px;
  padding-bottom: 10px;
  box-shadow: 0 0.5px 0 white;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-family: Montserrat;
  font-weight: 400;
  font-size: 14px;
  box-sizing: border-box;
}

#kontakt1{
  width: 100%;
}
#kontakt2{
  width: 70%;
}
#kontakt3{
  width: 40%;
}

#sportnikiKontakt{
  display: none;
}

#logosKontakt2{
  display: none;
}


.pisni:hover{
  background-color: #E9E6DA;
  color: #1A1A19;
}

#desna2 a.pisni:hover { color:#007E80; }




/* kontakt najtezju spodnji člen */

#podjetjaSportniki{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 30px;
  z-index: 2;
  position: relative; 
}

/* adjusted sportniki container */

#sportnikiCTA {
  position: relative; 
  height: 227px; /* 270px * 0.84 */
  aspect-ratio: 1/1.09;
  background-image: url(Slike/Športniki.svg);
  background-repeat: no-repeat;
  background-size: cover;

  padding: 17px; /* 20px * 0.84 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

#sportnikiCTA img {
  height: 50px; /* 60px * 0.84 */
  width: 50px;
  margin-left: -13px; /* -16px * 0.84 */
}

#sportnikiCTA img:nth-child(1) {
  margin: 0;
  z-index: 7;
}
#sportnikiCTA img:nth-child(2) {
  z-index: 4;
  transition-delay: 100ms;
}
#sportnikiCTA img:nth-child(3) {
  z-index: 3;
  transition-delay: 200ms;
}
#sportnikiCTA img:nth-child(4) {
  z-index: 2;
  transition-delay: 300ms;
}

#sportnikiCTA .zgornjiSportniki,
#sportnikiCTA .spodnjiSportniki {
  display: flex;
  flex-direction: row;
  margin-left: -7px; /* -8px * 0.84 */
}

#sportnikiCTA #sto {
  font-size: 40px; /* 48px * 0.84 */
  font-weight: 800;
}

#sportnikiCTA #sto::after {
  content: '+';
  font-weight: 300;
}

#sportnikiCTA p{
  font-size: 14px;
}

#sportnikiCTA::before {
  content: '';
  position: absolute;
  height: 42px; /* 50px * 0.84 */
  aspect-ratio: 1/1;
  background-image: url(Slike/Puscica\ 3.svg);
  background-repeat: no-repeat;
  background-size: cover;
  top: 8px; /* 10px * 0.84 */
  right: 8px;
  transform-origin: center;
  transition: transform 0.2s ease-in-out;
}

#sportnikiCTA:hover::before {
  transform: rotate(50deg);
}

#sportnikiCTA:hover {
  box-shadow: none;
}




#podjetja{
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: start;
  width: 470px;
  height: 160px;
 
  overflow: hidden;
  
  align-self: end;
  border-radius: 16px;
  background-image: url(Slike/podjetnikiBeli.svg);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 2px;
  z-index: 2;
}




#podjetja h3{
  padding-right: 20px;
  padding-top: 16px;
  padding-bottom: 28px;
  align-self: end;
  font-size: 14px;
}

#logosKontakt{
  border: none;
}

#logosKontakt .logo-box{
  border: none;

}

#logosKontakt img{
    height: 30px;
   margin: 20px; 
  
  }

  #logosKontakt:before,
  #logosKontakt:after {
    width: 70px;
  }



@media (max-width: 1400px){

#podjetja{
  width: 352px;
  height: 120px;
  position: relative;

}

 #podjetja h3{ flex-shrink: 0; font-size: 12px; padding-bottom: 12px; opacity: 0; }
 

 #podjetja::after{
  content: 'Zaupajo nam tudi:';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 12px;
}
 

}

@media (max-width: 120px){
  #podjetja{
    display: none;
  }
}



/* css za contact form na levi strani kontakta */

/* contact.css */
/* #levaHeaderKontakt {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(to top, #FAFAF7, white);
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding-top: 20%;

 

} */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}




#levaHeaderKontakt {
       /* Horizontal centering */
  height: calc(100vh - 90px);
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 12%;
  padding-bottom: 30px;
 
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(to top, #FAFAF7, white);


}

#kontakt-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  clip-path: inset(0 100% 0 0); /* start fully hidden from right */
  animation: reveal-left-to-right 2s ease forwards;
  animation-delay: 2s;
}

.contact-form {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  border: none;
  border-bottom: 1px solid #1A1A19;
  padding: 4px;
  font-size: 16px;
  background: transparent;
  outline: none;
  resize: none;
  color: #1A1A19;
  width: 100%;
 
}


/* Chrome / Edge / Safari */
#kontakt-wrapper input:-webkit-autofill,
#kontakt-wrapper input:-webkit-autofill:hover,
#kontakt-wrapper input:-webkit-autofill:focus,
#kontakt-wrapper input:-webkit-autofill:active {
  -webkit-text-fill-color: #111;          /* text color (adjust if needed) */
  caret-color: #111;
  /* paint over the blue autofill with your color */
  -webkit-box-shadow: 0 0 0 1000px #DEEEEE inset !important;
          box-shadow: 0 0 0 1000px #DEEEEE inset !important;
  /* keep it from flashing back to blue */
  transition: background-color 9999s ease-out, color 9999s ease-out;
}

/* Firefox */
#kontakt-wrapper input:-moz-autofill {
  color: #111;                              /* text color */
  box-shadow: 0 0 0 1000px #DEEEEE inset;   /* paint background */
  background-color: #DEEEEE !important;     /* fallback */
}



/* success message style */
#form-status.success { color:#007E80; font-size:15px; }


.contact-form textarea {
  height: 150px;
  padding-right: 50px;
  box-sizing: border-box;
}

input::placeholder,
textarea::placeholder {
  color: #1A1A19;
  font-size: 16px;
  padding-left: 8px;
  font-weight: 500;
}

.textarea-wrapper {
  position: relative;
  width: 100%; /* ensures full width */
}

.file-label {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 14px;
  right: 0;
  height: 32px;
  width: 32px;
  background-color: white;
  border: 1px solid #1A1A19;
  border-radius: 50%;
 
  font-size: 12px;
  font-family: Montserrat, sans-serif;
  cursor: pointer;
  user-select: none;
  z-index: 1;
}





.file-label img{
    height: 16px;
    width: 16px;
}

.file-input {
  display: none;
}

#submit {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0px;
  text-transform: uppercase;
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 600;
 margin-top: 40px; 
}

.kontakt-page #submit{
    color: black;
}

#submit::before {
  content: '';
  background-image: url(Slike/pridruziPuscica.svg);
  height: 12px;
  width: 70px;
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 10px;
  display: inline-block;
}

.file-status {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #007E80;
 
  
  color: white;
  font-size: 12px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  z-index: 2;
}


.file-status img{
   width: 14px;
  height: 14px;
}

.hp { display:none !important; }
.status { margin-top:.5rem; font-size:.95rem; }
.file-label { cursor:pointer; display:inline-flex; align-items:center; gap:.25rem; }
.file-input { display:none; } /* keep your custom label look */


/* fileeeeeee */

.file-label{position:relative;display:inline-flex;align-items:center;gap:.5rem;cursor:pointer}
.file-input{position:absolute;inset:0;opacity:0;cursor:pointer}
.file-badge{
  position:absolute;right:-6px;bottom:-6px;min-width:18px;height:18px;
  border-radius:50%;display:grid;place-items:center;
  font:600 11px/1 system-ui,sans-serif;background: #007E80;color:#fff; /* green */
  padding:2px 4px
}
.file-list{margin:.75rem 0 0;display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0; }
.file-chip{
  display:inline-flex;align-items:center;gap:.4rem;border:1px solid #d1d5db;
  padding:.3rem .5rem;border-radius:999px;font-size:1px;white-space:nowrap; 
}

.file-chip .size{opacity:.7;font-size:12px; }
.file-chip button{
  border:0;background:transparent;cursor:pointer; font-size:1rem;line-height:1; color: var(--siva);
  padding:.1rem .25rem;
}

#kontakt-wrapper .file-chip .name { font-size: 14px; }

/* If you ever add text inside the round file label, make it 14px too */

.file-label {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 14px;
  right: 10px;
  bottom: 30px;
  height: 32px;
  width: 32px;
  background-color: white;
  border: 1px solid #1A1A19;
  border-radius: 50%;
 
  font-size: 12px;
  font-family: Montserrat, sans-serif;
  cursor: pointer;
  user-select: none;
  z-index: 1;
}

#kontakt-wrapper .file-list{
  width: 100%;
  display: flex;
  flex-wrap: wrap;     /* wrap to next line when out of space */
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: .75rem 0 0;
}
#kontakt-wrapper .file-chip{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid #d1d5db;
  padding: .3rem .5rem;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;     /* your requested size for the label */
  white-space: nowrap;
}
#kontakt-wrapper .file-chip .name{ font-weight: 600; }  /* #1, #2, ... */

#kontakt-wrapper .file-badge[hidden] { display: none !important; }

/* največ ~2 vrsti; ko jih je več, naj se znotraj seznama pojavi scroll */
#kontakt-wrapper .file-list{
  width:100%;
  display:flex;
  flex-wrap: wrap;        /* lahko prelomi */
  gap:.5rem;
  margin:.5rem 0 0;
  max-height: 88px;       /* prilagodi (88px ≈ 2 vrsti čipov) */
  overflow-y: auto;       /* navpični scroll znotraj seznama */
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}



.language-switch {
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: flex-start;
  margin-top: auto; /* Push to bottom of .page-container */
  font-size: 16px;
  padding-top: 16px;
  
  
}
.kontakt-page .language-switch {
  position: absolute;
  bottom: 24px;
  left: 30px;
  
  
} 


.status{
  color: #007E80;
  
 
}

.language-switch a {
  text-decoration: none;
  color: #1A1A19;
  margin-right: 8px;
}



/* CARD TESTIMINIAL SPORTSIQ */

#testimonialCardsSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  margin-bottom: 200px;
  padding: 20px;
}

#testimonialCardsSection h1{
  margin-bottom: 90px;
  margin-top: 40px
}

#cards-wrapper{
  display: flex;
  justify-content: center;
}

.card-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  width: 100%;
  font-family: Montserrat, sans-serif;
}

.card {
  position: relative;
  width: 300px;
  height: 400px;
  overflow: visible;
}

/* Background image stays in place, rotates slightly */
.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  z-index: 1;
  background-color: red;
  transform: rotate(0deg);
  transition: transform 1s ease;
}

.card:hover .bg-image {
  transform: rotate(-6deg);
}

/* Card content that moves and changes color */
.card-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bež);
  border-radius: 20px;
  padding: 20px;
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); */
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transform: rotate(0deg) translateY(0%) translateX(0%);
  color: white;
  transition: transform 1s ease, background-color 1s ease, color 1s ease;
}

.card:hover .card-inner {
  transform: rotate(6deg) translateY(33%) translateX(12%);
  background-color: #1A1A19;
  color: white;
}

.card:hover .quote{
  color: white;
}

.card:hover .quote::before{
  filter: brightness(0) saturate(100%) invert(92%) sepia(11%) saturate(345%) hue-rotate(2deg) brightness(110%) contrast(82%);

}


/* Typography */
.name,
.title,
.quote {
  transition: color 0.5s ease;
}

.name {
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 5px;
}

.title {
  color: #7F7F7F;
  font-size: 14px;
  margin-bottom: 15px;
}

.quote {
  color: #1A1A19;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  position: relative;
}

/* Quote icon using inline SVG via background-image */
.quote::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url(Slike/notaZelena1.svg);
  position: absolute;
  top: -34px;
  
  transition: filter 1s ease;
  
}

/* .card:hover .quote::before {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
} */

.card:hover{
  z-index: 10;
}
.card-container .card:nth-child(1) {
  z-index: 4;
}
.card-container .card:nth-child(2) {
  z-index: 3;
}
.card-container .card:nth-child(3) {
  z-index: 2;
}
.card-container .card:nth-child(4) {
  z-index: 1;
}

card:hover .title{
  color: white;
}


/* scroll gallery  css*/

.scroll-gallery {
  display: flex;
  margin-top: 140px;
  flex-direction: column;
  gap: 16px;
  padding: 0 0 140px 0;
}

.image-row {
  overflow: hidden;
  height: 200px;
  width: 100%;
  position: relative;
}

.image-track {
  display: flex;
  gap: 16px;
  will-change: transform;
}

.image-track img {
  height: 200px;
  width: 300px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  
}

.row-1 .image-track,
.row-3 .image-track {
  flex-direction: row-reverse; /* visually appears to scroll right */
}


/* css za service grid section*/

/* css za service grid section*/

#service-section{
  position: relative;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 200px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: fit-content;
  background: radial-gradient(at bottom right, #FAFAF7, transparent 60%), radial-gradient(at center, white, transparent 70%); 
 
}

#service-section::after{
  content: '';
  background: url(Slike/krogi.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 700px;
  position: absolute;
  bottom: 39%;
  z-index: 0;
  opacity: 0.6;
}

#service-naslov{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 70px;
}

#service-naslov .naslov{
  text-align: center;
  margin-top: 20px;
  position: relative;
}

.storitve-ikonice img{
  height: 40px;
  width: 40px;
  padding: 4px;
  border: solid 1px black;
  border-radius: 50%;
}

.storitve-ikonice{
  position: absolute;
  left: 30px;
  /* margin-top: 44px; */
}

#service-grid{
  display: grid;
  grid-template-columns: 283px 283px 283px 283px;
  grid-template-rows: 310px 310px 310px;
  gap: 16px;
  grid-template-areas:
  "box-1 box-2 box-2 box-3"
  "box-1 box-4 box-4 box-3"
  "box-5 box-6 box-7 box-8";
  justify-content: center;
  z-index: 1;
  
}

#service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* responsive columns */
  grid-auto-rows: auto; /* let height adjust naturally */
  gap: 16px;
  grid-template-areas:
    "box-1 box-2 box-2 box-3"
    "box-1 box-4 box-4 box-3"
    "box-5 box-6 box-7 box-8"
    ; /* fallback for small screen */
  justify-content: center;
  height: fit-content;
 
  width: 100%;
  max-width: 1400px;
  margin-top: 100px;
}



/* Mobile layout (stacked) */
@media (max-width: 600px) {
  #service-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "box-1"
      "box-2"
      "box-3"
      "box-4"
      "box-5"
      "box-6"
      "box-7"
      "box-8";
  }
}



.box{
  background-color: white;
  border-radius: 16px;
  position: relative;
  
}







.slika {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  overflow: hidden;
  border-radius: 32px;

  

 
  
  /* background: radial-gradient(#FAFAF7 40%, #E9E6DA); */

  background-color: #E9E6DA;

 
  

}

.slika:nth-of-type(2){
  border-radius: 32px;
}
.slika:nth-of-type(4){
  border-radius:  32px;
}


.slika svg {
  width: 100%;
  height: 100%;
  display: block;
}

.slika circle {
  transform-origin: 50% 50%;
  transform: scale(0);
  transition: transform 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.slika:hover image {
  transform: scale(1);
}

.slika:hover circle{
  transform: scale(1);
}





.slika image {
  transform: scale(1.1);
  transform-origin: 50% 50%;
  transition: transform 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slika text {
  font-size: 1.1rem;
  text-transform: uppercase;
  text-anchor: middle;
  letter-spacing: 1px;
  font-weight: 600;
  fill: #19191a;
  pointer-events: none;
  transition: transform 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: #1A1A19;

  
}

/* .slika:hover text{
  filter: brightness(0) invert();
}
 */



.slika::before{
  content: '//Paragon REHAB';
  position: absolute;
  top: 20px;
  left: 20px;
  color: #007E80;
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 500;
  
}

.slika:nth-of-type(4)::before{
   content: '//Paragon GROUP';
}
.slika:nth-of-type(5)::before{
   content: '//Paragon RELAX';
}
.slika:nth-of-type(6)::before{
   content: '//Paragon DIET';
}
.slika:nth-of-type(7)::before{
   content: '//Paragon FOCUS';
}
.slika:nth-of-type(8)::before{
   content: '//Paragon BRACE';
}

/* .slika:hover::before{
  color: white;
}
 */
.slika::after{
  content: "Rehabilitacija poškodb in bolezenskih stanj";
  position: absolute;
   top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  font-family: Montserrat;
  font-size: 20px;
  color: #1a1a19;
  text-align: center;

   display: inline-block;
  font-weight: 500;
  padding: 4px;
  border-radius: 32px;
  
  text-align: center;
  width: fit-content;
  max-width: 100%;
  /* background-color: rgba(233, 230, 218, 0.8); */
;
text-transform: uppercase;

}

.slika:nth-of-type(4)::after{
  content: 'Skupinske vadbe';
}
.slika:nth-of-type(5)::after{
  content: 'Masaže';
}
.slika:nth-of-type(6)::after{
  content: 'Dietetika';
}
.slika:nth-of-type(7)::after{
  content: 'Psihoterapija';
}
.slika:nth-of-type(8)::after{
  content: 'Izposoja aparatov';
}

 .slika:hover::after{
  background-color: white; 
  /* border: 1.0px #007E80 solid; */

 
} 
 










/* .slika:hover::before{
background-image: linear-gradient(to top, #000000 10%,  transparent 80%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
} */

/* Headline hover styling */

/* .slika:hover h3 {
  background-color: white;
  color: #1A1A19;
  font-size: 22px;
  transform: scale(1);
  transform-origin: left bottom;
} */






#storitve-about{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: white;
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 16px;
  gap: 16px;
  overflow: hidden;
}


.videoo {
  width: 100%;
 

  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.videoo {
  position: relative;
  overflow: hidden;
}

.videoo::before {
  content: 'O nas';
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 175px;
  height: 49px;
  z-index: 2;
  background-image: url('Slike/onas2.svg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 175px 49px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  padding-left: 28px;
  color: #1a1a1a;
  background-color: transparent;
  transition:
    width 1s ease-in-out,
    background-color 1s ease-in-out,
    padding-left 1s ease-in-out;
}



.videoo video{
  object-fit: cover; /* makes the video fill the area nicely */
  height: 100%;
  width: 100%;

}

#testimonialVideo {
  cursor: pointer;
  width: 100%;
  display: block;
  z-index: 2;
  position: relative;
}
#testimonialVideo::before {
  cursor: pointer;
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, black 0%, transparent 100%);
}





/* Optional: if you have an overlay/button */
.video-overlay,
.play-button {
  pointer-events: none; /* allow clicks to pass through */
  z-index: 1;
}

.mute-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  z-index: 5;
  pointer-events: none; /* keeps video clickable */
  display: flex;
  align-items: center;
  justify-content: center;
}



.mute-icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  opacity: 0.5;
}






.ostalaaa{
  
  height: 83px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 10px;
 
}

.ostalaaa img{
  height: 75px;
  width: 75px;
  margin-left: -10px;
  padding: 2px;
  background-color: white;
  border-radius: 50%;
}





#storitve-info{
  padding: 16px;
  background: #1A1A19;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
}

/* #storitve-info::after{
  content: '';
  height: 60px;
  width: 60px;
  background-image: url(Slike/Pglossycrn.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: 10px;
  top: 10px;
  
}  */

#storitve-info h2{
  font-size: 40px;
  font-weight: 500;
  font-style: italic;
  color: white;
}


#storitve-info h3{
  font-size: 24px;
  font-weight: 400;
  color: var(--bež);
  padding-bottom: 40px;
  padding-top: 0px;
  text-align: left;

}




#storitve-info p{
  color: white;
  font-size: 14px;
  font-weight: 400;
  margin: 24px 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;


}
#storitve-info p::before{
 /*  content: '';
  height: 4px;
  width: 4px;
  background-color: var(--bež);
  border-radius: 50%;
  margin-right: 16px;
  margin-left: 10px; */

  content: '';
  background-color: var(--bež);
  border-radius: 50%;
  height: 6px;
  width: 6px;
  flex-shrink: 0;
  margin-left: 10px;
  margin-top: 6px; /* optional: vertically align dot with first line */
 
}





#storitve-about #storitveCTA{
  background-color: #1A1A19;
  background-image: none;
  
  
}









/* SPORTNIKI counter */

#dvesto{
  margin-top: 300px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;


}
#dvestoIndex{
  margin-top: 200px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  
  width: 100%;

}

.counter{
  font-size: 360px;
  font-weight: 800;
  color: var(--bež);
   backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px); 
}

#dvesto h3{
  font-size: 40px;
  text-align: center;
  padding-bottom: 60px;
  padding-top: 100px;
}
#dvestoIndex h3{
  font-size: 40px;
  text-align: center;
  padding-bottom: 60px;
  margin-top: 60px;
} 

/* bubbles Športniki */

.ctagumb{
  color: white;
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 400;
  background-color: #1A1A19;
  padding: 1rem 2rem;
  border-radius: 32px;
  margin-top: 20px;
  z-index: 2;
  margin-bottom: 40px;
}

.button-wrapper {
  position: relative;
  display: inline-block;
  z-index: 2;
  margin-top: 20px
}



#button-wrapper-wrapper {
  /* background-image: url(Slike/krogi.png);
  background-size: contain;
  background-repeat: no-repeat; */
  background-position: center;
  height: 400px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center; /* ✅ center vertically */
  cursor: pointer;
  
}

.button-wrapper {
  display: inline-block;
  position: relative;
  line-height: 0;
  margin-bottom: -6.5%;
}

/* Button styling */
.ctagumb2 {
  position: relative;
  color: white;
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 500;
  background-color: var(--zelena);
  padding: 1rem 2rem;
  border-radius: 32px;
  border: 1px solid white;
  z-index: 2;
  cursor: pointer;
}

/* Gradient border */
.button-wrapper::before {
  content: "";
  position: absolute;
  top: -9px;
  left: -9px;
  right: -9px;
  bottom: -9px;
  border-radius: 40px;
 background-image: conic-gradient(from var(--angle), var(--zelena), var(--zelena), white, var(--zelena));
  z-index: 1;

  padding: 8px;
/*   -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: or;
  mask-composite: exclude; */

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  pointer-events: none;
   
}

#service-section #triangl{
  margin-top: 100px;
  height: 400px;
  width: 700px;
  z-index: 2;
  background: radial-gradient(#fafaf7, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: start;
}




@property --angle{
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.button-wrapper:hover::before{
  animation: 1s spin2 linear infinite;
}

/* .button-wrapper::before{
  filter: blur(1.5rem);
  opacity: 0.5;
} */
@keyframes spin2{
  from{
    --angle: 0deg;
  }
  to{
    --angle: 360deg;
  }
}



@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}


.triangle-conic-shape {
  margin: 0 auto;
  
  color: white;
  width: 350px;
  height: 254px;
  background: conic-gradient(from var(--angle),  #E9E6DA, #E9E6DA, white, #E9E6DA);
  
  display: flex;
  justify-content: center;
  align-items: center; 


  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 350 254' xmlns='http://www.w3.org/2000/svg'><path d='M161.284 7.96323C168.042 -1.37948 181.958 -1.3795 188.716 7.96321L346.581 226.223C354.677 237.416 346.679 253.071 332.865 253.071H17.135C3.32051 253.071 -4.67704 237.416 3.41906 226.223L161.284 7.96323Z' fill='white'/></svg>");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;

  mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 350 254' xmlns='http://www.w3.org/2000/svg'><path d='M161.284 7.96323C168.042 -1.37948 181.958 -1.3795 188.716 7.96321L346.581 226.223C354.677 237.416 346.679 253.071 332.865 253.071H17.135C3.32051 253.071 -4.67704 237.416 3.41906 226.223L161.284 7.96323Z' fill='white'/></svg>");
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
}

.triangle-conic-shape:hover {
  animation: spin2 1s linear infinite;
}

@keyframes spin2 {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}

.triangle-gumb {
  width: 291px;
  height: 211px;
  background-color: #1A1A19; /* Or any color/image you want masked */

  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 291 211' xmlns='http://www.w3.org/2000/svg'><path d='M134.118 6.7365C139.726 -1.01648 151.274 -1.01649 156.882 6.73649L287.885 187.858C294.604 197.146 287.967 210.137 276.503 210.137H14.4968C3.03299 210.137 -3.60372 197.146 3.11477 187.858L134.118 6.7365Z' fill='white'/></svg>");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;

  mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 291 211' xmlns='http://www.w3.org/2000/svg'><path d='M134.118 6.7365C139.726 -1.01648 151.274 -1.01649 156.882 6.73649L287.885 187.858C294.604 197.146 287.967 210.137 276.503 210.137H14.4968C3.03299 210.137 -3.60372 197.146 3.11477 187.858L134.118 6.7365Z' fill='white'/></svg>");
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  
  
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  box-sizing: border-box;
  margin: 0 0 -10px 0;
  transform-origin: center center;

  
}

.triangle-conic-shape {
  transform: scale(0.7);
  transform-origin: center center; /* Or center, depending on alignment needs */
}

.triangle-gumb p{
  color: white;
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 400;
  transform: scale(1.3);
  transform-origin: center center;
  
}

.triangle-gumb img{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 2px;
  background-color: white;
  margin-top: 40px;
}















#bubble-wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(white, transparent 70%);
  padding-bottom: clamp(0px, 14.39vh, 100px);
}

.group-section #bubble-wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(white, transparent 70%);
  padding-bottom: clamp(0px, 43.17vh, 300px);
  padding-top: clamp(0px, 28.78vh, 200px);
}






/* video testimonial */

#testiram{
  display: flex;
  
  justify-content: center;
  align-items: center;
  background-color: #1A1A19;
  padding-top: 200px;
  padding-bottom: 140px;
  z-index: 10;
  position: relative;

}

/* === Video Lightbox (modal) === */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;               /* shown via JS */
}

.video-modal.is-open { display: block; }

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.video-modal__dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 320px;                /* requested width */
  height: 534px;               /* requested height */
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Make the video fill the dialog exactly */
.video-modal__dialog video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Remove ::before and ::after when modal is open */
.no-pseudo::before,
.no-pseudo::after {
  display: none !important;
  content: none !important;
}



.testimonial-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
 
  
}

.testimonial-content {
  display: flex;
  width: 100%;
  height: 60%;

}

.left, .right {
  width: 50%;
  /* padding: 60px 40px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.left{
  justify-content: start;
  margin-left: 4%;
}

.left h2 {
  color: var(--bež);
  border: 1px var(--bež) solid;
  margin-bottom: 40px;
}

.left p {
  font-family: Montserrat;
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.4;
  font-style: italic;
}

.left h3 {
  font-family: Montserrat;
  font-size: 24px;
  
  font-weight: 500;
  color: var(--bež);
  margin-bottom: 4px;
  margin-top: 40px;

 
}
.left h4 {
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 400;
  color: var(--siva);
 
  display: flex;
  align-items: center;
  gap:6px;
 
 
}

.left h4::before{
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--siva);
}



.arrow-controls {
  display: flex;
  gap: 20px;
  display: none;
}

.arrow-button {
  background: none;
  color: #fff;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}

/* .right {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background-color: red;
} */

.right {
  position: relative;
  border-radius: 16px;
  margin-right: 8%;
  margin-left: 4%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: start;
  aspect-ratio: 1 / 1; /* 1.5 times taller */
}

.right video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}


.right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, black 0%, transparent 20%);
  z-index: 1;
  width: 100%;
  height: 100%;
}

.video-overlay {
  position: relative;
  z-index: 1;
  color: white;
  

}

.video-overlay h4 {
  margin: 0;
  font-size: 1rem;
}

.video-overlay span {
  font-size: 0.9rem;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button::before {
  content: '▶';
  color: white;
  font-size: 1.4rem;
  margin-left: 3px;
}


/* faq rounded corners */
#FAQ2{
  background-color: #1A1A19;
  
  padding: 200px 16px 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 0 0 32px 32px;
  z-index: 1;
  margin-bottom: -32px;
  overflow: hidden;
  /* box-shadow: 0 4px 29px rgba(0, 0, 0, 0.25); */
}

#FAQ2 .naslov{
  color: white;
  padding-top: 16px;
  padding-bottom: 70px; 
  text-align: center;
}

#FAQ2 .nadnaslov{
  color: var(--bež);
  border: 1px var(--bež) solid;
  text-align: center;
 
 
}

/* animated grow*/
.animated-grow {
  opacity: 0;
  transform: scale(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.animated-grow.in-view {
  animation: grow-in 1s ease forwards;
  animation-delay: 0.2s;
}

.animated-grow.out-view {
  animation: shrink-out 0.6s ease forwards;
}

@keyframes grow-in {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes shrink-out {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}

.slidein-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  font-size: 2rem;
  font-weight: 500;
}

.slidein-text span {
  display: inline-block;
  transform: translateX(-100px);
  opacity: 0;
  animation: slide-in 0.6s ease forwards;
}

@keyframes slide-in {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}


/* style za ABOUT US PAGE o nas */

.o-nas-section{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 200px;
  margin-top: 60px;
  background: linear-gradient(to top, white 0%, transparent 40%); 
}

.o-nas-section p{
  font-size: 14px;
  color: #7F7F7F;
  margin-top: 20px;
}


.aboutflex-dva{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;

}

.vrednote{
  width: 25%;
 
}


.vrednote h3 {
  display: flex;
  align-items: center;
  gap: 4px; /* space between icon and text */
  font-size: 18px;
}

.vrednote h3::before {
  content: '';
  display: inline-block;
  background-image: url('Slike/odlicnost.svg');
  background-repeat: no-repeat;
  background-size: contain;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  margin-right: 8px;
}

.vrednote:nth-child(2) h3::before {
  background-image: url('Slike/strast.svg');
}
.vrednote:nth-child(3) h3::before {
  background-image: url('Slike/zaupanje.svg');
}
.vrednote:nth-child(4) h3::before {
  background-image: url('Slike/vztrajnost.svg');
}




.aboutflex-ena{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin-top: 16px;
}

#vizija {
  width: 60%;
  background: linear-gradient(to left, var(--bež) 0%, transparent 80%);
  border-radius: 16px;
  padding: 44px 32px;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
} 

#vizvre {
  width: 30%;
}

#vizvre h1{
  font-size: 40px;
  padding-top: 24px;
}

#vizija h3{
  font-size: 32px;
}

.about-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 350px 350px;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
}

.agrid{
  background-color: var(--bež);
  border-radius: 16px;
}

#agrid1{
  grid-column: 1/3;
  padding: 20px 40px;
  background: linear-gradient(to bottom, var(--bež) 0%, transparent 100%);
}

#agrid1 p{
  font-family: Montserrat;
  color: var(--zelena);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #7F7F7F;
}

#agrid1 .vlki{
  
  font-size: 22px;
  font-family: Montserrat;
  font-weight: 800;

}



#agrid2{

  grid-row: 1 / span 2;     /* or 1 / 3 */
  grid-column: 3 / 4;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

#agrid2 .background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

#agrid3 {
  position: relative;
  overflow: visible; /* allow image to overflow above */
  z-index: 0;
  background: linear-gradient(to top, var(--bež) 0%, transparent 80%);
}

#agrid3 img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 150%;
  width: auto;
  z-index: 1;
}


#agrid4{
  padding: 20px;
  background: linear-gradient(to top, var(--bež) 0%, transparent 90%);
}

#agrid4 h3{
  font-size: 32px;
  padding-bottom: 4px;
}
#agrid4 h4{
  font-size: 14px;
  color: #007E80;
  padding-bottom: 12px;
  padding-top: 4px;
}
#agrid4 p {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

#agrid4 p::before {
  content: '';
  background-color: #007E80;
  border-radius: 50%;
  height: 6px;
  width: 6px;
  flex-shrink: 0;
  margin-top: 6px; /* optional: vertically align dot with first line */
}


/* team section */

.team-section {
  display: flex;
  justify-content: center;
  background-color: #1A1A19;
  color: white;
  font-family: Montserrat;
  padding-top: 200px;
  padding-bottom: 100px;
}

#team-wrapper{
  width: 100%;
  max-width: 1200px;
}



.team-header {
  max-width: 400px;
  margin-bottom: 60px;
}

.team-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.team-header p {
  font-size: 14px;
  font-weight: 400;
  margin-top: 20px;
  color: #D9DBE3;
  margin-bottom: 20px;
}


.info p{
  color: #D9DBE3;
  opacity: 1;

}

.role{
  color: white;
}



.team-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.team-member {
  overflow: hidden;
  flex: 1 1 250px;
  max-width: 100%;
  transform: translateY(var(--offset));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


.team-member img{
  width: 100%;
  height: auto;
}

.crniGradient {
  width: auto;
  height: auto;
  border-radius: 20px;
  position: relative;
  overflow: hidden; /* ⬅️ Ensures the pseudo stays within bounds */
  z-index: 0;        /* Or remove this entirely unless needed */
}

.crniGradient::before {
  content: '';
  position: absolute;
  inset: 0; /* shorthand for top: 0; right: 0; bottom: 0; left: 0 */
  background: linear-gradient(to top, black 0%, transparent 30%);
  z-index: 1; /* Less than children if you want the content above it */
  pointer-events: none; /* Optional: make sure it doesn’t block interaction */
}






.info {
  padding: 16px;
}

.team-member h3 {
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  box-shadow: 0 0.5px 0 grey;
}

.team-member .icont {
  height: 32px;
  width: 32px;
}

.team-member .role {
  margin-top: 20px;
  font-size: 16px;
  margin-bottom: 6px;
  color: white;
  font-weight: 400;
}

.team-member p {
  font-size: 16px;
  color: var(--siva);
  margin-bottom: 6px;
  font-weight: 400;
}

.team-member {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.icon-wrapper {
  position: relative;
  display: inline-block;
}

.icont-link {
  position: relative;
  display: inline-block;
}

.icont {
  height: 32px;
  width: 32px;
  z-index: 2;
  position: relative;
}

.insta-popup {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background-image: url('Slike/instagram_icon.svg');
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: black;
  filter: invert();
  transform: translateY(0) translateX(0);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.icont-link:hover .insta-popup {
  transform: translateY(-36px) translateX(-36px);
  opacity: 1;
}



/* css za krogce */

#wrapper-ikonice{
  height: 140px;
  position: relative;
}
#wrapper-ikonice .storitve-ikonice{
  bottom: 30px;
}

.group-section {
  position: relative;
  margin-bottom: 80px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

}

.group-section h1{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 40px;
  color: #1A1A19;
  z-index: 9;
  position: relative;
}

.bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;

}

.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0; 
  box-shadow: 0 clamp(4.0px, 0.58vh, 0.58vh) clamp(29.0px, 4.17vh, 4.17vh) rgba(233, 230, 218, 0.25);

  transform: scale(0.5);
  transition: opacity 0.5s ease, transform 0.5s ease;

  
}

.bubble.visible {
  opacity: 1;
  transform: scale(1);
  transition-delay: var(--delay);
}

/* Above the heading */
.bubble:nth-child(1) {
  width: 100px; height: 100px;
  top: 100px; left: 32%;
  transform: rotate(10deg);
}

.bubble:nth-child(2) {
  width: 90px; height: 90px;
  top: 140px; right: 20%;
}

/* Left and right of heading */
.bubble:nth-child(3) {
  width: 130px; height: 130px;
  top: 45%; left: 4%;
   transform: rotate(-10deg);
  transform: translateY(-50%) scale(0.5);
}

.bubble:nth-child(4) {
  width: 140px; height: 140px;
  top: 50%; right: 0%;
  
   transform: rotate(10deg);

}

/* Below the heading */
.bubble:nth-child(5) {
  width: 100px; height: 100px;
  bottom: 180px; left: 30%;
}

.bubble:nth-child(6) {
  width: 110px; height: 110px;
  bottom: 160px; right: 30%;
}

.bubble:nth-child(7) {
  width: 70px; height: 70px;
  bottom: 20px; left: 32%;

}
.bubble:nth-child(8) {
  width: 70px; height: 70px;
  bottom: 120px; right: 20%;
  
}
.bubble:nth-child(9) {
  width: 50px; height: 50px;
  bottom: 16%; left: 10%;
  
}

#bub3{
  top: 80px; left: 36%;
}






/* Above the heading */
.group-section .bubble:nth-child(1) {
  width: 70px; height: 70px;
  top: 100px; left: 32%;
  transform: rotate(10deg);
}

.group-section.bubble:nth-child(2) {
  width: 90px; height: 90px;
  top: 140px; right: 20%;
}

/* Left and right of heading */
.group-section .bubble:nth-child(3) {
  width: 100px; height: 100px;
  top: 45%; left: 4%;
   transform: rotate(10deg);
  
}

.group-section .bubble:nth-child(4) {
  width: 100px; height: 100px;
  top: 50%; right: 0%;
  
   transform: rotate(10deg);
   z-index: 3;
 


}

/* Below the heading */
.group-section .bubble:nth-child(5) {
  width: 100px; height: 100px;
  bottom: 220px; left: 30%;
  z-index: 3;
  transform: rotate(4deg);
  
}

.group-section .bubble:nth-child(6) {
  width: 110px; height: 110px;
  bottom: 170px; right: 34%;
  transform: rotate(2deg);
}




/* falling text animation */

.falling-text {
  overflow: hidden;
  line-height: 1.4;
  display: inline-block;
}

.falling-text .letter {
  display: inline-block;
  white-space: pre;
  position: relative;
}



/* SVG FOOTER animation */

#svgWrapper {
 
  width: 100%;
  margin-inline: auto;
  background-color: var(--bež);
 
}

.svg-letter {
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.svg-letter.visible {
  transform: translateY(0);
  opacity: 1;
}

#svgWrapper svg {
  width: 100%;
  height: auto;
  display: block;
}

.st0 {
  fill: #fff;

}



/* tu je STICKY SCROLL 1na1 Fizio */

.container2{
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

#cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(var(--cards), var(--cardHeight));
  gap: var(--cardMargin);
  padding-bottom: 0;
  width: 100%;
}

.cardK {
  position: sticky;
  top: var(--cardTopOffset);
  width: 100%;
  /* padding: 15px; */

}


.card-body {
  height: var(--cardHeight);
  box-sizing: border-box;
  padding: 15px;
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  color: white;
  position: relative;
}

#card1 .card-body {
  background-color: #007E80;
}
#card2 .card-body {
   background-color: #D9DBE3;
  
}
#card3 .card-body {
  background-color: #1a1a19;
}
#card4 .card-body {
 /*  background: linear-gradient(to top, #fafaf7, white) */
background-color: #E9E6DA;
}

.card-leva-stran{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 60%;
  
}

.card-desna-stran{
  background-image: url(Slike/step1.jpg);
  background-size: cover;
  width: 700px;
  height: 572px;
  border-radius: 16px;
  gap: 40px;
  align-self: center;
}

#card1 .card-desna-stran {
  background-image: url('Slike/re1.jpg');
  background-size: cover;
}

#card2 .card-desna-stran {
  background-image: url('Slike/re2.jpg');
  background-size: cover;
}

#card3 .card-desna-stran {
  background-image: url('Slike/re3.jpg');
  background-size: cover;
}

#card4 .card-desna-stran {
  background-image: url('Slike/re4.jpg');
  background-size: cover;
}

.card-body p{
  width: 100%;
  max-width: 500px;
  margin-left: 25px;

}


.card-body h2 {
  font-size: 40px;
  margin-left: 25px;
  font-family: Montserrat;
  font-weight: 500;
  margin-bottom: 30px;
  margin-top: 20px;
}

.cardK .nadnaslov{
  margin-left: 25px;
 
}

.step {
  position: absolute;
  top: 30px;
  left: 40px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 10px;
  color: white;
  background: rgba(255, 255, 255, 0.1); /* semi-transparent */
  backdrop-filter: blur(10px); /* glass blur */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.3); /* subtle border */
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 16px;
}

#prviNad{
 color: #D9DBE3;
 border: clamp(1.0px, 0.14vh, 0.14vh) #D9DBE3 solid;
 
}


/* 404 error page */
/* 404 error page */

.stage{
  position: relative;
  height: 100vh;     /* fallback */
  height: 100svh;    /* stable viewport height (mobile) */
  overflow: clip;
  container-type: size;
}

/* BACKGROUND LAYERS */
.layer{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;  /* was 'none' */
  background-size: cover;
}

.layer-1{
  z-index: 0;
  background-image: url("Slike/ozadje404.jpg");
  /* 1) comes up a bit */
  animation: backIn 600ms cubic-bezier(.22,.61,.36,1) both;
}

.layer-2{
  z-index: 2;
  background-image: url("Slike/404plavacPNG.png");
  /* 2) comes up while h1 goes down (same delay & duration as title) */
  animation: frontIn 800ms cubic-bezier(.22,.61,.36,1) 350ms both;
}

/* TEXT LAYER */
.napis404{
  position: absolute;
  left: 50%;
  transform: translateX(-50%); /* base centering — we animate extra Y via keyframes */
  z-index: 3;
}

h1.napis404{
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 40vh;
  font-weight: 700;
  z-index: 1;
  
  color: black;
  mix-blend-mode: overlay;

  top: 10vh;
  /* 2) slides down while layer-2 slides up */
  animation: titleDown 800ms cubic-bezier(.22,.61,.36,1) 350ms both;
}

p.napis404{
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: white;
  bottom: 23vh;
  text-align: center;
  z-index: 3;

  opacity: 0;
  transform: translateX(-50%) scale(.92);  /* keep X centering + start smaller */
  /* 3) reveal after h1/layer-2 finish */
  animation: popIn 420ms ease 1200ms forwards;
}

a.napis404{
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #19191a;
  background-color: white;
  padding: 14px 20px;
  border-radius: 32px;
  bottom: 14vh;
  z-index: 3;

  opacity: 0;
  transform: translateX(-50%) scale(.92);
  /* 3) reveal after h1/layer-2 finish (slightly later for a nice cadence) */
  animation: popIn 420ms ease 1320ms forwards;
}

a.napis404:hover{
  background-color: #E9E6DA;
  color: #19191a;
}

/* ===================== Keyframes ===================== */

/* 1) background comes up a bit */
@keyframes backIn{
  from{ transform: translateY(6vh); opacity: 1; }
  to  { transform: translateY(0);   opacity: 1; }
}

/* 2) foreground comes up while title comes down */
@keyframes frontIn{
  from{ transform: translateY(14vh); opacity: 1; }
  to  { transform: translateY(0);    opacity: 1; }
}

@keyframes titleDown{
  from{ transform: translateX(-50%) translateY(-12vh); color: #E9E6DA;   }
  to  { transform: translateX(-50%) translateY(0); color: black; }
}

/* 3) copy & button pop in */
@keyframes popIn{
  0%   { opacity: 0; transform: translateX(-50%) scale(.92); filter: blur(3px); }
  100% { opacity: 1; transform: translateX(-50%) scale(1);   filter: blur(0); }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce){
  .layer-1, .layer-2, h1.napis404, p.napis404, a.napis404{
    animation: none;
    opacity: 1;
    transform: translateX(-50%);
  }
}


@media(orientation: portrait){

  .layer{
  
  background: url(Slike/ozadje404fon.jpg);
  background-position: center;
  background-repeat: none;
  background-size: cover;
}

.layer-2{
  z-index: 2;
  position: absolute;
  inset: unset;
  bottom: 0;
  height: 67%;
  background: url(Slike/plavalec404fon.png);
    background-position: center;
  background-repeat: none;
  background-size: cover;
}

@keyframes titleDown{
  from{ transform: translateX(-50%) translateY(-12vh); color: black ; }
  to  { transform: translateX(-50%) translateY(0); color: #E9E6DA; }
}


h1.napis404{

font-size: 20vh;

color: #E9E6DA;
top: 29vh;

}

}
@media(min-width: 600px) and (orientation: portrait){


  .layer-2{
  z-index: 2;
  position: absolute;
  bottom: -20%;
  height: 100%;
  background: url(Slike/plavalec404fon.png);
    background-position: center;
  background-repeat: none;
  background-size: cover;
}


h1.napis404{
font-size: 26vh;
color: #E9E6DA;
top: 22vh;

}

}



/* COOKIES */

















/* MEDIA QUERRYs */

@media(max-width: 1400px){

  #podjetja h3{
  opacity: 0;
}
}



@media (max-width: 1063px){

  .slika::after{
 
  border: none
  

}

.desna{
  background-image: url(Slike/Frame\ 19.jpg);
  background-repeat: no-repeat;
  background-size: cover; 
  
}

.nadnaslov{
  font-size: 18px;
}

.storitve{
    width: 200%;
    min-width: 200%;
    
    position: absolute;
    top: 100%; /* position below the button */
    left: -100%;
    border-radius: 0 0 16px 16px;
   /*  box-shadow: 0 4px 29px rgba(0, 0, 0, 0.25); */
    z-index: 111;

  }



.storitve-ikonice{
  left: 30px;
  margin-top: -90px; 
}

 #service-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "box-1 box-3"
      "box-1 box-3"
      "box-2 box-4"
      "box-5 box-6"
      "box-7 box-8";
  }


 .ostalaaa img:nth-of-type(1) {
    order: 3; /* Move 1st to 3rd position */
    transform: scale(1.1);
  }

  .ostalaaa img:nth-of-type(2) {
    order: 2;
    transform: scale(1);
  }

  .ostalaaa img:nth-of-type(3) {
    order: 1; /* Move 3rd to 1st position */
    transform: scale(0.9);
  }

  .ostalaaa img:nth-of-type(4) {
    order: 4;
    transform: scale(1);
  }

  .ostalaaa img:nth-of-type(5) {
    transform: scale(0.9);
    order: 5;
  }






#desnaKontakt{

background-image: url(Slike/steza2.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: none;
} 



  .border-left,
  .border-right {
    display: none;
  }

/*   .loader, #loaderIndex{
    
  } */







  .container2{
  width: 100%;
  margin: 0 auto;
}

#cards {

  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 0;
  width: 100%;
}

.cardK {
  position: relative;
  width: 100%;
  top: 0;
  /* padding: 15px; */

}






.card-leva-stran{
  width: 100%;
  
}

.card-desna-stran{
  width: 100%;
  aspect-ratio: 700 / 572;
  height: auto;
  gap: 0;

}

.card-body p{
  max-width: 100%;
  margin-left: 0;
  margin-bottom: 32px;

}


.card-body h2 {
  font-size: 32px;
  margin-left: 0;
  margin-bottom: 30px;
  margin-top: 10px;
}

.cardK .nadnaslov{
  margin-left: 0;
  margin-top: 70px;
 
}

.step {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 14px;
}





 #sportnikiDol{
    display: none;
    
   
  }













}



/* RESPONSIVE HERO */


@media (max-width: 828px){
  
  .circle-wrapper{
    display: none;
  }

  #hero{
    flex-direction: column;
  }

 

  #ZadnjiItem{
    position: static;
  }

 .storitve{
  position: absolute;
  top: 100%; /* position below the button */
  right: 0;
  border-radius: 16px;
 
 }  

  button.levaHeader{
    margin-bottom: 90px;
  }

 .naslovna-slika-wrapper,
.storitve-slika-wrapper {
  width: 90%;
  max-width: 90%;
}

  #posamezni-grid{
  
    /* margin-top: 120px; */
    width: 100%;
    height: 26%;
  
  
    display: flex;
    
    gap: 20px;
    
  }

  #posamezni-grid .serviceGrid:first-of-type{
   display: none;
  }



  #leva, .desna{
    width: 100%;
}

#leva{
  z-index: 20;
}


.card-body {
  height: auto;
  display: flex;
  flex-direction: column;
 
}

.card-desna-stran{
  width: 400px;
}

}






/* responsive breakpoint */

@media (max-width: 780px) {

  #testimonial-wrapper{
    flex-direction: column-reverse;
    margin: 0;

  }

  #testimonial-text {
    
    font-size: clamp(40px, 6.35vw, 60px);
    z-index: 0;
    
  }


 
#word1, #word2 {
  font-size: clamp(40px, 2.63vw, 100vw);
  font-weight: 500;
  box-sizing: border-box;
  width: fit-content;
  text-align: center;
 

}





 


  #testimonial-text::before{
    
    left: -1vw;
    top: -1vw;
    z-index: -1;
    
    filter: invert(86%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(98%) contrast(95%);
    opacity: 0.5;
    
    
  }

  #testimonial-wrapper{
    flex-wrap: wrap;
  }

  #leviTest{
    align-items: start;
    margin-bottom: 40px;
    margin-top: 40px;
    width: 100%;
  }


 #testimonialSection{
  display: flex;
  flex-direction: column;
 
  padding: 13.16vw 20px 4.61vw 20px;
 }
 #testimonialSection2{
  display: flex;
  flex-direction: column;
 
  padding: 13.16vw 20px 4.61vw 20px;
 }

  #testiSportniki{
    display: none;
   
  }
  #sportnikiDol{
    display: flex;
    width: 100%;
    height: auto;
    
   
  }


  #leviTest .tekst{
    display: none;
  }

  #leviTest .nadnaslov{
    display: none;
  }
 


  #desniTest{
    padding: 0;
   
  }

  /* responive MARQUEE */

  .logo-box img {
    height: 32px;
    margin: 40px;
  }

  .logos:before,
  .logos:after {
    width: 16vw;
  }



  .service-opis {
   
    flex-direction: column;


    
  }


      .service-opis p {
  flex: 1;
  font-size: 28px;
  font-family: Montserrat;
  font-weight: 500;
  color: #1A1A19;

}

#levaHeaderKontakt{
  height: auto;
  padding-top: 200px;
  
}

#kontakt-wrapper{
  padding-bottom: 120px;
}



.aparat{
   width: calc(50% - 10px);
   height: 200px;

 
}




}


@media (max-width: 1063px) and (orientation: portrait){

   .sidebar{
    display: none;
  }

  .loader{
    display: none;
  }
  #loaderIndex{
    display: none;
  }


  .circle-wrapper{
    display: none;
  }

  #hero{
    flex-direction: column;
  }

 


  #ZadnjiItem{
    position: static;
  }

 .storitve{
  position: absolute;
  top: 100%; /* position below the button */
  right: 0;
  border-radius: 16px;
 
 }  

  button.levaHeader{
    margin-bottom: 90px;
  }

 .naslovna-slika-wrapper,
.storitve-slika-wrapper {
  width: 90%;
  max-width: 90%;
}



    #leva, .desna{
    width: 100%;
}


  .o-nas-section{
    padding: 20px;
  }


  #footerKontakt{
  display: flex;
}

#levaHeaderKontakt{
  height: auto;
  padding-top: 200px;
  
}

#kontakt-wrapper{
  padding-bottom: 120px;
}

#desna2 {
  display: none;
}


#desna1{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
 
  
}

#desna1 h3{
  font-family: Montserrat;
  position: static;

}

.pjek{
  display: block;
}



#logosKontakt2{
  display: flex;
}

.kontakt-page {
  height: auto;
}

.kontakt-page .desna{
  background-image: url(Slike/steza2.jpg);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: center;
  height: 500px;
  background-color: white;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

}




  #desnaKontakt{
  width: 100%;
  height: 70vh;
  background-position: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
    position: relative; /* only if needed */
  z-index: auto; /* or remove */
  border-radius: 0 0 16px 16px;
  
} 



.kontakt-page #hero{
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;

}


#footerKontakt{
  padding-top: 0px;
}

#footerKontakt #FooterRibbon{
  margin-top: 60px;
}



   .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px;
  }

  #agrid1 {
    grid-column: 1 / 3; /* full width */
    order: 1;
  }

  #agrid3 {
    grid-column: 1 / 2;
    order: 2;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to top, var(--bež) 0%, transparent 80%);
    margin-top: 0;
  }

  #agrid4 {
    grid-column: 2 / 3;
    order: 3;
    padding: 16px;
    background: linear-gradient(to top, var(--bež) 0%, transparent 90%);
  }

  #agrid2 {
    grid-column: 1 / 3; /* full width video */
    order: 4;
    height: 350px;
  }

  #agrid3 img {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
  }

 


  #agrid4 p {
   
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
  }

  #agrid2 {
    order: 4;
    height: 350px;
  }

  #agrid2 .background-video {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }


  .aboutflex-ena {
    flex-direction: column;
    gap: 24px;
  }

  #vizvre,
  #vizija {
    width: 100%;
  }

  #vizvre h1 {
    padding-top: 16px;
  }

  #vizija {
    padding: 24px 16px;
    border-radius: 12px;
    background: linear-gradient(to top, var(--bež) 0%, transparent 80%);
  }

  #vizija h3 {
    font-size: 32px;
  }

  .aboutflex-dva {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 60px;
  }

  .vrednote {
    width: 100%; /* full width inside each grid cell */
  }

  .vrednote h3 {
    font-size: 18px;
    padding: 0;
    margin: 0;
    gap: 0;
    align-items: flex-start;
  }


  .vrednote p{
    padding: 0;
    margin-top: 8px;

  }




  .vrednote h3::before {
    width: 40px;
    height: 40px;
  }

.team-section{
  margin-top: 140px;
}

#team-wrapper{
  padding: 0 20px;
}

.o-nas-section{
  padding-left: 20px;
  padding-right: 20px;
}

.desna{
  background-image: url(Slike/Frame\ 19.jpg);
  background-repeat: no-repeat;
  background-size: cover; 
  height: 500px;
  background-color: white;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

}


  #testimonial-wrapper{
    flex-direction: column-reverse;
    margin: 0;

  }

  #testimonial-text {
    
    font-size: clamp(40px, 6.35vw, 60px);
    z-index: 0;
    padding-bottom: 100px;
    
  }


 
.slika::after{
 
  border: none
  

}

 #posamezni-grid .serviceGrid:last-of-type {
   
    height: 200px;
    
  }


 


  #testimonial-text::before{
    
    left: -1vw;
    top: -1vw;
    z-index: -1;
    
    filter: invert(86%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(98%) contrast(95%);
    opacity: 0.5;
    
    
  }

  #testimonial-wrapper{
    flex-wrap: wrap;
  }

  #leviTest{
    align-items: start;
    margin-bottom: 40px;
    margin-top: 40px;
    width: 100%;
  }


 #testimonialSection{
  display: flex;
  flex-direction: column;
 
  padding: 13.16vw 20px 4.61vw 20px;
 }
 #testimonialSection2{
  display: flex;
  flex-direction: column;
 
  padding: 13.16vw 20px 4.61vw 20px;
 }

  #testiSportniki{
    display: none;
   
  }



  #leviTest .tekst{
    display: none;
  }

  #leviTest .nadnaslov{
    display: none;
  }
 


  #desniTest{
    padding: 0;
   
  }



  .sportniki{
  position: relative; 
  height: 270px;
  aspect-ratio: 1/1.09;
  background-image: url(Slike/Športniki.svg);
  background-repeat: no-repeat;
  background-size: cover; 
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
 
}

.sportniki img{
  height: 60px;
  width: 60px;
  margin-left: -16px;
}

#sto{
  font-size: 48px;
  font-weight: 800;
}



#pozdravljenih p{
  font-size: 16px;

}


.sportniki::before {
  content: '';
  position: absolute;
  height: 50px;
  aspect-ratio: 1/1;
  background-image: url("Slike/Puscica.svg");
  background-repeat: no-repeat;
  background-size: cover;
  top: 10px;
  right: 10px;
  transform-origin: center;
  transition: transform 0.6s ease-in-out;
  transform: rotate(var(--arrow-angle, 0deg));
}

.naslov{
  font-size: 40px;
}




  #sportnikiDol {
  position: relative;
  width: 100%;
  aspect-ratio: 349 / 150;
  height: auto;
  background-image: url(Slike/sportnikiFon.svg);
  padding-right: 4%;
  padding-left: 8%;

  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

#sportnikiDol img {
  height: 10vw;
  width: 10vw;
  margin-left: -1.4vw; /* responsive margin */
}


.sportniki  #pozdravljenih{
  width: 90%;
  font-size: 16px;
  
}


#sportnikiDol  #pozdravljenih{
  width: 90%;
  font-size: 3.2vw;
  
}


.stotka{
 
  width: fit-content;
  display: flex;
  flex-direction: column;
align-items: end;
 
}


.sportniki #sto{
  font-size: 48px;
}

#sportnikiDol #sto{
  font-size: 10.7vw;
  font-weight: 800;
 
}



.sportniki #sto::after{
  content: '+';
  font-weight: 300;
}

.stotka p{
  font-size: 14px;
  align-self: end;
  text-align: end;

}

.sportnikiDol::before{
  content: '';
  position: absolute;
  height: 30%;
  aspect-ratio: 1/1;
  width: auto;
  background-image: url(Slike/Pglossycrn.svg);
  background-repeat: no-repeat;
  background-size: cover;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
 

  transform-origin: center;
  transition: transform 0.6s ease-in-out;
}



.aparat{
   width: calc(50% - 10px);
   height: 200px;
 
}
.skupskaEna{
   
   height: 200px;
 
}






  .loader{
    display: none;
  }
  #loaderIndex{
    display: none;
  }



  .loaderFon{
    display: flex;
    flex-direction: column;
      position: fixed;
      align-items: start; /* even better for full-screen loaders */
  top: 0;
  left: -10vw;        /* shorthand for top:0; right:0; bottom:0; left:0 */
  width: 115vw;
  height: 100vh;
  overflow: hidden;
  border-radius: 24px 0 0 24px;
   
    background-color: #E9E6DA;
    z-index: 1000;
  

    animation: fonDesno ease-in-out 1s forwards; 
    animation-delay: 1.2s;
  }

  @keyframes fonDesno {
    0%{
      transform: translateX(0);
  
    }
   
    100%{
      transform: translateX(100%);
     
    }
  }

  #fonCrni{
    background-color: #1A1A19;
  }

  .fonimg-overlay{
    height: 70%;
    width: 100%;
    position: relative;
    overflow: hidden;
  }


  .loaderFon .P-fon{
    height: 100%;
    width: 100%;
    margin-left: -18px;
    margin-top: -10px;
    object-fit: contain;


    
  }

  .fonimg-overlay::before{
    content: '';
    position: absolute;
    left: -5%;

    width: 100%;
    
    height: 100%;
    background: linear-gradient(to top right, #E9E6DA 0%, #E9E6DA 20%, transparent  );
  }

  #fonCrni .fonimg-overlay::before{
    background: linear-gradient(to top right, #1A1A19 0%, #1A1A19 20%, transparent 61% );
  }



  .loaderFon .parola-fon{
    
    margin-left: -5%;
    margin-top: -15%;
    align-self: center;
    color: #1A1A19;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 10vw;
    line-height: 11vw;
    z-index: 2;

  }

  #fonCrni .parola-fon{
    color: white;
  }




  .logo-fon {
  position: absolute;
  bottom: 5%;
  right: 10%;
  width: 140px;
  height: fit-content;
  z-index: 100;


}



.desna{
  background: url(Slike/dajne3.jpg), rgba(0, 0, 0, 0.04);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: right;
  height: 800px;
  background-color: white;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

}

#SpoPage .desna{
  background-image: url(Slike/veseli.jpg);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: bottom;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
} 
#OnasPage .desna{
  background-image: url(Slike/smejijo3.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: bottom;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
} 
#FizioPage .desna{
  background-image: url(Slike/1x/kroser.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: bottom;
} 
#SkupPage .desna{
  background-image: url(Slike/1x/padel.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: bottom;
} 
#MasPage .desna{
  background-image: url(Slike/1x/fusbal.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: bottom;
} 
#PsihoPage .desna{
  background-image: url(Slike/1x/beciklist.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: bottom;
} 
#DietPage .desna{
  background-image: url(Slike/1x/plavalec.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: bottom;
} 
#AparatPage .desna{
  background-image: url(Slike/1x/skier.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: bottom;
} 


#word1, #word2 {
  font-size: 52px;
  font-weight: 500;
  box-sizing: border-box;
  width: fit-content;
  text-align: center;
 

}


}


@media (max-width: 595px) {
    
 .kontakt-page .language-switch{
 
 position: static; 
  
}


  .skupskaEna{
 
  padding: 12px;
  padding-top: 6px;
  padding-left: 6px;
  border-radius: 16px;

}

.flip {
  
  width: 100%;


}

.flip .back{
  color: var(--siva);
}


.skupskaEna h3{
  font-size: 14px;
  
  padding: 10px;
  
  line-height: 16px;
}




 .ostali-servici{
  padding-top: 50px;
 } 

#posamezni-section2::after{
  height: 400px;
  top: 65%;
  
}
#posamezni-section::after{
  height: 400px;
  top: 47%;
  
}
#MasPage  #posamezni-section::after{
  height: 400px;
  top: 34%;
  
}
#DietPage  #posamezni-section::after{
  height: 400px;
  top: 34%;
  
}
#PsihoPage  #posamezni-section::after{
  height: 400px;
  top: 37%;
  
}
#AparatPage  #posamezni-section::after{
  height: 400px;
  top: 49%;
  
}



:is(#PsihoPage, #AparatPage, #MasPage,  #DietPage, #FizioPage, #SkupPage) .glavniNapis{
  justify-content: center;
}

#word1, #word2 {
  font-size: 32px;
  font-weight: 500;
  box-sizing: border-box;
  width: fit-content;
  text-align: center;
 

}
.controls button:hover {
filter: none;
}

  .scroll-section {
    
    height: 300px; /* enough to allow scrolling */
   
   
  }

summary h3{
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 500;
}

summary svg{
  flex: 0 0 30px;
  height: 30px;
}

details p{
  font-size: 14px;
  line-height: 16px;
}




  #service-section {
    padding-bottom: 0px;
  }

  
  .loader{
    display: none;
  }
  #loaderIndex{
    display: none;
  }



  .loaderFon{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: -5vw;
    left: -10vw;
    height: 105vh;
    width: 115vw;
    background-color: #E9E6DA;
    z-index: 1000;
    overflow: hidden;
     border-radius: 24px 0 0 24px;

    animation: fonDesno ease-in-out 1s forwards; 
    animation-delay: 1.2s;
  }

  @keyframes fonDesno {
    0%{
      transform: translate(0);
      

    }
    100%{
      transform: translate(115%);
     
    }
  }

  #fonCrni{
    background-color: #1A1A19;
  }

  .fonimg-overlay{
    height: 520px;
    width: 100%;
    position: relative;
    overflow: hidden;
  }


  .loaderFon .P-fon{
    height: 520px;
    width: 100%;
    margin-left: -18px;
    margin-top: -10px;
    
  }

  .fonimg-overlay::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    
    height: 100%;
    background: linear-gradient(to top right, #E9E6DA 0%, #E9E6DA 20%, transparent  );
  }

  #fonCrni .fonimg-overlay::before{
    background: linear-gradient(to top right, #1A1A19 0%, #1A1A19 20%, transparent  );
  }



  .loaderFon .parola-fon{
    margin-left: 50px;
    margin-right: 30px;
    margin-top: -19vh;
    color: #1A1A19;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 13vw;
    line-height: 14vw;
    z-index: 2;

  }

  #fonCrni .parola-fon{
    color: white;
  }




  .logo-fon {
  position: absolute;
  bottom: 50px;
  right: 40px;
  width: 140px;
  height: fit-content;
  z-index: 100;


}




.etiketa::after {
  content: '';
  position: absolute;
  background-image: url(Slike/GGaljaz.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 50px;
  height: 50px;
  bottom: clamp(-40px, -5.76vh, 100vh);
  left: clamp(-34px, -2.24vw, 100vw);
  opacity: 0;
  animation: grow-in 1s ease forwards;
  animation-delay: 2.5s;
}






   .naslovna-slika-wrapper,
.storitve-slika-wrapper {
 
  height: 300px;
  width: 100%;

}

.service-opis{
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 100px;
}
.service-opis .nadnaslov{
  margin-top: 0;
}

a.levaHeader{
  margin-bottom: 0;

}

#service-section{
  padding-top: 40px;
 
}

.headerBottomFon{
  display: none;
}

#dvesto{
  margin-top: 60px;
  margin-bottom: 120px;

}


#wrapper-ikonice{
  display: none;
}



.scroll-gallery{
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 60px;
}

/* Above the heading */
.group-section .bubble:nth-child(1) {
  width: 55px; height: 55px;
  top: 100px; left: 32%;
  transform: rotate(10deg);
}

.group-section.bubble:nth-child(2) {
  width: 40px; height: 40px;
  top: 140px; right: 20%;
}

/* Left and right of heading */
.group-section .bubble:nth-child(3) {
  width: 60px; height: 60px;
  top: 45%; left: 4%;
   transform: rotate(10deg);
  
}

.group-section .bubble:nth-child(4) {
  width: 100px; height: 100px;
  top: 50%; right: 0%;
  
   transform: rotate(10deg);
  
 
}




.group-section .bubble:nth-child(5) {
  width: 80px; height: 0px;
  bottom: 220px; left: 20%;
  transform: rotate(4deg);
  
}

.group-section .bubble:nth-child(6) {
  width: 65px; height: 65px;
  bottom: 170px; right: 30%;
  transform: rotate(2deg);
}


.group-section{
  margin-bottom: 0;
}


.desna{
  background: url(Slike/basketas4-8.png) ;
  background-repeat: no-repeat;
  background-size: contain; 
  background-position: right;
  height: 500px;
  width: 180%;
  background-color: white;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

position: relative;
   transform: translateX(0); /* start off-screen */

    transition: transform  ease-in-out;
    will-change: transform;
  

}
.kontakt-page .desna{
  background: url(Slike/basketas4-8.png) ;
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: center;
  height: 400px;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

position: relative;
   transform: none !important;
   


}

#IndexPage .desna{
  margin-bottom: -110px;
}



  .desna.active {
    transform: translateX(0); /* slide in */
  }

#SpoPage .desna{
  background-image: url(Slike/veseli.jpg);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: top;
  border-radius: 0 16px 16px 0;
  overflow: hidden;
} 
#OnasPage .desna{
  background-image: url(Slike/smejijo3.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: left;
  border-radius: 0 16px 16px 0;
  overflow: hidden;
  transform: scaleX(-1);

} 
#FizioPage .desna{
  background-image: url(Slike/1x/kroser.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: right;
} 
#SkupPage .desna{
  background-image: url(Slike/1x/padel.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: right;
} 
#MasPage .desna{
  background-image: url(Slike/1x/fusbal.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: right;
} 
#PsihoPage .desna{
  background-image: url(Slike/1x/beciklist.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: right;
} 
#DietPage .desna{
  background-image: url(Slike/1x/plavalec.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: right;
} 
#AparatPage .desna{
  background-image: url(Slike/1x/skier.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: right;
} 


.card-desna-stran{
  width: 100%;
  aspect-ratio: 700 / 572;
  height: auto;
  gap: 0;

}





.sportniki {
  position: relative;
  width: 100%;
  aspect-ratio: 349 / 150;
  height: auto;
  background-image: url(Slike/sportnikiFon.svg);
  padding: clamp(0px, 2.5vw, 10px);

  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  
}

.sportniki img {
  height: clamp(52px, 13vw, 52px);
  width: clamp(0px, 13vw, 52px);
  margin-left: -3vw; /* responsive margin */
}

.sportniki::before{
  content: '';
  position: absolute;
  height: 7.2vh;
  aspect-ratio: 1/1;
  background-image: url(Slike/Puscica.svg);

}



.stotka{
 
  width: fit-content;
  display: flex;
  flex-direction: column;
align-items: end;
}

.sportniki #sto{
  font-size: 44px;
  font-weight: 800;
 
}

.sportniki #sto::after{
  content: '+';
  font-weight: 300;
}

.stotka p{
  font-size: 14px;
  align-self: end;
  text-align: end;

}

.sportniki::before{
  content: '';
  position: absolute;
  height: clamp(60px, 7.19vh, 7.19vh);
  aspect-ratio: 1/1;
  background-image: url(Slike/Pglossycrn.svg);
  background-repeat: no-repeat;
  background-size: cover;
  top: -16%;
  left: 42%;

  transform-origin: center;
  transition: transform 0.6s ease-in-out;
}



.desna .sportniki{
  display: none;
}


.headerBottom {
 
  display: none;
}

.headerBottomFon{
   display: flex;
   width: 100%;
  justify-content: space-between;
  align-self: end;
  filter: invert();
}


.storitve-ikonice{
   display: none;
}

.slika{
  height: 200px;
}
 

#storitve-info{
  height: fit-content;
  padding-bottom: 40px;
}



#storitve-about{
  height: fit-content;
}

.videoo{
  height: 300px;
}

 #service-grid {
    grid-template-rows: auto; /* or just don't define fixed rows */
  }



  #dvesto h3{
    font-size: 30px;
  }

  .counter{
    font-size: 190px;
  }


 /* Above the heading */
.bubble:nth-child(1) {
  width: 50px; height: 50px;
  top: 100px; left: 32%;
  transform: rotate(10deg);
}

.bubble:nth-child(2) {
  width: 50px; height: 50px;
  top: 140px; right: 20%;
}

/* Left and right of heading */
.bubble:nth-child(3) {
  width: 60px; height: 60px;
  top: 45%; left: 4%;
   transform: rotate(-10deg);
  transform: translateY(-50%) scale(0.5);
}

.bubble:nth-child(4) {
  width: 70px; height: 70px;
  top: 50%; right: 0%;
  
   transform: rotate(10deg);

}

/* Below the heading */
.bubble:nth-child(5) {
  width: 50px; height: 50px;
  bottom: 180px; left: 30%;
}

.bubble:nth-child(6) {
  width: 55px; height: 55px;
  bottom: 160px; right: 30%;
}

.bubble:nth-child(7) {
  width: 40px; height: 40px;
  bottom: 50px; left: 32%;

}
.bubble:nth-child(8) {
  width: 35px; height: 35px;
  bottom: 120px; right: 20%;
  
}
.bubble:nth-child(9) {
  width: 30px; height: 30px;
  bottom: 20%; left: 10%;
  
}

  #sm {
    display: inline-flex;
    border-top: 1px white solid;
    border-bottom: 1px white solid;
    padding-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
  }
  #sm h2{
    display: none;
  }
  .footerSecs{
    text-align: center;
  }

  #posamezni-grid{
  
   flex-direction: column;
   height: auto;
  
   
  }

  #posamezni-grid .serviceGrid:last-of-type {
   
    height: 190px;
    
  }

  .chat{
    top: 144px;
    right: 60px;
  }

/* ONAS */

  .group-section h1{
  font-size: 32px;

 
}

#lingo3{
  align-self: end;
}

#levaHeaderOzadje{
  padding-top: 100px;
}

#levaHeaderOzadje3{
  padding-top: 100px;
}
#levaHeaderOzadje3 #word1{
  font-size: 32px;
}

#service-naslov{
  padding-left: 20px;
  padding-right: 20px;
}

 .scroll-gallery {
    margin-top: 40px;
    gap: 8px;
    padding-bottom: 40px;
  }

  .image-row {
    height: 100px;
  }

  .image-track {
    gap: 8px;
  }

  .image-track img {
    width: 150px;
    height: 100px;
    border-radius: 4px;
  }

  .team-section{
    padding: 20px;
    padding-top: 60px;
    margin-top: 60px;
  }

  .o-nas-section{
    padding: 20px;
  }



  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .agrid {
    width: 100%;
  }

  #agrid1 {
    order: 1;
    padding: 16px;
    background: linear-gradient(to bottom, var(--bež) 0%, transparent 100%);
  }

  #agrid3 {
    order: 2;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to top, var(--bež) 0%, transparent 80%);
    margin-top: -80px;
  }

  #agrid3 img {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
  }

  #agrid4 {
    order: 3;
    padding: 16px 16px 40px 16px;
    background: linear-gradient(to top, var(--bež) 0%, transparent 90%);
  }

  #agrid4 h3 {
    font-size: 6vw;
  }

  #agrid4 h4 {
    font-size: 4vw;
  }

  #agrid4 p {
    font-size: 4vw;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
  }

  #agrid2 {
    order: 4;
    height: 350px;
  }

  #agrid2 .background-video {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }


  .aboutflex-ena {
    flex-direction: column;
    gap: 24px;
  }

  #vizvre,
  #vizija {
    width: 100%;
  }

  #vizvre h1 {
    font-size: 8vw;
    padding-top: 16px;
  }

  #vizija {
    padding: 24px 16px;
    border-radius: 12px;
    background: linear-gradient(to top, var(--bež) 0%, transparent 80%);
  }

  #vizija h3 {
    font-size: 6vw;
  }

  .aboutflex-dva {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 60px;
  }

  .vrednote {
    width: 100%; /* full width inside each grid cell */
  }

  .vrednote h3 {
    font-size: 5vw;
    padding: 0;
    margin: 0;
    gap: 0;
    align-items: flex-start;
  }


  .vrednote p{
    padding: 0;
    margin-top: 8px;

  }




  .vrednote h3::before {
    width: 40px;
    height: 40px;
  }

  .team-section{
    border: none;

  }


  
   .team-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
    margin-top: 100px;
    margin-bottom: 100px;
  }

  .team-member {
    flex-direction: column;
    width: 100%;
    transform: none !important;
    flex: 1;
  }

  .crniGradient {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
  }

  .team-member img {
    width: 100%;
    height: 340px;
    display: block;
  }

  .info {
    padding: 16px;
  }

  .team-member h3 {
    font-size: 5vw;
    padding-bottom: 12px;
  }

  .team-member .role,
  .team-member p {
    font-size: 4vw;
  }

  .icont {
    height: 24px;
    width: 24px;
  }

  .insta-popup {
    height: 24px;
    width: 24px;
    transform: translateY(0) translateX(0);
  }

  .icont-link:hover .insta-popup {
    transform: translateY(-28px) translateX(-28px);
  }


  /* nasi sportniki mobi */

  #testimonialCardsSection h1{
  text-align: center;
  }


  /* kontakt mobi */

#footerKontakt{
  display: flex;
}

#levaHeaderKontakt{
  height: auto;
  padding-top: 200px;
  
}

.language-switch a{
  font-size: 14px;
}



#desna2 {
  display: none;
}
#podjetjaSportniki{
  display: none;
}

#desna1{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
 
  
}

#desna1 h3{
  font-family: Montserrat;
  position: static;

}

.pjek{
  display: block;
}

#sportnikiKontakt{
  display: flex;
}

#logosKontakt2{
  display: flex;
}

.kontakt-page {
  height: auto;
}

.kontakt-page .desna{
  background-image: url(Slike/steza2.jpg);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: center;
  height: 500px;
  background-color: white;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

}




  #desnaKontakt{
  width: 100%;
  height: 70vh;
  background-position: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
    position: relative; /* only if needed */
  z-index: auto; /* or remove */
  border-radius: 0 0 16px 16px;
  
} 



.kontakt-page #hero{
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;

}


#footerKontakt{
  padding-top: 0px;
}

#footerKontakt #FooterRibbon{
  margin-top: 60px;
}












.testimonial-content{
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.left, .right {
  width: 100%;
  /* padding: 60px 40px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 0;
  margin-right: 0;
}


  #service-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "box-1"
      "box-2"
      "box-3"
      "box-4"
      "box-5"
      "box-6"
      "box-7"
      "box-8";
      padding-top: 0;
      margin-top: 0;
  }

  #ozadje{
  background-image: 
  linear-gradient(to bottom, #1A1A19 10%, transparent 100%), 
  linear-gradient(#1A1A1999, #1A1A1999), 
  url("Slike/dajne2.jpg");

    width: 100%;
    aspect-ratio: 1 /0.52 ;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

#AparatPage #ozadje{
  background-image: 
  linear-gradient(to bottom, #1A1A19 10%, transparent 100%), 
  linear-gradient(#1A1A1999, #1A1A1999), 
  url("Slike/SkierFull.png");
  
   background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Mirror the background */
  transform: scaleX(-1);
}

#MasPage #ozadje {
  background-image: 
    linear-gradient(to bottom, #1A1A19 10%, transparent 100%), 
    linear-gradient(#1A1A1999, #1A1A1999), 
    url("Slike/ozadjeMasaže2.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Mirror the background */
  transform: scaleX(-1);
}
#IndexPage #ozadje {
  background-image: 
    linear-gradient(to bottom, #1A1A19 10%, transparent 100%), 
    linear-gradient(#1A1A1999, #1A1A1999), 
    url("Slike/OzadjeIndex.jpg");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Mirror the background */
  transform: scaleX(-1);
}
#FizioPage #ozadje {
  background-image: 
    linear-gradient(to bottom, #1A1A19 10%, transparent 100%), 
    linear-gradient(#1A1A1999, #1A1A1999), 
    url("Slike/kroserOz.jpg");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Mirror the background */
  transform: scaleX(-1);
}
#SkupPage #ozadje {
  background-image: 
    linear-gradient(to bottom, #1A1A19 10%, transparent 100%), 
    linear-gradient(#1A1A1999, #1A1A1999), 
    url("Slike/1x/Artboard\ 21.png");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Mirror the background */
  transform: scaleX(-1);
}
#DietPage #ozadje{
  background-image: 
  linear-gradient(to bottom, #1A1A19 10%, transparent 100%), 
  linear-gradient(#1A1A1999, #1b1b1699), 
  url("Slike/ozadjeDieta.jpg");
}
#PsihoPage #ozadje{
  background-image: 
  linear-gradient(to bottom, #1A1A19 10%, transparent 100%), 
  linear-gradient(#1A1A1999, #1A1A1999), 
  url("Slike/ozadjePsiho.jpg");
}





.slika::after{
 
  border: none
  

}


  #testimonial-text {
    
 
    padding-bottom: 100px;
    
  }

}















/* MOBI */

@media (max-width: 540px){

.chat{
  background-color: white;
}


  .sidebar{
    display: none;
  }




  
 
  /* ===== Mobile Navbar (≤540px) ===== */








   html, body { overflow-x: hidden; }
  :root { --siva: rgba(0,0,0,.12); --bež: #E9E6DA; }

  /* Backdrop to catch click-away (transparent) */
  .nav-backdrop{
    position: fixed;
    inset: 0;
    background: transparent;
    display: none;
    z-index: 2000;              /* below menu/dropdowns, above page */
  }
  .nav-backdrop.active{ display:block; }

  .menu{
    position: fixed;
    top: 0; left: 0; right: 0;
    background: linear-gradient(to top, #FAFAF7, white);
    width: 100%;
    overflow: visible;          /* allow dropdowns to overflow */
    z-index: 3000;
  }

  /* --- underline animation base (works on click via classes) --- */
  .menu .menuItem,
  #zadnjiItem{
    position: relative;
     background: linear-gradient(to top, #FAFAF7, white);
  }
  .menu .menuItem::before,
  #zadnjiItem::before{
    content: '';
    position: absolute;
    left: 0; right: auto;
    bottom: 0;
    height: clamp(8px, 1.15vh, 1.15vh);
    background-color: var(--bež);
    width: 0%;
    transition: width .2s ease;
    z-index: 2;
  }
  /* play the bar when pressed, and keep it while open */
  .menu .menuItem.is-pressing::before,
  #menu1.is-open #domovLogoBox.menuItem::before{
    width: 100%;
  }
  #zadnjiItem.is-pressing::before,
  #dropdown.is-open #zadnjiItem::before{
    width: 100%;
  }

  .menu #srednji{ display: none; }

  /* Split layout */
  .menu #menu1{
    width: 50%;
    border-right: 1px solid var(--siva);
    position: relative;         /* anchor #menu1dropdown */
  }
  .menu #dropdown{
    width: 50%;
    position: relative;         /* anchor .storitve */
  }

  /* =========================
     LEFT DROPDOWN (menu1)
     ========================= */

  #menu1dropdown {
    position: absolute;
    top: 100%;
    left: 0;                /* center under 50% column */
    width: 200%;
    display: flex;
    flex-direction: column;
 
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0,-20px,0);
    transition:
      opacity .3s ease,
      transform .3s ease,
      visibility .3s steps(1,end);

    padding: 20px 10px;
  
    border-radius: 0 0 16px 16px;
    background-color: #fff;
   box-shadow: 0 16px 29px -16px rgba(0, 0, 0, 0.25); 
    z-index: 4000;
  }
  

  #zadnjiItem{
    background-color: white;
  }

  

  

  #menu1.is-open #menu1dropdown {
    opacity: 1;
    transform: translate3d(0,0,0);
    pointer-events: auto;
    visibility: visible;
  }

  /* Children animation */
  #menu1dropdown > *,
  #zeleniDiv a {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity .3s ease, transform .3s ease;
  }
  #menu1.is-open #menu1dropdown > *:nth-child(1) { transition-delay:.1s; opacity:1; transform:translateY(0); }
  #menu1.is-open #menu1dropdown > *:nth-child(2) { transition-delay:.2s; opacity:1; transform:translateY(0); }
  #menu1.is-open #menu1dropdown > *:nth-child(3) { transition-delay:.3s; opacity:1; transform:translateY(0); }

  #menu1dropdown > *:nth-child(4),
  #menu1dropdown > *:nth-child(5) {
    transform: scale(.8);
    transform-origin: center;
  }
  #menu1.is-open #menu1dropdown > *:nth-child(4) { transition-delay:.4s; opacity:1; transform:scale(1); }
  #menu1.is-open #menu1dropdown > *:nth-child(5) { transition-delay:.5s; opacity:1; transform:scale(1); }

  #menu1.is-open #zeleniDiv a:nth-child(1) { transition-delay:.45s; opacity:1; transform:translateY(0); }
  #menu1.is-open #zeleniDiv a:nth-child(2) { transition-delay:.50s; opacity:1; transform:translateY(0); }
  #menu1.is-open #zeleniDiv a:nth-child(3) { transition-delay:.55s; opacity:1; transform:translateY(0); }
  #menu1.is-open #zeleniDiv a:nth-child(4) { transition-delay:.60s; opacity:1; transform:translateY(0); }
  #menu1.is-open #zeleniDiv a:nth-child(5) { transition-delay:.65s; opacity:1; transform:translateY(0); }

  #menu1dropdown a {
    font-size: 20px;
    font-weight: 500;
    padding: 20px;
    border-bottom: 1px solid --siva; /* keep your divider */
    border-bottom: 1px solid var(--siva);
  }

  #zeleniDiv {
    background-color: #007E80;
    display: flex;
    justify-content: space-around;
    border-radius: 16px;
    padding: 0;
    margin: 60px 0 12px;
  }
  #zeleniDiv img { width: 24px; filter: invert(); }
  #zeleniDiv a   { border: none; padding: 12px 0; }

  #menu1dropdown #gumb {
    height: 64px;
    background-color: var(--bež);
    color: #1A1A19;
    box-shadow: 0 4px 29px rgba(233, 230, 218, 0.25);
    border: 1px solid #fff;
    font-weight: 700;
  }

  /* =========================
     RIGHT DROPDOWN (storitve)
     ========================= */

  #stevka03{ display: none; }
  #stevka02{ display: flex; }

    /* --- RIGHT column dropdown (.storitve) ---
     Inherit your existing styles/animations.
     Just mirror the :hover rules using .is-open so tap works. */

  /* open the panel */
  /* OPEN via .is-open (tap) */
  #dropdown.is-open .storitve,
  .dropdown.is-open + .storitve{
    pointer-events:auto;
    opacity:1;
    transform:translateY(0);
    visibility:visible;
  }



  /* mirror the per-item stagger you already have on :hover */
  #dropdown.is-open .storitve > *:nth-child(1){ transition-delay:.1s; opacity:1; transform:translateY(0); }
  #dropdown.is-open .storitve > *:nth-child(2){ transition-delay:.2s; opacity:1; transform:translateY(0); }
  #dropdown.is-open .storitve > *:nth-child(3){ transition-delay:.3s; opacity:1; transform:translateY(0); }
  #dropdown.is-open .storitve > *:nth-child(4){ transition-delay:.4s; opacity:1; transform:translateY(0); }
  #dropdown.is-open .storitve > *:nth-child(5){ transition-delay:.5s; opacity:1; transform:translateY(0); }
  #dropdown.is-open .storitve > *:nth-child(6){ transition-delay:.6s; opacity:1; transform:translateY(0); }


  .storitve{
    border-radius: 0 0 16px 16px;
    z-index: 3000;
       box-shadow: 0 16px 29px -16px rgba(0, 0, 0, 0.25); 
  }

  .storitve a{
    padding: 20px;
    font-size: 16px;
    display: block;
    border-bottom: 1px solid var(--siva);
  }

  .storitve a {
display: flex;
align-items: center;
justify-content: space-between;



}








/* .storitve a .arrow {
  display: inline-block;
  width: clamp(36px, 5.18vh, 5.18vh);
  height: clamp(12px, 1.73vh, 1.73vh);
  background-image: url('Slike/pridruziPuscica.svg');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  transform: translateX(-150%);
  transition: transform 0.3s ease, opacity 0.3s ease;
} */

.storitve a.on-click .arrow {
  opacity: 1;
  transform: translateX(0);
}



.storitve a::after{

filter: invert(1);
background-color: #FF817F;
} 


  
  #desna{
    height: 600px;
  }

  #naslova-ostali{
    justify-content: center;
  }
  
  #naslova2{
    align-items: center;
  
  }
  
  #storitveIkoniceNormalne{
    display: none;
   
  
  }

  #FooterRibbon #pokoncniLogo{
  display: flex;
  width: 80px;
}
  #FooterRibbon #lezeciLogo{
  display: none;
}



.aparat{
  width: 100%;
  height: 200px;
 
}
.skupskaEna{
  width: 100%;
  height: 200px;
 
}




 
  
}

  



  /* responsive 410bp testimonia*/

@media (max-width: 430px){

 

  .profile img {
    width: 48px;
    height: 48px;

  }

  .profile-info strong { 
    font-size: 15px;
    padding-bottom: 2px;
  }

  .profile-info span {
    font-size: 12px;
  }

  .controls {
    gap: 0px;
  }

  .profile {
    gap: 6px;
  }
}

  


  
  @media (max-width: 365px){
    .TriP{
    padding-right: 0;
    padding-left: 2vw;
  
  }
  
  .TriP img{
    height: 11vw;
    width: 11vw;
     
  }
  
  #word1, #word2{
    font-size: 10.53vw;
  }

  }
