*{
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f4f7f6;
color: #333;
line-height: 1.6;
padding: 20px;
}

.form-container {
max-width: 800px;
margin: 0 auto;
background: #ffffff;
padding: 40px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

header {
text-align: center;
border-bottom: 2px solid #005f73;
padding-bottom: 20px;
margin-bottom: 20px;
}

header h1 {
color: #005f73;
font-size: 24px;
margin-bottom: 8px;
}

header h2 {
font-size: 14px;
color: #555;
font-weight: 600;
}

.intro-text p {
font-size: 14px;
margin-bottom: 12px;
color: #444;
}

.intro-text a {
color: #005f73;
text-decoration: none;
}

.intro-text strong {
color: #9b2226; /* Dark red for the important warning */
}

h3 {
margin: 30px 0 15px 0;
color: #005f73;
border-bottom: 1px solid #ccc;
padding-bottom: 5px;
}

fieldset {
border: none;
margin-bottom: 20px;
}

fieldset legend {
font-weight: bold;
margin-bottom: 10px;
color: #333;
}

.form-field {
margin-bottom: 15px;
}

.form-field label {
display: block;
margin-bottom: 5px;
font-weight: 600;
font-size: 14px;
}

input[type="text"],
input[type="date"],
input[type="tel"],
input[type="email"],
select,
textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 14px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

textarea {
resize: vertical; /* Lets the user click and drag to make the box taller */
}

input:focus, select:focus, textarea:focus {
outline: none;
border-color: #005f73;
box-shadow: 0 0 5px rgba(0, 95, 115, 0.2);
}

/* Grid Layouts for grouping fields side by side */
.input-group {
margin-bottom: 15px;
}

.grid-3 {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
}

.grid-2 {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}

.half-width {
width: 50%;
}

.upload-field {
background: #e9ecef;
padding: 15px;
border-radius: 4px;
margin-top: 20px;
}

.upload-field small {
display: block;
margin-top: 5px;
color: #666;
}

.submit-btn {
display: block;
width: 100%;
background-color: #005f73;
color: white;
padding: 15px;
border: none;
border-radius: 4px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
margin-top: 30px;
transition: background-color 0.3s;
}

.submit-btn:hover {
background-color: #0a9396;
}

/* Make it responsive for mobile phones */
@media (max-width: 600px) {
.grid-3, .grid-2 {
grid-template-columns: 1fr;
}
.half-width {
width: 100%;
}
.form-container {
padding: 20px;
}
}

/* Right to Work Section Styles */
.section-subheader {
font-size: 15px;
color: #555;
margin-bottom: 20px;
font-weight: 600;
}

.info-text {
background: #fdfdfd;
border-left: 4px solid #005f73;
padding: 20px;
margin-bottom: 25px;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.info-text h4 {
color: #005f73;
margin-bottom: 15px;
}

.info-text p {
font-size: 14px;
margin-bottom: 10px;
color: #444;
}

.info-text ul {
margin-left: 20px;
margin-bottom: 15px;
font-size: 14px;
color: #444;
}

.info-text ul li {
margin-bottom: 5px;
}

.radio-fieldset {
margin-top: 20px;
}

.radio-group {
display: flex;
gap: 20px;
margin-top: 10px;
}

.radio-group label {
display: flex;
align-items: center;
font-weight: normal;
font-size: 15px;
cursor: pointer;
}

.radio-group input[type="radio"] {
margin-right: 8px;
width: 18px;
height: 18px;
cursor: pointer;
}

.form-logo {
max-width: 200px;
height: auto;
display: block;
margin: 0 auto 15px auto;
}