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

:root {
    --primary-color: #3b6eea;
    --primary-dark: #2563eb;
    --primary-bg: #eaf1fd;
    --secondary-color: #dc2626;
    --accent-color: #fbbf24;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #3b6eea 0%, #2563eb 100%);
    --gradient-secondary: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    --gradient-accent: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* New Header Styles */
header {
    background: white;
    padding: 0.2rem 5%;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    min-height: 40px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    height: 60px;
    margin-right: 4px;
}

.brand span {
    font-size: 1.7rem;
    color: #22304a;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(30,58,138,0.07);
    font-style: oblique 10deg;
    transform: skew(-4deg);
    display: inline-block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4169E1 0%, #1E3A8A 100%);
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="none"/><circle cx="3" cy="3" r="0.5" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.4;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 6px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    top: 10px;
    transform: none;
    font-size: 0.85em;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(30, 58, 138, 0.10);
}

.trust-badge i {
    color: #FFD700;
    font-size: 1.2em;
    margin-right: 8px;
}

.trust-badge span {
    color: #FFFFFF;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 900px;
}

.hero h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #FFD700;
    font-weight: 700;
    margin: 0 0 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 400;
}

.cta-button {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1.2;
    background-color: #28a745; /* Base green color */
    color: white;
}

.cta-button:hover:not([disabled]) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: #218838; /* Darker green on hover */
}

.cta-button.is-loading {
    cursor: not-allowed;
    background-color: #218838;
    gap: 12px;
}

.cta-button.is-loading .spinner {
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    border-top-color: #fff;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    flex-shrink: 0;
}

.cta-button.is-loading span {
    line-height: 1;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.cta-button.primary {
    /* This class is now used mainly as a selector, color is inherited from the base. */
    /* Specific overrides can go here if needed in the future. */
}

.cta-button.secondary {
    background-color: #f0f4f8;
    color: #334155;
}

.cta-button.secondary:hover {
    background-color: #e2e8f0;
}

.funnel-form-step .cta-button {
    width: 100%;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
    font-size: 0.95rem;
}

.security-note i {
    font-size: 1.1rem;
}

.insurance-types {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: nowrap;
    text-align: center;
}

@media (max-width: 700px) {
    .insurance-types {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 16px;
        align-items: center;
    }
    .insurance-type {
        width: 100%;
        max-width: 340px;
        font-size: 0.97rem;
        padding: 10px 8px;
        justify-content: center;
    }
}

.insurance-type {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.insurance-type i {
    color: #FFD700;
    font-size: 1.2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    justify-content: center;
}

.center-hero-content {
    align-items: center !important;
    text-align: center;
}

.hero-content .hero-text,
.hero-content .hero-title,
.hero-content .hero-subtitle,
.hero-content .hero-features,
.hero-content .cta-section {
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    box-shadow: 0 2px 12px 0 rgba(30, 58, 138, 0.10);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    line-height: 1.08;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--accent-color);
    font-size: 2.2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.2em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.2rem;
    opacity: 0.93;
    line-height: 1.6;
    color: #e0e7ef;
    font-weight: 400;
    max-width: 600px;
}

.hero-features {
    display: flex;
    gap: 2.2rem;
    margin-bottom: 2.7rem;
    margin-top: 0.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #fff;
    font-size: 1.08rem;
}

.feature i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.trust-badges {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    padding: 0.85rem 1.3rem;
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(30, 58, 138, 0.10);
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.08rem;
    border: 1px solid #e0e7ef;
    min-width: 120px;
    justify-content: center;
}

.badge-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.cta-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
}

.cta-button.primary {
    background: linear-gradient(90deg, #27ae60 0%, #219150 100%);
    width: 50%;
    min-width: 180px;
    max-width: 350px;
    margin: 0 auto;
    display: block;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.cta-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--text-white);
}

.benefit-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    margin-bottom: 1.5rem;
}

.benefit-card ul {
    list-style: none;
}

.benefit-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.benefit-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Modern Benefits Cards (like 'Our Services' style) */
.benefits-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
    justify-items: center;
}

.benefit-card-modern {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 8px 32px 0 rgba(30, 58, 138, 0.10);
    border-top: 4px solid #2563eb;
    padding: 2.75rem 2.25rem 2.25rem 2.25rem;
    text-align: center;
    max-width: 380px;
    transition: box-shadow 0.25s, transform 0.22s;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.benefit-card-modern:hover {
    box-shadow: 0 16px 48px 0 rgba(30, 58, 138, 0.18);
    transform: translateY(-6px) scale(1.035);
}

.benefit-icon-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3f6fb 0%, #dbe7fa 100%);
    color: #2563eb;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px 0 rgba(37, 99, 235, 0.10), 0 1.5px 8px 0 rgba(30,58,138,0.08);
    border: 2.5px solid #2563eb;
    transition: box-shadow 0.22s, border-color 0.22s;
}

.benefit-icon-modern i {
    color: #2563eb;
    font-size: 2.2rem;
    filter: none;
    text-shadow: 0 1px 2px rgba(30,58,138,0.07);
}

.benefit-card-modern:hover .benefit-icon-modern {
    box-shadow: 0 8px 32px 0 rgba(37,99,235,0.18), 0 2px 12px 0 rgba(30,58,138,0.10);
    border-color: #1e40af;
}

.benefit-card-modern h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.85rem;
    letter-spacing: -0.5px;
}

.benefit-card-modern p {
    color: #64748b;
    font-size: 1.08rem;
    font-weight: 400;
    margin-bottom: 1.1rem;
    line-height: 1.6;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-start;
    width: 100%;
}

.benefit-list li {
    display: flex;
    align-items: center;
    font-size: 1.07rem;
    color: #1e293b;
    font-weight: 600;
    gap: 0.6rem;
    background: none;
    border-radius: 6px;
    padding: 0.2rem 0.2rem 0.2rem 0;
    transition: background 0.18s;
}

.benefit-list li i {
    color: #2563eb;
    font-size: 1.15em;
    margin-right: 0.5em;
    flex-shrink: 0;
}

.benefit-card-modern .benefit-list {
    align-items: flex-start;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.benefit-list li:hover {
    background: none;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: var(--bg-white);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-text h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-feature i {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.why-feature h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.why-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Eligibility Form */
.eligibility-form {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: var(--text-white);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.form-header p {
    color: rgba(255, 255, 255, 0.8);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-white);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-bg);
}

input[type="date"]:invalid {
    color: #999;
}

.form-field input.error {
    border-color: var(--secondary-color);
}

.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.submit-button {
    width: 100%;
    background: var(--gradient-secondary);
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-brand h3 {
    color: var(--text-white);
    margin-bottom: 0;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

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

.footer-disclaimer p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal-text {
    text-align: center;
    color: #b0b8c1;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.3;
    padding: 12px 0 12px 0;
    max-width: 900px;
    margin: 0 auto;
}

.footer-legal-text p {
    margin-bottom: 0.4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .benefits-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card-modern {
        max-width: 100%;
    }
    
    .cta-button.primary {
        width: 90%;
        min-width: unset;
        max-width: unset;
    }
    
    .hero {
        padding: 80px 20px;
    }
    
    .trust-badge {
        margin-bottom: 20px;
        padding: 8px 20px;
        top: 8px;
        font-size: 0.9em;
    }
    
    /* -- Header Adjustments -- */
    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    .brand span {
        font-size: 1.3rem;
    }
    
    .phone {
        padding: 6px 12px;
        font-size: 1.2rem;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        color: white !important;
    }
    
    .phone-text {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .call-now {
        font-size: 0.8rem;
        display: block !important;
        visibility: visible !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .phone-number {
        font-size: 1.2rem;
        display: block !important;
        visibility: visible !important;
        color: white !important;
    }

    /* -- Hero Section Adjustments -- */
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p.subtitle {
        font-size: 1rem;
    }

    #open-funnel-btn {
        padding: 16px 35px;
        font-size: 1.2rem;
    }

    .trust-badge, .insurance-types {
        text-align: center;
    }

    /* -- Funnel Modal Adjustments -- */
    .funnel-modal-content {
        padding: 20px;
        width: 95%;
        max-height: 90vh;
    }

    .funnel-modal h2 {
        font-size: 1.5rem;
    }

    #funnel-state-select, #funnel-state-form .cta-button {
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    /* -- Footer and Other Sections -- */
    .trust-indicators {
        justify-content: center;
    }

    /* -- Success Modal on Mobile -- */
    .success-modal-content {
        padding: 30px 20px;
    }
    .success-modal-content h2 {
        font-size: 1.8em;
    }
    .success-modal-content p {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .benefit-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 900px) {
    .benefits-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .benefit-card-modern {
        max-width: 100%;
    }
    .hero-content {
        max-width: 100%;
        padding: 0 10px;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-title .highlight {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .footer-legal-text {
        font-size: 0.68rem;
        padding: 8px 4px 8px 4px;
    }
    .footer-legal-text p {
        margin-bottom: 0.2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.hero-image {
    animation: fadeInRight 1s ease-out;
}

.benefit-card {
    animation: fadeInUp 0.8s ease-out;
}

.testimonial-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success states */
.success {
    background: #10b981;
    color: white;
}

/* Error states */
.error {
    background: #ef4444;
    color: white;
}

/* Funnel Modal Styles */
.funnel-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px 0;
}

.funnel-modal-content {
    background-color: #fff;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    border-radius: 22px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 8px 40px 0 rgba(30, 58, 138, 0.18), 0 2px 12px 0 rgba(30,58,138,0.10);
    margin: auto;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border: 1.5px solid #e5eaf3;
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.funnel-modal form {
    display: none;
    text-align: center;
}

.funnel-modal form:first-child {
    display: block;
}

.funnel-modal h2 {
    text-align: center;
    margin-bottom: 1.1rem;
    color: #22304a;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* State Selection Form Specific Styles */
#funnel-state-form {
    text-align: center;
}

#funnel-state-select {
    display: inline-block;
    width: 320px;
    margin-bottom: 20px;
    padding: 0.7em 1.1em;
    border-radius: 10px;
    border: 1.5px solid #d1d5db;
    font-size: 1.1rem;
    background: #f8fafc;
    color: #22304a;
    box-shadow: 0 1px 4px rgba(30,58,138,0.04);
    transition: border-color 0.18s, box-shadow 0.18s;
}
#funnel-state-select:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 2px #eaf1fd;
}

#funnel-state-form .cta-button {
    display: inline-block;
    width: 320px;
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(30,58,138,0.07);
    margin-top: 1.2em;
    letter-spacing: 0.01em;
}

/* Other Funnel Forms */
.funnel-military-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.funnel-military-options label {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1px solid #111;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(30,58,138,0.04);
}

.funnel-military-options label:hover {
    background-color: #f8f8f8;
}

.funnel-military-options input[type="radio"] {
    margin-right: 1rem;
}

.funnel-military-options input[type="radio"]:checked + span {
    font-weight: 600;
    color: #4F46E5;
}

.funnel-military-options label:has(input[type="radio"]:checked) {
    border-color: #2563eb;
    background-color: #eaf1fd;
}

/* Contact Form Fields */
.contact-form-fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.form-field {
    position: relative;
}

.form-field input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-field input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-bg);
}

.form-field input.error {
    border-color: var(--secondary-color);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Consent Checkboxes */
.consent-checkboxes {
    margin: 0.75rem 0;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: #666;
    text-align: left;
    line-height: 1.3;
}

.consent-label input[type="checkbox"] {
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.success-modal-content {
    background: white;
    padding: 40px 50px;
    border-radius: 15px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .success-modal-content {
    transform: scale(1);
}

.success-checkmark {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: #28a745;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #28a745;
  fill: none;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.success-modal-content h2 {
    font-size: 2.3em;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
}

.success-modal-content .success-subheading {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
}

.success-modal-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.success-modal-content .cta-button {
    min-width: 150px;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .funnel-modal {
        padding: 10px;
    }
    
    .funnel-modal-content {
        width: 95%;
        padding: 1rem;
        max-height: calc(100vh - 20px);
    }

    .form-field input {
        padding: 0.5rem;
    }

    .consent-label {
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

/* Hide honeypot field */
.hidden {
    display: none;
}

/* Success page styles */
.success-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 20px;
}

.success-content {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.success-icon {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-content h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2.5em;
}

.success-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.success-content .cta-button {
    margin-top: 30px;
    display: inline-block;
    text-decoration: none;
}

#open-funnel-btn {
    padding: 18px 40px;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 12px;
}

#open-funnel-btn span {
    margin-left: 12px;
    transition: transform 0.3s ease;
}

#open-funnel-btn:hover span {
    transform: translateX(5px);
}

/* ======================================= */
/* ====== Mobile Responsive Styles ====== */
/* ======================================= */

@media (max-width: 768px) {
    /* -- Header Adjustments -- */
    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    .brand span {
        font-size: 1.3rem;
    }

    /* -- Hero Section Adjustments -- */
    .hero {
        padding: 80px 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p.subtitle {
        font-size: 1rem;
    }

    #open-funnel-btn {
        padding: 16px 35px;
        font-size: 1.2rem;
    }

    .trust-badge, .insurance-types {
        text-align: center;
    }

    /* -- Funnel Modal Adjustments -- */
    .funnel-modal-content {
        padding: 20px;
        width: 95%;
        max-height: 90vh;
    }

    .funnel-modal h2 {
        font-size: 1.5rem;
    }

    #funnel-state-select, #funnel-state-form .cta-button {
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    /* -- Footer and Other Sections -- */
    .trust-indicators {
        justify-content: center;
    }

    /* -- Success Modal on Mobile -- */
    .success-modal-content {
        padding: 30px 20px;
    }
    .success-modal-content h2 {
        font-size: 1.8em;
    }
    .success-modal-content p {
        margin-bottom: 20px;
    }
} 

.header {
    position: relative;
}

/* Remove .header-phone-right styles if present */
.header-phone-right { display: none !important; }

@media (max-width: 900px) {
    .header-phone-right {
        position: static;
        transform: none;
        justify-content: center;
        margin-top: 10px;
        width: 100%;
    }
    .header-container {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .header-phone-right {
        position: static;
        transform: none;
        justify-content: center;
        margin-top: 8px;
        width: 100%;
    }
} 

#header-phone, #header-phone * {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    height: auto !important;
    width: auto !important;
    color: white !important;
} 

.benefit-card-modern-header {
    min-height: 140px; /* Adjust as needed for your content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
} 

.header-phone {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #eef2f7;
    border-radius: 999px;
    padding: 0.18em 1em;
    box-shadow: 0 2px 10px rgba(59, 110, 234, 0.07);
    font-size: 1.05rem;
    font-weight: 700;
    color: #22304a;
    margin-left: 1.5em;
    border: 1.5px solid rgba(0,0,0,0.18);
    box-sizing: border-box;
}
.header-phone-number {
    color: #22304a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.35em;
    letter-spacing: 1px;
}
.header-phone-number:hover {
    color: #1e3a8a;
    text-decoration: none;
}
@media (max-width: 768px) {
    .header-phone {
        margin: 10px auto 0 auto;
        justify-content: center;
        width: max-content;
        font-size: 0.95rem;
        padding: 0.18em 0.7em;
    }
    .brand img {
        height: 30px;
    }
    .brand span {
        font-size: 1.1rem;
    }
} 

.section-title {
    text-align: center;
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    line-height: 1.15;
}
@media (max-width: 600px) {
    .section-title {
        font-size: 1.5rem;
    }
} 

.header-phone-icon {
    font-size: 1.7rem;
    color: #22304a;
    margin-right: 0.7em;
    margin-left: 1.2em;
    align-self: center;
    display: flex;
} 

.header-phone-group {
    display: flex;
    align-items: center;
    gap: 0.6em;
} 

@keyframes flash-grow {
    0% { transform: scale(1); }
    50% { transform: scale(1.09); }
    100% { transform: scale(1); }
}

.cta-button.qualify-button {
    animation: flash-grow 1.1s linear infinite;
    border: 1.2px solid #fff;
    box-sizing: border-box;
}

.funnel-back-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0.7em 0 1.2em 0;
    padding: 0.35em 1.1em 0.35em 0.7em;
    font-size: 0.98rem;
    font-weight: 500;
    color: #22304a;
    background: #f8fafc;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    box-shadow: 0 1px 4px rgba(30,58,138,0.03);
    width: fit-content;
}
.funnel-back-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #22304a;
}
.funnel-back-btn .back-arrow {
    display: inline-block;
    margin-right: 0.5em;
    font-size: 1.1em;
    line-height: 1;
    vertical-align: middle;
} 

.hero,
.hero-content,
.hero-text,
.insurance-types,
.insurance-type {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
} 