body {
    font-family: Arial, sans-serif;
    background-color: #f4f9fd;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    background: #002147;
    color: #ffffff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #1f7dd4 3px solid;
}

header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    transition: color 0.3s, background-color 0.3s;
}

header a:hover, header a:focus {
    color: #1f7dd4;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 5px;
}

header ul {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

header li {
    float: none;
    display: inline;
    text-align: center;
    padding: 0 20px 0 20px;
    letter-spacing: 1px;
}

header #branding {
    float: left;
}

header #branding h1 {
    margin: 0;
}

header nav {
    float: right;
    margin-top: 10px;
}

section#showcase {
    min-height: 400px;
    background: url('/Kompiuteriu_klinika_1.jpg') no-repeat center center/cover;
    text-align: center;
    color: #ffffff;
    position: relative;
}

section#showcase .overlay {
    background: rgba(0, 33, 71, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

section#showcase h1 {
    font-size: 55px;
    margin-bottom: 10px;
}

section#showcase p {
    font-size: 20px;
}

section#showcase .highlighted {
    font-size: 60px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #14cfa7;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.card-horizontal {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin: 20px 0;
    padding: 20px;
    text-align: left;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.card-horizontal:hover {
    transform: translateY(-10px);
}

.card-img {
    width: 120px;
    height: 120px;
    margin-right: 20px;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
    word-wrap: break-word;
}

.card-content h3, .card-content p {
    margin: 0;
}

.card-content h3 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #333;
}

.card-content p {
    font-size: 18px;
    color: #666;
}

.card-horizontal a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.card-horizontal a:hover {
    text-decoration: none;
}

.center-content {
    text-align: center;
}

.fasadas-img {
    width: 21%;
    height: auto;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

footer {
    padding: 20px;
    margin-top: 20px;
    color: #ffffff;
    background-color: #002147;
    text-align: center;
    position: relative;
}

.facebook-link {
    display: block;
    margin: 20px auto;
    width: 150px;
    padding: 10px;
    background-color: #1f7dd4;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
}

section#contact {
    background-color: #f0f8ff;
    padding: 40px 0;
}

section#service-detail {
    padding: 40px 0;
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: rgba(0, 33, 71, 0.7);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
}

#scrollToTopBtn:hover {
    background-color: rgba(0, 33, 71, 0.9);
}

@media (max-width: 768px) {
    header ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px 0;
    }

    header li {
        float: none;
        display: block;
        text-align: center;
        padding: 10px 0;
    }

    section#showcase h1 {
        font-size: 32px;
    }

    section#showcase p {
        font-size: 16px;
    }

    section#showcase .highlighted {
        font-size: 36px;
    }

    .card-horizontal {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        padding: 15px;
    }

    .card-img {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }

    .fasadas-img {
        width: 100%;
    }

    #scrollToTopBtn {
        right: 15px;
        bottom: 15px;
    }
}
