/* Reset and base styles */
html, body {
    margin: 0; padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #eaebec;
    color: #222;
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }

        select { background: #f9f9f9; border-radius: 10px; padding: 8px 22px; margin-bottom: 10px; width: 100%; box-shadow: 0 2px 12px #ddd; }

/* Navbar styles */
.navbar {
    width: 100%;
    height: 72px;
    background: #fff;
    color: #000;
    position: fixed;
    top: 0; left: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;

    background: #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); 
}
.navbar-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    box-sizing: border-box;
}
.brand {
    font-size: 2.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #f7b733;
}
.nav-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}
.welcome {
    margin-right: 6px;
    font-size: 1rem;
}
.nav-btn {
    background: #f7b733;
    color: #222;
    border: none;
    padding: 8px 22px;
    border-radius: 22px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s;
}
.nav-btn:hover {
    background: #1a4afc;
    color: #fff;
}

.btn-link {
  background: none;
  border: none;
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
  outline: inherit;
  transition: color 0.2s;
}

.btn-link:hover,
.btn-link:focus {
  color: #fff;
  text-decoration: none;
}

/* Hero section */
.hero-section {
    width: 100%;
    min-height: 100px;
    background: linear-gradient(90deg, #22229a 0%, #3333aa 100%);
    #background: linear-gradient(90deg, #1a4afc 0%, #f7b733 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
}
.hero-content {
    max-width: 800px;
    padding: 60px 32px 32px 32px;
    color: #fff;
    text-align: center;
}
.hero-content h1 {
    font-size: 3rem;
    margin: 10px 0 18px 0;
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: 0 1px 16px rgba(0,0,0,0.12);
}
.hero-content p {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
}

/* Main content styles */
.main-content {
    max-width: 1160px;
    margin: 48px auto 0 auto;
    padding: 48px 20px 20px 20px;
    background: #fff;
    box-shadow: 0 1px 18px rgba(200,200,200,0.14);
    border-radius: 10px;
    min-height: 320px;
    position: relative;
    top: -60px;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(20,20,20,0.34);
}
.modal-content {
    background: #fff;
    margin: 100px auto;
    padding: 32px 28px 22px 28px;
    border-radius: 10px;
    width: 340px;
    position: relative;
    box-shadow: 0 3px 32px rgba(60,60,60,0.16);
}
.modal-content h2 {
    margin: 0 0 10px 0;
    color: blue;
    font-size: 1.4rem;
    font-weight: 700;
}
.modal-content label {
    display: block;
    margin: 12px 0 4px;
    font-size: 1.03rem;
    color: #555;
}
.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="password"] {
    width: 100%;
    padding: 7px 12px;
    margin-bottom: 8px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    font-size: 1.05rem;
    box-sizing: border-box;
}
.modal-content button[type="submit"],
.modal-content button[type="button"] {
    margin-top: 10px;
    margin-right: 6px;
    background: #f7b733;
    color: #222;
    border: none;
    padding: 7px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s;
}
.modal-content button[type="submit"]:hover,
.modal-content button[type="button"]:hover {
    background: #1a4afc;
    color: #fff;
}
.modal-content .msg {
    color: #c00;
    margin-top: 8px;
    min-height: 20px;
    font-size: 0.98rem;
    font-weight: 500;
    text-align: center;
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .main-content { margin: 30px 10px 0 10px; }
    .navbar-content { padding: 0 10px; }
    .hero-content { padding: 40px 10px 20px 10px; }
}


/* ...previous styles... */

/* Navbar menu links spacing and right justification */
.navbar-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    margin-left: auto;
    margin-right: 32px; /* space from auth/login btn */
    gap: 28px; /* space between nav links */
}

.nav-item {
    color: #333;
    font-size: 1.07rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.13s;
}

.nav-item:hover {
    color: #1a4afc;
}

/* Results visual comparison panels: full width */
.results-compare-container {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 40px;
}
.results-panel {
    width: 100%;
    min-width: 275px;
    margin: 0;
}
.results-img {
    width: 100%;
}

@media (min-width: 900px) {
    .results-compare-container {
        flex-wrap: nowrap;
        gap: 36px;
    }
    .results-panel {
        width: 100%;
    }
}

.footer-cols,
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}	


        footer.site-footer {
            background: #000;
            color: #fff;
            padding-top: 32px;
            margin-top: 80px;
        }
        .footer-cols {
            display: flex;
            gap: 24px;
            justify-content: space-between;
            padding: 0 32px;
        }
        .footer-col {
            flex: 1; flex-grow: 1; flex-basis: auto; flex-shrink: 1;
        }
        .footer-col ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .footer-col li {
            padding: 4px 0;
        }
        .footer-bottom {
            font-size: 0.96rem;
            color: #bbb;
            border-top: 1px solid #222;
            padding: 10px 32px 10px 32px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 22px;
        }
        .footer-bottom .center { text-align: center; flex: 1;}
        .footer-bottom .left { text-align: left; flex: 1;}
        .footer-bottom .right { text-align: right; flex: 1;}
.footer a { color: blue; text-decoration: none; }
a { color: #ddddff; text-decoration: none; }
