:root {
    --green: #008374;
    --green-bright: #27a99a;
    --green-soft: #e7f3f1;
    --body: #ffffff;
    --hero: #f5faf9;
    --faq: #edf2f5;
    --footer: #f5faf9;
    --text: #0b0b0b;
    --muted: #5f7078;
    --border: #e3e5e8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--body);
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Base Layout Constraints */
.container {
    width: 88%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   HEADER
========================= */

.site-header {
    position: relative;
    z-index: 20;
    height: auto;
    min-height: 84px;
    padding: 12px 0;
    background: #008374; /* Bright green brand match */
    animation: headerDrop .65s cubic-bezier(.22,1,.36,1) both;
}

.site-header .container {
    height: 100%;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0;
}

/* Brand Logo Styling */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0c3852;
}

.brand-shield {
    color: var(--green);
    font-size: 42px;
    line-height: 1;
}

.brand-text strong {
    display: block;
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-text small {
    display: block;
    margin-top: 4px;
    color: #0c3852;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    line-height: 1;
}

/* Info Items & Icons */
.header-info {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-detail-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-icon-badge {
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: #008374;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.header-detail {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.header-detail strong {
    color: #0c3852;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.header-detail small,
.header-detail span {
    color: #0c3852;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

/* =========================
   COMMON & COMPONENTS
========================= */

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.2;
}

.highlight {
    display: inline-block;
    padding: 0 .16em;
    color: var(--green);
    background: rgba(1, 89, 36, .08);
    border-radius: 6px;
}

.section-heading {
    margin-bottom: 27px;
    text-align: center;
}

.section-heading h2,
.financial-copy h2,
.day-one-copy h2 {
    margin: 0;
    color: var(--text);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -.8px;
    line-height: 1.15;
}

/* Custom Bullet List */
.custom-bullet-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.custom-bullet-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.custom-bullet-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 15px;
}

/* Custom Primary Button */
.btn-custom-primary {
    background-color: var(--green);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 4px;
    border: none;
    display: inline-flex;
    align-items: center;
    transition: all .25s ease;
}

.btn-custom-primary:hover {
    background-color: #082d42;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(1, 89, 36, 0.2);
}

/* =========================
   HERO SECTION
========================= */

.hero-section {
    padding-top: 24px;
    padding-bottom: 40px;
    background: #ffffff;
}

.hero-box {
    background: #eaf5f3; /* Light lime card background */
    border-radius: 16px;
}

/* Reduced top padding to pull text upward */
.hero-copy {
    padding: 36px 48px 48px 48px !important; 
}

/* Eyebrow badge style */
.eyebrow {
    display: inline-block;
    color: #008374;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-top: 0;
}

/* Main title styling */
.hero-title {
    color: #0b0b0b;
    font-size: clamp(34px, 3.8vw, 50px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.8px;
}

/* Pill highlight around 'Insurance' */
.highlight-pill {
    display: inline-block;
    padding: 2px 16px;
    margin-top: 6px;
    color: #008374;
    background: #d7e9e5;
    border-radius: 12px;
}

/* Paragraphs */
.hero-paragraph {
    color: #52636b;
    font-size: 14.5px;
    line-height: 1.65;
}

/* Image container stretching */
.hero-photo,
.hero-img-container {
    height: 100%;
    min-height: 100%;
}

.hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* =========================
   HOW IT WORKS
========================= */

.how-section {
    padding: 40px 0 50px;
    background: #fff;
}

.feature-card {
    padding: 30px 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 13px 28px rgba(0,70,35,.08) !important;
}

.feature-icon {
    color: var(--green);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
}

/* =========================
   FINANCIAL SUPPORT
========================= */

.financial-section {
    padding: 40px 0;
    background: var(--body);
}

.financial-copy h2 {
    font-size: 32px;
}

/* .benefit-icon {
    color: var(--green);
} */

.benefit-item h3 {
    font-size: 16px;
    font-weight: 600;
}

.benefit-item p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .8s cubic-bezier(.22,1,.36,1);
}

.portrait img:hover {
    transform: scale(1.03);
}

/* =========================
   DAY ONE PROTECTION
========================= */

.day-one-section {
    padding: 45px 0;
    background: var(--body);
}

.photo-backdrop {
    position: absolute;
    z-index: 0;
    left: -15px;
    bottom: -15px;
    width: 140px;
    height: 170px;
    border-radius: 6px;
    background: var(--hero);
}

.day-one-photo img {
    position: relative;
    z-index: 1;
}

.day-one-copy h2 {
    font-size: 32px;
}

.day-one-copy p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================
   FAQ
========================= */

.faq-section {
    padding: 50px 0 60px;
    background: var(--faq);
}

.accordion-item {
    border: 0 !important;
    border-radius: 6px !important;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.03);
}

.accordion-button {
    padding: 14px 18px;
    border: 0 !important;
    color: var(--text);
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background: var(--green);
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 14px 18px;
    color: var(--muted);
    background: #fff;
    font-size: 13.5px;
    line-height: 1.65;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 35px 0 20px;
    background: var(--footer);
    text-align: center;
}

.footer-disclaimer {
    max-width: 920px;
    margin: 0 auto 12px;
    font-size: 11px;
    line-height: 1.65;
    color: var(--muted);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.social-links a {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 13px;
    transition: transform .25s ease;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(1,89,36,.16);
    font-size: 12px;
}

.footer-bottom nav a {
    color: #0c5960;
}

/* =========================
   ANIMATIONS
========================= */

.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(28px);
}

.reveal-left {
    transform: translateX(-35px);
}

.reveal-right {
    transform: translateX(35px);
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
    opacity: 1;
    transform: translate3d(0,0,0);
    transition: opacity .75s ease, transform .85s cubic-bezier(.22,1,.36,1);
}

.delay-1 { transition-delay: .08s !important; }
.delay-2 { transition-delay: .16s !important; }
.delay-3 { transition-delay: .24s !important; }

@keyframes headerDrop {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal-up, .reveal-left, .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* =========================
   RESPONSIVE OVERRIDES
========================= */

@media (max-width: 768px) {
    .container {
        width: calc(100% - 30px);
    }

    .hero-copy {
        padding: 24px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-heading h2,
    .financial-copy h2,
    .day-one-copy h2 {
        font-size: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================================
   MEDICARE COMPANIONS THEME
   Palette matched to the supplied Medicare Companions reference:
   Teal #008374, Navy #0C3852, Coral #FF5B63
========================================================= */

:root {
    --mc-teal: #008374;
    --mc-teal-dark: #006f63;
    --mc-navy: #0c3852;
    --mc-navy-deep: #082d42;
    --mc-coral: #ff5b63;
    --mc-teal-soft: #e7f3f1;
    --mc-gray-soft: #edf2f5;
    --mc-text: #0c3852;
}

/* Header */
.site-header {
    background: var(--mc-teal) !important;
}

.brand,
.brand-text strong,
.brand-text small,
.header-detail strong,
.header-detail small,
.header-detail span {
    color: #ffffff !important;
}

.brand-shield {
    color: #ffffff !important;
}

.header-icon-badge {
    color: var(--mc-teal) !important;
    background: #ffffff !important;
}

/* Main text */
body,
.section-heading h2,
.financial-copy h2,
.day-one-copy h2 {
    color: var(--mc-navy) !important;
}

.eyebrow {
    color: var(--mc-teal) !important;
}

.highlight {
    color: var(--mc-teal) !important;
    background: var(--mc-teal-soft) !important;
}

/* Primary buttons and interactive elements */
.btn-custom-primary {
    background: var(--mc-teal) !important;
    border-color: var(--mc-teal) !important;
    color: #ffffff !important;
}

.btn-custom-primary:hover {
    background: var(--mc-navy) !important;
    border-color: var(--mc-navy) !important;
}

/* Hero */
.hero-section {
    background: #ffffff !important;
}

.hero-box {
    background: #e9f5f3 !important;
}

.hero-content h1 {
    color: var(--mc-navy) !important;
}

.hero-content h1 .highlight,
.hero-content h1 span {
    color: var(--mc-teal) !important;
    background: #dceeea !important;
}

/* How it works */
.how-it-works-section {
    background: #f6f8f9 !important;
}

.feature-card {
    border-color: #dbe3e7 !important;
    background: #ffffff !important;
}

.feature-icon {
    color: var(--mc-teal) !important;
}

/* Financial section */
.financial-section {
    background: #ffffff !important;
}

/* .benefit-icon {
    background: var(--mc-teal) !important;
} */

.benefit-item h3 {
    color: var(--mc-navy) !important;
}

/* Day One */
.day-one-section {
    background: #ffffff !important;
}

.image-backdrop {
    background: #e6f3f1 !important;
}

/* FAQ */
.faq-section {
    background: var(--mc-gray-soft) !important;
}

.accordion-button {
    color: var(--mc-navy) !important;
}

.accordion-button:not(.collapsed) {
    background: var(--mc-teal) !important;
    color: #ffffff !important;
}

/* Footer */
.site-footer {
    background: #e7f7f4 !important;
    color: var(--mc-navy) !important;
}

.footer-links a {
    color: var(--mc-teal) !important;
}

.social-links a {
    background: var(--mc-teal) !important;
}

.social-links a:hover {
    background: var(--mc-navy) !important;
}

/* Active/navigation accents if present */
.site-header a.active,
.site-header a:hover {
    color: #ffffff;
}

.nav-link.active::after,
.nav-link:hover::after {
    background: var(--mc-coral) !important;
}

/* Selection */
::selection {
    background: var(--mc-teal);
    color: #ffffff;
}

/* Mobile header */
@media (max-width: 767px) {
    .site-header {
        background: var(--mc-teal) !important;
    }
}



/* ================================
   GET QUOTE CARD
================================ */

.getquote {
    background: #ffffff;
    padding: 70px 0;
}

.quote-card {
    width: 100%;
    max-width: 760px;
    background: #ffffff;
    border-radius: 18px;
    padding: 45px 50px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.10);
    border: 1px solid #e8eeee;
}

.quote-content h3 {
    margin: 0 0 10px;
    color: #003b5c;
    font-size: 32px;
    font-weight: 700;
}

.quote-content > .text-center p {
    margin: 0;
    color: #006b8f;
    font-size: 15px;
}

.quote-card .form-control {
    width: 100%;
    height: 54px;
    border: 1px solid #d5dfe3;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 16px;
    box-shadow: none;
}

.quote-card .form-control:focus {
    border-color: #008f83;
    box-shadow: 0 0 0 3px rgba(0, 143, 131, 0.10);
}

.quote-disclaimer {
    color: #23485b;
    font-size: 12px;
    line-height: 1.65;
    text-align: justify;
    margin: 0;
}

.quote-disclaimer a {
    color: #007f78;
    text-decoration: underline;
}

.quote-btn {
    background: #006b8f;
    border: none;
    border-radius: 7px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
}


/* Mobile */
@media (max-width: 767px) {

    .getquote {
        padding: 45px 15px;
    }

    .quote-card {
        padding: 30px 22px;
        border-radius: 14px;
    }

    .quote-content h3 {
        font-size: 26px;
    }

    .quote-disclaimer {
        font-size: 11px;
        line-height: 1.6;
    }

    .quote-btn {
        width: 100%;
    }
}
