/* Form Container Styles */
.form-container {
    max-width: 900px;
    margin: auto;
    padding: 40px;
    font-family: "Arial", sans-serif;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Header Section */
.header-section {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #2f497e;
}

/* Section Headers (Blue color background) */
.section-header {
    background: #466286; /* Matching blue color */
    color: white;
    font-size: 22px;
    font-weight: bold;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 25px;
}

/* Custom Input Fields */
.input-custom {
    background: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    padding: 14px;
    width: 100%;
}

/* Form Labels */
label {
    font-weight: bold;
    font-size: 18px;
    color: #2f497e;
}



/* Button Style */
.btn-submit {
    background-color: #2f497e;
    color: white;
    font-size: 18px;
    padding: 14px 35px;
    border: none;
    border-radius: 30px;
    transition: 0.3s ease-in-out;
}

.btn-submit:hover {
    background-color: #1e3554;
    color: white !important;
}

/* Radio Button Styling */
.custom-radio-group {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 5px;
}

.custom-radio-group label {
    padding: 10px 20px;
    border: 2px solid #d1d1d1;
    border-radius: 30px;
    cursor: pointer;
    background-color: #f9f9f9;
    font-size: 16px;
    font-weight: bold;
    color: #2f497e;
    transition: background-color 0.3s, border-color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-radio-group input {
    display: none;
}

.custom-radio-group input:checked + label {
    background-color: #2f497e;
    color: white;
    font-weight: bold;
    border-color: #2f497e;
}

/* Radio Button Hover Effect */
.custom-radio-group label:hover {
    background-color: #e1e1e1;
}

/* Radio Button Active Effect */
.custom-radio-group input:checked + label {
    background-color: #2f497e;
    color: white;
    transform: scale(1.1);
    border-color: #2f497e;
}

/* Focus Effect for Radio Button */
.custom-radio-group input:focus + label {
    outline: none;
    box-shadow: 0 0 5px rgba(47, 73, 126, 0.5);
}

/* Questions Styling */
.question p {
    font-size: 18px;
    font-weight: bold;
    font-style: normal;
    color: #2f497e;
    margin-bottom: 10px;
}

/* Modern Font for Labels */
label {
    font-family: 'Poppins', sans-serif;
    color: #2f497e;
}

/* Modern Text and Button Focus */
.input-custom:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #2f497e;
    box-shadow: 0 0 8px rgba(47, 73, 126, 0.3);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

/* Form Container Responsive Styling */
@media (max-width: 768px) {
    .form-container {
        padding: 20px;
    }
    .section-header {
        font-size: 18px;
    }
}

/* Section Header Color Fix for Repetitive Section Header */
.section-header {
    background-color: #466286; /* Matching blue color */
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 25px;
}
