/* ==================================================
   NOVACARE HOSPITAL — MAXCARE-STYLE THEME
   Palette: deep teal primary + navy ink + amber accent
   ================================================== */

:root{
  --primary:#00b4d8;
  --primary-dark:#0093b0;
  --primary-light:#dff9ff;
  --secondary:#00b4d8;
  --ink:#03045e;
  --muted:#686877;
  --line:#e4edf0;
  --soft:#dff9ff;
  --white:#ffffff;
  --shadow: 0 20px 50px rgba(3,4,94,.10);
  --radius-lg: 24px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: 'Poppins', Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--white);
  color: var(--ink);
}
a{ text-decoration:none; color:inherit; }
img{ max-width:100%; height:auto; display:block; }

.fw-black{ font-weight:800; letter-spacing:-.4px; }
.text-muted{ color:var(--muted)!important; }

.section-pad{ padding:64px 0; }
@media (max-width:768px){ .section-pad{ padding:44px 0; } }
.bg-soft{ background:var(--soft); }

.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  letter-spacing:.14em;
  font-size:12px;
  color:var(--primary);
  text-transform:uppercase;
  margin-bottom:10px;
}
.section-kicker::before{
  content:"";
  width:22px;
  height:2px;
  background:var(--secondary);
  display:inline-block;
}

.topbar{
  background:var(--ink);
  color:rgba(255,255,255,.85);
  font-size:13px;
}
.topbar i{ color:var(--secondary); margin-right:4px; }
.topbar a{ color:rgba(255,255,255,.85); }
.topbar .social{
  width:30px;
  height:30px;
  background:rgba(255,255,255,.08);
  color:#fff;
}
.topbar .social:hover{ background:var(--primary); }

.navbar{
  background:#ffffff!important;
  box-shadow: 0 6px 24px rgba(10,37,64,.06);
}
.logo{
  width:46px;
  height:46px;
  object-fit:contain;
}
.brand-name{ font-weight:800; line-height:1.1; color:var(--ink); }
.brand-tagline{ font-size:12px; color:var(--muted); }

.nav-link{
  font-weight:600;
  color:var(--ink);
  padding:10px 14px!important;
}
.nav-link:hover{ color:var(--primary); }
.nav-link.active{ color:var(--primary); }

.nav-phone{
  display:flex;
  align-items:center;
  gap:10px;
  padding-right:6px;
}
.nav-phone .ic{
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--primary-light);
  color:var(--primary);
  display:grid;
  place-items:center;
  font-size:18px;
  flex:0 0 auto;
}
.nav-phone .label{ font-size:11px; color:var(--muted); font-weight:600; }
.nav-phone .num{ font-weight:800; color:var(--ink); font-size:15px; }

.btn{
  border-radius:999px;
  padding:12px 26px;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:12px;
  background:#fff;
  color:var(--ink);
  border:1px solid var(--line);
}
.btn:has(> i:first-child){ padding:6px 22px 6px 6px; }
.btn:has(> i:last-child):not(:has(> i:first-child)){ padding:6px 6px 6px 22px; }
.btn-lg{ padding:14px 30px; font-size:16px; }
.btn-lg:has(> i:first-child){ padding:8px 28px 8px 8px; }
.btn-lg:has(> i:last-child):not(:has(> i:first-child)){ padding:8px 8px 8px 28px; }
.btn > i:first-child,
.btn > i:last-child{
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--primary-light);
  color:var(--ink);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  font-size:16px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn-lg > i:first-child,
.btn-lg > i:last-child{ width:46px; height:46px; font-size:18px; }
.btn:hover{ color:var(--ink); background:var(--soft); }
.btn:hover > i:first-child,
.btn:hover > i:last-child{ background:var(--primary); color:#fff; }

.btn-primary{ background:var(--ink); color:#fff; border-color:var(--ink); }
.btn-primary > i:first-child,
.btn-primary > i:last-child{ background:var(--primary); color:#fff; }
.btn-primary:hover{ background:#020240; color:#fff; }

.btn-outline-primary{
  border:1.5px solid var(--line);
  color:var(--ink);
  background:transparent;
}
.btn-outline-primary:hover{ background:var(--soft); color:var(--ink); }

.btn-secondary{ background:var(--ink); border-color:var(--ink); color:#fff; }
.btn-secondary > i:first-child,
.btn-secondary > i:last-child{ background:var(--primary); color:#fff; }
.btn-secondary:hover{ background:#020240; color:#fff; }

.card-soft{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:20px;
}
.mini-card{
  border-radius:18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mini-card:hover{
  transform: translateY(-4px);
  border-color:var(--primary);
  box-shadow: var(--shadow);
}

.form-control, .form-select{
  border-radius:14px;
  padding:12px 14px;
  border:1px solid var(--line);
}
.form-control:focus, .form-select:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 4px var(--primary-light);
}

.hero-wrap{ position:relative; margin:0; padding:0; }

.hero-wrap .carousel,
.hero-wrap .carousel-inner,
.hero-wrap .carousel-item{
  position:relative !important;
  width:100%;
  height:82vh !important;
  min-height:560px !important;
  overflow:hidden !important;
}

@media (max-width:576px){
  .hero-wrap .carousel,
  .hero-wrap .carousel-inner,
  .hero-wrap .carousel-item{
    height:92vh !important;
    min-height:580px !important;
  }
}

.hero-wrap .carousel-item .hero-media{
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
}
.hero-wrap .carousel-item .hero-media img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}

.hero-wrap .carousel-item .hero-overlay{
  position:absolute !important;
  inset:0 !important;
  z-index:2 !important;
  background:linear-gradient(
    100deg,
    rgba(10,37,64,.90) 0%,
    rgba(10,37,64,.72) 40%,
    rgba(10,37,64,.30) 75%,
    rgba(10,37,64,.10) 100%
  ) !important;
}

@media (max-width:576px){
  .hero-wrap .carousel-item .hero-overlay{
    background:linear-gradient(
      to top,
      rgba(10,37,64,.95) 10%,
      rgba(10,37,64,.75) 50%,
      rgba(10,37,64,.35) 100%
    ) !important;
  }
}

.hero-wrap .carousel-item .hero-content{
  position:absolute !important;
  inset:0 !important;
  z-index:3 !important;
  display:flex !important;
  align-items:center !important;
  padding:22px 0 70px !important;
  pointer-events:none;
}
.hero-wrap .hero-content a,
.hero-wrap .hero-content button{ pointer-events:auto; }

@media (max-width:576px){
  .hero-wrap .carousel-item .hero-content{
    align-items:flex-end !important;
    padding:14px 0 40px !important;
  }
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 16px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  font-weight:700;
  color:#fff;
  font-size:13px;
}
.eyebrow .dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--secondary);
}

.hero-wrap h1, .hero-wrap h2{
  color:#ffffff !important;
  text-shadow:0 10px 28px rgba(0,0,0,.25) !important;
}
.hero-lead{
  font-size:17px;
  max-width:58ch;
  color:rgba(255,255,255,.82) !important;
  text-shadow:0 6px 18px rgba(0,0,0,.15) !important;
}
@media (max-width:768px){ .hero-lead{ font-size:15px; } }

.hero-wrap .carousel-control-prev,
.hero-wrap .carousel-control-next{
  width:52px !important;
  height:52px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.15) !important;
  border:1px solid rgba(255,255,255,.3);
  opacity:1 !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:6 !important;
}
.hero-wrap .carousel-control-prev{ left:14px !important; }
.hero-wrap .carousel-control-next{ right:14px !important; }

@media (max-width:576px){
  .hero-wrap .carousel-control-prev,
  .hero-wrap .carousel-control-next{
    top:44% !important;
    width:46px !important;
    height:46px !important;
  }
}

.info-strip{
  position:relative;
  z-index:5;
  margin-top:-72px;
}
@media (max-width:991px){ .info-strip{ margin-top:-40px; } }

.info-card{
  background:#ffffff;
  border-radius:20px;
  box-shadow: var(--shadow);
  padding:28px 24px;
  height:100%;
  display:flex;
  gap:16px;
  align-items:flex-start;
  border-bottom:3px solid transparent;
  transition: border-color .2s ease, transform .2s ease;
}
.info-card:hover{ border-bottom-color:var(--primary); transform:translateY(-4px); }
.info-card.dark{
  background:var(--ink);
  color:#fff;
}
.info-card .ic{
  width:52px;
  height:52px;
  border-radius:14px;
  background:var(--primary-light);
  color:var(--primary);
  display:grid;
  place-items:center;
  font-size:24px;
  flex:0 0 auto;
}
.info-card.dark .ic{ background:rgba(255,255,255,.12); color:var(--secondary); }
.info-card h6{ font-weight:800; margin-bottom:6px; }
.info-card p{ font-size:13.5px; margin-bottom:10px; }
.info-card.dark p{ color:rgba(255,255,255,.7); }
.info-card a.card-link{ font-weight:700; color:var(--primary); font-size:14px; }
.info-card.dark a.card-link{ color:var(--secondary); }
.hours-card .hours-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:13.5px;
  padding:6px 0;
  border-bottom:1px dashed rgba(255,255,255,.15);
  color:rgba(255,255,255,.75);
}
.hours-card .hours-row b{ color:#fff; }
.hours-card .card-link{ display:inline-block; margin-top:10px; }

.hero-wrap + section.info-strip-section{
  margin-top:0 !important;
}

.page-header{
  position:relative;
  overflow:hidden;
  padding:90px 0 56px;
  background:var(--ink);
}
.page-header .ph-media{
  position:absolute; inset:0; z-index:0;
}
.page-header .ph-media img{
  width:100%; height:100%; object-fit:cover; opacity:.28;
}
.page-header .ph-overlay{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(100deg, rgba(10,37,64,.96) 0%, rgba(10,37,64,.86) 60%, rgba(14,156,140,.55) 130%);
}
.page-header .container{ position:relative; z-index:2; }
.page-header h1{
  color:#fff;
  font-weight:800;
  margin-bottom:10px;
}
.page-header .breadcrumb-row{
  display:flex;
  align-items:center;
  gap:8px;
  color:rgba(255,255,255,.75);
  font-weight:600;
  font-size:14px;
}
.page-header .breadcrumb-row a{ color:rgba(255,255,255,.75); }
.page-header .breadcrumb-row a:hover{ color:var(--secondary); }
.page-header .breadcrumb-row .sep{ color:var(--secondary); }
.page-header p.lead-sub{
  color:rgba(255,255,255,.75);
  max-width:60ch;
  margin-top:10px;
}

.feature-box{
  display:flex;
  gap:12px;
  padding:14px;
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:16px;
}
.feature-box i{
  font-size:22px;
  color:var(--primary);
}

.img-card{
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
  position:relative;
}
.img-card img{
  width:100%;
  max-height:440px;
  object-fit:cover;
}
@media (max-width:768px){
  .img-card img{ max-height:320px; }
}
.years-badge{
  position:absolute;
  bottom:18px;
  left:18px;
  background:var(--primary);
  color:#fff;
  border-radius:16px;
  padding:14px 18px;
  box-shadow:var(--shadow);
}
.years-badge .num{ font-size:26px; font-weight:800; line-height:1; }
.years-badge .lbl{ font-size:11.5px; font-weight:600; opacity:.9; }

/* ---------------- CHECKLIST ---------------- */
.checklist{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 18px;
}
@media (max-width:480px){ .checklist{ grid-template-columns:1fr; } }
.check-item{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  font-size:14.5px;
}
.check-item i{ color:var(--primary); font-size:16px; }

.ic-inline{
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--primary-light);
  color:var(--primary);
  display:grid;
  place-items:center;
  font-size:18px;
  flex:0 0 auto;
}

.why-item{
  display:flex;
  gap:16px;
  padding:18px 0;
  border-bottom:1px solid var(--line);
}
.why-item:last-child{ border-bottom:0; }
.why-item .why-num{
  width:46px;
  height:46px;
  border-radius:14px;
  background:var(--primary-light);
  color:var(--primary);
  font-weight:800;
  display:grid;
  place-items:center;
  flex:0 0 auto;
}
.why-item h6{ font-weight:800; margin-bottom:4px; }

.value-strip{
  background:transparent;
  padding:0;
  color:var(--ink);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:36px 0;
}
.value-item{ text-align:center; padding:10px; }
.value-item i{ font-size:34px; color:var(--primary); }
.value-item .v-title{ font-weight:800; margin-top:12px; font-size:28px; color:var(--ink); }
.value-item .v-sub{ font-size:13px; color:var(--muted); margin-top:2px; text-transform:uppercase; letter-spacing:.04em; font-weight:700; }
@media (max-width:767px){
  .value-item{ border-bottom:1px solid var(--line); padding-bottom:20px; margin-bottom:6px; }
}

.svc-card{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  height:100%;
}
.svc-card.enhanced{
  border-radius:26px;
  padding:26px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc-card.enhanced:hover{
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(10,37,64,.16);
  border-color:var(--primary);
}
.svc-icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:var(--primary-light);
  color:var(--primary);
  font-size:26px;
}
.svc-link{
  display:inline-flex;
  gap:7px;
  align-items:center;
  font-weight:800;
  color:var(--primary);
  margin-top:8px;
}

.gallery-thumb{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  display:block;
  border:1px solid var(--line);
  background:#fff;
}
.gallery-thumb img{
  width:100%;
  height:180px;
  object-fit:cover;
  transition: transform .35s ease;
}
.gallery-thumb:hover img{ transform: scale(1.06); }
@media (min-width:768px){
  .gallery-thumb img{ height:210px; }
}

.step-card{ border-radius:22px; }
.step-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:54px;
  height:54px;
  border-radius:18px;
  background:var(--primary-light);
  color:var(--primary);
  font-weight:800;
  letter-spacing:.04em;
}

.testimonial-card{
  border-radius:22px;
  position:relative;
}
.testimonial-card::before{
  content:"\201C";
  position:absolute;
  top:14px;
  right:22px;
  font-size:56px;
  font-weight:800;
  color:var(--primary-light);
  line-height:1;
}
.stars i{ color:#f5b301; margin-right:2px; }

.testiSwiper{ padding-bottom:44px; }
.testiSwiper .swiper-slide{ height:auto; }
.testiSwiper .swiper-pagination-bullet{ background:var(--primary); opacity:.3; }
.testiSwiper .swiper-pagination-bullet-active{ opacity:1; }

.book-strip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  background:var(--ink);
  color:#fff;
  border-radius:var(--radius-lg);
  padding:32px;
}
.book-strip .text-muted{ color:rgba(255,255,255,.7)!important; }
.book-strip .section-kicker{ color:var(--secondary); }

.map-card{
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.map-card iframe{ display:block; width:100%; }

.accordion-item{ border:1px solid var(--line); border-radius:16px!important; overflow:hidden; margin-bottom:12px; }
.accordion-button{ font-weight:700; }
.accordion-button:not(.collapsed){ background:var(--primary-light); color:var(--primary); box-shadow:none; }
.accordion-button:focus{ box-shadow:0 0 0 4px var(--primary-light); }

.footer{
  background:var(--ink);
  color:rgba(255,255,255,.7);
  border-top:0;
}
.footer .brand-name{ color:#fff; }
.footer .brand-tagline{ color:rgba(255,255,255,.6); }
.footer h6{ color:#fff; }
.footer .text-muted{ color:rgba(255,255,255,.62)!important; }
.footer .link{
  font-weight:600;
  color:rgba(255,255,255,.72);
  display:inline-block;
  padding:4px 0;
}
.footer .link:hover{ color:var(--secondary); }
.footer .footer-bottom{ border-top:1px solid rgba(255,255,255,.1)!important; }
.footer .footer-bottom .text-muted{ color:rgba(255,255,255,.55)!important; }
.footer .footer-bottom a{ color:var(--secondary); }

.social{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:var(--primary-light);
  color:var(--primary);
}
.footer .social{
  background:rgba(255,255,255,.08);
  color:#fff;
}
.footer .social:hover{ background:var(--primary); }

.svc-modern{
  display:block;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:20px;
  height:100%;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.svc-modern:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(10,37,64,.14);
  border-color:var(--primary);
}
.svc-top{
  display:flex;
  gap:14px;
  align-items:flex-start;
  margin-bottom:10px;
}
.svc-sub{
  font-size:13px;
  color:var(--muted);
  font-weight:700;
}

.svc-snap{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:88%;
  gap:12px;
  overflow-x:auto;
  padding-bottom:10px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling: touch;
}
.svc-snap > a{ scroll-snap-align:start; }
.svc-snap::-webkit-scrollbar{ height:6px; }
.svc-snap::-webkit-scrollbar-thumb{
  background:var(--primary-light);
  border-radius:999px;
}

/* ---------------- BOOKING: TIME SLOT PICKER ---------------- */
.btn-check-wrap{ cursor:pointer; }
.btn-check-wrap input[type="radio"]{
  position:absolute;
  opacity:0;
  width:0; height:0;
}
.slot-pill{
  display:inline-block;
  padding:8px 16px;
  border:1.5px solid var(--line);
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  color:var(--ink);
  transition: all .15s ease;
}
.btn-check-wrap input:checked + .slot-pill{
  background:var(--ink);
  border-color:var(--ink);
  color:#fff;
}
.btn-check-wrap:hover .slot-pill{ border-color:var(--primary); }

/* ---------------- SERVICE TABS ---------------- */
.svc-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.svc-tab{
  border:1.5px solid var(--line);
  background:#fff;
  color:var(--ink);
  font-weight:700;
  font-size:13.5px;
  padding:10px 18px;
  border-radius:999px;
  cursor:pointer;
  transition: all .2s ease;
}
.svc-tab:hover{ border-color:var(--primary); color:var(--primary); }
.svc-tab.active{ background:var(--primary); border-color:var(--primary); color:#fff; }

/* ---------------- SERVICE PHOTO CARDS (Maxcare pattern) ---------------- */
.svc-photo-card{
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--line);
  height:100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc-photo-card:hover{ transform:translateY(-6px); box-shadow:0 22px 55px rgba(3,4,94,.14); }
.svc-photo{ display:block; overflow:hidden; }
.svc-photo img{
  width:100%;
  height:220px;
  object-fit:cover;
  transition: transform .4s ease;
}
.svc-photo-card:hover .svc-photo img{ transform:scale(1.07); }
.svc-photo-body{ padding:22px; }
.svc-photo-body h5 a{ color:var(--ink); }
.svc-photo-body h5 a:hover{ color:var(--primary); }
.svc-read-more{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  color:var(--ink);
}
.svc-read-more .ic{
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--primary-light);
  color:var(--ink);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.svc-read-more:hover .ic{ background:var(--primary); color:#fff; transform:translateX(2px); }
