@media screen and (max-width: 767px) {
    .table-stack thead {
        display: none;
    }
    .table-stack tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.25rem;
        padding: 0.5rem;
        background: #fff;
    }
    .table-stack td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        border-top: none;
        padding: 0.5rem;
    }
    .table-stack td::before {
        content: attr(data-label);
        font-weight: bold;
        text-align: left;
        margin-right: 1rem;
    }
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.5rem;
    overflow: hidden;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: bold;
}

.btn {
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.btn-lg {
    min-height: 44px;
}

.homsys-modern-form .row {
    margin-left: -15px;
    margin-right: -15px;
}

.homsys-modern-form .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.homsys-modern-form .form-control {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.homsys-jobdetail-content .homsys-content-title {
    display: block;
    clear: both;
    margin-bottom: 25px;
}

.homsys-content-title h2 {
    margin: 10px 0 10px 0;
}

.homsys-contact-form textarea,
.homsys-contact-form input[type=text],
.homsys-contact-form input[type=email],
.homsys-contact-form input[type=tel] {
    color: #333 !important;
}

.homsys-modern-form .form-group {
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}
