* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%; /* Full height */
    min-height: 100%; /* Ensures at least 100% of the viewport height */
    display: flex;
    flex-direction: column; /* Stack containers vertically */
    align-items: center; /* Align vertically */
    justify-content: flex-start; /* Align horizontally to the start */
    font-family: 'Arial', sans-serif;
    background: #f4f4f9;
    overflow-y: auto; /* Add scrollbar if content overflows */
}


.logo-container {
    display: flex;
    align-items: center;
    width: 100%; /* Ensure the container takes full width */
    justify-content: center; /* Center the logo horizontally */
    margin-top: 20px; /* Adjust margin to ensure spacing from top */
    margin-bottom: 0px; /* Adjust margin to ensure spacing from top */
}

.logo-container img {
    width: 400px; /* Set fixed width for consistency */
    height: auto; /* Maintain aspect ratio */
}

.main-container {
    width: 100%;
    max-width: 800px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 10px;
    padding-right: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px; /* Added margin-top for spacing from logo */
}

.subjects-container {
    width: 100%;
    max-width: 800px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px; /* Added margin-top for spacing from logo */
}

h2 {
    color: #0056b3;
    margin-bottom: 10px;
}

p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.btn {
    background: #0056b3;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
}

.btn:hover {
    background: #004494;
}

.form-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #fff;
}

.resume i {
    font-size: 2em;
    color: #0056b3;
    margin: 10px;
}

.media {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #fff;
}

.media i {
    font-size: 2em;
    color: #0056b3;
    margin: 10px;
    cursor: pointer;
}

.subjects-container li{
    list-style-type: none; 
    padding-left: 0; 
    text-align: left;
}