/* ==========================================================
   BOGA Hospital – site-specific styles
   (collected from the inline <style> blocks that were repeated on every page)
   ========================================================== */

/* ---------- Sticky header ---------- */
.ul-header {
    position: relative;
    z-index: 9999;
}
.to-be-sticky {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}
.to-be-sticky.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.to-be-sticky.is-hidden {
    transform: translateY(-100%);
}

/* ---------- Footer ---------- */
.ul-footer-logo {
    width: 50%;
    height: auto;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
}
.ul-footer-credit,
.ul-footer-bottom-links a.ul-footer-credit {
    color: inherit;
    text-decoration: none;
    font-size: 15px;
}

/* ---------- Mobile bottom contact bar ---------- */
.mobile-bottom-bar {
    background-color: #000101;
    border-radius: 10px 10px 0 0;
}
.mobile-bottom-bar a {
    text-decoration: none;
}
.mobile-bottom-bar i {
    font-size: 1.8rem;
}
.mobile-bottom-bar span {
    font-size: 0.8rem;
}
.footer-hover:hover {
    color: #ed4c92 !important;
}
@media (max-width: 575.98px) {
    /* keep the last lines of the footer visible above the bar */
    body { padding-bottom: 70px; }
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-floating {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}
.whatsapp-floating img {
    width: 56px;
    height: 56px;
    display: block;
}

/* ---------- Appointment / contact form validation ---------- */
.field-error {
    display: block;
    color: #dc3545;
    font-size: 12.5px;
    margin-top: 4px;
    min-height: 18px;
    line-height: 1.4;
}
.input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.18) !important;
}
.input-success {
    border-color: #198754 !important;
}

/* ---------- Home banner: keyword H1 keeps the original pill look ---------- */
h1.ul-banner-sub-title {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* ---------- Mobile: stop sideways scrolling ---------- */
.ul-footer-contact-info,
.ul-footer-contact-info a {
    overflow-wrap: anywhere;
    min-width: 0;
}
html, body {
    overflow-x: clip;
}

/* ---------- Treatment pages: extra content blocks ---------- */
.ul-service-details-txt h2.boga-h2 {
    font-size: clamp(20px, 1.5vw, 26px);
    font-weight: 700;
    color: var(--ul-primary, #222);
    margin: clamp(26px, 2.2vw, 40px) 0 12px;
}
.ul-service-details-txt p { margin-bottom: 14px; }
.boga-steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.boga-steps li {
    position: relative;
    padding: 0 0 14px 46px;
    margin: 0;
}
.boga-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute; left: 0; top: 0;
    width: 32px; height: 32px; border-radius: 50%;
    background: #ed4c92; color: #fff; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.boga-steps li strong { display: block; color: #222; }
.boga-note {
    border-left: 4px solid #ed4c92;
    background: #fff4f9;
    padding: 14px 18px;
    border-radius: 8px;
    margin: 18px 0;
}
.boga-note strong { color: #c2185b; }
.boga-care-team {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin: 10px 0 6px;
}
.boga-care-team-card {
    display: flex; align-items: center; gap: 14px;
    background: #f6f6f6; border-radius: 12px; padding: 12px;
}
.boga-care-team-card img {
    width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none;
}
.boga-care-team-card strong { display: block; color: #222; }
.boga-care-team-card span { font-size: 14px; color: #666; }
.ul-service-details-sidebar-cta .boga-btn-outline {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid #fff;
}

/* ---------- Certificates ---------- */
.boga-lead { max-width: 820px; margin: 14px auto 0; }
.boga-cert-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,.08);
    display: flex; flex-direction: column;
}
.boga-cert-img { display: block; background: #f5f5f5; padding: 18px; text-align: center; }
.boga-cert-img img { width: 100%; height: 340px; object-fit: contain; }
.boga-cert-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.boga-cert-body h3 { font-size: 19px; font-weight: 700; color: #222; margin-bottom: 4px; }
.boga-cert-issuer { font-size: 14px; color: #ed4c92; margin-bottom: 12px; }
.boga-cert-body dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; margin-bottom: 12px; }
.boga-cert-body dt { font-weight: 600; color: #444; }
.boga-cert-body dd { margin: 0; color: #555; }
.boga-cert-body > p { font-size: 14px; }
.boga-cert-actions { margin-top: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.boga-cert-pdf { font-weight: 600; color: #ed4c92; text-decoration: underline; }

/* ---------- Trust strip (home) ---------- */
.boga-trust { background: #fff4f9; padding: 22px 0; }
.boga-trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; align-items: center; }
.boga-trust-item { display: flex; align-items: center; gap: 10px; color: #222; font-weight: 600; text-decoration: none; }
.boga-trust-item img { width: 46px; height: 60px; object-fit: cover; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.boga-trust-item small { display: block; font-weight: 400; color: #666; }
.boga-trust-item:hover { color: #ed4c92; }

/* ---------- SEO content blocks on general pages ---------- */
.boga-content { max-width: 960px; margin: 0 auto; }
.boga-content h2 { font-size: clamp(22px, 1.8vw, 30px); font-weight: 700; color: #222; margin: 28px 0 12px; }
.boga-content h3 { font-size: 19px; font-weight: 700; color: #ed4c92; margin: 20px 0 8px; }
.boga-content ul { padding-left: 1.2rem; }
.boga-content li { margin-bottom: 6px; }

/* ---------- Header fit on small laptops / tablets in landscape ---------- */
@media (min-width: 992px) and (max-width: 1279.98px) {
    .ul-header-nav { gap: 18px; }
    .ul-header-nav a { font-size: 13px; }
    .ul-header-bottom-right .ul-btn { padding-left: 14px; padding-right: 14px; font-size: 12px; }
}
@media (min-width: 992px) and (max-width: 1099.98px) {
    .ul-header-nav { gap: 13px; }
    .ul-header-nav a { font-size: 12px; }
    .ul-header-bottom-right .ul-btn { padding-left: 10px; padding-right: 10px; font-size: 11px; }
}

/* ---------- Blog articles ---------- */
.boga-article { max-width: 820px; }
.boga-article-meta { color: #888; font-size: 14px; }
.boga-article-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin: 6px 0 22px; }
.boga-article p, .boga-article li { font-size: 16px; line-height: 1.75; }
.boga-content ul { list-style: disc; }
.boga-content ol:not(.boga-steps) { list-style: decimal; padding-left: 1.2rem; }
.ul-2-about-list a { color: inherit; text-decoration: none; }
.ul-2-about-list a:hover { text-decoration: underline; }
