.location-text {
    font-weight: bold;
    color: rgb(255, 255, 255); /* Changed to blue as per previous instructions */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal; /* Ensure text wraps correctly */
    line-height: 1.2em; /* Adjust line height for readability */
    max-height: 2.4em; /* Ensure it fits within 2 lines */
}

.underline {
    text-decoration: none; /* Remove default underline */
    border-bottom: 4px solid red; /* Add red underline */
}

.dynamic-phone a {
    color: rgb(255, 255, 255); /* Change phone number link color to red */
    text-decoration: none; /* Remove underline from link */
    font-size: 1.5em; /* Increase font size of phone number */
}

.dynamic-phone i {
    margin-right: 5px; /* Add some space between the icon and the phone number */
}

.float-img {
    float: left;
    margin: 0 15px 15px 0;
    max-width: 50%;
    height: auto;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .float-img {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
        max-width: 100%;
    }
}

.dynamic-phone {
    display: inline-block;
    background-color: #ff0000; /* Background color */
    color: #ffffff; /* Text color */
    padding: 1px 10px; /* Padding */
    border-radius: 50px; /* Rounded corners */
    font-size: 1.0em; /* Font size */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove underline */
    margin-top: 1px; /* Margin top */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Drop shadow */
}

/* Responsive styles for dynamic-phone */
@media (max-width: 768px) {
    .dynamic-phone {
        font-size: 1.2em; /* Smaller font size */
        padding: 8px 16px; /* Smaller padding */
    }
}

@media (max-width: 480px) {
    .dynamic-phone {
        font-size: 1em; /* Even smaller font size */
        padding: 6px 12px; /* Even smaller padding */
    }
}



footer {
    color: #fff;
    text-align: center;
    padding: 10px 0;
    width: 100%;
}

/* Styles for thank you message container */
.thank-you-message-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.5); /* Optional: Add a semi-transparent background for better readability */
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
}

.thank-you-message-container h1 {
    font-size: 2em; /* Default font size */
}

.thank-you-message-container p {
    font-size: 1.2em; /* Default font size */
}

/* Responsive styles for thank you message */
@media (max-width: 768px) {
    .thank-you-message-container h1 {
        font-size: 1.5em; /* Smaller font size */
    }

    .thank-you-message-container p {
        font-size: 1em; /* Smaller font size */
    }
}

@media (max-width: 480px) {
    .thank-you-message-container h1 {
        font-size: 1.2em; /* Even smaller font size */
    }

    .thank-you-message-container p {
        font-size: 0.9em; /* Even smaller font size */
    }
}

/* Styles for thank you page body */
.thank-you-body {
    background-color: #000000; /* Grey background color */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

