.aboutme2-container {
    background-color: var(--dark-color);
    position: relative;
    height: 500px;
}

.aboutme2-info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-7%, -50%);
    padding: 25px 100px 50px 50px;
    max-width: 500px;
}

.aboutme2-image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-93%, -50%);
    min-width: 400px;
    height: 75%;
    aspect-ratio: 16 / 12;
}

.aboutme2-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.aboutme2-agent-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    white-space: nowrap;
}

.aboutme2-agent-role {
    font-weight: 200;
    color: var(--dark-color);
}

.aboutme2-tagline {
    font-weight: 300;
    color: var(--dark-color);
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .aboutme2-container {
        height: auto;
        padding: 40px 10px !important;
    }

    .aboutme2-image-container {
        position: static;
        transform: translate(0, 0);
        width: 100%;
        min-width: 0;
    }

    .aboutme2-info-container {
        position: static;
        transform: translate(0, 0);
        background-color: var(--dark-color);
        padding: 40px 20px 0;
        max-width: none;
    }

    .aboutme2-agent-name, .aboutme2-agent-role, .aboutme2-tagline {
        color: white;
        text-align: center;
    }

    .aboutme2-button {
        text-align: center;
    }
}