/* General form styling */
body {
    background-color: #fff; /* Light blue background color */
    min-height: 100vh; /* Ensure body covers the full viewport height */
    background-attachment: fixed; /* Fix the background so it doesn't scroll with content */
}

.contact-page-sec {
    padding: 60px 0; /* Adjust padding */
    background-color: #F3C623; /* Make background transparent */
}

.contact-field {
    background-color: #ffffff; /* White background for the form area */
    padding: 40px; /* Increased padding */
    border-radius: 10px; /* More rounded corners */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); /* Enhanced shadow */
    border: none; /* Remove the original border */
}

.contact-field h3 {
    color: #C42E30;
    text-align: center;
    margin-bottom: 30px; /* Increased margin */
    font-size: 24px; /* Larger heading */
}

.contact-field p {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px; /* Increased margin */
    padding-bottom: 10px;
    border-bottom: 2px solid #C42E30 !important;
    font-weight: bold; /* Make section titles bold */
}

/* Input field styling */
.single-input-field {
    margin-bottom: 25px; /* Increased margin */
}

.single-input-field label {
    display: block;
    margin-bottom: 8px; /* Increased margin */
    font-weight: bold;
    color: #333; /* Darker label color */
    font-size: 15px; /* Slightly larger label font */
}

.single-input-field input[type="text"],
.single-input-field input[type="date"],
.single-input-field select {
    width: 100%;
    padding: 12px; /* Increased padding */
    border: 1px solid #ccc;
    border-radius: 5px; /* More rounded corners */
    box-sizing: border-box;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    font-size: 15px; /* Consistent font size */
}

.single-input-field input[type="text"]:focus,
.single-input-field input[type="date"]:focus,
.single-input-field select:focus {
    border-color: #C42E30;
    box-shadow: 0 0 10px rgba(196, 46, 48, 0.4); /* More prominent shadow on focus */
    outline: none;
}

/* Table styling */
.table {
    width: 100%;
    margin-bottom: 25px; /* Increased margin */
    border-collapse: collapse;
    border: 1px solid #ddd; /* Add border to the table */
}

.table th,
.table td {
    border: 1px solid #ddd;
    padding: 15px; /* Increased padding */
    text-align: left;
}

.table th {
    background-color: #C42E30 !important;
    color: white !important;
    text-align: center;
    font-weight: bold;
    font-size: 16px; /* Slightly larger header font */
}

.table tbody tr:nth-child(even) {
    background-color: #f8f8f8; /* Lighter shade for even rows */
}

.table tbody tr:hover {
    background-color: #e9e9e9; /* Lighter hover color */
    transition: background-color 0.3s ease-in-out;
}

/* Button styling */
.single-input-fieldsbtn input[type="button"] {
    display: block;
    width: 250px; /* Increased button width */
    margin: 30px auto 0; /* Increased margin */
    padding: 15px 25px; /* Increased padding */
    background-color: #C42E30 !important;
    color: white !important;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
    font-weight: bold; /* Bold button text */
}

.single-input-fieldsbtn input[type="button"]:hover {
    background-color: #a02527 !important;
    transform: scale(1.05);
}

/* Animation example (can be applied to elements) */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.contact-field {
    animation: fadeIn 1s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-field {
        padding: 25px;
    }

    .table th,
    .table td {
        padding: 10px;
    }

    .single-input-fieldsbtn input[type="button"] {
        width: 100%;
    }
}

/* Additional Responsive Styles */
@media (max-width: 576px) {
    .contact-field {
        padding: 20px;
    }

    .contact-field h3 {
        font-size: 22px;
    }

    .contact-field p {
        font-size: 17px;
    }

    .single-input-field {
        margin-bottom: 20px;
    }

    .single-input-field label {
        font-size: 13px;
    }

    .single-input-field input[type="text"],
    .single-input-field input[type="date"],
    .single-input-field select {
        padding: 10px;
        font-size: 13px;
    }

    .table th,
    .table td {
        padding: 12px;
        font-size: 13px;
    }

    .single-input-fieldsbtn input[type="button"] {
        padding: 12px 20px;
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .contact-field {
        padding: 15px;
    }

    .contact-field h3 {
        font-size: 20px;
    }

    .contact-field p {
        font-size: 15px;
    }

    .single-input-field label {
        font-size: 11px;
    }

    .single-input-field input[type="text"],
    .single-input-field input[type="date"],
    .single-input-field select {
        padding: 8px;
        font-size: 11px;
    }

    .table th,
    .table td {
        padding: 10px;
        font-size: 11px;
    }

    .single-input-fieldsbtn input[type="button"] {
        padding: 10px 15px;
        font-size: 14px;
    }
}
