/* Custom CSS for TCB Properties website */



/* Styling for the text overlay on the background image */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: white; /* Text color */
}

/* Styling for additional text paragraphs */
.overlay p {
    font-size: 18px;
    margin: 10px 0;
}

/* Styling for the company name in the navigation bar */
.navbar-brand {
    font-weight: bold;
    font-size: 24px;
}

/* Styling for the image frame and description */
.img-frame {
    position: relative;
    overflow: hidden; /* Hide the overflow for the growing effect */
    transition: transform 0.3s; /* Add a smooth transition for the transform property */
}

.img-frame:hover {
    transform: scale(1.05); /* Increase the scale to 105% on hover */
}

.img-frame img {
    width: 100%;
    height: auto;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust the opacity (0.5) for the desired dimness */
    opacity: 0; /* Initially hide the overlay */
    transition: opacity 0.3s; /* Add a smooth transition for the opacity property */
}

.img-frame:hover .img-overlay {
    opacity: 1; /* Show the overlay on hover */
}

.img-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    width: 70%;
}
.scroll-to-top {
    cursor: pointer;
    transition: all 1.3s ease-in-out;
}

.scroll-to-top:hover {
    transform: translateY(-3px); /* Adjust the value to control the animation */
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.popup {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

#close_popup {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}
.overlay1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
    opacity: 1; /* Make the overlay visible all the time */
}

#thank-you-message {
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
}

.hidden {
    display: none;
}

