html{
    scroll-behavior: smooth;
}



.nav-pardoseala ul{
    display: flex;
    justify-content: space-evenly;
    padding: 1rem 0;
    list-style-type: none;
    background-color: #00507a;
    color: #e2f5fe;
    margin-top: 1rem;
}
.nav-pardoseala ul li a{
    position: relative;
    display: block;
    padding: 4px 0;
    color: #e2f5fe;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
}
.nav-pardoseala ul li a::after {
    position: absolute;
    content: "";
    top: 100%;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e2f5fe;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s;
}
.nav-pardoseala ul li a:hover {
    color: #e2f5fe;
}
.nav-pardoseala ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* =========== LINK ================ */

.link-pardoseala a{
    position: relative;
    display: block;
    padding: 4px 0;
    text-decoration: none;
    color:#00507a;
    transition: 0.5s;
    font-size: 1.1rem;
}

.link-pardoseala a::after{
    position: absolute;
    content: "";
    top: 100%;
    left: 0;
    width: 100%;
    height: 3px;
    background: #00507a;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s;
}

.link-pardoseala a:hover{
    color: #00507a;
}

.link-pardoseala a:hover::after{
    transform: scaleX(1);
        transform-origin: left;
}
/* =========== BUTON  ================ */

.link-pardoseala span{
    position: relative;
    display: block;
    padding: 4px 0;
    text-decoration: none;
    color:#00507a;
    transition: 0.5s;
    font-size: 1.1rem;
    border: none;
}

.link-pardoseala span::after{
    position: absolute;
    content: "";
    top: 100%;
    left: 0;
    width: 100%;
    height: 3px;
    border: none;
    background: #00507a;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s;
}

.link-pardoseala span:hover{
    color: #00507a;
    text-decoration: none;
}

.link-pardoseala span:hover::after{
    transform: scaleX(1);
        transform-origin: left;
}


.link-pardoseala button:hover{
    text-decoration: none;
}

/* ========= CARD ================= */
.card{
    border: none;
        color: #00507a;
        border-bottom: #ccc 1px solid;
        color: #00507a;
}
.card::after{
    position: absolute;
        content: "";
        width: 0;
        height: 100%;
        top: 0;
        left: 0;
        direction: rtl;
        z-index: -1;
        box-shadow:
            -7px -7px 20px 0px #fff9,
            -4px -4px 5px 0px #fff9,
            7px 7px 20px 0px #0002,
            4px 4px 5px 0px #0001;
        transition: all 0.3s ease;
}

.card:hover{
    color: #00507a;
    border-bottom: none;
}

.card:hover:after {
    left: auto;
    right: 0;
    width: 100%;
}

 /* ================= MODAL ======================== */
body.prevent-background-scroll {
    min-height: 100dvh;
    overflow-y: hidden;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 20;
    animation: openModal 0.3s ease-in-out 1 normal;
}

@keyframes openModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 50%;
    border-radius: 4px;
    z-index: 30;
}

.modal-header {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    padding: 15px 20px 10px;
    font-size: 1.6rem;
}

.modal-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #d1d5db;
}

.modal-header .modal-close {
    background: #efefef;
    border: 0;
    outline: 0;
    transform: translateY(3px);
    background-color: transparent;
    cursor: pointer;
}

.modal-close{
    font-size: 40px;
    color: #ccc;
    transition: 0.5s ease-in-out;
}
.modal-close:hover{
    color: #000;
}
.modal-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 50px;
    height: 70vh;
    overflow-y: auto;
}

/* .modal-body>img {
    max-width: 100%;
    width: 300px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
} */

.modal-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 20px;
}


/* =========== TOOLTIP ================ */

.tooltip-pardoseala{
    position: relative;
    display: inline-block;
    font-weight: bold;
}

.tooltip-pardoseala-text{
    visibility: hidden;
    width: 250px;
    color: #00507a;
    background-color: #fff;
    border-radius: 6px;
    padding: 0 10px 10px 10px;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    margin-left: -120px;
    text-align: left;
    font-weight: normal;
    border: 1px solid #00507a;
    border-top: none;
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

/* .tooltip-pardoseala .tooltip-pardoseala-text::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #00507a transparent;
} */

.tooltip-pardoseala:hover .tooltip-pardoseala-text{
    visibility: visible;
}

/* =================== FAQ ======================== */

.FAQ-header{
    background-color: #fff;
    margin-top: 1rem;
}
.FAQ-header button{
    color: #00507a;
    transition: all 0.5s;
    text-decoration: none;
}
.FAQ-header button:hover{
    text-decoration: none;
    font-weight: bold;
}

.FAQ_body{
    background-color: #E2F5FE;
    font-weight: bold;
    padding: 0.5rem 1rem;
}

.form-control::placeholder {
    color: #00507a;
    opacity: 0.5;
}
.form-control {
    color: #00507a;
    opacity: 0.5;
}


