
.heartbeat-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.heartbeat-image {
    width: 100%;
    margin: 5% auto;
    display: block;
}

.heartbeat-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}

.heartbeat-texts {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    margin-bottom: 18%;
    padding-right: 10%;
}

.doe-btn {
    background-color: #8A0302;
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1.5rem;
    border: none;
    border-radius: 5%;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    transition: background-color 0.3s;
}


.doe-btn:hover {
    background-color: #660202;
}


.doe-agora {
    position: fixed;
    bottom: 0.5em;
    right: 0.5em;
    background-color: #8A0302;
    color: white;
    padding: 1rem 2rem;
    margin: 0 1.5% 1.5% 0;
    border: none;
    border-radius: 5em;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.doe-agora:hover {
    background-color: #660202;
}

.carrossel {
    width: 100%;
    max-width: 60%;
    height: 40%; 
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 0.5em;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    display: flex;
    width: calc(100% * 4);
    transition: transform 0.5s ease;
}

.slide img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
}

.dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #8A0302; 
}

@media screen and (max-width: 1024px) {
    .heartbeat-texts {
        padding-right: 0%;
    }
    .heartbeat-image {
        margin-top: 10%;
    }
}
@media screen and (max-width: 768px) {
    .heartbeat-image {
        margin-top: 12%;
    }
    .heartbeat-texts {
        margin-bottom: 12%;
        padding-right: 0%;
    }
    .heartbeat-texts h2 {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 560px)  {
    .heartbeat-image {
        margin-top: 17%;
    }
    .heartbeat-texts h2 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 426px)  {
    .heartbeat-texts h2 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 376px) {
    .heartbeat-texts {
        display: none;
    }
    .heartbeat-image {
        margin-top: 8%;
    }
}