/* Haasya clinic photography and motion polish */
.hm-reveal{opacity:0;transform:translate3d(0,24px,0);transition:opacity .72s ease var(--hm-reveal-delay,0ms),transform .72s cubic-bezier(.2,.7,.2,1) var(--hm-reveal-delay,0ms);will-change:opacity,transform}.hm-reveal.hm-in-view{opacity:1;transform:none}
.hm-about-photo-grid img,.hm-standards-image img,.hm-about-trust img,.team-single .img-holder img,.team-page .team-img img{object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .45s ease}.hm-about-photo-grid{overflow:visible}.hm-about-photo-grid img{filter:saturate(.96) contrast(1.02)}.hm-about-photo-grid img:hover,.hm-standards-image:hover img,.hm-about-trust img:hover{transform:scale(1.035);filter:saturate(1.04)}.hm-about-photo-main{object-position:54% center}
.team-single,.hm-why-item,.hm-blog-card,.hm-review-card{transition:transform .38s ease,box-shadow .38s ease}.team-single:hover,.hm-why-item:hover,.hm-blog-card:hover,.hm-review-card:hover{transform:translateY(-7px)}.team-single .img-holder,.team-page .team-img{overflow:hidden}.team-single:hover .img-holder img,.team-page .team-single:hover .team-img img{transform:scale(1.035)}.team-single .img-holder img{width:100%;height:520px;object-position:center 22%}.team-page .team-img img{width:100%;height:590px;object-position:center 20%}
.hm-gallery-intro{max-width:720px;margin:0 auto 46px}.hm-gallery-intro span{color:#d3a900;font-size:13px;font-weight:800;letter-spacing:2px;text-transform:uppercase}.hm-gallery-intro h2{color:#202329;font-size:clamp(30px,4vw,46px);font-weight:700;margin:10px 0 13px}.hm-gallery-intro p{color:#666;font-size:17px;line-height:1.8}.latest-gallery .single-item{padding-bottom:24px}.latest-gallery .single-item .img-box{display:block;height:380px;border-radius:16px;box-shadow:0 12px 36px rgba(25,29,36,.1);background:#ececec}.latest-gallery .single-item .img-box img{width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}.latest-gallery .single-item:hover .img-box img{transform:scale(1.055)}.latest-gallery .single-item .img-box .overlay{background:linear-gradient(180deg,rgba(20,22,27,.02) 35%,rgba(20,22,27,.88) 100%);opacity:1}.latest-gallery .single-item .img-box .overlay .social{vertical-align:bottom;padding:25px;text-align:left}.latest-gallery .single-item .social h4{margin:0;font-size:17px;letter-spacing:.3px;text-transform:none}.hm-gallery-expand{float:right;color:#f3cd31;margin-top:-21px;transform:translateY(6px);opacity:0;transition:.3s ease}.latest-gallery .single-item:hover .hm-gallery-expand{opacity:1;transform:none}
@media (min-width:992px){.hm-gallery-wide{width:66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.hm-gallery-wide .img-box{height:430px!important}}@media (max-width:991px){.team-single .img-holder img,.team-page .team-img img{height:500px}}@media (max-width:575px){.latest-gallery{padding:65px 0}.latest-gallery .single-item .img-box{height:410px}.team-single .img-holder img,.team-page .team-img img{height:470px}}@media (prefers-reduced-motion:reduce){.hm-reveal{opacity:1;transform:none;transition:none}.hm-about-photo-grid img,.team-single,.hm-why-item,.hm-blog-card,.hm-review-card,.latest-gallery img{transition:none!important}}

/* Responsive photography corrections */
.hm-about-photo-main{object-position:center 18%}
.team-profile-image img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;object-position:center top}
@media (max-width:575px){.hm-about-photo-main{object-position:center 15%}}

/* Mobile photo composition: the doctors remain fully visible instead of being
   squeezed into the narrow left column. */
@media (max-width:575px){
    .hm-about-visual{min-height:515px!important;padding:0 0 32px!important}
    .hm-about-photo-grid{height:515px!important;grid-template-columns:1fr 1fr!important;grid-template-rows:minmax(0,2fr) minmax(0,1fr)!important;gap:8px!important}
    .hm-about-photo-grid .hm-about-photo-main{grid-column:1 / -1!important;grid-row:1!important;object-position:center 22%!important}
    .hm-about-photo-grid img:not(.hm-about-photo-main){grid-row:2!important}
    .hm-about-badge{top:16px!important;right:8px!important}
    .hm-about-caption{bottom:0!important}
    .hm-about-copy{margin-top:50px!important}
    .hm-footer-main .row>[class*="col-"]{margin-bottom:34px}
    .hm-footer-main .row>[class*="col-"]:last-child{margin-bottom:0}
}

/* Readable long-form copy */
.about-text-box p,.hm-about-statement p,.hm-standards-lead,.hm-about-section-heading p,.hm-about-trust p,.team-profile-content p{text-align:justify}

/* Keep body copy consistently aligned throughout the site. */
body p{text-align:justify!important}

/* On phones the qualification badge sits above the photograph, never over a face. */
@media (max-width:575px){
    .hm-about-visual{min-height:585px!important;padding-top:62px!important}
    .hm-about-badge{top:0!important;right:8px!important}
}

/* Fixed social/contact actions -- facebook, instagram, whatsapp, back-to-top
   and call all live in one flex column now, sharing the same circle size,
   spacing and shadow so the whole stack reads as one consistent group. */
.hm-sticky-socials{position:fixed;right:20px;bottom:20px;z-index:1000;display:flex;flex-direction:column;gap:9px}
.hm-sticky-socials a{position:relative!important;inset:auto!important;width:42px;height:42px;border-radius:50%!important;display:flex!important;align-items:center;justify-content:center;color:#fff!important;font-size:18px;box-shadow:0 5px 16px rgba(0,0,0,.24)!important;border:0!important;margin:0!important;animation:none!important;transition:transform .25s ease,box-shadow .25s ease}
.hm-sticky-socials a:hover{color:#fff!important;transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.3)!important}
.hm-sticky-socials a i{position:static!important;color:#fff!important;font-size:18px!important;margin:0!important}
.hm-sticky-facebook{background:#1877f2!important}
.hm-sticky-instagram{background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045)!important}
.hm-sticky-whatsapp{background:#25d366!important}
.hm-sticky-socials .hm-call-fab{background:#ff7a1a!important}
.hm-sticky-socials .hm-call-fab i{color:#fff!important}
.hm-sticky-socials #scroll{background:#24262b!important}
.hm-sticky-socials #scroll span{color:#ffcc00!important;font-size:18px!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)}
@media (max-width:575px){
    .hm-sticky-socials{right:14px;bottom:14px;gap:8px}
    .hm-sticky-socials a{width:40px!important;height:40px!important;font-size:17px}
    .hm-sticky-socials a i{font-size:17px!important}
    .hm-sticky-socials #scroll span{font-size:17px!important}
}
