/* style.css - NexHealthCover */

/* Reset and basic setup scoped to the main container */
.nhc-site {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333333;
    background-color: #f8fafc;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
}

.nhc-site, .nhc-site::before, .nhc-site::after {
    box-sizing: border-box;
}

.nhc-site a {
    text-decoration: none;
    color: #0056b3;
    transition: color 0.3s ease;
}

.nhc-site a:hover {
    color: #003d82;
}

.nhc-site h1, .nhc-site h2, .nhc-site h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #1a202c;
    line-height: 1.2;
}

.nhc-site h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

.nhc-site h2 {
    font-size: 2rem;
    font-weight: 700;
}

.nhc-site p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.nhc-site ul {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* Header */
.nhc-site .nhc-header {
    background-color: #ffffff;
    padding: 1.5rem 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nhc-site .nhc-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0056b3;
    letter-spacing: -0.5px;
}

.nhc-site .nhc-logo span {
    color: #38a169;
}

.nhc-site .nhc-nav {
    display: flex;
    gap: 1.5rem;
}

.nhc-site .nhc-nav-link {
    color: #4a5568;
    font-weight: 500;
}

/* Main Content */
.nhc-site .nhc-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.nhc-site .nhc-hero {
    background: linear-gradient(135deg, #0056b3 0%, #0088ff 100%);
    color: #ffffff;
    padding: 5rem 5%;
    text-align: center;
}

.nhc-site .nhc-hero h1 {
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.nhc-site .nhc-hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

/* Content Sections */
.nhc-site .nhc-section {
    padding: 4rem 5%;
    background-color: #ffffff;
}

.nhc-site .nhc-section.nhc-bg-light {
    background-color: #f8fafc;
}

.nhc-site .nhc-container {
    max-width: 1000px;
    margin: 0 auto;
}

.nhc-site .nhc-content-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

/* Buttons */
.nhc-site .nhc-btn {
    display: inline-block;
    background-color: #38a169;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(56, 161, 105, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.nhc-site .nhc-btn:hover {
    background-color: #2f855a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 161, 105, 0.5);
}

.nhc-site .nhc-btn-secondary {
    background-color: transparent;
    color: #0056b3;
    border: 2px solid #0056b3;
    box-shadow: none;
}

.nhc-site .nhc-btn-secondary:hover {
    background-color: #0056b3;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.nhc-site .nhc-btn-large {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 350px;
    text-align: center;
}

.nhc-site .nhc-btn-small {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    width: auto;
    text-align: center;
}

/* Comparison Table */
.nhc-site .nhc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.nhc-site .nhc-table th, 
.nhc-site .nhc-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid #edf2f7;
}

.nhc-site .nhc-table th {
    background-color: #f7fafc;
    font-weight: 700;
    color: #2d3748;
}

.nhc-site .nhc-table tr:last-child td {
    border-bottom: none;
}

.nhc-site .nhc-check {
    color: #38a169;
    font-weight: bold;
}

.nhc-site .nhc-cross {
    color: #e53e3e;
    font-weight: bold;
}

/* Footer */
.nhc-site .nhc-footer {
    background-color: #1a202c;
    color: #a0aec0;
    padding: 3rem 5% 1.5rem;
    margin-top: auto;
}

.nhc-site .nhc-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.nhc-site .nhc-footer-col h3 {
    color: #ffffff;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.nhc-site .nhc-footer-link {
    display: block;
    color: #a0aec0;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.nhc-site .nhc-footer-link:hover {
    color: #ffffff;
}

.nhc-site .nhc-disclosure {
    font-size: 0.75rem;
    border-top: 1px solid #2d3748;
    padding-top: 1.5rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Utility */
.nhc-site .nhc-text-center {
    text-align: center;
}

.nhc-site .nhc-mt-4 {
    margin-top: 2rem;
}

.nhc-site .nhc-mb-2 {
    margin-bottom: 1rem;
}

.nhc-site .nhc-alert {
    background-color: #ebf8ff;
    border-left: 4px solid #3182ce;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

/* Flex Layout for Image & Content */
.nhc-site .nhc-flex-row {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.nhc-site .nhc-flex-content {
    flex: 1;
}

.nhc-site .nhc-flex-image {
    flex: 0 0 40%;
    max-width: 400px;
    border-radius: 8px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .nhc-site h1 { font-size: 2rem; }
    .nhc-site h2 { font-size: 1.5rem; }
    .nhc-site .nhc-hero { padding: 3rem 5%; }
    .nhc-site .nhc-hero h1 { font-size: 2rem; }
    .nhc-site .nhc-hero p { font-size: 1rem; }
    .nhc-site .nhc-nav { display: none; }
    .nhc-site .nhc-section { padding: 2.5rem 5%; }
    .nhc-site .nhc-flex-row { flex-direction: column; text-align: center; }
    .nhc-site .nhc-flex-image { width: 100%; max-width: 100%; margin-top: 1.5rem; margin-bottom: 1.5rem; }
    .nhc-site .nhc-table { display: block; overflow-x: auto; white-space: nowrap; }
    .nhc-site .nhc-content-box { padding: 1.5rem; }
}

/* New UI Elements */
.nhc-site .nhc-top-bar {
    background-color: #2d3748;
    color: #e2e8f0;
    font-size: 0.75rem;
    text-align: center;
    padding: 0.5rem 5%;
    line-height: 1.4;
}

.nhc-site .nhc-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.nhc-site .nhc-cookie-banner p {
    margin: 0;
    font-size: 0.875rem;
    color: #4a5568;
    max-width: 800px;
}

.nhc-site .nhc-cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    margin-left: 2rem;
}

.nhc-site .nhc-cookie-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

.nhc-site .nhc-cookie-accept {
    background-color: #38a169;
    color: #fff;
}

.nhc-site .nhc-cookie-reject {
    background-color: #e2e8f0;
    color: #4a5568;
}

.nhc-site .nhc-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.nhc-site .nhc-preloader-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0056b3;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: nhc-spin 1s linear infinite;
    margin-bottom: 1rem;
}

.nhc-site .nhc-preloader-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0056b3;
}

@keyframes nhc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .nhc-site .nhc-cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .nhc-site .nhc-cookie-buttons {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}
