* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* css is optimized for scrolling problem and make it small for both size   */

body {
    background-color:#044484;
    color: #333;
}

.main-container {
    max-width: 1000px;
    width: 95%;
    margin: 1rem auto;
    background: #ccc6c6;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

 .container {
    display: flex;
    flex-wrap: wrap;
}

 
.image-section {
    flex: 1;
    background: url('images/mpu_students.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    color: white;
}

.university-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    background-image: url('https://via.placeholder.com/70x70.png?text=MPU');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.image-section h1 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.image-section p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.form-section {
    flex: 1;
    padding: 1.5rem;
}

.form-container {
    max-width: 100%;
}

.form-header {
    margin-bottom: 1rem;
    text-align: center;
}

.form-header-logo {
    width: 300px;
    height: 50px;
    margin: 0 auto 0.3rem;
    background-image: url('images/logo-mind-power-university.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.form-header h2 {
    font-size: 1.3rem;
    color: #044484;
    margin-bottom: 0.2rem;
}

.form-header p {
    color: #7f8c8d;
    font-size: 0.75rem;
}

.form-row {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group label {
    display: block; 
    color: #000000;
    font-size: 0.8rem;
}

.form-control {
    width: 100%;
    padding: 0.5rem 0.7rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #4e73df;
    box-shadow: 0 0 0 2px rgba(78, 115, 223, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 0.8em;
}

.radio-group {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
}

.radio-option input {
    margin-right: 0.4rem;
}

.btn {
    background-color: #a30c12;
    color: white;
    padding: 0.6rem;
    border: none;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 0.5rem;
}

.btn:hover {
    background-color: #3a5ccc;
}

/* Specialization and Country Fields - Hidden */
#specializationGroup,
#countryGroup {
    display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .image-section {
        min-height: 220px;
        text-align: center;
        padding: 1.2rem 1rem;
    }

    .university-logo {
        margin: 0 auto 1rem;
    }

    .form-section {
        padding: 1.2rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }

    .form-group {
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 480px) {
    .main-container {
        margin: 0;
        border-radius: 0;
        width: 100%;
    }

    .radio-group {
      
        gap: 0.4rem;
    }

    .image-section h1 {
        font-size: 1.3rem;
    }

    .image-section p {
        font-size: 0.75rem;
    }

    .form-header h2 {
        font-size: 1.2rem;
    }

    .form-header p {
        font-size: 0.7rem;
    }
}
