@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #FAFBFB;
    font-family: 'Roboto', sans-serif;
}

::-webkit-scrollbar {
    display: none;
}

.navigation-container {
    position: fixed;
    width: 100%;
    z-index: 10001;
}

.header-section {
    background-color: white;
    padding: 10px;
}

.company-logo {
    max-width: 160px;
    margin-left: 12%;
    height: auto;
}

.navbar-section {
    background-color: #282552;
    overflow: hidden;
    z-index: 999;
}

.nav-links {
    margin-left: 12%;
}

.navbar-section a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 18px 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.navbar-section a:hover {
    color: rgb(180, 180, 180);
}

.image-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    background-color: white;
    padding: 20px 50px;
    font-weight: bold;
}

.main-content img {
    width: 100%;
    height: auto;
}

.services-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.service-section {
    display: flex;
    margin-top: 100px;
    max-width: 1300px;
}

.service-image img {
    width: 100%;
    max-width: 550px;
    border-radius: 12px;
    margin-top: 20px;
    margin-left: 20px;
}

.service-text {
    color: #fff;
    max-width: 650px;
    margin-left: 45px;
}

.service-text h2 {
    color: #293261;
    border-bottom: 2px solid #293261;
    width: 91%;
    display: inline-block;
    padding-bottom: 5px;
}

.content-text {
    text-align: center;
    margin-top: 30px;
    font-size: 25px;
    font-weight: bold;
}

.service-description {
    color: black;
    font-size: 17px;
    width: 550px;
}

.content-text h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.information-block {
    margin-top: 50px;
    background-color: #f4f4f4;
    padding: 40px;
}

.info-section {
    margin-left: 20%;
}

.contact-btn {
    background-color: #282552;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
    display: inline-block;
}

.above-footer {
    display: flex;
    margin-top: 80px;
    justify-content: space-between;
    background-color: #282552;
    padding: 20px;
}

.above-footer img {
    margin-left: 12%;
    max-width: 600px;
    height: 200px;
}

.above-footer-text {
    max-width: 30%;
    color: white;
    font-size: 14px;
    margin-right: 180px;
}

.footer {
    background-color: #302C5E;
    color: white;
    text-align: center;
    padding: 20px;
}

.footer-icon {
    background-color: #302C5E;
    color: white;
    padding: 15px 18px;
    text-decoration: none;
    border-radius: 15px;
    margin-bottom: 25px;
    margin-right: 10px;
    display: inline-block;
}

.footer-button {
    background-color: #302C5E;
    color: white;
    padding: 15px 18px;
    text-decoration: none;
    border-radius: 15px;
    margin-bottom: 25px;
    margin-right: 10px;
    display: inline-block;
}

.scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #302C5E;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 28%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.scroll-to-top-btn.active {
    opacity: 1;
    visibility: visible;
}

/* Preloader styles */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: white;
}

#loader {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #3498db;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

.hide-preloader {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

/* Beginning for phone responsive */

@media only screen and (max-width: 600px) {
    .navigation-container {
        position: static;
    }

    .company-logo {
        max-width: 160px;
        margin-left: 37%;
        height: auto;
    }

    .header-section {
        padding: 5px;
    }

    .company-logo {
        max-width: 120px;
    }

    .nav-links {
        margin-left: 29%;
        text-align: center;
    }

    .image-text {
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 11px;
        background-color: white;
        padding: 20px 35px;
        font-weight: bold;
    }

    .service-section {
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
    }

    .service-text,
    .service-image {
        margin: 20px 0;
        text-align: center;
    }

    .service-image img {
        margin-left: 0;
    }

    .service-text h2 {
        margin-left: 0;
        width: auto;
    }

    .content-text {
        margin-top: 20px;
        font-size: 20px;
    }

    .service-description {
        width: auto;
        margin: 0 10px;
    }

    .info-section {
        margin-left: 0;
        text-align: center;
    }

    .above-footer {
        flex-direction: column;
        align-items: center;
        margin-top: 40px;
        padding: 10px;
    }

    .above-footer img {
        margin: 0;
        max-width: 100%;
        height: auto;
    }

    .above-footer-text {
        max-width: 90%;
        margin-right: 0;
        text-align: center;
    }

    .footer {
        padding: 10px;
    }
}