/* ===== BASE ===== */
:root {
    --text: #333;
    --blue: #0e528c;
    --blue-hover: #0c6bbe;
    --bg-light: #f4f8fd;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: inherit;
    /* outline: 0.1rem solid red; */
}

html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 62.5%;
    scroll-padding-top: 7.5rem;
}

body {
    background: #ffffff;
    color: var(--text);
    line-height: 1.8;
    font-size: 1.6rem;
}

ul {
    padding: 0.5rem 4rem;
}

.container {
    max-width: 115rem;
    margin: auto;
    padding: 0 3rem;
}

.btn {
    background: var(--blue);
    color: #ffffff !important;
    padding: 1rem 2rem;
    border-radius: 0.8rem;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-size: inherit;
}

.btn:hover {
    background: var(--blue-hover);
}

.center {
    text-align: center;
}

.divider {
    height: 0.3rem;
    border: none;
    border-radius: 999%;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #e6e6e6 20%,
        #568cbb 50%,
        #e6e6e6 80%,
        #ffffff 100%
    );
    margin: 3rem auto;
    width: 100%;
}

.divider-narrow {
    height: 0.3rem;
    border: none;
    border-radius: 999%;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #e6e6e6 20%,
        #568cbb 50%,
        #e6e6e6 80%,
        #ffffff 100%
    );
    margin: 1.5rem auto 3rem;
    width: 100%;
}

.divider-light {
    height: 0.2rem;
    border: none;
    border-radius: 999%;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #e6e6e6 20%,
        #ddd 50%,
        #e6e6e6 80%,
        #ffffff 100%
    );
    margin: 1rem auto;
    width: 100%;
}

.section {
    padding: 3rem 0 5rem;
}

.section:last-of-type {
    padding-bottom: 17rem;
}

.bg-light {
    background: var(--bg-light);
}

.bg-white {
    background: #fff;
}

.card-grid {
    display: grid;
    gap: 3rem;
}

.card {
    padding: 3rem;
    border-radius: 1.6rem;
    box-shadow: 0rem 1rem 1rem 0px #eee;
    border: 0.1rem solid #ddd;
}

.card-header {
    display: flex;
    align-items: center;
}

.card-header img {
    width: 3rem;
    height: 3rem;
    margin-right: 1.5rem;
}

input,
textarea {
    width: 100%;
    padding: 1.2rem;
    border-radius: 0.6rem;
    border: 1px solid #ccc;
    margin-bottom: 1.5rem;
    font-family: inherit;
}

textarea {
    height: 12rem;
    resize: vertical;
}
/* ===== END BASE ===== */

/* ===== HEADER ===== */
header {
    background: #ffffff;
    border-bottom: 0.1rem solid #ddd;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.nav #logo {
    width: 11rem;
}

.nav-links {
    position: absolute;
    top: 6rem;
    right: 24.5rem;
    background: #ffffff;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 0.1rem solid #ddd;
    border-radius: 0.4rem;
}

.nav-links.open {
    display: flex;
}

.nav-links a {
    padding: 0.5rem 2rem;
    margin: 0.5rem 0;
    text-decoration: none;
    color: var(--text);
}

.nav-links a:hover {
    background: var(--blue-hover);
    color: white;
    border-radius: 0.7rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
}

.hamburger span {
    width: 2.7rem;
    height: 0.4rem;
    margin-bottom: 0.1rem;
    background: var(--blue);
    border-radius: 0.5rem;
}

.hamburger:hover span {
    background-color: var(--blue-hover);
}

.btn-header {
    margin: 0 1rem;
}

.language-switcher {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.language-switcher img {
    border-radius: 0.6rem;
    width: 2.4rem;
    height: auto;
}

.language-switcher img:hover {
    transform: scale(1.25);
}
/* ===== END HEADER ===== */

/* ===== HERO ===== */
.hero {
    padding: 12rem 0 6.5rem;
}

.hero p {
    font-size: 1.9rem;
    max-width: 60rem;
    margin: auto;
    margin-bottom: 4rem;
}

.hero .btn {
    padding: 2rem 4rem;
}
/* ===== END HERO ===== */

/* ===== FEATURES ===== */
.divider-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text);
    text-align: center;
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
}
/* ===== END FEATURES ===== */

/* ===== APPROACH ===== */
.approach {
    max-width: 55rem;
}

.diagram {
    margin-top: 2rem;
    width: 100%;
    max-width: 70rem;
}
/* ===== END APPROACH ===== */

/* ===== CONTACT ===== */
.form {
    margin-top: 2rem;
}

.form-grid {
    display: grid;
    gap: 0 1.5rem;
}
/* ===== END CONTACT ===== */

/* ===== FOOTER ===== */
footer {
    font-size: 1.4rem;
    padding: 2.5rem;
    color: #667085;
    position: fixed;
    bottom: 0;
    background: #ffffff;
    border-top: 0.1rem solid #ddd;
    width: 100%;
    z-index: 1000;
}

footer a {
    color: inherit;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-br {
    display: none;
}
/* ===== END FOOTER ===== */

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-light);
    color: var(--text);
    padding: 2rem;
    box-shadow: 0 -0.4rem 1.2rem rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.cookie-content {
    max-width: 90rem;
    margin: 0 auto;
}

.cookie-banner h3 {
    margin: 0 0 0.5rem 0;
}

.cookie-actions {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.cookie-link {
    display: inline-block;
    margin-top: 2rem;
    font-size: 1.4rem;
    color: var(--bg);
    text-decoration: none;
}
/* ===== END COOKIE BANNER ===== */

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(0.3rem);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
    font-size: 1.6rem;
    display: flex;
}

.modal-box {
    background: #fff;
    padding: 2.4rem;
    border-radius: 1.2rem;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.2);
    max-width: 50rem;
    width: 90%;
    text-align: center;
    animation: scaleUp 0.2s ease;
    color: var(--modal-text);
}

.modal-button {
    width: 50%;
    margin-top: 3rem;
    text-align: center;
    background: var(--blue);
    color: #ffffff !important;
    padding: 1rem 2rem;
    border-radius: 0.8rem;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-size: inherit;
}
/* End Modal Overlay */

/* ===== TABLET ===== */
@media (min-width: 505px) {
    .contact-br {
        display: block;
    }
}

@media (min-width: 600px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem .card-grid > :nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        width: 50%;
    }

    .contact {
        max-width: 60rem;
    }
}

@media (min-width: 570px) {
    .section:last-of-type {
        padding-bottom: 14rem;
    }
}

@media (min-width: 900px) {
    .problem .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .problem .card-grid > :nth-child(3) {
        grid-column: auto;
        justify-self: auto;
        width: auto;
    }
}

@media (min-width: 925px) {
    .hamburger {
        display: none;
    }

    .nav-links {
        position: static;
        border-radius: 0;
        border: none;
        flex-direction: inherit;
        padding: 0;
        display: flex !important;
    }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .section:last-of-type {
        padding-bottom: 12rem;
    }
}

@media (min-width: 1150px) {
    header {
        display: flex;
        justify-content: center;
    }

    .nav {
        width: 115rem;
    }

    .footer-inner {
        width: 115rem;
        margin: 0 auto;
    }
}
/* ===== END TABLET ===== */
