﻿:root {
    --bs-primary: #0d3b66;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-body-bg: #f9f9f9;
    --bs-font-sans-serif: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Prevent nested vertical scrolling caused by 100vh containers */
.d-flex.min-vh-100 {
    min-height: 100vh;
    height: auto;
    overflow: visible;
}

main { overflow: visible; }

/* Ensure hero does not create an inner scroll */
.hero { overflow: visible; }

/* Reserve space for the vertical scrollbar to prevent overlays from covering it */
html {
    background-color: var(--bs-body-bg);
}

body {
    background-color: var(--bs-body-bg);
    font-family: var(--bs-font-sans-serif);
    color: var(--bs-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.highlight {
    color: var(--bs-danger);
    font-weight: bold;
}

.navbar {
    background-color: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 600;
    color: var(--bs-primary);
    display: flex;
    align-items: center;
}

.logo {
    height: 70px;
    margin-right: 10px;
}

.hero {
    background: linear-gradient(to right, #f5f7fa, #dbe2ec);
    padding: 64px 0 32px 0;
    text-align: center;
}

    .hero h1 {
        color: var(--bs-primary);
        font-weight: bold;
        font-size: 2.8rem;
    }

    .hero h2 {
        color: #555;
        font-weight: 500;
        font-size: 1.15rem;
        margin-top: 0;
        margin-bottom: 0.5rem;
        line-height: 1.35;
    }

    .hero p {
        color: #444;
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto 24px auto;
    }

.map-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

    .map-container img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .map-container .signup-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .map-container .signup-logo {
        width: 80px;
        height: 80px;
        border-radius: 12px;
    }

.btn-primary {
    background-color: var(--bs-danger);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    color: #fff;
}

    .btn-primary:hover {
        background-color: #b52a37; /* A darker shade for hover, or use a custom value */
        border-color: #b52a37;
        color: #fff;
    }

.features-section {
    background: #fff;
    padding: 32px 0;
}

    .features-section .icon {
        font-size: 2.2rem;
        color: var(--bs-danger);
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .features-section h5 {
        color: var(--bs-primary);
        font-weight: 600;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .features-section p {
        font-size: 1rem;
        color: #444;
    }

.btn-google {
    background: linear-gradient(90deg, #ea4335 60%, #d93025 100%); /* Google red */
    color: #fff;
    border: 2px solid #d93025;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(234,67,53,0.10);
    border-radius: 12px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
    padding: 0.7rem 1.5rem;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-google:hover, .btn-google:focus {
    background: linear-gradient(90deg, #d93025 60%, #ea4335 100%);
    color: #fff;
    border-color: #ea4335;
    box-shadow: 0 6px 24px rgba(234,67,53,0.18);
}
.btn-facebook {
    background: linear-gradient(90deg, #1877f3 60%, #145db2 100%); /* Facebook blue */
    color: #fff;
    font-weight: 700;
    border: 2px solid #145db2;
    box-shadow: 0 4px 16px rgba(24,119,242,0.10);
    border-radius: 12px;
    transition: background 0.2s, box-shadow 0.2s, border 0.2s;
    padding: 0.7rem 1.5rem;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-facebook:hover, .btn-facebook:focus {
    background: linear-gradient(90deg, #145db2 60%, #1877f3 100%);
    color: #fff;
    border-color: #1877f3;
    box-shadow: 0 6px 24px rgba(24,119,242,0.18);
}
.external-login-buttons .btn {
    min-height: 52px;
    font-size: 1.15rem;
    border-radius: 12px;
    margin-bottom: 0.7rem;
    padding: 0.7rem 1.5rem;
    box-shadow: 0 2px 8px rgba(13,59,102,0.06);
}
.external-login-buttons .btn i {
    font-size: 1.5rem !important;
    margin-right: 0.7rem !important;
    color: #fff !important;
}

.login-register-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(13,59,102,0.10);
    max-width: 370px;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    border: 2px solid #e8eaf0;
}

.zs-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(13,59,102,0.10);
    width: 100%;
    padding: 1.25rem 1.25rem 1rem 1.25rem;
    border: 2px solid #e8eaf0;
}

.zs-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.zs-list li {
    padding: 0.75rem 0.25rem;
    border-top: 1px solid #e9ecef;
}

.zs-list li:first-child {
    border-top: 0;
}

.zs-list a {
    color: inherit;
    text-decoration: none;
}

.zs-list a:not(.pill-link):not(.category-pill):hover {
    text-decoration: underline;
}

.pill-link {
	background-color: #eef5ff;
	border: 1px solid #cfe2ff;
	color: #0d3b66;
	border-radius: 50rem;
	padding: 0.2rem 0.6rem;
	font-size: 0.85rem;
	text-decoration: none;
	display: inline-block;
}
.pill-link:hover, .pill-link:focus {
	background-color: #e0ecff;
	border-color: #b6d6f6;
	color: #0a2f52;
	text-decoration: none;
}

.category-pill {
	background-color: #f3f4f6;
	border: 1px solid #e2e3e6;
	color: #555;
	border-radius: 50rem;
	padding: 0.2rem 0.6rem;
	font-size: 0.85rem;
	display: inline-block;
	text-decoration: none;
}
.category-pill:hover, .category-pill:focus {
	background-color: #e9eaee;
	border-color: #d9dadd;
	color: #333;
	text-decoration: none;
}

@media (max-width: 768px) {
    .hero {
        padding: 32px 0 16px 0;
    }

        .hero h1 {
            font-size: 1.5rem;
        }

    .map-container {
        max-width: 100%;
    }

    .features-section {
        padding: 16px 0;
    }

        .features-section .icon {
            font-size: 1.5rem;
        }

        .features-section h5 {
            font-size: 1rem;
        }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 2.3rem; }
    .hero h2 { font-size: 1.05rem; }
    .map-container .signup-logo { width: 64px; height: 64px; }
}

footer {
    background-color: var(--bs-primary);
    color: #ffffff;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
    position: sticky;
    position: -webkit-sticky;
    bottom: 56px; /* sits just above the countdown bar */
    z-index: 1050;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 56px;
    }
}
