/* CSS for Desktop and Tablets */
.image-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
}

.normal-image, .hover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* CSS for Mobile Devices */
@media screen and (max-width: 768px) {
    .image-container {
        max-width: 140%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .normal-image, .hover-image {
        width: 100%;
        height: auto;
    }
}


header {
    display: none;
}

/* Prevent hyphenation and ensure text wrapping */
@media only screen and (max-width: 768px) {
    .elementor-widget-text,
    .elementor-widget-heading h1,
    .elementor-widget-heading h2,
    .elementor-widget-heading h3,
    .elementor-widget-heading h4,
    .elementor-widget-heading h5,
    .elementor-widget-heading h6,
	h1.ekit-heading--title.elementskit-section-title,
	elementskit-info-box-title{
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        hyphens: none !important;
    }
}



/* Targeting the video element with class "elementor-video" */
.elementor-video {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* video on houses page */
.elementor-video {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Hide default footer */
footer {
    display: none;
}

/* Additional styles for tablet screens */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .elementor-widget-text,
    .elementor-widget-heading h1,
    .elementor-widget-heading h2,
    .elementor-widget-heading h3,
    .elementor-widget-heading h4,
    .elementor-widget-heading h5,
    .elementor-widget-heading h6,
	h1.ekit-heading--title.elementskit-section-title,
	elementskit-info-box-title {
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
}

body {
    overflow-x: hidden;
}
