body {
    font-family: 'PT Serif', serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #f8f8f8;
}

.container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    flex-direction: row;
}

.image-section {
    flex: 1;
    overflow: hidden;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.mobile-image {
    display: none;
}

.text-section {
    flex: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    font-size: 2.5em;
    margin: 0;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
}

h2 {
    font-size: 1.5em;
    margin: 10px 0;
    color: #777;
    font-weight: 400;
}

p {
    font-size: 1em;
    line-height: 1.6;
    margin: 20px 0;
    color: #333;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a.link {
    color: #0073b1;
}

a.link:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 0;
    width: 280px;
    height: 31px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    border-radius: 0;
    text-transform: uppercase;
    line-height: 31px; /* Ensures the text is vertically centered */
}

.btn:hover {
    background-color: #555;
}

.links {
    margin-top: 20px;
}

.links a {
    margin: 0 5px;
    font-size: 0.9em;
    color: #333;
    font-weight: 600;
}

.links a:hover {
    color: #555;
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
    }

    .image-section {
        width: 100%;
    }

    .desktop-image {
        display: none;
    }

    .mobile-image {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: top;
    }

    .text-section {
        padding: 20px;
    }

    .btn {
        width: 100%;
        padding: 10px 0;
        line-height: 31px; /* Ensures the text is vertically centered */
    }

    .links {
        text-align: center;
    }

    .links a {
        display: inline-block;
        margin: 10px 5px;
    }
}