body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    width: 100%;
    text-align: center;
}

/* Flexbox Row for Images */
.image-row {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

.side-image {
    width: 50%;
    height: 300px; /* Fixed height for alignment */
    border-radius: 8px;
    object-fit: cover; /* Crops image to fit the box without stretching */
    display: block;
}

h1 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.services {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #555;
}

.contact-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.contact-box p {
    margin: 0;
    font-weight: 500;
}

.contact-box a {
    color: #d32f2f; /* Racing red color */
    text-decoration: none;
    font-weight: bold;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Responsive adjustment for phones */
@media (max-width: 600px) {
    .image-row {
        flex-direction: column;
    }
    .side-image {
        width: 100%;
        height: auto;
    }
    .container {
        padding: 1.5rem;
    }
}
.hero-image {
    width: 100%;       /* Forces image to match the width of the white box */
 /*   max-width: 720px; */ /* Prevents it from getting too large on big screens */
    height: auto;      /* Maintains the correct proportions */
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    }

/* Styling for long-form text pages */
.text-content h3 {
    margin-top: 2rem;
    color: #1a1a1a;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.text-content h4 {
    margin-top: 1.5rem;
    color: #333;
}

.text-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-align: justify;
}

.text-content ul {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.text-content li {
    margin-bottom: 10px;
}
