.footer {
    width: 100%;
    padding: 50px 0;
    background-color: #204e69fb;
    border-top-right-radius: 80px;
    color: white;
    /* Combine the background image and background color */
    background-image: url('https://thepainexclinic.com/_next/static/media/footer.8a07b9e9.png');
    background-repeat: no-repeat;
    background-position: 0 -150px;
    background-size: cover; /* Adjust image to cover the area */
    /* Ensure the color is underneath the image */
    background-blend-mode: multiply; /* Allows blending of color and image */
}
.beat:hover{
    scale: 1.5;
}
.footer_flexbox {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligns the boxes at the top */
    gap: 50px; /* Add spacing between the footer boxes */
    flex-wrap: wrap;
}

.footer_boxes {
    width: 100%;
    max-width: 250px;
    padding: 20px; /* Add padding to each box */
}

.footer_boxes h3 {
    margin-bottom: 15px;
    font-size: 30px;
    color: white;
}

.logo img {
    width: 100%;
    max-width: 180px;
}

.footer_header_content p {
    color: white;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}

/* Link Styling */
.footer_links, .footer_social_media {
    width: 100%;
}

.footer_links a,
.footer_social_media a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer_links a:hover,
.footer_social_media a:hover {
    color: whitesmoke;
    scale: 1.1;
    transition: 0.5s;
}

/* Footer bottom */
.footer_bottom {
    background-color: #1e1c55;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid gray;
    color: #fff;
    font-size: 14px;
}

/* Align the contact info */
.footer_contact p {
    font-size: 14px;
    margin-bottom: 10px;
}
.footer_bottom p a{
    color: white;
    text-decoration: none;
}
.footer_contact p a{
    text-decoration: none;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer_flexbox {
        flex-direction: column;
        align-items: start;
        text-align: start;
    }

    .footer_boxes {
        max-width: 100%; 
        padding: 0;
    }
}


