/* ======================================================================
   HEALTHGRID DESIGN SYSTEM  (overrides — loaded after theme_css.php)
   Soft lavender / periwinkle · white surfaces · black pill CTAs
   Scoped, minimal-shadow, rounded healthcare aesthetic.
   This block only re-skins presentation; all dynamic PHP is untouched.
   ====================================================================== */
:root{
  --hg-lav:#a8a0f2;          /* card periwinkle            */
  --hg-lav-2:#b7b0f5;        /* lighter periwinkle         */
  --hg-lav-soft:#efecfc;     /* section tint               */
  --hg-lav-softer:#f7f6fe;   /* subtle tint                */
  --hg-dark:#111015;         /* CTAs / dark bands          */
  --hg-dark-2:#26232f;
  --hg-text:#1b1a20;         /* headings / strong text     */
  --hg-muted:#6f6e79;        /* secondary text             */
  --hg-surface:#ffffff;
  --hg-line:#e7e4f7;         /* hairline dividers          */
  --hg-accent:#6d5ce6;       /* focus / small accents      */
  --hg-radius-sm:14px;
  --hg-radius:20px;
  --hg-radius-lg:28px;
  --hg-shadow:0 18px 40px -26px rgba(66,54,130,.42);
  --hg-shadow-sm:0 10px 26px -20px rgba(66,54,130,.40);
  --hg-space:70px;
}

/* ---------- Global type polish ---------- */
body{ color:var(--hg-text); background:var(--hg-surface); }
.pt-50{ padding-top:var(--hg-space) !important; }
.pb-50{ padding-bottom:var(--hg-space) !important; }

/* ---------- Palette remap: kill legacy yellow, use HealthGrid ink/lavender ---------- */
.text-app2, .text-app, .text-appp, .text-main{ color:var(--hg-text) !important; }
.bg-app{ background:var(--hg-lav) !important; }
.bg-lapp{ background:linear-gradient(120deg,#7d73e6 0%, #a8a0f2 55%, #cfc9fb 100%) !important; }
.text-lblue,.text-nblue{ color:var(--hg-accent) !important; }
.artdate{ background:var(--hg-lav) !important; color:var(--hg-text); }
.top_menu .float-right a i{ background:var(--hg-dark); color:#fff; }

/*--------- Custotm style ScrollBar Css ---------*/
.cusscroll ::-webkit-scrollbar {width: 2px;}
.cusscroll ::-webkit-scrollbar-track {box-shadow: inset 0 0 5px #FFFFFF; }
.cusscroll ::-webkit-scrollbar-thumb {background: #929DE5;  border-radius: 10px;}
.cusscroll ::-webkit-scrollbar-thumb:hover {background: #FFFFFF; }



/* accent-coloured hover states across the theme -> periwinkle */
a.text-hover-color:hover,
.service-card:hover .text-hover-color,
.vision-mission-card:hover .text-hover-color,
.doctor-card:hover .text-hover-color,
.awards_homepage .post:hover p.awardtitle,
.news .post:hover .newstitle,
.treatments .treatments-card:hover h3.treattitle,
.video_gallery_homepage .videogallery:hover span.vidtitle,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .dropdown .nav-link:hover,
.navbar-nav .dropdown .nav-link.active,
.blogcategory ul li.yearnum:hover p,
.blogcategory ul li a:hover{ color:var(--hg-accent) !important; }

/* ---------- Buttons -> HealthGrid pills ---------- */
.btnprimary,
.btnsecondary,
.btnthird, a.btnthird,
.btnfour, a.btnfour{
  border-radius:50px !important;
  font-weight:600;
  letter-spacing:.2px;
  border:1px solid transparent;
  transition:transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btnprimary{ background:var(--hg-dark) !important; color:#fff !important; padding:12px 30px !important; }
.btnprimary:hover, a.btnprimary:hover{ background:var(--hg-dark-2) !important; color:#fff !important; transform:translateY(-2px); box-shadow:var(--hg-shadow-sm); }
.btnthird, a.btnthird{ background:var(--hg-dark); color:#fff !important; padding:9px 26px; }
.btnthird:hover, a.btnthird:hover{ background:var(--hg-dark-2) !important; color:#fff !important; transform:translateY(-2px); }
.btnsecondary{ background:var(--hg-dark) !important; color:#fff !important; padding:10px 30px; }
.btnsecondary:hover, a.btnsecondary:hover{ background:#fff !important; color:var(--hg-dark) !important; border:1px solid var(--hg-dark) !important; }
/* hero secondary button (2nd banner button) -> outline pill */
.banner_txt .buttons a.btnprimary + a.btnprimary{ background:transparent !important; color:#fff !important; border:1px solid rgba(255,255,255,.85); }
.banner_txt .buttons a.btnprimary + a.btnprimary:hover{ background:#fff !important; color:var(--hg-text) !important; }

/* section band tints */
.secondary_section{ background:var(--hg-lav-softer) !important; }
.secondary_section h3,.secondary_section h4,.secondary_section h5{ color:var(--hg-text) !important; }
.secondary_section p{ color:var(--hg-muted) !important; }

/* ---------- Universal card image treatment ---------- */
.blog-img img, .post-img img, .casestudies-img img, .doccard-img img,
.treatments-card .card-img img{
  border-radius:var(--hg-radius) !important;
  border:0 !important;
}
.h-280{ height:250px !important; border-radius:var(--hg-radius); }

/* signature circular arrow on image cards */
.blog-img, .post-img, .casestudies-img, .doccard-img, .treatments-card .card-img{ position:relative; overflow:hidden; border-radius:var(--hg-radius); display:block; }
.blog .blog-img::after,
.news .post-img::after,
.casestudies .casestudies-img::after,
.doccard .doccard-img::after{
  content:"\2197"; position:absolute; right:14px; bottom:14px;
  width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#fff; color:var(--hg-text); font-size:18px; font-weight:700;
  box-shadow:var(--hg-shadow-sm); transform:translateY(6px); opacity:0; transition:.3s ease;
}
.blog:hover .blog-img::after,
.news .post:hover .post-img::after,
.casestudies:hover .casestudies-img::after,
.doccard:hover .doccard-img::after{ transform:translateY(0); opacity:1; }

/* ---------- Card shells (blog / news / awards / doctors / casestudies) ---------- */
.blog, .post, .doccard, .casestudies, .treatments-card{
  background:var(--hg-surface);
  border:1px solid var(--hg-line);
  border-radius:var(--hg-radius-lg);
  padding:14px !important;
  height:100%;
  transition:transform .3s ease, box-shadow .3s ease;
}
.blog:hover, .post:hover, .doccard:hover, .casestudies:hover, .treatments-card:hover{
  transform:translateY(-4px); box-shadow:var(--hg-shadow);
}
.blog .py-1, .post > .p-3, .doccard > .p-3, .casestudies .dat_desc{
  border:0 !important; padding:16px 8px 6px !important; background:transparent !important;
}
.blog .font-weight-bold, .post .font-weight-bold, .doccard .doctitle,
.casestudies .font-weight-bold, .treatments .treattitle{
  color:var(--hg-text) !important; font-weight:700 !important; font-size:18px !important;
}
.blog p, .post p, .doccard p, .casestudies p{ color:var(--hg-muted) !important; }
.post .fw-600, .doccard .fw-600{ color:var(--hg-accent) !important; font-size:13px !important; text-transform:uppercase; letter-spacing:.6px; }

/* ---------- Case studies ---------- */
.casestudies-img{ margin-bottom:14px; }

/* ---------- Treatments (image-forward tile) ---------- */
.treatments-card{ margin:0 !important; }
.treatments-card .card-img img{ height:220px; object-fit:cover; width:100%; }
.treatments-card h3.treattitle{ padding:14px 6px 4px !important; }
.treatments-card p{ color:var(--hg-muted) !important; padding:0 6px; }

/* ---------- Doctors ---------- */
.doccard-img img{ height:280px; }

/* ---------- About Clinic ---------- */
.about_homepage{ background:#fff !important; }
.about_homepage .docimgabouthome{ border-radius:var(--hg-radius-lg) !important; border:0 !important; box-shadow:var(--hg-shadow); }
.about_homepage .text-app2{ color:var(--hg-accent) !important; text-transform:uppercase; letter-spacing:1px; font-size:14px !important; }
.about_homepage h2.fw-900{ font-size:clamp(30px,3.4vw,44px) !important; letter-spacing:-1px; line-height:1.1; }
.about_homepage .text-appp{ color:var(--hg-accent) !important; }
.about_homepage .sideimg{ opacity:.5; }

.choosetickbefore ul li{ margin-top:16px; }

/* ---------- FAQ accordion -> lavender rows + circular +/- ---------- */
.faqsection #accordion .card{
  border:1px solid var(--hg-line) !important; border-radius:var(--hg-radius) !important;
  overflow:hidden; box-shadow:none;
}
.faqsection .card-header{ background:#fff !important; border:0 !important; padding:6px 8px; }
.faqsection .faq-hover:hover, .faqsection .faq-hover.active{ background:var(--hg-lav-soft) !important; }
.faqsection .hdng a{ color:var(--hg-text) !important; padding:14px 46px 14px 8px; display:block; position:relative; }
.faqsection #accordion .hdng a:after,
.faqsection #accordion .hdng a.collapsed:after{
  font-family:FontAwesome; float:none; position:absolute; right:8px; top:50%;
  transform:translateY(-50%); width:30px; height:30px; border-radius:50%;
  background:var(--hg-dark); color:#fff; font-size:12px;
  display:flex; align-items:center; justify-content:center;
}
.faqsection #accordion .hdng a:after{ content:'\f068'; }        /* minus when open   */
.faqsection #accordion .hdng a.collapsed:after{ content:'\f067'; background:var(--hg-lav); color:var(--hg-text); } /* plus when closed */

/* ---------- Press release clip cards ---------- */
.pressrelease_homepage .gallery .presscard{ border:1px solid var(--hg-line) !important; border-radius:var(--hg-radius); }
.pressrelease_homepage .text-lblue{ color:var(--hg-accent) !important; }

/* ---------- Events -> case-study metadata card ---------- */
.medevents{
  background:var(--hg-lav-soft) !important; border:1px solid var(--hg-line);
  border-radius:var(--hg-radius-lg); height:auto; min-height:230px;
  transition:transform .3s ease, box-shadow .3s ease;
}
.medevents:hover{ background:var(--hg-lav) !important; transform:translateY(-4px); box-shadow:var(--hg-shadow); }
.medevents p, .medevents .secondarytext, .medevents .text-darkkk{ color:var(--hg-text) !important; }
.medevents .secondarytext.fs-50{ color:var(--hg-accent) !important; }
.medevents:hover p, .medevents:hover .secondarytext, .medevents:hover .title, .medevents:hover .text-darkkk{ color:var(--hg-text) !important; }

/* ---------- Vision / Mission ---------- */
.vm .vision-mission-card h3{ color:var(--hg-text) !important; }
.vm .vmimg img{ border-radius:var(--hg-radius-lg); border:0; }
.vm .col-md-12{ background:#fff; border:1px solid var(--hg-line); border-radius:var(--hg-radius-lg); padding:22px !important; }

/* ---------- Photo gallery editorial tiles ---------- */
.photo_gallery_homepage .albumcss{ border-radius:var(--hg-radius-lg); overflow:hidden; }
.photo_gallery_homepage .albumcss img{ border:0 !important; border-radius:var(--hg-radius-lg); }
.photo_gallery_homepage h3{ margin-top:12px; color:var(--hg-text) !important; }

/* ---------- Video gallery tiles + circular play ---------- */
.video_gallery_homepage .vedioimg{ border-radius:var(--hg-radius-lg); overflow:hidden; }
.video_gallery_homepage .videoimg{ border:0 !important; border-radius:var(--hg-radius-lg); }
.video_gallery_homepage .videogallery{ background:linear-gradient(180deg,rgba(17,16,21,0) 30%, rgba(17,16,21,.82) 100%); }
.video_gallery_homepage .playbtnimgvideo{ background:#fff; border-radius:50%; padding:8px; }

/* ---------- Owl carousel nav/dots ---------- */
.owl-theme .owl-controls .owl-page span{ background:var(--hg-lav) !important; }
.owl-theme .owl-controls .owl-page.active span{ background:var(--hg-dark) !important; }
.owl-controls .owl-buttons div{
  background:var(--hg-dark) !important; width:42px !important; height:42px;
  border-radius:50% !important; color:#fff; display:inline-flex; align-items:center; justify-content:center;
}
.owl-buttons{ top:-64px; }
/* "Do You Know?" arrows sit either side of the single card */
#testimonials_slider .owl-buttons{ position:static; top:auto; right:auto; }
#testimonials_slider .owl-controls .owl-buttons div{
  position:absolute; top:50%; -ms-transform:translateY(-50%); transform:translateY(-50%);
  background:var(--hg-lav-soft) !important; color:var(--hg-muted) !important;
  width:34px !important; height:34px; border-radius:50% !important; font-size:13px;
}
#testimonials_slider .owl-controls .owl-buttons div.owl-prev{ left:-54px; }
#testimonials_slider .owl-controls .owl-buttons div.owl-next{ right:-54px; }
@media (max-width:767px){
  #testimonials_slider .owl-controls .owl-buttons div.owl-prev{ left:-6px; }
  #testimonials_slider .owl-controls .owl-buttons div.owl-next{ right:-6px; }
}

/* ---------- Footer CTA band (photo background, centred title + white pill) ---------- */
.bookappfooter{ position:relative; background-size:cover !important; background-position:center !important; background-repeat:no-repeat !important; }
.bookappfooter::before{ content:""; position:absolute; inset:0; background:rgba(17,16,21,.46); }
.bookappfooter > div{ position:relative; z-index:1; }
.bookappfooter .row{ -ms-flex-align:center; align-items:center; }
.bookappfooter .fs-65{ color:#fff !important; font-weight:700; font-size:30px !important; line-height:1.32 !important; letter-spacing:-.2px; text-align:center; margin:0; }
/* contact details are not part of the design — hidden, data still rendered */
.bookappfooter .c_row{ display:none !important; }
.bookappfooter, .bookappfooter p, .bookappfooter a{ color:#fff !important; }
.bookappfooter .d-flex{ -ms-flex-align:center; align-items:center; }
.bookappfooter .btnsecondary{ background:#fff !important; color:var(--hg-dark) !important; font-size:14px !important; padding:10px 26px; margin:0 !important; }
.bookappfooter .btnsecondary:hover{ background:var(--hg-dark) !important; color:#fff !important; border-color:#fff !important; }

/* ---------- Navbar: transparent over the hero, solid once scrolled ---------- */
.top-navbar-head.hg-nav{ background:transparent; border-bottom:0; }
.top-navbar-head.hg-nav.activescroll{ background:#fff; }
.hg-nav .navbar-brand{ font-size:20px !important; font-weight:700; }
.navbar-light .navbar-nav .nav-link{ font-size:14px; font-weight:400; }

/* ---------- Footer: brand + social row, link row, centred copyright ---------- */
footer .col-md-12{ display:grid; grid-template-columns:1fr auto; column-gap:30px; }
footer .col-md-12 > h3{ grid-area:1/1; text-align:left !important; font-size:20px !important; font-weight:700 !important; margin:0 0 10px; }
footer .col-md-12 > div{ grid-area:2/1; text-align:left !important; font-size:12.5px; line-height:1.7; max-width:430px; }
footer .col-md-12 > div p{ font-size:12.5px; margin:0; }
footer .hg-foot-social{ grid-area:1/2/span 2/auto; align-self:start; -ms-flex-pack:end; justify-content:flex-end !important; width:auto !important; margin:0 !important; }
footer .hg-foot-social .nav-link{ width:30px; height:30px; border-radius:7px; background:#3d5fe0;
  display:-ms-flexbox; display:flex; -ms-flex-align:center; align-items:center; -ms-flex-pack:center; justify-content:center;
  padding:0 !important; margin-left:7px; font-size:13px; color:#fff !important; }
footer .hg-foot-links{ grid-area:3/1/auto/3; -ms-flex-pack:start; justify-content:flex-start !important; width:100% !important; margin:36px 0 0 !important; }
footer .hg-foot-links li{ margin-bottom:0 !important; }
footer .hg-foot-links li a.link{ padding:0 26px 0 0 !important; font-size:13px !important; }
footer .col-md-12 > p{ grid-area:4/1/auto/3; border-top:1px solid rgba(255,255,255,.16); margin-top:24px !important; padding-top:20px; font-size:12px; }

@media (max-width:767px){
  footer .col-md-12{ display:block; }
  footer .col-md-12 > h3, footer .col-md-12 > div{ text-align:center !important; }
  footer .col-md-12 > div{ max-width:none; margin:0 auto; }
  footer .hg-foot-social{ -ms-flex-pack:center; justify-content:center !important; margin:22px 0 0 !important; }
  footer .hg-foot-links{ -ms-flex-pack:center; justify-content:center !important; margin-top:22px !important; }
  footer .hg-foot-links li a.link{ padding:0 12px !important; }
  .bookappfooter .fs-65{ font-size:24px !important; }
}

/* ======================================================================
   HEALTHGRID RESPONSIVE
   ====================================================================== */
@media (max-width:991px){
  :root{ --hg-space:52px; }
  [class*="_homepage"] h3 > span.float-right,
  .hg-services h3 > span.float-right,
  .hg-departments h3 > span.float-right,
  .treatments h3 > span.float-right,
  .doctors h3 > span.float-right,
  .faqsection h3 > span.float-right{ position:static; float:none !important; display:block; margin-top:10px; }
}
@media (max-width:767px){
  :root{ --hg-space:40px; }
  .owl-buttons{ top:-52px; }
  .h-280{ height:210px !important; }
}
@media (max-width:480px){
  :root{ --hg-space:34px; }
  .bookappfooter .fs-65{ font-size:22px !important; }
}

body{font-family: "Manrope", sans-serif;}
.font1{font-family:"Mada", sans-serif;}
/*--------- Common Css ----------- */
.blog-img img,.medevents .medevents-img , .casestudies .casestudies-img, .gallery .presscard,.doccard .doccard-img img, .vm .vmimg img{
    transition: transform 0.4s ease-in-out;
}
.limit-text{
  display: inline-block;
  width: 14ch;             /* ch = character units */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.blog-img:hover img ,.medevents:hover .medevents-img, .casestudies:hover .casestudies-img, .gallery:hover .presscard,.doccard:hover .doccard-img img, .vm .vmimg:hover img {
    transform: scale(1.03); /* Adjust scale as needed */
}
.list-none li{    list-style: none;}
.points ul{
    padding-left: 0px;
}

.text-96{color:#969696 !important;}
.obj-cover{object-fit: cover !important;}
.obj-fill{object-fit: fill !important;}
.navbar-light .navbar-nav .nav-link {color: black;font-size:15px;font-weight:500;}
.navbar-brand{
    letter-spacing: -1px;
}
a.text-hover:hover{text-decoration:underline !important;}
a.text-hover-color:hover{color:#F7B32B !important;}
.text-ul{text-decoration:underline !important;}
.faq-hover:hover{background: #B8B8B8 !important;}
.ofh{overflow: hidden;}
.bg-white{background: linear-gradient(92.72deg, #DCE3FA 2.27%, #C5D0F5 45.27%, #EACFEF 85.86%) !important;}
.bg-app {background: #F7B32B;}
.text-main {color: #F7B32B !important;}
.bg-lapp{background: #F7B32B;}
.text-appp {color: #F48C12 !important;}
.text-app2 {color: #F7B32B !important;}
.bg-darkk{background-color: #000000 !important;}
.bg-news{background: #F6F6F6;}
.bg-light1 {background: rgba(0, 0, 0, 0.04);}
.bg-greyy{background: #B8B8B8 !important;}
.text-darkk{color: #000000;}
.text-darkkk{color: #000000 !important;}
.text-grey{color: #969696;}
.text-lblue{color: #0F4DED !important;}
.text-nblue{color: #0A0CF4 !important;}
.text-app {color: #F48C12;}
.text-lightt , .text-lightt p{color:#555555 !important;}
.brs-10 {border-radius: 10px;}
.brs-15{border-radius: 15px;}
.brs-top-15{border-top-left-radius: 15px;border-top-right-radius: 15px;}
.brs-bot-15{border-bottom-left-radius: 15px;border-bottom-right-radius: 15px;box-shadow: rgba(139, 150, 153, .2) 0 5px 18px;}
.brs-bot-30{border-bottom-left-radius: 30px;border-bottom-right-radius: 30px;}
.brs-20 {border-radius: 20px;}
.brs-30 {border-radius: 30px;}
.brs-40 {border-radius: 40px;}
.brs-50{border-radius:50%;}
.pad5-7{padding: 3px 5px;}
.lh-60{line-height: 75px;}
.fs-65{font-size: 65px;}
.sideimg {position: absolute;top: 0px;left: 0;width: 350px;}
.bg-under{background: #545454;}
.mtn-48{margin-top: -48px;}
.wid-20{width: 20px;}
.fw-100{font-weight:100;}
.fw-200{font-weight:200;}
.fw-300{font-weight:300;}
.fw-400{font-weight:400;}
.fw-500{font-weight:500;}
.fw-600{font-weight:600;}
.fw-700{font-weight:700;}
.fw-800{font-weight:800;}
.fw-900{font-weight:900;}

/*--------- Text overflow Control Css --------- */
.overelipsis1 {display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;overflow: hidden;}
.overelipsis2 {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.overelipsis3 {display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow: hidden;}
.overelipsis {display: -webkit-box;-webkit-line-clamp: 5;-webkit-box-orient: vertical;overflow: hidden;}

/*Navbar Styles*/
.navbar-nav .nav-link.active {
  color: #000000 !important;
}
.navbar-nav .nav-link:hover {
  color: #000000 !important;
}
.navbar-nav .dropdown .nav-link:hover {
    color: #000000 !important;
}

.navbar-nav .dropdown .nav-link.active {
    color: #000000 !important;
}

.top-navbar-head.activescroll {
    background: #fff;
    padding: 12px 15px !important;
    box-shadow: rgba(139, 150, 153, .2) 0 5px 18px;
}
  nav.breadcrumb{
        position: relative;
        justify-content: flex-end;
    }
    ol.breadcrumb {
        justify-content: flex-end;
        margin: 0px;
        padding: 0px;
    }
    .bred_flex {
        display: flex;
        justify-content: space-between;
    }
    .bred_flex h1 {
        font-size: 18px;
        margin-bottom: 0px;
    }

/*--------- Top Menu Css ---------*/
.top_menu .float-right a i{font-size: 15px;background: #000000;border-radius: 50%;color: #EACFEF;padding: 0;width: 25px;height: 25px;text-align: center;padding-top: 5px;}

/*vision-mission*/
.vision-mission-card:hover .text-hover-color{
    color:#F7B32B !important
}
/*Doctors*/
.doctor-card:hover .text-hover-color{
    color:#F7B32B !important
}
.doctoricons{
    background: #000;
    margin: 0px 5px;
    color: #fff;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
}
/*Banner Section STYLES*/
.carousel-indicators li{
    border-radius: 50%;
    width: 12px;
    height: 12px;
}
.banner_txt {
    position: absolute;
    top: 50%;
    left: 28%;
    transform: translate(-50%, -50%);
    color: #fff;
    width: 38%;
}

.banner_txt h1 {
    font-size: 37px;
    font-weight: 500;
    margin-bottom: 20px;
}

.banner_txt p{
    font-size: 18px;
}

a._banner_href {
    color: #fff;
    width: 100%;
    display: block;
}

/*About Styles*/
/* =========================================================
   HEALTHGRID ABOUT SECTION
========================================================= */

.about_hom h3{font-size:24px;font-weight:400;}
.about_hom p{font-size:30px;font-weight:600;}

.healthgrid-about-section {

    padding-top: 45px;
    padding-bottom: 45px;

    background: #ffffff;

}

/* =========================================================
   MAIN CARD
========================================================= */

.healthgrid-about-card {
    position: relative;
    width: 100%;
    height: 490px;
    border-radius: 55px;
    overflow: hidden;
    isolation: isolate;
}

/* =========================================================
   BACKGROUND IMAGE
========================================================= */

.healthgrid-about-bg {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    z-index: -3;

}

/* =========================================================
   GRADIENT OVERLAY
========================================================= */

.healthgrid-about-overlay {

    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(105, 116, 205, 0.92) 0%,
            rgba(118, 130, 216, 0.84) 25%,
            rgba(139, 150, 224, 0.58) 43%,
            rgba(139, 150, 224, 0.16) 65%,
            rgba(0, 0, 0, 0) 100%
        );

}

/* =========================================================
   CONTENT
========================================================= */

.healthgrid-about-content {

    position: relative;

    z-index: 5;

    width: 54%;

    min-height: 505px;

    padding: 62px 45px 50px 50px;

    color: #ffffff;

    display: flex;

    flex-direction: column;

    justify-content: center;

}

/* =========================================================
   SMALL HEADING
========================================================= */

.healthgrid-about-eyebrow {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
}

/* =========================================================
   LEFT CONTENT LINE
========================================================= */

.healthgrid-about-content-box {
    position: relative;
    padding-left: 23px;
    border-left: 2px solid rgba(255, 255, 255, 0.75);
    height: 170px;
    overflow-y: auto;
}

/* =========================================================
   TITLE
========================================================= */

.healthgrid-about-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.healthgrid-about-description {

    color: #ffffff;

    font-size: 15px;

    line-height: 1.5;

    max-width: 510px;

}

.healthgrid-about-description * {

    color: #ffffff !important;

}

/* =========================================================
   EXTRA CONTENT
========================================================= */

.healthgrid-about-extra {

    color: #ffffff;

    font-size: 15px;

    line-height: 1.5;

    margin-top: 10px;

    max-width: 520px;

}

.healthgrid-about-extra p {

    color: #ffffff !important;

}

.healthgrid-about-extra * {

    color: #ffffff !important;

}

/* =========================================================
   STATISTICS
========================================================= */

.healthgrid-about-statistics {

    display: flex;

    align-items: center;

    gap: 30px;

    margin-top: 30px;

    padding-left: 25px;

}

.healthgrid-stat-item {

    display: flex;

    flex-direction: column;

}

.healthgrid-stat-value {

    font-size: 40px;

    font-weight: 600;

    color: #ffffff;

}

.healthgrid-stat-label {

    margin-top: 3px;

    font-size: 12px;

    color: rgba(255,255,255,0.9);

}

/* =========================================================
   WHY CHOOSE SECTION
========================================================= */

.whytochoosehome {

    margin-top: 40px;

}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .healthgrid-about-card {

        min-height: 480px;

    }

    .healthgrid-about-content {

        min-height: 480px;

        width: 58%;

        padding-left: 45px;

    }

}

@media (max-width: 991px) {

    .healthgrid-about-card {

        min-height: 460px;

        border-radius: 40px;

    }

    .healthgrid-about-content {

        width: 65%;

        min-height: 460px;

        padding:
            45px
            35px
            45px
            40px;

    }

    .healthgrid-about-overlay {
            background: linear-gradient(270.12deg, rgba(0, 0, 0, 0) 33.82%, rgba(150, 161, 235, 0.8) 57.96%);

    }

    .healthgrid-about-statistics {

        gap: 20px;

    }

}

@media (max-width: 767px) {

    .healthgrid-about-section {

        padding-top: 30px;

        padding-bottom: 30px;

    }

    .healthgrid-about-card {

        min-height: 600px;

        border-radius: 30px;

    }

    .healthgrid-about-bg {

        object-position: 62% center;

    }

    .healthgrid-about-overlay {

        background:
            linear-gradient(
                180deg,
                rgba(105,116,205,.88) 0%,
                rgba(105,116,205,.78) 55%,
                rgba(105,116,205,.38) 100%
            );

    }

    .healthgrid-about-content {

        width: 100%;

        min-height: 600px;

        padding:
            45px
            25px
            35px;

        justify-content: flex-start;

    }

    .healthgrid-about-eyebrow {

        font-size: 14px;

        margin-bottom: 18px;

    }

    .healthgrid-about-content-box {

        padding-left: 18px;

    }

    .healthgrid-about-title {

        font-size: 25px;

    }

    .healthgrid-about-description,
    .healthgrid-about-extra {

        font-size: 14px;

    }

    .healthgrid-about-statistics {

        padding-left: 20px;

        margin-top: 25px;

        gap: 20px;

        flex-wrap: wrap;

    }

}

@media (max-width: 480px) {

    .healthgrid-about-card {

        min-height: 620px;

        border-radius: 25px;

    }

    .healthgrid-about-content {

        min-height: 620px;

        padding:
            35px
            20px
            30px;

    }

    .healthgrid-about-title {

        font-size: 23px;

    }

    .healthgrid-about-description,
    .healthgrid-about-extra {

        font-size: 13px;

        line-height: 1.45;

    }

    .healthgrid-about-button {

        min-width: 135px;

        height: 40px;

    }

}

/*END*/

   HEALTHGRID SERVICES SECTION
========================================================= */

.healthgrid-services-section {

    background: #ffffff;

    padding-top: 20px;
    padding-bottom: 55px;

}

/* =========================================================
   SECTION HEADING
========================================================= */

.healthgrid-services-heading {

    text-align: center;

    max-width: 750px;

    margin: 0 auto 35px;

}

.healthgrid-services-small-title {

    margin: 0 0 15px;

    color: #111111;

    font-size: 24px;

    line-height: 1.2;

    font-weight: 400;

}

.healthgrid-services-main-title {

    margin: 0 0 14px;

    color: #000000;

    font-size: 36px;

    line-height: 1.2;

    font-weight: 600;

}

.healthgrid-services-description {

    margin: 0 auto;

    max-width: 620px;

    color: #222222;

    font-size: 16px;

    line-height: 1.5;

    font-weight: 400;

}

.healthgrid-services-description p {

    margin: 0;

}

/* =========================================================
   SLIDER
========================================================= */

.healthgrid-services-slider {

    margin: 0 -7px;

}

.healthgrid-services-slider .owl-stage {

    display: flex;

}

.healthgrid-services-slider .owl-item {

    padding: 0 7px;

}

.healthgrid-services-slider .owl-stage-outer {

    padding: 0;

}

/* =========================================================
   NORMAL GRID
========================================================= */

.healthgrid-services-row {

    margin-left: -7px;

    margin-right: -7px;

}

.healthgrid-services-row > div {

    padding-left: 7px;

    padding-right: 7px;

}

/* =========================================================
   SERVICE LINK
========================================================= */

.healthgrid-service-link {

    display: block;

    text-decoration: none !important;

    color: inherit !important;

}

.healthgrid-service-link:hover {

    text-decoration: none !important;

    color: inherit !important;

}

/* =========================================================
   SERVICE CARD
========================================================= */

.healthgrid-service-card {

    position: relative;

    width: 100%;

    height: 300px;

    padding: 36px 28px 34px;

    background: #929DE5;

    border-radius: 15px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}

.healthgrid-service-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 15px 30px rgba(60, 70, 150, 0.16);

}

/* =========================================================
   SERVICE NAME
========================================================= */

.healthgrid-service-name {

    margin: 0;

    padding: 0;

    width: 100%;

    color: #ffffff !important;

    font-size: 17px;

    line-height: 1.4;

    font-weight: 500;

}

/* =========================================================
   IMAGE WRAPPER
========================================================= */

.healthgrid-service-image-wrap {

    position: absolute;

    left: 28px;

    right: 28px;

    top: 100px;

    height: 155px;

}

/* =========================================================
   SERVICE IMAGE
========================================================= */

.healthgrid-service-image {

    display: block;

    width: 100%;

    height: 155px;

    object-fit: cover;

    border-radius: 15px;

}

/* =========================================================
   IMAGE SHAPE
========================================================= */

/* Bottom-right image cut */
.healthgrid-service-image-wrap::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 65px;
    height: 65px;

    /* Same color as the service card background */
    background: #929DE5;

    border-radius: 100% 0 0 0;

    z-index: 2;
    pointer-events: none;
}

/* =========================================================
   ARROW CIRCLE
========================================================= */

.healthgrid-service-arrow {

    position: absolute;

    right: 0;

    bottom: 0;

    width: 31px;

    height: 31px;

    border-radius: 50%;

    background: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 5;

}

.healthgrid-service-arrow span {

    display: block;

    color: #7d8bd8;

    font-size: 18px;

    line-height: 1;

    font-weight: 400;

    transform: translateY(-1px);

}

/* =========================================================
   ALL SERVICES BUTTON
========================================================= */

.healthgrid-services-button {

    display: flex;

    justify-content: center;

    margin-top: 40px;

}

/*
   DO NOT STYLE .btnprimary HERE.
   Existing dynamic/global button styling is preserved.
*/

/* =========================================================
   HIDE DESCRIPTION FROM OLD SERVICE CARD STYLES
========================================================= */

.healthgrid-service-card .testimoimg,
.healthgrid-service-card .overelipsis1,
.healthgrid-service-card .overelipsis3 {

    position: static;

}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .healthgrid-service-card {

        height: 290px;

        padding: 30px 22px;

    }

    .healthgrid-service-image-wrap {

        left: 22px;

        right: 22px;

        bottom: 30px;

    }

    .healthgrid-service-name {

        font-size: 16px;

    }

}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .healthgrid-services-main-title {

        font-size: 32px;

    }

    .healthgrid-service-card {

        height: 285px;

    }

    .healthgrid-service-image-wrap {

        height: 145px;

    }

    .healthgrid-service-image {

        height: 145px;

    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .healthgrid-services-section {

        padding-top: 15px;

        padding-bottom: 45px;

    }

    .healthgrid-services-heading {

        margin-bottom: 25px;

        padding: 0 15px;

    }

    .healthgrid-services-small-title {

        font-size: 21px;

    }

    .healthgrid-services-main-title {

        font-size: 28px;

    }

    .healthgrid-services-description {

        font-size: 14px;

    }

    .healthgrid-service-card {

        height: 290px;

        padding: 30px 22px;

    }

    .healthgrid-service-image-wrap {

        left: 22px;

        right: 22px;

        bottom: 28px;

    }

}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .healthgrid-services-main-title {

        font-size: 25px;

    }

    .healthgrid-services-small-title {

        font-size: 20px;

    }

    .healthgrid-service-card {

        height: 280px;

    }

}

/*End*/

/* =========================================================
   CASE STUDIES SECTION
========================================================= */

.healthgrid-casestudies-section {
    background: #ffffff;
    padding-top: 55px;
    padding-bottom: 60px;
}

/* =========================================================
   HEADING
========================================================= */

.healthgrid-casestudies-heading {
    text-align: center;
    margin-bottom: 38px;
}

.healthgrid-casestudies-label {
    color: #111111;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 14px;
}

.healthgrid-casestudies-title {
    color: #000000;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

/* =========================================================
   SLIDER
========================================================= */

.healthgrid-casestudies-slider {
    margin-left: -8px;
    margin-right: -8px;
}

.healthgrid-casestudies-slider .owl-stage {
    display: flex;
}

.healthgrid-casestudies-slider .owl-item {
    padding: 0 8px;
}

.healthgrid-casestudies-slider .owl-stage-outer {
    padding: 0;
}

/* =========================================================
   NORMAL GRID
========================================================= */

.healthgrid-casestudies-row {
    margin-left: -8px;
    margin-right: -8px;
}

.healthgrid-casestudies-row > div {
    padding-left: 8px;
    padding-right: 8px;
}

/* =========================================================
   CASE STUDY CARD
========================================================= */

.healthgrid-casestudy-card {
    position: relative;

    display: flex;

    width: 100%;
    height: 275px;

    overflow: hidden;

    background: #f8f8f8;

    border-radius: 20px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

/* =========================================================
   ACTUAL CARD BACKGROUND IMAGE
========================================================= */

.healthgrid-casestudy-bg {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 1;

    pointer-events: none;
}

/* =========================================================
   LEFT CONTENT
========================================================= */

.healthgrid-casestudy-content {
    position: relative;

    width: 57%;
    height: 100%;

    padding: 0 25px 25px 0;

    z-index: 5;
}

/* =========================================================
   CASE STUDY LABEL
========================================================= */

.healthgrid-casestudy-number {
    display: flex;

    align-items: center;

    width: 145px;
    height: 48px;

    padding-left: 20px;

    margin-bottom: 22px;

    background: #929de5;

    color: #ffffff;

    font-size: 15px;
    font-weight: 500;

    clip-path: polygon(
        0 0,
        100% 0,
        84% 100%,
        0 100%
    );
}

/* =========================================================
   TITLE
========================================================= */

.healthgrid-casestudy-name {
    color: #111111;

    font-size: 18px;
    font-weight: 500;

    line-height: 1.3;

    margin: 0 0 12px;

    max-width: 350px;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.healthgrid-casestudy-description {
    color: #222222;

    font-size: 13px;
    font-weight: 400;

    line-height: 1.45;

    max-width: 345px;

    display: -webkit-box;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.healthgrid-casestudy-description p {
    margin: 0;
}

/* =========================================================
   KNOW MORE BUTTON
========================================================= */

.healthgrid-casestudy-button-wrap {
    margin-top: 22px;
}

.healthgrid-casestudy-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 17px;

    min-width: 148px;
    height: 40px;

    padding: 0 20px !important;

    border-radius: 25px !important;

    text-decoration: none !important;
}

/* Arrow */

.healthgrid-casestudy-arrow {
    font-size: 21px;
    line-height: 1;
}

/* =========================================================
   RIGHT IMAGE
========================================================= */

.healthgrid-casestudy-image-area {
    position: absolute;

    right: 0;
    top: 0;

    width: 48%;
    height: 100%;

    z-index: 3;

    overflow: hidden;
}

/* =========================================================
   CASE STUDY IMAGE
========================================================= */

.healthgrid-casestudy-image-link {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 78%;
    height: 100%;

    display: block;

    z-index: 3;
}

.healthgrid-casestudy-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition: transform .5s ease;
}

/* =========================================================
   HOVER
========================================================= */

.healthgrid-casestudy-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .08);
}

.healthgrid-casestudy-card:hover
.healthgrid-casestudy-image {
    transform: scale(1.04);
}

/* =========================================================
   ALL CASE STUDIES BUTTON
========================================================= */

.healthgrid-casestudies-button {
    display: flex;

    justify-content: center;

    margin-top: 42px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .healthgrid-casestudy-card {
        height: 270px;
    }

    .healthgrid-casestudy-content {
        width: 58%;
        padding-left: 20px;
    }

    .healthgrid-casestudy-image-area {
        width: 47%;
    }

    .healthgrid-casestudy-name {
        font-size: 17px;
    }

}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .healthgrid-casestudies-title {
        font-size: 32px;
    }

    .healthgrid-casestudy-card {
        height: 270px;
    }

    .healthgrid-casestudy-content {
        width: 60%;
    }

    .healthgrid-casestudy-image-area {
        width: 50%;
    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .healthgrid-casestudies-section {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .healthgrid-casestudies-label {
        font-size: 19px;
    }

    .healthgrid-casestudies-title {
        font-size: 28px;
    }

    .healthgrid-casestudy-card {
        height: 300px;
    }

    .healthgrid-casestudy-content {
        width: 62%;

        padding:
            0
            15px
            20px
            16px;
    }

    .healthgrid-casestudy-number {
        width: 130px;
        height: 44px;

        font-size: 13px;

        padding-left: 15px;

        margin-bottom: 17px;
    }

    .healthgrid-casestudy-name {
        font-size: 16px;
    }

    .healthgrid-casestudy-description {
        font-size: 12px;

        -webkit-line-clamp: 4;
    }

    .healthgrid-casestudy-button-wrap {
        margin-top: 15px;
    }

    .healthgrid-casestudy-button {
        min-width: 125px;
        height: 37px;

        font-size: 12px;
    }

    .healthgrid-casestudy-image-area {
        width: 52%;
    }

}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .healthgrid-casestudy-card {
        height: 285px;
    }

    .healthgrid-casestudy-content {
        width: 64%;
    }

    .healthgrid-casestudy-image-area {
        width: 48%;
    }

    .healthgrid-casestudy-name {
        font-size: 15px;
    }

    .healthgrid-casestudy-description {
        font-size: 11px;
    }

}
/*END*/

/* =========================================================
   HEALTHGRID BLOG SECTION
========================================================= */

.healthgrid-blog-section {

    background: #ffffff;

    padding-top: 55px;

    padding-bottom: 60px;

}

/* =========================================================
   HEADING
========================================================= */

.healthgrid-blog-heading {

    text-align: center;

    margin-bottom: 38px;

}

.healthgrid-blog-label {

    color: #111111;

    font-size: 21px;

    font-weight: 400;

    line-height: 1.3;

    margin-bottom: 15px;

}

.healthgrid-blog-title {

    margin: 0;

    color: #000000;

    font-size: 36px;

    font-weight: 600;

    line-height: 1.2;

}

/* =========================================================
   BLOG SLIDER
========================================================= */

.healthgrid-blog-slider {

    margin-left: -8px;

    margin-right: -8px;

}

.healthgrid-blog-slider .owl-stage {

    display: flex;

}

.healthgrid-blog-slider .owl-item {

    padding: 0 8px;

}

.healthgrid-blog-slider .owl-stage-outer {

    padding: 0;

}

/* =========================================================
   NORMAL GRID
========================================================= */

.healthgrid-blog-row {

    margin-left: -8px;

    margin-right: -8px;

}

.healthgrid-blog-row > div {

    padding-left: 8px;

    padding-right: 8px;

}

/* =========================================================
   BLOG CARD
========================================================= */

.healthgrid-blog-card {

    position: relative;

    width: 100%;

    height: 234px;

    overflow: hidden;

    background: #929DE5;

    border-radius: 14px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}

.healthgrid-blog-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(70,80,160,.14);

}

/* =========================================================
   TOP LEFT ARROW
========================================================= */

.healthgrid-blog-arrow {

    position: absolute;

    top: 34px;

    left: 14px;

    width: 31px;

    height: 31px;

    border: 1px solid #ffffff;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ffffff !important;

    font-size: 18px;

    font-weight: 300;

    line-height: 1;

    text-decoration: none !important;

    z-index: 10;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;

}

.healthgrid-blog-arrow:hover {

    background: #ffffff;

    color: #929DE5 !important;

    transform: translateY(-2px);

    text-decoration: none !important;

}

/* =========================================================
   IMAGE WRAPPER
========================================================= */

.healthgrid-blog-image-wrap {
    position: absolute;
    top: 35px;
    right: 14px;
    width: 150px;
    height: 150px;
    z-index: 4;
    overflow: hidden;
    border-radius: 15px;
}

/* =========================================================
   IMAGE
========================================================= */

.healthgrid-blog-image {

    display: block;

    width: 100%;

    height: 110px;

    object-fit: cover;

    object-position: center;

    transition:
        transform .5s ease;

}

.healthgrid-blog-card:hover
.healthgrid-blog-image {

    transform: scale(1.05);

}

/* =========================================================
   IMAGE ANGLED BOTTOM
========================================================= */

.healthgrid-blog-image-link {

    display: block;

    width: 100%;

    height: 100%;

}

.healthgrid-blog-image-wrap::after {
    content: "";
    position: absolute;
    left: -8px;
    bottom: -25px;
    width: 175px;
    height: 77px;
    background: #929DE5;
    transform: rotate(11deg);
    transform-origin: center;
    z-index: 5;
    pointer-events: none;
}

/* =========================================================
   DATE
========================================================= */

.healthgrid-blog-date {

    position: absolute;

    left: 14px;

    bottom: 96px;

    color: #ffffff;

    font-size: 13px;

    line-height: 1.3;

    font-weight: 400;

    z-index: 7;

}

/* =========================================================
   BLOG TITLE
========================================================= */

.healthgrid-blog-card-title {

    position: absolute;

    left: 14px;

    right: 15px;

    bottom: 35px;

    margin: 0;

    max-width: 225px;

    color: #ffffff;

    font-size: 17px;

    line-height: 1.35;

    font-weight: 500;

    z-index: 7;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}

/* =========================================================
   ALL BLOGS BUTTON
========================================================= */

.healthgrid-blog-button {

    display: flex;

    justify-content: center;

    margin-top: 42px;

}

/*
    Existing .btnprimary styling is intentionally untouched.
*/

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .healthgrid-blog-card {

        height: 230px;

    }

    .healthgrid-blog-image-wrap {

        width: 140px;

        height: 100px;

    }

    .healthgrid-blog-card-title {

        font-size: 16px;

    }

}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .healthgrid-blog-title {

        font-size: 32px;

    }

    .healthgrid-blog-card {

        height: 230px;

    }

    .healthgrid-blog-image-wrap {

        width: 135px;

        height: 98px;

    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .healthgrid-blog-section {

        padding-top: 40px;

        padding-bottom: 50px;

    }

    .healthgrid-blog-heading {

        margin-bottom: 28px;

    }

    .healthgrid-blog-label {

        font-size: 19px;

    }

    .healthgrid-blog-title {

        font-size: 28px;

    }

    .healthgrid-blog-card {

        height: 235px;

    }

    .healthgrid-blog-image-wrap {

        top: 32px;

        right: 14px;

        width: 145px;

        height: 103px;

    }

    .healthgrid-blog-date {

        bottom: 95px;

    }

    .healthgrid-blog-card-title {

        font-size: 16px;

        bottom: 32px;

        max-width: 235px;

    }

}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .healthgrid-blog-title {

        font-size: 25px;

    }

    .healthgrid-blog-card {

        height: 230px;

    }

    .healthgrid-blog-image-wrap {

        width: 135px;

        height: 96px;

    }

    .healthgrid-blog-arrow {

        top: 28px;

        left: 13px;

    }

    .healthgrid-blog-date {

        left: 13px;

        bottom: 90px;

        font-size: 12px;

    }

    .healthgrid-blog-card-title {

        left: 13px;

        bottom: 28px;

        font-size: 15px;

        max-width: 220px;

    }

}

/*END*/

/* =========================================================
   TESTIMONIALS SECTION
========================================================= */

.healthgrid-testimonials-section {

    position: relative;

    background: #ffffff;

    padding-top: 35px;
    padding-bottom: 70px;

}

/* =========================================================
   HEADING
========================================================= */

.healthgrid-testimonials-heading {

    text-align: center;

    margin-bottom: 38px;

}

.healthgrid-testimonials-label {

    color: #111111;

    font-size: 21px;

    font-weight: 400;

    line-height: 1.3;

    margin-bottom: 16px;

}

.healthgrid-testimonials-title {

    color: #000000;

    font-size: 34px;

    font-weight: 500;

    line-height: 1.25;

    margin: 0 auto;

    max-width: 1000px;

}

/* =========================================================
   SLIDER
========================================================= */

.healthgrid-testimonials-slider {

    position: relative;

    width: 100%;

    max-width: 650px;

    margin: 0 auto;

}

/* Keep each slide centered */

.healthgrid-testimonials-slider .owl-stage {

    display: flex;

    align-items: center;

}

.healthgrid-testimonials-slider .owl-item {

    display: flex;

    justify-content: center;

}

/* =========================================================
   TESTIMONIAL CARD
========================================================= */

.healthgrid-testimonial-card {

    position: relative;

    width: 400px;

    height: 243px;

    margin: 0 auto;

    overflow: hidden;

    background: #95A1EB;

    border-radius: 15px;

}

/* =========================================================
   QUOTE MARK
========================================================= */

.healthgrid-testimonial-quotes {

    position: absolute;

    top: 25px;

    left: 24px;

    color: rgba(255, 255, 255, 0.30);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 120px;

    font-weight: 700;

    line-height: .7;

    z-index: 2;

}

/* =========================================================
   TESTIMONIAL NUMBER
========================================================= */

.healthgrid-testimonial-number {

    position: absolute;

    top: 35px;

    right: 14px;

    color: #ffffff;

    font-size: 25px;

    font-weight: 500;

    line-height: 1;

    z-index: 5;

}

/* =========================================================
   TESTIMONIAL CONTENT
========================================================= */

.healthgrid-testimonial-content {

    position: absolute;

    top: 88px;

    left: 20px;

    width: 190px;
    height: 115px;
    overflow-y: auto;

    color: #ffffff;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.4;

    z-index: 5;

}

.healthgrid-testimonial-content p {

    margin: 0;

}

/* =========================================================
   TESTIMONIAL IMAGE
========================================================= */

.healthgrid-testimonial-image-wrap {

    position: absolute;

    right: 0;

    bottom: 0;

    width: 185px;

    height: 151px;

    overflow: hidden;

    border-radius: 15px 0 15px 0;

    z-index: 4;

}

.healthgrid-testimonial-image {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}

/* =========================================================
   NORMAL GRID
========================================================= */

.healthgrid-testimonials-row {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 20px;

}

.healthgrid-testimonial-column {

    width: 400px;

}

/* =========================================================
   OWL NAVIGATION
========================================================= */

/*
   Owl arrows are positioned outside the card,
   matching the reference image.
*/

.healthgrid-testimonials-slider .owl-nav {

    position: absolute;

    top: 50%;

    left: 50%;

    width: 550px;

    transform: translate(-50%, -50%);

    margin: 0;

    pointer-events: none;

}

.healthgrid-testimonials-slider .owl-nav button {

    position: absolute;

    top: 0;

    width: 25px;

    height: 40px;

    padding: 0 !important;

    margin: 0 !important;

    background: transparent !important;

    border: 0 !important;

    pointer-events: auto;

}

.healthgrid-testimonials-slider .owl-nav .owl-prev {

    left: 0;

}

.healthgrid-testimonials-slider .owl-nav .owl-next {

    right: 0;

}

.healthgrid-testimonials-slider .owl-nav button span {

    display: block;

    font-size: 42px;

    font-weight: 300;

    line-height: 32px;

}

.healthgrid-testimonials-slider .owl-nav .owl-prev span {

    color: #d5d5d5;

}

.healthgrid-testimonials-slider .owl-nav .owl-next span {

    color: #95A1EB;

}

/* =========================================================
   HOVER
========================================================= */

.healthgrid-testimonial-card {

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}

.healthgrid-testimonial-card:hover {

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .08);

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .healthgrid-testimonials-section {

        padding-top: 35px;

        padding-bottom: 55px;

    }

    .healthgrid-testimonials-heading {

        margin-bottom: 30px;

    }

    .healthgrid-testimonials-label {

        font-size: 18px;

    }

    .healthgrid-testimonials-title {

        font-size: 27px;

        padding: 0 15px;

    }

    .healthgrid-testimonial-card {

        width: 380px;

        max-width: 100%;

        height: 235px;

    }

    .healthgrid-testimonial-content {

        top: 85px;

        left: 22px;

        width: 180px;

        font-size: 14px;

    }

    .healthgrid-testimonial-image-wrap {

        width: 175px;

        height: 145px;

    }

    .healthgrid-testimonial-number {

        top: 32px;

        right: 13px;

        font-size: 23px;

    }

    .healthgrid-testimonial-quotes {

        top: 23px;

        left: 21px;

        font-size: 65px;

    }

    .healthgrid-testimonials-slider .owl-nav {

        width: calc(100% + 50px);

    }

}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .healthgrid-testimonials-title {

        font-size: 24px;

    }

    .healthgrid-testimonial-card {

        width: 100%;

        height: 230px;

    }

    .healthgrid-testimonial-content {

        width: 48%;

        top: 82px;

        left: 20px;

        font-size: 13px;

    }

    .healthgrid-testimonial-image-wrap {

        width: 46%;

        height: 140px;

    }

    .healthgrid-testimonial-number {

        font-size: 21px;

    }

    .healthgrid-testimonials-slider .owl-nav {

        width: calc(100% + 35px);

    }

}

/*END*/

/* =========================================================
   HEALTHGRID NEWS SECTION
========================================================= */

.healthgrid-news-section {

    background: #ffffff;

    padding-top: 55px;

    padding-bottom: 60px;

}

/* =========================================================
   HEADING
========================================================= */

.healthgrid-news-heading {

    text-align: center;

    margin-bottom: 38px;

}

.healthgrid-news-label {

    color: #111111;

    font-size: 21px;

    font-weight: 400;

    line-height: 1.3;

    margin-bottom: 15px;

}

.healthgrid-news-title {

    margin: 0;

    color: #000000;

    font-size: 36px;

    font-weight: 600;

    line-height: 1.2;

}

/* =========================================================
   NEWS SLIDER
========================================================= */

.healthgrid-news-slider {

    margin-left: -8px;

    margin-right: -8px;

}

.healthgrid-news-slider .owl-stage {

    display: flex;

}

.healthgrid-news-slider .owl-item {

    padding: 0 8px;

}

.healthgrid-news-slider .owl-stage-outer {

    padding: 0;

}

/* =========================================================
   NORMAL GRID
========================================================= */

.healthgrid-news-row {

    margin-left: -8px;

    margin-right: -8px;

}

.healthgrid-news-row > div {

    padding-left: 8px;

    padding-right: 8px;

}

/* =========================================================
   NEWS CARD
========================================================= */

.healthgrid-news-card {

    position: relative;

    width: 100%;

    height: 234px;

    overflow: hidden;

    background: #929DE5;

    border-radius: 14px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}

.healthgrid-news-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(70,80,160,.14);

}

/* =========================================================
   TOP LEFT ARROW
========================================================= */

.healthgrid-news-arrow {

    position: absolute;

    top: 34px;

    left: 14px;

    width: 31px;

    height: 31px;

    border: 1px solid #ffffff;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ffffff !important;

    font-size: 18px;

    font-weight: 300;

    line-height: 1;

    text-decoration: none !important;

    z-index: 10;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;

}

.healthgrid-news-arrow:hover {

    background: #ffffff;

    color: #929DE5 !important;

    transform: translateY(-2px);

    text-decoration: none !important;

}

/* =========================================================
   IMAGE WRAPPER
========================================================= */

.healthgrid-news-image-wrap {

    position: absolute;

    top: 35px;

    right: 14px;

    width: 147px;

    height: 105px;

    z-index: 4;

    overflow: hidden;

    border-radius: 15px;

}

/* =========================================================
   IMAGE
========================================================= */

.healthgrid-news-image {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform .5s ease;

}

.healthgrid-news-card:hover
.healthgrid-news-image {

    transform: scale(1.05);

}

.healthgrid-news-image-link {

    display: block;

    width: 100%;

    height: 100%;

}

/* =========================================================
   IMAGE ANGLED BOTTOM
========================================================= */

.healthgrid-news-image-wrap::after {

    content: "";

    position: absolute;

    left: -8px;

    bottom: -25px;

    width: 175px;

    height: 48px;

    background: #929DE5;

    transform: rotate(11deg);

    transform-origin: center;

    z-index: 5;

    pointer-events: none;

}

/* =========================================================
   DATE
========================================================= */

.healthgrid-news-date {

    position: absolute;

    left: 14px;

    bottom: 96px;

    color: #ffffff;

    font-size: 13px;

    line-height: 1.3;

    font-weight: 400;

    z-index: 7;

}

/* =========================================================
   NEWS TITLE
========================================================= */

.healthgrid-news-card-title {

    position: absolute;

    left: 14px;

    right: 15px;

    bottom: 35px;

    margin: 0;

    max-width: 225px;

    color: #ffffff;

    font-size: 17px;

    line-height: 1.35;

    font-weight: 500;

    z-index: 7;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}

/* =========================================================
   ALL NEWS BUTTON
========================================================= */

.healthgrid-news-button {

    display: flex;

    justify-content: center;

    margin-top: 42px;

}

/*
   Existing btnprimary styling is intentionally untouched.
*/

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .healthgrid-news-card {

        height: 230px;

    }

    .healthgrid-news-image-wrap {

        width: 140px;

        height: 100px;

    }

    .healthgrid-news-card-title {

        font-size: 16px;

    }

}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .healthgrid-news-title {

        font-size: 32px;

    }

    .healthgrid-news-card {

        height: 230px;

    }

    .healthgrid-news-image-wrap {

        width: 135px;

        height: 98px;

    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .healthgrid-news-section {

        padding-top: 40px;

        padding-bottom: 50px;

    }

    .healthgrid-news-heading {

        margin-bottom: 28px;

    }

    .healthgrid-news-label {

        font-size: 19px;

    }

    .healthgrid-news-title {

        font-size: 28px;

    }

    .healthgrid-news-card {

        height: 235px;

    }

    .healthgrid-news-image-wrap {

        top: 32px;

        right: 14px;

        width: 145px;

        height: 103px;

    }

    .healthgrid-news-date {

        bottom: 95px;

    }

    .healthgrid-news-card-title {

        font-size: 16px;

        bottom: 32px;

        max-width: 235px;

    }

}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .healthgrid-news-title {

        font-size: 25px;

    }

    .healthgrid-news-card {

        height: 230px;

    }

    .healthgrid-news-image-wrap {

        width: 135px;

        height: 96px;

    }

    .healthgrid-news-arrow {

        top: 28px;

        left: 13px;

    }

    .healthgrid-news-date {

        left: 13px;

        bottom: 90px;

        font-size: 12px;

    }

    .healthgrid-news-card-title {

        left: 13px;

        bottom: 28px;

        font-size: 15px;

        max-width: 220px;

    }

}

/*END*/

/* =========================================================
   OUR VALUES
   ========================================================= */

.hg-values {
    position: relative;
    overflow: hidden;

    /* Uploaded background image */
    background-image: url('/assets/healthgrid/img/vision_hbg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    padding-top: 70px;
    padding-bottom: 70px;
}

/* Keep content above background */
.hg-values > .container,
.hg-values > .container-fluid {
    position: relative;
    z-index: 2;
}

/* =========================================================
   HEADING
   ========================================================= */

.hg-head {
    text-align: center;
    margin-bottom: 48px;
}

.hg-eyebrow {
    display: block;

    margin-bottom: 14px;

    font-size: 20px;
    line-height: 1.2;
    font-weight: 400;

    color: var(--hg-text) !important;

    text-transform: lowercase;
}

.hg-title {
    margin: 0 auto;

    max-width: 900px;

    font-size: clamp(28px, 3vw, 36px) !important;
    line-height: 1.2;

    font-weight: 500 !important;
    letter-spacing: -0.5px;

    color: var(--hg-text) !important;

    text-align: center;
}

/* =========================================================
   CAROUSEL
   ========================================================= */

.hg-value-carousel {
    width: 100%;
}

.hg-value-carousel .owl-stage {
    display: flex;
}

.hg-value-carousel .owl-item {
    display: flex;
    height: auto;
}

.hg-value-item {
    width: 100%;
    padding: 0 18px;
    display: flex;
}

/* =========================================================
   NORMAL GRID
   ========================================================= */

.hg-value-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 42px;

    width: 100%;
}

.hg-value-grid .hg-value-item {
    width: 100%;
}

/* =========================================================
   VALUE CARD
   ========================================================= */

.hg-value-card {
    position: relative;

    width: 100%;
    min-height: 265px;

    padding: 38px 30px 34px;

    background: #FFFFFF !important;

    /*
       Reference design:
       top-left normal
       top-right rounded
       bottom-right normal
       bottom-left rounded
    */
    border-radius: 0 62px 0 62px;

    box-shadow: 0 18px 40px -30px rgba(40, 30, 90, 0.40);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hg-value-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 25px 50px -30px rgba(40, 30, 90, 0.45);
}

/* =========================================================
   NUMBER + LINE
   ========================================================= */

.hg-value-num {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 28px;
}

.hg-value-num::before {
    content: "";

    width: 60px;
    height: 1px;

    flex: 0 0 60px;

    background: var(--hg-ink);
}

.hg-value-num span {
    font-size: 18px;
    line-height: 1;

    font-weight: 400;

    color: var(--hg-text) !important;
}

/* =========================================================
   CARD TITLE
   ========================================================= */

.hg-value-card h3 {
    margin: 0 0 18px;

    font-size: 25px !important;
    line-height: 1.25;

    font-weight: 500 !important;

    letter-spacing: -0.3px;

    color: var(--hg-text) !important;

    text-transform: none !important;
}

/* =========================================================
   CARD DESCRIPTION
   ========================================================= */

.hg-value-card .hg-desc,
.hg-value-card .hg-desc *,
.hg-value-card p {
    margin: 0;

    font-size: 14px !important;
    line-height: 1.55;

    font-weight: 400;

    color: var(--hg-text) !important;
}

/* Remove unwanted default spacing */
.hg-value-card p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   OWL NAVIGATION
   ========================================================= */

.hg-value-carousel .owl-nav {
    margin-top: 30px;

    display: flex;

    justify-content: center;

    gap: 10px;
}

.hg-value-carousel .owl-nav button {
    width: 42px;
    height: 42px;

    margin: 0 !important;

    border-radius: 50% !important;

    background: var(--hg-ink) !important;

    color: var(--hg-white) !important;

    font-size: 20px !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    transition: all 0.25s ease;
}

.hg-value-carousel .owl-nav button:hover {
    background: var(--hg-primary) !important;

    color: var(--hg-white) !important;
}

/* =========================================================
   OWL DOTS
   ========================================================= */

.hg-value-carousel .owl-dots {
    margin-top: 28px;

    text-align: center;
}

.hg-value-carousel .owl-dot span {
    width: 8px !important;
    height: 8px !important;

    margin: 4px !important;

    background: var(--hg-ink) !important;

    opacity: 0.35;

    transition: all 0.25s ease;
}

.hg-value-carousel .owl-dot.active span {
    width: 25px !important;

    border-radius: 10px;

    opacity: 1;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {

    .hg-values {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hg-value-grid {
        gap: 25px;
    }

    .hg-value-item {
        padding: 0 12px;
    }

    .hg-value-card {
        padding: 32px 26px;
    }

}

@media (max-width: 991px) {

    .hg-title {
        max-width: 700px;

        font-size: 30px !important;
    }

    .hg-value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hg-value-card {
        min-height: 250px;
    }

}

@media (max-width: 767px) {

    .hg-values {
        padding-top: 50px;
        padding-bottom: 50px;

        background-position: center center;
    }

    .hg-head {
        margin-bottom: 35px;
    }

    .hg-eyebrow {
        font-size: 16px;
    }

    .hg-title {
        font-size: 25px !important;
        line-height: 1.3;
    }

    .hg-value-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .hg-value-item {
        padding: 0 5px;
    }

    .hg-value-card {
        min-height: 235px;

        padding: 30px 25px;

        border-radius: 0 45px 0 45px;
    }

    .hg-value-card h3 {
        font-size: 22px !important;
    }

    .hg-value-num {
        margin-bottom: 22px;
    }

    .hg-value-num::before {
        width: 50px;
        flex-basis: 50px;
    }

}

@media (max-width: 480px) {

    .hg-values {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .hg-title {
        font-size: 22px !important;
    }

    .hg-value-card {
        min-height: 220px;

        padding: 26px 22px;

        border-radius: 0 38px 0 38px;
    }

    .hg-value-card h3 {
        font-size: 21px !important;
    }

    .hg-value-card .hg-desc,
    .hg-value-card .hg-desc *,
    .hg-value-card p {
        font-size: 13.5px !important;
    }

}


/* =========================================================
   EVENTS SECTION
========================================================= */

.healthgrid-events-section {
    background: #ffffff;
    padding-top: 50px;
    padding-bottom: 55px;
}


/* =========================================================
   HEADING
========================================================= */

.healthgrid-events-heading {
    text-align: center;
    margin-bottom: 38px;
}

.healthgrid-events-label {
    color: #111111;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 14px;
}

.healthgrid-events-title {
    margin: 0;
    color: #000000;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
}


/* =========================================================
   SLIDER
========================================================= */

.healthgrid-events-slider {
    margin-left: -8px;
    margin-right: -8px;
}

.healthgrid-events-slider .owl-stage {
    display: flex;
}

.healthgrid-events-slider .owl-item {
    padding: 0 8px;
}

.healthgrid-events-slider .owl-stage-outer {
    padding: 0;
}


/* =========================================================
   GRID
========================================================= */

.healthgrid-events-row {
    margin-left: -8px;
    margin-right: -8px;
}

.healthgrid-events-row > div {
    padding-left: 8px;
    padding-right: 8px;
}


/* =========================================================
   LINK
========================================================= */

.healthgrid-event-link {
    display: block;
    color: inherit !important;
    text-decoration: none !important;
}


/* =========================================================
   EVENT CARD
   Same size as Blog / News cards
========================================================= */

.healthgrid-event-card {
    position: relative;
    width: 100%;
    height: 234px;
    overflow: hidden;

    background: #929DE5;

    border-radius: 14px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.healthgrid-event-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(70,80,160,.14);
}


/* =========================================================
   ARROW
========================================================= */

.healthgrid-event-arrow {
    position: absolute;

    top: 34px;
    left: 14px;

    width: 31px;
    height: 31px;

    border: 1px solid #ffffff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 18px;
    font-weight: 300;

    line-height: 1;

    z-index: 10;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.healthgrid-event-card:hover .healthgrid-event-arrow {
    background: #ffffff;
    color: #929DE5;
    transform: translateY(-2px);
}


/* =========================================================
   IMAGE
========================================================= */

.healthgrid-event-image-wrap {
    position: absolute;

    top: 35px;
    right: 14px;

    width: 147px;
    height: 105px;

    overflow: hidden;

    border-radius: 15px;

    z-index: 4;
}

.healthgrid-event-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .5s ease;
}

.healthgrid-event-card:hover .healthgrid-event-image {
    transform: scale(1.05);
}


/* =========================================================
   IMAGE ANGLED BOTTOM
========================================================= */

.healthgrid-event-image-wrap::after {
    content: "";

    position: absolute;

    left: -8px;
    bottom: -25px;

    width: 175px;
    height: 48px;

    background: #929DE5;

    transform: rotate(11deg);

    transform-origin: center;

    z-index: 5;

    pointer-events: none;
}


/* =========================================================
   DATE
========================================================= */

.healthgrid-event-date {
    position: absolute;

    left: 14px;
    bottom: 96px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 400;

    line-height: 1.3;

    z-index: 7;
}

.healthgrid-event-date i {
    margin-right: 7px;
}


/* =========================================================
   VENUE
========================================================= */

.healthgrid-event-venue {
    position: absolute;

    left: 14px;
    right: 45%;

    bottom: 70px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.3;

    z-index: 7;

    display: flex;
    align-items: flex-start;
}

.healthgrid-event-venue i {
    flex-shrink: 0;
    margin-right: 7px;
    margin-top: 2px;
}


/* =========================================================
   TIME
========================================================= */

.healthgrid-event-time {
    position: absolute;

    left: 14px;
    bottom: 48px;

    color: #ffffff;

    font-size: 12px;

    line-height: 1.3;

    z-index: 7;
}

.healthgrid-event-time i {
    margin-right: 7px;
}


/* =========================================================
   EVENT TITLE
========================================================= */

.healthgrid-event-title {
    position: absolute;

    left: 14px;
    right: 15px;

    bottom: 22px;

    margin: 0;

    max-width: 235px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 500;

    line-height: 1.35;

    z-index: 7;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   HIDDEN EXISTING CONTENT
========================================================= */

.healthgrid-event-hidden-content {
    display: none;
}


/* =========================================================
   ALL EVENTS
========================================================= */

.healthgrid-events-button {
    display: flex;
    justify-content: center;

    margin-top: 42px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .healthgrid-event-card {
        height: 230px;
    }

    .healthgrid-event-image-wrap {
        width: 140px;
        height: 100px;
    }

    .healthgrid-event-title {
        font-size: 16px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .healthgrid-events-title {
        font-size: 32px;
    }

    .healthgrid-event-card {
        height: 230px;
    }

    .healthgrid-event-image-wrap {
        width: 135px;
        height: 98px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .healthgrid-events-section {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .healthgrid-events-heading {
        margin-bottom: 28px;
    }

    .healthgrid-events-label {
        font-size: 19px;
    }

    .healthgrid-events-title {
        font-size: 28px;
    }

    .healthgrid-event-card {
        height: 235px;
    }

    .healthgrid-event-image-wrap {
        top: 32px;
        right: 14px;

        width: 145px;
        height: 103px;
    }

    .healthgrid-event-date {
        bottom: 95px;
    }

    .healthgrid-event-venue {
        bottom: 68px;
    }

    .healthgrid-event-time {
        bottom: 46px;
    }

    .healthgrid-event-title {
        font-size: 16px;
        bottom: 27px;
        max-width: 235px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .healthgrid-events-title {
        font-size: 25px;
    }

    .healthgrid-event-card {
        height: 230px;
    }

    .healthgrid-event-image-wrap {
        width: 135px;
        height: 96px;
    }

    .healthgrid-event-arrow {
        top: 28px;
        left: 13px;
    }

    .healthgrid-event-date {
        left: 13px;
        bottom: 90px;
        font-size: 12px;
    }

    .healthgrid-event-venue {
        left: 13px;
        bottom: 65px;
        font-size: 11px;
    }

    .healthgrid-event-time {
        left: 13px;
        bottom: 44px;
        font-size: 11px;
    }

    .healthgrid-event-title {
        left: 13px;
        bottom: 25px;
        font-size: 15px;
        max-width: 220px;
    }

}
/* =========================================================
   PHOTO GALLERY
   SAME DESIGN AS SERVICES / TREATMENTS / DOCTORS
========================================================= */

.healthgrid-gallery-section {
    background: #ffffff;
}


/* =========================================================
   GALLERY CARD
========================================================= */

.healthgrid-gallery-card {
    height: 300px;
}


/* =========================================================
   GALLERY IMAGE
========================================================= */

.healthgrid-gallery-card .healthgrid-service-image-wrap {

    top: 100px;

    left: 28px;

    right: 28px;

    height: 155px;

}


.healthgrid-gallery-card .healthgrid-service-image {

    width: 100%;

    height: 155px;

    object-fit: cover;

    border-radius: 15px;

}


/* =========================================================
   IMAGE CUT
========================================================= */

.healthgrid-gallery-card
.healthgrid-service-image-wrap::after {

    content: "";

    position: absolute;

    right: -6px;

    bottom: -3px;

    width: 65px;

    height: 65px;

    background: #929DE5;

    border-radius: 100% 0 0 0;

    z-index: 2;

}


/* =========================================================
   ARROW
========================================================= */

.healthgrid-gallery-card
.healthgrid-service-arrow {

    position: absolute;

    right: 0;

    bottom: 0;

    width: 31px;

    height: 31px;

    border-radius: 50%;

    background: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 5;

}


.healthgrid-gallery-card
.healthgrid-service-arrow span {

    color: #7d8bd8;

    font-size: 18px;

    line-height: 1;

}


/* =========================================================
   HOVER
========================================================= */

.healthgrid-gallery-card:hover
.healthgrid-service-image {

    transform: scale(1.04);

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .healthgrid-gallery-card {

        height: 285px;

    }

    .healthgrid-gallery-card
    .healthgrid-service-image-wrap {

        top: 100px;

        left: 22px;

        right: 22px;

        height: 145px;

    }

    .healthgrid-gallery-card
    .healthgrid-service-image {

        height: 145px;

    }

}


@media (max-width: 767px) {

    .healthgrid-gallery-card {

        height: 290px;

    }

    .healthgrid-gallery-card
    .healthgrid-service-image-wrap {

        left: 22px;

        right: 22px;

        top: 100px;

        height: 145px;

    }

    .healthgrid-gallery-card
    .healthgrid-service-image {

        height: 145px;

    }

}


@media (max-width: 575px) {

    .healthgrid-gallery-card {

        height: 280px;

    }

    .healthgrid-gallery-card
    .healthgrid-service-image-wrap {

        top: 95px;

        height: 145px;

    }

    .healthgrid-gallery-card
    .healthgrid-service-image {

        height: 145px;

    }

}
.healthgrid-services-section {
    padding: 80px 0px;
}
.healthgrid-doctor-specialization {
    color: #FFFFFF;
}

/* =========================================================
   VIDEO GALLERY
   SAME DESIGN AS SERVICES / TREATMENTS / DOCTORS / GALLERY
========================================================= */

.healthgrid-video-section {

    background: #ffffff;

}


/* =========================================================
   VIDEO SLIDE
========================================================= */

.healthgrid-video-slide {

    padding: 0 7px;

}


/* =========================================================
   VIDEO CARD
========================================================= */

.healthgrid-video-card {

    height: 300px;

}


/* =========================================================
   VIDEO IMAGE
========================================================= */

.healthgrid-video-card
.healthgrid-service-image-wrap {

    top: 100px;

    left: 28px;

    right: 28px;

    height: 155px;

}


.healthgrid-video-card
.healthgrid-service-image {

    width: 100%;

    height: 155px;

    object-fit: cover;

    border-radius: 15px;

}


/* =========================================================
   IMAGE CUT
========================================================= */

.healthgrid-video-card
.healthgrid-service-image-wrap::after {

    content: "";

    position: absolute;

    right: -1px;

    bottom: -1px;

    width: 65px;

    height: 65px;

    background: #929DE5;

    border-radius: 100% 0 0 0;

    z-index: 2;

    pointer-events: none;

}


/* =========================================================
   PLAY BUTTON
========================================================= */

.healthgrid-video-play {

    position: absolute;

    left: 50%;

    top: 50%;

    width: 48px;

    height: 48px;

    transform: translate(-50%, -50%);

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255,255,255,.95);

    border-radius: 50%;

    z-index: 6;

    transition:
        transform .3s ease,
        background .3s ease;

}


.healthgrid-video-play img {

    width: 24px !important;

    height: 24px !important;

    object-fit: contain !important;

    border-radius: 0 !important;

}


.healthgrid-video-card:hover
.healthgrid-video-play {

    transform: translate(-50%, -50%) scale(1.08);

    background: #ffffff;

}


/* =========================================================
   ARROW
========================================================= */

.healthgrid-video-card
.healthgrid-service-arrow {

    position: absolute;

    right: 0;

    bottom: 0;

    width: 31px;

    height: 31px;

    border-radius: 50%;

    background: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 7;

}


.healthgrid-video-card
.healthgrid-service-arrow span {

    color: #7d8bd8;

    font-size: 18px;

    line-height: 1;

}


/* =========================================================
   HOVER IMAGE
========================================================= */

.healthgrid-video-card:hover
.healthgrid-service-image {

    transform: scale(1.04);

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .healthgrid-video-card {

        height: 285px;

    }

    .healthgrid-video-card
    .healthgrid-service-image-wrap {

        top: 100px;

        left: 22px;

        right: 22px;

        height: 145px;

    }

    .healthgrid-video-card
    .healthgrid-service-image {

        height: 145px;

    }

}


@media (max-width: 767px) {

    .healthgrid-video-card {

        height: 290px;

    }

    .healthgrid-video-card
    .healthgrid-service-image-wrap {

        left: 22px;

        right: 22px;

        top: 100px;

        height: 145px;

    }

    .healthgrid-video-card
    .healthgrid-service-image {

        height: 145px;

    }

}


@media (max-width: 575px) {

    .healthgrid-video-card {

        height: 280px;

    }

    .healthgrid-video-card
    .healthgrid-service-image-wrap {

        top: 95px;

        height: 145px;

    }

    .healthgrid-video-card
    .healthgrid-service-image {

        height: 145px;

    }

    .healthgrid-video-play {

        width: 42px;

        height: 42px;

    }

    .healthgrid-video-play img {

        width: 21px !important;

        height: 21px !important;

    }

}


/* =========================================================
   FAQ SECTION
========================================================= */

.healthgrid-faq-section {

    background: #ffffff;

    padding-top: 50px;

    padding-bottom: 55px;

}


/* =========================================================
   HEADING
========================================================= */

.healthgrid-faq-heading {

    text-align: center;

    max-width: 750px;

    margin: 0 auto 35px;

}


.healthgrid-faq-small-title {

    color: #111111;

    font-size: 24px;

    line-height: 1.2;

    font-weight: 400;

    margin-bottom: 14px;

}


.healthgrid-faq-description {

    color: #222222;

    font-size: 16px;

    line-height: 1.5;

    font-weight: 400;

}


.healthgrid-faq-description p {

    margin: 0;

}


/* =========================================================
   FAQ LIST
========================================================= */

.healthgrid-faq-list {

    max-width: 950px;

    margin: 0 auto;

}


/* =========================================================
   FAQ ITEM
========================================================= */

.healthgrid-faq-item {

    margin-bottom: 14px;

    border: 1px solid #e4e6f7;

    border-radius: 14px;

    overflow: hidden;

    background: #ffffff;

    transition:
        border-color .3s ease,
        box-shadow .3s ease;

}


.healthgrid-faq-item:has(.show) {

    border-color: #929DE5;

    box-shadow:
        0 8px 25px rgba(146,157,229,.12);

}


/* =========================================================
   QUESTION
========================================================= */

.healthgrid-faq-question {

    background: #ffffff;

}


.healthgrid-faq-question-title {

    margin: 0;

}


.healthgrid-faq-question-title a {

    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

    min-height: 70px;

    padding: 15px 22px;

    color: #111111 !important;

    text-decoration: none !important;

    font-size: 17px;

    line-height: 1.4;

}


.healthgrid-faq-question-title a:hover {

    color: #111111 !important;

    text-decoration: none !important;

}


/* =========================================================
   NUMBER
========================================================= */

.healthgrid-faq-number {

    flex: 0 0 auto;

    width: 38px;

    height: 38px;

    margin-right: 15px;

    border-radius: 50%;

    background: #929DE5;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 13px;

    font-weight: 600;

}


/* =========================================================
   QUESTION TEXT
========================================================= */

.healthgrid-faq-question-text {

    flex: 1;

    padding-right: 35px;

}


/* =========================================================
   PLUS ICON
========================================================= */

.healthgrid-faq-icon {

    position: absolute;

    right: 22px;

    top: 50%;

    transform: translateY(-50%);

    width: 30px;

    height: 30px;

    border-radius: 50%;

    background: #929DE5;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    font-weight: 300;

    line-height: 1;

}


.healthgrid-faq-question-title a:not(.collapsed)
.healthgrid-faq-icon {

    background: #7d8bd8;

}


.healthgrid-faq-question-title a:not(.collapsed)
.healthgrid-faq-icon {

    font-size: 0;

}


.healthgrid-faq-question-title a:not(.collapsed)
.healthgrid-faq-icon::after {

    content: "−";

    font-size: 20px;

}


/* =========================================================
   ANSWER
========================================================= */

.healthgrid-faq-answer {

    padding: 0 75px 22px;

    color: #555555;

    font-size: 15px;

    line-height: 1.7;

}


.healthgrid-faq-answer p {

    margin-bottom: 8px;

}


/* =========================================================
   BUTTON
========================================================= */

.healthgrid-faq-button {

    display: flex;

    justify-content: center;

    margin-top: 35px;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .healthgrid-faq-section {

        padding-top: 40px;

        padding-bottom: 45px;

    }

    .healthgrid-faq-small-title {

        font-size: 21px;

    }

    .healthgrid-faq-description {

        font-size: 14px;

    }

    .healthgrid-faq-question-title a {

        min-height: 65px;

        padding: 12px 15px;

        font-size: 15px;

    }

    .healthgrid-faq-number {

        width: 32px;

        height: 32px;

        margin-right: 10px;

        font-size: 11px;

    }

    .healthgrid-faq-icon {

        right: 15px;

        width: 27px;

        height: 27px;

    }

    .healthgrid-faq-question-text {

        padding-right: 30px;

    }

    .healthgrid-faq-answer {

        padding: 0 57px 18px;

        font-size: 14px;

    }

}
/* =========================================================
   AWARDS
========================================================= */

.healthgrid-awards-section {

    background: #ffffff;

}


.healthgrid-award-card {

    height: 300px;

}


/* =========================================================
   AWARD YEAR
========================================================= */

.healthgrid-award-year {

    position: absolute;

    left: 28px;

    right: 28px;

    bottom: 25px;

    z-index: 6;

    color: #ffffff;

    font-size: 13px;

    font-weight: 400;

    line-height: 1.3;

}


/* =========================================================
   AWARD TITLE
========================================================= */

.healthgrid-award-card
.healthgrid-service-name {

    max-width: 230px;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .healthgrid-award-card {

        height: 290px;

    }

}


@media (max-width: 991px) {

    .healthgrid-award-card {

        height: 285px;

    }

}


@media (max-width: 767px) {

    .healthgrid-award-card {

        height: 290px;

    }

    .healthgrid-award-year {

        left: 22px;

        right: 22px;

    }

}


@media (max-width: 575px) {

    .healthgrid-award-card {

        height: 280px;

    }

}

/* =========================================
   CASE STUDIES GRID
========================================= */

.healthgrid-casestudies-list {
    margin-left: -15px;
    margin-right: -15px;
}


/* =========================================
   CARD
========================================= */

.healthgrid-casestudies-page
.healthgrid-casestudy-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 520px;
    overflow: hidden;
    border-radius: 20px;
}


/* =========================================
   BACKGROUND
========================================= */

.healthgrid-casestudies-page
.healthgrid-casestudy-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


/* =========================================
   IMAGE
========================================= */

.healthgrid-casestudies-page
.healthgrid-casestudy-image-area {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 270px;
    overflow: hidden;
    order: 1;
}


.healthgrid-casestudies-page
.healthgrid-casestudy-image-link {
    display: block;
    width: 100%;
    height: 100%;
}


.healthgrid-casestudies-page
.healthgrid-casestudy-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}


.healthgrid-casestudies-page
.healthgrid-casestudy-card:hover
.healthgrid-casestudy-image {
    transform: scale(1.04);
}


/* =========================================
   CONTENT
========================================= */

.healthgrid-casestudies-page
.healthgrid-casestudy-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 30px;
    order: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}


/* =========================================
   NUMBER
========================================= */

.healthgrid-casestudies-page
.healthgrid-casestudy-number {
    margin-bottom: 12px;
}


/* =========================================
   TITLE
========================================= */

.healthgrid-casestudies-page
.healthgrid-casestudy-name {
    margin: 0 0 15px;
    padding: 0;
}


/* =========================================
   DESCRIPTION
========================================= */

.healthgrid-casestudies-page
.healthgrid-casestudy-description {
    margin-bottom: 20px;
    line-height: 1.6;
}


/* =========================================
   BUTTON
========================================= */

.healthgrid-casestudies-page
.healthgrid-casestudy-button-wrap {
    margin-top: auto;
}


/* =========================================
   LOAD MORE
========================================= */

.healthgrid-casestudies-loadmore {
    text-align: center;
    margin-top: 40px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .healthgrid-casestudies-page
    .healthgrid-casestudy-card {
        min-height: 0;
    }

    .healthgrid-casestudies-page
    .healthgrid-casestudy-image-area {
        height: 240px;
    }

    .healthgrid-casestudies-page
    .healthgrid-casestudy-content {
        padding: 25px;
    }

}
/*!
=========================================================================
 UNIVERSAL PREMIUM ANIMATION ENGINE  v6.1   (CSS part)
-------------------------------------------------------------------------
 REPLACES the whole old "v6.0 (CSS part)" block at the bottom of
 custom_style.css (from the "UNIVERSAL PREMIUM ANIMATION ENGINE" comment
 down to the end of the file).

 6.1 FIX: images no longer use clip-path. They fade + rise with a soft
 settle, so an image can never be left fully clipped / invisible.
=========================================================================
*/
:root{
  --pa-duration:1200ms;                        /* JS overwrites from config */
  --pa-distance:40px;                          /* JS overwrites from config */
  --pa-ease:cubic-bezier(.22,1,.36,1);
  --pa-ease-soft:cubic-bezier(.33,1,.68,1);
  --pa-ease-hover:cubic-bezier(.25,.8,.25,1);
  --pa-blur:6px;
  --pa-word-step:55ms;
  --pa-shadow-hover:
    0 24px 48px -24px rgba(16,42,67,.30),
    0 10px 20px -12px rgba(16,42,67,.16);
}

/* ---------------------------------------------------------
   0. Anti-flicker guard (optional)
--------------------------------------------------------- */
html.pa-guard body{ transition:opacity 600ms var(--pa-ease-soft); }
html.pa-guard:not(.pa-ready) body{
  opacity:0;
  animation:pa-guard-failsafe 0s linear 3s forwards;
}
@keyframes pa-guard-failsafe{ to{ opacity:1; } }

/* ---------------------------------------------------------
   1. Core reveal transition (dropped once "settled")
--------------------------------------------------------- */
html .pa-reveal:not(.pa-settled){
  transition:
    opacity    calc(var(--pa-duration) * .85) var(--pa-ease-soft) var(--pa-delay,0ms),
    translate  var(--pa-duration)             var(--pa-ease)      var(--pa-delay,0ms),
    scale      calc(var(--pa-duration) * 1.2) var(--pa-ease)      var(--pa-delay,0ms),
    rotate     calc(var(--pa-duration) * 1.1) var(--pa-ease)      var(--pa-delay,0ms),
    filter     calc(var(--pa-duration) * .9)  var(--pa-ease)      var(--pa-delay,0ms),
    transform        500ms var(--pa-ease-hover),
    box-shadow       500ms var(--pa-ease-hover),
    background-color 350ms ease,
    border-color     350ms ease,
    color            350ms ease !important;
}

html .pa-reveal.pa-instant,
html .pa-reveal.pa-instant pa-w{ transition:none !important; }

/* ---------------------------------------------------------
   2. Hidden states (visible state = the element's own styles)
--------------------------------------------------------- */
html .pa-reveal:not(.pa-visible):not(.pa-words){
  opacity:0;
  translate:0 var(--pa-distance);
}
html .pa-reveal.pa-sm:not(.pa-visible){ translate:0 calc(var(--pa-distance) * .6); }
html .pa-reveal.pa-down:not(.pa-visible){ translate:0 calc(var(--pa-distance) * -.8); }
html .pa-reveal.pa-left:not(.pa-visible){ translate:calc(var(--pa-distance) * -1.5) 0; }
html .pa-reveal.pa-right:not(.pa-visible){ translate:calc(var(--pa-distance) * 1.5) 0; }
html .pa-reveal.pa-fade:not(.pa-visible){ translate:none; }
html .pa-reveal.pa-zoom:not(.pa-visible){ translate:none; scale:.9; }
html .pa-reveal.pa-pop:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * .4);
  scale:.88;
}

/* Cards: stand up from a gentle 3D lean */
.pa-persp{ perspective:1400px; }
html .pa-reveal.pa-tilt{ transform-origin:50% 100%; }
html .pa-reveal.pa-tilt:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * 1.4);
  rotate:x 14deg;
  scale:.96;
}

/* Images ("curtain"): safe fade + rise, NO clip-path */
html .pa-reveal.pa-curtain:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * .8);
  scale:.97;
}

/* Headings: focus-pull */
html .pa-reveal.pa-blur:not(.pa-visible){ filter:blur(var(--pa-blur)); }

/* Images inside cards / banners zoom out gently as they rise */
html .pa-reveal:not(.pa-visible) .pa-zoom-img,
html .pa-reveal.pa-zoom-img:not(.pa-visible){ scale:1.12; }

/* Scrolling back up: content comes DOWN into view instead */
html .pa-reveal.pa-from-top:not(.pa-visible):not(.pa-left):not(.pa-right):not(.pa-fade):not(.pa-zoom):not(.pa-words){
  translate:0 calc(var(--pa-distance) * -1);
}
html .pa-reveal.pa-tilt.pa-from-top{ transform-origin:50% 0; }
html .pa-reveal.pa-tilt.pa-from-top:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * -1.4);
  rotate:x -14deg;
}
html .pa-reveal.pa-curtain.pa-from-top:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * -.8);
}

/* ---------------------------------------------------------
   3. Word-by-word headings
--------------------------------------------------------- */
html .pa-words pa-w{
  display:inline-block;
  transition:
    opacity   calc(var(--pa-duration) * .8) var(--pa-ease-soft),
    translate var(--pa-duration)            var(--pa-ease),
    filter    calc(var(--pa-duration) * .9) var(--pa-ease);
  transition-delay:calc(var(--pa-delay,0ms) + var(--i,0) * var(--pa-word-step));
}
html .pa-words:not(.pa-visible) pa-w{
  opacity:0;
  translate:0 .6em;
  filter:blur(var(--pa-blur));
}
html .pa-words.pa-from-top:not(.pa-visible) pa-w{ translate:0 -.6em; }

/* ---------------------------------------------------------
   4. Adopted template hints
--------------------------------------------------------- */
.pa-adopt [data-animate],
.pa-adopt .revealOnScroll,
.pa-adopt [data-aos],
.pa-adopt .wow{
  animation:none !important;
  visibility:visible !important;
}
.pa-adopt [data-animate]:not(.pa-reveal),
.pa-adopt .revealOnScroll:not(.pa-reveal),
.pa-adopt [data-aos]:not(.pa-reveal),
.pa-adopt .wow:not(.pa-reveal),
.pa-adopt [data-animate].pa-visible,
.pa-adopt .revealOnScroll.pa-visible,
.pa-adopt [data-aos].pa-visible,
.pa-adopt .wow.pa-visible{
  opacity:1 !important;
  filter:none !important;
}
.pa-adopt [data-animate]:not(.pa-lift):not(.pa-btn),
.pa-adopt .revealOnScroll:not(.pa-lift):not(.pa-btn),
.pa-adopt [data-aos]:not(.pa-lift):not(.pa-btn),
.pa-adopt .wow:not(.pa-lift):not(.pa-btn),
.pa-adopt [data-animate].pa-lift:not(:hover),
.pa-adopt .revealOnScroll.pa-lift:not(:hover),
.pa-adopt [data-aos].pa-lift:not(:hover),
.pa-adopt .wow.pa-lift:not(:hover),
.pa-adopt [data-animate].pa-btn:not(:hover),
.pa-adopt .revealOnScroll.pa-btn:not(:hover),
.pa-adopt [data-aos].pa-btn:not(:hover),
.pa-adopt .wow.pa-btn:not(:hover){
  transform:none !important;
}

/* ---------------------------------------------------------
   5. Header + hero slider captions
--------------------------------------------------------- */
.pa-header{ animation:pa-header-in 1100ms var(--pa-ease) both; }
@keyframes pa-header-in{
  from{ opacity:0; translate:0 -20px; }
  to  { opacity:1; translate:none; }
}

.pa-cap{ animation:pa-cap-in 1400ms var(--pa-ease) var(--pa-cap-delay,0ms) both; }
@keyframes pa-cap-in{
  from{ opacity:0; translate:0 34px; filter:blur(6px); }
  to  { opacity:1; translate:none; filter:blur(0); }
}
@keyframes pa-cap-in-m{
  from{ opacity:0; translate:0 18px; }
  to  { opacity:1; translate:none; }
}

/* ---------------------------------------------------------
   6. Statistics counters
--------------------------------------------------------- */
.pa-count{ font-variant-numeric:tabular-nums; }

/* ---------------------------------------------------------
   7. Hover polish (mouse / trackpad only)
--------------------------------------------------------- */
.pa-zoom-wrap{ overflow:hidden; isolation:isolate; }
.pa-zoom-img{
  transition:transform 1200ms var(--pa-ease), scale 1800ms var(--pa-ease);
}
.pa-arrow{
  display:inline-block;
  transition:transform 350ms var(--pa-ease-hover);
}

@media (hover:hover) and (pointer:fine){
  html .pa-lift:hover{ transform:translate3d(0,-8px,0); }
  html .pa-lift-shadow:hover{ box-shadow:var(--pa-shadow-hover); }

  .pa-zoom-wrap:hover .pa-zoom-img{ transform:scale(1.06); }

  html .pa-btn:hover{ transform:translate3d(0,-3px,0); }
  html .pa-btn:active{ transform:translate3d(0,0,0) scale(.97); }

  a:hover .pa-arrow,
  button:hover .pa-arrow{ transform:translate3d(5px,0,0); }
}

/* ---------------------------------------------------------
   8. Horizontal overflow protection
--------------------------------------------------------- */
@supports (overflow:clip){
  html.pa-clip-x body{ overflow-x:clip; }
}

/* ---------------------------------------------------------
   9. QA helper (?pa-debug)
--------------------------------------------------------- */
[data-pa-debug]{
  outline:1px dashed rgba(255,0,170,.7) !important;
  outline-offset:-1px;
}

/* ---------------------------------------------------------
   10. Mobile: shorter travel, no sideways motion, no blur
--------------------------------------------------------- */
@media (max-width:767px){
  :root{ --pa-distance:24px; --pa-word-step:40ms; }

  html .pa-reveal.pa-left:not(.pa-visible),
  html .pa-reveal.pa-right:not(.pa-visible){ translate:0 var(--pa-distance); }
  html .pa-reveal.pa-from-top.pa-left:not(.pa-visible),
  html .pa-reveal.pa-from-top.pa-right:not(.pa-visible){ translate:0 calc(var(--pa-distance) * -1); }

  html .pa-reveal.pa-blur:not(.pa-visible){ filter:none; }
  html .pa-words:not(.pa-visible) pa-w{ filter:none; }

  html .pa-reveal.pa-tilt:not(.pa-visible){ rotate:x 8deg; }
  html .pa-reveal.pa-tilt.pa-from-top:not(.pa-visible){ rotate:x -8deg; }

  .pa-cap{ animation-name:pa-cap-in-m; }
}

/* ---------------------------------------------------------
   11. Reduced motion: everything visible, nothing moves
--------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  html .pa-reveal,
  html .pa-words pa-w,
  html .pa-reveal .pa-zoom-img{
    opacity:1 !important;
    translate:none !important;
    scale:none !important;
    rotate:none !important;
    filter:none !important;
    transition:none !important;
  }
  .pa-header,
  .pa-cap{ animation:none !important; }
  .pa-lift:hover,
  .pa-btn:hover,
  .pa-zoom-wrap:hover .pa-zoom-img,
  a:hover .pa-arrow,
  button:hover .pa-arrow{ transform:none !important; }
  html.pa-guard body{ opacity:1 !important; animation:none !important; }
}
