body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    min-height: 100vh;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #485150; /* Updated fallback background color */
}

.container {
    display: flex;
    flex-direction: row;
    min-height: 100vh; /* Allow content to grow */
}

.left-section, .right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
    background-size: cover; /* Ensure background covers full area */
    background-repeat: no-repeat; /* Prevent tiling */
    background-position: center;
    background-color: #485150; /* Updated fallback color */
}

.left-section {
    background-image: url('background-left.jpg');
}

.right-section {
    background-image: url('background-right.jpg');
    color: #fff;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    position: relative;
    overflow-y: auto; /* Enable scrolling for overflow content */
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    width: 250px; /* Larger logo */
    display: block;
}

.text-content {
    text-align: justify; /* Justify the text */
    max-width: 600px; /* Optional: limit the text width for better readability */
    color: #e2b05c; /* color for the text */
}

.text-content-white {
    text-align: justify; /* Justify the text */
    max-width: 600px; /* Optional: limit the text width for better readability */
    color: #ffffff; /* color for the text */
}

.text-content p {
    margin: 10px 0;
    line-height: 1.6;
}

.contact-section {
    position: absolute;
    bottom: 20%; /* Adjusted for better spacing */
    left: 30px;
    text-align: center;
}

.contact-section h2 {
    font-size: 1.5rem;
    margin: 0;
    color: #fff; /* White color for "CONTACT US:" */
    display: inline;
    font-weight: bold;
}

.contact-section .email:link,
.contact-section .email:visited,
.contact-section .email:active {
    color: #ca963e; /* Gold-like color for the email */
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
    display: inline;
}
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack sections vertically */
        min-height: auto; /* Allow the container to grow with content */
    }

    .left-section, .right-section {
        width: 100%; /* Full width for each section */
        min-height: auto; /* Adjust height for content */
        align-items: center; /* Center content horizontally */
        text-align: center; /* Center text */
        padding: 20px; /* Reduce padding for smaller screens */
        background-size: cover;
        background-repeat: no-repeat; /* Prevent tiling */
        background-position: center;
    }

    .logo {
        width: 150px; /* Reduce logo size for smaller screens */
    }

    .text-content {
        max-width: 90%; /* Adjust text width for mobile */
    }

    .contact-section {
        position: static; /* Remove absolute positioning */
        margin-top: 20px; /* Add spacing on top */
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack sections vertically */
        min-height: auto;
    }

    .left-section, .right-section {
        width: 100%;
        min-height: auto;
        align-items: center;
        text-align: center;
        padding: 20px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .logo {
        width: 150px;
    }

    .text-content {
        max-width: 90%;
    }

    /*Move the contact section below the text on phones */
    .right-section {
        order: 2; /* Ensure it comes after the left section */
        background-image: url('background-left.jpg');
        background-color: #485150; /* Keep layout clean */
        padding-top: 0;
    }

    .contact-section {
        position: static; /* Remove absolute positioning */
        margin-top: 20px;
        text-align: center;
    }
}
