:root {
    --brand: #14457b;
    --brand-600: #1991dd;
    --ink: #0f172a;
    --muted: #64748b;
    --bg: #f6f8fb;
    --topbar-h: 40px;
    --navbar-h: 76px;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
    --brand-deep: #1e90e6;
    --navy: #14457b;
    --ink-white: #e9f2fb;
    --bs-primary: #2ea6f7; /* your custom primary */
    --bs-primary-rgb: 46, 166, 247; /* RGB version for transparency effects */
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--ink);
    font-family: Rubik, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
        "Helvetica Neue", Arial;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Poppins, sans-serif;
    font-weight: 700;
    color: #0b1324;
}

a {
    color: var(--brand);
}

a:hover {
    color: var(--brand-600);
}

.container-narrow {
    max-width: 1040px;
}

.shadow-soft {
    box-shadow: var(--shadow);
}

.rounded-2xl {
    border-radius: var(--radius);
}

.lift:hover {
    transform: translateY(-4px);
    transition: transform 0.25s ease;
}

.text-muted {
    color: var(--muted) !important;
}

.focus-ring:focus-visible {
    outline: 3px solid rgba(46, 166, 247, 0.35);
    outline-offset: 2px;
}

/* Topbar */
.topbar {
    height: var(--topbar-h);
    font-size: 0.875rem;
    background: linear-gradient(90deg, #0e7cc9, var(--brand));
    color: #fff;
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1031;
    transition: transform 0.3s ease;
}

.topbar.hide {
    transform: translateY(calc(-1 * var(--topbar-h)));
}

.topbar a {
    color: #fff;
    text-decoration: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    z-index: 1030;
    background: #fff;
    transition: top 0.3s ease, padding 0.3s ease, background 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.navbar .nav-link {
    font-weight: 500;
}

.navbar-brand {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
    padding: 0.4rem 0;
}

.navbar.scrolled .navbar-brand {
    font-size: 1.8rem;
}

/* Custom burger for inline button */
.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    width: 24px;
    height: 2px;
    background: #0b1324;
    position: relative;
    display: block;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #0b1324;
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

/* Body offset for fixed bars */
body {
    padding-top: calc(var(--topbar-h) + var(--navbar-h));
}

body.topbar-hidden {
    padding-top: var(--navbar-h);
}

body.topbar-hidden .navbar {
    top: 0;
}

/* Buttons */
.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    border-radius: 999px;
    padding: 0.65rem 1.4rem;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
}

.btn-outline-light {
    border-radius: 999px;
    padding: 0.65rem 1.4rem;
    font-weight: 600;
}

header.hero {
    position: relative;
}

.hero .slide {
    min-height: 85vh;
    display: flex !important;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    /* slightly stronger for better contrast on bright images */
    background: linear-gradient(
        90deg,
        rgba(11, 19, 36, 0.82),
        rgba(11, 19, 36, 0.42) 60%,
        rgba(11, 19, 36, 0.15)
    );
}

.hero .content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    color: #fff;
}

.hero .section-eyebrow {
    color: #9dd8ff;
}

/* brand-tinted eyebrow */
.hero h1 {
    color: #ffffff;
    /* locked to white */
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
    /* keep readable on busy photos */
}

.hero p {
    color: #eaf2ff;
    /* softer white for body */
    font-size: 1.125rem;
    margin: 1rem 0 1.25rem;
}

/* optional accent for a word inside the heading */
.hero h1 .accent {
    color: #7bc9ff;
}

.slick-dots {
    bottom: 20px;
}

.slick-dots li button:before {
    font-size: 10px;
    color: #fff;
    opacity: 0.65;
}

.slick-dots li.slick-active button:before {
    color: var(--brand);
    opacity: 1;
}

.slick-prev,
.slick-next {
    z-index: 3;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.slick-prev i,
.slick-next i {
    font-size: 22px;
    color: var(--brand);
}

.slick-prev:hover,
.slick-next:hover {
    background: var(--brand);
}

.slick-prev:hover i,
.slick-next:hover i {
    color: #fff;
}

.slick-prev {
    left: 18px;
}

.slick-next {
    right: 18px;
}

.slick-prev:before,
.slick-next:before {
    display: none;
}

/* Sections */
section.default-padding {
    padding: 64px 0;
}

.section-head {
    margin-bottom: 20px;
    text-align: center;
}

.section-eyebrow {
    color: var(--brand);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin: 0.25rem 0 0.5rem;
}

.section-underline {
    width: 72px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), #7bc9ff);
    border-radius: 999px;
    margin: 10px auto 0;
}

/* Cards */
.card-clean {
    border: none;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-icon {
    font-size: 2.3rem;
    color: var(--brand);
}

/* Doctors */
.doctor {
    overflow: hidden;
    text-align: center;
}

.doctor img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.doctor .info {
    padding: 1rem;
}

.badge-soft {
    background: rgba(46, 166, 247, 0.1);
    color: #1369a8;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
}

/* Testimonials */
.testimonial {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

/* News */
.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card .card-body {
    padding: 1rem;
}

/* Footer */
footer {
    color: #cbd5e1;
    margin-top: 20px;
}

footer a {
    text-decoration: none;
    color: #fff;
}

footer a:hover {
    text-decoration: underline;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-bottom {
    background: #000;
    color: #9ca3af;
    padding: 0.75rem 0;
    font-size: 0.85rem;
}

.site-footer {
    color: var(--ink-white);
    position: relative;
    overflow: hidden;
}

.site-footer-wrapper {
    position: relative;
}

.site-footer-wrapper:before {
    content: "";
    position: absolute;
    inset: 0;
    background: #152858;
    z-index: 0;
    opacity: 0.6;
}

.site-footer .site-footer-wrapper {
    padding: 120px 0 70px;
    background: url("../img/footer_bg.jpg") center/cover no-repeat var(--navy);
}

/* Logo badge */
.site-footer .logo-mark {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(2px);
}

.site-footer .logo-mark i {
    font-size: 28px;
    color: #fff;
}

.site-footer .brand-name h3 {
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #fff;
    font-size: 2rem;
}

/* Separator */
.site-footer .panel-sep {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    margin: 18px 0 8px;
}

/* Contact list */
.site-footer .contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 14px 0;
}

.site-footer .contact-list .ico {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    flex: 0 0 28px;
}

.site-footer .contact-list .ico i {
    color: #fff;
    font-size: 14px;
}

.site-footer .contact-list .txt {
    line-height: 1.55;
}

/* Socials */
.site-footer .social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    margin-right: 10px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-footer .social a:hover {
    transform: translateY(-2px);
    background: #fff;
    color: var(--brand-deep);
}

/* Column titles + links */
.site-footer .footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 8px;
}

.site-footer .footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: var(--brand);
}

.site-footer .footer-links li {
    margin: 8px 0;
}

.site-footer .footer-links a {
    color: #cfd8e3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-links a::before {
    content: "›";
    font-weight: 700;
    color: #5aaef8;
    transform: translateY(-1px);
}

.site-footer .footer-links a:hover {
    color: #fff;
    transform: translateX(2px);
}

/* Recent posts */
.site-footer .footer-posts {
    margin: 0;
    padding: 0;
}

.site-footer .footer-posts .post-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.site-footer .footer-posts .post-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.site-footer .footer-posts img {
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 48px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.site-footer .footer-posts .date {
    color: #a9b7c7;
    display: block;
}

.site-footer .footer-posts .post-title {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.site-footer .footer-posts .post-title:hover {
    text-decoration: underline;
}

.site-footer .view-all {
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
    color: #9ed0ff;
    text-decoration: none;
}

.site-footer .view-all:hover {
    color: #fff;
    text-decoration: underline;
}

/* Bottom bar */
.site-footer .footer-bottom {
    background: #0a0a0a;
    color: #e7e7e7;
    font-size: 0.95rem;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer .footer-bottom .sitename {
    color: #fff;
}

.site-footer .footer-bottom .mini-nav {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.site-footer .footer-bottom .mini-nav a {
    color: #bfc9d8;
    text-decoration: none;
}

.site-footer .footer-bottom .mini-nav a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
    .site-footer .brand-name h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        padding-top: 90px;
    }

    .site-footer .footer-bottom .mini-nav {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
}

/* === Mega menu (desktop) === */
@media (min-width: 992px) {
    .nav-item.mega {
        position: static;
    }

    .nav-item.mega .dropdown-menu {
        left: 0;
        right: 0;
        margin: 0 auto;
        border: none;
        box-shadow: var(--shadow);
        padding: 18px 0;
        border-radius: var(--radius);
        max-width: 1100px;
    }

    .mega-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        padding: 6px 18px;
    }

    .mega-col h6 {
        font-weight: 700;
        margin: 6px 0 10px;
    }

    .mega-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mega-col li {
        margin: 6px 0;
    }

    .mega-col a {
        text-decoration: none;
        color: var(--ink);
    }

    .mega-col a:hover {
        color: var(--brand);
    }

    /* show on hover */
    .nav-item.mega:hover > .dropdown-menu {
        display: block;
    }
}

/* === GALLERY === */
#gallery {
    padding: 64px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #e9eef5;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 50%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: saturate(1.1);
}

.gallery-item:hover:after {
    opacity: 1;
}

.gallery-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    background: #fff;
    color: #0b1324;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.85rem;
    box-shadow: var(--shadow);
}

@media (max-width: 1199.98px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479.98px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* MOBILE FAB stack */
.fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1040;
}

.fab-stack {
    display: none;
    flex-direction: column;
    gap: 10px;
}

.fab .btn {
    box-shadow: var(--shadow);
    border-radius: 999px;
}

@media (max-width: 991.98px) {
    .fab-stack {
        display: flex;
    }

    .navbar .btn {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero .content {
        max-width: 100%;
    }

    .hero .slide {
        min-height: 68vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lift:hover {
        transform: none;
    }

    .topbar,
    .navbar,
    * {
        scroll-behavior: auto;
    }
}

/* ---------- Global layout / spacing ---------- */
.section {
    padding: 80px 0;
}
.section-sm {
    padding: 50px 0;
}
.section-lg {
    padding: 120px 0;
}
.page-hero + .section {
    padding-top: 60px;
}
.container {
    max-width: 1200px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.75rem;
}
p {
    margin-bottom: 1rem;
    line-height: 1.7;
}
.lead {
    font-size: 1.1rem;
    color: #444;
}

.card {
    border: none;
    border-radius: 12px;
}
.card-body {
    padding: 1.5rem;
}

.btn-primary {
    background-color: #2ea6f7;
    border-color: #2ea6f7;
}
.btn-primary:hover {
    background-color: #1d8ed4;
    border-color: #1d8ed4;
}

/* price chip */
.price-chip {
    display: inline-flex;
    align-items: center;
    background: #e8f6ff;
    color: #0c5f8d;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ---------- Page Hero (pro) ---------- */
.page-hero.pro {
    position: relative;
    color: #fff;
    isolation: isolate;
    overflow: clip;
}
.page-hero.pro .page-hero__media {
    position: absolute;
    inset: 0;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center;
    transform: scale(1.025);
    transition: transform 0.6s ease;
    will-change: transform;
}
.page-hero.pro .page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(
        0,
        0,
        0,
        var(--overlay, 0.55)
    ); /* pure black, adjustable opacity */
}
.page-hero.pro .container {
    position: relative;
    z-index: 2;
}
.page-hero__eyebrow {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.9;
    font-size: clamp(11px, 1.2vw, 12px);
    margin-bottom: 10px;
}
.page-hero__title {
    font-weight: 800;
    line-height: 1.08;
    font-size: clamp(32px, 6vw, 64px);
    margin: 0 0 14px;
    color: #fff;
}
.page-hero__crumbs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    font-size: clamp(11px, 1.5vw, 13px);
    color: #fff;
}
.page-hero__crumbs.justify-content-left {
    justify-content: flex-start;
}
.page-hero__crumbs.justify-content-center {
    justify-content: center;
}
.page-hero__crumbs.justify-content-right {
    justify-content: flex-end;
}

.page-hero__extra {
    max-width: 960px;
    /* margin-inline: auto; */
}
.page-hero__crumbs li + li::before {
    content: "»";
    margin-right: 14px;
    opacity: 0.9;
}
.page-hero__crumbs a {
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}
.page-hero__crumbs a:hover {
    border-bottom-color: rgba(255, 255, 255, 0.85);
    opacity: 0.95;
}
.page-hero__crumbs .active {
    opacity: 0.92;
}
@media (hover: hover) {
    .page-hero.pro:hover .page-hero__media {
        transform: scale(1.04);
    }
}

/* ---------- Department Nav (right sidebar) ---------- */
.dept-nav {
    background: #eef4fa;
    border-radius: 22px;
    padding: 18px;
}
.dept-nav__title {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 4px 6px 14px;
    color: #0f2a3a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
}
.dept-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.dept-nav__item {
    position: relative;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04), 0 1px 2px rgba(16, 24, 40, 0.06);
    overflow: hidden;
}
/* tiny dark tick on the left for all items */
.dept-nav__item::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 14px;
    border-radius: 2px;
    background: #0b1e2d;
    opacity: 0.9;
}
.dept-nav__link {
    display: block;
    padding: 16px 18px 16px 28px;
    text-decoration: none;
}
.dept-nav__text {
    font-weight: 600;
    color: #0e2a3a;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.dept-nav__item:hover .dept-nav__text {
    color: #116aa0;
}

/* Active: cyan vertical rounded bar + cyan text */
.dept-nav__item.is-active::before {
    left: 6px;
    width: 8px;
    height: 40px;
    border-radius: 6px;
    background: linear-gradient(180deg, #38c4f0 0%, #14a2e2 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.dept-nav__item.is-active .dept-nav__text {
    color: #25b6ee;
    font-weight: 700;
}

/* Optional scroll if many items */
@media (min-height: 700px) {
    .dept-nav {
        max-height: 70vh;
    }
    .dept-nav__inner {
        height: 100%;
        overflow: auto;
        padding-right: 6px;
    }
    .dept-nav__inner::-webkit-scrollbar {
        width: 6px;
    }
    .dept-nav__inner::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.12);
        border-radius: 6px;
    }
}

/* ---------- Service detail tweaks ---------- */
.service-detail h2 {
    font-weight: 600;
    border-left: 4px solid #2ea6f7;
    padding-left: 0.75rem;
    margin-bottom: 1.5rem;
}

/* ---------- Related Services (sidebar) ---------- */
.related-nav {
    background: #f9fafd;
    border-radius: 20px;
    padding: 18px;
}
.related-nav__title {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 4px 6px 14px;
    color: #0f2a3a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
}
.related-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.related-nav__item {
    position: relative;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04), 0 1px 2px rgba(16, 24, 40, 0.06);
    overflow: hidden;
}
.related-nav__item::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 14px;
    border-radius: 2px;
    background: #0b1e2d;
    opacity: 0.9;
}
.related-nav__link {
    display: block;
    padding: 14px 18px 14px 28px;
    text-decoration: none;
}
.related-nav__text {
    font-weight: 600;
    color: #0e2a3a;
    letter-spacing: 0.01em;
}
.related-nav__item:hover .related-nav__text {
    color: #116aa0;
}

/* ---- Section + heading tag ---- */
.other-services-wrap {
    background: #eef4fa;
    border-radius: 28px;
}
.other-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 700;
    color: #148fd6;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border: 2px solid rgba(20, 143, 214, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
}
.other-tag:hover {
    color: #117bb7;
    border-color: rgba(20, 143, 214, 0.45);
}

/* ---- Icon nav buttons ---- */
.btn-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(15, 42, 58, 0.2);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}
.btn-icon i {
    font-size: 1.1rem;
}
.btn-icon:hover {
    border-color: rgba(15, 42, 58, 0.4);
}

/* ---- Card ---- */
.other-card {
    display: block;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.06), 0 1px 0 rgba(16, 24, 40, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.other-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12),
        0 2px 0 rgba(16, 24, 40, 0.06);
}
.other-card__media {
    position: relative;
    aspect-ratio: 16/10;
    background: #f2f6f9;
}
.other-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.other-card__badge {
    position: absolute;
    left: 18px;
    bottom: -26px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(180deg, #38c4f0 0%, #14a2e2 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 6px 14px rgba(20, 162, 226, 0.35);
    border: 3px solid #fff;
}
.other-card__body {
    padding: 34px 18px 20px;
} /* top padding accounts for badge overlap */
.other-card__title {
    color: #0e2a3a;
    font-weight: 800;
    margin: 0 0 0.35rem;
}
.other-card__text {
    color: #667085;
}

/* ---- Swiper spacing ---- */
.other-services-swiper {
    padding-bottom: 6px;
} /* small space for shadows */
.swiper-slide {
    height: auto;
} /* allow card height growth */

/* Post */

.recent-posts {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.recent-posts__title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 14px;
    color: #0f2a3a;
}
.recent-posts__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.recent-posts__item {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
}
.recent-posts__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.recent-posts__link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.recent-posts__thumb {
    flex: 0 0 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
}
.recent-posts__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.recent-posts__meta {
    flex: 1;
    min-width: 0;
}
.recent-posts__date {
    font-size: 0.8rem;
    color: #f43f5e;
    margin-bottom: 2px;
}
.recent-posts__title-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}
.recent-posts__title-text:hover {
    color: #0b5fa0;
}

/* Sticky right sidebar (stops under header) */
.sticky-col {
    position: sticky;
    top: 88px; /* adjust if your header is taller/shorter */
}

/* Disable sticky on small screens so it doesn't block scrolling */
@media (max-width: 991.98px) {
    .sticky-col {
        position: static;
    }
}

.post-body .lead {
    font-size: 1.075rem;
}

.post-body .content :is(h2, h3, h4) {
    margin-top: 1.6rem;
    color: #0f2a3a;
}

.post-body .content p {
    color: #334155;
}

.post-body .content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.post-body .content blockquote {
    border-left: 4px solid #e2e8f0;
    padding: 0.5rem 1rem;
    color: #64748b;
    background: #f8fafc;
    border-radius: 8px;
}
/* Post cover image & in-body images: 100% wide, responsive */
.post-body .img-fluid,
.post-body img,
.post-body .content img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px; /* optional */
}

/* If you use <figure> from the editor, keep it tidy */
.post-body figure {
    margin: 1rem 0;
}
.post-body figure img {
    width: 100%;
    height: auto;
    display: block;
}
/* End Post */
