@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #ededed;
}

.terms-page h2 {
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-page p {
    margin-top: 0;
    padding-top: 0;
}

h1 {
    color: #021A1D;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

h1, h3 {
    font-size: 1.3em;
}

h2, h4 {
    font-size: 1.2em;
}

p, li {
    font-size: 18px;
}

.animated-block {
    width: 90%;
    max-width: 1200px;
    min-width: 200px;
    background-color: white;
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section:hover, .animated-block:hover {
    background-color: white;
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.animated-block:hover h2, .animated-block:hover p, .animated-block:hover li {
    color: #25386A; /*#34178;*/
}

.about-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 90%;
    max-width: 1200px;
    min-width: 200px;
    background-color: white;
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #606060;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section:hover h2, .about-section:hover p, .about-section:hover li {
    color: #25386A; /*#34178;*/
}

li {
    margin-bottom: 10px;
}



.about-page .icon-list li i {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    color: #25386A;
}



nav {
    background-color: #347178;
    color: white;
    text-align: center;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}


nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
}

a.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #347178;
    color: #fff;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

a.button:hover {
    background-color: #285a5f;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    background: #cf1937;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease;
    display: none;
    z-index: 1000;
}

#back-to-top:hover {
    background: #ff7b54;
    transform: scale(1.1);
}

.linkedin-logo {
    width: 30px;
    height: auto;
}

.hero {
    background: url('img/solution.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 40px 15px; /*60px 30px;*/
    text-align: center;
    font-size: 1.1em;
}

@supports (background-image: url("img/solution.webp")) {
    header .hero {
        background: url('img/solution.webp') no-repeat center center/cover;
    }
}

.highlight-text {
    transform: scale(1.2);
    color: #606060;
    display: inline-block;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.highlight-text:hover {
    color: #8bc53f;
    font-weight: bold;
    transform: scale(1.3);
}



p .fas {
    margin-right: 30px;
}



.fas {
    margin-right: 20px;
    padding-left: 30px;
    color: #25386A;
}



@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.baseline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 90%;
    max-width: 1200px;
    margin:20px auto;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.baseline p {
    color: rgba(96, 96, 96, 1);
    font-size: 20px;
}

.logo-and-text {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
    width: 100%;
    text-align: center;
}

.lorem-subtext {
    width: 100%;
    text-align: center;
    padding-top: 20px;
}

.lorem-subtext p {
    font-size: 18px;
    color: rgba(96, 96, 96, 1);
    line-height: 1.5;
}

h2 {
    font-size: 20px;
    padding-top: 20px;
    padding-bottom: 0px;
    margin: 10px 0;
    line-height: 1.4;
}

h4 {
    text-align: left;
    padding: 0;
    margin-bottom: 0;
    color: #347178;
}

a {
    text-decoration: none;
    color: inherit;
}

.mel {
    text-decoration: none;
    color: inherit;
}

.info-blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.info-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 20%;
    min-width: 200px;
    padding: 20px;
    margin: 10px;
    flex-grow: 1;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;    
}

.animated-blocks-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 10px 0;
}

.info-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.info-block:hover h2, .info-block:hover p {
    color: #347178;
}

@media (max-width: 768px) {
    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 15px;
    }

    .hero .logo-and-text {
        flex-direction: column;
        text-align: center;
    }

    .hero .logo-and-text img {
        margin-bottom: 20px;
    }

    .hero .logo-and-text .highlight-text {
        margin-bottom: 20px;
    }

    .about-section p, .info-block p {
        margin: 10px 0;
        padding: 0 10px;
        font-size: 16px;
    }

    .title-icon h2 {
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }

    footer nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .highlight-text, .lorem-subtext p {
        font-size: 14px;
    }

    .info-block, .about-section {
        padding: 15px;
    }

    .info-block img {
        width: 40px;
    }

    .info-block h2 {
        font-size: 1.2em;
        padding: 10px 0;
    }
}

@media (max-width: 1200px) {
    .info-block {
        width: 35%;
        min-width: 200px;}
}

@media (max-width: 768px) {
    .info-block {
        width: 100%;
        min-width: 200px;}
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    h1, h2 {
        font-size: 1.5em;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .animated-block, .about-section {
        width: 100%;
        margin: 15px auto;
        padding: 15px;
    }

    .hero {
        padding: 20px 10px;
    }

    .icon-bg {
        width: 50px;
        height: 50px;
    }

    .info-block img, .linkedin-logo {
        width: 50px;
    }
}

.info-block img {
    width: 60px;
    height: auto;
    margin: 0;
}

.info-block h2 {
    background-color: #A8D5BA;
    align-items: center;
    padding: 0;
    margin: 0;
}

.info-block p {
    color: #606060;
    padding: 0px;
    width: 100%;
}

img.lorem-logo {
    width: 120px;
    height: auto;
    margin-right: 100px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.lorem-logo {
    display: inline-block;
    transition: transform 0.5s ease-in-out;
}


.lorem-logo:hover {
    animation: moveAround 1.5s ease-in-out;
}

@keyframes moveAround {
    0% {
        transform: translate(0, 0);
    }
    20% {
        transform: translate(10px, -10px) rotate(10deg);
    }
    40% {
        transform: translate(-15px, 15px) rotate(-15deg);
    }
    60% {
        transform: translate(20px, 10px) rotate(20deg);
    }
    80% {
        transform: translate(-10px, -10px) rotate(-10deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.lorem {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lorem p {
    font-size: 20px;
    color: rgba(96, 96, 96, 1);
    margin: 0;
}

.title-icon {
    display: flex;
    align-items: center;
    background-color: #A8D5BA;
    color: white;
    padding: 0px;
    width: 100%;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.icon-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: #347178;
    margin-right: 0px;
}

.title-icon img {
    width: auto;
    height: 40px;
}

.title-icon h2 {
    margin: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 40px);    
    color: white;
}

section {
    padding: 20px;
    margin: 0 10%;
}

footer {
    background-color: #347178;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer nav ul {
    list-style-type: none;
    padding: 0;
}

footer nav ul li {
    display: inline;
    margin-right: 20px;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
}

footer p {
    margin-top: 10px;
    font-size: 0.8em;
}

article {
    background: white;
    padding: 20px;
    margin-top: 20px;
}

.contact-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 5px;
    display: inline-block;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form input[type="submit"] {
    background-color: #347178;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form input[type="submit"]:hover {
    background-color: #285a5f;
}

@media (max-width: 768px) {
    .inline-fields {
        flex-direction: column;
    }
}
