/* ===== RESET ===== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#eef2f7;
}

/* ===== MAIN CONTAINER ===== */

.container{
    width:95%;
    max-width:900px;
    margin:20px auto;
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

/* ===== HEADER ===== */

.header{
    position:relative;
    background:linear-gradient(135deg,#002d8f,#0a4abf);
    text-align:center;
    color:white;
    padding:35px 20px 120px;
    overflow:hidden;
}

/* Logo */

.logo{
    width:160px;
    height:160px;
    border-radius:50%;
    background:white;
    padding:8px;
    margin-bottom:15px;
}

/* Headings */

.header h1{
    font-size:32px;
    font-weight:bold;
    margin-bottom:10px;
}

.header h2{
    color:#ffb000;
    font-size:28px;
    margin-bottom:8px;
}

.header h3{
    font-size:20px;
    margin-bottom:10px;
}

.header p{
    font-size:18px;
}

/* ===== CURVED WAVE ===== */

.wave{
    position:absolute;
    left:0;
    bottom:-1px;
    width:100%;
    height:120px;
    background:white;
    border-top:16px solid #ff6a00;
    border-radius:100% 100% 0 0 / 100px;
}

/* ===== SEARCH ===== */

.search-box{
    background:white;
    text-align:center;
    padding:35px 20px;
}

.search-box input{
    width:75%;
    padding:15px;
    font-size:18px;
    border:2px solid #bfc5d2;
    border-radius:10px;
    outline:none;
}

.search-box input:focus{
    border-color:#003399;
}

.search-box button{
    padding:15px 30px;
    margin-left:10px;
    background:#ff6a00;
    color:white;
    border:none;
    border-radius:8px;
    font-size:17px;
    cursor:pointer;
    transition:.3s;
}

.search-box button:hover{
    background:#003399;
}

/* ===== RESULT ===== */

.result{
    display:none;
    margin:25px;
    background:white;
}

.result h2{
    color:#003399;
    margin-bottom:15px;
}

.result p{
    margin:10px 0;
    font-size:17px;
}

/* ===== TABLE ===== */

table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

table th{
    background:#003399;
    color:white;
    padding:12px;
}

table td{
    padding:12px;
    border:1px solid #ddd;
    text-align:center;
}

/* ===== PASS & FAIL ===== */

.pass-mark{
    color:black;
    font-weight:bold;
}

.fail-mark{
    color:red;
    font-weight:bold;
}

#Decision{
    color:green;
    font-weight:bold;
}

/* ===== MESSAGE ===== */

#message{
    text-align:center;
    margin-top:20px;
    color:red;
    font-size:22px;
    font-weight:bold;
}

/* ===== FOOTER ===== */

footer{
    background:#003399;
    color:white;
    text-align:center;
    padding:18px;
    font-size:15px;
}

/* ===== MOBILE ===== */

@media(max-width:768px){

.container{
    width:100%;
    border-radius:0;
}

.header{
    padding:25px 15px 80px;
}

.logo{
    width:90px;
    height:90px;
}

.header h1{
    font-size:21px;
}

.header h2{
    font-size:20px;
}

.header h3{
    font-size:17px;
}

.header p{
    font-size:15px;
}

.wave{
    height:70px;
}

.search-box{
    padding:20px 15px;
}

.search-box input{
    width:100%;
    margin-bottom:15px;
}

.search-box button{
    width:100%;
    margin-left:0;
}

table{
    font-size:14px;
}

}