
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

h2{
    animation: slide-in 3s ease-out forwards;
    transform: translatex(50px); /* Start position below */
    opacity: 0; /* Initially hidden */
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar Styles */
/* Navbar Styles */
.navbar {
    background: #0044cc;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;

}

.navbar .title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.navbar .logo {
    display: inline-block;
    width: 50px;  /* Allow it to take up available space */
    height: 50px;  /* Let the height adjust proportionally */
    background-image: url('img/Supra Bridge Solutions.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
    object-fit: contain;  /* Ensure the image scales properly */
}


/* Navigation Links */
.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background 0.3s ease;
}

.nav-links a:hover {
    background: #003399;
    border-radius: 5px;
}

/* Hero Section Styles */
.hero {
    background: #f4f4f4;
    background: url('img/nejc-soklic-wO42Rmamef8-unsplash.jpg') bottom/cover no-repeat; /* Crop from the top */
    height: auto;
text-align: center;
padding: 5rem 1rem;

}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: slide-in 3s ease-out forwards;
    transform: translateY(50px); /* Start position below */
    opacity: 0; /* Initially hidden */
    color: white;
}

@keyframes slide-in {
    to {
        transform: translateY(0); /* Slide to original position */
        opacity: 1; /* Fully visible */
    }
}
.hero .btn {
    background: #0044cc;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background: #003399;
}

/* Footer Styles */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

.project-showcase {
    padding: 40px;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .project-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
  }
  
  .project-card h2 {
    font-size: 2rem;
    color: #007bff;
  }
  
  .project-card p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .project-card img {
    width: 100%;
    border-radius: 8px;
    margin: 20px 0;
  }
  
  .project-card ul {
    list-style: disc;
    padding-left: 20px;
  }
  
  .project-card a {
    color: #007bff;
    text-decoration: none;
  }
  
  .project-card a:hover {
    text-decoration: underline;
  }
  
  .contact .box{
        width: 300px;
        height: 150px;
        background-color: #ffffff;
        color: rgb(2, 2, 2);
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        font-size: 1.2rem;
        border: 2px solid #ffffff; /* Blue border */
  }
  
 .services li {
    border: 2px solid #ffffff;
    padding: 10px;
    margin-bottom: 5px;
}
