body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('image/back-img.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

main {
    margin: 0;
    backdrop-filter: blur(2px);
    background: rgba(68, 108, 169, 0.5);
    padding: 40px 20px;
}

section {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* Header */
section .header {
    height: auto;
    width: 100%;
    color: #000;
    margin: 2px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
}

.logo img {
    height: 60px;
    max-width: 100%;
}

/* .icon i {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #446ca9;
    border-radius: 4px;
} */

/* Container */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-top: 50px;
    padding: 50px;
}

.banner {
    flex: 1 1 400px;
    color: #fff;
    padding: 20px;
}

.banner h1 {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgb(0 0 0 / 50%);
    margin-bottom: 10px;
}

.banner p {
    font-size: 1.1rem;
    line-height: 1.8rem;
    margin-bottom: 20px;
}

.banner button {
    margin-top: 15px;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 400;
    border: 2px solid #fff;
    background-color: transparent;
    border-radius: 40px;
    cursor: pointer;
}

/* Form Box */
.form-box {
    flex: 1 1 350px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border-top: 5px solid #f9b624;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.form-box h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #000;
}

.form-box label {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin: 10px 0 0 10px;
}

.form-box input, 
.form-box select {
    width: 96%;
    margin: 6px 10px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.form-box input:focus,
.form-box select:focus {
    outline: none;
    border-color: #446ca9;
}

#studentName, #phoneNumber, #marks {
    width: 93.5%;
    text-decoration: none;
}

.scholarship-box {
    /* float: right; */
    align-self: flex-end;
    background: #003366;
    border: 2px solid #003366;
    padding: 10px;
    border-radius: 8px;
    margin-right: 20px;
    width: fit-content;
    text-align: right;
}
  
.scholarship-box h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #fff;
}
  
.scholarship-box p {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

.btn {
    display: flex;
    gap: 10px;
    justify-content: center;
}

button {
    width: 50%;
    margin-top: 20px;
    padding: 10px;
    background-color: #003366;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.disclaimer {
    color: #00695c;
    margin-top: 10px;
    margin-left: 30px;
    line-height: 10px;
}

.result {
    display: block;
    background-color: #f1f1f1;
    padding: 20px;
    margin-top: 10px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
  
.result-table th,
.result-table td {
    border: 1px solid #0097a7;
    padding: 10px;
    text-align: left;
}
  
.result-table th {
    background-color: #b2ebf2;
    color: #004d40;
}
  
.result-table tr:last-child td {
    font-weight: bold;
    background-color: #e0f2f1;
    color: #00695c;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center; /* Center align */
        padding: 20px 10px;
    }

    .banner, .form-box {
        width: 90%;
        max-width: 500px;
        margin: 0 auto; /* Center horizontally */
    }

    .banner h1 {
        font-size: 1.6rem;
    }

    .banner p {
        font-size: 1rem;
    }

    section .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo img {
        height: 50px;
        margin: 10px 0;
    }
}
