/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #DC3545;
    --primary-dark: #C82333;
    --secondary-color: #0066CC;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --border-color: #E0E0E0;
    --success-color: #28A745;
    --warning-color: #FFC107;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Header */
.header {
    background-color: var(--bg-color);
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 0;
}

.header-content {
    display: flex;
    align-items: center;
}

.logo-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    display: block;
    height: 50px;
    width: auto;
    max-width: 100%;
}

/* Main Content */
.main {
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    margin-bottom: 2rem;
}

.main-headline {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Hero Image */
.hero-image-section {
    margin-bottom: 2rem;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block !important;
    object-fit: cover;
    max-height: 400px;
    margin: 0 auto;
}

/* Benefit Section */
.benefit-section {
    margin-bottom: 2rem;
}

.benefit-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.benefit-text strong {
    color: var(--secondary-color);
    font-weight: 600;
}


/* Eligibility Section */
.eligibility-section {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.eligibility-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
}

.steps-info {
    margin-bottom: 2rem;
    text-align: center;
}

.step-info {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* Progress Bar */
.progress-section {
    margin-bottom: 2rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.progress-info span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background-color: #E0E0E0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 15px;
}

/* Form Container */
.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.medicare-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeIn 0.4s ease-in;
}

.form-group.active {
    display: flex;
}

.form-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-button {
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.option-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.option-button.selected {
    background-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3);
}

/* Processing Section */
.processing-section {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
    display: none;
}

.processing-section.show {
    display: block;
}

.processing-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.processing-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.processing-step.active {
    opacity: 1;
    background-color: #E6F2FF;
    border-left: 4px solid var(--primary-color);
}

.processing-step.completed {
    opacity: 1;
    background-color: #D4EDDA;
    border-left: 4px solid var(--success-color);
}

.step-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    flex-shrink: 0;
}

.processing-step.active .step-icon {
    color: var(--primary-color);
    animation: pulse 1.5s infinite;
}

.processing-step.completed .step-icon {
    color: var(--success-color);
}

.step-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* CTA Section */
.cta-section {
    margin-top: 2rem;
    padding: 2.5rem;
    background-color: white;
    border-top: 4px solid var(--secondary-color);
    border-radius: 10px;
    text-align: center;
    display: none;
}

.cta-section.show {
    display: block;
}

.cta-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.cta-box {
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta-phone-icon {
    font-size: 2.5rem;
}

.cta-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cta-label {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-phone {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.cta-phone:hover {
    opacity: 0.9;
}

.btn {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-call {
    background-color: var(--warning-color);
    color: #000;
    font-size: 1.3rem;
    padding: 1.5rem 3rem;
    margin-top: 1rem;
}

.btn-call:hover {
    background-color: #FFB300;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Not Qualified Section */
.not-qualified {
    margin-top: 2rem;
    padding: 2.5rem;
    background-color: #FFF3CD;
    border: 2px solid var(--warning-color);
    border-radius: 8px;
    text-align: center;
    display: none;
}

.not-qualified.show {
    display: block;
}

.not-qualified-content h3 {
    color: #856404;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.not-qualified-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #856404;
    line-height: 1.7;
}

.not-qualified-content a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background-color: #2C3E50;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #34495E;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 100%;
}

.footer-badges {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    background-color: white;
    margin-left: auto;
    gap: 1rem;
}

.badges-img {
    display: block;
    height: 55px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.bbb-badge {
    height: 55px;
}

.ma-badge {
    height: 55px;
    background: transparent;
    /* Remove white/light backgrounds */
    mix-blend-mode: multiply;
    /* Alternative approach - uncomment if mix-blend-mode doesn't work well */
    /* filter: brightness(1.05) contrast(1.05); */
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: #BDC3C7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-link-separator {
    color: #34495E;
    font-size: 0.9rem;
}

.footer-disclaimer {
    font-size: 0.75rem;
    line-height: 1.6;
    color: #95A5A6;
    margin-bottom: 1.5rem;
}

.footer-disclaimer p {
    margin-bottom: 1rem;
}

.footer-disclaimer strong {
    color: #BDC3C7;
}

.advertisement-warning {
    background-color: #34495E;
    padding: 1rem;
    border-left: 4px solid var(--warning-color);
    margin: 1.5rem 0;
    font-weight: 600;
}

.copyright {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #34495E;
}

.footer-contact {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #34495E;
}

.contact-label {
    font-size: 0.9rem;
    color: #BDC3C7;
    margin-bottom: 0.5rem;
}

.contact-phone {
    display: inline-block;
    background-color: var(--warning-color);
    color: #000;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-phone:hover {
    background-color: #FFB300;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-headline {
        font-size: 1.4rem;
    }

    .hero-img {
        max-height: 300px;
        display: block !important;
    }

    .cta-heading {
        font-size: 1.5rem;
    }

    .cta-box {
        flex-direction: column;
        padding: 1.5rem;
    }

    .cta-phone {
        font-size: 1.5rem;
    }

    .eligibility-section {
        padding: 1.5rem;
    }

    .eligibility-title {
        font-size: 1.4rem;
    }

    .providers-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-link-separator {
        display: none;
    }

    .footer-badges {
        width: 100%;
        justify-content: flex-start;
    }

    .badges-img {
        height: 45px;
        max-width: 100%;
    }

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .main-headline {
        font-size: 1.2rem;
    }

    .eligibility-section {
        padding: 1rem;
    }

    .option-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .contact-phone {
        font-size: 1.2rem;
        padding: 0.75rem 1.5rem;
    }
}
