/* =========================
   NAVBAR
========================= */

.navbar{

width:100%;

display:flex;

justify-content:space-between;

align-items:center;

padding:18px 50px;

background:white;

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

position:sticky;

top:0;

left:0;

z-index:1000;

}

.logo a{

    display:flex;

    align-items:center;

    text-decoration:none;

    color:#1e3a8a;

    font-size:24px;

    font-weight:bold;

}

.logo img{

    width:100px;

    height:42px;

    margin-right:12px;

}

.nav-links{

    display:flex;

    list-style:none;

    gap:28px;

}

.nav-links a{

    text-decoration:none;

    color:#334155;

    font-weight:600;

    transition:.3s;

}

.nav-links a:hover{

    color:#2563eb;

}
/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body{
    margin:0;
    padding:40px;

    background:#eef3f8 ;

    font-family:"Segoe UI",sans-serif;
 margin:0;

   

    color:white;

    min-height:100vh;
}

.title{
    font-size:40px;
    text-align:center;
    color:#1e3a8a;
    margin-bottom:8px;
    font-weight:700;
}
.subtitle{
    text-align:center;
    color:#64748b;
    font-size:18px;
    margin-bottom:30px;
}


.exam-card{
    display:flex;
    justify-content:space-around;
    background:#eff6ff;
    border:1px solid #bfdbfe;
    border-radius:12px;
    padding:20px;
    margin-bottom:30px;
}

.exam-card h3{
    color:#1d4ed8;
    margin-bottom:6px;
}

.exam-card p{
    color:#334155;
    font-weight:600;
}

.container hr {
    border: none;
    height: 1px;
    background: #2a3440;
    margin: 25px 0;
}



.remaining {
    color: #000000;
}

.current {
    width: 900px;
    margin: auto;
    padding: 40px;
    text-align: center;
}



#worddisplay {
    font-size: 26px;
    margin: 40px auto;
    max-width: 1200px;
    line-height: 1.6;
    color: #000000;
}


.word-box{

    background:white;
    border:2px solid #d1d9e6;
    border-radius:18px;
    padding: 20px;
    font-size:26px;
    font-weight:500;
    line-height:2.1;
    color:#111827;
    min-height:250px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    overflow:hidden;
}



.cursor {
    border-left: 3px solid #000000;
    margin-left: 2px;
    animation: blink 1s infinite;

}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#typinginput{
    width:100%;
    height:60px;
    border:2px solid #cbd5e1;
    border-radius:12px;
    padding:18px;
    font-size:20px;
    background:white;
    color:#000000;
    transition:.3s;
}
#typinginput:focus{

    border-color:#2563eb;

    box-shadow:0 0 15px rgba(37,99,235,.25);

}
/* =========================
   FOOTER
========================= */

.footer{

    margin-top:60px;

    background:#1e293b;

    color:white;

    padding:45px 20px;

    text-align:center;

}

.footer h2{

    margin-bottom:15px;

}

.footer p{

    color:#cbd5e1;

    line-height:1.7;

}

.footer-links{

    margin:25px 0;

}

.footer-links a{

    color:white;

    text-decoration:none;

    margin:0 15px;

}

.footer-links a:hover{

    color:#60a5fa;

}

.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:30px;
    margin-bottom:30px;
}
.stat-card{
    background:white;
    border-radius:15px;
    padding:20px;
    text-align:center;
    border:1px solid #dbe4f0;
    box-shadow:0 8px 18px rgba(0,0,0,.08);
    transition:.3s;
}
.stat-card:hover{
    transform:translateY(-5px);
}
.stat-card h4{
    color:#64748b;
    font-size:15px;
    margin-bottom:10px;
}
.stat-card span{
    font-size:28px;
    color:#1d4ed8;
    font-weight:bold;
}
.stats p{
background:#16202d;
padding:15px 25px;
border-radius:10px;
border:1px solid #2b3d52;
min-width:130px;
text-align:center;

}


.choosetimer {
    text-align: justify;
    width: 80%;
    max-width: 800px;
}

.time-btn{

    padding:12px 26px;

    background:white;

    color:#1e3a8a;

    border:2px solid #cbd5e1;

    border-radius:10px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}
.time-btn:hover{

    background:#2563eb;

    color:white;

}

.time-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.time-btn.active{

    background:#1d4ed8;

    color:white;

    border-color:#1d4ed8;

}

.mode-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.mode-btn {
    padding: 10px 30px;
    background: #1e2630;
    color: #cbd5e1;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;

    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
    transition: 0.25s;
}

.mode-btn:hover {
    background: #f4c542;
    color: #111;
}

.mode-btn.active {
    background: #f4c542;
    color: #111;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* RESTART BUTTON */

#restart-btn {
    padding: 12px 35px;

    background: #2a3440;
    color: #d1d5db;

    border: none;
    border-radius: 8px;

    font-size: 16px;
    cursor: pointer;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);

    transition: 0.25s;
}

#restart-btn:hover {
    background: #516074;
}
.exam-info{
    background:#1e2630;
    color:#d1d5db;
    padding:15px;
    border-radius:10px;
    margin:20px 0;
    line-height:1.7;
}

.exam-info strong{
    color:#f4c542;
}

.exam-info ul{
    margin-top:10px;
    padding-left:20px;
}
.exam-btn{
    padding:12px 30px;
    background:white;
    border:2px solid #cbd5e1;
    color:#1e3a8a;
    border-radius:12px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.exam-btn:hover{
    background:#2563eb;
    color:white;
}

.exam-btn.active{
    background:#2563eb;
    color:white;
    border-color:#2563eb;
}

.exam-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}


.next-btn {
    padding: 12px 35px;

    background: linear-gradient(180deg, #3b82f6, #1d4ed8);

    color: white;

    border-radius: 8px;

    text-decoration: none;

    font-size: 16px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);

    transition: 0.25s;
}

.next-btn:hover {
    background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.button-link {
    text-decoration: none;
}


.time-btn.active,
.mode-btn.active {
    background: #f4c542;
    color: #111;

    box-shadow:
        0 0 10px rgba(244, 197, 66, 0.6),
        0 0 20px rgba(244, 197, 66, 0.4);
}

/* ===========================
   ABOUT PAGE
===========================*/

.about-hero{

text-align:center;

padding:40px 20px;

}

.about-hero h1{

font-size:42px;

color:#1e3a8a;

margin-bottom:20px;

}

.about-hero p{

font-size:20px;

color:#dfe305;

max-width:800px;

margin:auto;

line-height:1.8;

}
/* Legal Pages */

.about-section{

max-width:900px;

margin:25px auto;

}

.about-section h2{

color:#2563eb;

margin-bottom:15px;

font-size:30px;

}

.about-section p{

color:#d1d5db;

line-height:1.9;

font-size:18px;

}

.about-list{

padding-left:25px;

line-height:2;

color:#d1d5db;

}

.about-list li{

margin-bottom:10px;

}

/* Card */

.about-section{

background:#161d29;

padding:30px;

border-radius:18px;

box-shadow:0 10px 30px rgba(0,0,0,.35);

border:1px solid #2d3748;

transition:.3s;

}

.about-section:hover{

transform:translateY(-4px);

border-color:#2563eb;

}

.feature-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:25px;

margin-top:30px;

}

.feature-card{

background:white;

border-radius:15px;

padding:25px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

transition:.3s;

}

.feature-card:hover{

transform:translateY(-8px);

}

.feature-card h3{

color:#2563eb;

margin-bottom:12px;

}

.feature-card p{
color: #000000;
font-size:16px;

line-height:1.7;

}

.about-list{

margin-left:25px;

line-height:2;

font-size:18px;

color:white;

}



/*=========================
404 PAGE
==========================*/

.home-btn{

display:inline-block;

padding:15px 35px;

background:#2563eb;

color:white;

text-decoration:none;

font-size:18px;

border-radius:10px;

transition:.3s;

}

.home-btn:hover{

background:#1d4ed8;

transform:translateY(-3px);

}
