/* 
 * HealthPlansCovered - Exact Preserved Original Design System
 * Primary Palette: Soft Slate Blue (#92AEE1, rgba(146,174,225,1)), Navy Blue (#002366, rgba(0,35,102,1)), Accent Gold (#E0A629 / #FFCA58)
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Alegreya Sans", "Open Sans", sans-serif;
    color: rgb(64, 64, 64);
    background-color: rgb(233, 237, 245);
    line-height: 1.5;
}

h1, h2, h3, h4 {
    font-family: "Merriweather", serif;
    color: rgb(0, 35, 102);
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Logo */
.hpc-header {
    background-color: rgba(146, 174, 225, 1);
    border-bottom: 1px solid rgba(146, 174, 225, 0.8);
    padding: 14px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: inline-block;
}

.hpc-original-logo {
    width: 160px;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.hpc-header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-label {
    font-size: 0.9rem;
    color: rgb(0, 35, 102);
    font-weight: 700;
}

.hpc-phone-btn {
    background-color: rgb(255, 202, 88);
    color: rgb(8, 18, 36);
    border: 1px solid rgb(255, 202, 88);
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hpc-phone-btn:hover {
    background-color: rgb(204, 162, 70);
    border-color: rgb(204, 162, 70);
    color: rgb(8, 18, 36);
}

/* Navigation Menu Directory */
.hpc-nav {
    background-color: rgba(146, 174, 225, 0.95);
    border-top: 1px solid rgba(0, 35, 102, 0.1);
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-links a {
    display: inline-block;
    color: rgba(0, 35, 102, 1);
    padding: 12px 18px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: "Alegreya Sans", sans-serif;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: rgba(0, 35, 102, 1);
}

.nav-links a.active::after, .nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background-color: rgba(224, 166, 41, 1);
}

/* Hero Section */
.hpc-hero {
    background-color: #ffffff;
    padding: 50px 0 70px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    align-items: center;
}

.hpc-badge {
    display: inline-block;
    background-color: rgba(224, 166, 41, 1);
    color: rgb(8, 18, 36);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-content h1 {
    color: rgba(0, 35, 102, 1);
    font-size: 2.8rem;
    line-height: 1.25;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.25rem;
    color: rgb(64, 64, 64);
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-body-text {
    font-size: 1.1rem;
    color: rgb(64, 64, 64);
    margin-bottom: 24px;
    line-height: 1.6;
}

.hpc-btn-hero-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgb(255, 202, 88);
    color: rgb(8, 18, 36);
    border: 1px solid rgb(255, 202, 88);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.hpc-btn-hero-call:hover {
    background-color: rgb(204, 162, 70);
}

/* Quiz Finder Form */
.finder-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 35, 102, 0.12);
    border: 2px solid rgba(146, 174, 225, 0.5);
}

.finder-header h2 {
    font-size: 1.5rem;
    color: rgba(0, 35, 102, 1);
    margin-bottom: 6px;
}

.finder-header p {
    font-size: 0.95rem;
    color: rgb(64, 64, 64);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgb(8, 18, 36);
    margin-bottom: 6px;
}

.req {
    color: rgba(202, 85, 216, 1);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 35, 102, 0.6);
}

.hpc-input {
    padding-left: 36px !important;
}

.hpc-input, .hpc-select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(146, 174, 225, 1);
    border-radius: 8px;
    font-size: 1rem;
    color: rgb(8, 18, 36);
    outline: none;
    background-color: #ffffff;
}

.hpc-input:focus, .hpc-select:focus {
    border-color: rgba(0, 35, 102, 1);
    box-shadow: 0 0 0 3px rgba(146, 174, 225, 0.3);
}

.hpc-btn-submit {
    width: 100%;
    background-color: rgb(255, 202, 88);
    color: rgb(8, 18, 36);
    border: 1px solid rgb(255, 202, 88);
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s ease;
}

.hpc-btn-submit:hover {
    background-color: rgb(204, 162, 70);
}

.privacy-note {
    margin-top: 14px;
    text-align: center;
    font-size: 0.8rem;
    color: rgb(64, 64, 64);
}

/* Static Results Container */
.results-card {
    text-align: center;
    padding: 10px 0;
}

.results-status {
    color: rgba(0, 35, 102, 1);
    margin-bottom: 12px;
}

.results-status i {
    font-size: 2.5rem;
    color: rgba(224, 166, 41, 1);
    margin-bottom: 8px;
}

.results-status h3 {
    font-size: 1.3rem;
    color: rgba(0, 35, 102, 1);
}

.results-text {
    font-size: 0.95rem;
    color: rgb(64, 64, 64);
    margin-bottom: 18px;
}

.agent-box {
    background-color: rgba(233, 237, 245, 1);
    border: 1px solid rgba(146, 174, 225, 1);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 14px;
}

.agent-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(0, 35, 102, 1);
    margin-bottom: 10px;
}

.hpc-phone-btn-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgb(255, 202, 88);
    color: rgb(8, 18, 36);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
}

.agent-hours {
    display: block;
    font-size: 0.78rem;
    color: rgb(64, 64, 64);
    margin-top: 8px;
}

.btn-reset {
    background: none;
    border: none;
    color: rgba(0, 35, 102, 1);
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 700;
}

.hidden {
    display: none !important;
}

/* Info Section */
.hpc-info-section {
    padding: 60px 0;
    background-color: rgba(233, 237, 245, 1);
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: rgba(0, 35, 102, 1);
    margin-bottom: 8px;
}

.section-title p {
    color: rgb(64, 64, 64);
    font-size: 1.1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background-color: #ffffff;
    border: 1px solid rgba(146, 174, 225, 0.6);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.info-icon {
    width: 58px;
    height: 58px;
    background-color: rgba(146, 174, 225, 0.3);
    color: rgba(0, 35, 102, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
}

.info-card h3 {
    font-size: 1.25rem;
    color: rgba(0, 35, 102, 1);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 0.95rem;
    color: rgb(64, 64, 64);
    margin-bottom: 16px;
}

.card-link {
    color: rgba(0, 35, 102, 1);
    font-weight: 700;
    text-decoration: underline;
    font-size: 0.95rem;
}

/* Legal Section (Terms, Privacy, SMS pages) */
.legal-section {
    padding: 60px 0 90px;
    background-color: #ffffff;
}

.legal-container {
    max-width: 850px;
}

.legal-container h1 {
    font-size: 2.4rem;
    color: rgba(0, 35, 102, 1);
    margin-bottom: 20px;
}

.legal-article h2 {
    font-size: 1.35rem;
    color: rgba(0, 35, 102, 1);
    margin: 24px 0 10px;
}

.legal-article p {
    font-size: 1.05rem;
    color: rgb(64, 64, 64);
    margin-bottom: 16px;
    line-height: 1.65;
}

/* Footer (Preserved Content & Layout) */
.hpc-footer {
    background-color: rgb(8, 18, 36);
    color: rgba(0, 35, 102, 1);
    padding: 40px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 35, 102, 0.2);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #4A77B5;
    text-decoration: underline;
    font-weight: 700;
}

.footer-links a:hover {
    color: rgb(255, 202, 88);
    text-decoration: none;
}

.footer-logo-wrap {
    text-align: center;
    margin-bottom: 16px;
}

.hpc-footer-logo {
    width: 120px;
    height: auto;
    display: inline-block;
}

.footer-disclaimer {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
    color: #4A77B5;
}

.disclaimer-details {
    margin-bottom: 16px;
    text-align: center;
}

.disclaimer-summary {
    cursor: pointer;
    font-weight: 700;
    color: #4A77B5;
    outline: none;
    user-select: none;
    margin-bottom: 10px;
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(74, 119, 181, 0.12);
    border: 1px solid rgba(74, 119, 181, 0.25);
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.disclaimer-summary:hover {
    background-color: rgba(74, 119, 181, 0.2);
    color: #2D4C78;
}

.disclaimer-text {
    margin-top: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    text-align: left;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #3B629B;
}

.disclaimer-text p {
    color: #3B629B;
}

.copyright {
    color: #4A77B5;
    margin-top: 14px;
}

/* Mobile Responsive & Hamburger Navigation */
.hpc-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: rgba(0, 35, 102, 1);
    font-size: 1.6rem;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.hpc-menu-toggle:hover {
    background-color: rgba(0, 35, 102, 0.08);
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
    }

    .hpc-logo img {
        max-height: 38px;
    }

    .contact-label {
        display: none;
    }

    .hpc-phone-btn {
        padding: 8px 12px;
        font-size: 0.88rem;
    }

    .hpc-menu-toggle {
        display: inline-block;
    }

    .nav-inner {
        padding: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        background-color: rgba(233, 237, 245, 0.98);
        border-top: 1px solid rgba(0, 35, 102, 0.12);
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0, 35, 102, 0.06);
    }

    .nav-links a {
        display: block;
        padding: 14px 20px;
        font-size: 1.05rem;
        width: 100%;
    }

    .nav-links a.active::after, .nav-links a:hover::after {
        display: none;
    }

    .nav-links a.active {
        background-color: rgba(0, 35, 102, 0.08);
        color: #002366;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
}
