*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:linear-gradient(
135deg,
#050b35,
#0b1550
);
color:white;
min-height:100vh;
}

.navbar{

display:flex;
justify-content:space-between;
align-items:center;

padding:20px 50px;

border-bottom:1px solid rgba(
255,138,43,.15
);

}

.logo{

font-size:30px;
font-weight:700;
color:#ff8a2b;

}

.nav-links{

display:flex;
gap:30px;
list-style:none;

}

.nav-links a{

color:white;
text-decoration:none;

}

.hero{

text-align:center;
padding:100px 20px;

}

.hero h1{

font-size:72px;
font-weight:300;

}

.hero span{

display:block;
color:#ff8a2b;
font-weight:700;

}

.hero p{

max-width:700px;
margin:25px auto;

font-size:20px;
color:#d8d8d8;

}

.btn-primary{

display:inline-block;

background:#ff8a2b;
color:white;

padding:15px 35px;

border-radius:12px;

text-decoration:none;

margin-top:20px;

}

.registration-card{

max-width:700px;

margin:50px auto;

padding:35px;

background:rgba(
255,255,255,.05
);

backdrop-filter:blur(15px);

border-radius:20px;

border:1px solid rgba(
255,138,43,.25
);

}

.registration-card h2{

margin-bottom:20px;

}

input,
select{

width:100%;

padding:14px;

margin:10px 0;

background:#101a5f;

border:none;

border-radius:12px;

color:white;

}

button{

width:100%;

padding:15px;

background:#ff8a2b;

border:none;

border-radius:12px;

color:white;

font-size:16px;

cursor:pointer;

margin-top:15px;

}

#quiz{

max-width:1000px;

margin:auto;

padding:20px;

}

.question{

background:rgba(
255,255,255,.04
);

padding:20px;

margin-bottom:15px;

border-radius:15px;

}

#result{

max-width:700px;

margin:30px auto;

padding:20px;

}

@media(max-width:768px){

.hero h1{
font-size:45px;
}

.navbar{
flex-direction:column;
gap:15px;
}

.nav-links{
flex-wrap:wrap;
justify-content:center;
}

}
#certificate{

max-width:1100px;
margin:40px auto;

}

#certificateCard{

background:white;
color:black;

padding:60px;

border-radius:20px;

text-align:center;

box-shadow:
0 0 25px rgba(
0,0,0,.2
);

}

.cert-header h1{

font-size:42px;

color:#0b1550;

}

.cert-header h2{

color:#ff8a2b;

margin-top:10px;

}

.cert-text{

margin-top:25px;

font-size:20px;

}

#certName{

font-size:46px;

margin-top:20px;

color:#0b1550;

}

#certCourse{

margin-top:20px;

}

#certCategory{

font-size:24px;

font-weight:600;

color:#0b1550;

}

#certGrade{

color:#ff8a2b;

margin-top:20px;

}

#certID{

margin-top:25px;

font-weight:bold;

}
.certificate{

background:white;
padding:20px;
border-radius:20px;

}

.cert-border{

border:8px solid #ff8a2b;

padding:60px;

text-align:center;

}

.cert-logo{

font-size:42px;
font-weight:700;
color:#0b1550;

margin-bottom:20px;

}

.cert-title{

color:#ff8a2b;

font-size:40px;

margin-bottom:30px;

}

.cert-name{

font-size:60px;

color:#0b1550;

margin:25px 0;

}

.cert-course{

font-size:36px;

margin:20px 0;

}

.grade-box{

font-size:30px;

margin:30px 0;

font-weight:bold;

color:#ff8a2b;

}

.cert-details{

margin-top:40px;

font-size:20px;

}

.signature-section{

display:flex;

justify-content:space-between;

align-items:center;

margin-top:80px;

font-size:18px;

}

.certificate-actions{

text-align:center;

margin-top:20px;

}

.certificate-actions button{

margin:10px;

}
.option{
display:flex;
align-items:center;
gap:15px;
padding:12px;
margin:10px 0;
border-radius:10px;
cursor:pointer;
transition:0.3s;
}

.option:hover{
background:rgba(255,138,43,.08);
}

.option span{
font-size:18px;
line-height:1.5;
}
.option input[type="radio"]{
width:24px;
height:24px;
cursor:pointer;
flex-shrink:0;
}
@media(max-width:768px){

.option span{
font-size:16px;
}

.option input[type="radio"]{
width:28px;
height:28px;
}

}

/* ==========================================
   Loading Popup - MetaTechX
========================================== */

.loading-popup{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(8,18,38,0.75);
    backdrop-filter:blur(5px);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999999;
}

.loading-card{
    width:340px;
    max-width:90%;
    background:#ffffff;
    border-radius:16px;
    padding:35px 30px;
    text-align:center;
    box-shadow:0 15px 45px rgba(0,0,0,.25);
    animation:popup .3s ease;
}

.loading-card h2{
    margin:18px 0 8px;
    color:#0B2E63;
    font-family:Poppins,sans-serif;
    font-size:28px;
}

.loading-card p{
    margin:0;
    color:#666;
    font-family:Poppins,sans-serif;
    font-size:15px;
}

.spinner{
    width:65px;
    height:65px;
    margin:auto;
    border:6px solid #E6E6E6;
    border-top:6px solid #FF6A00;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    from{
        transform:rotate(0deg);
    }
    to{
        transform:rotate(360deg);
    }
}

@keyframes popup{
    from{
        opacity:0;
        transform:scale(.9);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}