/* ============================================================
   True Remedy Solutions — Shared Stylesheet
   Used by: index.html, about.html, service.html, newsletter.html,
            unsubscribe.html, contact.html, privacy-policy.html,
            terms-conditions.html
   ============================================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

:root {
    --b: #e11d48;
    --b2: #f43f5e;
    --b3: #fb7185;
    --bd: #be123c;
    --bl: #fff1f2;
    --bll: #fff7f8;
    --ink: #111827;
    --ink2: #1f2937;
    --txt: #6b7280;
    --txt2: #4b5563;
    --w: #fff;
    --bg: #f7f8fc;
    --g: #f1f2f6;
    --g2: #e2e4ec;
    --g3: #cdd0dc;
    --dkbg: #1a1f35;
    --dkbg2: #242a42;
    --or: #f59e0b;
    --green: #22c55e;
    --ff: 'Plus Jakarta Sans', sans-serif;
    --fs: 'DM Serif Display', serif;
    --r: 14px;
    --r2: 22px;
    --s1: 0 2px 8px rgba(0, 0, 0, .05);
    --s2: 0 10px 30px rgba(0, 0, 0, .07);
    --s3: 0 20px 50px rgba(0, 0, 0, .10)
}

body {
    font-family: var(--ff);
    background: var(--bg);
    color: var(--txt);
    overflow-x: hidden;
    line-height: 1.75
}

h1,
h2,
h3 {
    font-family: var(--fs);
    color: var(--ink);
    font-weight: 400
}

h4,
h5,
h6 {
    color: var(--ink);
    font-weight: 700
}

a {
    text-decoration: none;
    color: inherit
}

::selection {
    background: var(--b);
    color: #fff
}

img {
    max-width: 100%;
    display: block
}

/* TOPBAR */
.topbar {
    background: var(--b);
    color: #fff;
    padding: 9px 0;
    font-size: .76rem;
    font-weight: 500
}

.topbar a {
    color: rgba(255, 255, 255, .85);
    transition: .2s
}

.topbar a:hover {
    color: #fff
}

/* NAV */
.mainnav {
    background: var(--w);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--s1)
}

.inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px
}

.mainnav .inner {
    display: flex;
    align-items: center;
    height: 64px
}

.logo {
    font-family: var(--fs);
    font-size: 1.4rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px
}

.logo-b {
    width: 36px;
    height: 36px;
    background: var(--b);
    color: #fff;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 1.1rem
}

.nlinks {
    display: flex;
    gap: 2px;
    margin-left: auto;
    margin-right: 16px;
    align-items: center
}

.nlinks a {
    padding: 7px 14px;
    font-size: .82rem;
    font-weight: 600;
    border-radius: 8px;
    transition: .2s;
    color: var(--txt2)
}

.nlinks a:hover,
.nlinks a.on {
    color: var(--b);
    background: var(--bl)
}

.ncta {
    background: var(--b);
    color: #fff;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .82rem;
    border: none;
    transition: .3s
}

.ncta:hover {
    background: var(--bd)
}

.ham {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--ink);
    margin-left: auto;
    margin-right: 10px;
    cursor: pointer
}

@media(max-width:991px) {
    .nlinks {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--w);
        flex-direction: column;
        padding: 10px 20px;
        box-shadow: var(--s2);
        z-index: 1000
    }

    .nlinks.open {
        display: flex
    }

    .ham {
        display: block
    }
}

/* HERO */
.hero {
    background: var(--b);
    padding: 70px 0 0;
    position: relative;
    overflow: hidden;
    color: #fff
}

.hero::before {
    content: '';
    position: absolute;
    top: -250px;
    right: -250px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04)
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .03)
}

.hero .inner {
    position: relative;
    z-index: 2
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    font-size: .74rem;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 100px
}

.hero-tag i {
    color: #fbbf24
}

.hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 3.8rem);
    color: #fff;
    line-height: 1.1;
    margin-top: 18px
}

.hero h1 b {
    font-family: var(--fs);
    font-weight: 400;
    font-style: italic
}

.hero-p {
    color: rgba(255, 255, 255, .68);
    max-width: 460px;
    margin: 16px 0 28px;
    font-size: .95rem;
    line-height: 1.7
}

.hero-img {
    position: relative;
    text-align: right
}

.hero-img img {
    max-height: 500px;
    margin-left: auto;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .25))
}

.hero-float {
    position: absolute;
    background: var(--w);
    border-radius: 14px;
    padding: 12px 18px;
    box-shadow: var(--s3);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
    animation: bob 5s ease-in-out infinite
}

@keyframes bob {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.hero-float .hf-ic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.1rem
}

.hero-float strong {
    font-size: .85rem;
    color: var(--ink)
}

.hero-float small {
    font-size: .66rem;
    color: var(--txt);
    display: block
}

.hf-1 {
    bottom: 100px;
    left: -10px;
    animation-delay: -2s
}

.hf-2 {
    top: 30px;
    right: -10px
}

.hero-stats {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 40px
}

.hero-stat {
    flex: 1;
    text-align: center;
    padding: 22px 10px;
    border-right: 1px solid rgba(255, 255, 255, .1)
}

.hero-stat:last-child {
    border-right: none
}

.hero-stat .hn {
    font-family: var(--fs);
    font-size: 2.4rem;
    color: #fff;
    line-height: 1
}

.hero-stat .hl {
    font-size: .7rem;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    margin-top: 4px
}

@media(max-width:767px) {
    .hero-img img {
        max-height: 320px;
        margin: 30px auto 0
    }

    .hero-float {
        position: static !important;
        display: inline-flex;
        margin: 4px 6px 0 0;
        animation: none
    }

    .hero-stats {
        flex-wrap: wrap
    }

    .hero-stat {
        flex: 0 0 50%
    }
}

/* APPOINTMENT BAR */
.appt-bar {
    max-width: 1000px;
    margin: -30px auto 0;
    position: relative;
    z-index: 10;
    background: var(--w);
    border-radius: var(--r);
    box-shadow: var(--s3);
    padding: 18px 24px;
    display: flex;
    gap: 0;
    align-items: stretch;
    flex-wrap: wrap
}

.appt-field {
    flex: 1;
    min-width: 150px;
    padding: 8px 14px;
    border-right: 1px solid var(--g2);
    display: flex;
    align-items: center;
    gap: 10px
}

.appt-field:last-of-type {
    border-right: none
}

.appt-field i {
    font-size: 1.2rem;
    color: var(--b)
}

.af-label {
    font-size: .66rem;
    color: var(--txt);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em
}

.af-value {
    font-size: .84rem;
    color: var(--ink);
    font-weight: 700
}

.appt-btn {
    background: var(--b);
    color: #fff;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .8rem;
    border: none;
    white-space: nowrap;
    margin-left: 14px;
    transition: .3s;
    align-self: center
}

.appt-btn:hover {
    background: var(--bd)
}

@media(max-width:767px) {
    .appt-bar {
        flex-direction: column;
        gap: 6px;
        padding: 18px
    }

    .appt-field {
        border-right: none;
        border-bottom: 1px solid var(--g);
        padding: 10px 0
    }

    .appt-btn {
        margin: 8px 0 0;
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center
    }
}

/* SERVICE CARDS — image with overlapping icon */
.svc-card {
    background: var(--w);
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--g2);
    transition: .4s;
    height: 100%
}

.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--s3);
    border-color: transparent
}

.svc-img {
    height: 180px;
    overflow: hidden;
    position: relative
}

.svc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s
}

.svc-card:hover .svc-img img {
    transform: scale(1.06)
}

.svc-icon {
    position: absolute;
    bottom: -4px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--b);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    box-shadow: var(--s2);
    z-index: 3;
    transition: .3s
}

.svc-card:hover .svc-icon {
    transform: rotate(-8deg) scale(1.08)
}

.svc-body {
    padding: 34px 22px 22px
}

.svc-body h5 {
    font-size: .95rem;
    margin-bottom: 6px
}

.svc-body p {
    font-size: .82rem;
    margin-bottom: 10px
}

.svc-link {
    color: var(--b);
    font-weight: 700;
    font-size: .78rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: .3s;
    text-transform: uppercase;
    letter-spacing: .04em
}

.svc-link:hover {
    gap: 8px;
    color: var(--bd)
}

.svc-underline {
    width: 40px;
    height: 3px;
    background: var(--b);
    border-radius: 2px;
    margin-bottom: 12px
}

/* TICKER */
.ticker {
    background: var(--b);
    padding: 15px 0;
    overflow: hidden
}

.ticker-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: tScroll 20s linear infinite;
    width: max-content
}

.ticker-track span {
    display: flex;
    align-items: center;
    gap: 40px;
    color: #fff;
    font-weight: 700;
    font-size: .88rem
}

.ticker-track i {
    font-style: normal;
    color: var(--b3);
    font-size: .7rem
}

@keyframes tScroll {
    to {
        transform: translateX(-50%)
    }
}

/* ABOUT */
.about-img-wrap {
    position: relative;
    width: 100%;
    max-width: 400px
}

.about-img-wrap img {
    width: 100%;
    border-radius: 50%;
    border: 5px solid var(--b);
    aspect-ratio: 1/1;
    object-fit: cover
}

.about-img-wrap .dot-ring {
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 2px dashed var(--b3)
}

.about-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-weight: 600;
    color: var(--ink);
    font-size: .88rem
}

.about-check i {
    color: var(--b);
    font-size: .88rem
}

/* BUTTONS */
.btn-b {
    background: var(--b);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .88rem;
    border: none;
    transition: .3s;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.btn-b:hover {
    background: var(--bd);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--s2)
}

.btn-o {
    background: transparent;
    color: var(--b);
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .88rem;
    border: 2px solid var(--g2);
    transition: .3s;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.btn-o:hover {
    border-color: var(--b);
    background: var(--bl)
}

.btn-w {
    background: #fff;
    color: var(--b);
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .88rem;
    border: none;
    transition: .3s;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.btn-w:hover {
    background: var(--bl);
    transform: translateY(-2px);
    box-shadow: var(--s2)
}

/* DARK BOOKING SECTION */
.booking-sec {
    background: var(--dkbg);
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden
}

.booking-sec::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(51, 70, 229, .15)
}

.booking-sec h2 {
    color: #fff
}

.booking-sec .bf {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    border-radius: 10px;
    padding: 13px 16px;
    width: 100%;
    font-size: .88rem
}

.booking-sec .bf::placeholder {
    color: rgba(255, 255, 255, .4)
}

.booking-sec .bf:focus {
    outline: none;
    border-color: var(--b);
    background: rgba(255, 255, 255, .1)
}

/* JOURNEY */
.jcard {
    background: var(--w);
    border: 1px solid var(--g2);
    border-radius: var(--r);
    padding: 28px;
    text-align: center;
    transition: .4s;
    height: 100%
}

.jcard:hover {
    transform: translateY(-6px);
    box-shadow: var(--s2);
    border-color: var(--b)
}

.jn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 14px
}

/* REVIEWS */
.rv {
    background: var(--w);
    border: 1px solid var(--g2);
    border-radius: var(--r);
    padding: 24px;
    height: 100%;
    transition: .4s
}

.rv:hover {
    transform: translateY(-6px);
    box-shadow: var(--s3);
    border-color: transparent
}

.qt {
    font-family: var(--fs);
    font-size: 2.8rem;
    color: var(--b);
    line-height: .5;
    height: 18px
}

.st i {
    color: var(--or);
    font-size: .78rem
}

.rv-av {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
    font-size: .85rem
}

/* FAQ */
.fq {
    background: var(--w);
    border: 1px solid var(--g2);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: .3s
}

.fq.open {
    border-color: var(--b);
    background: var(--bl)
}

.fqh {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 12px
}

.fqh h6 {
    margin: 0;
    font-size: .88rem;
    font-weight: 700;
    transition: .2s
}

.fq.open .fqh h6 {
    color: var(--b)
}

.fqt {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 8px;
    background: var(--bl);
    color: var(--b);
    display: grid;
    place-items: center;
    transition: .3s;
    font-size: .65rem
}

.fq.open .fqt {
    background: var(--b);
    color: #fff;
    transform: rotate(180deg)
}

.fqb {
    max-height: 0;
    overflow: hidden;
    transition: .35s
}

.fq.open .fqb {
    max-height: 200px
}

.fqb p {
    padding: 0 20px 16px;
    margin: 0;
    font-size: .82rem
}

/* CONTACT */
.ci {
    background: var(--w);
    border: 1px solid var(--g2);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    gap: 14px;
    transition: .3s
}

.ci:hover {
    border-color: var(--b);
    box-shadow: var(--s2);
    transform: translateX(4px)
}

.ci-ic {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
    background: var(--bl);
    color: var(--b);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    transition: .3s
}

.ci:hover .ci-ic {
    background: var(--b);
    color: #fff
}

.fi {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--g2);
    border-radius: 10px;
    font-size: .88rem;
    background: var(--w);
    color: var(--ink);
    font-weight: 500
}

.fi:focus {
    outline: none;
    border-color: var(--b);
    box-shadow: 0 0 0 3px rgba(51, 70, 229, .08)
}

select.fi {
    appearance: auto
}

/* CTA */
.cta-end {
    background: var(--b);
    border-radius: var(--r2);
    padding: 64px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden
}

.cta-end::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(500px at 50% 0%, rgba(255, 255, 255, .08), transparent 60%)
}

.cta-end h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem)
}

/* FOOTER */
footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .5);
    padding: 50px 0 0
}

footer h6 {
    color: #fff;
    font-weight: 700;
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 14px
}

footer a {
    color: rgba(255, 255, 255, .45);
    display: inline-block;
    margin-bottom: 8px;
    font-size: .82rem;
    font-weight: 500;
    transition: .2s
}

footer a:hover {
    color: var(--b3)
}

.fsc {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    display: grid;
    place-items: center;
    color: #fff;
    transition: .3s
}

.fsc:hover {
    background: var(--b)
}

.fbot {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 32px;
    padding: 14px 0;
    font-size: .74rem
}

/* SUBSCRIBE */
.sub-box {
    background: var(--b);
    border-radius: var(--r2);
    padding: 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--s3)
}

.sub-box::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    top: -160px;
    right: -100px
}

.sf {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    font-size: .88rem;
    background: rgba(255, 255, 255, .08);
    color: #fff
}

.sf::placeholder {
    color: rgba(255, 255, 255, .4)
}

.sf:focus {
    outline: none;
    border-color: rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .12)
}

.form-check-input {
    border-color: rgba(255, 255, 255, .2);
    border-radius: 4px
}

.form-check-input:checked {
    background: var(--or);
    border-color: var(--or)
}

/* MODAL */
.modal-content {
    background: var(--bg);
    border: none;
    border-radius: var(--r2);
    overflow: hidden
}

.modal-header {
    background: var(--b);
    color: #fff;
    border: none;
    padding: 20px 24px
}

.modal-title {
    font-family: var(--fs);
    font-size: 1.2rem;
    color: #fff;
}

.btn-close {
    filter: invert(1) brightness(2)
}

.mfi {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--g2);
    border-radius: 10px;
    font-size: .88rem;
    background: var(--w);
    color: var(--ink)
}

.mfi:focus {
    outline: none;
    border-color: var(--b)
}

.plh {
    font-weight: 700;
    color: var(--ink);
    margin-top: 14px;
    margin-bottom: 3px;
    font-size: .9rem
}

.plh .n {
    color: var(--b);
    font-size: .72rem;
    margin-right: 6px
}

.tst {
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 10px
}

/* PAGE HEADER (for inner pages) */
.page-hero {
    background: var(--b);
    color: #fff;
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
}

.page-hero .inner {
    position: relative;
    z-index: 2;
}

.page-hero .stag {
    color: rgba(255, 255, 255, .8);
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
    margin-top: 10px;
}

.page-hero p {
    color: rgba(255, 255, 255, .72);
    max-width: 620px;
    margin-top: 14px;
    font-size: .95rem;
}

.breadcrumb-tr {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 18px;
    font-size: .8rem;
    color: rgba(255, 255, 255, .6);
}

.breadcrumb-tr a {
    color: rgba(255, 255, 255, .75);
}

.breadcrumb-tr a:hover {
    color: #fff;
}

.breadcrumb-tr span {
    color: rgba(255, 255, 255, .4);
}

/* LONG-FORM CONTENT (legal pages) */
.legal-wrap {
    background: var(--w);
    border: 1px solid var(--g2);
    border-radius: var(--r);
    padding: 40px;
}

.legal-wrap .plh {
    font-size: 1rem;
    margin-top: 24px;
}

.legal-wrap .plh:first-child {
    margin-top: 0;
}

.legal-wrap .small {
    font-size: .9rem;
    line-height: 1.7;
}

.legal-intro {
    background: var(--bl);
    border-left: 4px solid var(--b);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 24px;
    font-size: .88rem;
    color: var(--ink2);
}

@media (max-width:767px) {
    .legal-wrap {
        padding: 22px;
    }
}

section {
    padding: 80px 0
}

.stag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--b);
    font-weight: 700;
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase
}

.reveal {
    opacity: 1
}

@keyframes sUp {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.reveal.v {
    animation: sUp .6s ease both
}

.d1 {
    animation-delay: .08s
}

.d2 {
    animation-delay: .16s
}

@media(max-width:767px) {
    section {
        padding: 56px 0
    }

    .booking-sec {
        padding: 56px 0
    }
}