
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(255, 255, 255);
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    }
.header {
    height: 80px;
    top: 0; /* Remove the 50px top margin for sticky effect */
    margin: auto;
    width: 95%;  /* Set the width */
    background: linear-gradient(to right, #272727, rgb(58, 57, 59));
    position: sticky;
    z-index: 1000; /* Ensure it stays on top of other content */
    transition: opacity 0.8s ease; /* Smooth transition for disappearing */
   
}
.logo{
    width: 100px;
    position: absolute; /* Position the logo relative to the header */
    bottom: -10px;
    float: left;
    display: block;
    align-items: center; /* Vertically center the text */
    
}
.header h1 {
    font-size: 2.5rem;
    font-weight: 100;
    align-items: center; /* Vertically center the text */
}
.navbar {
    padding: 20px 50px 20px 20px;
    display: flex;
    justify-content: flex-end; /* Center the navbar items */
    width: 100%;
}
.navbar ul {
    list-style-type: none; /* Remove default list bullets */
    margin: auto;
    display: flex; /* Align list items in a row */
}

.navbar li {

    margin-left: 20px; /* Space between list items */
    
}
.navbar a {
    display: inline-flex; /* Ensure items stay side-by-side */
    align-items: center; /* Center text vertically */
    text-decoration: none; /* Remove underline */
    color: rgb(255, 255, 255); /* Text color */
    border-radius: 100px; /* Rounded corners */
    padding: 10px 20px; /* Padding */
    font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Font stack */
    font-size: 16px; /* Font size */
    font-weight: 600; /* Font weight */
    text-align: center; /* Center text horizontally */
    transition: background-color 0.3s ease, color 0.3s ease; /* Transition effects */
    cursor: pointer; /* Pointer cursor */
}
.navbar a:hover {
    font-weight: bold;
    background-color: rgb(255, 255, 255);
    color: rgb(36, 36, 36);
    border: 2px solid rgb(255, 255, 255);
}
* {
    box-sizing: border-box;
  }
.row {
    top: -150px;
   
    position: relative;
    
    
    width: 100%;
  }

.right {
  
    width: 100%;
    background-color: rgb(223, 225, 230); 
    height: 800px;
    
 
  }
  .right-image {
    width: 100%;
    height: 800px;
    object-fit: cover;  /* Ensures the image covers the whole space without distortion */
    
  

  transition: opacity 1s ease-in-out; /* Smooth fade transition */
   

}

@media screen and (max-width: 700px) {
    .row {
      flex-direction: column;
    }
  }
@media screen and (max-width: 400px) {
    .navbar a {
      float: none;
      width: 100%;
    }
  }
.podnaslov{
    margin: auto;
    color: rgb(255, 255, 255);
    font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Font stack */
    
}
.podnaslov h1{
    font-size:xxx-large;
    font-weight: lighter;
    animation: slideDown 2s ease-out forwards;
    opacity: 0; /* Start with invisible element */
}
@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes slideUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.podnaslov p {
    animation: slideUp 2s ease-out forwards;
    opacity: 0; /* Start with invisible element */
}

.line-container {
    margin: 80px auto;
    width: 95%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    
  }
  
  .horizontal-line {
    margin: auto;
    width: 95%;
    height: 1px; /* Line thickness */
    background-color: #000; /* Line color */
    position: relative;
    left: -100%; /* Start off-screen */
    transition: all 2.5s ease; /* Smooth transition */
  }
  .services-section {
    text-align: left;
    padding-left: 50px;
    background-color: rgb(235, 236, 240); 
  }
  
  .services-section h2 {
    
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight:normal;
  }
  
  .services-section p {
    font-size: 1.2rem;
    color: #666;
    
  }
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Black with opacity */
}

.modal video {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
  
  .services-row {
    
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    width: 95%; /* Set the width of the container to 95% */
    margin: 0 auto; /* Center the container */
  }
  
  .service-box {
    
    padding: 20px;
    width: 30%;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition effects */
    text-decoration: none; /* Remove underline for links */
    color: #000; /* Set text color */
  }
  .service-box:hover {
    transform: scale(1.05); /* Scale the box on hover */
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.3); /* Elevate the box */
}

.service-box h3, .service-box p {
    color: inherit; /* Ensure text color is inherited */
}

.service-box:active {
    transform: scale(1.02); /* Slightly shrink the box when clicked */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); /* Slightly reduce shadow */
}


  .service-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .service-box p {
    font-size: 1rem;
    color: #666;
  }
  
  @media screen and (max-width: 768px) {
    .service-box {
      width: 100%; /* Stack the boxes on smaller screens */
    }
  }
/* Footer General Styling */
.footer {
    width: 95%;
    margin: auto;
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center; /* Centers the whole block of links */
    width: 100%; /* Ensures it takes full width */
}
.footer-links ul {
    list-style: none;
    padding: 0;
    justify-content:center;
}

.footer-links li {
    align-items: center;
    display: inline-block;
    margin-right: 50px;
    text-align: center;
    justify-content:center;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #ffffff;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%; /* Take full width to center everything */
}
/* Footer Contact Info */
.footer-contact p {
    margin: 5px 0;
    font-size: 1rem;
}
.footer-socials {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.footer-socials a img {
    align-items: center;
    width: 24px;
    margin-right: 10px;
}

/* Footer Credits */
.footer-credits {
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.footer-credits a {
    color: #ffffff;
    text-decoration: none;
}

.footer-credits a:hover {
    text-decoration: underline;
}

/* Responsiveness */
@media screen and (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-links ul {
        padding: 0;
    }

    .footer-links li {
        display: block;
        margin: 5px 0;
    }

    .footer-socials {
        margin: 10px 0;
    }
}
.expertise-section {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Align items vertically in the center */
    padding: 50px;
    width: 95%;
    margin: auto;
   
}

.expertise-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.expertise-left h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.expertise-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid #333;
    border-radius: 50%;
    text-align: center;
    font-size: 1.5rem;
    color: #333;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.expertise-button:hover {
    background-color: #333;
    color: #fff;
}

.expertise-right {
    flex: 1;
    padding-left: 20px;
}

.expertise-right h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.expertise-right p {
    font-size: 1rem;
    color: #666;
}

/* Responsiveness */
@media screen and (max-width: 768px) {
    .expertise-section {
        flex-direction: column;
        text-align: center;
    }

    .expertise-left, .expertise-right {
        padding: 20px 0;
    }

    .expertise-left {
        align-items: center;
    }
}
.ikone {
    display: flex;
    justify-content: space-around; /* Distribute the icons evenly */
    align-items: center;
    gap: 5px; /* Space between icons */
    margin-bottom: 10px; /* Add space at the bottom to prevent overlap */
  }
  
  .icon {
    width: 220px;  /* Set the width of each icon */
    height: 220px; /* Set the height of each icon */
    object-fit: contain;
    transition: transform 0.3s ease-in-out; /* Smooth scaling transition */
  }
  
  .icon:hover {
    transform: scale(1.2); /* Scale up the icon on hover */
  }