:root{
    --ivory:#FAF8F3;
    --ink:#1B1B18;
    --ink-soft:#57544c;
    --teal:#1F4E4A;
    --teal-light:#E4EDEB;
    --line:#E2DED3;
    --text-primary:#f2f3f5;
    --text-muted:#5b8cff;
    --text-secondary:#666c78;
    --radius: 8px;
    --border:white;

}


body {
    font-family:  Arial, Helvetica, sans-serif;
    background-color:  #f4f6f8;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    /*text-align: center;*/

    
}
.navbar{
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    border-bottom: 1px solid var(--line);
    background: var(--ivory);
    position: relative;
    z-index: 100;
}
.brand{
    font-family: serif, Georgia, 'Times New Roman', Times, serif;
    font-weight: 600;
    letter-spacing:-0.0em;
    color: var(--ink);
    text-decoration: none;
}

.nav-links{
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a{
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.5s ease;
}
.nav-links a:hover,
.nav-links a:focus{
    color: var(--teal);
}
.nav-links a:focus-visible{
    outline: 2px solid var(--teal);
    outline-offset: 4px;
    border-radius: 2px;
}

.nav-cta{
    padding: 9px 18px;
    background: var(--teal);
    color: var(--ivory) !important;
    border-radius: 4px;
    font-weight: 600 !important;
}

.menu-toggle{
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

}

.menu-toggle:focus-visible{
    outline: 2px solid var(--teal);
    outline-offset: 2px;
    border-radius: 4px;
}

.menu-toggle span{
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2){
    opacity: 0;
}

.menu-toggle.open span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
}

.page-body{
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 24px;
}
.page-body h1{
    font-family:'fraunces', serif;
    font-weight:500;
    font-size: 32px;
    line-height: 1.25;
}
.page-body p{
    color:var(--ink-soft);
    line-height: 1.7;
    font-size: 16px;
}
@media (prefers-reduced-motion: reduce){
    .menu-toggle span,
    .nav-links a{
        transition: none !important;
    }
    
}

@media(max-width: 768px){
    .navbar{
        padding: 16px 20px;
    }

    .menu-toggle{
        display: flex;
    }

    .nav-links{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ivory);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--ivory);
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.open{
        max-height: 400px;
    }

    .nav-links a{
        display: block;
        padding: 16px 20px;
    }

    .nav-cta{
        margin: 16px 20px;
        text-align: center;
        border-radius: 4px;
    }
}





.welcome{
    text-align: center;
    
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0px 2px 8px rgb(0, 0, 0.1);
    text-align: center;
    
   
    /*max-width: 400px;
    width: 100%;*/
}

h1 { color: #2c3e50; }

.option-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    background: #e8f0fe;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
    padding: 14px 16px;


}

.option-label input[type="radio"]{
    width: auto;
    min-width: 0;
    padding: 0;
    flex: 0 0 auto;
    order: -1;
    margin: 0;
    flex-shrink: 0;
}

.option-label:hover {
    background: #d2e3fc;
    border-color: #1a73e8;
}

button {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 20px;
}

button:hover { background-color: #1557b0; }

.correct { color: #28a745; }
.incorrect { color: #dc3545; }


.logo{
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color:white

}
.logo img{
    width: 100%;
    height: 45px;
    object-fit: contain;
    border-radius: 5px;
}
.logo span{
    font-size: 22px;
    font-weight: bold;
}

main{
    flex: 1;
 }

header{
    background-color: #3b71ca;
    width: 100%;
    color:white;
    /*padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;*/
}
.container{
    padding: 20px;
    max-width: 600px;
    margin: auto;
}
.category-card{
    background-color:white;
    padding: 20px;
    max-width: 600px;
    margin: auto;
    text-align: center;
    align-items: center;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 40px 8px rgba(0, 0, 0, 0.1);
    
    position: relative;
    text-decoration: none;
    color: black;
    transition: transform 0.2s;
    font-size: large;
}

.contact{
    background-color: #f4f6f8;
    padding: 20px;
    max-width: 100%;
    margin: auto;
    text-align: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0 40px 8px rgba(0, 0, 0, 0.1);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

input,select{
    background-color: whitesmoke;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;

   
}

.container1{
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgb(0, 0, 0.1);
    text-align: center;

}
.socials{
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
    font-size: 13px;
    
}

.socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgb(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

socials svg{
    width: 18px;
    height: 18px;
}

.foooter-col ul {
    list-style: none;
    display: flex;
    /*flex-direction: column;*/
    gap: 3px;
    font-size: 12px;
    /*margin-right: 10px;*/


}
.footer-links{
    text-align: center;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer{
    background: #102a43;
    color: #ffffff;
    padding: 45px 8% 20px;
    font-family: arial,sans-serif;
}
.footer-container{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap:40px;
    max-width: 1200px;
    margin: auto;
}

site-footer h3 {
    font-size: 17px;
    margin-bottom: 18px;
}

.site-footer h3 {
    font-size: 15px;
    margin-bottom: 18px;
}

.site-footer li {
    margin-bottom: 12px;
    list-style: none;
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #38bdf8;
}

@media (max-width: 700px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
        font-size: 13px;
       
    }

    .site-footer {
        padding: 35px 6% 20px;
        font-size: 13px;
        
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.nav-logo{ height: 5rem; width: 9rem; border-radius: 0.4rem; object-fit: cover; display: block; }
