/* ==========================================================
   Hilltop Physiotherapy Services — Site Styles
   Palette: deep blue (primary), ice blue (soft backgrounds),
   teal (accent), sage green (secondary accent)
   ========================================================== */

:root {
  --hp-deep-blue:      #123c69;   /* primary — headings, buttons, nav */
  --hp-deep-blue-dark: #0a2647;   /* footer / darkest */
  --hp-ice-blue:       #eaf4fb;   /* soft section background tint */
  --hp-teal:           #2e9c97;   /* accent — eyebrows, icons */
  --hp-sage:           #8fae7d;   /* secondary accent */
  --hp-text:           #2b2b2b;
  --hp-muted:          #6c757d;
  --hp-white:          #ffffff;

  /* kept for backward compatibility with existing rules below */
  --hp-teal-dark:   var(--hp-deep-blue);
  --hp-teal-light:  var(--hp-ice-blue);
  --hp-navy:        var(--hp-deep-blue-dark);

  --hp-font-heading: 'Poppins', sans-serif;
  --hp-font-body: 'Poppins', sans-serif;
}

body {
  font-family: var(--hp-font-body);
  color: var(--hp-text);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hp-font-heading);
  font-weight: 700;
  color: var(--hp-navy);
}

a { color: var(--hp-teal-dark); text-decoration: none; }
a:hover { color: var(--hp-teal); }

.btn-primary {
  background-color: var(--hp-teal-dark);
  border-color: var(--hp-teal-dark);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--hp-teal);
  border-color: var(--hp-teal);
}
.btn-outline-primary {
  color: var(--hp-teal-dark);
  border-color: var(--hp-teal-dark);
}
.btn-outline-primary:hover {
  background-color: var(--hp-teal-dark);
  border-color: var(--hp-teal-dark);
}
.btn-outline-light:hover { color: var(--hp-navy); }

.section-py { padding: 5rem 0; }
.bg-soft { background-color: var(--hp-teal-light); }

.eyebrow {
  display: inline-block;
  color: var(--hp-teal);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .5rem;
}
.section-title { font-size: clamp(1.6rem, 2.5vw, 2.3rem); margin-bottom: 1rem; }
.section-sub { max-width: 640px; color: var(--hp-muted); }
.lead-text { font-size: 1.05rem; color: var(--hp-text); }

/* ---------------- Top bar ---------------- */
.topbar {
  background-color: var(--hp-navy);
  color: var(--hp-white);
  font-size: .85rem;
  padding: .5rem 0;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}
.topbar-item { display: flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.85); }
.topbar-item a { color: rgba(255,255,255,.85); }
.topbar-item a:hover { color: var(--hp-teal); }

/* ---------------- Navbar ---------------- */
.site-navbar {
  transition: box-shadow .25s ease, padding .25s ease;
  padding: .75rem 0;
  padding-top: 0px;
  padding-bottom: 0px;
}

.site-navbar.is-scrolled { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.site-navbar .nav-link {
  color: var(--hp-navy);
  font-weight: 500;
}
.site-navbar .nav-link:hover { color: var(--hp-teal-dark); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(20,51,58,.72), rgba(29,92,99,.75)),
              url('../img/package-60min-follow-up.jpg') center/cover no-repeat;
}
.hero-eyebrow {
  letter-spacing: .18em;
  font-weight: 600;
  font-size: .85rem;
  color: var(--hp-teal-light);
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  margin: .75rem 0;
}
.hero-tagline {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--hp-teal-light);
}
.hero-sub {
  max-width: 620px;
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
}

/* ---------------- Licenses slider ---------------- */
.licenses-section { background-color: var(--hp-white); border-bottom: 1px solid #eef2f2; }
.licenses-label {
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--hp-muted);
}
.license-badge {
  width: 124px;
  height: 124px;
  object-fit: contain;
  border-radius: 10%;
  background: #fff;
  padding: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  border: 1px solid #eef2f2;
}


@media (min-width: 767.98px) {
  .license-arrow, .advert-arrow { filter: invert(35%) sepia(15%) saturate(1000%) hue-rotate(130deg); }
  .carousel-indicators {
    position: static;
    margin: 1.5rem 0 0;
  }
}
.carousel-indicators {
    position: static;
    margin: 1.5rem 0 0;
}



.licenses-indicators [data-bs-target] { background-color: var(--hp-deep-blue); }

/* ---------------- About ---------------- */
.aim-box {
  background: var(--hp-teal-light);
  border-left: 4px solid var(--hp-teal-dark);
  padding: 1rem 1.25rem;
  border-radius: .5rem;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin: 1.25rem 0;
}
.aim-box i { color: var(--hp-teal-dark); font-size: 1.25rem; margin-top: .1rem; }

.coverage-pill {
  background: var(--hp-ice-blue);
  color: var(--hp-deep-blue);
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
}
.coverage-pill i { margin-right: .3rem; }
.coverage-pill.sage { background: rgba(143,174,125,.18); color: #4c6a3d; }

.experience-highlight {
  background: var(--hp-deep-blue);
  color: #fff;
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
}
.experience-highlight i { margin-right: .3rem; }
.experience-highlight.teal { background: var(--hp-teal); }
.experience-highlight.sage { background: var(--hp-sage); color: #2f4324; }

/* Single full-height cover image for the About Us right column */
.about-image-grid { height: 100%; min-height: 360px; }
.about-image-grid .img-main {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* ---------------- Services ---------------- */
.service-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 20px rgba(20,51,58,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(20,51,58,.12); }
.service-img-wrap {
  height: 170px;
  overflow: hidden;
  border-bottom: 3px solid var(--hp-sage);
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.06); }
.service-body { padding: 1.5rem; }

/* ---------------- Adverts / cards carousel ---------------- */
.advert-carousel { padding-bottom: 1rem; }

/* On mobile, cards in a slide stack vertically, making the item much
   taller — Bootstrap's default overlay arrows span that full height
   and end up floating over the middle card. Below the tablet
   breakpoint, drop the overlay style and place the arrows as normal
   buttons below the content instead. */
@media (max-width: 767.98px) {
  .advert-carousel .carousel-control-prev,
  .advert-carousel .carousel-control-next {
    position: static;
    display: inline-flex;
    width: auto;
    height: auto;
    opacity: 1;
    margin-top: 1rem;
  }
  .advert-carousel .carousel-control-prev { margin-right: 1rem; }
  .advert-carousel .carousel-control-next { margin-left: 1rem; }
  .advert-carousel { text-align: center; }
  .advert-carousel .carousel-control-prev-icon,
  .advert-carousel .carousel-control-next-icon {
    background-color: var(--hp-deep-blue);
    border-radius: 50%;
    padding: 1.1rem;
    filter: none;
  }
}
.advert-card {
  background: var(--hp-white);
  border: 1px solid #eef2f2;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(20,51,58,.05);
}
.advert-img-wrap {
  height: 150px;
  overflow: hidden;
  border-bottom: 3px solid var(--hp-teal);
}
.advert-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.advert-card:hover .advert-img-wrap img { transform: scale(1.06); }
.advert-body { padding: 1.5rem; }

/* ---------------- Packages ---------------- */
.package-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(20,51,58,.07);
}
.package-img {
  height: 170px;
  background-size: cover;
  background-position: center;
}
.package-body { padding: 1.25rem; }
.package-meta { color: var(--hp-muted); font-size: .85rem; margin-bottom: .25rem; }
.package-price { color: var(--hp-teal-dark); font-weight: 700; font-size: 1.15rem; }
.package-text { font-size: .9rem; color: var(--hp-muted); }

/* ---------------- Testimonials ---------------- */
.testimonials-section {
  background: linear-gradient(135deg, var(--hp-navy), var(--hp-teal-dark));
}
.testimonial-slide { max-width: 700px; }
.testimonial-quote-icon { color: var(--hp-teal-light); font-size: 2rem; }
.testimonial-quote { color: #fff; font-size: 1.2rem; font-style: italic; }
.testimonial-author { color: var(--hp-ice-blue); font-weight: 600; }
.testimonial-meta { color: rgba(255,255,255,.6); font-size: .85rem; }
.testimonials-indicators [data-bs-target] { background-color: #fff; opacity: .5; }
.testimonials-indicators [data-bs-target].active { opacity: 1; }

/* ---------------- Contact ---------------- */
.contact-info-list li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contact-info-list i {
  color: var(--hp-teal-dark);
  font-size: 1.15rem;
  margin-top: .2rem;
}
.contact-form-card {
  background: var(--hp-teal-light);
  border-radius: 1rem;
  padding: 2rem;
}
.form-control:focus {
  border-color: var(--hp-teal);
  box-shadow: 0 0 0 .2rem rgba(42,157,143,.15);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--hp-navy);
  color: rgba(255,255,255,.75);
  padding-top: 4rem;
}
.footer-logo { filter: brightness(0) invert(1); }
.footer-heading { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--hp-teal-light); }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { background: var(--hp-teal-dark); }
.footer-divider { border-color: rgba(255,255,255,.12); margin-top: 2.5rem; }

.bullet::before {
    content: "•";
    margin-right: 8px;
}