* {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

.banner {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: -1;
}

.navbar {
  width: 100%;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: fixed;
  top: 0;
  background-color:#f0f0f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 999; /* Postavite veći z-index */
}

.logo {
  width: 140px;
  cursor: pointer;
  margin-left: 80px;
}

.navbar ul {
  list-style: none;
  display: flex; /* Promijenjeno u flex */
}

.navbar ul li {
  margin: 0 20px;
}

.navbar ul li a {
  text-decoration: none;
  color: #009688;
  font-weight: bold;
  text-transform: uppercase;
}
@media screen and (max-width: 768px) {
  .navbar {
    padding: 10px 0;
  }

  .logo {
    width: 100px;
  }

  .navbar ul {
    flex-direction: row;
    align-items: flex-start;
    background-color:#f0f0f0 ; /* Change background color */
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 10px 0;
    opacity: 1; /* Change opacity to 1 */
    visibility: visible; /* Change visibility to visible */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
  }

  .navbar ul.active {
    opacity: 1;
    visibility: visible;
  }

  .navbar ul li {
    margin: 7px 14px;
  }
  .navbar ul li a {
    font-size: 10px;
  }
}

/* Ostatak CSS-a ostaje isti */


.navbar ul li::after{
  content:'';
  height: 3px;
  width: 0;
  background:#009688;
  position:absolute;
  left:0;
  bottom:-10px;
  transition:0.5s;
}
.navbar ul li:hover::after{
  width:100%;
}
#banner{
  background-image: linear-gradient(rgba(0,0,0,0.5),#00964b4b),url("background.jpg");
  background-size:cover;
  background-position:center;
  height:100vh;
  
}
.banner-text{
  text-align:center;
  color:#ffffff69;
  padding-top:200px;
}
.banner-text h1{
  font-size:50px;
  margin-bottom:25px;
  color:#ffffff69;
}

.banner-text p{
  font-size:30px;
  font-style:italic;
  color:#ffffff69;
}
.banner-btn{
  margin:70px auto 0;
  font-family: Arial, Helvetica, sans-serif;
}
.banner-btn a{
  width:500px;
  height: 200px;
  text-align:center;
  vertical-align: middle; 
  line-height:200px;
  font-style:italic;
  font-size: 25px;
  text-decoration:none;
  display:inline-block; 
  margin:0 10px;
  padding:12px 0;
  color:#ffffff69;;
  border: .5px solid #ffffff69;
  position:relative;
  z-index: 1;
  transition:color 0.5s;
  cursor:pointer;
  box-shadow: 8px 8px 12px rgba(0,0,0,0.3);
}
.banner-btn a span{
  width:0;
  height:100%;
  position:absolute;
  top:0px;
  left:0;
  background:#fff;
  z-index: -1;
  transition:0.5s;
}
.banner-btn a:hover span{
  width:100%;
  background-color: #ffffff69;
}
.banner-btn a:hover {
  color:#000;
}
@media screen and (min-width: 360px) and (max-width: 700px) {
  .banner-text h1 {
    font-size: 24px; /* Adjusted font size for better readability */
    color: #ffffff69;
    margin: 0; /* Reset margin for better spacing */
  }

  .banner-btn a {
    display: inline-block;
    width: 150px; /* Reduced button width */
    height: 50px; /* Reduced button height */
    margin: 10px 0; /* Adjusted margin for better spacing */
    padding: 12px 0;
    color: #ffffff69;
    border: 1px solid #ffffff69; /* Adjusted border size */
    border-radius: 5px; /* Added border-radius for better appearance */
    text-align: center;
    text-decoration: none;
    font-style: italic;
    font-size: 14px; /* Adjusted font size for better readability */
    line-height: 1; /* Reset line height */
    position: relative;
    z-index: 1;
    transition: color 0.5s;
    cursor: pointer;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3); /* Adjusted box shadow */
  }
}

@media(max-width: 1550px){
  .left{
    display:inline-block;
  }
}
.foter-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90%;
  padding: 20px;
  background-color: #f9f9f9; /* Light background color */
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
  margin: 20px auto;
}

.right, .left {
  width: 100%;
  text-align: center;
}

.right h3, .left h3 {
  font-size: 24px; /* Larger font size */
  font-weight: bold;
  color: #333; /* Darker text color */
  font-family: 'Arial', sans-serif;
  margin-bottom: 10px;
}

.right h5, .left h5 {
  font-family: 'Arial', sans-serif;
  font-size: 18px; /* Slightly larger font size */
  line-height: 1.6; /* Improved line spacing */
  color: #555; /* Darker text color */
}

.left {
  margin-top: 50px; /* Add a 20px gap */
}






#SERVICES{
  width:100%;
  padding:70px 0;
}
.title-text{
  text-align: center;
  padding-bottom:70px; 
}

.title-text p{
  margin-bottom:20px;
  margin-top:50px;
  font-size:20px;
  font-style: italic;
  font-weight: bold;
  color:#009688;
  font-weight: bold;
  position: relative;
  z-index: 1;
  display:inline-block;
  
}
.title-text hr{
  background-color: #009688;
  height:2px;
  border:0;
  margin:15px auto;
  width: 20%;
}
.title-text h2{
 
  font-size:30;
  font-style: italic;
  font-weight: bold;
  color:#009688;
  margin-top:5px;
  text-align: center;
}
.title-text p::after{
  content:'';
  width:50px;
  height:35px;
  background:linear-gradient(#009688,#fff);
  position:absolute;
  top:-20px;
  left:0;
  z-index: -1;
  transform:rotate(10deg);
  border-bottom-right-radius: 35px ;
  border-top-left-radius: 35px;
}


.services{
  flex-basis:50%;
  color:#009688;
}
.services-box{
  width:70%;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-around;
  margin:auto;
  align-items:center;
}
.single-service{
  flex-basis:48%;
  text-align:center;
  border-radius: 7px;
  margin-bottom:20px;
  color:#fff;
  align-items: center;
  position:relative;
}
.single-service img{
  width:100%;
  border-radius:8px;
  margin-bottom:20px;
  
}
.overlay{
  width:100%;
  height:94.8%;
  position:absolute;
  top:0;
  border-radius:7px;
  cursor:pointer;
  background: linear-gradient(rgba(0,0,0,0.5),#efefef);
  transition:1s;
  opacity:0;
}
.single-service:hover .overlay{
  opacity:1;
}
.service-desc {
  font-size: 25px;
  font-style: italic;
  font-weight: bold;
  color:#ffffff69;
  position:absolute;
  bottom:0;
  opacity:0;
  left:50%;
  width:80%;
  transform: translate(-50%); 
  transition: 1s;
}
.service-desc hr{
  background:#ffffff69;
  height:2px;
  border:0;
  margin:15px auto;
  width: 60%;
}
.service-desc p{
  margin-top:50px;
}
.single-service:hover .service-desc{
  bottom:55%;
  opacity:1;
}

#CONTACT{
  padding:100px 0 20px;
  background:#efefef;
}
.fotter-row{
  width:80%;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
}
.fotter-left,.fotter-right{
  flex-basis:45%;
  padding:10px;
  margin-bottom:20px;
}
.fotter-right{
  text-align:right;
}
.fotter-row h1{
  margin:10px 0;
  font-style: italic;
  font-weight: bold; 
  font-family:Calibri;
}
.fotter-row p{
  line-height:35px;
  font-family:Calibri;
}
.footer-mid h2{
  font-size:30;
  font-style: italic;
  font-weight: bold;
  color:black;
  margin:20px  auto;
  text-align: center;
}
.contact-box{
  min-height: 100vh;
  display:flex;
  justify-content: center;
  align-items:center;
  
}
#djelatnici{
  font-size:auto;
  
}
form{
  padding-top:50px;
  width:670px;
  height:400px;
  display:flex;
  justify-content: center;
  border-radius:15px;
  box-shadow:20px 20px 20px rgba(0,0,0,0.5);
  flex-wrap:wrap;
  backdrop-filter: blur(10px);
}

.input-field{
  width:400px;
  color:black;
  margin-top:20px;
  padding-left:10px;
  border:1px solid #777;
  border-radius:15px;
  align-items:flex-start;
  font-style: italic;
  font-weight: bold;
}

.btn{
  border-radius:20px;
  color:black;
  width:100px;
  height:50px;
  color:black;
  display:flex;
  margin-left:53px;
  margin-top:15px;
}
.contact-box form input{
  width:290px;
  height:40px;
  padding-left:10px;
  outline:none;
  font-size:15px;
  margin-bottom:10px;
  background: none;
  border:none;
  border-bottom:2px solid #009688;
  
} 
.contact-box form input::placeholder{
  color:#ddd;
}

.contact-box form #lastName,
.contact-box form #mobile{
  margin-left:20px;
}
.contact-box form #email,
.contact-box form #phone{
  margin-left:20px;
}

.contact-box form textarea{
  background:none;
  border:none;
  border-bottom:2px solid #009688;
  color:black;
  font-weight: 200;
  font-size:15px;
  padding:10px;
  outline:none;
  min-width:600px;
  max-width: 600px;
  min-height: 80px;
  max-height:80px;
}
form button{
  padding:15px;
  background:#777;
  color:white;
  font-size:18px;
  border:0;
  outline:none;
  cursor:pointer;
  width:150px;
  box-shadow:0 0 20px 0 #999;
  border-radius:30px;
 
}
button{
  width:50%;
  height:50px;
  box-shadow: 0 10px 20px 3px #00968814;
  background-color:#ffffff69;
  font-size:17px;
  text-align:center;
  vertical-align: middle; 
  font-style:italic;
  text-decoration:none;
  display:inline-block; 
  margin:0 10px;
  padding:12px 0;
  color:black;
  border: .5px solid #ffffff69;
  position:relative;
  z-index: 1;
  transition:color 0.5s;
  cursor:pointer;
  box-shadow: 8px 8px 12px rgba(0,0,0,0.3);
}
button:hover{
  cursor: pointer;
  transition:0.2s;
}
@media(min-width: 360px) and (max-width: 1550px)
{
   .service-desc h3{
    font-size:10px;
    
   }
 
}@media(max-width: 670px){
  .navbar{
    font-size:10px;
  }
}


