﻿/* Basic Reset & Global Styles */
:root {
    /* UPDATED: Darker Blue Theme */
    --brand-primary: #1E40AF; /* Darker Blue */
    --brand-primary-darker: #1E3A8A; /* Even Darker for hovers */

    --text-color-base: #1F2937;
    --text-color-headings: #111827;
    --text-color-muted: #6B7280;
    --text-color-on-primary: #FFFFFF;
    --bg-color-light: #F9FAFB;
    --bg-color-white: #FFFFFF;
    --bg-color-dark-grey: #6B7280;
    --bg-color-body-base: #F3F4F6;
    --border-color: #E5E7EB;
    --footer-bg: #111827;
    --footer-text: #D1D5DB;
    --font-primary: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-color-base);
    background-color: var(--bg-color-body-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 13px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    background: none;
}

h1, h2, h3, h4 {
    margin-bottom: 1.25rem;
    color: var(--text-color-headings);
    line-height: 1.3;
    margin-top: 0;
    font-family: var(--font-primary);
}

h1 {
    font-size: 2.75rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.25rem;
}

a {
    text-decoration: none;
    color: var(--brand-primary);
    transition: color 0.2s ease-in-out;
}

    a:hover {
        color: var(--brand-primary-darker);
        text-decoration: none;
    }

.btn, a.btn {
    display: inline-block;
    background-color: var(--brand-primary);
    color: var(--text-color-on-primary);
    padding: 12px 28px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    text-align: center;
}

    .btn:hover, a.btn:hover {
        background-color: var(--brand-primary-darker);
        color: var(--text-color-on-primary);
        transform: translateY(-1px);
        text-decoration: none;
    }

    .btn-outline, a.btn-outline {
        background-color: var(--bg-color-white);
        color: var(--brand-primary);
        border: 1px solid var(--brand-primary);
    }

        .btn-outline:hover, a.btn-outline:hover {
            background-color: var(--brand-primary);
            color: var(--text-color-on-primary);
            border-color: var(--brand-primary);
            text-decoration: none;
        }

.section-padding {
    padding: 60px 0;
}

.top-bar, .main-nav, .hero-section,
.facebook-feed-section, .action-buttons-section,
.feature-split-section, .footer {
    position: relative;
    z-index: 1;
}


/* Top Bar */
.top-bar {
    background-color: rgb(231, 233, 234);
    color: var(--text-color-base);
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.social-icons {
    display: flex;
    align-items: center;
}

    .social-icons a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        background-color: var(--brand-primary);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        text-decoration: none;
        margin: 0 4px;
        transition: background-color 0.2s ease;
    }

        .social-icons a svg {
            width: 16px;
            height: 16px;
            fill: var(--text-color-on-primary);
        }

        .social-icons a:hover {
            background-color: var(--brand-primary-darker);
        }

            .social-icons a:hover svg {
                fill: var(--text-color-on-primary);
            }


.top-bar-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .top-bar-links .login-bubble {
        display: inline-block;
        background-color: var(--brand-primary);
        color: var(--text-color-on-primary);
        padding: 6px 18px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 500;
        text-decoration: none;
        transition: background-color 0.2s ease;
    }

        .top-bar-links .login-bubble:hover {
            background-color: var(--brand-primary-darker);
            color: var(--text-color-on-primary);
        }

/* Main Navigation */
.main-nav {
    background-color: var(--bg-color-white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .main-nav .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
    }

    .main-nav .logo img {
        max-height: 60px; /* UPDATED: Increased logo size */
        width: auto;
        display: block;
    }

.nav-links ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color-base);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}
    .nav-links a:hover {
        color: var(--brand-primary-darker);
        text-decoration: none;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--brand-primary);
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

.cart-icon {
    font-size: 1.2rem;
    color: var(--text-color-base);
}

/* Hero Section - UPDATED SIZE & OVERLAY COLOR */
.hero-section {
    background-image: url('/images/insurance-exam-prep.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--text-color-on-primary);
    min-height: 60vh; /* UPDATED: Reduced height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px; /* UPDATED: Reduced padding */
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.55);
        z-index: 0;
    }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

    .hero-content h1 {
        font-size: 2.75rem; /* Adjusted size slightly for smaller hero */
        margin-bottom: 1rem;
        color: var(--text-color-on-primary);
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        margin-top: 0;
    }

    .hero-content .sub-headline {
        font-size: 1.2rem; /* Adjusted size slightly */
        margin-bottom: 2rem; /* Adjusted margin */
        color: var(--bg-color-white);
        font-weight: 300;
        text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    }

.hero-form {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

    .hero-form select {
        padding: 14px 18px;
        border-radius: 6px;
        font-size: 1rem;
        border: 1px solid var(--border-color);
        background-color: var(--bg-color-white);
        color: var(--text-color-base);
        min-width: 220px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }

    .hero-form .btn {
        padding: 14px 32px;
        background-color: #900;
    }

/* ... (Rest of CSS remains the same: News, Buttons, Features, Footer, Mobile) ... */
.facebook-feed-section {
    background-image: url('/images/section-bg.png');
    background-color: #111827;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 30px 0;
}

    .facebook-feed-section h2 {
        color: var(--bg-color-white);
        margin-bottom: 1.5rem;
        text-align: center;
        letter-spacing: 6px;
        font-size: 2.75rem;
    }

.facebook-feed-image img {
    max-width: 700px;
    width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.action-buttons-section {
    background-color: var(--bg-color-white);
    padding: 40px 0;
}

.action-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

    .action-buttons-grid .btn {
        flex-grow: 1;
        min-width: 180px;
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

.feature-split-section {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 60px 0;
}

    .feature-split-section.bg-light {
        background-color: rgb(231, 233, 234) !important;
    }

    .feature-split-section.bg-white {
        background-color: var(--bg-color-white);
    }

.feature-split-image, .feature-split-text {
    flex: 1;
    min-width: 320px;
}

    .feature-split-image img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .feature-split-text h2 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .feature-split-text p {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
        color: var(--text-color-base);
    }

.feature-split-section.reverse .feature-split-image {
    order: 2;
}

.feature-split-section.reverse .feature-split-text {
    order: 1;
}


.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: none;
}

    .footer p {
        margin-bottom: 10px;
        color: var(--footer-text);
        line-height: 1.8;
        font-size: 0.9rem;
        font-family: var(--font-primary);
        line-height: normal;
    }

    .footer .contact-info span {
        margin: 0 10px;
        display: inline-block;
    }

    .footer a {
        color: var(--text-color-on-primary);
        text-decoration: none;
        text-decoration-color: var(--brand-primary);
    }

        .footer a:hover {
            text-decoration-color: var(--text-color-on-primary);
        }
        .footer a[href^="tel"] {
            color: var(--text-color-on-primary);
        }
            .footer a[href^="tel"]:hover {
                text-decoration-color: var(--text-color-on-primary);
            }

.facebook-feed-image {
    text-align: center;
}

.trustpilot-section {
    padding: 20px 0;
    background: rgb(231, 233, 234) !important;
}
.contact-info {
    color: var(--footer-text);
    line-height: 26px;
    font-size: 0.9rem;
    text-align: center;
    font-family: var(--font-primary);
}
html, body, form{
    height: auto;
}
#PageLayoutContent {
    padding: 0;
}
.facebook-feed-section.inner-page {
    text-align: center;
    color: #fff;
    padding: 40px 0;
}

    .facebook-feed-section.inner-page h1 {
        font-size: 38px;
        margin: 10px 0 10px 0;
        color: #fff;
    }

    .facebook-feed-section.inner-page p {
        margin-bottom: 10px;
    }
#lblCredits, #lblCredits2 {
    font-size: 12px;
}

    #lblCredits2 br {
        display: none;
    }
body .fieldsetprd, body .fieldset {
    border: none;
}
.page-content .page {
    padding: 15px;
}
.page-content {
    padding: 10px 0;
    min-height: calc(100vh - 320px);
}
    .page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6, .page-content p {
        margin-top: 0;
        margin-bottom: 10px;
    }
    .page-content h1 {
        font-size: 26px;
    }
    .page-content h2 {
        font-size: 24px;
    }
    .page-content h3 {
        font-size: 22px;
    }
    .page-content h4 {
        font-size: 20px;
    }
    .page-content h4 {
        font-size: 18px;
    }
    .page-content h5 {
        font-size: 16px;
    }
    .page-content h5, .page-content p {
        font-size: 13px;
    }
a.navButton {
    background: var(--brand-primary);
    color: var(--text-color-on-primary) !important;
    padding: 8px 18px !important;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border: none;
    font-family: var(--font-primary);
    line-height: normal;
    text-decoration: none;
    margin: 0 2px;
}
    a.navButton:hover {
        background: var(--brand-primary-darker);
        text-decoration: none;
    }
table tr th, table tr td {
    padding: 1px;
}
.top-bar-head .container {
    padding: 0;
    text-align: center;
    background: #fff;
    margin-top: 0 !important;
}
.footer-site .social-icons{
    display: none;
}
.credits br {
    display: none;
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }
    /* Reduced */
    .hero-form select {
        min-width: 180px;
    }

    .action-buttons-grid .btn {
        min-width: 160px;
        font-size: 0.85rem;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }

    .top-bar-links {
        justify-content: center;
        width: 100%;
        margin-bottom: 20px;
    }
        .top-bar-links span {
            display: none;
        }
    .social-icons {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .main-nav .container {
        flex-direction: column;
        align-items: center;
    }

    .main-nav .logo {
        margin-bottom: 8px;
    }

    .nav-links ul {
        gap: 24px;
        align-items: center;
        width: 100%;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a::after {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding: 50px 15px;
    }
    /* Reduced padding further */
    .hero-content h1 {
        font-size: 1.8rem;
    }
    /* Reduced */
    .hero-content .sub-headline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    /* Reduced */
    .hero-form {
        flex-direction: column;
        gap: 12px;
    }

        .hero-form select, .hero-form .btn {
            width: 100%;
            max-width: 350px;
        }

    .facebook-feed-section h2 {
        font-size: 1.75rem;
        letter-spacing: 0;
    }

    .action-buttons-grid {
        flex-direction: column;
    }

        .action-buttons-grid .btn {
            width: 100%;
            max-width: 350px;
            margin-left: auto;
            margin-right: auto;
        }


    .feature-split-section,
    .feature-split-section.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 0 60px 0;
    }

        .feature-split-section.reverse .feature-split-image,
        .feature-split-section.reverse .feature-split-text {
            order: 0;
        }

    .feature-split-image img {
        margin: 25px auto 25px auto;
    }

    .feature-split-text h2 {
        font-size: 1.75rem;
    }

    .facebook-feed-image iframe {
        max-width: 100%;
    }

    .top-bar .container {
        display: block;
        position: static;
        margin: 0 !important;
    }

    .social-icons {
        justify-content: center;
        margin-bottom: 15px;
        display: none;
    }
    .footer-site .social-icons {
        display: flex;
        margin: 0;
        padding: 35px 0 0 0;
        background: var(--footer-bg);
    }
    #FooterDiv {
        padding-top: 15px;
    }
    .top-bar-links > * {
        display: block;
    }
    .top-bar-head .container, .top-bar .container {
        margin: 0 !important;
        padding: 0;
    }

    .top-bar-links {
        display: block;
        text-align: center;
        margin-bottom: 0;
    }

    .top-bar {
        display: inline-block;
        width: 100%;
        height: auto;
    }

    .main-nav {
        position: static;
        display: inline-block;
        width: 100%;
    }
    #lblBar {
        display: none;
    }
}
