:root {
    color-scheme: light;
    --page-bg: #F6F8FA;
    --card-bg: #FFFFFF;
    --muted-1: #475569;
    --muted-2: #6B7280;
    --border-color: #E6EEF6;
}

/* Restore desktop layout for awards section to ensure proper alignment */
@media (min-width: 1024px) {
    #awards .text-center {
        text-align: left !important;
    }

    #awards .mx-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .awards-slider {
        display: flex !important;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-inline: 0.25rem;
    }

    .awards-slider .award-card {
        flex: 0 0 calc(33.333% - 0.75rem);
        max-width: calc(33.333% - 0.75rem);
    }
}

/* Strongly enforce grid alignment for awards on large screens to avoid visual offsets */
@media (min-width: 1200px) {
    #awards > .max-w-7xl {
        display: grid !important;
        grid-template-columns: 30% minmax(0, 1fr) !important;
        gap: 1.5rem !important;
        align-items: start !important;
        align-content: start !important;
    }

    #awards > .max-w-7xl > :first-child {
        padding-top: 0 !important;
    }

    /* make sure slider column has no extra top offset */
    #awards .awards-slider {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
}

@media (max-width: 1024px) {
    body {
        padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
    }
    main {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    }
}

img, video, iframe {
    max-width: 100%;
    display: block;
}

.bg-slate-50 { background-color: var(--page-bg) !important; }
.bg-white { background-color: var(--card-bg) !important; }
.border-slate-100 { border-color: var(--border-color) !important; }
.text-slate-600 { color: var(--muted-1) !important; }
.text-slate-500 { color: var(--muted-2) !important; }

body, section, .bg-white, .bg-slate-50, .text-slate-600, .text-slate-500 {
    transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

a, button, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #FBBF24;
    outline-offset: 3px;
}

button,
[role="button"] {
    min-height: 44px;
    min-width: 44px;
}

.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    color: #ffffff;
    background: #163E8D;
    border-radius: 0.5rem;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.breadcrumb-bar {
    position: relative;
    z-index: 2;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.94);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    line-height: 1.5;
}

.breadcrumb-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    color: #163E8D;
    font-weight: 700;
    text-decoration: none;
}

.breadcrumb-list a:hover {
    color: #176f3a;
}

.breadcrumb-separator {
    color: #94A3B8;
    font-size: 0.7rem;
}

.breadcrumb-current {
    color: var(--muted-1);
    font-weight: 600;
}

@media (max-width: 639px) {
    .breadcrumb-bar {
        padding-block: 0.5rem;
    }

    .breadcrumb-list {
        gap: 0.35rem;
        font-size: 0.8125rem;
    }

    .breadcrumb-list a {
        min-height: 40px;
    }
}

section { scroll-margin-top: 6rem; }

/* Reduce vertical gap between sections globally */
section.py-16, section.py-20, section[class*="py-16"], section[class*="py-20"] {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

section.py-20, section[class*="py-20"] {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.animate-fade-in,
.animate-slide-up,
.animate-slide-in-right,
.animate-zoom-in {
    animation-fill-mode: forwards !important;
}

.snap-inline::-webkit-scrollbar { display: none; }
.snap-inline {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    touch-action: pan-y !important;
    overscroll-behavior-x: contain !important;
    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

.awards-slider {
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    scroll-padding-inline: 0.25rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-y !important;
    overscroll-behavior-x: contain !important;
    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

.awards-slider::-webkit-scrollbar { display: none; }

.award-card {
    flex: 0 0 calc(100% - 0.5rem);
    max-width: 100%;
    scroll-snap-align: start;
}

.award-card img {
    aspect-ratio: 4 / 3;
    height: auto;
}

@media (min-width: 640px) {
    .award-card {
        flex-basis: calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .award-card {
        flex-basis: calc(33.333% - 0.75rem);
    }
}

@media (max-width: 640px) {
    .award-section .award-card {
        flex-basis: calc(100% - 0.25rem);
    }
    button#scrollToTop {
        bottom: 10%;
        right: 5%;
        height: 44px;
        width: 44px;
        font-size: 14px;
    }
    /* On small screens, switch the awards slider from horizontal scroll
       to a vertical stacked grid to avoid introducing horizontal page scroll */
    .awards-slider {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        overflow-x: visible;
        scroll-snap-type: none;
        padding-inline: 0;
    }

    .awards-slider .award-card {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    /* Ensure the inner container doesn't force a wider layout */
    #awards > .max-w-7xl {
        display: block;
    }

    /* Left-align title and remove centered max-width so it lines up with cards */
    #awards .text-center {
        text-align: left;
    }

    #awards .mx-auto {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 30px;
    }
    .bg-animated::after { 
        right: 0 !important; 
    }
    #no-sil {
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
    }
    #no-sil > div{
        width: 33.33%;
    }
    /* div#diseases > div {
        width: 49%;
        float: left;
        margin-bottom: 2%;
    }

    div#diseases {
        display: flex;
        gap: 2%;
        max-width: 100%;
        flex-wrap: wrap;
    } */

    /* Compact specialities cards for mobile */
    #specialities .max-w-7xl {
        padding-inline: 0.5rem;
    }

    #specialities .max-w-7xl > .grid {
        gap: 0.75rem;
    }

    #specialities .max-w-7xl > .grid > div {
        padding: 1rem;
    }

    #specialities .max-w-7xl > .grid > div .space-y-3 {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem 0.75rem;
        align-items: center;
    }

    #specialities .max-w-7xl > .grid > div .space-y-3 > div:first-child {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    #specialities .max-w-7xl > .grid > div .space-y-3 > h3 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        margin: 0;
        font-size: 1rem;
        line-height: 1.2;
    }

    #specialities .max-w-7xl > .grid > div .space-y-3 > p {
        grid-column: 1 / -1;
        margin: 0;
        font-size: 0.75rem;
        line-height: 1.4;
    }

    #specialities .max-w-7xl > .grid > div a {
        padding-top: 0.75rem;
        font-size: 0.75rem;
    }

    #specialities .max-w-7xl > .grid > div .w-12 {
        width: 2.5rem;
        height: 2.5rem;
    }

    #specialities .max-w-7xl > .grid > div .hover\:-translate-y-1:hover {
        transform: translateY(0) !important;
    }

    /* Tighter hero CTA spacing on mobile */
    .hero-with-eye .flex.flex-col.sm\:flex-row {
        gap: 0.75rem;
    }

    .hero-with-eye .flex.flex-col.sm\:flex-row a {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero-with-eye .grid.grid-cols-1.sm\:grid-cols-3 {
        gap: 0.65rem;
    }

    .hero-with-eye .grid.grid-cols-1.sm\:grid-cols-3 > div {
        padding: 0.85rem;
    }

    .hero-with-eye .grid.grid-cols-1.sm\:grid-cols-3 i {
        margin-bottom: 0;
    }

    .hero-with-eye .grid.grid-cols-1.sm\:grid-cols-3 span {
        font-size: 0.72rem;
    }

    /* Reduce hero media card height on mobile */
    .hero-with-eye .relative.bg-white.border.border-slate-100.p-6.rounded-3xl.shadow-xl.space-y-6 {
        padding: 1rem;
    }

    .hero-with-eye .relative.bg-white.border.border-slate-100.p-6.rounded-3xl.shadow-xl.space-y-6 .w-full.h-48 {
        height: 12rem;
    }

    .hero-with-eye .relative.bg-white.border.border-slate-100.p-6.rounded-3xl.shadow-xl.space-y-6 h3 {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: clamp(2rem, 7vw, 2.8rem) !important;
        line-height: 1.1;
    }

    .hero-copy {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .section-title {
        font-size: clamp(1.7rem, 6vw, 2.35rem) !important;
    }

    .bg-white.p-8.rounded-2xl.border.border-slate-100.shadow-sm.hover\:shadow-md.transition {
        padding: 1.25rem;
    }

    .bg-white.p-8.rounded-2xl.border.border-slate-100.shadow-sm.hover\:shadow-md.transition img,
    .bg-white.p-8.rounded-2xl.border.border-slate-100.shadow-sm.hover\:shadow-md.transition .text-base,
    .bg-white.p-8.rounded-2xl.border.border-slate-100.shadow-sm.hover\:shadow-md.transition .text-sm {
        margin-bottom: 0.5rem;
    }

    .bg-white.border.border-slate-100.p-6.rounded-2xl.shadow-sm.hover\:shadow-xl.hover\:-translate-y-1.transition.duration-300.flex.flex-col.justify-between.opacity-0.animate-zoom-in {
        padding: 0.95rem;
    }

    .bg-white.border.border-slate-100.p-6.rounded-2xl.shadow-sm.hover\:shadow-xl.hover\:-translate-y-1.transition.duration-300.flex.flex-col.justify-between.opacity-0.animate-zoom-in .w-12,
    .bg-white.border.border-slate-100.p-6.rounded-2xl.shadow-sm.hover\:shadow-xl.hover\:-translate-y-1.transition.duration-300.flex.flex-col.justify-between.opacity-0.animate-zoom-in p,
    .bg-white.border.border-slate-100.p-6.rounded-2xl.shadow-sm.hover\:shadow-xl.hover\:-translate-y-1.transition.duration-300.flex.flex-col.justify-between.opacity-0.animate-zoom-in h3 {
        margin-bottom: 0.4rem;
    }

    .gallery-item.group.overflow-hidden.rounded-3xl.border.border-slate-100.bg-slate-50.shadow-sm.hover\:shadow-lg.transition {
        border-radius: 1.25rem;
        padding: 0;
    }

    .gallery-item.group.overflow-hidden.rounded-3xl.border.border-slate-100.bg-slate-50.shadow-sm.hover\:shadow-lg.transition img {
        height: 14rem;
    }

    body {
        padding-bottom: 1.5rem;
    }
}
#banner-slider .opacity-0 {
    height: 0;
}
#banner-slider .opacity-100 {
    height: auto;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.section-animate {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s cubic-bezier(.16,.84,.44,1), transform 0.7s cubic-bezier(.16,.84,.44,1);
    will-change: opacity, transform;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.7s cubic-bezier(.16,.84,.44,1) forwards;
    animation-delay: var(--delay, 0s);
}

/* Services cards: improved visual treatment for homepage services */
#services .max-w-7xl .grid {
    gap: 1.25rem;
}

#services article {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 280ms cubic-bezier(.16,.84,.44,1), box-shadow 280ms cubic-bezier(.16,.84,.44,1);
}

#services article img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    transition: transform 500ms ease;
    display: block;
}

@media (min-width: 1024px) {
    #services article img { height: 12.5rem; }
}

#services article:hover img { transform: scale(1.06); }

/* Stretch the small caption into a soft gradient overlay at image bottom */
#services article .absolute.left-4.bottom-4 {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding: 1rem 1rem !important;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%) !important;
    border-bottom-left-radius: 0.75rem !important;
    border-bottom-right-radius: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

/* Move card body to left-aligned, tighter spacing */
#services article .p-5 {
    text-align: left;
    padding: 1rem !important;
}

#services article h3 {
    font-size: 1.05rem;
    color: #163E8D; /* sj-blue */
}

#services article p { color: #6B7280; font-size: 0.92rem; margin-top: 0.4rem; }

#services article a {
    margin-top: 0.6rem;
}

#services article .btn-pill {
    display: inline-block;
    padding: 0.5rem 0.85rem;
    border-radius: 9999px;
    background: #163E8D;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

#services article .btn-pill:hover { transform: translateY(-3px); }

/* Responsive video embeds for dedicated video pages */
.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 1.75rem;
    background: #000;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-hero-card {
    background: rgba(36, 177, 87, 0.08);
    border: 1px solid rgba(36, 177, 87, 0.18);
}

.video-hero-card h3 {
    color: #163E8D;
}

#journey .journey-timeline {
    position: relative;
    display: grid;
    gap: 2rem;
    padding-top: 0.75rem;
}

#journey .journey-line {
    position: absolute;
    left: 1.5rem;
    top: 0;
    width: 4px;
    height: 100%;
    background: rgba(36, 177, 87, 0.18);
    border-radius: 9999px;
    z-index: 0;
}

#journey .journey-step-item {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: flex-start;
}

#journey .journey-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: #0f172a;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    position: relative;
}

#journey .journey-step-item::before {
    content: "";
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    width: 4px;
    height: calc(100% - 3rem);
    background: rgba(36, 177, 87, 0.18);
    border-radius: 9999px;
    z-index: -1;
}

#journey .journey-step-item:last-child::before {
    display: none;
}

#journey .journey-copy {
    background: rgba(36, 177, 87, 0.06);
    border: 1px solid rgba(36, 177, 87, 0.16);
    border-radius: 1.5rem;
    padding: 1rem 1.25rem;
    max-width: 34rem;
}

#journey .journey-step {
    display: inline-flex;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    background: #163E8D;
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#journey .journey-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0.85rem;
}

#journey .journey-desc {
    margin-top: 0.75rem;
    color: #475569;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    #journey {
        padding-left: 0;
    }

    #journey .journey-timeline {
        padding-left: 0;
    }

    #journey .journey-step-item {
        grid-template-columns: auto 1fr;
    }

    #journey .journey-line,
    #journey .journey-step-item::before {
        left: 1.25rem;
    }

    #journey .journey-icon {
        margin-top: 0.25rem;
    }
}

.video-hero-card p {
    color: #475569;
}

.section-animate .reveal-child {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.75s cubic-bezier(.16,.84,.44,1), transform 0.75s cubic-bezier(.16,.84,.44,1);
    transition-delay: var(--child-delay, 0s);
    will-change: opacity, transform;
}

.section-visible .reveal-child {
    opacity: 1;
    transform: translateY(0);
}

.bg-animated { position: relative; overflow: visible; }

.bg-animated::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 220px;
    border-radius: 58% 42% 62% 38% / 43% 58% 42% 57%;
    filter: blur(60px);
    opacity: 0.16;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: blob 10s infinite ease-in-out;
    background: radial-gradient(circle at 28% 32%, rgba(36,177,87,0.55) 0%, transparent 37%);
    top: -70px;
    left: -66px;
    transform: rotate(-12deg);
    box-shadow: 0 0 88px rgba(36,177,87,0.18);
}

.hero-with-eye.bg-animated::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 120px;
    top: 18%;
    right: 7%;
    border-radius: 56% 44% 54% 46% / 42% 58% 42% 58%;
    background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.0) 28%),
                radial-gradient(circle at 50% 50%, rgba(18,44,105,0.9) 0%, rgba(18,44,105,0.9) 18%, transparent 27%),
                radial-gradient(circle at 50% 50%, rgba(255,255,255,0.4) 0%, transparent 10%);
    filter: blur(0.8px);
    opacity: 0.96;
    pointer-events: none;
    mix-blend-mode: screen;
    box-shadow: 0 0 38px rgba(22,62,141,0.18);
    animation: eyePulse 6s infinite ease-in-out;
}

@keyframes blob {
    0% { transform: translateY(0) scale(1); }
    33% { transform: translateY(-12px) scale(1.02); }
    66% { transform: translateY(10px) scale(0.96); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes eyePulse {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.96; }
    25% { transform: translateY(-2px) scale(1.01); opacity: 0.98; }
    50% { transform: translateY(-6px) scale(1.08); opacity: 1; }
    75% { transform: translateY(-3px) scale(1.03); opacity: 0.99; }
}

.hero-with-eye-home.bg-animated::after {
    width: 280px;
    height: 140px;
    top: 15%;
    right: 5%;
    border-radius: 55% 45% 52% 48% / 40% 60% 40% 60%;
    background: radial-gradient(circle at 50% 48%, rgba(10,22,56,0.95) 0%, rgba(10,22,56,0.95) 14%, transparent 18%),
                radial-gradient(circle at 50% 48%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.0) 10%),
                radial-gradient(circle at 50% 42%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.0) 24%),
                radial-gradient(circle at 50% 53%, rgba(12,32,88,0.95) 0%, rgba(12,32,88,0.95) 20%, transparent 26%),
                radial-gradient(circle at 50% 52%, rgba(255,255,255,0.45) 0%, transparent 12%);
    filter: blur(0.7px);
    opacity: 1;
    box-shadow: 0 0 52px rgba(22,62,141,0.24);
    animation: eyePulse 5.8s infinite ease-in-out;
}

.hero-with-eye-home.bg-animated::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 90px;
    top: 22%;
    right: 11%;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.75);
    box-shadow: 0 0 28px rgba(255,255,255,0.45), 0 0 60px rgba(36,177,87,0.18);
    opacity: 0.85;
    pointer-events: none;
    transform: translateZ(0);
    animation: eyeGlow 6.5s infinite ease-in-out;
}

@keyframes eyeGlow {
    0%, 100% { opacity: 0.85; transform: translateY(0) scale(1); }
    50% { opacity: 1; transform: translateY(-2px) scale(1.02); }
}

.hero-with-eye-home.bg-animated::after {
    box-shadow: 0 0 52px rgba(22,62,141,0.24), inset 0 0 14px rgba(255,255,255,0.3);
}

.hero-with-eye-home.bg-animated::before {
    box-shadow: 0 0 28px rgba(255,255,255,0.45), 0 0 60px rgba(36,177,87,0.18);
}

.hero-with-eye-home.bg-animated::after {
    position: absolute;
}

.hero-with-eye-home.bg-animated::before {
    position: absolute;
}

.hero-with-eye-home.bg-animated::after {
    animation: eyePulse 5.8s infinite ease-in-out;
}

.hero-with-eye-home.bg-animated::before {
    animation: eyeGlow 6.5s infinite ease-in-out;
}

.hero-with-eye-home.bg-animated::after::before,
.hero-with-eye-home.bg-animated::before::after {
    content: none;
}

.hero-with-eye-home.bg-animated::after {
    overflow: visible;
}

.hero-with-eye-home.bg-animated::before {
    overflow: visible;
}

.hero-with-eye-home.bg-animated::after::before,
.hero-with-eye-home.bg-animated::before::after {
    display: none;
}

.hero-with-eye-home.bg-animated .eye-sheen {
    content: "";
    position: absolute;
    width: 8px;
    height: 80px;
    top: 20%;
    right: 13%;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0));
    border-radius: 999px;
    filter: blur(0.5px);
    transform: rotate(14deg) translateX(0);
    animation: sheenMove 2.8s infinite ease-in-out;
    pointer-events: none;
}

@keyframes sheenMove {
    0%, 100% { transform: rotate(14deg) translate3d(-4px, 0, 0); opacity: 0.8; }
    50% { transform: rotate(14deg) translate3d(20px, 0, 0); opacity: 1; }
}

.gallery-item {
    cursor: zoom-in;
}

#image-modal.hidden {
    display: none;
}

#image-modal:not(.hidden) {
    display: flex;
}

.treatment-card {
    position: relative;
    overflow: hidden;
    transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
    animation: riseIn 0.7s ease both;
}

.treatment-card::before {
    content: "";
    position: absolute;
    inset: auto -20% -30% auto;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(36,177,87,0.16), transparent 70%);
    transition: transform 280ms ease;
    pointer-events: none;
}

.treatment-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 18px 40px -18px rgba(22, 62, 141, 0.28);
    border-color: rgba(36,177,87,0.28);
}

.treatment-card:hover::before {
    transform: scale(1.2);
}

.treatment-content {
    position: relative;
    max-width: 56rem;
    margin-inline: auto;
    padding: 2rem clamp(1.25rem, 4vw, 3rem);
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
    background: #ffffff;
    border: 1px solid #e6eef6;
    border-top: 4px solid #24b157;
    border-radius: 8px;
    box-shadow: 0 18px 45px -32px rgba(22, 62, 141, 0.35);
}

.treatment-content > :first-child {
    margin-top: 0;
}

.treatment-content > :last-child {
    margin-bottom: 0;
}

.treatment-content h2,
.treatment-content h3,
.treatment-content h4 {
    margin: 1.75em 0 0.55em;
    color: #163e8d;
    font-weight: 800;
    line-height: 1.3;
}

.treatment-content h2 {
    padding-bottom: 0.55rem;
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    border-bottom: 1px solid #e6eef6;
}

.treatment-content h3 { font-size: 1.25rem; }
.treatment-content h4 { font-size: 1.1rem; }

.treatment-content p,
.treatment-content ul,
.treatment-content ol,
.treatment-content blockquote,
.treatment-content table,
.treatment-content figure {
    margin-block: 1rem;
}

.treatment-content ul,
.treatment-content ol {
    padding-left: 1.5rem;
}

.treatment-content ul { list-style: disc; }
.treatment-content ol { list-style: decimal; }
.treatment-content li { padding-left: 0.25rem; }
.treatment-content li + li { margin-top: 0.45rem; }
.treatment-content li::marker { color: #24b157; font-weight: 700; }

.treatment-content strong,
.treatment-content b {
    color: #1e293b;
    font-weight: 700;
}

.treatment-content a {
    color: #163e8d;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.treatment-content a:hover { color: #197a3d; }

.treatment-content blockquote {
    padding: 1rem 1.25rem;
    color: #334155;
    background: #f0fdf4;
    border-left: 4px solid #24b157;
    border-radius: 0 8px 8px 0;
}

.treatment-content img {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 8px;
}

.treatment-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.treatment-content th,
.treatment-content td {
    min-width: 9rem;
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.treatment-content th {
    color: #163e8d;
    font-weight: 700;
    background: #f1f5f9;
}

@media (max-width: 639px) {
    .treatment-content {
        padding: 1.5rem 1.25rem;
        font-size: 0.95rem;
        line-height: 1.75;
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(22, 62, 141, 0.08);
    box-shadow: 0 16px 40px -24px rgba(22, 62, 141, 0.28);
    transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
    animation: riseIn 0.8s ease both;
    animation-delay: var(--delay, 0s);
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: auto -16% -24% auto;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(36, 177, 87, 0.14), transparent 70%);
    transition: transform 320ms ease;
    pointer-events: none;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(36, 177, 87, 0.22);
    box-shadow: 0 22px 45px -24px rgba(22, 62, 141, 0.34);
}

.contact-card:hover::before {
    transform: scale(1.15) translate(-4px, -4px);
}

.blog-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(22, 62, 141, 0.08);
    box-shadow: 0 14px 38px -24px rgba(22, 62, 141, 0.3);
    transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
    animation: riseIn 0.8s ease both;
    animation-delay: var(--delay, 0s);
}

.blog-card::before {
    content: "";
    position: absolute;
    inset: auto -18% -24% auto;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(36, 177, 87, 0.16), transparent 70%);
    transition: transform 320ms ease;
    pointer-events: none;
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(36, 177, 87, 0.2);
    box-shadow: 0 22px 45px -24px rgba(22, 62, 141, 0.35);
}

.blog-card:hover::before {
    transform: scale(1.2) translate(-6px, -6px);
}

.blog-card img {
    transform: scale(1);
    transition: transform 380ms ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.card-hover,
.treatment-card,
.contact-card,
.blog-card,
.award-card,
.gallery-item,
[class*="shadow-sm"][class*="rounded-2xl"],
[class*="shadow-lg"][class*="rounded-3xl"],
[class*="shadow-sm"][class*="rounded-[1.5rem]"],
[class*="shadow-sm"][class*="rounded-[2rem]"] {
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background-color 260ms ease;
    will-change: transform, box-shadow;
}

.card-hover:hover,
.treatment-card:hover,
.contact-card:hover,
.blog-card:hover,
.award-card:hover,
.gallery-item:hover,
[class*="shadow-sm"][class*="rounded-2xl"]:hover,
[class*="shadow-lg"][class*="rounded-3xl"]:hover,
[class*="shadow-sm"][class*="rounded-[1.5rem]"]:hover,
[class*="shadow-sm"][class*="rounded-[2rem]"]:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 26px 60px -28px rgba(15, 23, 42, 0.14);
    border-color: rgba(56, 189, 248, 0.18);
}

.site-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #071426 0%, #102a54 45%, #0f172a 100%);
    color: #cbd5e1;
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.22;
    pointer-events: none;
    animation: footerGlow 7s ease-in-out infinite;
}

.site-footer::before {
    top: -110px;
    left: -70px;
    background: rgba(36, 177, 87, 0.35);
}

.site-footer::after {
    bottom: -100px;
    right: -80px;
    background: rgba(22, 62, 141, 0.35);
    animation-delay: 2s;
}

@keyframes footerGlow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-16px) scale(1.04); }
}

.footer-link,
.footer-pill,
.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #cbd5e1;
    transition: color 220ms ease, transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.footer-link:hover {
    color: #FBBF24;
    transform: translateX(3px);
    text-decoration: none;
}

.footer-pill {
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #f8fafc;
    font-size: 0.82rem;
    font-weight: 600;
}

.footer-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.14);
    box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.35);
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #f8fafc;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.footer-social:hover {
    transform: translateY(-3px);
    border-color: rgba(36, 177, 87, 0.35);
    background: rgba(36, 177, 87, 0.16);
    box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.35);
}

#mobile-action-bar a {
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

#mobile-action-bar a:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -18px rgba(15, 23, 42, 0.2);
}

header#main-header nav a,
header#main-header .mobile-menu a,
header#main-header .nav-link,
button,
a.button,
a.btn,
a[data-cta],
.hero-cta {
    transition: color 220ms ease, transform 220ms ease, background 220ms ease, box-shadow 220ms ease, text-shadow 220ms ease;
}

header#main-header nav a:hover,
header#main-header .mobile-menu a:hover,
header#main-header .nav-link:hover,
button:hover,
a.button:hover,
a.btn:hover,
a[data-cta]:hover,
.hero-cta:hover {
    color: #163E8D;
    transform: translateY(-1px);
    box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.18);
    text-shadow: 0 6px 18px rgba(22, 62, 141, 0.08);
}

/* New design polish for treatment-details page */
.hero-graphic {
    background-image: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(248,250,252,0.95));
    position: relative;
}
.hero-graphic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 400px at 10% 20%, rgba(36,177,87,0.06), transparent 20%), radial-gradient(900px 300px at 90% 80%, rgba(22,62,141,0.04), transparent 18%);
    pointer-events: none;
}
.hero-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    font-weight: 700;
    color: #ffffff;
    background: #163E8D;
    box-shadow: 0 12px 30px -12px rgba(22,62,141,0.28);
    text-decoration: none;
}
.btn-primary:hover { background: #122e6f; transform: translateY(-2px); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    font-weight: 700;
    color: #475569;
    background: #ffffff;
    border: 1px solid #E6EEF6;
    text-decoration: none;
}
.btn-ghost:hover { border-color: #24B157; color: #24B157; transform: translateY(-1px); }

input[type="text"], input[type="tel"], input[type="email"], input[type="date"], textarea, select {
    border-radius: 0.75rem;
    border: 1px solid #E6EEF6;
    padding: 0.75rem 0.9rem;
    background: #ffffff;
    transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}
input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus, input[type="date"]:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #163E8D;
    box-shadow: 0 10px 30px rgba(22,62,141,0.06);
    transform: translateY(-1px);
}

.faq-button { transition: background-color 180ms ease, color 180ms ease; }
.faq-button:hover { background-color: rgba(36,177,87,0.04); }
.faq-answer { transition: max-height 260ms ease, padding 200ms ease; }

/* Slightly increase container width for large screens to improve balance */
@media (min-width: 1280px) {
    .max-w-5xl { max-width: 80rem !important; }
}

/* Validation styles */
.input-error { border-color: #ef4444 !important; box-shadow: 0 8px 24px rgba(239,68,68,0.06); }
.error-text { color: #ef4444; font-size: 0.825rem; margin-top: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .section-animate {
        opacity: 1 !important;
        transform: none !important;
    }
}
