:root {
    --color-blue: #496BAD;
    --color-background: #FBFBFB;
    --color-text: #252525;
    --color-white: #FFF;
    --font: "Poppins", sans-serif;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font);
    text-align: center;
    width: 100%;
}

.custom-link {
    color: var(--color-blue); 
    text-decoration: underline !important;
}

button,
.btn {
    box-shadow: none !important;
    outline: none !important;
}

a:visited, a:link, a:active {
    text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-blue);
}

.bg-white {
    background-color: var(--color-background) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Adiciona uma sombra leve na borda inferior */
}

.btn-link {
    color: var(--color-white);
    background-color: var(--color-blue);
    text-decoration: none;
}

.btn-link:hover {
    color: var(--color-blue);
    background-color: var(--color-white);
}

.heading-style::after {
    content: '';
    width: 20%;
    /* Ajuste a largura conforme necessário */
    height: 2px;
    /* Ajuste a espessura da linha aqui */
    background-color: var(--color-blue);
    /* Cor de exemplo */
    position: absolute;
    bottom: 10px;
    /* Ajuste a distância do texto */
    left: 0;
    /* Ajuste o espaço entre o texto e a linha */
}

section {
    padding: 32px 18px;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 16px;
}

.section-title h2 {
    position: relative;
    text-transform: none;
}

.section-title h3 {
    position: relative;
    font-size: 24px;
    text-transform: capitalize;
}

.section-title h4 {
    position: relative;
    font-size: 20px;
    text-transform: capitalize;
}

.section-title:before {
    content: "";
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eaeaea;
}

.section-title:after {
    content: "";
    position: absolute;
    top: 48px;
    left: 0;
    width: 50px;
    height: 1px;
    background: #94CCF4;
}

.section-title.center:after {
    left: 50%;
    margin-left: -25px;
}

.section-reverse {
    background-color: var(--color-blue);
}

.section-reverse .section-title,
.section-reverse p {
    color: var(--color-white);
}

.section-reverse .statistics-container .statistic {
    color: var(--color-white);
}


.section-reverse .section-title:before {
    background: #eaeaea;
}


.section-reverse .section-title:after {
    background: #eaeaea;
}

.image-medic img {
    width: 100%;
}

@keyframes slide-in {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

.medic-informations,
.image-medic,
.btn-agenda-topo {
    animation: slide-in 1s ease-out forwards;
}

.statistics-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    /* background-color: #F5F5F5; */
}

.statistic {
    margin: 4px 0;
    padding: 8px;
    /* background-color: #4A90E2; */
    color: var(--color-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* border: 1px solid #4A90E2; */
    border-radius: 10px;
}

.number {
    font-size: 2em;
    font-weight: bold;
}

.description {
    font-size: 1em;
}

/*Cards dos Atendiementos*/
.card {
    width: 350px;
    height: 340px;
    border-radius: 10px;
    justify-content: space-between;
}

.card-dep {
    width: 100%;
}

.card img {
    width: auto;
    height: 225px;
    border-radius: 10px 10px 0 0 !important;
}

.card-content {
    padding: 16px;
}

.card-content h2 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 14px;
    color: #666;
    /* Cor de texto mais clara para o texto do espaço reservado */
    margin-bottom: 16px;
}

.btn-schedule-appointment {
    text-decoration: none;
    color: var(--color-blue);
}

.carousel-inner {
    width: auto;
}

.carousel-inner .carousel-item h2 {
    color: var(--color-text);
    font-weight: 500;
}

#atendimentos-sem-carrosel,
#depoimentos-sem-carrosel {
    display: none;
}

footer {
    width: 100%;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/* Estilos para o card */
.testimonial-card {
    border-radius: 10px;
    padding: 16px;
    /* Outros estilos para o card */
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 180px;
}

.testimonial-card blockquote {
    font-style: italic;
    text-align: center;
    font-size: 15px;
}

.author-name {
    font-weight: bold;
    text-transform: uppercase;
}

.author-title {
    text-align: center;
    font-size: 14px;
}

.float-whatsapp {
    position: fixed;
    bottom: 40px;
    right: 20px;
    background-color: #25d366;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 50%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-decoration-color: var(--color-white) !important;
}

.pulsate {
    animation: pulsate 2s infinite;
}
@keyframes pulsate {
    0% { transform: scale(1); }
    50% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

/* Slideshow container */
.slideshow-container {
    margin: auto;
}

.slideshow-container .card {
    vertical-align: middle;
}

/* Caption text */
#carouselDepoimentos .text {
    color: var(--color-white);
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
#carouselDepoimentos .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
#carouselDepoimentos .dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #d9d9d9;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 1.5s ease;
}

#carouselDepoimentos .active {
    background-color: var(--color-blue);
}

/* Fading animation */
#carouselDepoimentos .fade {
    animation-name: fade;
    animation-duration: 7s;
}

@keyframes fade {
    from {
        opacity: .9
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .text {
        font-size: 11px
    }
}

@media (min-width: 572px) {
    body {
        font-size: 16px;
    }

    .statistics-container {
        width: 100%;
        display: flex;
        justify-content: space-around;
    }
}


@media (min-width: 768px) {
    body {
        font-size: 16px;
    }

    section {
        min-height: 400px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #carouselAreasAtend {
        display: none !important;
    }

    #atendimentos-sem-carrosel {
        display: block;
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    #atendimentos-sem-carrosel .card {
        height: 280px;
        width: 250px;
        justify-content: space-between;
    }

    #atendimentos-sem-carrosel h2 {
        color: var(--color-text);
        font-weight: 500;
    }

    #atendimentos-sem-carrosel a {
        font-size: 14px;
    }

    #atendimentos-sem-carrosel img {
        border-radius: 8px 8px 0 0;
        height: 175px;
    }

    .statistics-container {
        gap: 10px;
        flex-direction: row;
    }

    .statistics-container .statistic {
        width: 50%;
    }

    #carouselDepoimentos {
        display: none !important;
    }

    #depoimentos-sem-carrosel {
        display: block;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .menu-agendar-consulta {
        display: none;
    }

    .btn-agenda:hover {
        color: var(--color-white);
        transform: scale(1.5);
    }

    .card-dep {
        width: 350px;
    }

    #depoimentos-sem-carrosel {
        gap: 16px;
        max-width: 1200px;
    }

    .testimonial-card {
        margin: 0px;
    }

    #atendimentos-sem-carrosel .card:hover,
    #atendimentos-sem-carrosel .number:hover,
    #atendimentos-sem-carrosel .card:hover h2,
    #atendimentos-sem-carrosel .card:hover a  {
        transition: transform 0.3s ease-in-out;
        background-color: #829fda;
        color: var(--color-white) !important;
        transform: scale(1.02) translateY(-10px);
    }

    #atendimentos-sem-carrosel .card:hover a:hover {
        color: var(--color-blue) !important;
    }

    section {
        padding: 32px 160px;
    }

    .section-reverse iframe {
        width: 650px;
        height: 400px;
    }

}

@media (min-width: 1200px) {
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .max-width-section {
        max-width: 1200px;
    }

    .testimonial-card {
        margin: 24px;
    }

}

.elem {
    animation: moveUp 2s ease-in-out;
    animation-delay: 1000ms;
}
@keyframes moveUp {
    0% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(-20px); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}
