@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');
@import url('./style.css');

/* Introduction */
.introduction-card-container {
    min-height: 150px;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
        "card-1"
        "card-2";
    background-color: #00000009;
    box-shadow: 0px 0px 80px #00000014;
    border-radius: 30px;
}

@media screen and (min-width: 576px) {
    .introduction-card-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        grid-template-areas: 
            "card-1 card-2";
    }
}

.card-introduction {
    border: none;
    border-radius: 5px;
    animation-delay: .4s;
}

.card-introduction:nth-child(1) {
    grid-area: card-1;
}

.card-introduction:nth-child(2) {
    grid-area: card-2;
}

.card-introduction.animate__animated.hidden {
    display: none;
}

.values-list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.values-item.animate__animated.hidden {
    display: none;
}

.values-item:nth-child(1) {
animation-delay: .1s;
}

.values-item:nth-child(2) {
    animation-delay: .3s;
}

.values-item:nth-child(3) {
    animation-delay: .5s;
}

.values-item:nth-child(4) {
    animation-delay: .7s;
}

.values-item:nth-child(5) {
    animation-delay: .9s;
}

.values-item:nth-child(6) {
    animation-delay: 1.1s;
}

.values-item:nth-child(7) {
    animation-delay: 1.3s;
}

.values-item div {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--xxlight-grey);
    border-bottom: 0px solid var(--primary-color);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    transition: 0.3s;
}

.values-item div:hover {
    background-color: transparent;
    box-shadow: 0 0 15px #00000020;
    border-bottom-width: 3px;
}

.values-item i {
    display: none;
    font-size: .71rem;
    font-weight: bold;
    color: var(--primary-color);
}

.values-item div:hover i {
    display: block;
}

/* Hero */
.carousel-caption {
    padding: 20px;
    color: var(--white);
    font-size: 2rem;
    text-align: center;
    max-width: 80%;
    margin: auto;
}

.carousel-caption h2,
.call-to-action h2 {
    color: var(--primary-color);
    text-shadow: 3px 3px 6px #000000AA;
    font-weight: bold;
}

.carousel-caption i {
    color: var(--primary-color);
}

.carousel-indicators::before {
    content: '';
    width: 170px;
    height: 30px;
    position: absolute;
    top: -7px;
    background-color: var(--white);
    border-radius: 20px;
}

.carousel-indicators button {
    background-color: var(--light-grey) !important;
}

.carousel-indicators button.active {
    position: relative;
    width: 35px;
    height: 4px;
    bottom: 5px;
    background-color: var(--primary-color) !important;
}

.carousel-item .image-desktop {
    width: 900px;
    height: 700px;
    object-fit: cover;
}

.carousel-item .image-tablet {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-item .image-phone {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.regulamento-de-itens-medicos {
    object-position: top;
}

/* Service */
.service-row {
    padding: 15px 0;
    background-color: #00000009;
    box-shadow: 0px 0px 80px #00000014;
    margin: 40px 0;
    border-radius: 30px;
}

.service-card {
    border: none;
    border-radius: 5px;
    transition: 0.2s;
}

.service-card:hover {
    position: relative;
    top: -10px;
    box-shadow: 0 0 5px var(--primary-color);
}

.service-card:hover h3,
.service-card:hover i {
    color: var(--primary-color);
}

.card-body i {
    font-size: 30px;
}

/* Testimonial */
.testimonial {
    background-color: #E3C94D34;
}

.glide {
    overflow: hidden;
}

.glide__slide {
    height: 400px !important;
    display: flex;
    align-items: center;
}

@media screen and (min-width: 450px) {
    .glide__slide {
        height: 320px !important;
    }
}

.card-container {
    scale: 0.8;
    transition: 1s;
}

.card-container.active {
    scale: 1.1;
}

.testimonial-img {
    padding: 2px;
    border: 2px solid var(--primary-color);
    border-radius: 100px;
}

.glide__arrow {
    color: var(--primary-color) !important;
    background-color: var(--white) !important;
    border-radius: 100% !important;
    border: 1px solid var(--primary-color) !important;
    box-shadow: none !important;
}

.glide__arrow--left {
    left: 5vw !important;
}

.glide__arrow--right {
    right: 5vw !important;
}

/* Call to action */
.call-to-action {
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('./../assets/call-to-action.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.call-to-action .text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.call-to-action .benefits {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 10px;
    margin-bottom: 15px;
    font-size: 1.2em;
    display: flex;
    gap: 10px;
    align-items: start;
    background-color: #FFF;
    border-radius: 20px;
}

.benefits-list i {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: var(--primary-color) !important;
    background-color: white;
    border-radius: 100px;
    border: 1px solid var(--primary-color);
}

.benefits-list p {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}