.qodef-page-title {
    position: relative;
    background: url('../wp-content/images/background_img/bg_1.jpeg') center/cover no-repeat;
    height: 300px;
    width: 100%;
}

.qodef-page-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust overlay darkness */
}

.qodef-m1-title {
    color: #ffffff; /* Change to a visible color */
    font-size: 36px;
    font-weight: bold;
    text-align: left;
    position: relative;
    z-index: 2; /* Ensures text is above background */
}




.qodef-m1-title {
    display: block !important; 
    visibility: visible !important;
    opacity: 1 !important;
}


.qodef-page-title::before {
    z-index: 1; /* Ensure it's behind the text */
}
.qodef-m1-title {
    position: relative;
    z-index: 2; /* Bring text in front */
}



.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 85px;
    background-color:#EE0D08 ;/* Red background */
    color: white;
    font-size: 35px;
    text-decoration: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-left: 20px;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

.whatsapp-icon i {
    color: white;
}

@media (max-width: 768px) {
    .whatsapp-button {
        position: fixed; /* Keeps the icon in a fixed position */
        bottom: 25px; /* Distance from the bottom */
        right: 25px; /* Distance from the right */
        background-color: #EE0D08; /* WhatsApp green */
        color: white; /* Icon color */
        width: 50px; /* Icon width */
        height: 50px; /* Icon height */
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000; /* Ensures it's above other elements */
        text-decoration: none; /* Removes default link styling */
        border-radius: 5px; /* Optional: Slightly rounded */
    }

    .whatsapp-button i {
        font-size: 24px; /* Adjust icon size */
    }

    .whatsapp-button:hover {
        background-color: #EE0D08; /* Slightly darker green on hover */
    }
}


@media (min-width: 769px) {
    .whatsapp-button {
        display: none; /* Hide WhatsApp icon on larger screens */
    }
}
