.input-section {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

/* Style 1: Floating Label Inputs */
.floating-form-group {
    position: relative;
    margin-bottom: 20px;
}

.floating-label {
    position: absolute;
    top: 16px;
    left: 16px;
    color: #95a5a6;
    pointer-events: none;
    transition: 0.2s ease all;
}

.floating-input {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border 0.2s;
}

.floating-input:focus {
    border-color: #3498db;
}

.floating-input:focus + .floating-label,
.floating-input:not(:placeholder-shown) + .floating-label {
    top: -10px;
    left: 16px;
    font-size: 12px;
    color: #3498db;
    background-color: white;
    padding: 0 5px;
}

/* Style 2: Underlined Inputs */
.underlined-form-group {
    position: relative;
    margin-bottom: 25px;
}

.underlined-label {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 8px;
    display: block;
}

.underlined-input {
    width: 100%;
    padding: 10px 2px;
    border: none;
    border-bottom: 2px solid #ddd;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    background-color: transparent;
}

.underlined-input:focus {
    border-bottom-color: #9b59b6;
}

/* Style 3: Outlined Inputs with Icons */
.outlined-form-group {
    position: relative;
    margin-bottom: 20px;
}

.outlined-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #34495e;
    font-weight: 500;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
}

.outlined-input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

.outlined-input:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
}

/* Style 4: Modern Minimalist */
.minimalist-form-group {
    margin-bottom: 20px;
}

.minimalist-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7f8c8d;
    margin-bottom: 8px;
    font-weight: 600;
}

.minimalist-input {
    width: 100%;
    padding: 15px;
    background-color: #f7f9fc;
    border: 1px solid #eaeef2;
    border-radius: 5px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
}

.minimalist-input:focus {
    background-color: white;
    border-color: #3498db;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.input-error {
    border-color: #e74c3c;
}

.input-error + .error-message,
.input-error ~ .error-message {
    display: block;
}

/* Style 5: Material Design Inspired */
.material-form-group {
    position: relative;
    margin-bottom: 30px;
    /* width: 45%; */
    /* margin-right: 40px; */
}

.material-input {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid #a3a3a3;
    outline: none;
    background-color: transparent;
    transition: border-color 0.2s;
}

.material-input:focus {
    border-bottom-color: #2196F3;
}

.material-label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 16px;
    color: #5c5c5c;
    pointer-events: none;
    transition: 0.3s ease all;
}

.material-input:focus ~ .material-label,
.material-input:not(:placeholder-shown) ~ .material-label {
    top: -12px;
    font-size: 12px;
    color: #2196F3;
}

.material-bar {
    position: relative;
    display: block;
    width: 100%;
}

.material-bar:before, 
.material-bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 0;
    position: absolute;
    background: #2196F3;
    transition: 0.3s ease all;
}

.material-bar:before {
    left: 50%;
}

.material-bar:after {
    right: 50%;
}

.material-input:focus ~ .material-bar:before,
.material-input:focus ~ .material-bar:after {
    width: 50%;
}

.photo-upload-section {
    width: 27%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.photo-preview {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 3px solid white;
    transition: all 0.3s;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.photo-preview:hover {
    transform: scale(1.03);
}

.photo-icon {
    font-size: 45px;
    color: #ccc;
}

.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
}

.upload-btn {
    color: white;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(67, 97, 238, 0.4);
}

.upload-btn:active {
    transform: translateY(0);
}

.upload-btn-wrapper input[type=file] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.photo-requirements {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}
.groups{
    width:73%;
}
.group{
    width:35%;
    margin-right: 40px;
}
.mid_group{
    width:45%;
    margin-right: 40px;
}
.full_group{
    width:94%;
}
.margin-high-top{
    margin-top: -200px;
}
.margin-mid-top{
    margin-top: -110px;
}


.gender-options {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 10px;
}

.gender-option {
    flex: 1;
}

.gender-option input[type="radio"] {
    display: none;
}

.gender-option label {
    display: block;
    padding: 6px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #555;
}

.gender-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.05);
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .container {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .photo-upload-section {
        width: 100%;
        margin-bottom: 20px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}



.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.checkbox-item {
    position: relative;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f9f9f9;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    overflow: hidden;
}

.checkbox-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.checkbox-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding-left: 35px;
    font-weight: 500;
    color: #444;
    position: relative;
}

.checkbox-item .icon {
    margin-right: 12px;
    color: #3a47d5;
    font-size: 18px;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-item:hover .checkmark {
    border-color: #3a47d5;
}

.checkbox-item input:checked ~ label .checkmark {
    background-color: #3a47d5;
    border-color: #3a47d5;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-item input:checked ~ label .checkmark:after {
    display: block;
    animation: checkAnim 0.3s ease-out;
}

@keyframes checkAnim {
    0% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.checkbox-item label .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-item input:checked ~ .checkbox-bg {
    opacity: 0.1;
}
.form-content {
    padding: 30px;
    position: relative;
}
.form-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 20px;
    font-weight: 500;
}

.checkbox-bg {
    /* position: absolute; */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #3a47d5 0%, #00d2ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    z-index: 0;
}

.other-option {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.other-option:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.other-input {
    display: flex;
    margin-top: 15px;
    align-items: center;
}

.other-input input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.other-input input[type="text"]:focus {
    border-color: #3a47d5;
    box-shadow: 0 0 0 3px rgba(58, 71, 213, 0.1);
    outline: none;
}

@media (max-width: 768px) {
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .form-header h2 {
        font-size: 20px;
    }
}

/* Animation for items */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.checkbox-item {
    animation: fadeIn 0.5s ease-out forwards;
}
.form-header {
    background: linear-gradient(45deg, #3a47d5 0%, #00d2ff 100%);
    padding: 17px 25px;
    color: white;
    position: relative;
    border-radius: 50px;
}

.form-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    text-align: center;
}



@media(max-width:768px){
    .header{
        display:block !important;
        padding: 0 10px !important;
    }
    .common{
        width: 100% !important;
        margin: 1px 4px !important;
    }
    .head_right{
        text-align: center !important;
    }
    .form_page{
        margin: 35px 0px !important;
    }
    .logo{
        text-align: center;
    }
    .form-content{
        padding: 30px 0px;
    }
    .groups, .group, .mid_group {
        width: 100%;
        margin-right: 0px;
    }
    .margin-high-top, .cgh, .margin-mid-top{
        margin-top:0px !important;
    }
    .input-section{
        padding:5px;
        box-shadow: none;
    }
}
