
/********** Template CSS **********/
:root {
    --primary: #0463FA;
    --light: #EFF5FF;
    --dark: #1B2C51;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #000000;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .owl-carousel-text {
    position: absolute;
	font-size: 2.4vw;
    width: 100%;
    height: 90%;
    padding: 3rem;
    top: -2rem;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
    
    /* Default font size for large screens */
    font-size: 2.5vw; /* Responsive font size based on viewport width */
}

/* Tablet screens (max-width: 768px) */
@media (max-width: 768px) {
    .header-carousel .owl-carousel-text {
        font-size: 4vw; /* Larger font for smaller screens */
    }
}

/* Mobile screens (max-width: 480px) */
@media (max-width: 480px) {
    .header-carousel .owl-carousel-text {
        font-size: 3.5vw; /* Adjust font size for small screens */
        padding: 2rem; /* Reduce padding on small screens */
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
	
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
	
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
	
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
	
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    transition: .5s;
	
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.img-fluid2 {
    opacity: 0.3;
    
}


.page-header {
    background: url(../img/kheader-page.jpg) top center no-repeat;
    background-size: cover;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
    height: 15vh;
	padding: 25px 0;
}

.kpage-header {
    background: url(../img/kheader-page.jpg) top center no-repeat;
    background-size: cover;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.vpage-header {
    background: url(../img/vheader-page.jpg) top center no-repeat;
    background-size: cover;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.ppage-header {
    background: url(../img/vheader-page.jpg) top center no-repeat;
    background-size: cover;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Service ***/
.service-item {
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 40px;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}



/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

input[type=text], select, textarea {
  width: 100%;
  padding: 0.8em;
  border: 0.1em solid #ccc;
  border-radius: 1.2em;
  resize: vertical;
  font-size: 0.9em;
}

label {
  padding: 0.8em 0.8em 0.8em 0;
  display: inline-block;
  font-size: 0.9em;
}

  .rcontainer {
  margin: auto;
  width: 96%;
  border-radius: 1.2em;
  background-color: #f2f2f2;
  padding: 2.5em;
}

.col-25 {
  float: left;
  width: 35%;
  margin-top: 1em;
}

.col-75 {
  float: left;
  width: 65%;
  margin-top: 1em;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both
}  

.rbutton {
  width: 35%;
  float: right;
  border: 0.1em solid #ccc;
  color: white;
  text-align: center;
  text-decoration: none;
  background-color: #00008B;
  border-radius: 1.2em;
  font-size: 0.9em;
  padding: 0.6em 1.2em;
}

/* Responsive layout - when the screen is less than 600px wide, 
make the two columns stack on top of each other instead of next to each other.
Ovde se forma zavrsava. */
@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}

@media screen and (max-width: 420px) 
{

  label {font-size: 2.8vw;}
    .rbutton {
  font-size: 3vw;
  padding: 1vw 1.4vw;
  text-align: center;
  display: inline-block;
  margin: 3vw 1vw;
  cursor: pointer;
  display: inline-block;
}
}

@media only screen and (min-width: 421px) and (max-width: 768px) and (orientation: portrait)

{
  label {font-size: 2.8vw;}
    .rbutton {
  font-size: 3vw;
  padding: 1vw 1.4vw;
  text-align: center;
  display: inline-block;
  margin: 3vw 1vw;
  cursor: pointer;
  display: inline-block;
}
}


@media only screen and (min-width: 421px) and (max-width: 768px) and (orientation: landscape)
{

  label {font-size: 2.4vw;}
  p  {font-size: 2.4vw;}
    .rbutton {
  padding: 0.8vw 1.2vw;
  text-align: center;
  display: inline-block;
  font-size: 2.8vw;
  margin: 3vw 1vw;
  cursor: pointer;
  display: inline-block;
}
}

@media only screen and (min-width: 769px) and (max-width: 1024px) 
{
  label {font-size: 2.2vw;}
  p  {font-size: 2.2vw;}
    .rbutton {
  font-size: 2.2vw;
  padding: 0.6vw 1vw;
  text-align: center;
  display: inline-block;
  margin: 3vw 1vw;
  cursor: pointer;
  display: inline-block;
}

}

@media only screen and (min-width: 1025px) and (max-width: 1279px) 
{
  label {font-size: 1.4vw;}
  p  {font-size: 1.5vw;}
   .rbutton {
  font-size: 1.2vw;
  padding: 0.6vw 1vw;
  text-align: center;
  display: inline-block;
  margin: 3vw 1vw;
  cursor: pointer;
  display: inline-block;
 }
}

@media only screen and (min-width: 1280px) 
{
  label {font-size: 1.4vw;}
  p  {font-size: 1.4vw;}
   .rbutton {
  font-size: 1.2vw;
  padding: 0.6vw 1vw;
  text-align: center;
  display: inline-block;
  margin: 3vw 1vw;
  cursor: pointer;
  display: inline-block;
 }
}

/* Default for large screens (desktors, laptops) */


h2 {
    font-size: 1vw; /* Viewport width-based font size */
}

/* For tablets and small desktops (screens smaller than 768px) */
@media (max-width: 768px) {
    h2 {
        font-size: 3vw; /* Increase font size slightly for tablets */
    }
}

/* For mobile phones (screens smaller than 480px) */
@media (max-width: 480px) {
    h2 {
        font-size: 5vw; /* Make the font smaller for mobile screens */
    }
}


p1 {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 2.1em auto;
  border: solid 0.5em transparent;
  padding: 0.1em;
  width: 15em;
  height: 4em;
  border-radius: 2.5em;
  background: Linear-gradient(#dbdbdb, #fff) content-box, Linear-gradient(var(--slist)) padding-box, Linear-gradient(#fff, #dcdcdc) border-box;
  font: 1.2em/1.1 trebuchet ms, verdana, sans-serif;
  text-align: center;
  text-indent: 1em;
  -webkit-clip-path: inset(0 round 2.5em);
  clip-path: inset(0 round 2.5em);
  counter-increment: c;
}
p1:before {
  position: absolute;
  right: -0.4em;
  width: 3em;
  height: 3em;
  border-radius: 0.4em;
  transform: rotate(45deg);
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
  background: Linear-gradient(-45deg, #e4e4e4 calc(50% - 2.5em), #fff calc(50% + 2.5em));
  content: "";
}
p1:after {
  box-sizing: inherit;
  display: grid;
  place-content: center;
  position: relative;
  border: inherit;
  margin-right: -0.25em;
  width: 3em;
  height: 3em;
  border-radius: 50%;
  box-shadow: inset 0 0 1px 1px #efefef, inset 0 -0.5em rgba(0, 0, 0, 0.1);
  background: Linear-gradient(var(--slist)) padding-box, Linear-gradient(#d0d0d0, #e7e7e7) border-box;
  color: #fff;
  text-indent: 0;
  content: counter(c, decimal-leading-zero);
}

/* News Item Styling - Updated with higher specificity and important flags */
.container .news-item {
    padding: 15px 0;
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    display: block;
    -webkit-font-smoothing: antialiased; /* Better text rendering in Chrome */
    -moz-osx-font-smoothing: grayscale; /* Better text rendering in Firefox */
}

.container .news-item p {
    margin-bottom: 0;
    transition: transform 0.3s ease;
    padding: 0 15px;
    color: #333;
    font-size: clamp(14px, 1.1vw, 18px); /* Responsive font size with min and max limits */
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.container .news-divider {
    height: 1px;
    background: linear-gradient(to right, 
        rgba(0,0,0,0) 0%,
        rgba(4, 99, 250, 0.2) 25%,
        rgba(4, 99, 250, 0.5) 50%,
        rgba(4, 99, 250, 0.2) 75%,
        rgba(0,0,0,0) 100%
    );
    margin: 15px 0;
    position: relative;
    transition: all 0.3s ease;
    display: block;
    clear: both;
    width: 100%;
    -webkit-transform: translateZ(0); /* Fix for Chrome rendering */
    transform: translateZ(0);
}

/* Add vendor prefixes for transitions and transforms */
.container .news-item:hover p {
    -webkit-transform: translateX(10px);
    -ms-transform: translateX(10px);
    transform: translateX(10px);
}

.container .news-item:hover .news-divider {
    background: linear-gradient(to right, 
        rgba(0,0,0,0) 0%,
        rgba(19, 100, 76, 0.3) 25%,
        rgba(19, 100, 76, 0.7) 50%,
        rgba(19, 100, 76, 0.3) 75%,
        rgba(0,0,0,0) 100%
    );
    -webkit-transform: scaleX(1.05);
    -ms-transform: scaleX(1.05);
    transform: scaleX(1.05);
}

/* Ensure consistent link styling */
.container .news-item a {
    color: #0463FA;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    font-size: clamp(14px, 1.1vw, 18px); /* Match paragraph size */
}

.container .news-item a:hover {
    color: #13644c;
}

/* Add specific fixes for Edge */
@supports (-ms-ime-align: auto) {
    .container .news-divider {
        background: linear-gradient(to right, transparent, rgba(4, 99, 250, 0.5), transparent);
    }
}

/* Add specific fixes for Firefox */
@-moz-document url-prefix() {
    .container .news-item p {
        font-weight: normal;
    }
}

/* Add these styles for the flashy news item */
.news-item.highlight {
    animation: pulse 2s infinite;
    background: rgba(4, 99, 250, 0.05);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item.highlight:before {
    content: 'NOVO!';
    position: absolute;
    top: 5px;
    right: 5px;
    background: #0463FA;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(4, 99, 250, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(4, 99, 250, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(4, 99, 250, 0);
    }
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.news-item.highlight p {
    font-weight: 500;
    color: #0463FA !important;
    font-size: clamp(14px, 1.1vw, 18px); /* Match the new size */
}

.news-item.highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(4, 99, 250, 0.2);
}

/* Add these styles for the clickable pill */
.rounded-pill {
    transition: all 0.3s ease;
}

.rounded-pill:hover {
    background-color: #0463FA;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(4, 99, 250, 0.2);
}

/* If using anchor version */
a.text-decoration-none .rounded-pill {
    color: inherit;
}

a.text-decoration-none:hover {
    text-decoration: none;
}

/* Add responsive breakpoints for better control */
@media screen and (max-width: 768px) {
    .container .news-item p,
    .container .news-item a,
    .news-item.highlight p {
        font-size: clamp(13px, 3vw, 16px); /* Slightly smaller on mobile */
    }
}

@media screen and (min-width: 1400px) {
    .container .news-item p,
    .container .news-item a,
    .news-item.highlight p {
        font-size: clamp(16px, 1vw, 18px); /* Slightly larger on very wide screens */
    }
}