/* =========================
   ROOT VARIABLES
========================= */
:root {
    --bg-color: #fdf4e5;
    --text-color: #1f1f1f;
    /* --font-family: 'Inter', sans-serif; */
    --font-family: 'Anek Tamil', sans-serif;
    --teal: #0b7b74;
    --teal-light: #e6f5f4;
    --teal-mid: #14a89e;
    --gold: #c9973b;
    --cream: #faf8f5;
    --text-main: #1a2e2d;
    --text-muted: #5a7a78;
    --ink: #1B2420;
    --parchment: #F4EFE3;
    --paper: #FBF8F1;
    --teal-deep: #0A2B29;
    --clay: #B5532C;
    --turmeric: #C98A2C;
    --sage: #5E7D63;
    --line: rgba(27, 36, 32, 0.14);
    --radius: 18px;
}

/* =========================
   GLOBAL
========================= */
body {
    font-family: var(--font-family);
}

.bg-teal {
    background-color: var(--teal);
}

.tamil-font,
.tamil-font * {
    font-family: "Anek Tamil", sans-serif !important;
}

/* =========================
   NAVBAR
========================= */
.custom-navbar {
    background-color: var(--bg-color);
}

/* Logo */
.brand-logo {
    width: 80px;
    height: auto;
}

@media (max-width: 768px) {
    .brand-logo {
        width: 60px;
        height: auto;
    }

    .brand-text {
        font-size: 14px !important;
        font-weight: bold;
        text-align: center;
    }
}

/* Nav links */
.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin: 0 10px;
    transition: 0.3s;
    font-size: 17px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Contact Button */
.btn-contact {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    padding: 8px 18px;
    transition: 0.3s;
}

.btn-contact:hover {
    opacity: 0.9;
    color: #fff;
}

.brand-text {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    font-family: 'Poppins', sans-serif !important;
}

/* Only in Tamil mode */
body.tamil-font .brand-text,
body.tamil-font .brand-text * {
    font-family: 'Poppins', sans-serif !important;
}

/* Circle Buttons */

.contact-actions {
    position: relative;
}

.circle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: .35s ease;
    color: #fff;
}

/* WhatsApp */

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 8px 22px rgba(37, 211, 102, .35);
}

/* Phone */

.phone-btn {
    background: linear-gradient(135deg, #0b7b74, #54e4d9);
    box-shadow: 0 8px 22px rgba(11, 123, 116, .35);
}

.circle-btn i {
    font-size: 20px;
    z-index: 2;
}

/* Hover Effect */

.circle-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .15);
    transform: scale(0);
    border-radius: 50%;
    transition: .35s;
}

.circle-btn:hover::before {
    transform: scale(1);
}

.circle-btn:hover {
    transform: translateY(-5px) scale(1.08);
    color: #fff;
}

/* =========================
   HERO SECTION
========================= */

.banner-wrap {
    min-height: 450px;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media(max-width:768px) {
    .banner-wrap {
        min-height: 280px;
    }
}

/* HERO SECTION */

.hero-section {
    min-height: 100vh;

    background: url('img/banner-img.jpg') center/cover no-repeat;

    position: relative;
}

/* transparent overlay */

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .35);
}

.hero-content {
    position: relative;
    z-index: 2;

    background: rgba(255, 255, 255, .08);

    backdrop-filter: blur(5px);

    padding: 45px;
    border-radius: 30px;
}

.hero-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-shadow:
        2px 2px 12px rgba(0, 0, 0, .55);
}

.hero-desc {
    color: #f5f5f5;
    font-size: 16px;
    line-height: 1.9;
    text-shadow:
        1px 1px 10px rgba(0, 0, 0, .5);
}

/* responsive */

@media(max-width:768px) {

    .hero-title {
        font-size: 18px;
    }

    .hero-content {
        padding: 28px;
        border-radius: 0px;
    }

    .hero-desc {
        color: #f5f5f5;
        font-size: 12px;
        line-height: 1.9;
        text-shadow:
            1px 1px 10px rgba(0, 0, 0, .5);
    }

}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-left-img {
        max-width: 70%;
    }

    .hero-section {
        min-height: 30vh;
    }
}

.img-radius {
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 150px;
    border-bottom-right-radius: 20px;
}

/* ===== RUNNING TEXT ===== */

.running-text-section {
    background: #0b7b74;
    overflow: hidden;
    padding: 8px 0;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    width: max-content;
    gap: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;

    animation: marquee 18s linear infinite;
}

@keyframes marquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

@media(max-width:768px) {

    .marquee-content {
        font-size: 14px;
        gap: 22px;
    }

}



/* ── SECTION WRAPPER ─────────────────────────── */
.profile-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* decorative background blob */
.profile-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    z-index: 0;
}

.profile-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    z-index: 0;
}

/* ── PHOTO CARD ───────────────────────────────── */
.photo-wrap {
    position: relative;
    display: inline-block;
}

.photo-wrap img {
    width: 320px;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(11, 123, 116, .18);
    position: relative;
    z-index: 1;
}

/* floating accent rectangle behind photo */
.photo-wrap::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 320px;
    height: 400px;
    border-radius: 24px;
    border: 3px solid var(--teal-mid);
    z-index: 0;
    opacity: .35;
}

/* experience badge */
.badge-exp {
    position: absolute;
    bottom: -27px;
    right: -20px;
    background: var(--gold);
    color: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(201, 151, 59, .35);
    text-align: center;
    min-width: 110px;
}

.badge-exp .num {
    font-size: 2rem;
    line-height: 1;
}

.badge-exp .lbl {
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .9;
}

/* ── TEXT COLUMN ──────────────────────────────── */
.tag-pill {
    display: inline-block;
    background: var(--teal-light);
    color: var(--teal);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.profile-name {
    font-size: clamp(2rem, 4vw, 2.6rem);
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: 6px;
}

.profile-title {
    color: var(--teal-mid);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.divider-gold {
    width: 50px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin-bottom: 22px;
}

.profile-bio {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* ── STAT BOXES ───────────────────────────────── */
.stat-box {
    background: #fff;
    border: 1px solid #e2eeec;
    border-radius: 14px;
    padding: 16px 20px;
    text-align: center;
    transition: box-shadow .2s;
}

.stat-box:hover {
    box-shadow: 0 8px 28px rgba(11, 123, 116, .12);
}

.stat-box .s-num {
    font-size: 1.6rem;
    color: var(--teal);
    line-height: 1;
}

.stat-box .s-lbl {
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ── INFO CHIPS ───────────────────────────────── */
.info-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid #ddecea;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: .85rem;
    color: var(--text-main);
    margin: 4px 4px 4px 0;
}

.info-chip i {
    color: var(--teal);
    font-size: 1rem;
}

/* ── BUTTONS ──────────────────────────────────── */
.btn-teal {
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-size: .92rem;
    font-weight: 500;
    transition: background .2s, transform .15s;
}

.btn-teal:hover {
    background: var(--teal-mid);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-teal {
    background: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
    border-radius: 50px;
    padding: 10px 28px;
    font-size: .92rem;
    font-weight: 500;
    transition: all .2s;
}

.btn-outline-teal:hover {
    background: var(--teal);
    color: #fff;
    transform: translateY(-2px);
}

/* ── RATING STARS ─────────────────────────────── */
.stars i {
    color: var(--gold);
    font-size: .95rem;
}

/* ── AVAILABILITY BADGE ───────────────────────── */
.avail-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 1.6s ease-in-out infinite;
    margin-right: 6px;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .5);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}


/* ── SECTION2 ⁠Medicines and treatment methods ───────────────────────────────────── */

.treatment-img {
    text-align: right;
}

.treatment-img img {
    width: 100%;
    max-width: 420px;
    border-radius: 28px;
    object-fit: cover;

    box-shadow: 0 20px 45px rgba(0, 0, 0, .12);

    transition: .35s ease;
}

.treatment-img img:hover {
    transform: translateY(-6px);
}

/* Mobile */

@media(max-width:991px) {

    .treatment-img {
        text-align: center;
    }

    .treatment-img img {
        max-width: 100%;
        margin-top: 10px;
    }

}

.med-section {
    position: relative;
    overflow: hidden;
}

.med-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}

.med-section>.container {
    position: relative;
    z-index: 1;
}

/* ======= HEADER ======= */
.section-eyebrow {
    display: inline-block;
    background: var(--teal-light);
    color: var(--teal);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 50px;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.15;
}

.section-title span {
    color: var(--teal);
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

/* ======= DIVIDER ======= */
.divider-fancy {
    display: flex;
    align-items: center;
    gap: 10px;
}

.divider-fancy .df-line {
    display: block;
    border: none;
    background: var(--gold);
    border-radius: 2px;
    opacity: 1;
}

.divider-fancy .df-line.teal {
    background: var(--teal);
}

.divider-fancy .df-dot {
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
}

/* ======= STATS ======= */
.stat-label {
    font-size: .75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
}

/* ======= TAB NAV ======= */
.med-tabs {
    border: none;
    gap: 8px;
    flex-wrap: wrap;
}

.med-tabs .nav-link {
    border: 2px solid var(--border) !important;
    border-radius: 50px !important;
    color: var(--text-muted);
    font-size: .85rem;
    font-weight: 600;
    background: #fff;
    transition: all .22s;
}

.med-tabs .nav-link:hover {
    border-color: var(--teal) !important;
    color: var(--teal);
}

.med-tabs .nav-link.active {
    background: var(--teal) !important;
    border-color: var(--teal) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(11, 123, 116, .25);
}

/* ======= CARD ======= */
.med-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: transform .22s, box-shadow .22s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.med-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--teal);
    border-radius: 20px 0 0 20px;
    opacity: 0;
    transition: opacity .22s;
}

.med-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(11, 123, 116, .13);
}

.med-card:hover::after {
    opacity: 1;
}

.med-icon-wrap {
    border-radius: 14px;
    background: var(--teal-light);
    font-size: 1.5rem;
    color: var(--teal);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.med-card h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.med-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ======= TAGS ======= */
.med-tag {
    display: inline-block;
    background: var(--teal-light);
    color: var(--teal);
    font-size: .72rem;
    font-weight: 600;
    border-radius: 50px;
}

.med-tag.gold {
    background: var(--gold-light);
    color: var(--gold);
}

/* ======= STEP TIMELINE ======= */
.step-item {
    display: flex;
    gap: 20px;
    position: relative;
}

.step-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 48px;
    width: 2px;
    height: calc(100% - 8px);
    background: linear-gradient(to bottom, var(--teal-mid), transparent);
}

.step-num {
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(11, 123, 116, .3);
    position: relative;
    z-index: 1;
}

.step-body h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.step-body p {
    font-size: .87rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ======= BANNER ======= */
.highlight-banner {
    background: linear-gradient(135deg, var(--teal) 0%, #0a6560 100%);
    border-radius: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.highlight-banner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    padding: 130px;
}

.highlight-banner h4 {
    font-size: 1.7rem;
    font-weight: 700;
}

.highlight-banner p {
    font-size: .9rem;
    opacity: .85;
}

.btn-white {
    background: #fff;
    color: var(--teal);
    border: none;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 700;
    transition: all .2s;
}

.btn-white:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}

/* ======= CARD FADE ANIMATION ======= */
.tab-pane.active .med-card {
    animation: fadeUp .4s forwards;
}

.col-md-6:nth-child(2) .med-card,
.col-md-6:nth-child(3) .med-card {
    animation-delay: .1s;
}

.col-md-6:nth-child(4) .med-card {
    animation-delay: .2s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-chip-sm {
    display: block;
    font-size: .84rem;
    color: var(--text-main);
}

/* ===== HOW WE DIFFER STYLE ===== */

.how-differ {
    background: #f5f0e6;
}

.sub-title {
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
}

.main-title {
    font-size: 45px;
    font-weight: 500;
    line-height: 1.15;
    margin: 20px 0 25px;
    color: #183028;
}

.process-item {
    display: flex;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.number {
    font-size: 64px;
    color: #46766d;
    font-weight: 300;
    min-width: 90px;
    line-height: 1;
}

.content h4 {
    font-size: 34px;
    margin-bottom: 12px;
    color: #13241f;
}

.content p {
    color: #6c757d;
    line-height: 1.9;
    margin: 0;
}

.image-wrapper {
    height: 100%;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* RESPONSIVE */

@media(max-width:992px) {

    .main-title {
        font-size: 42px;
    }


}

@media(max-width:768px) {

    .main-title {
        font-size: 34px;
    }

    .process-item {
        gap: 18px;
    }

    .number {
        font-size: 44px;
        min-width: 60px;
    }

    .content h4 {
        font-size: 24px;
    }




}

/* ======= Patient Case Studies ======= */

.case-study-section {
    background: #f8fbff;
}

.case-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    transition: .35s ease;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
    border: 1px solid #eef2f7;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, .14);
}

.case-top {
    background: linear-gradient(135deg, #0b7b74, #68faf0);
    padding: 26px;
}

.case-badge {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    padding: 10px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
}

.case-content {
    padding: 30px;
}

.case-content h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 22px;
}

.case-content p {
    color: #6c757d;
    line-height: 1.8;
    font-size: 16px;
}

.case-info {
    display: flex;
    justify-content: space-between;
    background: #f4f8ff;
    padding: 18px;
    border-radius: 18px;
    margin: 25px 0;
}

.case-info small {
    color: #6c757d;
}

.case-info h6 {
    margin: 5px 0 0;
    font-weight: 700;
}

.read-case {
    color: var(--teal);
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

.read-case:hover {
    color: var(--teal-dark);
    letter-spacing: .5px;
}

@media(max-width:768px) {

    .case-content {
        padding: 24px;
    }

    .display-5 {
        font-size: 2rem;
    }

    .case-info {
        flex-direction: column;
        gap: 15px;
    }

}



/* ======= BLOG SECTION ======= */

.blog-section {
    background: #f8fbff;
}

.blog-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    transition: .35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, .15);
}

.blog-img {
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: .45s ease;
}

.blog-card:hover img {
    transform: scale(1.08);
}

.blog-content {
    padding: 28px;
}

.blog-tag {
    display: inline-block;
    background: var(--teal);
    color: white;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.blog-content h4 {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    font-size: 18px;
}

.blog-content p {
    color: #6c757d;
    line-height: 1.7;
    font-size: 16px;
}

.read-btn {
    text-decoration: none;
    font-weight: 700;
    color: var(--teal);
    transition: .3s;
}

.read-btn:hover {
    letter-spacing: .5px;
    color: var(--teal);
}

@media(max-width:768px) {

    .blog-img img {
        height: 220px;
    }

    .display-5 {
        font-size: 2rem;
    }

}

/* ======= FOOTER ======= */
.modern-footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-text {
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-contact li {
    margin-bottom: 18px;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact i {
    color: #38bdf8;
    font-size: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: .3s;
}

.footer-links a:hover {
    color: #38bdf8;
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 22px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: .35s;
}

.social-links a:hover {
    background: #0ea5e9;
    transform: translateY(-4px);
}

.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: 700;
    transition: .3s;
}

.wa-btn:hover {
    background: #1ebc57;
    transform: translateY(-3px);
    color: #fff;
}

.footer-line {
    border-color: rgba(255, 255, 255, .1);
    margin: 40px 0 20px;
}

.copyright {
    color: #94a3b8;
    font-size: 14px;
}

@media(max-width:768px) {

    .footer-logo {
        font-size: 1.7rem;
    }

    .footer-title {
        margin-top: 10px;
    }

}

/* Logo */
.footer-logo {
    width: 150px;
    height: auto;
    border-radius: 12px;
    text-align: center;
}

/* ===== UNIQUE TREATMENT CARDS ===== */

.treatment-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    position: relative;

    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);

    transition: .35s ease;
}

.treatment-card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 250px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: .45s ease;
}

.treatment-card:hover img {
    transform: scale(1.08);
}

.card-content {
    padding: 28px;
}

.card-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #16352d;
}

.card-content p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
}

.read-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;
    color: #0b7b74;
    font-weight: 700;
}

.read-link i {
    font-size: 22px;
    transition: .3s;
}

.read-link:hover i {
    transform: translateX(6px);
}

/* Mobile */

@media(max-width:768px) {

    .card-img {
        height: 220px;
    }

    .card-content {
        padding: 22px;
    }

}

/* ===== TREATMENT PROCESS — ZIGZAG ===== */

.treatment-process {
    background: #f9f6ef;
}

.process-title {
    font-size: 3rem;
    font-weight: 600;
}

.process-title span {
    color: var(--teal);
}

/* zigzag layout */

.zigzag-wrap {
    display: flex;
    flex-direction: column;
    gap: 70px;
    max-width: 1100px;
    margin: 0 auto;
}

.zigzag-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.zigzag-item.reverse {
    flex-direction: row-reverse;
}

.zigzag-img {
    flex: 1.15;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .10);
}

.zigzag-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.zigzag-item:hover .zigzag-img img {
    transform: scale(1.04);
}

.zigzag-text {
    flex: 1;
    position: relative;
    padding: 10px 10px 10px 0;
}

.zigzag-item.reverse .zigzag-text {
    padding: 10px 0 10px 10px;
}

.zigzag-num {
    position: absolute;
    top: -84px;
    left: -10px;
    font-size: 6.5rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(11, 123, 116, 0.08);
    z-index: 0;
    user-select: none;
}

.zigzag-item.reverse .zigzag-num {
    left: auto;
    right: -10px;
}

.zigzag-text h4 {
    position: relative;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 14px;
    z-index: 1;
}

.zigzag-text p {
    position: relative;
    color: #6c757d;
    line-height: 1.85;
    margin: 0;
    z-index: 1;
}

.zigzag-quote {
    font-weight: 600;
    color: #1c5c3b;
}

/* text-only step (no image) */

.zigzag-textonly {
    justify-content: center;
}

.zigzag-textonly .zigzag-text {
    text-align: center;
    padding: 10px;
}

.zigzag-textonly .zigzag-num {
    position: static;
    display: block;
    font-size: 6.5rem;
    color: rgba(11, 123, 116, 0.15);
    margin-bottom: 14px;
}

/* expand button + detail list (unchanged) */

.expand-btn {
    border: none;
    background: transparent;
    color: var(--teal);
    font-weight: 600;
    padding: 0;
    margin-top: 8px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    z-index: 1;
}

.expand-btn:hover {
    color: #084298;
}

.detail-list {
    margin: 0;
    padding-left: 20px;
    position: relative;
    z-index: 1;
}

.detail-list li {
    margin-bottom: 8px;
    color: #555;
}

.detail-heading {
    font-size: 16px;
    font-weight: 700;
    color: #1c5c3b;
    margin-bottom: 8px;
}

/* responsive */

@media(max-width: 991px) {

    .process-title {
        font-size: 2.2rem;
    }

    .zigzag-wrap {
        gap: 50px;
    }

    .zigzag-item,
    .zigzag-item.reverse {
        flex-direction: column;
        gap: 24px;
    }

    .zigzag-img img {
        height: 280px;
    }

    .zigzag-text,
    .zigzag-item.reverse .zigzag-text {
        padding: 0;
        text-align: left;
    }

    .zigzag-num,
    .zigzag-item.reverse .zigzag-num {
        position: static;
        display: block;
        left: auto;
        right: auto;
        font-size: 3.5rem;
        margin-bottom: -6px;
    }

    .zigzag-textonly .zigzag-num {
        position: static;
        display: block;
        font-size: 3.5rem;
        color: rgba(11, 123, 116, 0.15);
        margin-bottom: 14px;
    }

}

@media(max-width: 576px) {

    .zigzag-img img {
        height: 220px;
    }

    .zigzag-text h4 {
        font-size: 1.3rem;
    }

    .zigzag-text p {
        font-size: 14px;
    }

}

.detail-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md, 14px);
    overflow: hidden;
    margin-bottom: 12px;
}

.detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .detail-img {
        height: auto;
        margin-bottom: 16px;
    }
}


/* ===========================
   SRI TREATMENT SECTION
=========================== */


/* Heading */
.sri-treatment-head h2 {
    font-size: 34px;
    font-weight: 700;
    color: #1d2b3a;
}

.sri-treatment-head p {
    color: #6b7a8a;
}

/* CARD */
.sri-treatment-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: 0.4s ease;
    position: relative;
}

.sri-treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* IMAGE */
.sri-treatment-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.sri-treatment-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.sri-treatment-card:hover .sri-treatment-img img {
    transform: scale(1.08);
}

/* BADGE */
.sri-treatment-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--teal);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* BODY */
.sri-treatment-body {
    padding: 25px;
}

.sri-treatment-body h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.sri-treatment-body p {
    color: #6b7a8a;
    font-size: 16px;
}

/* LIST */
.sri-treatment-list {
    padding-left: 18px;
    margin: 15px 0;
}

.sri-treatment-list li {
    font-size: 14px;
    color: #3a4a5a;
    margin-bottom: 6px;
}

/* LINK */
.sri-treatment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    transition: 0.3s;
}

.sri-treatment-link:hover {
    color: var(--teal);
    gap: 12px;
}

/* CTA */
.sri-treatment-cta {
    background: linear-gradient(135deg, var(--teal), var(--teal));
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(42, 125, 225, 0.25);
}

.sri-treatment-cta h3 {
    font-weight: 700;
}

.sri-treatment-cta p {
    opacity: 0.9;
}

.sri-treatment-btn {
    background: #fff;
    color: var(--teal);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.sri-treatment-btn:hover {
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media(max-width:768px) {
    .sri-treatment-head h2 {
        font-size: 26px;
    }

    .sri-treatment-cta {
        text-align: center;
    }
}

/* =========================
   HERO
========================= */
.siddha-hero {
    padding: 90px 0 60px;
    background: linear-gradient(135deg, #eaf4ff, #ffffff);
    position: relative;
    overflow: hidden;
}

.siddha-hero:before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    top: -150px;
    right: -150px;
}

.siddha-hero h1 {
    font-size: 44px;
    font-weight: 800;
}

.siddha-hero p {
    color: #5c6f82;
    font-size: 16px;
    max-width: 700px;
    margin: auto;
}

/* =========================
   SECTION WRAPPER
========================= */
.siddha-section {
    padding: 30px 0;
}

/* =========================
   FLOW ROW (NO CARDS)
========================= */
.siddha-flow-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 90px;
}

/* reverse layout */
.siddha-flow-row.reverse {
    flex-direction: row-reverse;
}

/* IMAGE */
.siddha-img {
    flex: 1;
    position: relative;
}

.siddha-img img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    height: 380px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* NUMBER TAG */
.siddha-number {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--teal);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* TEXT */
.siddha-content {
    flex: 1;
}

.siddha-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    background: var(--teal);
    color: white;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.siddha-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.siddha-content p {
    color: #6b7a8a;
    font-size: 15px;
    line-height: 1.7;
}

/* BULLETS */
.siddha-points {
    margin-top: 15px;
    padding-left: 0;
    list-style: none;
}

.siddha-points li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #3a4a5a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.siddha-points i {
    color: var(--teal);
}

/* =========================
   CTA
========================= */
.siddha-cta {
    text-align: center;
    padding: 70px 20px;
    background: linear-gradient(135deg, var(--teal), var(--teal));
    border-radius: 25px;
    color: #fff;
    box-shadow: 0 20px 60px rgba(42, 125, 225, 0.25);
}

.siddha-cta a {
    display: inline-block;
    margin-top: 15px;
    background: #fff;
    color: var(--teal);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:992px) {

    .siddha-flow-row,
    .siddha-flow-row.reverse {
        flex-direction: column;
    }

    .siddha-img img {
        height: 300px;
    }

    .siddha-content h2 {
        font-size: 26px;
    }

    .siddha-hero h1 {
        font-size: 32px;
        font-weight: 800;
    }
}

/* =========================
   HERO (EDITORIAL STYLE)
========================= */
.nc-hero {
    position: relative;
    background: white;
    overflow: hidden;
}

.nc-hero::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -180px;
}

.nc-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    background: #e7f2ff;
    color: #2a7de1;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.nc-title {
    font-size: 48px;
    font-weight: 900;
    margin-top: 15px;
}

.nc-sub {
    color: #5f6f82;
    max-width: 750px;
    margin-top: 15px;
}

/* meta floating strip */
.nc-meta-strip {
    display: flex;
    gap: 60px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.nc-meta-item small {
    color: #7a8a9c;
}

.nc-meta-item h4 {
    font-weight: 800;
    margin: 0;
    color: #1d2b3a;
}

/* =========================
   IMAGE HERO SPLIT
========================= */
.nc-split {
    margin-top: 60px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.nc-split-img {
    flex: 1;
    position: relative;
}

.nc-split-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* floating tag */
.nc-float-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: var(--teal);
}

/* =========================
   STORY SECTION (MAGAZINE STYLE)
========================= */
.nc-story {
    flex: 1;
}

.nc-story h2 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 15px;
}

.nc-story p {
    color: #6b7a8a;
    line-height: 1.8;
    font-size: 15px;
}

/* =========================
   FLOW TIMELINE (MODERN LINE)
========================= */
.nc-flow {
    background: #fff;
}

.nc-flow-line {
    position: relative;
    padding-left: 40px;
}

.nc-flow-line::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #168a6d6b;
}

.nc-step {
    margin-bottom: 40px;
    position: relative;
}

.nc-step::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(42, 225, 185, 0.15);
}

.nc-step h5 {
    font-weight: 800;
}

.nc-step p {
    color: #6b7a8a;
}

/* =========================
   HIGHLIGHT SECTION (OVERLAP STYLE)
========================= */
.nc-highlight {
    margin-top: -60px;
    padding: 70px;
    background: linear-gradient(135deg, #2a7de1, #5bb1ff);
    color: #fff;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(42, 125, 225, 0.3);
}

.nc-highlight h3 {
    font-weight: 900;
}

.nc-highlight p {
    opacity: 0.9;
}

.nc-btn {
    display: inline-block;
    margin-top: 15px;
    background: #fff;
    color: #2a7de1;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:992px) {
    .nc-split {
        flex-direction: column;
    }

    .nc-title {
        font-size: 32px;
    }

    .nc-split-img img {
        height: 320px;
    }

    .nc-highlight {
        padding: 40px;
        margin-top: 20px;
    }
}

/* =========================
   SECTION BACKGROUND
========================= */
.ncx-teal-hero {
    background:
        radial-gradient(circle at top right, rgba(10, 166, 166, 0.15), transparent 50%),
        radial-gradient(circle at bottom left, rgba(10, 166, 166, 0.10), transparent 55%),
        #f7fbfb;
}

/* =========================
   HEAD
========================= */
.ncx-teal-head {
    text-align: center;
    max-width: 850px;
    margin: auto;
}

.ncx-teal-head h1 {
    font-size: 44px;
    font-weight: 900;
    color: #1b2b2b;
    letter-spacing: -0.5px;
}

.ncx-teal-head p {
    color: #5a6b6b;
    margin-top: 12px;
    line-height: 1.7;
}

/* =========================
   DASHBOARD STRIP
========================= */
.ncx-teal-dashboard {
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 25px 30px;
    border-radius: 25px;

    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px);

    border: 1px solid rgba(10, 166, 166, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);

    position: relative;
    overflow: hidden;
}

/* glow line effect */
.ncx-teal-dashboard::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    right: -120px;
    top: -120px;
}

/* =========================
   LEFT PULSE BLOCK
========================= */
.ncx-teal-pulse {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.ncx-pulse-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 20px;

    box-shadow: 0 10px 25px rgba(10, 166, 166, 0.35);
}

.ncx-teal-pulse h4 {
    margin: 0;
    font-weight: 800;
    color: #1b2b2b;
}

.ncx-teal-pulse small {
    color: #6a7a7a;
}

/* =========================
   DIVIDER
========================= */
.ncx-teal-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--teal), transparent);
    opacity: 0.5;
}

/* =========================
   METRICS
========================= */
.ncx-teal-metrics {
    display: flex;
    gap: 40px;
    flex: 2;
    justify-content: flex-end;
}

.ncx-teal-item {
    text-align: right;
}

.ncx-teal-item span {
    display: block;
    font-size: 12px;
    color: #6a7a7a;
}

.ncx-teal-item h5 {
    margin: 0;
    font-weight: 900;
    color: var(--teal);
    font-size: 18px;
}

/* =========================
   HOVER EFFECT
========================= */
.ncx-teal-dashboard:hover {
    transform: translateY(-5px);
    transition: 0.4s ease;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px) {

    .ncx-teal-dashboard {
        flex-direction: column;
        align-items: flex-start;
    }

    .ncx-teal-line {
        width: 100%;
        height: 1px;
    }

    .ncx-teal-metrics {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .ncx-teal-item {
        text-align: left;
    }

    .ncx-teal-head h1 {
        font-size: 30px;
    }
}

/* =========================
   MODAL OVERLAY
========================= */
.sri-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(6px);
}

/* active state */
.sri-modal-overlay.active {
    display: flex;
}

/* =========================
   MODAL BOX
========================= */
.sri-modal-box {
    width: 90%;
    max-width: 550px;
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    animation: sriPop 0.3s ease;
}

@keyframes sriPop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* HEADER */
.sri-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sri-modal-header h3 {
    font-weight: 800;
}

.sri-modal-header button {
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
}

/* SUB TEXT */
.sri-modal-sub {
    color: #6b7a8a;
    font-size: 16px;
    margin-top: 10px;
}

/* FORM */
.sri-modal-form input,
.sri-modal-form select,
.sri-modal-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e3e9f3;
    outline: none;
    font-size: 16px;
}

.sri-modal-form input:focus,
.sri-modal-form select:focus,
.sri-modal-form textarea:focus {
    border-color: #2a7de1;
    box-shadow: 0 0 0 3px rgba(42, 125, 225, 0.15);
}

/* BUTTON */
.sri-modal-btn {
    background: linear-gradient(135deg, teal, rgb(95, 255, 255));
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
}

/* RESPONSIVE */
@media(max-width:768px) {
    .sri-modal-box {
        padding: 20px;
    }
}

/* =========================
   GO TO TOP BUTTON
========================= */

.sri-go-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;

    border: none;
    border-radius: 50%;

    background: linear-gradient(135deg, teal, rgb(95, 255, 255));
    color: #fff;
    font-size: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition: 0.4s ease;
    z-index: 999;
}

/* SHOW STATE */
.sri-go-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* HOVER EFFECT */
.sri-go-top:hover {
    transform: translateY(-5px) scale(1.05);
}

#google_translate_element {
    position: absolute;
    left: -9999px;
}

.lang-switch {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;

    width: 120px;
    height: 46px;

    background: linear-gradient(135deg, #14532d, #16a34a);
    border-radius: 50px;

    padding: 6px;
    cursor: pointer;
    user-select: none;

    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    overflow: hidden;
}

.switch-slider {
    position: absolute;
    left: 4px;
    top: 4px;

    width: 54px;
    height: 38px;

    background: #fff;
    border-radius: 40px;
    transition: .35s ease;
}

.lang-label {
    z-index: 2;
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: .9rem;
    color: #ffffffb0;
    transition: color .3s;
}

/* ── Default state: Tamil active (slider on LEFT) ── */
.lang-label.ta.active {
    color: #14532d;
    font-family: "Anek Tamil", sans-serif;
}

.lang-label.en {
    color: #ffffffb0;
}

/* ── English active: slider moves RIGHT ── */
.lang-switch.english-active .switch-slider {
    transform: translateX(58px);
}

.lang-switch.english-active .en {
    color: #14532d;
}

.lang-switch.english-active .ta {
    color: #ffffffb0;
}

/* REMOVE GOOGLE TOP BAR COMPLETELY */

body {
    top: 0px !important;
    position: static !important;
}

iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

.skiptranslate {
    display: none !important;
}

/* Prevent Google Translate touching toggle */
.notranslate {
    translate: no;
}

.section-wrap {
    font-family: var(--font-family);
    background: white;
    padding: 2.5rem 1rem;
}

.section-badge {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.section-sub {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.medicine-type-card {
    background: var(--cream);
    border: 1.5px solid #d6eeec;
    border-radius: 16px;
    padding: 1.2rem 1.3rem;
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.medicine-type-card:hover {
    border-color: var(--teal-mid);
    box-shadow: 0 4px 18px rgba(11, 123, 116, 0.09);
}

.medicine-type-card .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 0.8rem;
    flex-shrink: 0;
}

.icon-deva {
    background: #e8f7f6;
    color: var(--teal);
}

.icon-manida {
    background: #fef3e2;
    color: var(--gold);
}

.icon-nisa {
    background: #f0eeff;
    color: #6c5cb9;
}

.medicine-type-card .card-label {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.medicine-type-card .card-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0;
}

.active-card {
    border: 2px solid var(--gold) !important;
    background: #fffdf5;
}

.main-content-card {
    background: #fff;
    border: 1px solid #daecea;
    border-radius: 18px;
    overflow: hidden;
}

.content-header {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%);
    padding: 1.4rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 14px;
}

.content-header .h-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}

.content-header h2 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 2px;
}

.content-header p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    margin: 0;
}

.content-body {
    padding: 1.6rem 1.8rem;
}

.content-body p {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.85;
}

.formulation-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1rem 0 1.4rem;
}

.formulation-pill {
    background: var(--teal-light);
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid #b6e2df;
}

.shloka-box {
    background: #fffbf2;
    border-left: 4px solid var(--gold);
    border-radius: 0 12px 12px 0;
    padding: 1.1rem 1.4rem;
    margin-top: 1.4rem;
}

.shloka-box .shloka-label {
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 6px;
}

.shloka-box blockquote {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.7;
    margin: 0 0 8px;
    font-style: normal;
}

.shloka-box .shloka-meaning {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

.ref-tag {
    display: inline-block;
    background: #eaf5f4;
    color: var(--teal);
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 6px;
    font-weight: 500;
    margin-left: 6px;
    vertical-align: middle;
}

.divider-line {
    height: 1px;
    background: #e5efee;
    margin: 1.2rem 0;
}

.ms-wrap {
    font-family: 'Anek Tamil', sans-serif;
    background: var(--cream);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.ms-bg-glyph {
    position: absolute;
    top: -30px;
    right: -40px;
    font-size: 260px;
    font-family: 'Anek Tamil', sans-serif;
    color: rgba(11, 123, 116, 0.05);
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}


.ms-title-row {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.ms-accent-bar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 6px;
}

.ms-bar-top {
    width: 4px;
    height: 36px;
    background: var(--teal);
    border-radius: 2px;
}

.ms-bar-bot {
    width: 4px;
    height: 16px;
    background: var(--gold);
    border-radius: 2px;
}

.ms-title {
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.ms-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.75rem;
}

.ms-div-line {
    height: 1px;
    background: linear-gradient(to right, var(--teal), transparent);
    width: 80px;
}

.ms-div-diamond {
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.ms-div-line2 {
    height: 1px;
    background: linear-gradient(to right, rgba(11, 123, 116, 0.3), transparent);
    width: 200px;
}

.ms-card {
    background: #fff;
    border: 1px solid rgba(11, 123, 116, 0.12);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 24px rgba(11, 123, 116, 0.07);
}

.ms-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--teal), var(--gold));
}

.ms-card-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.ms-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.9;
    font-weight: 400;
}



.ms-footer-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px dashed rgba(11, 123, 116, 0.15);
}

.ms-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--teal-light);
    color: var(--teal);
    font-size: 11.5px;
    padding: 4px 12px;
    border-radius: 999px;
    font-family: 'Anek Tamil', sans-serif;
}

.ms-pill-icon {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--teal-mid);
}

@media (max-width: 520px) {
    .ms-card-inner {
        grid-template-columns: 1fr;
    }

    .ms-emblem {
        flex-direction: row;
    }

    .ms-title {
        font-size: 2rem;
    }
}




















.cf-body {
    background: var(--parchment);
    color: var(--ink);
    overflow-x: hidden;
}

/* ---------- BACK BAR ---------- */
.cf-backbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 0;
    flex-wrap: wrap;
}

.cf-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: .84rem;
    color: var(--teal-deep);
    text-decoration: none;
}

.cf-back:hover {
    color: var(--clay);
}

.cf-case-pill {
    font-weight: 800;
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--clay);
    padding: 7px 16px;
    border-radius: 999px;
}

/* ---------- HERO: SPLIT HEADER ---------- */
.cf-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
    background: var(--teal);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.cf-hero-main {
    padding: 46px 44px 56px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.cf-hero-main::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .05;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 1px, transparent 1.4px);
    background-size: 18px 18px;
}

.cf-eyebrow {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.cf-title {
    font-weight: 700;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    line-height: 1.16;
    max-width: 560px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.cf-sub {
    color: #CFE3DC;
    max-width: 480px;
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.cf-hero-side {
    background: var(--paper);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    position: relative;
}

.cf-stamp {
    margin-bottom: 22px;
}

.cf-stamp .no {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--clay);
}

.cf-stamp .lbl {
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sage);
}

.cf-vital-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cf-vital-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 10px;
}

.cf-vital-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cf-vital-row span {
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sage);
}

.cf-vital-row strong {
    font-size: 1.02rem;
    color: var(--ink);
    text-align: right;
}

/* ---------- HISTORY + LAB ---------- */
.cf-grid {
    padding: 38px 0 6px;
}

.cf-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 32px;
    height: 100%;
}

.cf-panel h3 {
    font-size: 20px;
    color: var(--teal-deep);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cf-panel h3 i {
    color: var(--clay);
}

.cf-history p {
    color: #3D453F;
    font-size: 18px;
}

.cf-lab-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 9px 0;
    border-bottom: 1px dotted var(--line);
    font-size: 16px;
    gap: 12px;
}

.cf-lab-row:last-child {
    border-bottom: none;
}

.cf-lab-row .k {
    color: var(--sage);
    letter-spacing: .04em;
}

.cf-lab-row .v {
    font-weight: 700;
    color: var(--ink);
    text-align: right;
    white-space: nowrap;
}

/* ---------- VERTICAL TIMELINE ---------- */
.cf-pulse-wrap {
    padding: 46px 0 10px;
}

.cf-pulse-head h2 {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--teal-deep);
}

.cf-pulse-head p {
    color: #5C665F;
    max-width: 560px;
    margin-bottom: 30px;
}

.cf-vert {
    position: relative;
    padding-left: 8px;
}

.cf-vert::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px);
}

.cf-vnode {
    position: relative;
    display: flex;
    gap: 22px;
    padding-bottom: 30px;
}

.cf-vnode:last-child {
    padding-bottom: 0;
}

.cf-vnode .dot {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--clay);
    border: 3px solid var(--paper);
    box-shadow: 0 0 0 2px var(--clay);
    margin-top: 5px;
}

.cf-vnode .body {
    flex: 1;
}

.cf-vnode .day {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 4px;
}

.cf-vnode h6 {
    font-size: 18px;
    color: var(--ink);
    margin-bottom: 5px;
}

.cf-vnode p {
    font-size: 17px;
    color: #5C665F;
    line-height: 1.55;
    max-width: 560px;
}

/* ---------- BEFORE / AFTER GALLERY ---------- */
.cf-gallery-wrap {
    padding: 42px 0 10px;
}

.cf-gallery-head h2 {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--teal-deep);
    margin-bottom: 6px;
}

.cf-gallery-head p {
    color: #5C665F;
    margin-bottom: 26px;
}

.cf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.cf-pair {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.cf-pair-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.cf-pair-imgs>div {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.cf-pair-imgs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cf-pair-imgs .tag {
    position: absolute;
    top: 10px;
    left: 10px;
    font-weight: 800;
    font-size: .6rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fff;
}

.tag-before {
    background: var(--ink);
}

.tag-after {
    background: var(--sage);
}

.cf-pair-foot {
    padding: 10px 16px;
    font-size: .76rem;
    letter-spacing: .04em;
    color: var(--sage);
    border-top: 1px solid var(--line);
}

/* ---------- NEXT CASE ---------- */
.cf-other {
    padding: 48px 0 60px;
}

.cf-other-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    padding: 28px 32px;
    flex-wrap: wrap;
}

.cf-other-card .eyebrow {
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--turmeric);
}

.cf-other-card h4 {
    font-family: 'Roboto Serif', serif;
    font-size: 1.25rem;
    margin: 4px 0 0;
}

.cf-other-btn {
    background: var(--turmeric);
    color: var(--ink);
    font-weight: 700;
    font-size: .85rem;
    padding: 11px 22px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:991px) {
    .cf-hero {
        grid-template-columns: 1fr;
    }

    .cf-hero-main {
        padding: 36px 30px 30px;
    }

    .cf-hero-side {
        padding: 30px;
    }

    .cf-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:575px) {
    .cf-hero-main {
        padding: 28px 22px;
    }

    .cf-hero-side {
        padding: 24px 22px;
    }

    .cf-panel {
        padding: 24px 22px;
    }

    .cf-pair-imgs {
        grid-template-columns: 1fr;
    }

    .cf-pair-imgs>div {
        aspect-ratio: 16/10;
    }

    .cf-vert::before {
        left: 13px;
    }

    .cf-vnode {
        gap: 14px;
    }

    .cf-other-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── section labels ── */
.pg-section-label {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 14px;
    padding-left: 2px;
}

.pg-section-label--progress {
    margin-top: 36px;
    color: var(--teal-deep);
}

/* ── BEFORE / AFTER GRID (3 cards) ── */
.pg-ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.pg-ba-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
}

.pg-ba-imgs {
    display: grid;
    grid-template-columns: 1fr 3px 1fr;
    align-items: stretch;
}

.pg-ba-side {
    position: relative;
}

.pg-ba-side img {
    width: 100%;
    height: 250px;
    display: block;
    object-fit: cover;
}

.pg-ba-divider {
    background: var(--line);
}

.pg-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    color: #fff;
}

.pg-tag--before {
    background: var(--ink);
}

.pg-tag--after {
    background: var(--sage);
}

.pg-ba-foot {
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sage);
    border-top: 1px solid var(--line);
    text-align: center;
}

/* ── PROGRESS GRID (3 single images) ── */
.pg-prog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.pg-prog-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
}

.pg-prog-card img {
    width: 100%;
    height: 450px;
    display: block;
    object-fit: contain;
}

.pg-prog-label {
    padding: 9px 14px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--clay);
    border-top: 1px solid var(--line);
    text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 767px) {

    .pg-ba-grid,
    .pg-prog-grid {
        grid-template-columns: 1fr;
    }
}