/* =============================================================
   BrightPath Foundation — Modern Footer Styles
   Brand: Deep Green #085536 | Orange #e86f2a
   ============================================================= */

/* ── Orange accent top strip ─────────────────────────────────── */
/* ── Pre-Footer CTA Section ──────────────────────────────────── */
.bp-pre-footer {
    background-color: #043622; /* Darker than the footer to distinguish it, matching 'The Prostate Clinic' vibe */
    padding: 30px 0;
    font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', sans-serif;
}

.bp-pre-footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bp-pre-footer-text {
    flex: 1;
    max-width: 800px;
}

.bp-pre-footer-text h5 {
    color: #e86f2a;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
}

.bp-pre-footer-text h2 {
    color: #e86f2a !important;
    font-size: 30px !important;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.bp-pre-footer-text p {
    color: #ffffff;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.bp-pre-footer-action {}

.bp-pre-footer-btn {
    display: inline-block;
    background-color: #e86f2a;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 0;
    text-decoration: none !important;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(232, 111, 42, 0.3);
}

.bp-pre-footer-btn:hover {
    background-color: #cf5e1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(232, 111, 42, 0.45);
}

@media (max-width: 767px) {
    .bp-pre-footer-content {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }
}

/* ── Orange accent top strip ─────────────────────────────────── */
.bp-footer-accent-bar {
    height: 5px;
    background: linear-gradient(90deg, #e86f2a 0%, #f5a047 50%, #e86f2a 100%);
}

/* ── Footer wrapper ──────────────────────────────────────────── */
.bp-footer {
    background-color: #085536;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow top-right */
.bp-footer::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(232, 111, 42, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Inner padding wrapper ───────────────────────────────────── */
.bp-footer-inner {
    padding: 70px 0 50px;
}

/* ── 5-column grid ───────────────────────────────────────────── */
.bp-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 2fr 1.1fr 1.3fr 1.1fr 1.5fr;
    gap: 40px;
}

/* ── Column shared ───────────────────────────────────────────── */
.bp-footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    margin: 0 0 25px 0;
    padding-bottom: 0;
    border-bottom: none;
    -webkit-font-smoothing: antialiased;
}

/* ── Col 1: About / Logo ─────────────────────────────────────── */
.bp-footer-about {
    padding-right: 20px;
}

.bp-footer-logo-link {
    display: inline-block;
    margin-bottom: 20px;
}

.bp-footer-about-logo {
    height: 140px;
    width: auto;
    max-width: none;
    -webkit-filter: none;
    filter: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.bp-footer-logo-link:hover .bp-footer-about-logo {
    opacity: 1;
}

.bp-footer-about p {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.75;
    color: #ffffff;
    margin-bottom: 24px;
    -webkit-font-smoothing: antialiased;
}

.bp-footer-donate-btn {
    display: inline-block;
    background-color: #e86f2a;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 22px;
    border-radius: 0;
    text-decoration: none !important;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(232, 111, 42, 0.3);
}

.bp-footer-donate-btn:hover {
    background-color: #cf5e1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(232, 111, 42, 0.45);
}

/* ── Col 2-4: Link lists ─────────────────────────────────────── */
.bp-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bp-footer-links li {
    margin-bottom: 18px;
}

.bp-footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    display: inline-block;
    transition: color 0.25s ease;
    -webkit-font-smoothing: antialiased;
}

.bp-footer-links a:hover {
    color: #e86f2a;
}

/* ── Col 5: Contact ──────────────────────────────────────────── */
.bp-footer-contact-col {}

.bp-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.bp-footer-contact-item .bp-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #ffffff;
    stroke: #ffffff;
}

.bp-footer-contact-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.bp-footer-contact-item a:hover {
    color: #e86f2a;
}

/* ── Newsletter form ─────────────────────────────────────────── */
.bp-footer-newsletter {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bp-footer-newsletter-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.50);
    margin: 0 0 10px 0;
}

.bp-footer-newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.bp-footer-newsletter-form input[type="email"] {
    flex: 1;
    padding: 10px 14px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: none;
    border-radius: 0;
    color: #ffffff;
    outline: none;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.bp-footer-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.40);
}

.bp-footer-newsletter-form input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(232, 111, 42, 0.5);
}

.bp-footer-newsletter-form button {
    padding: 10px 16px;
    background: #e86f2a;
    color: #ffffff;
    border: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.25s ease;
    white-space: nowrap;
}

.bp-footer-newsletter-form button:hover {
    background: #cf5e1e;
}

/* ── Bottom bar ──────────────────────────────────────────────── */
.bp-footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.15);
    padding: 22px 30px;
}

.bp-footer-bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.bp-footer-copyright {
    display: block;
    font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', serif;
    font-size: 13px;
    font-weight: 300;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

.bp-developer-credit {
    font-size: 13px;
    color: #ffffff;
    margin-top: 4px;
    display: inline-block;
}

/* ── Social icons ────────────────────────────────────────────── */
.bp-footer-social {
    display: flex;
    gap: 10px;
}

.bp-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.65);
    transition: background 0.3s ease, color 0.3s ease, transform 0.25s ease, border-color 0.3s ease;
    text-decoration: none;
}

.bp-footer-social a svg {
    width: 17px;
    height: 17px;
}

.bp-footer-social a:hover {
    background: #e86f2a;
    border-color: #e86f2a;
    color: #ffffff;
    transform: translateY(-3px);
}

/* ── Legal links ─────────────────────────────────────────────── */
.bp-footer-legal {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.bp-footer-legal a {
    font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', serif;
    font-size: 13px;
    font-weight: 300;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.25s ease;
    -webkit-font-smoothing: antialiased;
}

.bp-footer-legal a:hover {
    color: #e86f2a;
}

/* ── Tablet (max 1100px) ─────────────────────────────────────── */
@media (max-width: 1100px) {
    .bp-footer-container {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .bp-footer-about {
        grid-column: 1 / -1;
        padding-right: 0;
        max-width: 520px;
    }
}

/* ── Mobile (max 767px) ──────────────────────────────────────── */
@media (max-width: 767px) {
    .bp-footer-inner {
        padding: 50px 0 30px;
    }

    .bp-footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 20px;
    }

    .bp-footer-about {
        grid-column: auto;
        max-width: 100%;
    }

    .bp-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .bp-footer-legal {
        justify-content: center;
    }

    .bp-footer-social {
        justify-content: center;
    }

    .bp-footer-bottom-bar {
        padding: 22px 20px;
    }
}
