/* ============================================
   Base CSS — LB Physiotherapy
   Premium Apple-Style Design Foundation
   ============================================ */

/* Normalize */
html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: clip;
}
html, body {
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
}
*, *:before, *:after {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  background: #FFFFFF;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
}
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
  display: block;
}
audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden], template {
  display: none;
}
a {
  color: inherit;
  text-decoration: none;
  outline: none;
  box-shadow: none;
  -webkit-transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  -moz-transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
a:hover, a:focus, a:active {
  color: inherit;
  text-decoration: none;
  outline: 0;
}
a:visited {
  color: inherit;
}
.slicknav_menu {
  display: none;
}
img, a, input, h1, h2, h3, h4, h5, h6 {
  -webkit-transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  -moz-transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
svg:not(:root) {
  overflow: hidden;
}
hr {
  box-sizing: content-box;
  height: 0;
  background-color: #eee;
  border: 0;
  margin-bottom: 1.5em;
}
button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button {
  overflow: visible;
  text-transform: none;
  border: none;
  border-radius: 0;
  background: transparent;
  color: inherit;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
button[disabled] {
  cursor: default;
}
input {
  line-height: normal;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="range"],
input[type="date"], input[type="month"], input[type="week"], input[type="time"],
input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
  color: #1D1D1F;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 20px;
  padding: 12px 16px;
  font-weight: 400;
  font-size: 16px;
  background: #FAFAFA;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus,
input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus,
input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus,
input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus,
input[type="datetime"]:focus, input[type="datetime-local"]:focus,
input[type="color"]:focus, textarea:focus {
  color: #1D1D1F;
  font-weight: 400;
  border-color: #258AA7;
  box-shadow: 0 0 0 3px rgba(37, 138, 167, 0.12);
  outline: none;
  background: #fff;
}
select {
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 20px;
  padding: 12px 16px;
  font-size: 16px;
  background: #FAFAFA;
  color: #1D1D1F;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
textarea {
  width: 100%;
  overflow: auto;
  resize: vertical;
}
input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
legend {
  border: 0;
  padding: 0;
}
optgroup {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin: 0 0 1.5em;
}
td, th {
  padding: 0;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #1A365D;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}
h4 {
  font-size: 1.25rem;
  font-weight: 600;
}
p {
  color: #555555;
  margin: 0;
  line-height: 1.7;
  font-weight: 400;
  font-size: 16px;
}
a, button, input {
  font-weight: 400;
}
ul, ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ==================== BOX UTILITIES ==================== */
.table {
  display: table;
  width: 100%;
  height: 100%;
}
.table-cell {
  display: table-cell;
  vertical-align: middle;
}

/* ==================== CONTAINER ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 20px;
}
.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: none;
  margin-bottom: 20px;
  position: relative;
  color: #1A365D;
  letter-spacing: -0.025em;
}
.section-title p {
  font-size: 17px;
  color: #6E6E73;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== OVERLAY ==================== */
.overlay {
  position: relative;
}
.overlay::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, rgba(29,29,31,0.82) 0%, rgba(29,29,31,0.65) 100%);
  z-index: 1;
}

/* ==================== BUTTONS — Pill Shape ==================== */
.btn {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #fff;
  padding: 16px 36px;
  font-size: 15px;
  text-transform: none;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: #258AA7;
  position: relative;
  box-shadow: 0 4px 16px rgba(37,138,167,0.25);
  display: inline-block;
  -webkit-transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  -moz-transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  line-height: 1.4;
}
.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,138,167,0.35);
}
.btn::before {
  display: none;
}

/* ==================== BREADCRUMBS / INNER PAGE HEROES ==================== */
.breadcrumbs {
  background-image: url('../img/slider.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  padding: 190px 0 110px 0;
  overflow: hidden;
}
.breadcrumbs::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(29,29,31,0.85) 0%, rgba(29,29,31,0.7) 100%);
  z-index: 1;
}
.breadcrumbs .container {
  position: relative;
  z-index: 2;
}
.breadcrumbs .bread-inner {
  z-index: 22;
  text-align: center;
}
.breadcrumbs h1, .breadcrumbs h2 {
  color: #fff;
  text-transform: none;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0;
  padding: 0;
  letter-spacing: -0.025em;
  animation: fadeInUp 0.6s ease-out both 0.2s;
}
.breadcrumbs .bread-list {
  display: inline-block;
  margin-top: 12px;
  animation: fadeInUp 0.6s ease-out both 0.4s;
}
.breadcrumbs .bread-list li {
  display: inline-block;
}
.breadcrumbs .bread-list li a {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  font-weight: 400;
  transition: color 0.3s ease;
}
.breadcrumbs .bread-list li a:hover {
  color: #fff;
}
.breadcrumbs .bread-list li i {
  color: rgba(255,255,255,0.5);
  margin: 0 10px;
  font-size: 13px;
  font-weight: 600;
}
.breadcrumbs .bread-list li.active {
  color: #fff;
  font-weight: 500;
  font-size: 15px;
}

/* ==================== IMAGE TREATMENTS ==================== */
.single-pf img,
.appointment-image img,
.choose-right img,
.about-image img,
.our-mission-image img {
  border-radius: 20px;
}

/* Global image treatment */
img {
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Image hover — scale effect */
.partnership-hero img,
.about-image img,
.our-mission-image img,
.appointment-image img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.partnership-hero img:hover,
.about-image img:hover,
.our-mission-image img:hover,
.appointment-image img:hover {
  transform: scale(1.02);
}

/* ==================== FORM INPUTS ==================== */
input[type="email"],
input[type="text"],
textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==================== FOCUS STATES ==================== */
:focus-visible {
  outline: 2px solid #258AA7;
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #258AA7;
  outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 100000;
  background: #258AA7;
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  font-size: 15px;
  transition: top 0.3s ease;
}
.skip-to-content:focus {
  top: 0;
}

/* ==================== ACCESSIBILITY ==================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ==================== ALIGNMENTS ==================== */
.alignleft { display: inline; float: left; margin-right: 1.5em; }
.alignright { display: inline; float: right; margin-left: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
.text-accent { color: #258aa7; }

/* ==================== CLEARINGS ==================== */
.clear::before, .clear::after,
.entry-content::before, .entry-content::after {
  content: "";
  display: table;
  table-layout: fixed;
}
.clear::after, .entry-content::after {
  clear: both;
}

/* ==================== PRELOADER ==================== */
.preloader {
  position: fixed;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 9999999;
  -webkit-transition: .9s;
  transition: .9s;
}
.preloader .loader {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-block;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 45%;
  -webkit-transform: translateY(-45%);
  transform: translateY(-45%);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.preloader .loader .loader-outter {
  position: absolute;
  border: 4px solid #ffffff;
  border-left-color: transparent;
  border-bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -webkit-animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
}
.preloader .loader .loader-inner {
  position: absolute;
  border: 4px solid #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  left: calc(40% - 21px);
  top: calc(40% - 21px);
  border-right: 0;
  border-top-color: transparent;
  -webkit-animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
}
.preloader .loader .indicator {
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%) scale(1.5);
  transform: translateY(-50%) scale(1.5);
}
.preloader .loader .indicator svg polyline {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.preloader .loader .indicator svg polyline#back {
  stroke: #ffffff;
}
.preloader .loader .indicator svg polyline#front {
  stroke: #258AA7;
  stroke-dasharray: 12, 36;
  stroke-dashoffset: 48;
  -webkit-animation: dash 1s linear infinite;
  animation: dash 1s linear infinite;
}
.preloader::before, .preloader::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 60%;
  z-index: -1;
  background: #258AA7;
  -webkit-transition: .9s;
  transition: .9s;
}
.preloader::after {
  left: auto;
  right: 0;
}
.preloader.preloader-deactivate {
  visibility: hidden;
}
.preloader.preloader-deactivate::after,
.preloader.preloader-deactivate::before {
  width: 0;
}
.preloader.preloader-deactivate .loader {
  opacity: 0;
  visibility: hidden;
}

@-webkit-keyframes loader-outter {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes loader-outter {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@-webkit-keyframes loader-inner {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(-360deg); transform: rotate(-360deg); }
}
@keyframes loader-inner {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(-360deg); transform: rotate(-360deg); }
}
@-webkit-keyframes dash {
  62.5% { opacity: 0; }
  to { stroke-dashoffset: 0; }
}
@keyframes dash {
  62.5% { opacity: 0; }
  to { stroke-dashoffset: 0; }
}

/* ==================== PAGINATION ==================== */
.pagination {
  text-align: left;
  margin: 50px 0 0 0;
  display: block;
}
.pagination.center {
  text-align: center;
}
.pagination .pagination-list li {
  margin-right: 5px;
  display: inline-block;
}
.pagination .pagination-list li:last-child {
  margin-right: 0;
}
.pagination .pagination-list li a {
  background: #F5F5F7;
  color: #555;
  padding: 8px 20px;
  font-weight: 500;
  border: 1px solid rgba(0,0,0,0.06);
  font-size: 15px;
  border-radius: 100px;
}
.pagination .pagination-list li.active a,
.pagination .pagination-list li:hover a {
  background: #258AA7;
  color: #fff;
  border-color: transparent;
}

/* ==================== MEDIA QUERIES ==================== */
@media (max-width: 768px) {
  .header .top-link li {
    display: block;
    margin-bottom: 10px;
  }
  .footer .single-footer {
    margin-bottom: 20px;
  }
}