*{
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
    font-family: 'Poppins', 'sans-serif';
}

html {
    scroll-behavior: smooth;
}


body{
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

}
body::-webkit-scrollbar {
  background-color: #fff;
  width: 16px;
}

/* background of the scrollbar except button or resizer */
body::-webkit-scrollbar-track {
  background-color: #fff;
}

/* scrollbar itself */
body::-webkit-scrollbar-thumb {
  background-color: #babac0;
  border-radius: 16px;
  border: 4px solid #fff;
}

/* set button(top and bottom of the scrollbar) */
body::-webkit-scrollbar-button {
  display:none;
}

.usluge-img {
  background-image: linear-gradient(to bottom, #bd4458, #b35fa0, #8185ce, #44a3d7, #4cb8c4);
}

/* Section Styling */
.usluge {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 100px;
    color: #fff; /* Adjust background color as needed */
}

.container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 1200px;
    
}

.main-title{
    font-size: 4em;
    margin-bottom: 30px;
    scroll-margin-top: 80px; /* Adjust this value as needed */
}

.minion-main{
    font-size: 25px;
    color: #fff; 
    font-weight: 100;
    transition: 0.5s ease-in-out;
    padding-bottom: 50px;
}


.c_content{
    position: relative; 
    width: 100%; 
    display: flex;
    justify-content: center;
    transition: transform 0.5s ease;
    

}

.c_content:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;

}

.c_content .image, .simage, .tdimage, .poimage{
    position: relative;
    width: 800px; 
    height: 400px; 
    overflow: hidden; 
    
}


.c_content .image img, .c_content .simage img, .c_content .tdimage img, .c_content .poimage img{
    z-index: 111;
    position: absolute;
    top: 0;
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center 90%; 
    border-radius: 10px;
}

.c_content .image img { object-position: center 50%; }
.c_content .simage img { object-position: center 80%; }
.c_content .tdimage img { object-position: center 15%; }
.c_content .poimage img { object-position: center 15%; }

.c_content .text-box {
  z-index: 222;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 20px;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transform: translate(-80px, 50px);
  position: relative;
}

.c_content .text-box h3 {
    font-size: 2em;
    margin-bottom: 10px;
    white-space: nowrap;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.text-box li {
    display: inline-block; /* Align items horizontally */
    margin-bottom: 5px;
  }
.text-box h3 span{
    font-size: 35px; /* Adjust size if necessary */
    color: white; /* Adjust color as needed */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-variation-settings:
  'FILL' 200,
  'wght' 400,
  'GRAD' 100,
  'opsz' 32
}

.text-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.text-box li .material-symbols-outlined{
    font-size: 25px; /* Adjust icon size as needed */
    color: white; /* Adjust icon color */
    margin-right: 5px; /* Space between icon and text */
    transform: translateY(5px);
}

.text-box li strong{
    text-transform: uppercase;
    letter-spacing: 2px;
}




.hero{
    position: relative;
    width: 100%; 
    height: 100vh; 
    background-image: linear-gradient(rgba(12,3,51,0.3),rgba(12,3,51,0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Prevents horizontal scrolling */
}


.main-nav {
  width: 100%;
  position: fixed;
  top: 0; 
  left: 0; 
  padding: 3px 8%; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.5s ease, border-bottom-color 0.5s ease, backdrop-filter 0.5s ease; /* Smooth transition */
  z-index: 300;
  border-bottom: 2px solid rgba(255, 255, 255, 0); /* Fully transparent border initially */

}

.scrolled {
  background: rgba(0, 0, 0, 0.48); /* Transparent background when scrolled */
  backdrop-filter: blur(5px); /* Blur effect when scrolled */
  border-bottom: 2px solid rgba(255, 255, 255, 0.3); /* Transparent border when scrolled */
}


.burger-menu {
  display: none; /* Hide by default, show on mobile */
  cursor: pointer;
  font-size: 24px; /* Adjust size as needed */
  color: white; /* Adjust color as needed */
}

#close-icon {
  display: none; /* Initially hidden */
  cursor: pointer;
  /* Add any additional styles for the close icon */
}

.nav-list {
    display: flex;
    list-style: none;
    padding: 0;
  }
  
  .nav-item {
    margin: 0 15px;
  }
  
.nav-link {
    color: white;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
  }
  
  .nav-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }
  
  .nav-link:hover {
    color: #ed3a1a; /* Change text color on hover */
  }
  
  .nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
  }


.logo{
    width: 80px; 
    border-radius: 50%; /* Makes the image circular */
}

.nav-item{
    list-style: none;
    display: inline-block;
    margin-left: 40px;
}

.nav-link{
    text-decoration: none;
    color: #fff; 
    font-size: 17px;
}

.content{
    text-align: center; 
}

.content-h1{
    font-size: 160px;
    color: #fff; 
    font-weight: 600;
    transition: 0.5s;
}

.content-h1:hover{
    -webkit-text-stroke: 2px #fff;
    color: transparent;
}

.content-h2{
    font-size: 30px;
    color: #fff; 
    font-weight: 600;
    transition: 0.5s ease-in-out;
    padding-bottom: 50px;
}

.content-h2:hover{
    -webkit-text-stroke: 2px #fff;
    color: transparent;
}

.content-link{
    text-decoration: none;
    display: inline-block; 
    color: #fff; 
    font-size: 24px;
    border: 2px solid #fff; 
    padding: 14px 17px; 
    border-radius: 50px; 
    margin-top: 20px; 
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    
}

.content-link::before {
    content: '';
    position: absolute;

    transition: all 0.5s ease;
  }
  
  .content-link:hover {
    color: #ff6347;
    background-color: white;
    transition: all 0.5s ease;
  }
  
  .content-link:hover::before {
    transform: translate(-50%, -50%) scale(1);
  }

  .content-link:active {
    background-color: black;
    color: white;
  }

.back-video{
    position: absolute;
    right: 0; 
    bottom: 0; 
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    z-index: -1; 
}


.back-to-top {
  position: fixed; 
  bottom: 2rem; 
  left: 50%;
  transform: translateX(-50%) !important;
  background: linear-gradient(
    to right,
    #ED213A,#93291E
  );
  border-radius: 50%; 
  cursor: pointer;
  padding: 0.5rem;
  text-decoration: none;
  display: flex; 
  transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
  opacity: 0;
  transform: translateY(100%); /* Keep this for the slide-up effect */
  align-items: center;
  justify-content: center;
  z-index: 301;
}

.back-to-top.show{
    opacity: 1;
    transform: translateY(0);
}
.back-to-top span{
    color: white; 
    font-size: 2rem;
    transition: 0.2s ease-out;
}

.back-to-top:hover{
    background-color: #be1a3b;

}

.back-to-top:hover span{
    transform: translateY(-4px);
    
}


.fabb-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  gap: 10px; /* Adjust this value for space between buttons */
  display: flex;
  flex-direction: column;
  gap: 10px; /* Space between buttons */

}

.fabb {
  background: linear-gradient(
    to right,
    #3a7bd5,#3a6073);
  color: white;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

.fabb:hover {
  background-color: #0056b3;
}

.fabb-menu {
  position: absolute;
  bottom: 72px; /* Adjust if necessary to position menu above FAB */
  right: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.fabb-menu.show {
  opacity: 1;
  visibility: visible;
}

.fabb-item {
  background-color: #ffffff;
  border-radius: 50%;
  margin: 8px 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.3s forwards;
}


@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.fabb-icon {
  font-size: 24px;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.fabb-icon.rotate {
  transform: rotate(90deg);
}

.fabb-icon.hide {
  opacity: 0;
}


#contactButton {
  background: radial-gradient(circle farthest-corner at 25% 98%, #0078ff 5%, #4b69ff 25%, #af37f0 55%, #ff557d 78%, #fa696e 83%);
  margin-bottom: 10px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none; /* Remove underline from anchor link */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease; /* Smooth transition for background and scale */
}

#contactButton:hover {
  transform: scale(1.1) !important;
}

#wapp-btn {
  background: #25D366;
  margin-bottom: 10px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none; /* Remove underline from anchor link */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease; /* Smooth transition for background and scale */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* Ensure the icon color is white */
  font-size: 24px; /* Match the icon size */
}

#wapp-btn:hover {
  transform: scale(1.1);
}

/* Optional: Additional styling for the icon inside the button */
#wapp-btn, #mail-btn .material-symbols-outlined, #call-btn .material-symbols-outlined {
  font-size: 30px; /* Ensure the icon size fits the button */
}

#mail-btn{
  background: #c71610;
  margin-bottom: 10px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none; /* Remove underline from anchor link */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease; /* Smooth transition for background and scale */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* Ensure the icon color is white */
  font-size: 24px; /* Match the icon size */
}

#mail-btn:hover {
  transform: scale(1.1);
}

#call-btn{
  background: #00FF00;
  margin-bottom: 5px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none; /* Remove underline from anchor link */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease; /* Smooth transition for background and scale */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* Ensure the icon color is white */
  font-size: 24px; /* Match the icon size */
}

#call-btn:hover {
  transform: scale(1.1);
}



/* Contact Form Styles */
/* styles.css */

/* Basic styling for the contact form */
.contact-form {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    width: 300px;
    opacity: 0; /* Initially hidden */
    transform: scale(0.5); /* Initially smaller */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition */
    z-index: 1000; /* Ensure it's on top */
}

/* Show the contact form with pop-up effect */
.contact-form.show {
    opacity: 1;
    transform: scale(1); /* Normal size */
}

/* Close button styling */
.close-form {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Form styling */
.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    margin-top: 10px;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #0056b3;
}

.img-bg{
  background-image: linear-gradient(to bottom, #4cb8c4, #3e9fb4, #3587a1, #2f6f8c, #2b5876);
}

.radovi-container{
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.radovi-main{
    font-size: 4em;
    margin-bottom: 30px;
    color: white;
    scroll-margin-top: 100px; /* Adjust this value as needed */
}

.radovi-minion{
    font-size: 30px;
    color: #fff; 
    font-weight: 100;
    transition: 0.5s ease-in-out;
    padding-bottom: 50px;   
}


.project_container{
  display: flex;
  flex-direction: row;
}


.filter-buttons {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-bottom: 20px;
    width: 300px;
    height: min-content;
    padding-right: 20px;
    padding-top: 40px;
    background: rgb(10 133 163);
    backdrop-filter: blur(10px);
    border-right: 1px inset rgb(255 255 255 / 44%);
    border-radius: 10px;
}


.filter-buttons a {
  display: flex;
  justify-content: end;
  margin-bottom: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: right;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

.filter-buttons a:hover {
  transform: translateY(-3px);
}

.filter-buttons a.active{
  transform: translateY(-3px);
  /* Underline style for the active button */
  position: relative;
}

.filter-buttons a.active::after{
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  position: 0;
  width: 82%;
  height: 2px; /* Adjust the thickness of the underline */
  background: linear-gradient(to left,#6F71AE, #C85676); /* Gradient from right to left */
  transition: width 0.5s ease-in-out;
}

.filter-buttons a::after{
  content: "";
  display: block;
  position: absolute;
  right: 0;
  width: 0;
  height: 2px;
  transition: width 0.3s ease;
  transform-origin: right; /* Ensure the scaling happens from right to left */
}

.fa-solid, .fas {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  padding-right: 15px;
}


/* Swiper Styles */
.swiper-container {
  display: flex;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  height: auto;
  overflow: hidden;
  position: relative;
}

.swiper-container a{
  display: block; /* Ensures images are block elements */
  width: 100%; /* Makes images take up the full width */
  height: 742px; /* Adjusts height automatically to maintain aspect ratio */
  object-fit: cover; /* Ensures images cover the container without stretching */
  transition: transform 0.3s ease; /* Optional: smooth transition for hover effect */
}

.swiper-slide {
  display: flex;
  justify-content: center;
  height: 742px;
  position: relative;
  align-items: center;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transform and shadow change */
  overflow: hidden;
}

.swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease; /* Smooth fade-in effect */
  z-index: 1; /* Ensure the overlay is above the content */
}

.swiper-slide:hover::before {
  opacity: 1; /* Show overlay on hover */
}

.swiper-slide:hover {
  transform: scale(1.03); /* Slightly enlarge slide on hover */
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.swiper-slide img {
  width: 100%;
  height: 580px;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 2; /* Higher z-index than the overlay */

}

.swiper-button-next, .swiper-button-prev {
  position: absolute !important;
  width: 60px !important; /* Increased clickable area width */
  height: 60px !important; /* Increased clickable area height */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgba(0, 0, 0, 0.484);
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  color: #005bb5 !important; /* Darker color on hover */
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  color: #005bb5 !important; 
  transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Remove focus outline for swiper navigation buttons */
.swiper-button-next:focus,
.swiper-button-prev:focus {
  outline: none !important; /* Remove the outline */
}

  .onama-background {
    background-image: linear-gradient(to bottom, #2b5876, #234972, #28396a, #32265d, #3c0d4b);
}


  .onama-container{
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.onama-main{
    font-size: 4em;
    margin-bottom: 30px;
    color: white;
}

.onama-minion{
font-size: 30px;
color: white; 
font-weight: 100;
transition: 0.5s ease-in-out;
padding-bottom: 50px; 
}


.onama-box {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .onama-lista {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
  }
  
  
  .onama-tekst {
    flex: 1;
  }
  
  .onama-titel {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 10px;
    margin-left: 40px;
  }
  
  .onama-tekst p {
    font-size: 1.1em;
    color: white;
    line-height: 1.8;
    margin-left: 40px;
  }
  
  .onama-lista img {
    width: 500px; /* Ensure the width and height are equal for a perfect circle */
    height: 500px;
    border-radius: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    object-fit: cover; /* Ensures the image scales properly within the circle */
    margin-right: 40px;
  }


  .cards-box {
    padding: 10px;
    padding-bottom: 80px;
    background-size: cover; /* Ensures the image covers the container */
    background-position: center; /* Centers the image in the container */
    background-repeat: no-repeat; /* Prevents image from repeating */
    background-attachment: fixed; /* Optional: keeps the background image fixed during scrolling */
  }
  
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-gap: 20px; /* Space between cards */
  }
  
  .card1{
    display: flex;
    align-items: center;
    background: #243949;
    background: linear-gradient(
      to right,
      #243949,#517fa4
    );
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 50px;
    transition: box-shadow 0.3s ease;
    
  }

  .card2 {
    display: flex;
    align-items: center;
    background-image: linear-gradient(to bottom, #ffffff, #dadce8, #b2bad1, #859cbb, #517fa4);    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 50px;
    transition: box-shadow 0.3s ease;
    
  }
    
  .card3{
    display: flex;
    align-items: center;
    background-image: linear-gradient(to bottom, #ffffff, #dadce8, #b2bad1, #859cbb, #517fa4);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 50px;
    transition: box-shadow 0.3s ease;
    
  }

  .card4 {
    display: flex;
    align-items: center;
    background: #243949;
    background: linear-gradient(
      to right,
      #243949,#517fa4
    );
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 50px;
    transition: box-shadow 0.3s ease;
    
  }
  

  .card1:hover, .card2:hover, .card3:hover, .card4:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  .card-content {
    flex: 1;
  }
  



  .card1-title, .card4-title {
    font-size: 1.2em;
    margin: 0 0 10px;
    color: white;
  }
  
  .card1-description, .card4-description {
    font-size: 0.9em;
    color: white;
  }
  
  .card1-icon, .card4-icon{
    font-size: 1.5em; /* Adjust size as needed */
    color: white; /* Adjust color as needed */
    margin-left: 20px;
  }
  
  .card1-icon i, .card4-icon i {
    transition: color 0.3s ease;
  }
  
  .card1:hover .card1-icon i, .card2:hover .card2-icon i, .card3:hover .card3-icon i, .card4:hover .card4-icon i {
    color: #3498db; /* Change color on hover */
  }
  
  

  .card2-title, .card3-title {
    font-size: 1.2em;
    margin: 0 0 10px;
    color: black;
  }
  
  .card2-description, .card3-description {
    font-size: 0.9em;
    color: black;
  }
  
  .card2-icon, .card3-icon{
    font-size: 1.5em; /* Adjust size as needed */
    color: black; /* Adjust color as needed */
    margin-left: 20px;
  }
  
  .card2-icon i, .card3-icon i {
    transition: color 0.3s ease;
  }






  .kontakt-img {
    background-image: linear-gradient(to bottom, #3c0d4b, #59346c, #775a8e, #9681b1, #b8a9d4);
  }

  .kontakt-container{
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
}
.kontakt-main{
    font-size: 4em;
    margin-bottom: 30px;
    color: white;
    scroll-margin-top: 100px; /* Adjust this value as needed */
}

.kontakt-minion{
    font-size: 30px;
    color: #fff; 
    font-weight: 100;
    transition: 0.5s ease-in-out;
    padding-bottom: 50px;   
}



.info-container{
    display: flex;
    justify-content: space-between;
    padding: 20px 0;

}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    max-width: 100%;
    padding-right: 50px;
    width: 800px;
    height: 650px;
    color: white;
    background: #ffffff00;
    backdrop-filter: blur(5px);
    border-radius: 10px;
    
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1px;
}

  
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    justify-content: flex-end;
    padding: 5px;
    border-radius: 20px;
    margin-top: 40px;
}

.contact-item .material-symbols-outlined {
    font-size: 24px;
    color: #FFC60A;
    display: flex;
    margin-left: 20px;
    align-items: center;
}

.contact-item a{
    display: flex;
    justify-content: end;
    text-decoration: none;
    font-size: 1.5em;
    color: white;
    background-color: #1919197a;
    border-radius: 20px;
    padding: 10px;
}


/* New Working Hours styles */
.post-it {
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-right: 20px; /* Space between working hours and buttons */
}

.middle{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    align-items: end;
  }


  /*        Facebook       */
  .btn-fab{
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #f1f1f1;
    margin: 10px;
    border-radius: 30%;
    box-shadow: 0 5px 15px -5px #00000070;
    color: #3498db;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    justify-content: end;    
  }
  .btn-fab i{
    display: flex;
    flex-direction: column;
    align-content:  center;
    line-height: 50px;
    font-size: 26px;
    transition: 0.2s linear;
  }

  .btn-fab:hover i{
    transform: scale(1.3);
    color: #f1f1f1;
  }
  .btn-fab::before{
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    background: #3498db;
    transform: rotate(45deg);
    left: -110%;
    top: 90%;
  }
  .btn-fab:hover::before{
    animation: aaa 0.7s 1;
    top: -10%;
    left: -10%;
  }
  @keyframes aaa {
    0%{
      left: -110%;
      top: 90%;
    }50%{
      left: 10%;
      top: -30%;
    }100%{
      top: -10%;
      left: -10%;
    }
}



/*        WhatsApp       */
.btn-wapp{
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #f1f1f1;
    margin: 10px;
    border-radius: 30%;
    box-shadow: 0 5px 15px -5px #00000070;
    color: #25D366;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    justify-content: end;
    
  }
  .btn-wapp i{
    display: flex;
    flex-direction: column;
    align-content:  center;
    line-height: 50px;
    font-size: 26px;
    transition: 0.2s linear;
  }
  .btn-wapp:hover i{
    transform: scale(1.3);
    color: #f1f1f1;
  }
  .btn-wapp::before{
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    background: #25D366	;
    transform: rotate(45deg);
    left: -110%;
    top: 90%;
  }
  .btn-wapp:hover::before{
    animation: aaa 0.7s 1;
    top: -10%;
    left: -10%;
  }
  @keyframes aaa {
    0%{
      left: -110%;
      top: 90%;
    }50%{
      left: 10%;
      top: -30%;
    }100%{
      top: -10%;
      left: -10%;
    }
}


.map-container {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 800px; /* Adjust as needed */
    height: 600px; /* Adjust as needed */
}


.mapBg {
    background-color: #ba7186;
    justify-content: center;
    filter: brightness(80%);
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    
}

.map {
    position: relative;
    display: flex;
    justify-content: start;
    top: -40px;
    left: -40px;
    border: #ba7186;
  }
  

  iframe{
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
  }

  .bottom-item {
    display: flex;
    align-items: center;
    flex-direction: row;
    text-align: center;
    justify-content: space-evenly;
    margin-bottom: 40px;
    position: relative;
    justify-content: flex-end;
    padding: 5px;
    border-radius: 20px;
    margin-top: 40px;
}


table{
    background-color: #1919197a;
    padding: 10px;
    border-radius: 30px;
    width: 110%;
}

caption{
    font-size: 20px; 
    text-transform: uppercase;
    font-weight: bold;
}
.footer-bg {
  background: #ba718673;
  width: 100%;
  height: auto;
  filter: brightness(80%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Adjust shadow size and color as needed */
  position: relative;
  z-index: 2; /* Ensure the footer is above the background */
}

footer {
  color: white;
  display: flex;
  justify-content: space-evenly;
}




/* Media Query*/

/* Aspect ratio-based adjustments */




/* Width-based adjustments for various screen sizes */


/* Extra Small Screens (XS) */
/* Devices with a maximum width of 767px, including most modern smartphones */
@media (max-width: 767px) {  /* Styles for small screens (e.g., larger smartphones) */
  .burger-menu {
    display: block;
  }

  .burger-icon, .close-icon {
    font-size: 24px; /* Smaller size for mobile screens */
  }

  .fabb-container {
    bottom: 1rem; /* Adjust for smaller screens */
    right: 1rem;  /* Adjust for smaller screens */
  }

  .fabb {
    width: 48px; /* Smaller FAB on mobile */
    height: 48px; /* Smaller FAB on mobile */
    font-size: 20px; /* Adjust icon size */
  }

  .fabb-menu {
    bottom: 64px; /* Adjust menu position on smaller screens */
  }

    #contactButton, #wapp-btn, #mail-btn, #call-btn {
    height: 40px; /* Adjust size for tablets */
    width: 40px; /* Adjust size for tablets */
  }


  .nav-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 0; /* Initially collapsed */
    overflow: hidden; /* Hide overflow during transition */
    position: absolute;
    top: 100%; /* Position below the main-nav */
    left: 0;
    background: rgba(0, 0, 0, 0.9); /* Darker background for better visibility on mobile */
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, visibility 0.3s ease-out; /* Smooth transition for expand/collapse */
    opacity: 0;
    visibility: hidden;
    align-items: center;
    row-gap: 20px;
}

  .nav-list.menu-active {
    max-height: 500px; /* Enough to accommodate the content */
    opacity: 1;
    visibility: visible;
  }

  .nav-item {
    margin: 15px 0; /* Vertical margin for mobile view */
  }


/* Styles for the navigation links */
.nav-link {
  color: white;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: #ed3a1a; /* Change text color on hover */
}

.nav-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Logo styles */
.logo {
  width: 50px; /* Adjust as needed */
}

/* Navigation item styles */
.nav-item {
  list-style: none;
  display: inline-block;
  margin-left: 40px;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  font-size: 17px;
}


  .back-video {
    width: 100%;
    height: 100%; /* Adjust height for small screens */
    object-position: 60% center;
    object-fit: cover;
    
  }

  .container {
    max-width: 800px; /* Adjust max-width for medium screens */
  }

.usluge {
    padding: 40px 20px; /* Reduce padding for small screens */
    align-items: center; /* Center children vertically */
    flex-direction: column; /* Stack items vertically */
}

.main-title, .radovi-main, .onama-main, .kontakt-main{
    font-size: 2em; /* Adjust font size for small screens */
    text-align: center;
}

.minion-main, .radovi-minion, .onama-minion, .kontakt-minion {
    font-size: 1.25em; /* Adjust font size for small screens */
    padding-bottom: 20px;
    text-align: center;
    margin: 0 10px;
}

.content-link{
  font-size: 24px;
}

.c_content {
    width: 100vw; /* Full width for small screens */
    flex-direction: column; /* Stack content vertically */
    align-items: center;
}

.c_content:hover {
  transform: none;
  transform: none; /* No scaling on touch */
}

.c_content .image, .simage, .tdimage, .poimage {
  position: relative;
  width: 800px;
  height: 300px;
  overflow: hidden;
}

.c_content .image img { object-position: center 50%; }
.c_content .simage img { object-position: center 80%; }
.c_content .tdimage img { object-position: center 15%; }
.c_content .poimage img { object-position: center 15%; }


.c_content .image img, .c_content .simage img, .c_content .tdimage, .c_content .poimage {
    width: 100%;
    height: 300px;
}


.c_content .text-box {
    width: 100%; /* Full width for small screens */
    align-items: center;
    transform: translate(0, 20px); /* Adjust transform for better positioning */
}

.project_container {
  flex-direction: column;
}

/* Mobile-specific styles for the filter bar container */
.filter-buttons {
  display: flex;
  flex-direction: row; /* Arrange items horizontally */
  overflow-x: auto; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Hide vertical scrollbar */
  width: 100%; /* Full width */
  margin-right: none; /* Remove right margin */
  margin-left: none;
  padding-right: 10px; /* Adjust padding-right */
  padding-left: 10px;
  box-shadow: none; /* Remove shadow if needed */
  background: none;
  backdrop-filter: none;
  border-right: none;

}

/* Apply horizontal scroll styling */
.horizontal-scroll {
  display: flex; /* Make sure the container is a flex container */
  align-items: center;
  justify-content: flex-start; /* Align items to the start */
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 0;
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: rgba(0,0,0,0.3) transparent; /* For Firefox */
}

/* Hide scrollbar for WebKit browsers */
.horizontal-scroll::-webkit-scrollbar {
  height: 8px; /* Adjust height as needed */
}

.horizontal-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.3);
  border-radius: 10px;
}

.horizontal-scroll::-webkit-scrollbar-track {
  background: transparent;
}

/* Style each button (anchor element) for mobile */
.horizontal-scroll a {
  display: flex; /* Use flexbox for alignment */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  flex: 1; /* Ensure buttons have equal sizes */
  min-width: fit-content; /* Adjust as needed to fit content */
  padding: 10px 15px; /* Adjust padding to fit content */
  background-color: #0d0c0c20;
  border: 3px solid #ffffff73;
  border-radius: 5px;
  margin-right: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  text-align: center; /* Center text horizontally */
}

.horizontal-scroll a i {
  margin-right: 8px; /* Space between icon and text */
  font-size: 16px; /* Adjust icon size */
}

/* Hover effect for buttons */
.horizontal-scroll a:hover {
  background: rgba(10, 133, 163, 0.3);
  transform: translateY(-2px);
}

/* Active item styling */
.horizontal-scroll a.active {
  background: rgba(10 68 82);
  transform: translateY(-2px);
}

/* Style the active button underline */
.horizontal-scroll a.active::after {
  width: 100%; /* Full width underline on active item */
  background: linear-gradient(to left, #6F71AE, #C85676); /* Gradient underline */
}

.horizontal-scroll a span {
  display: block; /* Ensure text is treated as a block for better alignment */
  text-overflow: ellipsis; /* Add ellipsis if text overflows */
  text-align: center; /* Center text horizontally */
}

.filter-buttons a{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px; /* Adjust padding */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  /* Ensure buttons have equal sizes */
}

.filter-buttons a.active::after{
  width: 100%;
}

.radovi-container{
  flex-direction: column;
}


.swiper-slide img {
  height: 650px;
  display: block;
  position: relative;
  object-fit: cover;
  z-index: 2;
}

.swiper-slide:hover {
  transform: none /* Slightly enlarge slide on hover */
}

.swiper-button-next, .swiper-button-prev {
  width: 60px; /* Larger size for mobile */
  height: 60px;
  font-size: 28px; /* Larger icon size for better visibility on mobile */
  padding: 10px; /* Extra padding for easier tapping */
  bottom: 1rem; /* Adjust position if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Background for mobile */
}

.swiper-button-next:active, .swiper-button-prev:active {
  background-color: rgba(0, 0, 0, 0.7); /* Darker background on touch */
  transform: scale(0.95); /* Slight scale down */
}


.kontakt-container{
  flex-direction: column;
  margin: 0;
}



.onama-lista{
  flex-direction: column;
}

.onama-box {
  padding: 10px;
  text-align: center;
}

.onama-container {
  text-align: center;
}

.onama-main, .onama-minion {
  font-size: 1.5em;
}

.onama-lista {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  margin: 0;
}

.onama-lista li {
  list-style: none;
  margin: 10px 0;
}

.onama-tekst {
  width: 100%;
  padding: 10px;
  text-align: center;
}

.onama-tekst p {
  margin-left: 0;
}
.onama-titel {
  font-size: 1.8em;
  margin: 30px 0 10px 0; /* Add margin below title */
}

.onama-lista .onama-img {
  width: 100%; /* Set a specific width */
  height: 100%; /* Set the same height to maintain the circular shape */
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 100%; /* Ensure the image remains circular */
  object-fit: cover; /* Cover the entire area of the circle */
  margin: 20px 0; /* Add margin for spacing between elements */
  align-self: center;
  
}

.cards-box{
  width: 100%;
}
.cards-grid{
  display: flex;
  flex-direction: column;
}

.card1, .card2, .card3, .card4{
  flex: 1 1 auto; /* Allow cards to take up full width */
  margin-bottom: 20px; /* Space between stacked cards */
  }


  .info-container{
    flex-direction: column;
    margin: 10px; /* Adjust margin for smaller screens */
  }

  .contact-info {
    width: 100%;
    height: auto;
    padding-right: 0;
    margin-bottom: 45px;
}

.contact-info a{
  font-size: 17px; /* Smaller text size for smaller screens */
}

.button-box{
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  margin: 20px 0;
}

.map-container {
  width: 100%;
  height: auto;
}

.map {
  left: 0;
  width: 100%;
  height: 100%;
}

iframe {
  width: 100%;
  height: 300px; /* Adjust height for smaller screens */
}


.contact-item, .bottom-item {
  flex-direction: column;
  margin: 0 10px; /* Add horizontal margins */
  align-items: center;
}

.contact-item {
  margin-bottom: 20px;
  flex-direction: row;
}

.post-it {
  margin-right: 0;
}

table{
  align-self: center;
}


html, body {
  overflow-x: hidden;
}

.back-to-top {
  transform: translateX(-50%) !important;
}

}

/* Medium Screens (MD) */
/* Devices with a width between 768px and 1024px, including tablets and small to medium-sized laptops */
@media (min-width: 768px) and (max-width: 1024px)  { /* Styles for tablets (e.g., iPad, Samsung Galaxy Tab) and small laptops */
  html, body {
    overflow-x: hidden;
  }

    .hero {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
    }

    .content-link{
      font-size: 28px;
    }


    .fabb-container {
      bottom: 1.5rem; /* Adjust positioning for tablets and small laptops */
      right: 1.5rem;  /* Adjust positioning for tablets and small laptops */
    }
  
    .fabb {
      width: 56px; /* Slightly larger FABs for tablets and small laptops */
      height: 56px; /* Slightly larger FABs for tablets and small laptops */
      font-size: 24px; /* Adjust icon size */
    }
  
    .fabb-menu {
      bottom: 72px; /* Adjust menu position for tablets and small laptops */
    }
  
    #contactButton, #wapp-btn, #mail-btn, #call-btn {
      height: 48px; /* Adjust size for tablets */
      width: 48px; /* Adjust size for tablets */
    }

    .burger-menu {
      display: block;
    }
  
    #burger-icon, #close-icon {
      font-size: 30px; /* Smaller size for mobile screens */
    }
  
  
    .nav-list {
      display: flex;
      flex-direction: column;
      width: 100%;
      max-height: 0; /* Initially collapsed */
      overflow: hidden; /* Hide overflow during transition */
      position: absolute;
      top: 100%; /* Position below the main-nav */
      left: 0;
      background: rgba(0, 0, 0, 0.9); /* Darker background for better visibility on mobile */
      transition: max-height 0.3s ease-out, opacity 0.3s ease-out, visibility 0.3s ease-out; /* Smooth transition for expand/collapse */
      opacity: 0;
      visibility: hidden;
      align-items: center;
      row-gap: 20px;
  }
  
    .nav-list.menu-active {
      max-height: 500px; /* Enough to accommodate the content */
      opacity: 1;
      visibility: visible;
    }
  
    .nav-item {
      margin: 15px 0; /* Vertical margin for mobile view */
    }
  
  
  /* Styles for the navigation links */
  .nav-link {
    color: white;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
  }
  
  .nav-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }
  
  .nav-link:hover {
    color: #ed3a1a; /* Change text color on hover */
  }
  
  .nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  
  /* Navigation item styles */
  .nav-item {
    list-style: none;
    display: inline-block;
    margin-left: 40px;
  }
  
  .nav-link {
    text-decoration: none;
    color: #fff;
    font-size: 17px;
  }
    
.back-video {
  width: 100%;
  height: 100%; /* Adjust height for medium-sized screens */
}


.main-nav {
  padding: 15px 5%;
}


.nav-link {
  font-size: 16px; /* Adjust font size for medium screens */
}

.nav-item {
  margin-left: 20px; /* Adjust spacing between navigation items */
}

.main-title, .radovi-main, .onama-main, .kontakt-main {
  font-size: 3em; /* Slightly smaller font size for the main title */
}

.minion-main, .radovi-minion, .onama-minion, .kontakt-minion{
  font-size: 20px; /* Adjust font size for better readability */
}


  .usluge {
    padding: 60px 40px; /* Adjust padding for medium screens */
  }

  .container {
    max-width: 800px; /* Adjust max-width for medium screens */
  }

  .c_content {
    width: 100vw; /* Full width for small screens */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: 85px;

  }

    /* Optionally, you can provide feedback on touch by using the :active pseudo-class */
  .c_content:hover {
    transform: none;
  }


.c_content .image img, .c_content .simage img{
  width: 100%;
  transform: scale(1.2);
  height: 310px;
  object-fit: cover;
}

.c_content .image, .simage, .tdimage, .poimage {
  position: relative;
  width: 95vw;
  height: 300px;
  overflow: hidden;
  }

.c_content .img {
  border-radius: 8px; /* Slightly smaller border-radius */
  overflow: visible;
  
}


.c_content .text-box {
  width: 100%;
  max-width: none; /* Ensure text-box does not exceed screen width */
  transform: translate(-80px, 50px);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 223;
}

.c_content .text-box h3 {
  font-size: 1.5em; /* Adjust font size for headings */
}

.text-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.text-box li {
  margin-bottom: 10px; /* Adjust spacing between list items */
}


.text-box li .material-symbols-outlined {
  font-size: 20px; /* Adjust icon size */
  transform: translateY(0); /* Reset icon vertical alignment */
}

.text-box h3 span {
  font-size: 30px; /* Adjust icon size in heading */
}

.project_container {
  flex-direction: column;
  margin-bottom: 50px;
}


/* Mobile-specific styles for the filter bar container */
.project_container {
  flex-direction: column;
}

/* Mobile-specific styles for the filter bar container */
.filter-buttons {
  display: flex;
  flex-direction: row; /* Arrange items horizontally */
  overflow-x: auto; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Hide vertical scrollbar */
  width: 100%; /* Full width */
  margin-right: none; /* Remove right margin */
  margin-left: none;
  padding-right: 10px; /* Adjust padding-right */
  padding-left: 10px;
  box-shadow: none; /* Remove shadow if needed */
  background: none;
  backdrop-filter: none;
  border-right: none;

}

/* Apply horizontal scroll styling */
.horizontal-scroll {
  display: flex; /* Make sure the container is a flex container */
  align-items: center;
  justify-content: flex-start; /* Align items to the start */
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 0;
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: rgba(0,0,0,0.3) transparent; /* For Firefox */
}

/* Hide scrollbar for WebKit browsers */
.horizontal-scroll::-webkit-scrollbar {
  height: 8px; /* Adjust height as needed */
}

.horizontal-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.3);
  border-radius: 10px;
}

.horizontal-scroll::-webkit-scrollbar-track {
  background: transparent;
}

/* Style each button (anchor element) for mobile */
.horizontal-scroll a {
  display: flex; /* Use flexbox for alignment */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  flex: 1; /* Ensure buttons have equal sizes */
  min-width: fit-content; /* Adjust as needed to fit content */
  padding: 10px 15px; /* Adjust padding to fit content */
  background-color: #0d0c0c20;
  border: 3px solid #ffffff73;
  border-radius: 5px;
  margin-right: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  text-align: center; /* Center text horizontally */
}

.horizontal-scroll a i {
  margin-right: 8px; /* Space between icon and text */
  font-size: 16px; /* Adjust icon size */
}

/* Hover effect for buttons */
.horizontal-scroll a:hover {
  background: rgba(10, 133, 163, 0.3);
  transform: translateY(-2px);
}

/* Active item styling */
.horizontal-scroll a.active {
  background: rgba(10 68 82);
  transform: translateY(-2px);
}

/* Style the active button underline */
.horizontal-scroll a.active::after {
  width: 100%; /* Full width underline on active item */
  background: linear-gradient(to left, #6F71AE, #C85676); /* Gradient underline */
}

.horizontal-scroll a span {
  display: block; /* Ensure text is treated as a block for better alignment */
  text-overflow: ellipsis; /* Add ellipsis if text overflows */
  text-align: center; /* Center text horizontally */
}

.filter-buttons a{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px; /* Adjust padding */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  /* Ensure buttons have equal sizes */
}

.filter-buttons a.active::after{
  width: 100%;
}

.radovi-container{
  flex-direction: column;
}


.swiper-slide img {
  height: 650px;
  display: block;
  position: relative;
  z-index: 2;
}

.swiper-slide:hover {
  transform: none /* Slightly enlarge slide on hover */
}




.onama-box {
  display: flex;
  flex-direction: column; /* Stack header elements vertically */
  gap: 15px; /* Space between header and content */
}

.onama-container {
  text-align: center;
}

.onama-main {
  font-size: 2.5em; /* Adjust font size for the main heading */
}

.onama-minion {
  font-size: 1.8em; /* Adjust font size for the subheading */
}

.onama-lista {
  flex-direction: column;
  align-items: center;
}

.onama-lista li {
  width: 80%;
  margin-bottom: 20px;
}

.onama-img-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.onama-img {
  margin-right: 0px !important;
}



.cards-grid {
  display: flex;
  flex-direction: column; /* Arrange cards in a column */
  gap: 15px; /* Space between cards */
}


.card1, .card2, .card3, .card4 {
  flex: 1 1 100%; /* Each card takes up the full width of the container */
  max-width: 100%; /* Ensure cards take up full width */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.card-content {
  padding: 15px; /* Adjust padding for cards */
}

.card-icon {
  padding: 10px;
  background-color: #f5f5f5;
  text-align: center;
}

.card1-icon i, .card2-icon i, .card3-icon i, .card4-icon i {
  font-size: 24px; /* Icon size */
}


.info-container {
  flex-direction: column;
  margin: 20px; /* Slightly increased margin for medium screens */
}

.contact-info {
  width: 100%;
  height: auto;
  padding-right: 10px; /* Add padding-right for spacing */
  margin-bottom: 30px; /* Adjust margin-bottom for medium screens */
}

.contact-info a {
  font-size: 25px; /* Adjust text size for medium screens */
}

.button-box {
  display: flex;
  flex-direction: row; /* Keep buttons in a row for medium screens */
  justify-content: center;
  text-align: center;
  margin: 20px 0;
}

.map-container {
  width: 100%;
  height: 300px; /* Adjust height for better visibility on medium screens */
}

.map {
  width: 100%;
  height: 100%; /* Ensure the map takes full container height */
}

iframe {
  width: 100%;
  height: 300px; /* Adjust height to fit medium screens */
}

.contact-item, .bottom-item {
  flex-direction: column; /* Stack items vertically on medium screens */
  margin: 10px; /* Adjust margin for medium screens */
  align-items: center;
}

.contact-item {
  margin-bottom: 20px;
  flex-direction: row; /* Keep contact items in a row for medium screens */
}

.post-it {
  margin-right: 10px; /* Add margin-right for better spacing */
}

caption{
  font-size: 28px; /* Increase caption font size for better readability on tablets */
  margin-bottom: 15px; /* Increase space between caption and table */
}

table {
  width: 100%; /* Ensure table takes full width */
  margin: 10px 0; /* Add margin for spacing */
  border-collapse: collapse; /* Ensure table borders are collapsed */
  font-size: 25px;
}

table td, table th {
  padding: 5px 50px; /* Add more padding for better touch interaction */
  text-align: center;
}



}
