/* Existing CSS */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
}

header {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-left, .logo-right {
    width: 100px; /* Adjust as needed */
    height: auto;
}

.header-title {
    flex-grow: 1;
    text-align: center;
    color: #2c3e50; /* Adjust the color as needed */
    font-size: 24px;
    margin: 0 20px;
}

.container {
    max-width: 1200px; /* Increased to accommodate wider content */
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    color: #2c3e50;
}

section {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ol, ul {
    padding-left: 20px;
}

.note {
    font-style: italic;
    text-align: center;
    margin-top: 30px;
}

.screenshots {
    text-align: center;
}

@media (max-width: 600px) {
    .header-title {
        font-size: 18px;
        margin: 0 10px;
    }

    .container {
        padding: 10px;
    }
}

.figma-prototypes {
    text-align: left; /* Left-align the Figma section */
}

.prototype-buttons {
    display: flex;
    justify-content: flex-start; /* Align buttons to the left */
    gap: 20px;
    margin-top: 20px;
}

.prototype-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.prototype-button:hover {
    background-color: #2980b9;
    text-decoration: none;
}

.realtor-button {
    background-color: #e74c3c;
}

.realtor-button:hover {
    background-color: #c0392b;
}

.investor-button {
    background-color: #2ecc71;
}

.investor-button:hover {
    background-color: #27ae60;
}

/* New styles for the chat section */
.chat-section {
    text-align: center;
    margin-top: 30px;
}

.chat-section h2 {
    color: #2c3e50;
}

.chat-windows {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: nowrap;
    margin-top: 20px;
}

.phone-frame {
    position: relative;
    width: 380px; /* Adjusted to account for phone frame borders */
    height: 760px; /* Adjusted to account for phone frame borders and details */
    background-color: #000;
    border-radius: 40px;
    box-shadow: inset 0 0 0 2px #333, 0 10px 15px rgba(0, 0, 0, 0.2);
}

.phone-frame:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 20px;
    background-color: #000;
    border-radius: 10px;
}

.phone-screen {
    position: absolute;
    top: 50px; /* Space for notch and borders */
    left: 10px; /* Side borders */
    width: calc(100% - 20px);
    height: calc(100% - 100px); /* Bottom space for home button */
    background-color: #fff;
    overflow: hidden;
    border-radius: 30px;
}

.home-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: #222;
    border-radius: 50%;
}

.phone-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Adjustments for small screens */
@media (max-width: 800px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }

    .chat-windows {
        flex-direction: column;
        align-items: center;
    }

    .chat-windows {
        gap: 20px;
    }
}
