@media (min-width: 1024px) {.container {
    position: relative;
    z-index: 2;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.cell {
    flex: 1;
}

/* Spacing for About SafetyWallet text sections */
.about-title {
    margin-bottom: 40px;
}

.mission-heading,
.vision-heading,
.values-heading,
.team-heading,
.contact-heading,
.why-heading {
    margin-top: 30px;
    margin-bottom: 15px;
}

.mission-text,
.vision-text,
.values-text,
.team-text,
.contact-text,
.why-text {
    margin-bottom: 30px;
}

/* Card section for services */
.card-section {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping for two columns */
}

.card {
    flex: 1 0 calc(50% - 60px); /* Two columns with space */
    margin: 10px; /* Margin for spacing */
    padding: 20px;
    border-radius: 12px;
}

/* Use same background image for all service classes */
.service-1,
.service-2,
.service-3,
.service-4 {
    background-image: url("https://web.safetywallet.co.za/templates/sw/assets/images/general/1.%20About%20SafetyWallet/1.%20OHS%20Online.png") !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Service card text colors */
.card p {
    color: #fff;
}

.card h3 {
    margin: 0;
    /* The color for service headings is now set inline */
}

.service-heading {
    font-size: 24px;
    color: #2E758C;
    font-weight: bold;
    margin-bottom: 20px;
}

/* New Contact Us Section Styling */
.contactus-heading {
    font-size: 24px;
    color: #2E758C;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
}

.contact-section {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contact-details,
.contact-form {
    flex: 1 0 calc(50% - 80px);
    margin: 10px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.contact-details p {
    margin-bottom: 15px;
    color: #333;
}

/* Contact form layout */
.contact-form form .form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.contact-form form .form-field {
    flex: 1 0 calc(50% - 10px);
    margin-right: 10px;
}

.contact-form form .form-field.full {
    flex: 1 1 100%;
    margin-right: 0;
}

.contact-form form label {
    display: block;
    margin-bottom: 5px;
    color: #2E758C;
    font-weight: bold;
}

.contact-form form input,
.contact-form form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form form button {
    background-color: #2E758C;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form form button:hover {
    background-color: #1f5f70;
}

.contact-form form .form-row:last-child {
    display: block;
}

.contact-form form .form-row:last-child button {
    display: block;
    width: 100%;
}
}