/* ================================================================
   LifeWellPhysio - Custom Overrides
   Add on top of the existing theme CSS without breaking the design.
   ================================================================ */

/* ---------------- Floating WhatsApp + Call Buttons ---------------- */
.lifewell-float-buttons {
    position: fixed;
    right: 20px;
    bottom: 90px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lifewell-float-buttons .float-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.18);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}
.lifewell-float-buttons .float-btn:hover {
    transform: scale(1.07);
    color: #fff;
}
.lifewell-float-buttons .whatsapp-float { background-color: #25D366; }
.lifewell-float-buttons .call-float     { background-color: #0bb37e; }

.float-pulse {
    position: absolute; inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37,211,102,0.55);
    animation: lwfPulse 1.8s infinite;
}
@keyframes lwfPulse {
    0%   { box-shadow: 0 0 0 0    rgba(37,211,102,0.55); }
    70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0);    }
    100% { box-shadow: 0 0 0 0    rgba(37,211,102,0);    }
}

/* ---------------- Sticky Mobile Bottom CTA ---------------- */
.sticky-mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0;
    background: #fff;
    border-top: 1px solid #e6e6e6;
    box-shadow: 0 -4px 14px rgba(0,0,0,0.08);
    display: flex;
    z-index: 9998;
}
.sticky-mobile-cta .sticky-cta-btn {
    flex: 1;
    padding: 12px 6px;
    text-align: center;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-right: 1px solid #f0f0f0;
}
.sticky-mobile-cta .sticky-cta-btn:last-child { border-right: 0; }
.sticky-mobile-cta .sticky-cta-btn i { font-size: 18px; display: block; margin-bottom: 4px; }
.sticky-mobile-cta .call     i { color: #0bb37e; }
.sticky-mobile-cta .whatsapp i { color: #25D366; }
.sticky-mobile-cta .book     i { color: #0d6efd; }

@media (min-width: 992px) {
    .sticky-mobile-cta { display: none !important; }
}
@media (max-width: 991px) {
    body { padding-bottom: 64px; }    /* space for sticky CTA */
    .lifewell-float-buttons { bottom: 80px; }
}

/* ---------------- Footer service-area block ---------------- */
.footer-areas {
    background: rgba(255,255,255,0.04);
    padding: 18px 22px;
    border-radius: 8px;
    margin: 30px 0 20px;
}
.footer-areas h4 { font-size: 15px; margin-bottom: 10px; opacity: .85; }
.footer-areas p  { font-size: 13px; line-height: 2; margin: 0; opacity: .8; }
.footer-areas p a { color: inherit; text-decoration: none; transition: opacity .2s; }
.footer-areas p a:hover { opacity: 1; text-decoration: underline; }

/* ---------------- Service Detail Page Components ---------------- */
.service-detail-content .lead-text p {
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.service-h1 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
}

.benefit-item {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 24px 22px;
    margin-bottom: 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: box-shadow .25s ease, transform .25s ease;
}
.benefit-item:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}
.benefit-item .benefit-icon i {
    font-size: 22px;
    color: #0bb37e;
    margin-top: 2px;
}
.benefit-item p { margin: 0; font-size: 0.97rem; line-height: 1.55; }

.conditions-list { list-style: none; padding: 0; margin: 0; }
.conditions-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e6e8ec;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.conditions-list li i { color: #0bb37e; font-size: 14px; }
.conditions-list li:last-child { border-bottom: 0; }

.service-approach .approach-content p {
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 1.1rem;
    color: #444;
}

/* ---------------- CTA Banner ---------------- */
.cta-banner-section { padding: 70px 0; }
.cta-banner-box {
    background: linear-gradient(135deg, #0bb37e 0%, #079b6c 100%);
    color: #fff;
    border-radius: 18px;
    padding: 50px 45px;
    box-shadow: 0 22px 50px rgba(11,179,126,0.25);
}
.cta-banner-box h2 { color: #fff; }
.cta-banner-box p  { color: rgba(255,255,255,0.92); margin: 12px 0 0; }
.cta-banner-box .btn-default { background: #fff; color: #0bb37e; }
.cta-banner-box .btn-default.btn-highlighted { background: #ffd400; color: #1a1a1a; }

/* ---------------- FAQ accordion (re-skin) ---------------- */
.accordion-item {
    border: 1px solid #e9edf2;
    border-radius: 12px !important;
    margin-bottom: 14px;
    overflow: hidden;
}
.accordion-button {
    font-weight: 600;
    font-size: 1rem;
    padding: 18px 22px;
}
.accordion-button:not(.collapsed) {
    background-color: #f1fbf7;
    color: #0bb37e;
}
.accordion-body { padding: 0 22px 18px; color: #555; line-height: 1.7; }

/* ---------------- Mission / Vision cards ---------------- */
.mission-card, .vision-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    padding: 36px 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    height: 100%;
}
.mission-card h2, .vision-card h2 { margin-bottom: 14px; }
.mission-card p,  .vision-card p  { color: #555; line-height: 1.8; margin: 0; }

/* ---------------- Blog page tweaks ---------------- */
.single-post-content h1 { margin: 18px 0 12px; }
.single-post-content h2 { margin: 28px 0 14px; }
.single-post-content blockquote {
    border-left: 4px solid #0bb37e;
    padding: 14px 22px;
    background: #f7fbf9;
    border-radius: 8px;
    font-size: 1.05rem;
    color: #333;
}
.single-post-meta ul { list-style: none; padding: 0; display: flex; gap: 22px; }
.single-post-meta ul li { font-size: 0.9rem; color: #666; }

/* ---------------- Testimonials page card grid ---------------- */
.testimonial-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 26px 24px;
    margin-bottom: 28px;
    height: calc(100% - 28px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}
.testimonial-rating i { color: #f5b50a; font-size: 14px; margin-right: 2px; }
.testimonial-text { font-style: italic; color: #444; line-height: 1.7; }
.testimonial-footer h3 { font-size: 1rem; margin: 14px 0 0; }
.testimonial-footer small { display: block; color: #666; }

/* ---------------- Therapist single ---------------- */
.therapist-bio h2 { margin: 30px 0 16px; }
.therapist-bio h3 { margin: 24px 0 12px; }
.therapist-details ul { list-style: none; padding: 0; }
.therapist-details ul li { padding: 8px 0; border-bottom: 1px dashed #e6e8ec; }
.therapist-details ul li:last-child { border-bottom: 0; }

/* ---------------- Appointment page ---------------- */
.appointment-form-box {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    padding: 30px 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.appointment-features .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #444;
}
.appointment-features .feature-item i { color: #0bb37e; font-size: 16px; }
.appointment-call { background: #f1fbf7; border-radius: 12px; padding: 20px 22px; }
.appointment-call h3 a { color: #0bb37e; font-size: 1.4rem; font-weight: 700; }

/* ---------------- Forms ---------------- */
.form-control {
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid #e1e4ea;
    font-size: 0.97rem;
}
.form-control:focus {
    border-color: #0bb37e;
    box-shadow: 0 0 0 .15rem rgba(11,179,126,0.15);
}
label { font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: #333; }

/* ---------------- 404 ---------------- */
.error-page .error-code {
    font-size: clamp(80px, 12vw, 160px);
    font-weight: 800;
    color: #0bb37e;
    line-height: 1;
    margin-bottom: 10px;
}
.error-quick-links ul { padding: 0; }
.error-quick-links li a {
    display: inline-block;
    padding: 8px 14px;
    background: #f1fbf7;
    color: #0bb37e;
    border-radius: 20px;
    margin: 4px;
    font-size: 0.9rem;
    text-decoration: none;
}

/* ---------------- Legal pages ---------------- */
.legal-page h2 { margin-bottom: 6px; }
.legal-page h3 { margin: 28px 0 12px; color: #0bb37e; }
.legal-page p, .legal-page li { color: #555; line-height: 1.8; }

/* ---------------- Utility ---------------- */
.text-anime-style-2 span { color: #0bb37e; }
.btn-default.btn-highlighted { background: #0bb37e; color: #fff; }
.btn-default.btn-highlighted:hover { background: #079b6c; color: #fff; }
