body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: #619bd98a;
    padding: 1rem;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    height: 50px;
}

.navbar-links ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    font-weight: normal;
    transition: font-weight 0.3s;
}

.navbar-links a.active {
    font-weight: bold;
}

.service-overlay {
    background-image: url('../images/services.jpg'); 
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.service-content {
    color: white;
}

.service-title {
    font-family: 'Pacifico', cursive;
    position: absolute;
    left: 50%;
    top: 50px;
    transform: translateX(-50%);
    font-size: 50px;
    line-height: 88px;
    color: #FFFFFF;
    text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000
}

.service-links {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    position: absolute;
    left: 50%; 
    bottom: 20px; 
    transform: translateX(-50%); 
    justify-content: center; 
    align-items: center; 
    max-width: 90%;
    width: auto; 
    padding: 10px;
    overflow: hidden; 
    box-sizing: border-box; 
    white-space: nowrap;
}


.service-links a {
    color: white;
    text-decoration: none;
    font-weight: normal;
}

.service-links a:not(:last-child)::after {
    content: "|";
    margin: 0 10px;
    color: white;
}

.service-links a.active {
    font-weight: bold;
    text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000
}

.service-links a:hover {
    color: #7CC0FF;
}

.footer {
    text-align: right;
    padding: 20px;
    background-color: #619BD9;
    color: white;
    position: fixed;
    width: 100%;
    bottom: 0;
}

@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
    }

    .navbar-logo img {
        height: 40px;
    }

    .navbar-links ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .service-title {
        font-size: 40px;
    }

    .service-links {
        font-size: 18px;
        gap: 5px;
    }

    .service-links a:not(:last-child)::after {
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0.5rem;
    }

    .navbar-logo img {
        height: 35px;
    }

    .service-overlay {
        height: 200px;
    }

    .service-title {
        font-size: 32px;
    }

    .service-links {
        font-size: 16px;
        flex-direction: column;
        gap: 8px;
    }

    .service-links a:not(:last-child)::after {
        content: ""; 
    }

    .footer {
        font-size: 14px;
    }
}
