:root {
    --background: white;
    --primary-color: #e0f0f4;
    --secondary-color: #00708b;
    --third-color: #d8d2c6;
    --accent-color: #9dcb8f;
    --cta-color: #83c3d0;
    --text-color: #002d3b;
    --muted-text: #555;
    --card-shadow: rgba(0, 0, 0, 0.05);
    --card-shadow-strong: rgba(0, 0, 0, 0.1);
    --box-shadow-light: rgba(0, 0, 0, 0.212);
}

html,
body {
    margin: 0;
    padding: 0;
    background-color: var(--background);
    color: var(--text-color);
    font-family: sans-serif;
    text-rendering: auto;
    scroll-behavior: smooth;
    max-width: 100vw;
    overflow-x: hidden;
}

section {
    padding: 3rem 2rem;
    max-width: 100vw;
    margin: auto;
}

section h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 34px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px var(--card-shadow);
    text-align: center;
}

.call-to-action {
    width: max-content;
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--cta-color);
    color: var(--background);
    text-decoration: none;
    cursor: pointer;
}

.call-to-action:hover {
    opacity: .8;
}

/*============================HEADER==========================================*/

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100px;
    background-color: var(--background);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
    padding-left: 30px;
    transition: .2s;
    overflow: hidden;
}

.header-img-link {
    height: 100px;
    width: auto;
    color: black;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.header-img-link img {
    height: 100px;
    transition: .2s;
}

header nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    margin-right: 100px;
    height: 100px;
    font-size: 16px;
}

header nav ul {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: max-content;
    margin: 0px;
    transition: .2s;
}

header nav ul li {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 2px;
    margin: 10px;
    position: relative;
    transition: .2s;
}

header nav ul li a {
    height: 90px;
    min-width: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
    color: var(--text-color);
    transition: .2s;
}

.header-link a span {
    font-weight: bold;
}

.head-link {
    font-weight: inherit;
}

.head-link.active,
.header-link a:hover,
.header-link a:focus {
    font-weight: bold;
}

.header-link a::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 5px;
    background: var(--accent-color);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.2s cubic-bezier(.4, 0, .2, 1), opacity 0.2s;
    opacity: 0;
}

.header-link a:hover::after,
.header-link a:focus::after {
    transform: scaleY(1);
    opacity: 1;
}


#header-ul:has(.header-link a:hover):not(:has(.header-link a.head-link.active:hover)) .header-link .head-link.active::after,
#header-ul:has(.header-link a:focus):not(:has(.header-link a.head-link.active:focus)) .header-link .head-link.active::after {
    opacity: 0;
    transform: scaleY(0);
}

#header-ul:has(.header-link a:hover):not(:has(.header-link a.head-link.active:hover)) .header-link .head-link.active,
#header-ul:has(.header-link a:focus):not(:has(.header-link a.head-link.active:focus)) .header-link .head-link.active {
    font-weight: normal;
}

.header-link a:hover::after,
.header-link a:focus::after {
    transform: scaleY(1);
    opacity: 1;
}

.header-link a:hover,
.header-link a:focus {
    font-weight: bold;
}


.head-link.active::after {
    transform: scaleY(1);
    opacity: 1;
}

.head-link.active {
    font-weight: bold;
}

.header-link .head-link.active::after span {
    font-weight: bold;

}

.toggle-btn {
    position: absolute;
    top: 18px;
    right: 30px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    transition: .2s;
}

.toggle-btn .bar {
    height: 3px;
    width: 100%;
    background-color: black;
    border-radius: 10px;
    transition: .2s;
    transform: rotate(0deg);
}

.rights {
    display: none;
}

.header-img-link-mobile {
    display: none;

}

@media (max-width: 1360px) {
    header {
        height: 80px;
    }

    .header-img-link img {
        height: 80px;
    }

    header nav ul,
    header nav ul li,
    header nav ul li a {
        height: 70px;
    }
}


@media (max-width: 1210px) {

    header {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        height: 50px;
        padding-left: 0;
        z-index: 3;
        overflow: visible;
    }

    .header-img-link {
        display: none;
    }

    .header-img-link-mobile {
        display: block;
    }


    .header-img-link-mobile img {
        height: 50px;
    }

    .toggle-btn {
        display: flex;
    }

    .toggle-btn.active {
        margin-top: 10px;
    }

    .toggle-btn .bar1.active {
        transform: rotate(45deg);
    }

    .toggle-btn .bar2.active {
        opacity: 0;
    }

    .toggle-btn .bar3.active {
        transform: rotate(-45deg);
        position: absolute;
    }

    header nav {
        height: 0px;
    }

    .navbar-links {
        transform: translateX(100vw);
        width: 100vw;
        height: 100vh;
        position: absolute;
        right: 0;
        top: 50px;
        background-color: var(--background);
        transition: .4s;
        font-size: 1.25rem;
        align-items: flex-start;
        justify-content: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .navbar-links.active {
        transform: translateX(0px);
    }

    header ul {
        flex-direction: column;
        justify-content: center;
        width: 100%;
        padding: 0;
        left: 0;
    }

    .navbar-links li {
        width: 150px;
        height: max-content;
        margin-bottom: 20px;
        margin-top: 20px;
        text-align: center;
    }

    .navbar-links li a {
        height: max-content;
    }



    header nav ul .header-contact-btn {
        background-color: transparent;
        padding: 0px;
        border-radius: 0px;
        box-shadow: 0px 0px 0px black;
    }

    .rights {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 190px;
    }

    .rights a {
        color: black;
        text-decoration: none;
        margin-left: 10px;
        margin-right: 10px;
    }

    .rights a:hover {
        color: var(--cta-color);
        text-decoration: underline;
    }

    .rights p {
        color: black;
        margin: 0;
    }

    .toggle-btn {
        margin-top: -5px;
    }

    .toggle-btn.active {
        margin-top: 5px;
    }
}

@media (max-width: 380px) {
    .header-img-link-mobile img {
        height: 40px;
    }


}


/*============================CONTENT==========================================*/

.content {
    padding-top: 100px;
    min-height: 80vh;
}

.content h2 {
    margin-bottom: 70px;
}

.content h3 {
    margin-bottom: 30px;
}

.content ul li img {
    width: 35px;
    height: 35px;
    vertical-align: middle;
    margin-top: -8px;
}

.services {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content ul li {
    list-style: none;
    display: flex;
    align-items: top;
}

.more-service {
    box-shadow: 2px 2px 5px var(--box-shadow-light);
    padding: 20px;
    padding-left: 35px;
    padding-right: 35px;
    margin-top: 70px;
    text-align: left;
    max-width: fit-content;
}

.more-service ul {
    display: flex;
    flex-direction: row;
    gap: 20px;

}

.more-service a {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 3px solid white;

}

.more-service a:hover {
    border-bottom: 3px solid var(--accent-color);
    opacity: .8;
}




@media (max-width: 810px) {
    .more-service ul {
    display: flex;
    flex-direction: column;
    gap: 20px;

}
}

@media (max-width: 450px) {

    .content h2 {
        font-size: 24px;
    }

    .content ul {
        padding-left: 0;

}
}










/*============================FOOTER==========================================*/


footer {
    background-color: var(--text-color);
    color: var(--background);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}