* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: #222;
    background-color: #fff;
    width: 100%;
}

hr {
    border-top: 1px dashed #d7dfe3;
    border-bottom: 0;
    width: 100%;
    margin: 25px 0 45px;
}

ul {
    text-align: center;
    list-style: inside;
    font-size: 18px;
    margin-bottom: 25px;
    color: #444;
    line-height: 25px;
}

.chat-applet {
    width: 100%;
    height: calc(100dvh - 58px);
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #888;
    border-bottom: 1px solid #ddd;
}

header {
    display: flex;
    position: sticky;
    top: 0;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background-color: white;
    border-bottom: 1px solid #cdd8df;
    box-shadow: 0 3px 3px #234b7017;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.logo span {
    color: #0d5992;
}

.logo a {
    text-decoration: none;
    color: #222;
}

nav a {
    margin-left: 15px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

main {
    background: linear-gradient(180deg, #f0f8ff 0%, #ffffff 100%);
    padding: 40px 30px 10px 30px;
    margin: auto;
}

.mainDiv {
    max-width: 1100px;
    margin: auto;
}

.mainDiv img {
    width: 650px;
    border-radius: 80px 10px;
    margin-bottom: 25px;
    box-shadow: 0 0 20px #3d5f8140;
}

.hero {
    display: flex;
    text-align: justify;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 16px;
    text-align: center;
}

.hero h2 {
    font-size: 30px;
    margin-bottom: 15px;
    text-align: center;
}

.hero h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0d5992;
    text-align: center;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #444;
    line-height: 25px;
}

.hero a {
    color: #0d5992;
    text-decoration: underline;
}

.hero a:hover {
    color: #0372c6;
    text-decoration: none;
}

.cta-button {
    background-color: #0d5992;
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 20px 8px;
    font-weight: bold;
    text-decoration: none !important;
    font-size: 18px;
    margin-bottom: 20px;
    transition: background-color 150ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
    background-color: #0372c6;
}

.step {
    align-self: stretch;
    margin: 20px 0;
    text-align: left;
}

.step p {
    font-size: 17px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 0;
}

footer {
    display: flex;
    gap: 20px;
    padding: 24px 16px;
    background-color: #fafafa;
    border-top: 1px solid #eee;
    font-size: 15px;
    flex-direction: column;
    align-items: center;
}

.footerText {
    color: #55585b;
}

.footerText a {
    color: #0d5992;
    font-weight: 700;
    text-decoration: none;
}

.footerText a:hover {
    color: #0372c6;
    text-decoration: underline;
}

.footerLinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footerLinks a {
    color: #0d5992;
    text-decoration: none;
    border-bottom: 1.5px solid #709aba;
    padding: 0 4px 2px;
}

.footerLinks a:hover {
    color: #0372c6;
    border-bottom: none;
}

.footerLang {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footerLang a {
    color: #ffffff;
    background: #7790a2;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 20px;
}

.footerLang a:hover {
    background: #0372c6;
}

.footerLang a.active {
    background: #0372c6;
}

@media (max-width: 600px) {
    .how-it-works {
      padding: 32px 16px;
    }

    .step h3 {
      font-size: 20px;
    }

    .step p {
      font-size: 16px;
    }

    .mainDiv img {
        width: 100%;
    }
    header {
        justify-content: center;
    }
    .headerNext {
        display: none;
    }
}

.chat-applet--collapsed {
    height: 300px;
    background: linear-gradient(#000000e6, #000000e6),
        #18232d url('/images/TopBG.webp') top / cover no-repeat;
}

.chat-applet-container {
    width: 100%;
    height: 100%;
}

.chat-launcher:not([hidden]) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.chat-launcher img {
    border-radius: 10px;
}

.chat-launcher-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    border: 0;
    border-radius: 20px 8px;
    padding: 12px 28px;
    background-color: #d9efff;
    color: #123b57;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 150ms ease, box-shadow 150ms ease;
}

.chat-launcher-button::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.chat-launcher-button:hover,
.chat-launcher-button:focus-visible {
    background-color: #b9e0ff;
    box-shadow: 0 0 14px #b9e0ff55;
}

.chat-launcher-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
    .chat-launcher-button {
        transition: background-color 150ms ease, box-shadow 150ms ease,
            transform 150ms ease;
    }

    .chat-launcher-button::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(110deg, transparent 36%, #ffffffa6 50%, transparent 64%);
        pointer-events: none;
        animation: chat-launcher-shine 3s ease-in-out 3s infinite backwards;
    }

    .chat-launcher-button::after {
        transition: transform 150ms ease;
    }

    .chat-launcher-button:hover::after {
        transform: translateX(4px) rotate(45deg);
    }

    .chat-launcher-button:active {
        transform: scale(0.98);
    }
}

@keyframes chat-launcher-shine {
    0% {
        transform: translateX(-100%);
    }

    27%, 100% {
        transform: translateX(100%);
    }
}

#cmtApplet {
    position: relative;
}

.chat-status:not([hidden]) {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: #f0f8ff;
    color: #123b57;
    text-align: center;
}

.chat-retry:not([hidden]) {
    padding: 10px 20px;
    border: 0;
    border-radius: 20px 8px;
    background: #0d5992;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.chat-retry:hover,
.chat-retry:focus-visible {
    background: #0372c6;
}

.mobile-menu {
    display: none;
}

@media (max-width: 600px) {
    .home-header {
        justify-content: space-between;
        padding: 8px 16px;
        z-index: 2;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu summary {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        list-style: none;
        color: #123b57;
        cursor: pointer;
    }

    .mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu summary span {
        width: 20px;
        height: 2px;
        background: currentColor;
        box-shadow: 0 -6px currentColor, 0 6px currentColor;
    }

    .mobile-menu-panel {
        position: absolute;
        max-height: calc(100dvh - 61px);
        overflow-y: auto;
        top: 100%;
        right: 16px;
        left: 16px;
        padding: 10px 15px;
        border: 1px solid #cdd8df;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 3px 10px #234b7026;
    }

    .mobile-menu-panel a {
        display: block;
        margin: 0;
        padding: 10px;
    }

    .mobile-menu-languages {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 5px;
        padding-top: 10px;
        border-top: 1px solid #cdd8df;
    }

    .mobile-menu-languages a[aria-current="page"] {
        border-radius: 8px;
        background: #d9efff;
        color: #123b57;
        font-weight: 700;
    }
}
