* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #111827;

    background:
        linear-gradient(
            rgba(255,255,255,0.75),
            rgba(255,255,255,0.75)
        ),
        url('landing.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
}

.page {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 60px 16px 30px;
}
.card {
    width: 100%;
    max-width: 1200px;



    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 24px;
    padding: 45px;

    text-align: center;

    border: 1px solid rgba(255,255,255,0.35);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.10);
        transition: all 0.3s ease;
        background: rgba(255,255,255,0.84);
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;

    margin-bottom: 20px;

    flex-wrap: wrap;
}

.logo {
    width: 120px;
    height: 120px;
    object-fit: contain;

    filter:
        drop-shadow(0 4px 10px rgba(0,0,0,0.08));
}

.osas-logo {
    width: 145px;
    height: 145px;
}
.school-name {
    font-size: 18px;
    margin: 0;
}

.school-address {
    font-size: 15px;
    color: #6b7280;
    margin-top: 5px;
}

h4 {
    margin-top: 35px;
    font-size: 18px;
}

h1 {
    margin-top: 55px;
    margin-bottom: 35px;
    font-size: 36px;
    letter-spacing: 1px;
}

h3 {
    margin-bottom: 4px;
}

.subtitle {
    margin-top: 0;
    color: #6b7280;
}

.search-form {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-form input {
    width: 320px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    outline: none;
}

.search-form input:focus {
    border-color: #2563eb;
}

.search-form button {
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: #1d4ed8;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.search-form button:hover {
    background: #1e40af;
}

.alert {
    margin: 25px auto 0;
    max-width: 500px;
    padding: 14px;
    border-radius: 12px;
    font-weight: bold;
}

.error {
    background: #fee2e2;
    color: #991b1b;
}

.result-box {
    margin-top: 40px;
    text-align: left;
    border-top: 1px solid #e5e7eb;
    padding-top: 35px;
}

.result-box h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.info-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 14px 20px;
    font-size: 16px;
}

.info-grid span {
    color: #6b7280;
}

.qualified {
    color: #15803d;
    font-size: 18px;
}

.note {
    margin-top: 35px;
    background: #f9fafb;
    padding: 20px;
    border-radius: 16px;
    line-height: 1.6;
}

.schedule {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: wrap;
}

.schedule-box {
    flex: 1;
    min-width: 380px;
    max-width: 500px;

    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 20px;

    padding: 30px;
    text-align: left;

    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.schedule-box h3 {
    margin: 0;
    text-align: center;
    color: #1d4ed8;
    font-size: 20px;
    line-height: 1.3;
}

.schedule-box .date {
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 28px;
    font-size: 16px;
    color: #111827;
}

.course-list h4 {
    margin: 22px 0 10px;
    color: #111827;
    font-size: 17px;
    line-height: 1.3;
}

.course-list ul {
    margin: 0 0 18px;
    padding-left: 22px;
    color: #374151;
    line-height: 1.7;
}

.course-list li {
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .schedule {
        flex-direction: column;
        align-items: center;
    }

    .schedule-box {
        width: 100%;
        min-width: unset;
    }
}
@media (max-width: 700px) {
    .card {
    width: 100%;
    max-width: 1200px;
    background: #ffffff;
    border-radius: 24px;
    padding: 45px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

    h1 {
        font-size: 28px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
    .search-form input,
    .search-form button {
        width: 100%;
    }
}

/* =========================================
   MOBILE RESPONSIVE DESIGN
========================================= */

@media (max-width: 768px) {

    body {
        padding: 0;
    }

    .page {
        padding: 16px;
    }

    .card {
        padding: 24px 18px;
        border-radius: 18px;
    }

   .logo {
    width: 85px;
    height: 85px;
    }

    .osas-logo {
        width: 105px;
        height: 105px;
    }

    .logo-wrapper {
        gap: 14px;
    }
    
        .school-name {
        font-size: 16px;
        line-height: 1.4;
    }

    .school-address {
        font-size: 13px;
    }

    h4 {
        font-size: 16px;
        margin-top: 24px;
    }

    h1 {
        font-size: 28px;
        margin-top: 35px;
        margin-bottom: 25px;
        line-height: 1.2;
    }

    h3 {
        font-size: 18px;
    }

    .subtitle {
        font-size: 14px;
    }

    .search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .search-form input {
        width: 100%;
        font-size: 15px;
        padding: 14px;
    }

    .search-form button {
        width: 100%;
        padding: 14px;
        font-size: 15px;
    }

    .result-box {
    margin-top: 30px;
    padding: 30px 18px 0;
    }   

    .result-box h2 {
        font-size: 18px;
    }

    .info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 12px;
    text-align: left;
    }

    .info-grid span {
    font-size: 14px;
    margin-top: 14px;
    color: #6b7280;
    }

    .info-grid strong {
        font-size: 18px;
        line-height: 1.5;
        word-break: break-word;
    }

    .note {
        padding: 18px;
        font-size: 14px;
        line-height: 1.6;
    }

    .schedule {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .schedule-box {
        width: 100%;
        min-width: unset;
        max-width: 100%;
        padding: 22px;
    }

    .schedule-box h3 {
        font-size: 22px;
    }

    .schedule-box .date {
        font-size: 15px;
    }

    .course-list h4 {
        font-size: 16px;
    }

    .course-list ul {
        padding-left: 20px;
        font-size: 14px;
        line-height: 1.7;
    }
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;

    width: 100%;

    text-align: center;

    padding: 14px 20px;

    font-size: 13px;
    color: rgba(17, 24, 39, 0.75);

    background: rgba(255,255,255,0.35);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-top: 1px solid rgba(255,255,255,0.25);

    z-index: 100;

}

.requirements-section {
    margin-top: 40px;
    text-align: left;
}

.requirements-section h2 {
    text-align: center;
    margin-bottom: 12px;
    font-size: 24px;
    color: #111827;
}

.requirements-note {
    text-align: center;
    color: #4b5563;
    margin-bottom: 28px;
    line-height: 1.6;
}

.requirements-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.requirements-box {
    flex: 1;
    min-width: 320px;

    background: rgba(255,255,255,0.14);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.25);

    border-radius: 18px;

    padding: 24px;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.08);
}

.requirements-box h3 {
    margin-top: 0;
    margin-bottom: 18px;
    color: #1d4ed8;
    font-size: 22px;
}

.requirements-box ol {
    padding-left: 22px;
    margin: 0;
    line-height: 1.8;
    color: #1f2937;
}

.requirements-box li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {

    .requirements-grid {
        flex-direction: column;
    }

    .requirements-box {
        min-width: unset;
    }

    .requirements-section h2 {
        font-size: 22px;
    }

    .requirements-box h3 {
        font-size: 20px;
    }

    .requirements-box ol {
        font-size: 14px;
    }
}

.assessment-schedule {
    margin-top: 40px;
    text-align: center;
}

.assessment-schedule h2 {
    margin-bottom: 26px;
    font-size: 28px;
    color: #111827;
}

.assessment-box {
    display: inline-block;

    background: rgba(255,255,255,0.14);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.25);

    border-radius: 20px;

    padding: 28px 36px;

    text-align: left;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.08);
}

.assessment-row {
    display: grid;
    grid-template-columns: 90px 20px 1fr;

    gap: 10px;

    margin-bottom: 14px;

    align-items: start;
}

.assessment-row:last-child {
    margin-bottom: 0;
}

.label {
    font-weight: 700;
    color: #111827;
    font-size: 24px;
}

.colon {
    font-weight: 700;
    font-size: 24px;
}

.value {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    line-height: 1.5;
}

@media (max-width: 768px) {

    .assessment-schedule h2 {
        font-size: 22px;
    }

    .assessment-box {
        width: 100%;
        padding: 22px;
    }

    .assessment-row {
        grid-template-columns: 70px 15px 1fr;
        gap: 8px;
    }

    .label,
    .colon,
    .value {
        font-size: 17px;
    }
}