.contact-overlay {
    text-align: center;
}

.contact-overlay > img {
    width: 1050px;
}

#contact-div {
    min-height: 450px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.contact-list {
    background: rgba(245, 206, 178, 80%);
    border-radius: 5rem;
    height: 40%;
    width: 60%;
    display: grid;
    grid-template: 1fr 1fr / 1fr 1fr;
    gap: 1rem 3rem;
    padding: 1rem 3rem;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-img-container {
    position: relative;
    display: inline-block;
    padding: 2rem;
}

.contact-img-container > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 4rem;
    width: 4rem;
}

.value {
    background: #fea3a1;
    width: 100%;
    height: 2rem;
    border-radius: 1rem;
    padding-left: 20px;
    padding-top: 4px;
    color: white;
    letter-spacing: 1px;
}

/* RATINGS */
.ratings {
    width: 100%;
    height: 30%;
    background: #eec3ad60;
    padding: 1rem 0rem 2rem 4rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 60px;
    padding-bottom: 10px;
}

.ratings h2 {
    font-family: "Bukhari Script", sans-serif;
    font-size: 50px;
    font-weight: 400;
    color: #ef5855;
    text-shadow: 2px 2px #fff;
}

.ratings-list {
    border: 1px solid #ef5855;
    background: radial-gradient(circle at 50% 50%, #ef5855, #ffcbca);
    width: max-content;
    height: 100%;
    border-radius: 2.5rem;
    display: flex;
    justify-content: space-between;
    padding: 1rem 3rem 0.5rem 3rem;
    gap: 1rem;
}

.ratings-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.ratings-item img {
    width: 3.5rem;
    height: 3.5rem;
}

.ratings-item p {
    text-transform: uppercase;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
}


.rating-img {
    text-align: center;
}

.rating-img img {
    width: 5rem;
    height: 5rem;
}

.rating-modal-content {
    margin-top: 10px;
    text-align: center;
    color: white;
}

.rating-modal-content button {
    background-color: #e18582;
    border: none;
    padding: 10px 55px;
    border-radius: 15px;
    margin-top: 10px;
    cursor: pointer;
    color: white;
    font-family: "Anton", sans-serif;
}

.rating-modal-content h1 {
    color: #e18582;
}

/* Media query for responsive design */
@media only screen and (max-width: 768px) {
    .contact-overlay > img {
        width: 100%;
    }

    .contact-list {
        width: 95%;
        padding: 1.5rem;
        grid-template: auto / 1fr;
    }

    .ratings {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 20px;
        padding-bottom: 20px;

    }

    .ratings-list {
        width: 90%;
        padding: 1rem;
    }

    .ratings-item {
        margin-bottom: 10px;
    }

    .modal-content {
        width: 80%;
    }
}