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

:root {
    /* Breakpoints */
    --jz-breakpoint-xs: 320px;
    --jz-breakpoint-s: 480px;
    --jz-breakpoint-m: 768px;
    --jz-breakpoint-l: 1024;
    --jz-breakpoint-xl: 1280px;
    --jz-breakpoint-ul: 1440px;

    --color-primary: #008080;
}

* {
    box-sizing: border-box;
}

.app {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.app.loaded {
    visibility: visible;
    opacity: 1;
}


main {
    padding-bottom: 50px;
}

@media (max-width: 767.98px) {
    main {
        margin-bottom: 0em;
    }
}

body {
    padding: 0;
    padding-bottom: 50px;
    margin: 0;
    position: relative;
    min-height: 100vh;
}

.jz-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section.jz-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0rem;
    gap: 2em;

    @media screen and (max-width: 767.98px) {
        flex-direction: column;
        align-items: center;
        gap: 2em;
        margin-bottom: 2em;
    }
}

.jz-card {
    width: calc(100% / 3 - 4em);
    background-color: #0080803b;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1em;

    &:nth-child(1) {
        background-color: #E6F3FF;
        /* Calming light blue */
    }

    &:nth-child(2) {
        background-color: #F0FFF0;
        /* Soft mint green */
    }

    &:nth-child(3) {
        background-color: #FFF5E6;
        /* Warm peach */
    }

    @media (min-width: 992px) and (max-width: 1199.98px) {
        width: calc(100% / 3 - 2em);
        min-width: 350px;
        min-height: 450px;
    }

    @media (min-width: 768px) and (max-width: 991.98px) {
        width: 45%;
        min-width: 300px;
        min-height: 500px;
        height: auto;
    }

    @media (min-width: 480px) and (max-width: 767.98px) {
        width: 100%;
        min-width: none;
        max-width: 50vh;
        height: auto;
    }

    @media (min-width: 360px) and (max-width: 479.98px) {
        width: 100%;
        min-width: none;
        height: auto;
    }

    @media (max-width: 359.98px) {
        width: 100%;
        min-width: none;
        min-height: fit-content;
    }
}

@media screen and (max-width: 359.98px) {
    .jz-card {
        min-width: 0;
        max-width: 100%;
        height: auto;
    }

}

.jz-card-header {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;


    &::after {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background-color: #000;
    }
}

.jz-card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
}

.jz-card-content {
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}

.jz-card-text {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
    text-wrap: wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.jz-card-footer {
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4em;
}

.jz-footer {
    margin-top: 50px;
    color: #000;
    text-align: center;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.4);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 100;
}

.jz-footer-content {
    padding: 0.4em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

}

.jz-footer-logo {
    margin: 0;
    padding: 0;

}

.jz-footer-text {
    font-size: 16px;

    p {
        padding: 0.4em;
        margin: 0;
    }
}

.jz-footer-link {
    color: #008080;
    text-decoration: none;
    transition: color 0.3s ease-in-out;

    &:hover {
        color: #000;
    }
}

.jz-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 700px;
    margin: 20px auto;
    overflow: hidden;
}

.jz-image-wrapper .jz-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: center;
    will-change: transform;
}

.lazy {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1.9s ease, transform 1.9s ease;
    z-index: -1;
}

.lazy.lazy-top {
    transform: translateY(-200px);
}
.lazy.lazy-bottom {
    transform: translateY(200px);
}
.lazy.lazy-left {
    transform: translateX(-200px);
}
.lazy.lazy-right {
    transform: translateX(200px);
}

.lazy.loaded {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.jz-spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.jz-spinner-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.jz-spinner {
    display: flex;
    gap: 8px;
}

.jz-spinner-dot {
    width: 12px;
    height: 12px;
    background-color: #008080;
    border-radius: 50%;
    animation: bounce 0.5s ease-in-out infinite;
}

.jz-spinner-dot:nth-child(2) {
    animation-delay: 0.1s;
}

.jz-spinner-dot:nth-child(3) {
    animation-delay: 0.2s;
}

.jz-spinner-dot:nth-child(4) {
    animation-delay: 0.3s;
}

.jz-spinner-dot:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.error-msg{
    color: red;
    font-size: 0.8em;
    margin: 0;
    padding: 0;
    text-align: start;
}
.error{
    border: 0.8px solid red !important;
    outline: none;
}