/* footer */


/* =========================================
   FOOTER VARIABLES
========================================= */

:root {
    --aj-footer-primary: #199c97;
    --aj-footer-primary-dark: #126f6c;
    --aj-footer-light-green: #80c491;
    --aj-footer-soft: #edf8f4;
    --aj-footer-dark: #102f35;
    --aj-footer-black: #081d21;
    --aj-footer-white: #ffffff;
    --aj-footer-muted: rgba(255, 255, 255, 0.60);
    --aj-footer-border: rgba(255, 255, 255, 0.16);
}


/* =========================================
   FOOTER
========================================= */

.aj-footer,
.aj-footer * {
    box-sizing: border-box;
}

.aj-footer {
    position: relative;
    overflow: hidden;
    color: var(--aj-footer-white);
    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(25, 156, 151, 0.16),
            transparent 28%
        ),
        var(--aj-footer-black);
    font-family: "Bai Jamjuree", sans-serif;
}

.aj-footer-container {
    padding: 95px 34px 30px;
}


/* =========================================
   TOP FOOTER
========================================= */

.aj-footer-top {
    padding-bottom: 70px;
}

.aj-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
    color: var(--aj-footer-white);
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.aj-footer-logo:hover {
    color: var(--aj-footer-light-green);
}

.aj-footer-logo-mark {
    width: 17px;
    height: 17px;
    display: inline-block;
    background: var(--aj-footer-primary);
    clip-path: polygon(
        50% 0%,
        100% 25%,
        100% 75%,
        50% 100%,
        0% 75%,
        0% 25%
    );
}

.aj-footer-contact-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.aj-footer-contact-list a,
.aj-footer-contact-list address {
    margin: 0;
    color: var(--aj-footer-white);
    font-size: clamp(18px, 1.65vw, 28px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.03em;
    text-decoration: none;
    font-style: normal;
}

.aj-footer-contact-list a {
    position: relative;
}

.aj-footer-contact-list a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -5px;
    left: 0;
    height: 1px;
    background: var(--aj-footer-primary);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.35s ease;
}

.aj-footer-contact-list a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}


/* =========================================
   FOOTER LINKS
========================================= */

.aj-footer-heading {
    margin: 0 0 24px;
    color: var(--aj-footer-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.aj-footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aj-footer-links li + li {
    margin-top: 14px;
}

.aj-footer-links a {
    color: rgba(255, 255, 255, 0.74);
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.aj-footer-links a:hover {
    display: inline-block;
    color: var(--aj-footer-white);
    transform: translateX(5px);
}


/* =========================================
   SOCIAL BUTTONS
========================================= */

.aj-footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aj-footer-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 16px;
    border: 1px solid var(--aj-footer-border);
    border-radius: 50px;
    color: var(--aj-footer-white);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;

    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

.aj-footer-social-links a:hover {
    color: var(--aj-footer-dark);
    border-color: var(--aj-footer-primary);
    background: var(--aj-footer-light-green);
    transform: translateY(-3px);
}

.aj-footer-social-links span {
    transition: transform 0.3s ease;
}

.aj-footer-social-links a:hover span {
    transform: translate(3px, -3px);
}


/* =========================================
   DIVIDER
========================================= */

.aj-footer-divider {
    width: 100%;
    height: 1px;
    background: var(--aj-footer-border);
}


/* =========================================
   MIDDLE FOOTER
========================================= */

.aj-footer-middle {
    padding: 45px 0 40px;
}

.aj-footer-copyright {
    margin: 0 0 25px;
    color: var(--aj-footer-muted);
    font-size: 14px;
}


/* =========================================
   ANIMATED LET'S CONNECT
========================================= */

.aj-footer-connect {
    --footer-letter-distance: -1em;
    --footer-transition-duration: 850ms;

    display: flex;
    align-items: center;
    overflow: hidden;
    width: fit-content;
    max-width: 100%;
    margin: 0;

    color: var(--aj-footer-white);
    font-size: clamp(68px, 10.8vw, 185px);
    font-weight: 400;
    line-height: 0.78;
    letter-spacing: -0.075em;
    text-decoration: none;
    white-space: nowrap;
}

.aj-footer-connect > span {
    display: inline-block;
    text-shadow:
        0 1em 0 var(--aj-footer-primary),
        0 2em 0 var(--aj-footer-light-green);

    transform: translateY(0);
    transition:
        transform var(--footer-transition-duration)
        cubic-bezier(0.22, 1, 0.36, 1);
}

.aj-footer-connect > span:nth-child(1) {
    transition-delay: 0ms;
}

.aj-footer-connect > span:nth-child(2) {
    transition-delay: 20ms;
}

.aj-footer-connect > span:nth-child(3) {
    transition-delay: 40ms;
}

.aj-footer-connect > span:nth-child(4) {
    transition-delay: 60ms;
}

.aj-footer-connect > span:nth-child(5) {
    transition-delay: 80ms;
}

.aj-footer-connect > span:nth-child(6) {
    transition-delay: 100ms;
}

.aj-footer-connect > span:nth-child(7) {
    transition-delay: 120ms;
}

.aj-footer-connect > span:nth-child(8) {
    transition-delay: 140ms;
}

.aj-footer-connect > span:nth-child(9) {
    transition-delay: 160ms;
}

.aj-footer-connect > span:nth-child(10) {
    transition-delay: 180ms;
}

.aj-footer-connect > span:nth-child(11) {
    transition-delay: 200ms;
}

.aj-footer-connect > span:nth-child(12) {
    transition-delay: 220ms;
}

.aj-footer-connect > span:nth-child(13) {
    transition-delay: 240ms;
}

.aj-footer-connect > span:nth-child(14) {
    transition-delay: 260ms;
}

.aj-footer-connect:hover > span,
.aj-footer-connect:focus-visible > span {
    transform: translateY(-1em);
}

.aj-footer-connect-space {
    width: 0.24em;
    text-shadow: none !important;
}


/* =========================================
   HOURS
========================================= */

.aj-footer-hours {
    text-align: right;
}

.aj-footer-hours span {
    display: block;
    margin-bottom: 10px;
    color: var(--aj-footer-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.aj-footer-hours strong {
    display: block;
    margin-bottom: 5px;
    color: var(--aj-footer-light-green);
    font-size: 14px;
    font-weight: 600;
}

.aj-footer-hours p {
    margin: 0;
    color: var(--aj-footer-white);
    font-size: clamp(25px, 2.4vw, 40px);
    line-height: 1;
    letter-spacing: -0.045em;
}


/* =========================================
   BOTTOM FOOTER
========================================= */

.aj-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 25px;
    border-top: 1px solid var(--aj-footer-border);
    text-align: center;
}

.aj-footer-bottom-copy {
    margin: 0;
    color: var(--aj-footer-muted);
    font-size: 13px;
    line-height: 1.7;
}

.aj-footer-bottom-copy a {
    color: var(--aj-footer-white);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.aj-footer-bottom-copy a:hover {
    color: var(--aj-footer-light-green);
}

@media (max-width: 767px) {
    .aj-footer-bottom {
        padding-top: 20px;
    }

    .aj-footer-bottom-copy {
        font-size: 12px;
        line-height: 1.8;
    }
}


@media (max-width:576px) {
    .aj-footer-connect {
        font-size: clamp(49px, 5.8vw, 150px);
    }
}






/* =========================================
   FLOATING WIDGETS
========================================= */

.aj-floating-widgets {
    position: fixed;
    right: 24px;

    /* Moves all three widgets upward */
    bottom: 110px;

    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.aj-floating-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border: 0;
    border-radius: 50px;

    font-family: "Bai Jamjuree", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;

    box-shadow: 0 12px 30px rgba(8, 29, 33, 0.16);

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.aj-floating-button:hover {
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(8, 29, 33, 0.24);
}

.aj-floating-button svg {
    flex: 0 0 auto;
}


/* Knee Surgery Widget */

.aj-knee-contact-widget {
    color: var(--aj-footer-white);
    background: var(--aj-footer-dark);
}

.aj-knee-contact-widget:hover {
    color: var(--aj-footer-white);
    background: var(--aj-footer-primary);
}


/* Second Opinion Widget */

.aj-second-opinion-widget {
    color: var(--aj-footer-white);
    background: var(--aj-footer-primary);
}

.aj-second-opinion-widget:hover {
    color: var(--aj-footer-white);
    background: var(--aj-footer-primary-dark);
}


/* WhatsApp Widget */

.aj-whatsapp-widget {
    color: var(--aj-footer-white);
    background: #20b85a;
}

.aj-whatsapp-widget:hover {
    color: var(--aj-footer-white);
    background: #158844;
}


/* =========================================
   SECOND OPINION POPUP
========================================= */

.aj-second-widget-popup {
    position: relative;
    width: min(320px, calc(100vw - 48px));
    padding: 22px 44px 22px 20px;
    border: 1px solid rgba(16, 47, 53, 0.12);

    color: var(--aj-footer-dark);
    background: var(--aj-footer-white);
    box-shadow: 0 18px 50px rgba(8, 29, 33, 0.18);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(15px) scale(0.96);
    transform-origin: bottom right;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.aj-second-widget-popup.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.aj-second-widget-popup::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: -9px;
    width: 18px;
    height: 18px;
    background: var(--aj-footer-white);
    transform: rotate(45deg);
}

.aj-second-widget-popup > span {
    display: block;
    margin-bottom: 6px;
    color: var(--aj-footer-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.aj-second-widget-popup strong {
    display: block;
    margin-bottom: 14px;
    color: var(--aj-footer-dark);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
}

.aj-second-widget-popup a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--aj-footer-primary-dark);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.aj-second-widget-popup a:hover {
    color: var(--aj-footer-primary);
}

.aj-widget-popup-close {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 28px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 0;
    border-radius: 50%;

    color: var(--aj-footer-dark);
    background: transparent;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {
    .aj-floating-widgets {
        right: 20px;
        bottom: 100px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {
    .aj-floating-widgets {
        right: 14px;

        /* Keeps all three buttons above the footer bottom */
        bottom: 90px;

        gap: 10px;
    }

    .aj-floating-button {
        width: 54px;
        min-width: 54px;
        min-height: 54px;
        padding: 0;
        border-radius: 50%;
    }

    .aj-floating-button > span {
        display: none;
    }

    .aj-second-widget-popup {
        width: min(290px, calc(100vw - 28px));
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {
    .aj-floating-widgets {
        right: 12px;
        bottom: 82px;
    }

    .aj-floating-button {
        width: 50px;
        min-width: 50px;
        min-height: 50px;
    }

    .aj-floating-button svg {
        width: 23px;
        height: 23px;
    }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    .aj-floating-button,
    .aj-second-widget-popup {
        transition: none;
    }
}
























/* ===================================
   AJ HOME HERO VARIABLES
=================================== */

:root {
    --aj-primary: #199c97;
    --aj-primary-dark: #126f6c;
    --aj-light-green: #80c491;
    --aj-light-green-soft: #edf8f4;
    --aj-dark: #102f35;
    --aj-black: #101010;
    --aj-white: #ffffff;
    --aj-text: #4f5e61;
    --aj-border: rgba(16, 47, 53, 0.10);
}


/* ===================================
   HERO MAIN
=================================== */

.ajHomeHero,
.ajHomeHero * {
    box-sizing: border-box;
}

.ajHomeHero {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: var(--aj-black);
    background: var(--aj-white);
    font-family: "Bai Jamjuree", sans-serif;
}

.ajHomeHeroContainer {
    position: relative;
    z-index: 2;
    padding: 0 16px;
}


/* ===================================
   HERO BACKGROUND GRID
=================================== */

.ajHomeHeroGrid {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    pointer-events: none;
}

.ajHomeHeroGrid span {
    border-right: 1px solid var(--aj-border);
}

.ajHomeHeroGrid span:first-child {
    border-left: 1px solid var(--aj-border);
}


/* ===================================
   HERO CONTENT
=================================== */

.ajHomeHeroContent {
    min-height: auto;
    padding-top: 105px;
}

.ajHomeHeroHeadingWrap {
    max-width: 1080px;
}


/* ===================================
   HERO LABEL
=================================== */

.ajHomeHeroLabel {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 32px;
    padding: 8px 18px;
    border: 1px solid rgba(25, 156, 151, 0.55);
    border-radius: 50px;
    color: var(--aj-primary-dark);
    background: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ajHomeHeroLabel > span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--aj-primary);
}


/* ===================================
   HERO TITLE
=================================== */

.ajHomeHeroTitle {
    width: fit-content;
    max-width: 1080px;
    margin: 0;
    color: var(--aj-black);
    font-family: "Bai Jamjuree", sans-serif;
    font-size: clamp(62px, 6.2vw, 118px);
    font-weight: 500;
    line-height: 0.94;
    /* letter-spacing: -0.065em; */
    cursor: default;
}

.ajHeroHoverLine {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.18em;
    width: fit-content;
    overflow: hidden;
}

.ajHeroHoverLine + .ajHeroHoverLine {
    margin-top: -0.015em;
}

.ajHeroHoverWord {
    display: inline-flex;
    align-items: baseline;
    color: var(--aj-black);
    white-space: nowrap;
}

.ajHeroHoverWordPrimary {
    color: var(--aj-primary);
    font-weight: 400;
    font-style: italic;
}

.ajHeroHoverWordPlus {
    margin-left: -0.08em;
    color: var(--aj-light-green);
    font-weight: 400;
}


/* ===================================
   HERO TITLE LETTER ANIMATION
=================================== */

.ajHeroHoverLetter {
    position: relative;
    display: inline-block;
    height: 0.98em;
    overflow: hidden;
    line-height: 0.98em;
    vertical-align: baseline;
}

.ajHeroHoverTrack {
    display: flex;
    flex-direction: column;
    height: 1.96em;
    line-height: 0.98em;
    transform: translateY(0);
    will-change: transform;

    transition:
        transform 950ms
        cubic-bezier(0.16, 1, 0.3, 1)
        calc(var(--letter-index) * 28ms);
}

.ajHeroHoverFace {
    display: block;
    height: 0.98em;
    line-height: 0.98em;
}


/* Second-row hover colors */

.ajHeroHoverWord .ajHeroHoverFace:last-child {
    color: var(--aj-primary);
}

.ajHeroHoverWordPrimary .ajHeroHoverFace:last-child {
    color: var(--aj-light-green);
}

.ajHeroHoverWordPlus .ajHeroHoverFace:last-child {
    color: var(--aj-primary-dark);
}


/* Hover and keyboard animation */

.ajHomeHeroTitle:hover .ajHeroHoverTrack,
.ajHomeHeroTitle:focus-visible .ajHeroHoverTrack {
    transform: translateY(-0.98em);
}

.ajHomeHeroTitle:focus-visible {
    outline: 2px solid var(--aj-primary);
    outline-offset: 8px;
}


/* ===================================
   HERO INFORMATION
=================================== */

.ajHomeHeroInfo {
    max-width: 380px;
    margin-left: auto;
    padding-bottom: 0;
}

.ajHomeHeroInfo p {
    margin: 0 0 28px;
    color: var(--aj-text);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
}


/* ===================================
   HERO BUTTON
=================================== */

.ajHomeHeroButton {
    min-width: 215px;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    padding: 15px 24px;
    border: 1px solid var(--aj-primary);
    color: var(--aj-white);
    background: var(--aj-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.ajHomeHeroButton svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ajHomeHeroButton:hover,
.ajHomeHeroButton:focus-visible {
    color: var(--aj-primary-dark);
    border-color: var(--aj-light-green);
    background: var(--aj-light-green-soft);
    transform: translateY(-3px);
}

.ajHomeHeroButton:hover svg,
.ajHomeHeroButton:focus-visible svg {
    transform: translate(3px, -3px);
}

.ajHomeHeroButton:focus-visible {
    outline: 2px solid var(--aj-primary);
    outline-offset: 4px;
}


/* ===================================
   HERO IMAGE AREA
=================================== */

.ajHomeHeroImageScroll {
    position: relative;
    height: 112vh;
    min-height: 720px;
    max-height: 980px;
}

.ajHomeHeroImageSticky {
    position: sticky;
    top: 16px;
    width: 100%;
}

.ajHomeHeroImageReveal {
    position: relative;
    width: 100%;
    height: clamp(480px, 57vw, 820px);
    overflow: hidden;
    background: var(--aj-light-green-soft);
    clip-path: inset(12% 0 12% 0);
    will-change: clip-path, transform;
}

.ajHomeHeroImage {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.08);
    transform-origin: center center;
    will-change: transform;
}

.ajHomeHeroOverlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(16, 47, 53, 0.08) 0%,
            rgba(16, 47, 53, 0.02) 48%,
            rgba(16, 47, 53, 0) 82%
        );
}


/* ===================================
   LARGE DESKTOP
=================================== */

@media (min-width: 1600px) {
    .ajHomeHeroContainer {
        padding: 0 24px;
    }

    .ajHomeHeroContent {
        padding-top: 145px;
        padding-bottom: 48px;
    }

    .ajHomeHeroInfo {
        max-width: 410px;
    }

    .ajHomeHeroImageScroll {
        height: 115vh;
        min-height: 800px;
        max-height: 1080px;
    }

    .ajHomeHeroImageReveal {
        height: clamp(620px, 55vw, 900px);
    }
}


/* ===================================
   LAPTOP
=================================== */

@media (max-width: 1199.98px) {
    .ajHomeHeroContent {
        padding-top: 120px;
        padding-bottom: 42px;
    }

    .ajHomeHeroTitle {
        font-size: clamp(58px, 6vw, 76px);
    }

    .ajHomeHeroInfo {
        max-width: 620px;
        margin-top: 34px;
        margin-left: 0;
    }

    .ajHomeHeroImageScroll {
        height: 105vh;
        min-height: 640px;
        max-height: 850px;
    }

    .ajHomeHeroImageReveal {
        height: clamp(450px, 58vw, 680px);
        clip-path: inset(10% 0);
    }
}


/* ===================================
   TABLET
=================================== */

@media (max-width: 991.98px) {
    .ajHomeHeroContent {
        padding-top: 105px;
        padding-bottom: 38px;
    }

    .ajHomeHeroInfo {
        margin-top: 30px;
    }

    .ajHomeHeroImageScroll {
        height: 95vh;
        min-height: 570px;
        max-height: 740px;
    }

    .ajHomeHeroImageReveal {
        height: clamp(420px, 66vw, 610px);
        clip-path: inset(9% 0);
    }
}


/* ===================================
   MOBILE
=================================== */

@media (max-width: 767.98px) {
    .ajHomeHeroContainer {
        padding: 0 12px;
    }

    .ajHomeHeroGrid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ajHomeHeroGrid span:nth-child(4),
    .ajHomeHeroGrid span:nth-child(5) {
        display: none;
    }

    .ajHomeHeroContent {
        padding-top: 90px;
        padding-bottom: 32px;
    }

    .ajHomeHeroLabel {
        gap: 8px;
        margin-bottom: 23px;
        padding: 7px 13px;
        font-size: 10px;
    }

    .ajHomeHeroTitle {
        font-size: clamp(45px, 13.8vw, 68px);
        line-height: 0.98;
        /* letter-spacing: -0.06em; */
    }

    .ajHeroHoverLine {
        flex-wrap: wrap;
        gap: 0.14em;
    }

    .ajHeroHoverLine + .ajHeroHoverLine {
        margin-top: 0;
    }

    .ajHeroHoverWordPlus {
        margin-left: -0.03em;
    }

    .ajHeroHoverLetter {
        height: 1em;
        line-height: 1em;
    }

    .ajHeroHoverTrack {
        height: 2em;
        line-height: 1em;
    }

    .ajHeroHoverFace {
        height: 1em;
        line-height: 1em;
    }

    .ajHomeHeroTitle:hover .ajHeroHoverTrack,
    .ajHomeHeroTitle:focus-visible .ajHeroHoverTrack {
        transform: translateY(-1em);
    }

    .ajHomeHeroInfo {
        max-width: 100%;
        margin-top: 26px;
    }

    .ajHomeHeroInfo p {
        margin-bottom: 22px;
        font-size: 15px;
    }

    .ajHomeHeroButton {
        min-width: 195px;
        min-height: 54px;
        padding: 14px 20px;
        font-size: 14px;
    }

    .ajHomeHeroImageScroll {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .ajHomeHeroImageSticky {
        position: relative;
        top: auto;
    }

    .ajHomeHeroImageReveal {
        height: clamp(320px, 82vw, 500px);
        clip-path: inset(0);
    }

    .ajHomeHeroImage {
        transform: scale(1.03);
    }
}


/* ===================================
   SMALL MOBILE
=================================== */

@media (max-width: 480px) {
    .ajHomeHeroContent {
        padding-top: 82px;
        padding-bottom: 28px;
    }

    .ajHomeHeroTitle {
        font-size: clamp(42px, 13.4vw, 58px);
    }

    .ajHomeHeroInfo p {
        font-size: 14px;
        line-height: 1.6;
    }

    .ajHomeHeroImageReveal {
        height: 330px;
    }
}


/* ===================================
   TOUCH DEVICES
=================================== */

@media (hover: none) {
    .ajHomeHeroTitle {
        cursor: default;
    }

    .ajHomeHeroTitle:hover .ajHeroHoverTrack {
        transform: translateY(0);
    }
}


/* ===================================
   REDUCED MOTION
=================================== */

@media (prefers-reduced-motion: reduce) {
    .ajHomeHeroImageScroll {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .ajHomeHeroImageSticky {
        position: relative;
        top: auto;
    }

    .ajHomeHeroImageReveal {
        clip-path: inset(0) !important;
        transform: none !important;
    }

    .ajHomeHeroImage {
        transform: none !important;
    }

    .ajHeroHoverTrack {
        transition: none;
    }

    .ajHomeHeroTitle:hover .ajHeroHoverTrack,
    .ajHomeHeroTitle:focus-visible .ajHeroHoverTrack {
        transform: none;
    }
}

















/* =========================================
   About Doctor Variables
========================================= */

:root {
    --doctor-primary: #199c97;
    --doctor-primary-dark: #126f6c;
    --doctor-light-green: #80c491;
    --doctor-light-green-soft: #edf8f4;

    --doctor-black: #101010;
    --doctor-dark: #102f35;
    --doctor-text: #4f5e61;
    --doctor-white: #ffffff;

    --doctor-border: rgba(16, 47, 53, 0.14);
}


/* =========================================
   About Doctor Section
========================================= */

.doctor-about-section,
.doctor-about-section * {
    box-sizing: border-box;
}

.doctor-about-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0 55px;
    color: var(--doctor-dark);
    background: var(--doctor-white);
    font-family: "Bai Jamjuree", sans-serif;
}

.doctor-about-container {
    padding-right: 16px;
    padding-left: 16px;
}

.doctor-about-layout {
    min-height: 680px;
}


/* =========================================
   Main Left Image
========================================= */

.doctor-about-main-image {
    width: 100%;
    height: 680px;
    margin: 0;
    overflow: hidden;
    background: var(--doctor-light-green-soft);
}

.doctor-about-main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.doctor-about-main-image:hover img {
    transform: scale(1.035);
}


/* =========================================
   Centre Content
========================================= */

.doctor-about-content {
    max-width: 650px;
    margin: 0 auto;
    padding: 0 72px 0 90px;
}

.doctor-about-label-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 42px;
}

.doctor-about-label-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--doctor-primary);
}

.doctor-about-label {
    margin: 0;
    color: var(--doctor-primary-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================
   Doctor Heading Inside Content
========================================= */

.doctor-about-doctor-heading {
    margin-bottom: 32px;
}

.doctor-about-doctor-heading > p {
    margin: 0 0 10px;
    color: var(--doctor-primary-dark);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.doctor-about-doctor-heading h2 {
    max-width: 560px;
    margin: 0;
    color: var(--doctor-dark);
    font-size: clamp(38px, 3.8vw, 62px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.06em;
}


/* =========================================
   Paragraphs
========================================= */

.doctor-about-content p {
    margin: 0 0 23px;
    color: var(--doctor-text);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}

.doctor-about-content .doctor-about-intro {
    margin-bottom: 27px;
    color: var(--doctor-dark);
    font-size: clamp(20px, 1.55vw, 27px);
    font-weight: 400;
    line-height: 1.42;
    letter-spacing: -0.025em;
}


/* =========================================
   Know More Link
========================================= */

.doctor-about-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding-bottom: 9px;
    color: var(--doctor-dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.35s ease;
}

.doctor-about-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(1);
    transform-origin: left center;
    transition: transform 0.35s ease;
}

.doctor-about-arrow {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    transition: transform 0.35s ease;
}

.doctor-about-link:hover,
.doctor-about-link:focus-visible {
    color: var(--doctor-primary);
}

.doctor-about-link:hover::after,
.doctor-about-link:focus-visible::after {
    transform: scaleX(0.55);
}

.doctor-about-link:hover .doctor-about-arrow,
.doctor-about-link:focus-visible .doctor-about-arrow {
    transform: translate(4px, -4px);
}

.doctor-about-link:focus-visible {
    outline: 2px solid var(--doctor-light-green);
    outline-offset: 7px;
}


/* =========================================
   Small Right Image
========================================= */

.doctor-about-side-image {
    width: 100%;
    height: 380px;
    margin: 0 0 10px;
    overflow: hidden;
    background: var(--doctor-light-green-soft);
}

.doctor-about-side-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.92);
    transition:
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s ease;
}

.doctor-about-side-image:hover img {
    transform: scale(1.045);
    filter: saturate(1);
}


/* =========================================
   Highlights
========================================= */

.doctor-about-highlights {
    margin-top: 52px;
}

.doctor-highlight-item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 72px;
    padding: 18px 0;
    border-top: 1px solid var(--doctor-border);
}

.doctor-highlight-item span {
    flex: 0 0 auto;
    color: var(--doctor-primary);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.doctor-highlight-item p {
    margin: 0;
    color: var(--doctor-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-transform: uppercase;
}


/* =========================================
   Large Desktop
========================================= */

@media (min-width: 1600px) {
    .doctor-about-section {
        padding-top: 120px;
    }

    .doctor-about-container {
        padding-right: 24px;
        padding-left: 24px;
    }

    .doctor-about-layout {
        min-height: 760px;
    }

    .doctor-about-main-image {
        height: 760px;
    }

    .doctor-about-content {
        max-width: 720px;
        padding-right: 90px;
        padding-left: 110px;
    }

    .doctor-about-side-image {
        height: 430px;
    }

    .doctor-about-content p {
        font-size: 18px;
    }

    .doctor-about-doctor-heading h2 {
        font-size: clamp(44px, 3.6vw, 68px);
    }
}


/* =========================================
   Laptop
========================================= */

@media (max-width: 1199.98px) {
    .doctor-about-section {
        padding: 85px 0 50px;
    }

    .doctor-about-layout {
        min-height: 610px;
    }

    .doctor-about-main-image {
        height: 610px;
    }

    .doctor-about-content {
        padding-right: 45px;
        padding-left: 55px;
    }

    .doctor-about-label-wrap {
        margin-bottom: 35px;
    }

    .doctor-about-content p {
        font-size: 16px;
    }

    .doctor-about-side-image {
        height: 320px;
    }

    .doctor-about-doctor-heading h2 {
        font-size: clamp(36px, 4vw, 52px);
    }

    .doctor-about-highlights {
        margin-top: 45px;
    }
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 991.98px) {
    .doctor-about-section {
        padding: 70px 0 45px;
    }

    .doctor-about-layout {
        min-height: 0;
    }

    .doctor-about-main-image {
        height: 560px;
    }

    .doctor-about-content {
        max-width: 760px;
        margin: 0;
        padding: 55px 15px 45px;
    }

    .doctor-about-label-wrap {
        margin-bottom: 30px;
    }

    .doctor-about-doctor-heading {
        margin-bottom: 28px;
    }

    .doctor-about-doctor-heading h2 {
        max-width: 650px;
        font-size: clamp(38px, 7vw, 58px);
    }

    .doctor-about-side-image {
        width: min(420px, 100%);
        height: 420px;
        margin-right: 15px;
        margin-left: auto;
    }

    .doctor-about-highlights {
        margin-top: 42px;
    }
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 767.98px) {
    .doctor-about-section {
        padding: 55px 0 35px;
    }

    .doctor-about-container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .doctor-about-main-image {
        height: 450px;
    }

    .doctor-about-content {
        padding: 40px 4px 35px;
    }

    .doctor-about-label-wrap {
        gap: 9px;
        margin-bottom: 25px;
    }

    .doctor-about-label {
        font-size: 11px;
    }

    .doctor-about-doctor-heading {
        margin-bottom: 24px;
    }

    .doctor-about-doctor-heading > p {
        margin-bottom: 9px;
        font-size: 11px;
    }

    .doctor-about-doctor-heading h2 {
        font-size: clamp(36px, 10vw, 50px);
        line-height: 1;
    }

    .doctor-about-content .doctor-about-intro {
        font-size: 20px;
        line-height: 1.45;
    }

    .doctor-about-content p {
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 1.65;
    }

    .doctor-about-link {
        font-size: 13px;
    }

    .doctor-about-side-image {
        width: 72%;
        height: 340px;
        margin-right: 0;
        margin-left: auto;
    }

    .doctor-about-highlights {
        margin-top: 38px;
    }

    .doctor-highlight-item {
        min-height: 60px;
    }

    .doctor-highlight-item p {
        font-size: 12px;
    }
}


/* =========================================
   Small Mobile
========================================= */

@media (max-width: 480px) {
    .doctor-about-section {
        padding-top: 45px;
    }

    .doctor-about-main-image {
        height: 390px;
    }

    .doctor-about-content {
        padding-top: 34px;
    }

    .doctor-about-doctor-heading h2 {
        font-size: 37px;
    }

    .doctor-about-content .doctor-about-intro {
        font-size: 19px;
    }

    .doctor-about-content p {
        font-size: 14px;
    }

    .doctor-about-side-image {
        width: 78%;
        height: 300px;
    }
}


/* =========================================
   Reduced Motion
========================================= */

@media (prefers-reduced-motion: reduce) {
    .doctor-about-main-image img,
    .doctor-about-side-image img,
    .doctor-about-link,
    .doctor-about-link::after,
    .doctor-about-arrow {
        transition: none;
    }
}























































/* =========================================
   AJ ORTHO SERVICES VARIABLES
========================================= */

:root {
    --aj-services-primary: #199c97;
    --aj-services-primary-dark: #126f6c;
    --aj-services-light-green: #80c491;
    --aj-services-soft: #edf8f4;
    --aj-services-dark: #102f35;
    --aj-services-black: #101010;
    --aj-services-text: #4f5e61;
    --aj-services-white: #ffffff;
    --aj-services-border: rgba(16, 47, 53, 0.13);
}


/* =========================================
   SERVICES SECTION
========================================= */

.aj-services-section,
.aj-services-section * {
    box-sizing: border-box;
}

.aj-services-section {
    position: relative;
    width: 100%;
    overflow: visible;
    padding-top: 100px;
    color: var(--aj-services-black);
    background: var(--aj-services-white);
    font-family: "Bai Jamjuree", sans-serif;
}


/* =========================================
   SECTION HEADING
========================================= */

.aj-services-heading-wrap {
    padding-bottom: 65px;
}

.aj-services-label {
    margin: 0 0 18px;
    color: var(--aj-services-primary-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.aj-services-title {
    max-width: 850px;
    margin: 0;
    color: var(--aj-services-black);
    font-size: clamp(54px, 5.8vw, 96px);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.aj-services-title span {
    display: block;
    color: var(--aj-services-primary);
    font-weight: 400;
}

.aj-services-intro {
    max-width: 460px;
    margin: 0 0 5px auto;
    color: var(--aj-services-text);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
}


/* =========================================
   PINNED SCROLL WRAPPER
========================================= */

.aj-services-scroll {
    position: relative;
    width: 100%;
    height: 400vh;
}

.aj-services-sticky {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
    background: var(--aj-services-white);
}

.aj-services-sticky > .container-fluid,
.aj-services-sticky > .container-fluid > .row {
    height: 100%;
}


/* =========================================
   LEFT IMAGE SIDE
========================================= */

.aj-services-image-side {
    position: relative;
    height: 100%;
    overflow: hidden;
    /* background: var(--aj-services-soft); */
}

.aj-services-image-stage {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* background: var(--aj-services-soft); */
}

.aj-service-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform-origin: left bottom;
    will-change: transform, opacity;
}

.aj-service-image.is-active {
    opacity: 1;
    visibility: visible;
}

.aj-service-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* =========================================
   RIGHT CONTENT SIDE
========================================= */

.aj-services-content-side {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: var(--aj-services-white);
}

.aj-services-content-stage {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


/*
 * Important fix:
 * No top:50% and no translateY(-50%).
 * Each panel fills the right viewport and uses flex
 * to centre its content safely.
 */
.aj-service-content {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px 5vw 75px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    will-change: transform, opacity;
}

.aj-service-content.is-active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   SERVICE TITLE AND TEXT
========================================= */

.aj-service-index {
    display: block;
    margin-bottom: 18px;
    color: var(--aj-services-primary);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
}

.aj-service-content h3 {
    max-width: 240px;
    margin: 0;
    color: var(--aj-services-dark);
    font-size: clamp(28px, 2.2vw, 42px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.aj-service-copy {
    max-width: 560px;
    margin-left: auto;
}

.aj-service-copy p {
    margin: 0 0 23px;
    color: var(--aj-services-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

.aj-service-copy p:last-child {
    margin-bottom: 0;
}


/* =========================================
   SERVICE FEATURES
========================================= */

.aj-service-features {
    width: 100%;
    margin: 55px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--aj-services-border);
}

.aj-service-features li {
    display: grid;
    grid-template-columns: 65px 1fr;
    align-items: center;
    min-height: 62px;
    border-bottom: 1px solid var(--aj-services-border);
}

.aj-service-features span {
    color: var(--aj-services-primary);
    font-size: 13px;
    font-weight: 600;
}

.aj-service-features p {
    margin: 0;
    color: var(--aj-services-dark);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    text-align: right;
}


/* =========================================
   PROGRESS
========================================= */

.aj-services-progress {
    position: absolute;
    right: 5vw;
    bottom: 24px;
    left: 5vw;
    z-index: 50;
    height: 2px;
    overflow: hidden;
    background: var(--aj-services-border);
}

.aj-services-progress-fill {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--aj-services-primary);
    transform: scaleX(0.25);
    transform-origin: left center;
}


/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1600px) {
    .aj-services-section {
        padding-top: 110px;
    }

    .aj-services-heading-wrap {
        padding-bottom: 75px;
    }

    .aj-services-intro {
        max-width: 500px;
        font-size: 18px;
    }

    .aj-service-content {
        padding: 70px 5vw 85px;
    }

    .aj-service-copy p {
        font-size: 17px;
    }

    .aj-service-features {
        margin-top: 65px;
    }

    .aj-service-features li {
        min-height: 70px;
    }
}


/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1199.98px) {
    .aj-services-section {
        padding-top: 85px;
    }

    .aj-services-heading-wrap {
        padding-bottom: 55px;
    }

    .aj-services-title {
        font-size: clamp(50px, 6.5vw, 82px);
    }

    .aj-services-intro {
        max-width: 430px;
        font-size: 16px;
    }

    .aj-services-sticky {
        min-height: 620px;
    }

    .aj-service-content {
        padding: 45px 38px 65px;
    }

    .aj-service-copy p {
        font-size: 15px;
    }

    .aj-service-features {
        margin-top: 40px;
    }

    .aj-service-features li {
        min-height: 56px;
    }

    .aj-service-features p {
        font-size: 14px;
    }

    .aj-services-progress {
        right: 38px;
        left: 38px;
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {
    .aj-services-section {
        overflow: hidden;
        padding-top: 70px;
    }

    .aj-services-heading-wrap {
        padding-bottom: 40px;
    }

    .aj-services-title {
        font-size: clamp(48px, 9vw, 76px);
    }

    .aj-services-intro {
        max-width: 700px;
        margin: 26px 0 0;
    }

    .aj-services-scroll {
        height: auto;
    }

    .aj-services-sticky {
        width: 100%;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .aj-services-sticky > .container-fluid,
    .aj-services-sticky > .container-fluid > .row {
        height: auto !important;
    }

    .aj-services-image-side {
        display: none;
    }

    .aj-services-content-side {
        height: auto;
        overflow: visible;
    }

    .aj-services-content-stage {
        height: auto;
        overflow: visible;
        padding: 0 24px 55px;
    }

    .aj-service-content {
        position: relative;
        inset: auto;

        display: block;

        margin-bottom: 30px;
        padding: 45px 0;

        border-top: 1px solid var(--aj-services-border);

        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none !important;
    }

    .aj-service-content:first-child {
        border-top: 0;
    }

    .aj-service-content::before {
        content: "";
        display: block;
        width: 100%;
        height: 430px;
        margin-bottom: 34px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .aj-service-content[data-service-content="0"]::before {
        background-image: url("../images/285.jpg.jpeg");
    }

    .aj-service-content[data-service-content="1"]::before {
        background-image: url("../images/91557.jpg.jpeg");
    }

    .aj-service-content[data-service-content="2"]::before {
        background-image: url("../images/285.jpg.jpeg");
    }

    .aj-service-content[data-service-content="3"]::before {
        background-image: url("../images/91557.jpg.jpeg");
    }

    .aj-service-copy {
        max-width: 100%;
        margin: 25px 0 0;
    }

    .aj-service-features {
        margin-top: 35px;
    }

    .aj-services-progress {
        display: none;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {
    .aj-services-section {
        padding-top: 55px;
    }

    .aj-services-heading-wrap {
        padding-bottom: 32px;
    }

    .aj-services-label {
        margin-bottom: 14px;
        font-size: 11px;
    }

    .aj-services-title {
        font-size: clamp(42px, 12vw, 62px);
        line-height: 0.95;
        letter-spacing: -0.055em;
    }

    .aj-services-intro {
        margin-top: 22px;
        font-size: 15px;
        line-height: 1.6;
    }

    .aj-services-content-stage {
        padding: 0 12px 40px;
    }

    .aj-service-content {
        margin-bottom: 20px;
        padding: 34px 0;
    }

    .aj-service-content::before {
        height: 330px;
        margin-bottom: 27px;
    }

    .aj-service-index {
        margin-bottom: 12px;
        font-size: 12px;
    }

    .aj-service-content h3 {
        max-width: 100%;
        font-size: 30px;
    }

    .aj-service-copy {
        margin-top: 20px;
    }

    .aj-service-copy p {
        margin-bottom: 16px;
        font-size: 15px;
        line-height: 1.6;
    }

    .aj-service-features {
        margin-top: 28px;
    }

    .aj-service-features li {
        grid-template-columns: 42px 1fr;
        min-height: 58px;
        gap: 10px;
    }

    .aj-service-features span {
        font-size: 12px;
    }

    .aj-service-features p {
        font-size: 14px;
        text-align: left;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {
    .aj-services-section {
        padding-top: 45px;
    }

    .aj-services-heading-wrap {
        padding-bottom: 26px;
    }

    .aj-services-title {
        font-size: clamp(38px, 12.5vw, 54px);
    }

    .aj-services-content-stage {
        padding-right: 10px;
        padding-left: 10px;
    }

    .aj-service-content::before {
        height: 280px;
    }

    .aj-service-content h3 {
        font-size: 27px;
    }

    .aj-service-copy p {
        font-size: 14px;
    }

    .aj-service-features li {
        grid-template-columns: 36px 1fr;
    }

    .aj-service-features p {
        font-size: 13px;
    }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    .aj-services-scroll {
        height: auto;
    }

    .aj-services-sticky {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .aj-service-image,
    .aj-service-content,
    .aj-services-progress-fill {
        transition: none;
        animation: none;
    }
}







































/* =========================================
   VIDEO SECTION VARIABLES
========================================= */

:root {
    --aj-video-primary: #199c97;
    --aj-video-primary-dark: #126f6c;
    --aj-video-light-green: #80c491;
    --aj-video-soft: #edf8f4;
    --aj-video-dark: #102f35;
    --aj-video-black: #101010;
    --aj-video-text: #4f5e61;
    --aj-video-white: #ffffff;
    --aj-video-border: rgba(16, 47, 53, 0.14);
}


/* =========================================
   SECTION
========================================= */

.aj-video-section,
.aj-video-section * {
    box-sizing: border-box;
}

.aj-video-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 100px;
    color: var(--aj-video-black);
    background: var(--aj-video-white);
    font-family: "Bai Jamjuree", sans-serif;
}


/* =========================================
   SECTION HEADING
========================================= */

.aj-video-heading-wrap {
    padding-bottom: 65px;
}

.aj-video-label {
    margin: 0 0 18px;
    color: var(--aj-video-primary-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.aj-video-title {
    max-width: 900px;
    margin: 0;
    color: var(--aj-video-black);
    font-size: clamp(52px, 5.8vw, 94px);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.aj-video-title span {
    display: block;
    color: var(--aj-video-primary);
    font-weight: 400;
}

.aj-video-intro {
    max-width: 470px;
    margin: 0 0 5px auto;
    color: var(--aj-video-text);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}


/* =========================================
   ACCORDION
========================================= */

.aj-video-accordion {
    display: flex;
    width: 100%;
    height: clamp(650px, 82vh, 780px);
    overflow: hidden;
    border-top: 1px solid var(--aj-video-border);
    border-bottom: 1px solid var(--aj-video-border);
}

.aj-video-card {
    position: relative;
    flex: 1 1 0;
    min-width: 150px;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    background: var(--aj-video-white);
    border-right: 1px solid var(--aj-video-border);

    transition:
        flex 1.1s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.5s ease;
}

.aj-video-card:first-child {
    border-left: 1px solid var(--aj-video-border);
}

.aj-video-card.is-active {
    flex: 3.2 1 0;
}


/* =========================================
   BACKGROUND
========================================= */

.aj-video-card-background {
    position: absolute;
    inset: 16px;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.82);
    transform-origin: center;

    transition:
        opacity 0.6s ease,
        transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.aj-video-card.is-active .aj-video-card-background {
    opacity: 1;
    transform: scale(1);
}

.aj-video-card-background img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.08);
    transition: transform 6s ease;
}

.aj-video-card.is-active .aj-video-card-background img {
    transform: scale(1);
}

.aj-video-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(16, 47, 53, 0.22) 0%,
        rgba(16, 47, 53, 0.03) 50%,
        rgba(16, 47, 53, 0.10) 100%
    );

    transition: opacity 0.6s ease;
}

.aj-video-card.is-active .aj-video-card-overlay {
    opacity: 1;
}


/* =========================================
   INACTIVE VERTICAL TITLES
========================================= */

.aj-video-card-title {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;

    max-height: calc(100% - 70px);
    margin: 0;

    color: var(--aj-video-black);
    font-size: clamp(32px, 2.8vw, 50px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.045em;
    white-space: nowrap;

    writing-mode: vertical-rl;
    text-orientation: mixed;

    transform: translate(-50%, -50%) rotate(180deg);

    transition:
        opacity 0.45s ease,
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.aj-video-card-title span,
.aj-video-card-title em {
    display: inline-block;
}

.aj-video-card-title em {
    font-weight: 400;
    font-style: italic;
}

.aj-video-card.is-active .aj-video-card-title {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) rotate(180deg) translateY(25px);
}


/* =========================================
   ACTIVE PANEL
========================================= */

.aj-video-card-panel {
    position: absolute;
    top: 50%;
    right: clamp(28px, 5vw, 78px);
    z-index: 6;

    width: min(58%, 500px);
    height: min(72%, 510px);
    min-height: 450px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: clamp(38px, 4vw, 62px);

    color: var(--aj-video-dark);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-45%) translateX(45px) scale(0.95);

    transition:
        opacity 0.5s ease 0.15s,
        visibility 0.5s ease 0.15s,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.aj-video-card.is-active .aj-video-card-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0) scale(1);
}

.aj-video-card-top {
    max-width: 350px;
    margin: 0;
    color: var(--aj-video-dark);
    font-size: clamp(21px, 1.8vw, 28px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.aj-video-play {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    color: var(--aj-video-dark);
    background: transparent;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.aj-video-play:hover {
    color: var(--aj-video-primary);
    transform: scale(1.08);
}

.aj-video-card-copy {
    max-width: 390px;
    margin: 0;
    color: var(--aj-video-dark);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
}


/* =========================================
   FOCUS
========================================= */

.aj-video-card:focus-visible {
    outline: 3px solid var(--aj-video-primary);
    outline-offset: -3px;
}


/* =========================================
   MODAL
========================================= */

.aj-video-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #000000;
}

.aj-video-modal .modal-header {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    padding: 0;
    border: 0;
}

.aj-video-modal .btn-close {
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 50%;
    background-color: var(--aj-video-white);
    opacity: 1;
}

.aj-video-modal .modal-body {
    padding: 0;
}


/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1199.98px) {
    .aj-video-section {
        padding-top: 85px;
    }

    .aj-video-heading-wrap {
        padding-bottom: 52px;
    }

    .aj-video-card {
        min-width: 125px;
    }

    .aj-video-card.is-active {
        flex-grow: 3;
    }

    .aj-video-card-title {
        font-size: clamp(29px, 2.7vw, 43px);
    }

    .aj-video-card-panel {
        right: 32px;
        width: min(64%, 450px);
        min-height: 430px;
        padding: 42px 38px;
    }

    .aj-video-card-copy {
        font-size: 16px;
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {
    .aj-video-section {
        padding-top: 70px;
    }

    .aj-video-heading-wrap {
        padding-bottom: 40px;
    }

    .aj-video-intro {
        max-width: 700px;
        margin: 25px 0 0;
    }

    .aj-video-accordion {
        display: block;
        height: auto;
        overflow: visible;
        padding: 0 24px;
        border: 0;
    }

    .aj-video-card {
        width: 100%;
        min-width: 0;
        height: 105px;
        margin-bottom: 14px;
        border: 1px solid var(--aj-video-border);

        transition:
            height 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .aj-video-card.is-active {
        height: 590px;
    }

    .aj-video-card-background {
        inset: 0;
    }

    .aj-video-card-title {
        top: 50%;
        left: 28px;
        display: flex;
        flex-direction: row;
        gap: 8px;
        max-height: none;
        font-size: 32px;
        writing-mode: horizontal-tb;
        transform: translateY(-50%);
    }

    .aj-video-card.is-active .aj-video-card-title {
        transform: translateY(-50%) translateX(-25px);
    }

    .aj-video-card-panel {
        top: auto;
        right: 28px;
        bottom: 28px;
        width: min(70%, 500px);
        height: auto;
        min-height: 72%;
        padding: 40px;
        transform: translateY(30px) scale(0.96);
    }

    .aj-video-card.is-active .aj-video-card-panel {
        transform: translateY(0) scale(1);
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {
    .aj-video-section {
        padding-top: 55px;
    }

    .aj-video-heading-wrap {
        padding-bottom: 32px;
    }

    .aj-video-label {
        margin-bottom: 14px;
        font-size: 11px;
    }

    .aj-video-title {
        font-size: clamp(42px, 12vw, 62px);
        line-height: 0.95;
    }

    .aj-video-intro {
        font-size: 15px;
        line-height: 1.6;
    }

    .aj-video-accordion {
        padding: 0 12px;
    }

    .aj-video-card {
        height: 88px;
    }

    .aj-video-card.is-active {
        height: 530px;
    }

    .aj-video-card-title {
        left: 20px;
        font-size: 26px;
    }

    .aj-video-card-panel {
        right: 16px;
        bottom: 16px;
        left: 16px;
        width: auto;
        min-height: 70%;
        padding: 28px 22px;
    }

    .aj-video-card-top {
        font-size: 20px;
    }

    .aj-video-play {
        width: 52px;
        height: 52px;
    }

    .aj-video-card-copy {
        font-size: 15px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {
    .aj-video-card.is-active {
        height: 500px;
    }

    .aj-video-card-panel {
        padding: 24px 19px;
    }

    .aj-video-card-top {
        font-size: 18px;
    }

    .aj-video-card-copy {
        font-size: 14px;
    }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    .aj-video-card,
    .aj-video-card-background,
    .aj-video-card-background img,
    .aj-video-card-title,
    .aj-video-card-panel {
        transition: none;
    }
}




































/* =========================================
   SECOND OPINION VARIABLES
========================================= */

:root {
    --aj-opinion-primary: #199c97;
    --aj-opinion-primary-dark: #126f6c;
    --aj-opinion-light-green: #80c491;
    --aj-opinion-soft: #edf8f4;
    --aj-opinion-dark: #102f35;
    --aj-opinion-black: #101010;
    --aj-opinion-text: #4f5e61;
    --aj-opinion-white: #ffffff;
    --aj-opinion-border: rgba(16, 47, 53, 0.14);
}


/* =========================================
   SECTION
========================================= */

.aj-second-opinion-section,
.aj-second-opinion-section * {
    box-sizing: border-box;
}

.aj-second-opinion-section {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    color: var(--aj-opinion-dark);
    background:
        linear-gradient(
            135deg,
            var(--aj-opinion-soft) 0%,
            #ffffff 58%,
            rgba(128, 196, 145, 0.13) 100%
        );
    font-family: "Bai Jamjuree", sans-serif;
}

.aj-second-opinion-shell {
    overflow: hidden;
    border: 1px solid var(--aj-opinion-border);
    background: var(--aj-opinion-white);
    box-shadow: 0 30px 80px rgba(16, 47, 53, 0.08);
}


/* =========================================
   LEFT INFORMATION SIDE
========================================= */

.aj-second-opinion-info {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    padding: 75px 55px;
    color: var(--aj-opinion-white);
    background:
        radial-gradient(
            circle at 10% 12%,
            rgba(128, 196, 145, 0.30),
            transparent 26%
        ),
        radial-gradient(
            circle at 90% 88%,
            rgba(255, 255, 255, 0.14),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            var(--aj-opinion-primary-dark),
            var(--aj-opinion-primary)
        );
}

.aj-second-opinion-pattern {
    position: absolute;
    top: 30px;
    left: 30px;
    display: grid;
    grid-template-columns: repeat(3, 8px);
    gap: 10px;
    opacity: 0.38;
}

.aj-second-opinion-pattern span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--aj-opinion-white);
}

.aj-second-opinion-label {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    padding-top: 52px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.aj-second-opinion-info h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 28px;
    color: var(--aj-opinion-white);
    font-size: clamp(42px, 4.2vw, 68px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.aj-second-opinion-info h2 span {
    display: block;
    color: #c9f0d2;
    font-weight: 400;
}

.aj-second-opinion-description {
    position: relative;
    z-index: 1;
    max-width: 470px;
    margin: 0 0 38px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
    line-height: 1.65;
}

.aj-second-opinion-points {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aj-second-opinion-points li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.aj-second-opinion-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 50%;
    color: var(--aj-opinion-white);
    background: rgba(255, 255, 255, 0.10);
}

.aj-second-opinion-points p {
    margin: 0;
    color: var(--aj-opinion-white);
    font-size: 15px;
    line-height: 1.4;
}

.aj-second-opinion-note {
    position: relative;
    z-index: 1;
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.aj-second-opinion-note span {
    display: block;
    margin-bottom: 8px;
    color: #c9f0d2;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.aj-second-opinion-note p {
    max-width: 470px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================
   FORM SIDE
========================================= */

.aj-second-opinion-form-wrap {
    min-height: 100%;
    padding: 68px 62px;
    background: var(--aj-opinion-white);
}

.aj-second-opinion-form-heading {
    margin-bottom: 42px;
}

.aj-second-opinion-form-heading > p {
    margin: 0 0 12px;
    color: var(--aj-opinion-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.aj-second-opinion-form-heading h3 {
    margin: 0 0 13px;
    color: var(--aj-opinion-dark);
    font-size: clamp(31px, 3vw, 46px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.aj-second-opinion-form-heading > span {
    display: block;
    max-width: 590px;
    color: var(--aj-opinion-text);
    font-size: 15px;
    line-height: 1.55;
}


/* =========================================
   FORM CONTROLS
========================================= */

.aj-second-opinion-form .form-label {
    margin-bottom: 9px;
    color: var(--aj-opinion-dark);
    font-size: 13px;
    font-weight: 600;
}

.aj-second-opinion-form .form-label > span {
    color: var(--aj-opinion-primary);
}

.aj-second-opinion-form .form-control,
.aj-second-opinion-form .form-select {
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid var(--aj-opinion-border);
    border-radius: 0;
    color: var(--aj-opinion-dark);
    background-color: #fbfdfc;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 14px;
    box-shadow: none;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.aj-second-opinion-form textarea.form-control {
    min-height: 145px;
    resize: vertical;
}

.aj-second-opinion-form .form-control::placeholder {
    color: rgba(79, 94, 97, 0.58);
}

.aj-second-opinion-form .form-control:focus,
.aj-second-opinion-form .form-select:focus {
    border-color: var(--aj-opinion-primary);
    background: var(--aj-opinion-white);
    box-shadow: 0 0 0 4px rgba(25, 156, 151, 0.10);
}

.aj-second-opinion-form .form-control.is-invalid,
.aj-second-opinion-form .form-select.is-invalid {
    border-color: #c44848;
}


/* =========================================
   FILE UPLOAD
========================================= */

.aj-medical-upload {
    position: relative;
    border: 1px dashed rgba(25, 156, 151, 0.55);
    background: var(--aj-opinion-soft);

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.aj-medical-upload.is-dragging {
    border-color: var(--aj-opinion-primary);
    background: rgba(128, 196, 145, 0.22);
    transform: translateY(-2px);
}

.aj-medical-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.aj-medical-upload label {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 30px;
    cursor: pointer;
    text-align: center;
}

.aj-medical-upload-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    border-radius: 50%;
    color: var(--aj-opinion-primary-dark);
    background: var(--aj-opinion-white);
}

.aj-medical-upload strong {
    color: var(--aj-opinion-dark);
    font-size: 16px;
    font-weight: 600;
}

.aj-medical-upload label > span:not(.aj-medical-upload-icon) {
    color: var(--aj-opinion-text);
    font-size: 14px;
}

.aj-medical-upload small {
    color: rgba(79, 94, 97, 0.72);
    font-size: 12px;
}

.aj-upload-feedback {
    margin-top: 10px;
    color: #b13b3b;
    font-size: 13px;
}

.aj-upload-files {
    margin-top: 14px;
}

.aj-upload-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border: 1px solid var(--aj-opinion-border);
    background: #fbfdfc;
}

.aj-upload-file + .aj-upload-file {
    margin-top: 8px;
}

.aj-upload-file-info {
    min-width: 0;
}

.aj-upload-file-info strong {
    display: block;
    overflow: hidden;
    color: var(--aj-opinion-dark);
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aj-upload-file-info span {
    color: var(--aj-opinion-text);
    font-size: 11px;
}

.aj-upload-file button {
    flex: 0 0 auto;
    padding: 4px;
    border: 0;
    color: var(--aj-opinion-text);
    background: transparent;
    font-size: 12px;
}


/* =========================================
   CONSENT
========================================= */

.aj-second-opinion-consent {
    padding-left: 30px;
}

.aj-second-opinion-consent .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    margin-left: -30px;
    border-radius: 0;
    border-color: var(--aj-opinion-border);
    box-shadow: none;
}

.aj-second-opinion-consent .form-check-input:checked {
    border-color: var(--aj-opinion-primary);
    background-color: var(--aj-opinion-primary);
}

.aj-second-opinion-consent .form-check-label {
    color: var(--aj-opinion-text);
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.aj-second-opinion-submit {
    width: 100%;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 24px;
    border: 1px solid var(--aj-opinion-primary);
    color: var(--aj-opinion-white);
    background: var(--aj-opinion-primary);
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.aj-second-opinion-submit svg {
    transition: transform 0.3s ease;
}

.aj-second-opinion-submit:hover {
    color: var(--aj-opinion-primary-dark);
    border-color: var(--aj-opinion-light-green);
    background: var(--aj-opinion-soft);
    transform: translateY(-2px);
}

.aj-second-opinion-submit:hover svg {
    transform: translate(4px, -4px);
}


/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1199.98px) {
    .aj-second-opinion-section {
        padding: 90px 0;
    }

    .aj-second-opinion-info {
        padding: 60px 42px;
    }

    .aj-second-opinion-form-wrap {
        padding: 58px 44px;
    }

    .aj-second-opinion-info h2 {
        font-size: clamp(40px, 4.4vw, 58px);
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {
    .aj-second-opinion-section {
        padding: 75px 0;
    }

    .aj-second-opinion-info {
        min-height: auto;
        padding: 60px 45px;
    }

    .aj-second-opinion-form-wrap {
        min-height: auto;
        padding: 55px 45px;
    }

    .aj-second-opinion-info h2 {
        max-width: 700px;
    }

    .aj-second-opinion-description {
        max-width: 680px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {
    .aj-second-opinion-section {
        padding: 55px 0;
    }

    .aj-second-opinion-shell {
        border-right: 0;
        border-left: 0;
    }

    .aj-second-opinion-info {
        padding: 48px 24px;
    }

    .aj-second-opinion-pattern {
        top: 22px;
        left: 22px;
        gap: 7px;
    }

    .aj-second-opinion-pattern span {
        width: 6px;
        height: 6px;
    }

    .aj-second-opinion-label {
        padding-top: 35px;
        font-size: 11px;
    }

    .aj-second-opinion-info h2 {
        font-size: clamp(38px, 11vw, 54px);
    }

    .aj-second-opinion-description {
        font-size: 15px;
    }

    .aj-second-opinion-form-wrap {
        padding: 45px 24px;
    }

    .aj-second-opinion-form-heading {
        margin-bottom: 32px;
    }

    .aj-second-opinion-form-heading h3 {
        font-size: 30px;
    }

    .aj-medical-upload label {
        min-height: 190px;
        padding: 24px 18px;
    }

    .aj-medical-upload strong {
        font-size: 15px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {
    .aj-second-opinion-section {
        padding: 45px 0;
    }

    .aj-second-opinion-section > .container {
        padding-right: 0;
        padding-left: 0;
    }

    .aj-second-opinion-info {
        padding: 42px 20px;
    }

    .aj-second-opinion-form-wrap {
        padding: 40px 20px;
    }

    .aj-second-opinion-info h2 {
        font-size: 38px;
    }
}








































/* ===================================
   ABOUT PAGE VARIABLES
=================================== */

:root {
    --aj-primary: #199c97;
    --aj-primary-dark: #126f6c;
    --aj-light-green: #80c491;
    --aj-light-green-soft: #edf8f4;
    --aj-dark: #102f35;
    --aj-black: #101010;
    --aj-white: #ffffff;
    --aj-text: #4f5e61;
    --aj-border: rgba(16, 47, 53, 0.12);
}


/* ===================================
   ABOUT PAGE BASE
=================================== */

.ajAboutPage,
.ajAboutPage * {
    box-sizing: border-box;
}

.ajAboutPage {
    width: 100%;
    overflow: clip;
    color: var(--aj-dark);
    background: var(--aj-white);
    font-family: "Bai Jamjuree", sans-serif;
}


/* ===================================
   ABOUT HERO
=================================== */

.ajAboutHero {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--aj-white);
}

.ajAboutHeroTop {
    min-height: 510px;
    margin: 0;
    border-top: 1px solid var(--aj-border);
}


/* ===================================
   HERO LEFT COLUMN
=================================== */

.ajAboutHeroSide {
    border-right: 1px solid var(--aj-border);
}

.ajAboutHeroSideInner {
    min-height: 510px;
    padding: 102px 44px 66px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ajAboutHeroIntro {
    max-width: 260px;
    margin: 0;

    color: var(--aj-dark);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.7px;
}

.ajAboutHeroMeta {
    margin: 0;

    color: var(--aj-dark);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}


/* ===================================
   HERO MAIN HEADING
=================================== */

.ajAboutHeroHeadingColumn {
    min-height: 510px;
    padding: 80px 58px 62px;

    display: flex;
    align-items: center;
}

.ajAboutHeroTitle {
    width: 100%;
    max-width: 1180px;
    margin: 0;

    color: var(--aj-black);
    font-size: clamp(72px, 8.5vw, 142px);
    font-weight: 500;
    letter-spacing: clamp(-8px, -0.42vw, -3px);
}

.ajAboutHeroTitle span {
    display: inline;

    color: var(--aj-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: clamp(-7px, -0.35vw, -2px);
}


/* ===================================
   ABOUT IMAGE SCROLL
=================================== */

.ajAboutImageScroll {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.ajAboutImageSticky {
    position: sticky;
    top: 0;

    width: 100%;
    height: 100vh;
    min-height: 650px;

    margin: 0;
    padding: 0;
    overflow: hidden;
}

.ajAboutImageReveal {
    position: relative;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;
    overflow: hidden;

    transform-origin: center center;
    will-change: clip-path, transform;
}

.ajAboutImage {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center 32%;

    will-change: transform;
}

.ajAboutImageOverlay {
    position: absolute;
    z-index: 1;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(16, 47, 53, 0.02) 0%,
            rgba(16, 47, 53, 0.10) 100%
        );
}


/* ===================================
   EXPERIENCE AND QUALIFICATIONS
=================================== */

.ajAboutIntroduction {
    position: relative;
    z-index: 2;

    width: 100%;
    margin: 0;
    padding: 100px 0 115px;

    overflow: hidden;
    background: var(--aj-white);
}


/* ===================================
   INTRODUCTION HEADER
=================================== */

.ajAboutIntroductionHeader {
    margin-bottom: 76px;
}

.ajAboutPill {
    width: max-content;
    max-width: 100%;
    padding: 6px 13px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    border: 1px solid var(--aj-dark);
    border-radius: 100px;

    color: var(--aj-dark);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ajAboutPill span {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;

    border-radius: 50%;
    background: var(--aj-primary);
}

.ajAboutIntroductionContent {
    width: 100%;
    max-width: 850px;
}

.ajAboutIntroductionTitle {
    max-width: 850px;
    margin: 0 0 32px;

    color: var(--aj-dark);
    font-size: clamp(46px, 5vw, 76px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: clamp(-4px, -0.22vw, -1.5px);
}

.ajAboutIntroductionTitle span {
    display: block;

    color: var(--aj-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
}

.ajAboutIntroductionContent > p {
    max-width: 760px;
    margin: 0 0 18px;

    color: var(--aj-text);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: -0.15px;
}

.ajAboutIntroductionContent > p:first-of-type {
    color: var(--aj-dark);
}

.ajAboutIntroductionContent > p:last-child {
    margin-bottom: 0;
}


/* ===================================
   QUALIFICATION GROUPS
=================================== */

.ajAboutQualificationGroup {
    position: relative;
    width: 100%;
    padding: 56px 0;

    border-top: 1px solid var(--aj-border);
}

.ajAboutQualificationGroup:last-child {
    padding-bottom: 0;
}

.ajAboutQualificationHeading {
    padding: 5px 36px 0 0;
}

.ajAboutQualificationHeading > span {
    display: block;
    margin-bottom: 14px;

    color: var(--aj-primary);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.14em;
}

.ajAboutQualificationHeading h3 {
    max-width: 280px;
    margin: 0;

    color: var(--aj-dark);
    font-size: clamp(24px, 2vw, 31px);
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: -0.8px;
}


/* ===================================
   QUALIFICATION CARD GRID
=================================== */

.ajAboutQualificationGroup .row.g-4 {
    align-items: stretch;
}

.ajAboutQualificationGroup .row.g-4 > [class*="col-"] {
    display: flex;
}


/* ===================================
   QUALIFICATION CARDS
=================================== */

.ajAboutQualificationCard {
    position: relative;

    width: 100%;
    min-height: 285px;
    height: auto;
    padding: 29px 27px 31px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: var(--aj-light-green-soft);
    border: 1px solid rgba(25, 156, 151, 0.18);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}

.ajAboutQualificationCard::before {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    content: "";

    background:
        linear-gradient(
            90deg,
            var(--aj-primary) 0%,
            var(--aj-light-green) 100%
        );

    transform: scaleX(0);
    transform-origin: left center;

    transition: transform 0.35s ease;
}

.ajAboutQualificationCard:hover {
    background: var(--aj-white);
    border-color: rgba(25, 156, 151, 0.38);
    box-shadow: 0 18px 40px rgba(16, 47, 53, 0.09);
    transform: translateY(-5px);
}

.ajAboutQualificationCard:hover::before {
    transform: scaleX(1);
}

.ajAboutQualificationNumber {
    display: block;
    margin-bottom: 42px;

    color: var(--aj-primary);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.14em;
}

.ajAboutQualificationCard h4 {
    margin: 0 0 15px;

    color: var(--aj-dark);
    font-size: clamp(20px, 1.55vw, 24px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.6px;
    overflow-wrap: anywhere;
}

.ajAboutQualificationCard p {
    max-width: 100%;
    margin: 0;

    color: var(--aj-text);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.ajAboutQualificationCard strong {
    color: var(--aj-dark);
    font-weight: 600;
}


/* ===================================
   PROFESSIONAL EXPERIENCE
=================================== */

.ajAboutProfessionalExperience {
    width: 100%;
    max-width: 790px;
}

.ajAboutProfessionalExperience p {
    margin: 0;

    color: var(--aj-dark);
    font-size: clamp(23px, 2.25vw, 34px);
    font-weight: 400;
    line-height: 1.43;
    letter-spacing: -0.8px;
}

.ajAboutProfessionalExperience p + p {
    margin-top: 24px;

    color: var(--aj-text);
    font-size: 18px;
    line-height: 1.72;
    letter-spacing: -0.15px;
}


/* ===================================
   CONSULTATION LOCATION CARDS
=================================== */

.ajAboutConsultationCard {
    width: 100%;
    min-height: 145px;
    padding: 27px 29px;

    display: flex;
    align-items: center;
    gap: 21px;

    background: var(--aj-dark);
    border: 1px solid var(--aj-dark);

    transition:
        transform 0.35s ease,
        background-color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.ajAboutConsultationCard:hover {
    background: var(--aj-primary);
    border-color: var(--aj-primary);
    box-shadow: 0 18px 38px rgba(16, 47, 53, 0.14);
    transform: translateY(-4px);
}

.ajAboutConsultationIcon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--aj-dark);
    background: var(--aj-white);
    border-radius: 50%;
}

.ajAboutConsultationIcon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.ajAboutConsultationCard div > span {
    display: block;
    margin-bottom: 7px;

    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ajAboutConsultationCard h4 {
    margin: 0;

    color: var(--aj-white);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.5px;
}


/* ===================================
   LARGE DESKTOP
=================================== */

@media (min-width: 1400px) {

    .ajAboutHeroSideInner {
        padding-left: 46px;
        padding-right: 46px;
    }

    .ajAboutHeroHeadingColumn {
        padding-left: 64px;
        padding-right: 64px;
    }

    .ajAboutImage {
        object-position: center 30%;
    }

    .ajAboutIntroduction {
        padding-top: 115px;
        padding-bottom: 130px;
    }

    .ajAboutIntroductionHeader {
        margin-bottom: 84px;
    }

    .ajAboutQualificationGroup {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .ajAboutQualificationCard {
        min-height: 295px;
        padding: 31px 29px 33px;
    }
}


/* ===================================
   LAPTOP / SMALL DESKTOP
=================================== */

@media (max-width: 1199.98px) {

    .ajAboutHeroTop {
        min-height: 440px;
    }

    .ajAboutHeroSideInner {
        min-height: 440px;
        padding: 101px 28px 48px;
    }

    .ajAboutHeroHeadingColumn {
        min-height: 440px;
        padding: 48px 38px 52px;
    }

    .ajAboutHeroTitle {
        padding-top: 10px;
        font-size: clamp(64px, 8.7vw, 112px);
    }

    .ajAboutImageScroll,
    .ajAboutImageSticky {
        min-height: 600px;
    }

    .ajAboutIntroduction {
        padding: 86px 0 100px;
    }

    .ajAboutIntroductionHeader {
        margin-bottom: 66px;
    }

    .ajAboutIntroductionTitle {
        font-size: clamp(44px, 5.3vw, 66px);
    }

    /*
       Change the three narrow qualification cards
       into a two-column layout on smaller laptops.
    */

    .ajAboutQualificationGroup
    .row.g-4
    > .col-lg-4.col-md-6 {
        width: 50%;
    }

    .ajAboutQualificationCard {
        min-height: 255px;
        padding: 28px 26px 30px;
    }

    .ajAboutQualificationNumber {
        margin-bottom: 32px;
    }

    .ajAboutQualificationCard h4 {
        font-size: 22px;
    }
}


/* ===================================
   TABLET
=================================== */

@media (max-width: 991.98px) {

    .ajAboutHeroTop {
        min-height: auto;
    }

    .ajAboutHeroSide {
        border-right: 0;
        border-bottom: 1px solid var(--aj-border);
    }

    .ajAboutHeroSideInner {
        min-height: 210px;
        padding: 95px 24px 30px;
    }

    .ajAboutHeroIntro {
        max-width: 300px;
        font-size: 18px;
    }

    .ajAboutHeroMeta {
        margin-top: 45px;
        font-size: 16px;
    }

    .ajAboutHeroHeadingColumn {
        min-height: 350px;
        padding: 44px 24px 50px;
    }

    .ajAboutHeroTitle {
        font-size: clamp(57px, 13vw, 100px);
        line-height: 0.91;
        letter-spacing: -4px;
    }

    .ajAboutHeroTitle span {
        letter-spacing: -3px;
    }

    .ajAboutImageScroll {
        height: 82svh;
        min-height: 600px;
    }

    .ajAboutImageSticky {
        height: 82svh;
        min-height: 600px;
    }

    .ajAboutImage {
        object-position: 54% 27%;
    }

    .ajAboutIntroduction {
        padding: 72px 0 86px;
    }

    .ajAboutIntroductionHeader {
        margin-bottom: 52px;
    }

    .ajAboutPill {
        margin-bottom: 38px;
    }

    .ajAboutIntroductionTitle {
        margin-bottom: 26px;
        font-size: clamp(42px, 7.5vw, 60px);
    }

    .ajAboutIntroductionContent > p {
        font-size: 17px;
        line-height: 1.72;
    }

    .ajAboutQualificationGroup {
        padding: 42px 0;
    }

    .ajAboutQualificationHeading {
        margin-bottom: 28px;
        padding-right: 0;
    }

    .ajAboutQualificationHeading h3 {
        max-width: 100%;
        font-size: 25px;
    }

    .ajAboutQualificationGroup
    .row.g-4
    > .col-lg-4.col-md-6 {
        width: 50%;
    }

    .ajAboutQualificationCard {
        min-height: 245px;
    }

    .ajAboutProfessionalExperience p {
        font-size: clamp(23px, 4vw, 31px);
    }
}


/* ===================================
   MOBILE
=================================== */

@media (max-width: 767.98px) {

    .ajAboutHeroSideInner {
        min-height: 190px;
        padding: 88px 18px 26px;
    }

    .ajAboutHeroHeadingColumn {
        min-height: 300px;
        padding: 36px 18px 42px;
    }

    .ajAboutHeroTitle {
        font-size: clamp(49px, 14vw, 76px);
        line-height: 0.94;
        letter-spacing: -3px;
    }

    .ajAboutImageScroll {
        height: 74svh;
        min-height: 500px;
    }

    .ajAboutImageSticky {
        height: 74svh;
        min-height: 500px;
    }

    .ajAboutImage {
        object-position: 58% 25%;
    }

    .ajAboutIntroduction {
        padding: 58px 0 72px;
    }

    .ajAboutIntroductionHeader {
        margin-bottom: 42px;
    }

    .ajAboutPill {
        margin-bottom: 32px;
        padding: 6px 11px;
        font-size: 12px;
    }

    .ajAboutIntroductionTitle {
        margin-bottom: 24px;
        font-size: clamp(38px, 10.5vw, 52px);
        line-height: 1.08;
        letter-spacing: -2px;
    }

    .ajAboutIntroductionContent > p {
        margin-bottom: 16px;
        font-size: 16px;
        line-height: 1.7;
    }

    .ajAboutQualificationGroup {
        padding: 35px 0;
    }

    .ajAboutQualificationHeading {
        margin-bottom: 23px;
    }

    .ajAboutQualificationHeading > span {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .ajAboutQualificationHeading h3 {
        font-size: 23px;
    }

    /*
       Qualification cards become one full-width
       card per row on mobile screens.
    */

    .ajAboutQualificationGroup
    .row.g-4
    > .col-lg-4.col-md-6 {
        width: 100%;
    }

    .ajAboutQualificationGroup
    .row.g-4
    > .col-lg-6 {
        width: 100%;
    }

    .ajAboutQualificationCard {
        min-height: 0;
        padding: 25px 23px 28px;
    }

    .ajAboutQualificationNumber {
        margin-bottom: 25px;
    }

    .ajAboutQualificationCard h4 {
        font-size: 21px;
    }

    .ajAboutQualificationCard p {
        max-width: 520px;
        font-size: 15px;
    }

    .ajAboutProfessionalExperience p {
        font-size: 22px;
        line-height: 1.5;
        letter-spacing: -0.5px;
    }

    .ajAboutProfessionalExperience p + p {
        margin-top: 19px;
        font-size: 16px;
        line-height: 1.7;
    }

    .ajAboutConsultationCard {
        min-height: 128px;
        padding: 23px;
    }

    .ajAboutConsultationIcon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .ajAboutConsultationCard h4 {
        font-size: 20px;
    }
}


/* ===================================
   SMALL MOBILE
=================================== */

@media (max-width: 575.98px) {

    .ajAboutHeroSideInner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ajAboutHeroHeadingColumn {
        min-height: 275px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .ajAboutHeroTitle {
        font-size: clamp(44px, 13.5vw, 66px);
    }

    .ajAboutImageScroll {
        height: 68svh;
        min-height: 460px;
    }

    .ajAboutImageSticky {
        height: 68svh;
        min-height: 460px;
    }

    .ajAboutImage {
        object-position: 61% 24%;
    }

    .ajAboutIntroduction {
        padding: 50px 4px 64px;
    }

    .ajAboutIntroductionHeader {
        margin-bottom: 36px;
    }

    .ajAboutPill {
        margin-bottom: 28px;
        font-size: 11px;
        letter-spacing: 0.01em;
    }

    .ajAboutIntroductionTitle {
        font-size: 37px;
        line-height: 1.09;
        letter-spacing: -1.7px;
    }

    .ajAboutQualificationGroup {
        padding: 31px 0;
    }

    .ajAboutQualificationCard {
        padding: 23px 20px 26px;
    }

    .ajAboutQualificationNumber {
        margin-bottom: 22px;
    }

    .ajAboutConsultationCard {
        min-height: auto;
        padding: 21px 19px;

        align-items: flex-start;
        gap: 17px;
    }

    .ajAboutConsultationIcon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }
}


/* ===================================
   TOUCH DEVICES
=================================== */

@media (hover: none) {

    .ajAboutQualificationCard:hover,
    .ajAboutConsultationCard:hover {
        box-shadow: none;
        transform: none;
    }

    .ajAboutQualificationCard:hover {
        background: var(--aj-light-green-soft);
        border-color: rgba(25, 156, 151, 0.18);
    }

    .ajAboutQualificationCard:hover::before {
        transform: scaleX(0);
    }

    .ajAboutConsultationCard:hover {
        background: var(--aj-dark);
        border-color: var(--aj-dark);
    }
}


/* ===================================
   REDUCED MOTION
=================================== */

@media (prefers-reduced-motion: reduce) {

    .ajAboutImageReveal,
    .ajAboutImage {
        clip-path: none !important;
        transform: none !important;
    }

    .ajAboutQualificationCard,
    .ajAboutQualificationCard::before,
    .ajAboutConsultationCard {
        transition: none;
    }

    .ajAboutQualificationCard:hover,
    .ajAboutConsultationCard:hover {
        transform: none;
    }
}




































































/* ==========================================
   AJ ORTHO CARE CONTACT PAGE
   FULL UPDATED RESPONSIVE CSS
========================================== */

:root {
    --aj-primary: #199c97;
    --aj-primary-dark: #126f6c;
    --aj-light-green: #80c491;
    --aj-light-green-soft: #edf8f4;
    --aj-dark: #102f35;
    --aj-white: #ffffff;
    --aj-text: #4f5e61;
    --aj-border: rgba(16, 47, 53, 0.12);
}


/* ==========================================
   PAGE BASE
========================================== */

.ajContactPage,
.ajContactPage * {
    box-sizing: border-box;
}

.ajContactPage {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: var(--aj-white);
    color: var(--aj-dark);
    font-family: "Bai Jamjuree", sans-serif;
}

.aj-contact-location-section {
    position: relative;
    width: 100%;
    padding: 95px 0 110px;
    overflow: hidden;
    background: var(--aj-white);
    color: var(--aj-dark);
}

.aj-contact-location-section::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(25, 156, 151, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.aj-contact-location-section::after {
    content: "";
    position: absolute;
    right: 10%;
    bottom: -260px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(128, 196, 145, 0.1);
    filter: blur(20px);
    pointer-events: none;
}

.aj-contact-location-section > .container {
    position: relative;
    z-index: 2;
}


/* ==========================================
   HERO HEADER
========================================== */

.aj-contact-location-header {
    margin-bottom: 70px;
}

.aj-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: var(--aj-primary-dark);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aj-section-label-dot {
    display: block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--aj-primary);
    box-shadow: 0 0 0 6px rgba(25, 156, 151, 0.12);
}

.aj-contact-location-title {
    max-width: 900px;
    margin: 0;
    color: var(--aj-dark);
    font-size: clamp(45px, 5.2vw, 82px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.aj-contact-location-title span {
    display: inline;
    color: var(--aj-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
}

.aj-contact-location-intro {
    max-width: 400px;
    margin: 0 0 4px auto;
    color: var(--aj-text);
    font-size: 17px;
    line-height: 1.65;
}


/* ==========================================
   APPOINTMENT FORM
========================================== */

.aj-contact-form-shell {
    position: relative;
    margin-bottom: 90px;
    overflow: hidden;
    border-top: 1px solid var(--aj-border);
    border-bottom: 1px solid var(--aj-border);
    background: transparent;
}

.aj-contact-form-intro {
    position: relative;
    min-height: 760px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 70px;
    padding: 55px 48px;
    overflow: hidden;
    background: var(--aj-dark);
    color: var(--aj-white);
}

.aj-contact-form-intro::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
}

.aj-contact-form-intro::after {
    content: "";
    position: absolute;
    right: -85px;
    bottom: -95px;
    width: 250px;
    height: 250px;
    border: 42px solid rgba(25, 156, 151, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.aj-contact-form-number,
.aj-contact-form-intro > div,
.aj-contact-form-note {
    position: relative;
    z-index: 2;
}

.aj-contact-form-number {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.aj-contact-form-kicker {
    margin: 0 0 16px;
    color: var(--aj-light-green);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.aj-contact-form-intro h2 {
    max-width: 440px;
    margin: 0 0 24px;
    color: var(--aj-white);
    font-size: clamp(42px, 4vw, 64px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.aj-contact-form-intro > div > p:last-child {
    max-width: 420px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.65;
}

.aj-contact-form-note {
    max-width: 400px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.aj-contact-form-note-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: var(--aj-light-green);
}

.aj-contact-form-note p {
    margin: 3px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.55;
}

.aj-contact-form-panel {
    min-height: 760px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px;
    background: var(--aj-white);
}

.aj-contact-form {
    width: 100%;
}

.aj-contact-form-label {
    display: block;
    margin-bottom: 7px;
    color: var(--aj-dark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.aj-contact-form-label span {
    color: var(--aj-primary);
}

.aj-contact-form-control {
    width: 100%;
    min-height: 58px;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(16, 47, 53, 0.22);
    border-radius: 0;
    outline: none;
    background: transparent;
    color: var(--aj-dark);
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 15px;
    box-shadow: none;
    transition: border-color 0.25s ease;
}

.aj-contact-form-control::placeholder {
    color: rgba(79, 94, 97, 0.52);
}

.aj-contact-form-control:hover {
    border-bottom-color: rgba(25, 156, 151, 0.55);
}

.aj-contact-form-control:focus {
    border-bottom-color: var(--aj-primary);
    background: transparent;
    box-shadow: none;
}

.aj-contact-form-select {
    appearance: none;
    padding-right: 35px;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--aj-dark) 50%),
        linear-gradient(135deg, var(--aj-dark) 50%, transparent 50%);
    background-position:
        calc(100% - 10px) 26px,
        calc(100% - 5px) 26px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.aj-contact-form-textarea {
    min-height: 135px;
    padding-top: 18px;
    resize: vertical;
}

.aj-contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid rgba(16, 47, 53, 0.09);
}

.aj-contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: var(--aj-text);
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.aj-contact-consent input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 1px;
    accent-color: var(--aj-primary);
}

.aj-contact-submit-button {
    min-width: 220px;
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 6px 7px 6px 22px;
    border: 0;
    border-radius: 100px;
    background: var(--aj-primary);
    color: var(--aj-white);
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.aj-contact-submit-button:hover {
    background: var(--aj-primary-dark);
    transform: translateY(-2px);
}

.aj-contact-submit-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--aj-white);
    color: var(--aj-dark);
}

.aj-contact-submit-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}


/* ==========================================
   SUCCESS / ERROR MESSAGES
========================================== */

.aj-contact-success-message,
.aj-contact-message {
    width: 100%;
    margin-top: 28px;
    padding: 18px 20px;
    border-left: 3px solid var(--aj-primary);
    background: var(--aj-light-green-soft);
    color: var(--aj-dark);
    font-size: 14px;
    line-height: 1.6;
}

.aj-contact-success-message[hidden] {
    display: none;
}

.aj-contact-success-message strong {
    display: block;
    margin-bottom: 5px;
    color: var(--aj-dark);
    font-size: 16px;
}

.aj-contact-success-message p {
    margin: 0;
    color: var(--aj-text);
}

.aj-contact-message-success {
    border-color: var(--aj-primary);
    background: var(--aj-light-green-soft);
    color: var(--aj-dark);
}

.aj-contact-message-error {
    border-color: #c94b4b;
    background: #fff1f1;
    color: #8b2f2f;
}


/* ==========================================
   LOCATION SECTIONS
========================================== */

.aj-contact-location-shell {
    position: relative;
    margin-bottom: 75px;
    overflow: hidden;
    border-top: 1px solid var(--aj-border);
    border-bottom: 1px solid var(--aj-border);
    background: transparent;
}

.aj-contact-location-shell:last-of-type {
    margin-bottom: 70px;
}

.aj-contact-info-panel {
    position: relative;
    min-height: 720px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 55px 48px;
    overflow: hidden;
    background: var(--aj-light-green-soft);
    color: var(--aj-dark);
}

.aj-contact-location-shell-alt .aj-contact-info-panel {
    background: #f5faf8;
}

.aj-contact-info-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(16, 47, 53, 0.1);
}

.aj-contact-info-panel::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -95px;
    width: 230px;
    height: 230px;
    border: 40px solid rgba(25, 156, 151, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.aj-contact-panel-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 70px;
}

.aj-contact-panel-number {
    color: rgba(16, 47, 53, 0.58);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.aj-contact-panel-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 47, 53, 0.18);
    border-radius: 50%;
    color: var(--aj-dark);
}

.aj-contact-info-content {
    position: relative;
    z-index: 2;
}

.aj-contact-eyebrow {
    margin: 0 0 16px;
    color: var(--aj-primary-dark);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.aj-contact-info-panel h2 {
    max-width: 390px;
    margin: 0 0 24px;
    color: var(--aj-dark);
    font-size: clamp(38px, 3.3vw, 54px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.045em;
}

.aj-contact-info-panel h2 span {
    display: block;
    color: var(--aj-primary);
}

.aj-contact-address {
    margin: 0;
    color: var(--aj-text);
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.65;
}

.aj-contact-detail-list {
    margin-top: 36px;
    border-top: 1px solid rgba(16, 47, 53, 0.12);
}

.aj-contact-detail-item {
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(16, 47, 53, 0.12);
    color: var(--aj-dark);
    text-decoration: none;
    transition:
        opacity 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

a.aj-contact-detail-item:hover {
    color: var(--aj-primary-dark);
    opacity: 0.82;
    transform: translateX(4px);
}

.aj-contact-detail-text {
    min-width: 0;
    flex: 1;
}

.aj-contact-detail-text small {
    display: block;
    margin-bottom: 4px;
    color: rgba(79, 94, 97, 0.78);
    font-size: 12px;
    font-weight: 500;
}

.aj-contact-detail-text strong {
    display: block;
    color: var(--aj-dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.aj-contact-detail-arrow {
    color: var(--aj-dark);
    font-size: 18px;
}

.aj-contact-visiting-note {
    position: relative;
    z-index: 2;
    margin: 24px 0 0;
    padding-left: 16px;
    border-left: 2px solid var(--aj-primary);
    color: var(--aj-text);
    font-size: 14px;
    line-height: 1.65;
}

.aj-directions-button {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding: 8px 8px 8px 24px;
    border-radius: 4px;
    background: var(--aj-dark);
    color: var(--aj-white);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.aj-directions-button:hover {
    color: var(--aj-white);
    background: var(--aj-primary-dark);
    transform: translateY(-3px);
}

.aj-directions-button-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: var(--aj-white);
    color: var(--aj-dark);
}


/* ==========================================
   GOOGLE MAP IFRAMES
========================================== */

.aj-map-wrapper {
    position: relative;
    width: 100%;
    min-height: 720px;
    height: 100%;
    overflow: hidden;
    background: var(--aj-light-green-soft);
}

.aj-hospital-map {
    display: block;
    width: 100%;
    min-height: 720px;
    height: 100%;
    border: 0;
    background: var(--aj-light-green-soft);
}

iframe.aj-hospital-map {
    position: absolute;
    inset: 0;
}

.aj-map-bottom-card {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 5;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 15px 16px 15px 22px;
    border-left: 3px solid var(--aj-primary);
    border-radius: 4px;
    background: rgba(16, 47, 53, 0.94);
    color: var(--aj-white);
    box-shadow: 0 12px 30px rgba(16, 47, 53, 0.18);
    backdrop-filter: blur(16px);
}

.aj-map-bottom-card > div {
    min-width: 0;
}

.aj-map-bottom-card > div > span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aj-map-bottom-card strong {
    display: block;
    color: var(--aj-white);
    font-size: 17px;
    font-weight: 500;
}

.aj-map-bottom-card small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    line-height: 1.4;
}

.aj-map-bottom-card a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 17px;
    border-radius: 4px;
    background: var(--aj-light-green);
    color: var(--aj-dark);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.aj-map-bottom-card a:hover {
    color: var(--aj-dark);
    background: var(--aj-white);
    transform: translateY(-2px);
}


/* ==========================================
   PRIMARY CONTACT DISPLAY
========================================== */

.aj-contact-primary-display {
    position: relative;
    padding: 42px 48px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--aj-dark);
    color: var(--aj-white);
}

.aj-contact-primary-display::after {
    content: "";
    position: absolute;
    top: -100px;
    right: -70px;
    width: 240px;
    height: 240px;
    border: 35px solid rgba(128, 196, 145, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.aj-contact-primary-display .row {
    position: relative;
    z-index: 2;
}

.aj-contact-primary-label {
    display: block;
    margin-bottom: 10px;
    color: var(--aj-light-green);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.aj-contact-primary-display a {
    color: var(--aj-white);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.aj-contact-primary-display a:hover {
    color: var(--aj-light-green);
}

.aj-contact-primary-display p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
    line-height: 1.65;
}


/* ==========================================
   HONEYPOT
========================================== */

.aj-contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (min-width: 1400px) {
    .aj-contact-location-section > .container {
        max-width: 1450px;
    }
}

@media (max-width: 1199.98px) {
    .aj-contact-form-intro,
    .aj-contact-info-panel {
        padding: 45px 36px;
    }

    .aj-contact-form-panel {
        padding: 45px 38px;
    }
}

@media (max-width: 991.98px) {
    .aj-contact-location-section {
        padding: 80px 0 90px;
    }

    .aj-contact-location-header {
        margin-bottom: 50px;
    }

    .aj-contact-location-intro {
        margin-left: 0;
    }

    .aj-contact-form-shell {
        margin-bottom: 65px;
        border-top: 0;
    }

    .aj-contact-form-intro,
    .aj-contact-form-panel,
    .aj-contact-info-panel {
        min-height: auto;
        padding: 45px 38px;
    }

    .aj-contact-form-panel {
        border-bottom: 1px solid var(--aj-border);
    }

    .aj-contact-form-intro::before,
    .aj-contact-info-panel::before {
        display: none;
    }

    .aj-contact-location-shell {
        margin-bottom: 60px;
    }

    .aj-contact-panel-top {
        margin-bottom: 55px;
    }

    .aj-directions-button {
        margin-top: 40px;
    }

    .aj-map-wrapper,
    .aj-hospital-map {
        min-height: 560px;
        height: 560px;
    }

    .aj-contact-primary-display {
        padding: 36px 38px;
    }
}

@media (max-width: 767.98px) {
    .aj-contact-location-section {
        padding: 106px 0 75px;
    }

    .aj-contact-location-section > .container {
        width: 100%;
        max-width: 100%;
        padding-right: 18px;
        padding-left: 18px;
    }

    .aj-contact-location-header {
        margin-bottom: 40px;
    }

    .aj-section-label {
        margin-bottom: 18px;
        font-size: 12px;
    }

    .aj-contact-location-title {
        font-size: clamp(40px, 12vw, 62px);
        line-height: 1;
        letter-spacing: -0.045em;
    }

    .aj-contact-location-intro {
        font-size: 16px;
    }

    .aj-contact-form-shell,
    .aj-contact-location-shell {
        margin-right: 0;
        margin-left: 0;
    }

    .aj-contact-form-intro {
        padding: 38px 24px;
        gap: 45px;
    }

    .aj-contact-form-panel,
    .aj-contact-info-panel {
        padding: 38px 24px;
    }

    .aj-contact-form-intro h2 {
        font-size: 40px;
    }

    .aj-contact-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .aj-contact-submit-button {
        width: 100%;
        min-width: 0;
    }

    .aj-contact-panel-top {
        margin-bottom: 45px;
    }

    .aj-contact-info-panel h2 {
        font-size: 39px;
    }

    .aj-map-wrapper,
    .aj-hospital-map {
        min-height: 500px;
        height: 500px;
    }

    .aj-map-bottom-card {
        right: 14px;
        bottom: 14px;
        left: 14px;
        gap: 14px;
    }

    .aj-map-bottom-card strong {
        font-size: 15px;
    }

    .aj-map-bottom-card small {
        max-width: 330px;
    }

    .aj-contact-primary-display {
        padding: 32px 26px;
    }

    .aj-contact-primary-display a {
        font-size: 31px;
    }
}

@media (max-width: 575.98px) {
    .aj-contact-location-section {
        padding: 90px 0 65px;
    }

    .aj-contact-location-title {
        font-size: 38px;
    }

    .aj-contact-form-intro,
    .aj-contact-form-panel,
    .aj-contact-info-panel {
        padding-right: 20px;
        padding-left: 20px;
    }

    .aj-contact-form-intro h2 {
        font-size: 35px;
    }

    .aj-contact-info-panel h2 {
        font-size: 34px;
    }

    .aj-contact-address {
        font-size: 15px;
    }

    .aj-contact-detail-item {
        gap: 11px;
    }

    .aj-contact-detail-text strong {
        font-size: 14px;
    }

    .aj-map-wrapper,
    .aj-hospital-map {
        min-height: 460px;
        height: 460px;
    }

    .aj-map-bottom-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px;
    }

    .aj-map-bottom-card > div > span {
        display: none;
    }

    .aj-map-bottom-card strong {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.3;
    }

    .aj-map-bottom-card small {
        font-size: 11px;
    }

    .aj-map-bottom-card a {
        width: 100%;
        justify-content: center;
        padding: 11px 12px;
        font-size: 12px;
    }

    .aj-contact-primary-display {
        padding: 28px 22px;
    }

    .aj-contact-primary-display a {
        font-size: 27px;
    }

    .aj-contact-primary-display p {
        font-size: 16px;
    }
}

@media (max-width: 374.98px) {
    .aj-contact-location-title {
        font-size: 35px;
    }

    .aj-contact-form-intro h2,
    .aj-contact-info-panel h2 {
        font-size: 32px;
    }

    .aj-contact-submit-button {
        font-size: 13px;
    }

    .aj-map-wrapper,
    .aj-hospital-map {
        min-height: 430px;
        height: 430px;
    }

    .aj-contact-primary-display a {
        font-size: 24px;
    }
}


/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
    .ajContactPage *,
    .ajContactPage *::before,
    .ajContactPage *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}






















/* =========================================
   AJ ORTHO CARE SERVICES
========================================= */

:root {
    --aj-primary: #199c97;
    --aj-primary-dark: #126f6c;
    --aj-light-green: #80c491;
    --aj-light-green-soft: #edf8f4;
    --aj-dark: #102f35;
    --aj-black: #101010;
    --aj-white: #ffffff;
    --aj-text: #4f5e61;
    --aj-border: rgba(16, 47, 53, 0.10);
}

/* =========================================
   SECTION BASE
========================================= */

.ajServices,
.ajServices * {
    box-sizing: border-box;
}

.ajServices {
    position: relative;
    width: 100%;
    padding: 120px 0;
    overflow: hidden;
    background-color: var(--aj-white);
    color: var(--aj-dark);
    font-family: "Bai Jamjuree", sans-serif;
}

/* =========================================
   INTRO
========================================= */

.ajServicesIntro {
    max-width: 1350px;
    margin-bottom: 90px;
}

.ajServicesLabel {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 34px;
    padding: 7px 14px;
    border: 1px solid rgba(16, 47, 53, 0.28);
    border-radius: 100px;
    color: var(--aj-dark);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
}

.ajServicesLabelDot {
    display: block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background-color: var(--aj-primary);
}

.ajServicesTitle {
    max-width: 1250px;
    margin: 0;
    color: var(--aj-dark);
    font-size: clamp(58px, 7.8vw, 128px);
    font-weight: 500;
    line-height: 0.88;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.ajServicesTitle span {
    display: block;
    color: var(--aj-primary);
    font-weight: 400;
}

.ajServicesIntroText {
    max-width: 620px;
    margin: 42px 0 0 auto;
    color: var(--aj-text);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.55;
}

/* =========================================
   SERVICES LIST
========================================= */

.ajServicesList {
    position: relative;
    width: 100%;
}

.ajServiceItem {
    position: relative;
    width: 100%;
    padding: 60px 0;
    border-top: 1px solid var(--aj-border);
}

.ajServiceItem:last-child {
    padding-bottom: 0;
}

.ajServiceItem .row {
    --bs-gutter-x: 0;
}

/* =========================================
   SERVICE IMAGE
========================================= */

.ajServiceImageWrap {
    position: relative;
    width: 100%;
    height: min(76vh, 760px);
    min-height: 600px;
    overflow: hidden;
    border-radius: 2px;
    background-color: var(--aj-light-green-soft);
}

.ajServiceImage {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        transform 0.9s cubic-bezier(0.2, 0.75, 0.3, 1),
        filter 0.9s ease;
}

.ajServiceItem:hover .ajServiceImage {
    transform: scale(1.035);
}

.ajServiceNumber {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 34px;
    padding: 0 13px;
    border-radius: 100px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--aj-dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* =========================================
   SERVICE CONTENT
========================================= */

.ajServiceContent {
    display: flex;
    min-height: 600px;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 70px 30px 70px clamp(55px, 7vw, 115px);
}

.ajServiceMeta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--aj-border);
    color: var(--aj-primary-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ajServiceTitle {
    margin: 0 0 31px;
    color: var(--aj-dark);
    font-size: clamp(52px, 5vw, 90px);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.ajServiceDescription {
    max-width: 650px;
    margin: 0 0 34px;
    color: var(--aj-text);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.58;
}

.ajServiceFeatures {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    max-width: 620px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ajServiceFeatures li {
    position: relative;
    margin: 0;
    padding-left: 25px;
    color: var(--aj-dark);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
}

.ajServiceFeatures li::before {
    content: "";
    position: absolute;
    top: 0.64em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--aj-primary);
    transform: translateY(-50%);
}

/* =========================================
   ALTERNATING ROWS
========================================= */

@media (min-width: 992px) {

    .ajServiceItem:nth-child(even) .row {
        flex-direction: row-reverse;
    }

    .ajServiceItem:nth-child(even) .ajServiceContent {
        padding-right: clamp(55px, 7vw, 115px);
        padding-left: 30px;
    }

    .ajServiceImageWrap {
        position: sticky;
        top: 105px;
    }
}

/* =========================================
   LARGE SCREENS
========================================= */

@media (min-width: 1400px) {

    .ajServices > .container {
        max-width: 1450px;
    }

    .ajServiceContent {
        padding-left: 105px;
    }

    .ajServiceItem:nth-child(even) .ajServiceContent {
        padding-right: 105px;
    }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1199.98px) {

    .ajServices {
        padding: 100px 0;
    }

    .ajServicesIntro {
        margin-bottom: 70px;
    }

    .ajServicesTitle {
        font-size: clamp(55px, 8vw, 95px);
    }

    .ajServicesIntroText {
        margin-top: 34px;
    }

    .ajServiceImageWrap {
        min-height: 530px;
        height: 680px;
    }

    .ajServiceContent {
        min-height: 530px;
        padding: 55px 25px 55px 65px;
    }

    .ajServiceItem:nth-child(even) .ajServiceContent {
        padding-right: 65px;
    }
}

/* =========================================
   TABLET AND MOBILE STACK
========================================= */

@media (max-width: 991.98px) {

    .ajServices {
        padding: 85px 0;
    }

    .ajServicesIntro {
        margin-bottom: 50px;
    }

    .ajServicesIntroText {
        max-width: 680px;
        margin: 30px 0 0;
    }

    .ajServiceItem {
        padding: 45px 0;
    }

    .ajServiceImageWrap {
        position: relative;
        top: auto;
        height: 560px;
        min-height: 0;
    }

    .ajServiceContent,
    .ajServiceItem:nth-child(even) .ajServiceContent {
        min-height: 0;
        padding: 48px 0 15px;
    }

    .ajServiceMeta {
        margin-bottom: 28px;
    }

    .ajServiceTitle {
        margin-bottom: 25px;
    }

    .ajServiceDescription {
        max-width: 760px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

    .ajServices {
        padding: 107px 0;
    }

    .ajServicesLabel {
        margin-bottom: 25px;
        font-size: 13px;
    }

    .ajServicesTitle {
        font-size: clamp(47px, 14vw, 72px);
        line-height: 0.92;
        letter-spacing: -0.055em;
    }

    .ajServicesIntroText {
        margin-top: 25px;
        font-size: 17px;
        line-height: 1.55;
    }

    .ajServiceItem {
        padding: 36px 0;
    }

    .ajServiceImageWrap {
        height: 470px;
    }

    .ajServiceContent,
    .ajServiceItem:nth-child(even) .ajServiceContent {
        padding-top: 35px;
    }

    .ajServiceMeta {
        margin-bottom: 23px;
        padding-bottom: 13px;
        font-size: 11px;
    }

    .ajServiceTitle {
        margin-bottom: 21px;
        font-size: clamp(43px, 12vw, 62px);
    }

    .ajServiceDescription {
        margin-bottom: 27px;
        font-size: 16px;
        line-height: 1.6;
    }

    .ajServiceFeatures {
        gap: 9px;
    }

    .ajServiceFeatures li {
        padding-left: 22px;
        font-size: 15px;
    }

    .ajServiceNumber {
        top: 18px;
        left: 18px;
        min-width: 48px;
        height: 31px;
        font-size: 12px;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 575.98px) {

    .ajServices {
        padding: 87px 0;
    }

    .ajServices > .container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .ajServicesTitle {
        font-size: clamp(42px, 13.5vw, 61px);
    }

    .ajServiceImageWrap {
        height: 390px;
    }

    .ajServiceTitle {
        font-size: clamp(40px, 12vw, 55px);
    }
}

/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .ajServiceImage {
        transition: none;
    }

    .ajServiceItem:hover .ajServiceImage {
        transform: none;
    }
}
























































/* =========================================
   AJ ORTHO CARE ARTHRITIS CATEGORY PAGE
========================================= */

:root {
    --aj-primary: #199c97;
    --aj-primary-dark: #126f6c;
    --aj-light-green: #80c491;
    --aj-light-green-soft: #edf8f4;
    --aj-dark: #102f35;
    --aj-black: #101010;
    --aj-white: #ffffff;
    --aj-text: #4f5e61;
    --aj-border: rgba(16, 47, 53, 0.10);
    --aj-border-strong: rgba(16, 47, 53, 0.24);
}


/* =========================================
   SECTION BASE
========================================= */

.ajArthritisCategory,
.ajArthritisCategory * {
    box-sizing: border-box;
}

.ajArthritisCategory {
    position: relative;
    width: 100%;
    padding: 120px 0;
    overflow: hidden;
    background-color: var(--aj-white);
    color: var(--aj-dark);
    font-family: "Bai Jamjuree", sans-serif;
}


/* =========================================
   PAGE INTRODUCTION
========================================= */

.ajArthritisCategoryIntro {
    max-width: 1350px;
    margin-bottom: 90px;
}

.ajArthritisCategoryLabel {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 34px;
    padding: 8px 15px;
    border: 1px solid var(--aj-border-strong);
    border-radius: 100px;
    color: var(--aj-dark);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
}

.ajArthritisCategoryLabelDot {
    display: block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background-color: var(--aj-primary);
}

.ajArthritisCategoryTitle {
    max-width: 1300px;
    margin: 0;
    color: var(--aj-dark);
    font-size: clamp(58px, 7.8vw, 128px);
    font-weight: 500;
    line-height: 0.88;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.ajArthritisCategoryTitle span {
    display: block;
    color: var(--aj-primary);
    font-weight: 400;
}

.ajArthritisCategoryLead {
    max-width: 650px;
    margin: 42px 0 0 auto;
    color: var(--aj-text);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.58;
}


/* =========================================
   SERVICES LIST
========================================= */

.ajArthritisCategoryList {
    position: relative;
    width: 100%;
}

.ajArthritisCategoryItem {
    position: relative;
    width: 100%;
    padding: 60px 0;
    border-top: 1px solid var(--aj-border);
}

.ajArthritisCategoryItem:last-child {
    padding-bottom: 0;
}

.ajArthritisCategoryItem .row {
    --bs-gutter-x: 0;
}


/* =========================================
   SERVICE IMAGE
========================================= */

.ajArthritisCategoryImageWrap {
    position: relative;
    width: 100%;
    height: min(76vh, 760px);
    min-height: 620px;
    overflow: hidden;
    border-radius: 3px;
    background-color: var(--aj-light-green-soft);
}

.ajArthritisCategoryImage {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        transform 0.9s cubic-bezier(0.2, 0.75, 0.3, 1),
        filter 0.9s ease;
}

.ajArthritisCategoryItem:hover
.ajArthritisCategoryImage {
    transform: scale(1.035);
}

.ajArthritisCategoryNumber {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 2;
    display: inline-flex;
    min-width: 54px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 100px;
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--aj-dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* =========================================
   SERVICE CONTENT
========================================= */

.ajArthritisCategoryContent {
    display: flex;
    min-height: 620px;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 70px 30px 70px clamp(55px, 7vw, 115px);
}

.ajArthritisCategoryMeta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--aj-border);
    color: var(--aj-primary-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ajArthritisCategoryServiceTitle {
    max-width: 740px;
    margin: 0 0 31px;
    color: var(--aj-dark);
    font-size: clamp(52px, 5vw, 88px);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.ajArthritisCategoryDescription {
    max-width: 650px;
    margin: 0 0 34px;
    color: var(--aj-text);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.62;
}

.ajArthritisCategoryFeatures {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    max-width: 640px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ajArthritisCategoryFeatures li {
    position: relative;
    margin: 0;
    padding-left: 25px;
    color: var(--aj-dark);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
}

.ajArthritisCategoryFeatures li::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--aj-primary);
    transform: translateY(-50%);
}


/* =========================================
   EXPLORE SERVICE BUTTON
========================================= */

.ajArthritisCategoryButton {
    display: inline-flex;
    width: fit-content;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 39px;
    padding: 11px 12px 11px 29px;
    border: 1px solid var(--aj-dark);
    border-radius: 100px;
    background-color: var(--aj-dark);
    color: var(--aj-white);
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.ajArthritisCategoryButtonIcon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--aj-white);
    color: var(--aj-dark);
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.ajArthritisCategoryButtonIcon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.ajArthritisCategoryButton:hover {
    border-color: var(--aj-primary);
    background-color: var(--aj-primary);
    color: var(--aj-white);
    transform: translateY(-2px);
}

.ajArthritisCategoryButton:hover
.ajArthritisCategoryButtonIcon {
    background-color: var(--aj-white);
    color: var(--aj-primary-dark);
    transform: translateX(3px);
}

.ajArthritisCategoryButton:focus-visible {
    outline: 3px solid rgba(25, 156, 151, 0.3);
    outline-offset: 4px;
}


/* =========================================
   ALTERNATING DESKTOP LAYOUT
========================================= */

@media (min-width: 992px) {

    .ajArthritisCategoryItem:nth-child(even) .row {
        flex-direction: row-reverse;
    }

    .ajArthritisCategoryItem:nth-child(even)
    .ajArthritisCategoryContent {
        padding-right: clamp(55px, 7vw, 115px);
        padding-left: 30px;
    }

}


/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1400px) {

    .ajArthritisCategory > .container {
        max-width: 1450px;
    }

    .ajArthritisCategoryContent {
        padding-left: 105px;
    }

    .ajArthritisCategoryItem:nth-child(even)
    .ajArthritisCategoryContent {
        padding-right: 105px;
    }

}


/* =========================================
   SMALL DESKTOP
========================================= */

@media (max-width: 1199.98px) {

    .ajArthritisCategory {
        padding: 100px 0;
    }

    .ajArthritisCategoryIntro {
        margin-bottom: 70px;
    }

    .ajArthritisCategoryTitle {
        font-size: clamp(55px, 8vw, 95px);
    }

    .ajArthritisCategoryLead {
        margin-top: 34px;
    }

    .ajArthritisCategoryImageWrap {
        height: 680px;
        min-height: 540px;
    }

    .ajArthritisCategoryContent {
        min-height: 540px;
        padding: 55px 25px 55px 65px;
    }

    .ajArthritisCategoryItem:nth-child(even)
    .ajArthritisCategoryContent {
        padding-right: 65px;
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {

    .ajArthritisCategory {
        padding: 85px 0;
    }

    .ajArthritisCategoryIntro {
        margin-bottom: 50px;
    }

    .ajArthritisCategoryLead {
        max-width: 700px;
        margin: 30px 0 0;
    }

    .ajArthritisCategoryItem {
        padding: 45px 0;
    }

    .ajArthritisCategoryImageWrap {
        height: 560px;
        min-height: 0;
    }

    .ajArthritisCategoryContent,
    .ajArthritisCategoryItem:nth-child(even)
    .ajArthritisCategoryContent {
        min-height: 0;
        padding: 48px 0 15px;
    }

    .ajArthritisCategoryMeta {
        margin-bottom: 28px;
    }

    .ajArthritisCategoryServiceTitle {
        margin-bottom: 25px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

    .ajArthritisCategory {
        padding: 90px 0;
    }

    .ajArthritisCategory > .container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .ajArthritisCategoryLabel {
        margin-bottom: 25px;
        font-size: 13px;
    }

    .ajArthritisCategoryTitle {
        font-size: clamp(47px, 14vw, 72px);
        line-height: 0.92;
        letter-spacing: -0.055em;
    }

    .ajArthritisCategoryLead {
        margin-top: 25px;
        font-size: 17px;
        line-height: 1.58;
    }

    .ajArthritisCategoryItem {
        padding: 36px 0;
    }

    .ajArthritisCategoryImageWrap {
        height: 470px;
    }

    .ajArthritisCategoryContent,
    .ajArthritisCategoryItem:nth-child(even)
    .ajArthritisCategoryContent {
        padding-top: 35px;
    }

    .ajArthritisCategoryMeta {
        margin-bottom: 23px;
        padding-bottom: 13px;
        font-size: 11px;
    }

    .ajArthritisCategoryServiceTitle {
        margin-bottom: 21px;
        font-size: clamp(43px, 12vw, 62px);
    }

    .ajArthritisCategoryDescription {
        margin-bottom: 27px;
        font-size: 16px;
        line-height: 1.62;
    }

    .ajArthritisCategoryFeatures {
        gap: 9px;
    }

    .ajArthritisCategoryFeatures li {
        padding-left: 22px;
        font-size: 15px;
    }

    .ajArthritisCategoryNumber {
        top: 18px;
        left: 18px;
        min-width: 48px;
        height: 31px;
        font-size: 12px;
    }

    .ajArthritisCategoryButton {
        min-height: 58px;
        gap: 18px;
        margin-top: 30px;
        padding: 9px 10px 9px 23px;
        font-size: 14px;
    }

    .ajArthritisCategoryButtonIcon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 575.98px) {

    .ajArthritisCategory {
        padding: 100px 0;
    }

    .ajArthritisCategoryTitle {
        font-size: clamp(42px, 13.5vw, 61px);
    }

    .ajArthritisCategoryImageWrap {
        height: 390px;
    }

    .ajArthritisCategoryServiceTitle {
        font-size: clamp(40px, 12vw, 55px);
    }

    .ajArthritisCategoryButton {
        width: 100%;
        justify-content: space-between;
    }

}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .ajArthritisCategoryImage,
    .ajArthritisCategoryButton,
    .ajArthritisCategoryButtonIcon {
        transition: none;
    }

    .ajArthritisCategoryItem:hover
    .ajArthritisCategoryImage {
        transform: none;
    }

}





















































/* =========================================
   AJ ORTHO CARE KNEE REPLACEMENT INNER PAGE
   BANNER + CONTENT + SECOND OPINION CTA
========================================= */

:root {
    --aj-primary: #199c97;
    --aj-primary-dark: #126f6c;
    --aj-light-green: #80c491;
    --aj-light-green-soft: #edf8f4;
    --aj-dark: #102f35;
    --aj-black: #101010;
    --aj-white: #ffffff;
    --aj-text: #4f5e61;
    --aj-border: rgba(16, 47, 53, 0.12);
    --aj-border-dark: rgba(16, 47, 53, 0.24);
}


/* =========================================
   PAGE BASE
========================================= */

.ajKneeReplacementInnerPage,
.ajKneeReplacementInnerPage * {
    box-sizing: border-box;
}

.ajKneeReplacementInnerPage {
    width: 100%;
    overflow: hidden;
    background-color: var(--aj-white);
    color: var(--aj-dark);
    font-family: "Bai Jamjuree", sans-serif;
}

.ajKneeReplacementInnerPage img {
    display: block;
    width: 100%;
    max-width: 100%;
}


/* =========================================
   HERO SECTION
========================================= */

.ajKneeReplacementInnerHero {
    position: relative;
    width: 100%;
    padding: 80px 0 60px;
    overflow: hidden;
    background-color: var(--aj-white);
}

.ajKneeReplacementInnerHero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -140px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background-color: rgba(128, 196, 145, 0.12);
    pointer-events: none;
}

.ajKneeReplacementInnerHeroContent {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 45px;
    padding-left: 45px;
}

.ajKneeReplacementInnerHeroLabel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--aj-primary-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ajKneeReplacementInnerHeroLabel span {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background-color: var(--aj-primary);
}

.ajKneeReplacementInnerTitle {
    width: 100%;
    max-width: 1000px;
    margin: 0;
    color: var(--aj-dark);
    font-size: clamp(58px, 8vw, 118px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.065em;
}

.ajKneeReplacementInnerTitle span {
    display: block;
    color: var(--aj-primary);
}


/* =========================================
   BANNER IMAGE SECTION
========================================= */

.ajKneeReplacementInnerBanner {
    width: 100%;
    padding: 0 0 70px;
    background-color: var(--aj-white);
}

.ajKneeReplacementInnerBannerImage {
    position: relative;
    width: 100%;
    max-width: 1320px;
    height: clamp(430px, 52vw, 680px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
    background-color: var(--aj-light-green-soft);
}

.ajKneeReplacementInnerBannerImage::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(16, 47, 53, 0) 55%,
            rgba(16, 47, 53, 0.12) 100%
        );
    pointer-events: none;
}

.ajKneeReplacementInnerBannerImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =========================================
   CONTENT SECTION
========================================= */

.ajKneeReplacementInnerContent {
    width: 100%;
    padding: 0 0 75px;
    background-color: var(--aj-white);
}

.ajKneeReplacementInnerArticle {
    width: 100%;
    /* max-width: 940px; */
    margin-right: auto;
    margin-left: auto;
    padding-right: 30px;
    padding-left: 30px;
}


/* =========================================
   CONTENT LABEL
========================================= */

.ajKneeReplacementInnerContentLabel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--aj-primary-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ajKneeReplacementInnerContentLabel span {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background-color: var(--aj-primary);
}


/* =========================================
   MAIN CONTENT HEADING
========================================= */

.ajKneeReplacementInnerArticle h2 {
    width: 100%;
    max-width: 850px;
    margin: 0 0 32px;
    color: var(--aj-dark);
    font-size: clamp(42px, 4.5vw, 68px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-align: left;
}


/* =========================================
   CONTENT SUBHEADINGS
========================================= */

.ajKneeReplacementInnerArticle h3 {
    width: 100%;
    margin: 45px 0 20px;
    padding-top: 28px;
    border-top: 1px solid var(--aj-border-dark);
    color: var(--aj-dark);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.035em;
    text-align: left;
}


/* =========================================
   PARAGRAPHS
========================================= */

.ajKneeReplacementInnerArticle p {
    width: 100%;
    max-width: 820px;
    margin: 0;
    color: var(--aj-text);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.72;
    text-align: left;
}

.ajKneeReplacementInnerArticle p + p {
    margin-top: 18px;
}


/* =========================================
   LIST
========================================= */

.ajKneeReplacementInnerArticle ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    width: 100%;
    margin: 26px 0 0;
    padding: 0;
    border-top: 1px solid var(--aj-border);
    list-style: none;
}

.ajKneeReplacementInnerArticle li {
    position: relative;
    min-height: 62px;
    padding: 18px 10px 18px 24px;
    border-bottom: 1px solid var(--aj-border);
    color: var(--aj-dark);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
}

.ajKneeReplacementInnerArticle li::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--aj-primary);
}


/* =========================================
   SECOND OPINION CTA
========================================= */

.ajKneeReplacementInnerCta {
    width: 100%;
    padding: 15px 0 90px;
    background-color: var(--aj-white);
}

.ajKneeReplacementInnerCtaBox {
    position: relative;
    overflow: hidden;
    padding: 65px 60px;
    border-radius: 18px;
    background-color: var(--aj-dark);
}

.ajKneeReplacementInnerCtaBox::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -90px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background-color: rgba(128, 196, 145, 0.12);
    pointer-events: none;
}

.ajKneeReplacementInnerCtaBox::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -130px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background-color: rgba(25, 156, 151, 0.1);
    pointer-events: none;
}

.ajKneeReplacementInnerCtaContent,
.ajKneeReplacementInnerCtaAction {
    position: relative;
    z-index: 1;
}

.ajKneeReplacementInnerCtaContent > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--aj-light-green);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ajKneeReplacementInnerCtaContent > span::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background-color: var(--aj-light-green);
}

.ajKneeReplacementInnerCtaContent h2 {
    max-width: 720px;
    margin: 0;
    color: var(--aj-white);
    font-size: clamp(42px, 4.5vw, 68px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.ajKneeReplacementInnerCtaContent p {
    max-width: 670px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}

.ajKneeReplacementInnerCtaAction {
    display: flex;
    justify-content: flex-end;
}

.ajKneeReplacementInnerCtaButton {
    display: inline-flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 12px 13px 12px 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    background-color: var(--aj-white);
    color: var(--aj-dark);
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.ajKneeReplacementInnerCtaIcon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--aj-primary);
    color: var(--aj-white);
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

.ajKneeReplacementInnerCtaIcon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.ajKneeReplacementInnerCtaButton:hover {
    border-color: var(--aj-primary);
    background-color: var(--aj-primary);
    color: var(--aj-white);
    transform: translateY(-2px);
}

.ajKneeReplacementInnerCtaButton:hover .ajKneeReplacementInnerCtaIcon {
    background-color: var(--aj-white);
    color: var(--aj-dark);
    transform: translateX(3px);
}

.ajKneeReplacementInnerCtaButton:focus-visible {
    outline: 3px solid rgba(128, 196, 145, 0.45);
    outline-offset: 5px;
}


/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1400px) {

    .ajKneeReplacementInnerHero > .container,
    .ajKneeReplacementInnerBanner > .container,
    .ajKneeReplacementInnerContent > .container,
    .ajKneeReplacementInnerCta > .container {
        max-width: 1450px;
    }

}


/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1199.98px) {

    .ajKneeReplacementInnerHeroContent {
        max-width: 1000px;
        padding-right: 40px;
        padding-left: 40px;
    }

    .ajKneeReplacementInnerBannerImage {
        max-width: 1140px;
    }

    .ajKneeReplacementInnerArticle {
        max-width: 900px;
        padding-right: 30px;
        padding-left: 30px;
    }

    .ajKneeReplacementInnerCtaBox {
        padding: 55px 45px;
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {

    .ajKneeReplacementInnerHero {
        padding: 70px 0 52px;
    }

    .ajKneeReplacementInnerHeroContent {
        max-width: 850px;
        padding-right: 30px;
        padding-left: 30px;
    }

    .ajKneeReplacementInnerBanner {
        padding-bottom: 60px;
    }

    .ajKneeReplacementInnerBannerImage {
        height: 520px;
    }

    .ajKneeReplacementInnerContent {
        padding-bottom: 65px;
    }

    .ajKneeReplacementInnerArticle {
        max-width: 800px;
        padding-right: 25px;
        padding-left: 25px;
    }

    .ajKneeReplacementInnerCta {
        padding-bottom: 75px;
    }

    .ajKneeReplacementInnerCtaBox {
        padding: 50px 40px;
    }

    .ajKneeReplacementInnerCtaAction {
        justify-content: flex-start;
        margin-top: 12px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

    .ajKneeReplacementInnerHero .container,
    .ajKneeReplacementInnerBanner .container,
    .ajKneeReplacementInnerContent .container,
    .ajKneeReplacementInnerCta .container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .ajKneeReplacementInnerHero {
        padding: 55px 0 42px;
    }

    .ajKneeReplacementInnerHero::before {
        top: -130px;
        right: -180px;
        width: 340px;
        height: 340px;
    }

    .ajKneeReplacementInnerHeroContent {
        max-width: 100%;
        padding-right: 6px;
        padding-left: 6px;
    }

    .ajKneeReplacementInnerHeroLabel {
        margin-bottom: 18px;
        font-size: 11px;
    }

    .ajKneeReplacementInnerTitle {
        font-size: clamp(48px, 15vw, 74px);
        line-height: 0.93;
        letter-spacing: -0.055em;
    }

    .ajKneeReplacementInnerBanner {
        padding-bottom: 48px;
    }

    .ajKneeReplacementInnerBannerImage {
        height: 390px;
        border-radius: 3px;
    }

    .ajKneeReplacementInnerContent {
        padding-bottom: 55px;
    }

    .ajKneeReplacementInnerArticle {
        max-width: 100%;
        padding-right: 6px;
        padding-left: 6px;
    }

    .ajKneeReplacementInnerContentLabel {
        margin-bottom: 18px;
        font-size: 11px;
    }

    .ajKneeReplacementInnerArticle h2 {
        margin-bottom: 28px;
        font-size: clamp(36px, 10vw, 52px);
        line-height: 1.05;
    }

    .ajKneeReplacementInnerArticle h3 {
        margin-top: 38px;
        padding-top: 24px;
        font-size: clamp(27px, 8vw, 35px);
    }

    .ajKneeReplacementInnerArticle p {
        font-size: 16px;
        line-height: 1.68;
    }

    .ajKneeReplacementInnerArticle p + p {
        margin-top: 16px;
    }

    .ajKneeReplacementInnerArticle ul {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 22px;
    }

    .ajKneeReplacementInnerArticle li {
        min-height: 56px;
        padding: 16px 8px 16px 22px;
        font-size: 15px;
    }

    .ajKneeReplacementInnerArticle li::before {
        top: 24px;
    }

    .ajKneeReplacementInnerCta {
        padding: 5px 0 65px;
    }

    .ajKneeReplacementInnerCtaBox {
        padding: 42px 28px;
        border-radius: 14px;
    }

    .ajKneeReplacementInnerCtaContent h2 {
        font-size: clamp(36px, 10vw, 50px);
        line-height: 1.05;
    }

    .ajKneeReplacementInnerCtaContent p {
        margin-top: 18px;
        font-size: 15px;
    }

    .ajKneeReplacementInnerCtaAction {
        margin-top: 8px;
    }

    .ajKneeReplacementInnerCtaButton {
        width: 100%;
        min-height: 60px;
        justify-content: space-between;
        padding-left: 22px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 575.98px) {

    .ajKneeReplacementInnerHeroContent,
    .ajKneeReplacementInnerArticle {
        padding-right: 0;
        padding-left: 0;
    }

    .ajKneeReplacementInnerBannerImage {
        height: 315px;
    }

    .ajKneeReplacementInnerCtaBox {
        padding: 38px 22px;
    }

}


/* =========================================
   EXTRA SMALL MOBILE
========================================= */

@media (max-width: 374.98px) {

    .ajKneeReplacementInnerTitle {
        font-size: 43px;
    }

    .ajKneeReplacementInnerBannerImage {
        height: 270px;
    }

    .ajKneeReplacementInnerArticle h2 {
        font-size: 34px;
    }

    .ajKneeReplacementInnerArticle h3 {
        font-size: 26px;
    }

    .ajKneeReplacementInnerCtaContent h2 {
        font-size: 33px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .ajKneeReplacementInnerPage *,
    .ajKneeReplacementInnerPage *::before,
    .ajKneeReplacementInnerPage *::after {
        scroll-behavior: auto;
        transition: none;
    }

}


/* =========================================
   CONTENT EMPHASIS
========================================= */

.ajKneeReplacementInnerListIntro {
    margin-top: 24px !important;
    color: var(--aj-dark) !important;
}

.ajKneeReplacementInnerListIntro strong {
    font-weight: 600;
}










































/* =========================================
   AJ ORTHO CARE KNEE REPLACEMENT INNER PAGE
   BANNER + CONTENT + SECOND OPINION CTA
========================================= */

:root {
    --aj-primary: #199c97;
    --aj-primary-dark: #126f6c;
    --aj-light-green: #80c491;
    --aj-light-green-soft: #edf8f4;
    --aj-dark: #102f35;
    --aj-black: #101010;
    --aj-white: #ffffff;
    --aj-text: #4f5e61;
    --aj-border: rgba(16, 47, 53, 0.12);
    --aj-border-dark: rgba(16, 47, 53, 0.24);
}


/* =========================================
   PAGE BASE
========================================= */

.ajKneeReplacementInnerPage,
.ajKneeReplacementInnerPage * {
    box-sizing: border-box;
}

.ajKneeReplacementInnerPage {
    width: 100%;
    overflow: hidden;
    background-color: var(--aj-white);
    color: var(--aj-dark);
    font-family: "Bai Jamjuree", sans-serif;
}

.ajKneeReplacementInnerPage img {
    display: block;
    width: 100%;
    max-width: 100%;
}


/* =========================================
   HERO SECTION
========================================= */

.ajKneeReplacementInnerHero {
    position: relative;
    width: 100%;
    padding: 80px 0 60px;
    overflow: hidden;
    background-color: var(--aj-white);
}

.ajKneeReplacementInnerHero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -140px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background-color: rgba(128, 196, 145, 0.12);
    pointer-events: none;
}

.ajKneeReplacementInnerHeroContent {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 45px;
    padding-left: 45px;
}

.ajKneeReplacementInnerHeroLabel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--aj-primary-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ajKneeReplacementInnerHeroLabel span {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background-color: var(--aj-primary);
}

.ajKneeReplacementInnerTitle {
    width: 100%;
    max-width: 1000px;
    margin: 0;
    color: var(--aj-dark);
    font-size: clamp(58px, 8vw, 118px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.065em;
}

.ajKneeReplacementInnerTitle span {
    display: block;
    color: var(--aj-primary);
}


/* =========================================
   BANNER IMAGE SECTION
========================================= */

.ajKneeReplacementInnerBanner {
    width: 100%;
    padding: 0 0 70px;
    background-color: var(--aj-white);
}

.ajKneeReplacementInnerBannerImage {
    position: relative;
    width: 100%;
    max-width: 1320px;
    height: clamp(430px, 52vw, 680px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
    background-color: var(--aj-light-green-soft);
}

.ajKneeReplacementInnerBannerImage::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(16, 47, 53, 0) 55%,
            rgba(16, 47, 53, 0.12) 100%
        );
    pointer-events: none;
}

.ajKneeReplacementInnerBannerImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =========================================
   CONTENT SECTION
========================================= */

.ajKneeReplacementInnerContent {
    width: 100%;
    padding: 0 0 75px;
    background-color: var(--aj-white);
}

.ajKneeReplacementInnerArticle {
    width: 100%;
    /* max-width: 940px; */
    margin-right: auto;
    margin-left: auto;
    padding-right: 30px;
    padding-left: 30px;
}


/* =========================================
   CONTENT LABEL
========================================= */

.ajKneeReplacementInnerContentLabel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--aj-primary-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ajKneeReplacementInnerContentLabel span {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background-color: var(--aj-primary);
}


/* =========================================
   MAIN CONTENT HEADING
========================================= */

.ajKneeReplacementInnerArticle h2 {
    width: 100%;
    max-width: 850px;
    margin: 0 0 32px;
    color: var(--aj-dark);
    font-size: clamp(42px, 4.5vw, 68px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-align: left;
}


/* =========================================
   CONTENT SUBHEADINGS
========================================= */

.ajKneeReplacementInnerArticle h3 {
    width: 100%;
    margin: 45px 0 20px;
    padding-top: 28px;
    border-top: 1px solid var(--aj-border-dark);
    color: var(--aj-dark);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.035em;
    text-align: left;
}


/* =========================================
   PARAGRAPHS
========================================= */

.ajKneeReplacementInnerArticle p {
    width: 100%;
    max-width: 820px;
    margin: 0;
    color: var(--aj-text);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.72;
    text-align: left;
}

.ajKneeReplacementInnerArticle p + p {
    margin-top: 18px;
}


/* =========================================
   LIST
========================================= */

.ajKneeReplacementInnerArticle ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    width: 100%;
    margin: 26px 0 0;
    padding: 0;
    border-top: 1px solid var(--aj-border);
    list-style: none;
}

.ajKneeReplacementInnerArticle li {
    position: relative;
    min-height: 62px;
    padding: 18px 10px 18px 24px;
    border-bottom: 1px solid var(--aj-border);
    color: var(--aj-dark);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
}

.ajKneeReplacementInnerArticle li::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--aj-primary);
}


/* =========================================
   SECOND OPINION CTA
========================================= */

.ajKneeReplacementInnerCta {
    width: 100%;
    padding: 15px 0 90px;
    background-color: var(--aj-white);
}

.ajKneeReplacementInnerCtaBox {
    position: relative;
    overflow: hidden;
    padding: 65px 60px;
    border-radius: 18px;
    background-color: var(--aj-dark);
}

.ajKneeReplacementInnerCtaBox::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -90px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background-color: rgba(128, 196, 145, 0.12);
    pointer-events: none;
}

.ajKneeReplacementInnerCtaBox::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -130px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background-color: rgba(25, 156, 151, 0.1);
    pointer-events: none;
}

.ajKneeReplacementInnerCtaContent,
.ajKneeReplacementInnerCtaAction {
    position: relative;
    z-index: 1;
}

.ajKneeReplacementInnerCtaContent > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--aj-light-green);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ajKneeReplacementInnerCtaContent > span::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background-color: var(--aj-light-green);
}

.ajKneeReplacementInnerCtaContent h2 {
    max-width: 720px;
    margin: 0;
    color: var(--aj-white);
    font-size: clamp(42px, 4.5vw, 68px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.ajKneeReplacementInnerCtaContent p {
    max-width: 670px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}

.ajKneeReplacementInnerCtaAction {
    display: flex;
    justify-content: flex-end;
}

.ajKneeReplacementInnerCtaButton {
    display: inline-flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 12px 13px 12px 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    background-color: var(--aj-white);
    color: var(--aj-dark);
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.ajKneeReplacementInnerCtaIcon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--aj-primary);
    color: var(--aj-white);
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

.ajKneeReplacementInnerCtaIcon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.ajKneeReplacementInnerCtaButton:hover {
    border-color: var(--aj-primary);
    background-color: var(--aj-primary);
    color: var(--aj-white);
    transform: translateY(-2px);
}

.ajKneeReplacementInnerCtaButton:hover .ajKneeReplacementInnerCtaIcon {
    background-color: var(--aj-white);
    color: var(--aj-dark);
    transform: translateX(3px);
}

.ajKneeReplacementInnerCtaButton:focus-visible {
    outline: 3px solid rgba(128, 196, 145, 0.45);
    outline-offset: 5px;
}


/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1400px) {

    .ajKneeReplacementInnerHero > .container,
    .ajKneeReplacementInnerBanner > .container,
    .ajKneeReplacementInnerContent > .container,
    .ajKneeReplacementInnerCta > .container {
        max-width: 1450px;
    }

}


/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1199.98px) {

    .ajKneeReplacementInnerHeroContent {
        max-width: 1000px;
        padding-right: 40px;
        padding-left: 40px;
    }

    .ajKneeReplacementInnerBannerImage {
        max-width: 1140px;
    }

    .ajKneeReplacementInnerArticle {
        max-width: 900px;
        padding-right: 30px;
        padding-left: 30px;
    }

    .ajKneeReplacementInnerCtaBox {
        padding: 55px 45px;
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {

    .ajKneeReplacementInnerHero {
        padding: 70px 0 52px;
    }

    .ajKneeReplacementInnerHeroContent {
        max-width: 850px;
        padding-right: 30px;
        padding-left: 30px;
    }

    .ajKneeReplacementInnerBanner {
        padding-bottom: 60px;
    }

    .ajKneeReplacementInnerBannerImage {
        height: 520px;
    }

    .ajKneeReplacementInnerContent {
        padding-bottom: 65px;
    }

    .ajKneeReplacementInnerArticle {
        max-width: 800px;
        padding-right: 25px;
        padding-left: 25px;
    }

    .ajKneeReplacementInnerCta {
        padding-bottom: 75px;
    }

    .ajKneeReplacementInnerCtaBox {
        padding: 50px 40px;
    }

    .ajKneeReplacementInnerCtaAction {
        justify-content: flex-start;
        margin-top: 12px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

    .ajKneeReplacementInnerHero .container,
    .ajKneeReplacementInnerBanner .container,
    .ajKneeReplacementInnerContent .container,
    .ajKneeReplacementInnerCta .container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .ajKneeReplacementInnerHero {
        padding: 95px 0 42px;
    }

    .ajKneeReplacementInnerHero::before {
        top: -130px;
        right: -180px;
        width: 340px;
        height: 340px;
    }

    .ajKneeReplacementInnerHeroContent {
        max-width: 100%;
        padding-right: 6px;
        padding-left: 6px;
    }

    .ajKneeReplacementInnerHeroLabel {
        margin-bottom: 18px;
        font-size: 11px;
    }

    .ajKneeReplacementInnerTitle {
        font-size: clamp(48px, 15vw, 74px);
        line-height: 0.93;
        letter-spacing: -0.055em;
    }

    .ajKneeReplacementInnerBanner {
        padding-bottom: 48px;
    }

    .ajKneeReplacementInnerBannerImage {
        height: 390px;
        border-radius: 3px;
    }

    .ajKneeReplacementInnerContent {
        padding-bottom: 55px;
    }

    .ajKneeReplacementInnerArticle {
        max-width: 100%;
        padding-right: 6px;
        padding-left: 6px;
    }

    .ajKneeReplacementInnerContentLabel {
        margin-bottom: 18px;
        font-size: 11px;
    }

    .ajKneeReplacementInnerArticle h2 {
        margin-bottom: 28px;
        font-size: clamp(36px, 10vw, 52px);
        line-height: 1.05;
    }

    .ajKneeReplacementInnerArticle h3 {
        margin-top: 38px;
        padding-top: 24px;
        font-size: clamp(27px, 8vw, 35px);
    }

    .ajKneeReplacementInnerArticle p {
        font-size: 16px;
        line-height: 1.68;
    }

    .ajKneeReplacementInnerArticle p + p {
        margin-top: 16px;
    }

    .ajKneeReplacementInnerArticle ul {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 22px;
    }

    .ajKneeReplacementInnerArticle li {
        min-height: 56px;
        padding: 16px 8px 16px 22px;
        font-size: 15px;
    }

    .ajKneeReplacementInnerArticle li::before {
        top: 24px;
    }

    .ajKneeReplacementInnerCta {
        padding: 5px 0 65px;
    }

    .ajKneeReplacementInnerCtaBox {
        padding: 42px 28px;
        border-radius: 14px;
    }

    .ajKneeReplacementInnerCtaContent h2 {
        font-size: clamp(36px, 10vw, 50px);
        line-height: 1.05;
    }

    .ajKneeReplacementInnerCtaContent p {
        margin-top: 18px;
        font-size: 15px;
    }

    .ajKneeReplacementInnerCtaAction {
        margin-top: 8px;
    }

    .ajKneeReplacementInnerCtaButton {
        width: 100%;
        min-height: 60px;
        justify-content: space-between;
        padding-left: 22px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 575.98px) {

    .ajKneeReplacementInnerHeroContent,
    .ajKneeReplacementInnerArticle {
        padding-right: 0;
        padding-left: 0;
    }

    .ajKneeReplacementInnerBannerImage {
        height: 315px;
    }

    .ajKneeReplacementInnerCtaBox {
        padding: 38px 22px;
    }

}


/* =========================================
   EXTRA SMALL MOBILE
========================================= */

@media (max-width: 374.98px) {

    .ajKneeReplacementInnerTitle {
        font-size: 43px;
    }

    .ajKneeReplacementInnerBannerImage {
        height: 270px;
    }

    .ajKneeReplacementInnerArticle h2 {
        font-size: 34px;
    }

    .ajKneeReplacementInnerArticle h3 {
        font-size: 26px;
    }

    .ajKneeReplacementInnerCtaContent h2 {
        font-size: 33px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .ajKneeReplacementInnerPage *,
    .ajKneeReplacementInnerPage *::before,
    .ajKneeReplacementInnerPage *::after {
        scroll-behavior: auto;
        transition: none;
    }

}


/* =========================================
   CONTENT EMPHASIS
========================================= */

.ajKneeReplacementInnerListIntro {
    margin-top: 24px !important;
    color: var(--aj-dark) !important;
}

.ajKneeReplacementInnerListIntro strong {
    font-weight: 600;
}










































/* =========================================
   AJ ORTHO CARE PRP INNER PAGE
   SAME STRUCTURE AS ARTHRITIS INNER PAGE
========================================= */

:root {
    --aj-primary: #199c97;
    --aj-primary-dark: #126f6c;
    --aj-light-green: #80c491;
    --aj-light-green-soft: #edf8f4;
    --aj-dark: #102f35;
    --aj-black: #101010;
    --aj-white: #ffffff;
    --aj-text: #4f5e61;
    --aj-border: rgba(16, 47, 53, 0.12);
    --aj-border-dark: rgba(16, 47, 53, 0.24);
}


/* =========================================
   PAGE BASE
========================================= */

.ajPrpInnerPage,
.ajPrpInnerPage * {
    box-sizing: border-box;
}

.ajPrpInnerPage {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background-color: var(--aj-white);
    color: var(--aj-dark);
    font-family: "Bai Jamjuree", sans-serif;
}

.ajPrpInnerPage img {
    display: block;
    width: 100%;
    max-width: 100%;
}

.ajPrpInnerPage h1,
.ajPrpInnerPage h2,
.ajPrpInnerPage h3,
.ajPrpInnerPage p,
.ajPrpInnerPage li,
.ajPrpInnerPage a,
.ajPrpInnerPage span {
    overflow-wrap: break-word;
}


/* =========================================
   HERO
========================================= */

.ajPrpInnerHero {
    position: relative;
    width: 100%;
    padding: 80px 0 60px;
    overflow: hidden;
    background-color: var(--aj-white);
}

.ajPrpInnerHero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -140px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background-color: rgba(128, 196, 145, 0.12);
    pointer-events: none;
}

.ajPrpInnerHeroContent {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 45px;
    padding-left: 45px;
}

.ajPrpInnerHeroLabel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--aj-primary-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ajPrpInnerHeroLabel span {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background-color: var(--aj-primary);
}

.ajPrpInnerTitle {
    width: 100%;
    max-width: 1000px;
    margin: 0;
    color: var(--aj-dark);
    font-size: clamp(58px, 8vw, 118px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.065em;
}

.ajPrpInnerTitle span {
    display: block;
    color: var(--aj-primary);
}


/* =========================================
   BANNER IMAGE
========================================= */

.ajPrpInnerBanner {
    width: 100%;
    padding: 0 0 70px;
    background-color: var(--aj-white);
}

.ajPrpInnerBannerImage {
    position: relative;
    width: 100%;
    max-width: 1320px;
    height: clamp(430px, 52vw, 680px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
    background-color: var(--aj-light-green-soft);
}

.ajPrpInnerBannerImage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(16, 47, 53, 0) 55%,
        rgba(16, 47, 53, 0.12) 100%
    );
    pointer-events: none;
}

.ajPrpInnerBannerImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =========================================
   CONTENT SECTION
========================================= */

.ajPrpInnerContent {
    width: 100%;
    padding: 0 0 75px;
    background-color: var(--aj-white);
}

.ajPrpInnerArticle {
    width: 100%;
    max-width: 940px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 30px;
    padding-left: 30px;
}


/* Content label */

.ajPrpInnerContentLabel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--aj-primary-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ajPrpInnerContentLabel span {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background-color: var(--aj-primary);
}


/* Main heading */

.ajPrpInnerArticle h2 {
    width: 100%;
    max-width: 850px;
    margin: 0 0 32px;
    color: var(--aj-dark);
    font-size: clamp(42px, 4.5vw, 68px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-align: left;
}


/* Subheadings */

.ajPrpInnerArticle h3 {
    width: 100%;
    margin: 45px 0 20px;
    padding-top: 28px;
    border-top: 1px solid var(--aj-border-dark);
    color: var(--aj-dark);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.035em;
    text-align: left;
}


/* Paragraphs */

.ajPrpInnerArticle p {
    width: 100%;
    max-width: 820px;
    margin: 0;
    color: var(--aj-text);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.72;
    text-align: left;
}

.ajPrpInnerArticle p + p {
    margin-top: 18px;
}


/* List */

.ajPrpInnerArticle ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    width: 100%;
    margin: 26px 0 0;
    padding: 0;
    border-top: 1px solid var(--aj-border);
    list-style: none;
}

.ajPrpInnerArticle li {
    position: relative;
    min-height: 62px;
    padding: 18px 10px 18px 24px;
    border-bottom: 1px solid var(--aj-border);
    color: var(--aj-dark);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
}

.ajPrpInnerArticle li::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--aj-primary);
}


/* =========================================
   SECOND OPINION CTA
========================================= */

.ajPrpInnerCta {
    width: 100%;
    padding: 15px 0 90px;
    background-color: var(--aj-white);
}

.ajPrpInnerCtaBox {
    position: relative;
    overflow: hidden;
    padding: 65px 60px;
    border-radius: 18px;
    background-color: var(--aj-dark);
}

.ajPrpInnerCtaBox::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -90px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background-color: rgba(128, 196, 145, 0.12);
    pointer-events: none;
}

.ajPrpInnerCtaBox::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -130px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background-color: rgba(25, 156, 151, 0.1);
    pointer-events: none;
}

.ajPrpInnerCtaContent,
.ajPrpInnerCtaAction {
    position: relative;
    z-index: 1;
}

.ajPrpInnerCtaContent > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--aj-light-green);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ajPrpInnerCtaContent > span::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background-color: var(--aj-light-green);
}

.ajPrpInnerCtaContent h2 {
    max-width: 720px;
    margin: 0;
    color: var(--aj-white);
    font-size: clamp(42px, 4.5vw, 68px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.ajPrpInnerCtaContent p {
    max-width: 670px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}

.ajPrpInnerCtaAction {
    display: flex;
    justify-content: flex-end;
}

.ajPrpInnerCtaButton {
    display: inline-flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 12px 13px 12px 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    background-color: var(--aj-white);
    color: var(--aj-dark);
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.ajPrpInnerCtaIcon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--aj-primary);
    color: var(--aj-white);
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

.ajPrpInnerCtaIcon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.ajPrpInnerCtaButton:hover {
    border-color: var(--aj-primary);
    background-color: var(--aj-primary);
    color: var(--aj-white);
    transform: translateY(-2px);
}

.ajPrpInnerCtaButton:hover .ajPrpInnerCtaIcon {
    background-color: var(--aj-white);
    color: var(--aj-dark);
    transform: translateX(3px);
}

.ajPrpInnerCtaButton:focus-visible {
    outline: 3px solid rgba(128, 196, 145, 0.45);
    outline-offset: 5px;
}


/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1400px) {

    .ajPrpInnerHero > .container,
    .ajPrpInnerBanner > .container,
    .ajPrpInnerContent > .container,
    .ajPrpInnerCta > .container {
        max-width: 1450px;
    }

}


/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1199.98px) {

    .ajPrpInnerHeroContent {
        max-width: 1000px;
        padding-right: 40px;
        padding-left: 40px;
    }

    .ajPrpInnerBannerImage {
        max-width: 1140px;
    }

    .ajPrpInnerArticle {
        max-width: 900px;
        padding-right: 30px;
        padding-left: 30px;
    }

    .ajPrpInnerCtaBox {
        padding: 55px 45px;
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {

    .ajPrpInnerHero {
        padding: 70px 0 52px;
    }

    .ajPrpInnerHeroContent {
        max-width: 850px;
        padding-right: 30px;
        padding-left: 30px;
    }

    .ajPrpInnerBanner {
        padding-bottom: 60px;
    }

    .ajPrpInnerBannerImage {
        height: 520px;
    }

    .ajPrpInnerContent {
        padding-bottom: 65px;
    }

    .ajPrpInnerArticle {
        max-width: 800px;
        padding-right: 25px;
        padding-left: 25px;
    }

    .ajPrpInnerCta {
        padding-bottom: 75px;
    }

    .ajPrpInnerCtaBox {
        padding: 50px 40px;
    }

    .ajPrpInnerCtaAction {
        justify-content: flex-start;
        margin-top: 12px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

    .ajPrpInnerHero .container,
    .ajPrpInnerBanner .container,
    .ajPrpInnerContent .container,
    .ajPrpInnerCta .container {
        width: 100%;
        max-width: 100%;
        padding-right: 18px;
        padding-left: 18px;
    }

    .ajPrpInnerHero {
        padding: 105px 0 42px;
    }

    .ajPrpInnerHero::before {
        top: -130px;
        right: -180px;
        width: 340px;
        height: 340px;
    }

    .ajPrpInnerHeroContent {
        max-width: 100%;
        padding-right: 6px;
        padding-left: 6px;
    }

    .ajPrpInnerHeroLabel {
        margin-bottom: 18px;
        font-size: 11px;
    }

    .ajPrpInnerTitle {
        font-size: clamp(48px, 15vw, 74px);
        line-height: 0.93;
        letter-spacing: -0.055em;
    }

    .ajPrpInnerBanner {
        padding-bottom: 48px;
    }

    .ajPrpInnerBannerImage {
        height: 390px;
        border-radius: 3px;
    }

    .ajPrpInnerContent {
        padding-bottom: 55px;
    }

    .ajPrpInnerArticle {
        max-width: 100%;
        padding-right: 6px;
        padding-left: 6px;
    }

    .ajPrpInnerContentLabel {
        margin-bottom: 18px;
        font-size: 11px;
    }

    .ajPrpInnerArticle h2 {
        margin-bottom: 28px;
        font-size: clamp(36px, 10vw, 52px);
        line-height: 1.05;
    }

    .ajPrpInnerArticle h3 {
        margin-top: 38px;
        padding-top: 24px;
        font-size: clamp(27px, 8vw, 35px);
    }

    .ajPrpInnerArticle p {
        font-size: 16px;
        line-height: 1.68;
    }

    .ajPrpInnerArticle p + p {
        margin-top: 16px;
    }

    .ajPrpInnerArticle ul {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 22px;
    }

    .ajPrpInnerArticle li {
        min-height: 56px;
        padding: 16px 8px 16px 22px;
        font-size: 15px;
    }

    .ajPrpInnerArticle li::before {
        top: 24px;
    }

    .ajPrpInnerCta {
        padding: 5px 0 65px;
    }

    .ajPrpInnerCtaBox {
        padding: 42px 28px;
        border-radius: 14px;
    }

    .ajPrpInnerCtaContent h2 {
        font-size: clamp(36px, 10vw, 50px);
        line-height: 1.05;
    }

    .ajPrpInnerCtaContent p {
        margin-top: 18px;
        font-size: 15px;
    }

    .ajPrpInnerCtaAction {
        margin-top: 8px;
    }

    .ajPrpInnerCtaButton {
        width: 100%;
        min-height: 60px;
        justify-content: space-between;
        padding-left: 22px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 575.98px) {

    .ajPrpInnerHeroContent,
    .ajPrpInnerArticle {
        padding-right: 0;
        padding-left: 0;
    }

    .ajPrpInnerBannerImage {
        height: 315px;
    }

    .ajPrpInnerCtaBox {
        padding: 38px 22px;
    }

}


/* =========================================
   EXTRA SMALL MOBILE
========================================= */

@media (max-width: 374.98px) {

    .ajPrpInnerTitle {
        font-size: 43px;
    }

    .ajPrpInnerBannerImage {
        height: 270px;
    }

    .ajPrpInnerArticle h2 {
        font-size: 34px;
    }

    .ajPrpInnerArticle h3 {
        font-size: 26px;
    }

    .ajPrpInnerCtaContent h2 {
        font-size: 33px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .ajPrpInnerPage *,
    .ajPrpInnerPage *::before,
    .ajPrpInnerPage *::after {
        scroll-behavior: auto;
        transition: none;
    }

}