.tc-inner-header-st1 {
    position: relative;
    padding: 60px 0; /* Adds more space for better layout */
}

.header-content {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping for better responsiveness */
    justify-content: space-between;
    align-items: flex-start; /* Aligns the items at the top */
    gap: 20px; /* Adds spacing between items */
}

.header-left {
    flex: 1 1 60%; /* Takes 60% of the width on larger screens */
    min-width: 300px; /* Ensures it doesn't shrink too much */
}

.header-left h1 {
    margin-top: 20px;
    font-size: 36px;
    font-weight: 700;
}

.contact-form-container {
    flex: 1 1 35%; /* Takes 35% of the width on larger screens */
    min-width: 300px; /* Ensures it stays properly sized */
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h4 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: #000000;
}

.contact-form .form-floating {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button.btn-primary:hover {
    background-color: #0056b3;
}
