:root {
    --pine: #1B4332;
    --pine-dark: #24544b;
    --pine-soft: #2E5E47;
    --sage-bg: #F7F8F5;
    --sage-bg-alt: #EEF2EC;
    --ink: #152420;
    --ink-soft: #46564F;
    --apricot: #246D63;
    --apricot-dark: #246D63;
    --apricot-soft: #F7DEC4;
    --gold: #C9763C;
    --line: #DCE4DA;
    --white: #FFFFFF;
    --radius-lg: 22px;
    --radius-md: 14px;
    --shadow-soft: 0 20px 45px -20px rgba(15, 46, 34, 0.25);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html {
    max-width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--sage-bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 0;
    overflow-x: hidden;
}

.page-wrapper {
    width: 100%;
}

[id] {
    scroll-margin-top: 96px;
}

h1,
h2,
h3,
h4,
.display-serif {
    color: var(--ink);
    letter-spacing: -0.01em;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1B4332;
}

.display-serif em {
    font-style: italic;
    color: var(--apricot-dark);
    font-weight: 500;
}

p {
    font-size: 17px !important;
    color: #000 !important;
}

span {
    font-size: 14px;
    font-weight: 500;
    color: white;
}


.main-links .dropdown-toggle:focus,
.main-links .dropdown-toggle:active,
.main-links .dropdown-toggle.show {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.eyebrow {
    font-size: 14px !important;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: white !important;
    font-weight: 600;
}

.eyebrow.on-dark {
    color: var(--apricot-soft);
}

.eyebrow .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--apricot);
    margin: 0 8px 2px;
    vertical-align: middle;
}

.btn {
    border-radius: 50px;
    font-weight: 600;
    padding: .65rem 1.4rem;
    font-size: .95rem;
}

.btn-accent {
    background: black;
    border-color: var(--apricot);
    color: #fff;
}

.btn-accent:hover {
    background: white;
    border-color: var(--apricot-dark);
    color: black;
}

.btn-pine {
    background: var(--pine);
    border-color: var(--pine);
    color: #fff;
}

.btn-pine:hover {
    background: var(--pine-dark);
    border-color: var(--pine-dark);
    color: #fff;
}

.btn-outline-pine {
    border: 1.5px solid var(--pine);
    color: var(--pine);
    background: transparent;
}

.btn-outline-pine:hover {
    background: var(--pine);
    color: #fff;
}

.btn-outline-light-line {
    border: 1.5px solid rgba(255, 255, 255, .4);
    color: #fff;
}

.btn-outline-light-line:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.btn-call {
    background: var(--sage-bg-alt);
    color: var(--pine);
    border: 1px solid var(--line);
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-whatsapp {
    background: #1FAA59;
    border-color: #1FAA59;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #178a47;
    color: #fff;
}

section {
    padding: 5.5rem 0;
}

@media (max-width:767.98px) {
    section {
        padding: 3.5rem 0;
    }
}

.section-alt {
    background: #1a490312;
}

.section-head {
    max-width: 680px;
}

.section-head.mx-auto {
    text-align: center;
}

/* TOP BAR */
.top-bar {
    background: linear-gradient(to right, #01372d, #35877c);
    color: rgba(255, 255, 255, .85);
    font-size: .85rem;
    padding: .45rem 0;
}

.top-bar a {
    font-weight: 500;
    font-size: 14px;
    color: rgb(255 255 255);
    text-decoration: none;
}

.top-bar a:hover {
    color: #fff;
}

.top-bar .divider {
    opacity: .3;
    margin: 0 .85rem;
}

.top-bar .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    margin-left: 6px;
    font-size: .85rem;
}

.top-bar .social-link:hover {
    background: var(--apricot);
    color: #fff;
}

/* MAIN NAV */
.main-nav {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease, padding .25s ease;
    padding: .85rem 0;
    z-index: 1040;
}

.main-nav.scrolled {
    box-shadow: 0 12px 30px -18px rgba(15, 46, 34, .35);
    border-bottom-color: var(--line);
    padding: .55rem 0;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(155deg, var(--pine), var(--pine-soft));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--apricot-soft);
    font-size: 1.3rem;
    flex: none;
    box-shadow: 0 8px 18px -8px rgba(27, 67, 50, .6);
}

.brand-name {
    display: block;
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--ink);
    line-height: 1.15;
}

.brand-tag {
    display: block;
    font-size: .62rem;
    letter-spacing: .14em;
   
    text-transform: uppercase;
    margin-top: 1px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.main-links .nav-link {
    font-weight: 500;  
    color: var(--ink);
    padding: .6rem .9rem !important;
    border-radius: 50px;
    transition: background .2s, color .2s;
    text-transform: uppercase;
}

.main-links .nav-link:hover {
    background: var(--sage-bg-alt);
    color: var(--pine);
}

.main-links .dropdown-toggle::after {
    vertical-align: .15em;
}

.navbar-toggler {
    border: 1px solid var(--line);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--pine);
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(27, 67, 50, .15) !important;
}

/* ===== MEGA MENU — CENTERED ON VIEWPORT ===== */
@media (min-width: 992px) {

    /* All dropdowns: default relative (Results, etc.) */
    .main-links .nav-item.dropdown {
        position: relative;
    }

    /* Only Services item (has mega-menu child) goes static */
    .main-links .nav-item.dropdown:has(> .mega-menu) {
        position: static;
    }

    /* positioning context for mega-menu — put it on the inner container,
       NOT on .main-nav itself, since .main-nav also has .sticky-top
       (position: sticky !important). Forcing position:relative !important
       on .main-nav here was overriding sticky-top and breaking the sticky header. */
    .main-nav .container {
        position: relative;
    }

    /* Mega menu: centered on navbar width */
    .mega-menu {
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        border-radius: 18px;
        padding: 1.75rem;
        width: 100%;
        max-width: calc(100vw - 2rem);
        margin-top: -5px !important; 
    }

    /* Simple dropdown: stays under its own nav-item */
    .simple-dropdown {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        transform: none !important;
    }
}

.mega-title {
    color: var(--pine);
    font-weight: 600;
    margin-bottom: .85rem;
    font-size:16px;
}

.mega-list li {
    margin-bottom: .4rem;
}

.mega-list a {
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size:16px;
}

.mega-list a:hover {
    color: var(--apricot-dark);
}

.mega-list a i {
    font-size: 12px;
}

.mega-promo {
    background: var(--pine);
    border-radius: 14px;
    padding: 1.25rem;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: linear-gradient(160deg, rgba(27, 67, 50, .92), rgba(15, 46, 34, .96)), url('https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?auto=format&fit=crop&w=400&q=60');
    background-size: cover;
    background-position: center;
}

.mega-promo h6 {
    font-size: 1.05rem;
    margin-bottom: .4rem;
}

.mega-promo p {
    font-size: .82rem;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 1rem;
}

.simple-dropdown {
    border-radius: 14px;
    padding: .6rem;
    min-width: 230px;
    margin-top: 14px !important;
}

.simple-dropdown .dropdown-item {
    border-radius: 10px;
    padding: .6rem .8rem;
    font-size: .9rem;
    font-weight: 600;
   
    display: flex;
    align-items: center;
    gap: .6rem;
}

.simple-dropdown .dropdown-item i {
    color: var(--apricot);
    font-size: 1rem;
}

.simple-dropdown .dropdown-item:hover,
.simple-dropdown .dropdown-item:focus {
    background: var(--sage-bg-alt);
    color: var(--pine);
}

/* OFFCANVAS */
.offcanvas {
    width: min(380px, 88vw);
}

.offcanvas-header {
    border-bottom: 1px solid var(--line);
}

.mobile-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-links>li {
    border-bottom: 1px solid var(--line);
}

.mobile-links>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .95rem .15rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}

.mobile-services-trigger {
    width: 100%;
    background: none;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .95rem .15rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.mobile-services-trigger i {
    transition: transform .25s;
    color: var(--pine);
}

.mobile-services-trigger[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.mobile-service-group {
    padding: .2rem 0 1rem .4rem;
}

.mobile-service-group h6 {
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--pine);
    margin: .8rem 0 .4rem;
}

.mobile-service-group a {
    display: block;
    padding: .4rem 0;
    text-decoration: none;
    font-size: .92rem;
    color:#1B4332 !important;
}

/* MOBILE STICKY BAR */
.mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    background: #fff;
    border-top: 1px solid var(--line);
    display: flex;
    box-shadow: 0 -10px 30px -15px rgba(15, 46, 34, .3);
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-action-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: .6rem 0;
   
    text-decoration: none;
    font-size: .68rem;
    font-weight: 600;
    border-right: 1px solid var(--line);
}

.mobile-action-bar a:last-child {
    border-right: none;
}

.mobile-action-bar a i {
    font-size: 1.15rem;
}

.mobile-action-bar a.success-action {
    color: #1FAA59;
}

.mobile-action-bar a.action-primary {
    background: var(--apricot);
    color: #fff;
}

/* HERO */
.hero {
    position: relative;
    padding-top: 2.5rem;
    padding-bottom: 5rem;
    overflow: hidden;
    background-color: var(--pine-dark);
    background-image: linear-gradient(120deg, rgba(15, 46, 34, .94) 0%, rgba(15, 46, 34, .88) 38%, rgba(15, 46, 34, .55) 70%, rgba(15, 46, 34, .3) 100%), url('https://images.unsplash.com/photo-1631815589968-fdb09a223b1e?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero .eyebrow {
    color: var(--apricot-soft);
}

.hero .eyebrow .dot {
    background: var(--gold);
}

.hero h1,
.hero .lead-text {
    color: #fff;
}

.hero .lead-text {
    color: rgba(255, 255, 255, .82);
}

.hero .display-serif em {
    color: var(--apricot-soft);
}

.hero .trust-row {
    color: rgba(255, 255, 255, .85);
}

.hero .trust-row i {
    color: var(--gold);
}

.hero-headline {
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    font-weight: 600;
    line-height: 1.12;
}

.hero-frame {
    position: relative;
    border-radius: var(--radius-lg);
}

.hero-frame img {
    width: 80%;
    /*height: 550px;*/
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    /*border: 4px solid rgba(255, 255, 255, .18);*/
}

@media (max-width:767.98px) {
    .hero-frame img {
        /*height: 340px;*/
        width:95%;
        
    }
}

.scan-corner {
    position: absolute;
    width: 34px;
    height: 34px;
    opacity: .9;
}

.scan-corner.tl {
    top: -10px;
    left: -10px;
    border-right: 0;
    border-bottom: 0;
    border-radius: 10px 0 0 0;
}

.scan-corner.br {
    bottom: -10px;
    right: -10px;
    border-left: 0;
    border-top: 0;
    border-radius: 0 0 10px 0;
}

.hero-float-card {
    position: absolute;
    bottom: -40px;
    left: 75px;
    background: #fff;
    border-radius: 16px;
    padding: 1rem 1.2rem;
    box-shadow: 0 18px 40px -18px rgba(15, 46, 34, .35);
    display: flex;
    align-items: center;
    gap: .8rem;
    min-width: 75% !important;
    justify-content: space-around;
}

@media (max-width:767.98px) {
    .hero-float-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -22px;
        min-width: 92%;
        padding: .8rem 1rem;
    }
}

.hero-float-card .num {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--pine);
    line-height: 1;
}

.hero-float-card .label {
    font-size: .74rem;
   
    font-weight: 600;
}

.hero-stars {
    color: var(--gold);
    font-size: .85rem;
    letter-spacing: 2px;
}

.trust-row {
    font-size: .86rem;
   
}

.trust-row i {
    color: var(--pine);
    margin-right: .35rem;
}

/* INFO STRIP */
.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 15px;
    height: 100%;
    transition: transform .25s, box-shadow .25s;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--sage-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pine);
    font-size: 1.25rem;
    margin-bottom: .9rem;
    margin:auto;
    margin-bottom: 10px;
}

/* ABOUT */
.about-photo {
    position: relative;
}

.about-photo img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    max-height: 550px;   
}

.credential-chip {
    color: #E0935F;
    background: #fff;

    border-radius: 14px;
    padding: 10px;
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    height: 100%;
}

.credential-chip i {
    color: var(--apricot-dark);
    font-size: 1.3rem;
    margin-top: 2px;
}

.credential-chip h6 {
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: .15rem;
}

.credential-chip p {
    font-size: .82rem;
   
    margin: 0;
}

/* STATS */
.stats-band {
    padding: 43px 0px;
    background: linear-gradient(135deg, var(--pine), var(--pine-dark));
    color: #fff;
}

.stat-number {
    font-weight: 700;
    font-size: clamp(2.1rem, 4vw, 3rem);
    color: var(--apricot-soft);
    line-height: 1;
}

.stat-label {
    color: #fff;
    font-weight: 500;   
}

/* SERVICES */
.service-pills .nav-link {
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid var(--line);
    background: #fff;
    padding: .6rem 1.2rem;
    margin: .25rem;
    color:#152420 !important;
}

.service-pills .nav-link.active {
    background: var(--pine);
    color: white !important;
    border-color: var(--pine);
}

.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    height: 100%;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--apricot);
}

.service-card .ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--sage-bg-alt);
    color: var(--pine);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex: none;
}

.service-card h6 {
    font-weight: 700;
    font-size: 30px;
    margin-bottom: .25rem;
    color: var(--ink);
}

.service-card p {
    font-size: 18px !important;
    margin: 0;
}

.service-card .arrow {
    margin-left: auto;
    color: var(--line);
    align-self: center;
}

.service-card:hover .arrow {
    color: var(--apricot);
}

.why-item {
    display: flex;
    gap: 1rem;
    padding: 10px 0;
    border-bottom: 1px solid #0e330538;
}

.why-item:last-child {
    border-bottom: none;
}

.why-item .ic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--apricot-soft);
    color: var(--apricot-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    font-size: 1.05rem;
}

.why-item h6 {
    font-weight: 700;
    margin-bottom: .2rem;
    font-size: .96rem;
}

.why-item p {
    font-size: .85rem;
   
    margin: 0;
}

/* FOCUS GALLERY */
.focus-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 300px;
    display: block;
}

.focus-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.focus-card:hover img {
    transform: scale(1.08);
}

.focus-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 36, 28, .92) 5%, rgba(15, 36, 28, .1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    color: #fff;
}

.focus-overlay .tag {
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--apricot-soft);
}

.focus-overlay h5 {
    font-size: 1.15rem;
    margin: .2rem 0 0;
    color: #fff;
}

/* ===== TESTIMONIAL SLIDER ===== */
.testi-slider-wrap {
    position: relative;
    overflow: hidden;
}

.testi-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.45s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.testi-slide {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
}

@media (max-width: 767.98px) {
    .testi-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.testi-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testi-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--pine);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    flex: none;
}

.testi-btn:hover {
    background: var(--pine);
    color: #fff;
    border-color: var(--pine);
}

.testi-dots {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    transition: background .25s, transform .25s, width .25s;
    cursor: pointer;
    border: none;
    padding: 0;
}

.testi-dot.active {
    background: var(--pine);
    transform: scale(1.3);
    width: 22px;
    border-radius: 4px;
}

.testi-card {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    height: 100%;
    text-align: left;
    transition: transform .25s, box-shadow .25s;
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.testi-card i.bi-quote {
    font-size: 1.8rem;
    color: var(--gold);
}

.testi-card p {
    font-size: .98rem;
    color: var(--ink);
    line-height: 1.7;
    margin: .9rem 0;
}

.testi-card h6 {
    font-weight: 700;
    margin: 0;
    color: var(--pine);
}

.testi-card span {
    font-size: .8rem;
   
}

/* APPOINTMENT */
.appt-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid var(--line);
    padding: .7rem .9rem;
    font-size: .92rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--pine);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, .12);
}

.map-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
    min-height: 340px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    display: block;
}

/* FAQ */
.accordion-item {
    border: 1px solid var(--line);
    border-radius: 14px !important;
    margin-bottom: .8rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 700;
    font-size: .96rem;
    background: #fff;
    color: var(--ink);
    padding: 1.1rem 1.3rem;
}

.accordion-button:not(.collapsed) {
    background: var(--sage-bg-alt);
    color: var(--pine);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    /*font-size: .9rem;*/
    color: #000;
    line-height: 1.7;
    padding: 1rem 1.3rem 1.3rem;
}

/* FOOTER */
footer {
    background: var(--pine-dark);
    color: rgba(255, 255, 255, .75);
}

footer h6 {
    color: #fff;
    font-weight: 700;
    font-size: 25px;
    letter-spacing: .03em;
    margin-bottom: 1.1rem;
}

footer a {
    color: #fff;
    text-decoration: none;
    
}

footer a:hover {
    color: var(--apricot-soft);
}

.footer-links li {
    margin-bottom: .6rem;
}

.area-chip {
    display: inline-block;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50px;
    padding: .35rem .85rem;
   
    margin: 0 .3rem .5rem 0;
    color: #fff;
}

.area-chip:hover {
    background: var(--apricot);
    border-color: var(--apricot);
    color: #fff;
}

.social-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: .5rem;
}

.social-circle:hover {
    background: var(--apricot);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .82rem;
}

#backToTop {
    position: fixed;
    right: 18px;
    bottom: 90px;
    z-index: 1044;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--pine);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    border: none;
    font-size: 1.1rem;
}

@media (min-width:768px) {
    #backToTop {
        bottom: 26px;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion:reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width:767.98px) {
    body {
        padding-bottom: 64px;
    }
}

@media (max-width:991.98px) {
    .mega-menu {
        position: static;
    }
}

/* RESPONSIVE NAV FIXES */
@media (min-width:992px) and (max-width:1199.98px) {
    .brand-mark {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }

    .brand-name {
        font-size: .9rem;
    }

    .brand-tag {
        font-size: .54rem;
        letter-spacing: .1em;
    }

    .navbar-brand {
        gap: .4rem;
    }

    .main-links .nav-link {
        padding: .5rem .55rem !important;
        font-size: .82rem;
    }

    .main-nav .d-flex.gap-2 {
        gap: .35rem !important;
    }

    .btn-accent {
        padding: .5rem .85rem;
        font-size: .82rem;
    }

    .btn-call {
        width: 36px;
        height: 36px;
    }
}

@media (min-width:1200px) and (max-width:1399.98px) {
    .main-links .nav-link {
        padding: .55rem .78rem !important;
        
    }
}

/* ===== DESKTOP HOVER DROPDOWN — JS controlled only ===== */
/* CSS :hover rule REMOVED — dropdown is fully controlled by JS mouseenter/mouseleave */
@media (min-width:992px) {

    .main-links .nav-item.dropdown>.dropdown-menu {
        display: none;
    }

    .main-links .nav-item.dropdown>.dropdown-menu.show {
        display: block;
        animation: ddFadeIn .17s ease forwards;
    }

    @keyframes ddFadeIn {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }

    /* Simple dropdown animation (no translateX center) */
    .main-links .nav-item.dropdown>.simple-dropdown.show {
        animation: ddFadeInSimple .17s ease forwards;
    }

    @keyframes ddFadeInSimple {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.counter {
    color: white;
    font-size: 35px;
}

.card {
    background: #fff;
    border: 1px solid var(--line) !important;
    border-bottom: 4px solid var(--gold) !important;
    border-radius: var(--radius-md);
    padding: 10px !important;
    color: #000;
    text-align: left;
    transition: transform .25s, box-shadow .25s;
}

.service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.list-home-page {
    color: black;
    font-size: 16px;
}

/* blog page css */
/* Custom Styles for Blog Section */
.text-navy {
    color: #0c2340;
    /* Dark premium blue for medical/health headlines */
    line-height: 1.4;
}

.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.transition-transform {
    transition: transform 0.5s ease;
}

.blog-card:hover .transition-transform {
    transform: scale(1.05);
}

.btn-read-more {
    color: #24544b;
    transition: color 0.2s ease;
}

.btn-read-more:hover {
    color: #24544b;
    text-decoration: none !important;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.tracking-wider {
    letter-spacing: 0.12em;
}

/* Elegant Hover Effects */
.hover-zoom {
    transition: transform 0.4s ease;
}

.post-thumbnail:hover .hover-zoom {
    transform: scale(1.03);
}

.hover-link {
    transition: color 0.2s ease-in-out;
}

.hover-link:hover {
    color: #6c757d !important;
}

/* Layout Utilities */
.object-fit-cover {
    object-fit: cover;
}

.widget-title {
    color: #495057;
}


@media (max-width: 991.98px) {
    .blog-post {
        margin-bottom: 2rem;
    }
}

.gallery-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: sans-serif;
}

.gallery-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #333;
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}


.gallery-item:hover img {
  transform: scale(1.05);
}


@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
.education-chip {  
    color: #E0935F;
    background: #fff;
 
    border-radius: 14px;
            
    display: flex;
    gap: .85rem;
    align-items: flex-start;

}             
.bg-success{
    background: #1B4332 !important;
}
.text-success{
    color: #1B4332 !important;
}
.border-success{
    border-color:#1B4332 !important;
}
  
.treatment-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12) !important;
}

.treatment-card .card-img-top {
  height: 280px;
  transition: transform 0.5s ease;
}

.treatment-card:hover .card-img-top {
  transform: scale(1.03);
}

.cs-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2rem 1.9rem;
  position: sticky;
  top: 110px;
  border: 1px solid var(--line);
}
.cs-sidebar-row {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.cs-sidebar-row:last-of-type {
  border-bottom: none;
}
.cs-sidebar-label {
  letter-spacing: 0.09em;
  text-transform: uppercase;
 
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.cs-sidebar-value {
  color: var(--pine);
  line-height: 1.35;
}
.cs-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.cs-btn-call {
  background: var(--pine);
  color: var(--white);
  margin-top: 1.4rem;
}
.cs-btn-mail {
  background: var(--sage-bg-alt);
  color: var(--pine);
  border: 1px solid var(--line);
  margin-top: 0.7rem;
}
.cs-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  color: inherit;
}

/* ---------- IMAGE PANEL ---------- */
.cs-image-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.cs-image-panel img {
  width: 100%;        
  height: 450px;  
  object-fit: cover;
  display: block;
}
.cs-image-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(21, 36, 32, 0.72);
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ---------- TIMELINE ---------- */
.cs-timeline {
  position: relative;
}
.cs-timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--line), var(--line));
  background-image: repeating-linear-gradient(
    to bottom,
    var(--line) 0 6px,
    transparent 6px 12px
  );
}
.cs-step {
  position: relative;
  padding-left: 78px;
  margin-bottom: 3.2rem;
}
.cs-step:last-child {
  margin-bottom: 0;
}
.cs-step-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--pine);
  color: var(--pine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  z-index: 1;
}
.cs-step.is-outcome .cs-step-marker {
  background: var(--pine);
  color: var(--white);
  border-color: var(--pine);
}
.cs-step-title {
    font-weight: 600;
  margin-bottom: 0.3rem;
}
.cs-step-kicker {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apricot-dark);
  font-weight: 700;
  margin-bottom: 0.35rem;
  display: block;
}
.cs-step p {
 
  line-height: 1.75;
}

/* ---------- CHECKLIST ---------- */
.cs-checklist {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0;
  /*display: grid;*/
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.5rem;
}
.cs-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink);
  line-height: 1.5;
}
.cs-check-ico {
  flex: none;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  background: var(--pine);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}
.cs-check-ico svg {
  width: 12px;
  height: 12px;
}

/* ---------- CARD ---------- */
.cs-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.7rem;
}
.cs-card + .cs-card {
  margin-top: 1rem;
}
.cs-card h4 {
  color: var(--pine);
  margin-bottom: 0.8rem;
}

/* ---------- BEFORE/AFTER ---------- */
.cs-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  margin-top: 1.2rem;
}
.cs-compare-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.cs-compare-head {
  padding: 0.8rem 1.1rem;
  letter-spacing: 0.02em;
}
.cs-compare-card.before .cs-compare-head {
  background: var(--sage-bg-alt);
 
}
.cs-compare-card.after .cs-compare-head {
  background: var(--pine);
  color: var(--white);
}
.cs-compare-card ul {
  list-style: none;
  padding: 1rem 1.1rem 1.2rem;
  margin: 0;
}
.cs-compare-card li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--line);
 
  display: flex;
  gap: 0.55rem;
}
.cs-compare-card li:last-child {
  border-bottom: none;
}
.cs-compare-card li::before {
  content: "—";
  color: var(--apricot-dark);
  font-weight: 700;
}

/* ---------- OUTCOME PILLS ---------- */
.cs-outcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.1rem;
}
.cs-outcome-pill {
  background: var(--sage-bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  color: var(--ink);
}

/* ---------- CTA ---------- */
.cs-cta {
  background: var(--pine);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.cs-cta-content {
  padding: 2.6rem 2.8rem;
}
.cs-cta h3 {
  color: var(--white);
  margin-bottom: 0.4rem;
}
.cs-cta .cs-cta-badge {
  background: var(--apricot);
  color: var(--white);
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 6px;
}
.cs-cta p {
  color: rgba(255, 255, 255, 0.78);
}
.cs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--apricot);
  color: var(--white);
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.6rem;
  transition: transform 0.15s ease;
}
.cs-cta-btn:hover {
  transform: translateY(-2px);
  color: var(--white);
}
.cs-cta-meta {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.cs-cta-image {
  position: relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
}
.cs-cta-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--pine) 0%, transparent 40%);
}

/* ---------- FOLLOW ---------- */
.cs-follow {
  background: var(--ink);
  padding: 2.2rem 0;
}
.cs-follow p {
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.cs-follow a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.2s ease;
}
.cs-follow a:hover {
  background: var(--apricot);
  border-color: var(--apricot);
  transform: translateY(-3px);
}

@media (max-width: 991px) {
  .cs-sidebar {                 
    position: static;
    margin-bottom: 2rem;
  }
  .cs-compare,
  .cs-outcome-grid,                                         
  .cs-checklist {
    grid-template-columns: 1fr;
  }
  .cs-cta-content {
    padding: 2.2rem 1.6rem;
  } 
  .cs-cta-image {
    min-height: 200px;
  }
}

    .custom-bullet {
        list-style: none;
        padding-left: 28px;
        margin: 0;
    }

    .custom-bullet li {
        position: relative;
        margin-bottom: 12px;
        line-height: 1.6;
    }

    .custom-bullet li::before {
        content: "";
        position: absolute;
        left: -25px;
        top: 8px;
        width: 10px;
        height: 10px;
        background: #2c8c84;
        border: 3px solid #d9efec;
        border-radius: 50%;
        box-sizing: content-box;
    }

    .card-title a{
        text-decoration:none !important;
        color:#1B4332 !important;
    }
