
:root {
    --navy: #102b51;
    --blue: #1764ac;
    --gold: #f5b841;
    --bg: #f5f7fb;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: #18283c;
}

a {
    text-decoration: none;
}

.header {
    background: var(--navy);
    padding: 18px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

nav a {
    color: white;
    font-size: 14px;
}

nav a:hover {
    color: var(--gold);
}

.btn {
    display: inline-block;
    background: var(--gold);
    color: #15253c !important;
    padding: 13px 23px;
    border-radius: 7px;
    font-weight: bold;
}

.hero {
    background: linear-gradient(125deg, #102b51, #1764ac);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: clamp(30px, 5vw, 48px);
    max-width: 850px;
    margin: 0 auto 20px;
}

.hero p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.section {
    padding: 65px 6%;
    max-width: 1300px;
    margin: auto;
}

.section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 35px;
}

.service-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.service-card {
    background: white;
    padding: 35px 22px;
    border-radius: 12px;
    text-align: center;
    color: #18283c;
    border: 1px solid #e6ebf2;
    box-shadow: 0 4px 15px #102b510d;
    transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px #102b5120;
}

.service-icon {
    color: var(--blue);
    font-size: 30px;
}

.service-card h3 {
    font-size: 19px;
    margin: 18px 0;
}

.service-link {
    color: var(--blue);
    font-weight: 600;
    font-size: 14px;
}

footer {
    background: var(--navy);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

footer a {
    color: white;
    margin: 0 10px;
}

@media (max-width: 700px) {
    .header {
        justify-content: center;
    }

    nav {
        justify-content: center;
        gap: 12px;
    }

    .hero {
        padding: 70px 18px;
    }

    .section {
        padding: 45px 5%;
    }
}


/* ONTHEMARK LOGIN & SIGNUP POPUP */

.auth-overlay[hidden],
.auth-box form[hidden],
#googleSection[hidden] {
    display: none !important;
}

.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(7, 22, 43, .75);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
    overflow-y: auto;
}

.auth-box {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 430px;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 20px 65px #0004;
    color: #172b4d;
    max-height: 95vh;
    overflow-y: auto;
}

.auth-box h2 {
    text-align: center;
    margin: 10px 0;
    font-size: 25px;
}

.auth-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 25px;
}

.auth-close {
    position: absolute;
    top: 12px;
    right: 17px;
    border: 0;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
    color: #64748b;
}

.auth-tabs {
    display: flex;
    background: #edf2f8;
    padding: 5px;
    border-radius: 9px;
    margin-bottom: 23px;
}

.auth-tabs button {
    width: 50%;
    padding: 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 7px;
    font-weight: 600;
    color: #42526b;
}

.auth-tabs button.active {
    background: #123b70;
    color: white;
}

.auth-box form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin: 15px 0 7px;
}

.auth-box form input {
    display: block;
    width: 100%;
    padding: 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    background: white;
    color: #172b4d;
}

.auth-box form input:focus {
    border-color: #1764ac;
    box-shadow: 0 0 0 3px #1764ac20;
}

.auth-primary {
    width: 100%;
    background: #123b70;
    color: white;
    border: 0;
    border-radius: 8px;
    padding: 14px;
    margin-top: 22px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
}

.auth-primary:hover {
    background: #1764ac;
}

.auth-secondary {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: #1764ac;
}

.auth-divider {
    text-align: center;
    color: #94a3b8;
    margin: 22px 0;
    font-size: 13px;
}

.google-btn {
    width: 100%;
    padding: 13px;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #26354b;
}

.google-g {
    font-weight: 800;
    color: #4285f4;
    font-size: 20px;
    margin-right: 12px;
}

.auth-message {
    text-align: center;
    font-size: 13px;
    color: #b45309;
}

.auth-footer {
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 20px;
}

@media(max-width:480px) {
    .auth-box {
        padding: 25px 19px;
    }
}


