/* Empire Health — healthcare theme inspired by TrustLife colour system */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Raleway:wght@400;500;600;700;800;900&display=swap');

:root {
  --navy: #002856;
  --cyan: #2caee2;
  --cyan-2: #229cd5;
  --cyan-dark: #3281a7;
  --ice: #f3fbfd;
  --muted: #767676;
  --heading: #002856;
  --white: #ffffff;
  --border: #dedede;
  --danger: #bd0c0c;
  --success: #1a9b5a;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; width: 100%; }
body {
  margin: 0;
  color: var(--muted);
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: #002826; text-decoration: none; transition: .3s ease; }
a:hover, a:focus { color: var(--cyan); text-decoration: none; }
h1,h2,h3,h4,h5,h6 {
  color: var(--heading);
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  margin: 0 0 10px;
  padding: 0;
}
h1 { font-size: 40px; }
h2 { font-size: 34px; }
h3 { font-size: 26px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 15px; }
p { margin: 0 0 12px; }
ul { margin: 0 0 15px; padding-left: 18px; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; transition: .3s ease; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-12,.col-6,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8 { padding: 0 15px; width: 100%; }
@media (min-width: 768px) {
  .col-6 { width: 50%; }
  .col-md-4 { width: 33.333%; }
  .col-md-5 { width: 41.666%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.333%; }
  .col-md-8 { width: 66.666%; }
}
@media (min-width: 992px) {
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333%; }
  .col-lg-5 { width: 41.666%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.333%; }
  .col-lg-8 { width: 66.666%; }
}

.section { padding: 100px 0 70px; }
.tm-gray-bg { background-color: var(--ice); }
.tm-navy-bg { background-color: var(--navy); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* Buttons */
.tm-btn {
  display: inline-block;
  text-transform: uppercase;
  background-color: var(--navy);
  color: #fff;
  padding: 10px 26px 11px;
  border: 0;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: center;
  letter-spacing: .4px;
}
.tm-btn:hover { background-color: var(--cyan); color: #fff; border-radius: 4px 40px 4px 40px; }
.tm-btn.cyan { background: var(--cyan); }
.tm-btn.cyan:hover { background: var(--navy); border-radius: 4px 40px 4px 40px; }
.tm-btn.white { background: #fff; color: var(--navy); }
.tm-btn.white:hover { background: var(--cyan); color: #fff; }
.tm-btn.full { width: 100%; }

/* Section heading */
.tm-section-heading { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.tm-section-heading h2 {
  font-size: 32px;
  color: var(--cyan);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.tm-section-heading.light h2, .tm-section-heading.light p { color: #fff; }
.tm-section-heading p { line-height: 26px; margin-top: 18px; }
.tm-section-seperator {
  height: 15px; width: 170px; position: relative; margin: 8px auto 0;
}
.tm-section-seperator.left { margin: 10px 0 22px; }
.tm-section-seperator:before, .tm-section-seperator:after {
  content: ''; height: 2px; background-color: var(--cyan); width: 70px; position: absolute; top: 6px;
}
.tm-section-seperator:before { left: 0; }
.tm-section-seperator:after { right: 0; }
.tm-section-seperator span {
  position: absolute; height: 2px; width: 14px; background-color: var(--cyan);
  left: 50%; margin-left: -7px; top: 6px;
  animation: tm-spin 6s linear infinite;
}
.tm-section-seperator span:before {
  content: ''; height: 7px; width: 2px; position: absolute; background-color: var(--cyan); top: 2px; left: 6px;
}
.tm-section-seperator span:after {
  content: ''; height: 5px; width: 2px; position: absolute; background-color: var(--navy); bottom: 3px; left: 6px;
}
@keyframes tm-spin {
  0% { transform: rotateX(-20deg) rotateY(0); }
  75% { transform: rotateX(-20deg) rotateY(360deg); }
  100% { transform: rotateX(-20deg) rotateY(360deg); }
}

/* Preloader */
#tm-preloader {
  background: var(--ice); position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
}
#tm-preloader-in { position: relative; height: 20px; width: 120px; }
#tm-preloader-in div {
  width: 20px; height: 20px; background: var(--cyan); border-radius: 50%;
  position: absolute; animation: tm-preloader 2s linear infinite;
}
#tm-preloader-in div:nth-child(2) { animation-delay: -.4s; }
#tm-preloader-in div:nth-child(3) { animation-delay: -.8s; }
#tm-preloader-in div:nth-child(4) { animation-delay: -1.2s; }
#tm-preloader-in div:nth-child(5) { animation-delay: -1.6s; }
@keyframes tm-preloader {
  0% { left: 100px; top: 0; }
  80% { left: 0; top: 0; }
  85% { left: 0; top: -20px; width: 20px; height: 20px; }
  90% { width: 40px; height: 15px; }
  95% { left: 100px; top: -20px; width: 20px; height: 20px; }
  100% { left: 100px; top: 0; }
}

/* Scroll up */
#scrollup {
  position: fixed; bottom: -60px; right: 25px; color: #fff;
  height: 36px; width: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--cyan); border-radius: 5px; z-index: 50; box-shadow: 0 1px 5px rgba(0,0,0,.2);
  transform: rotate(-90deg); transition: .4s ease; font-size: 16px;
}
#scrollup.scrollup-show { bottom: 25px; }
#scrollup:hover { background: var(--cyan-dark); }

/* Header */
.tm-site-header {
  width: 100%; position: fixed; top: 0; z-index: 100;
  transition: .27s cubic-bezier(0,0,.58,1);
}
.tm-header-menu {
  height: 80px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
}
.tm-site-header.scrolled {
  background: #fff; box-shadow: 2px 2px 8px rgba(0,0,0,.06);
}
.tm-site-header.scrolled .tm-header-menu { background: #fff; }
.tm-header-menu-container {
  display: flex; justify-content: space-between; align-items: center; height: 80px; position: relative;
}
.tm-site-branding {
  width: 280px; height: 80px; display: flex; align-items: center; position: relative; padding-right: 30px; z-index: 2;
}
.tm-site-branding:before {
  content: ''; position: absolute; height: 130px; width: 1600px;
  background: var(--navy); transform: skew(20deg); right: 22px; bottom: 0;
}
.tm-logo-link {
  display: flex; align-items: center; gap: 10px; position: relative; z-index: 2;
}
.tm-logo-link img.logo-mark {
  width: 46px; height: 46px; object-fit: cover; border-radius: 50%;
  background: #fff; padding: 2px;
}
.tm-site-title {
  color: #fff; font-weight: 800; text-transform: uppercase; font-size: 22px;
  letter-spacing: .5px; line-height: 1.1; font-family: 'Raleway', sans-serif;
}
.tm-site-title small {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 3px; color: var(--cyan); margin-top: 2px;
}

.tm-primary-nav { display: flex; align-items: center; height: 100%; }
.tm-primary-nav ul {
  display: flex; list-style: none; margin: 0; padding: 0; align-items: center; height: 100%;
}
.tm-primary-nav .menu-item { position: relative; margin-right: 22px; height: 100%; }
.tm-primary-nav .menu-item:last-child { margin-right: 0; }
.tm-primary-nav .menu-item > a {
  font-size: 14px; font-weight: 700; color: var(--navy); height: 100%;
  display: flex; align-items: center; white-space: nowrap;
}
.tm-primary-nav .menu-item.active > a,
.tm-primary-nav .menu-item > a:hover { color: var(--cyan); }
.header-tools { display: flex; align-items: center; gap: 16px; margin-left: 18px; }
.search-toggle, .m-menu-btn {
  width: 30px; height: 27px; background: none; border: 0; color: var(--navy); font-size: 16px; padding: 0;
}
.m-menu-btn { display: none; flex-direction: column; justify-content: center; gap: 6px; }
.m-menu-btn span, .m-menu-btn span:before, .m-menu-btn span:after {
  display: block; width: 22px; height: 2px; background: var(--navy);
}
.m-menu-btn span { position: relative; }
.m-menu-btn span:before, .m-menu-btn span:after { content: ''; position: absolute; left: 0; }
.m-menu-btn span:before { top: -7px; }
.m-menu-btn span:after { top: 7px; }

.search-panel {
  position: absolute; top: 100%; right: 15px; background: #fff; padding: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); display: none; width: 280px; z-index: 50;
}
.search-panel.open { display: block; }
.search-panel input {
  width: 100%; border: 1px solid var(--border); padding: 10px 12px; outline: none;
}
.search-panel input:focus { border-color: var(--navy); }

/* Hero */
.hero {
  min-height: 820px; display: flex; align-items: center; position: relative;
  overflow: hidden; background: #eaf6fb;
}
.hero-photo {
  position: absolute; right: -40px; top: 40px; width: 58%; height: 100%;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.hero-circle {
  width: min(680px, 78%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 18px #fff, 0 30px 60px rgba(0,40,86,.12);
  background: #fff;
}
.hero-circle img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-overlay2 {
  position: absolute; left: -30%; top: 0; height: 100%; width: 78%;
  background: rgba(255,255,255,.55); transform: skewX(24deg);
  backdrop-filter: blur(16px); z-index: 2;
}
.hero .container { position: relative; z-index: 4; padding-top: 90px; }
.slider-text { max-width: 620px; }
.slider-text h1 {
  font-size: 48px; font-weight: 300; text-transform: uppercase; line-height: 1.25; margin-bottom: 18px;
}
.slider-text h1 b { font-weight: 700; font-style: normal; color: var(--navy); }
.rotating-word {
  display: inline-block; min-width: 280px; color: var(--cyan); font-weight: 700;
}
.slider-text p { font-size: 20px; color: var(--navy); line-height: 32px; margin-bottom: 28px; max-width: 520px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 70px; max-width: 720px; }
.tm-icon-box { display: flex; gap: 14px; max-width: 230px; }
.tm-icon-box .tm-icon {
  width: 42px; height: 42px; border: 1px solid var(--cyan); color: var(--cyan);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px;
}
.tm-icon-box h5 { font-size: 15px; font-weight: 700; margin: 0 0 6px; text-transform: uppercase; }
.tm-icon-box p { font-size: 13px; line-height: 20px; margin: 0; }

/* About / hours */
.about-split { position: relative; overflow: hidden; }
.tm-half-section-bg {
  position: absolute; top: 0; left: 0; width: 50%; height: 100%;
  background-size: cover; background-position: center;
}
.tm-half-section-bg:before {
  content: ''; position: absolute; inset: 0; background: var(--navy); opacity: .88;
}
.about-split .container { position: relative; z-index: 2; }
.about-split .row { align-items: stretch; }
.schedule-col { padding: 80px 40px 80px 15px; color: #fff; }
.tm-shedule-title { color: #fff; font-size: 22px; margin-bottom: 16px; font-weight: 600; }
.tm-shedule-list { list-style: none; padding: 0; margin: 0 0 30px; }
.tm-shedule-list li {
  color: #fff; display: flex; justify-content: space-between;
  border-bottom: 1px dashed rgba(255,255,255,.55); margin-bottom: 10px; padding: 6px 0;
}
.why-col { padding: 80px 20px; background: #fff; }
.tm-about-title { font-size: 24px; font-weight: 600; margin-bottom: 16px; }
.tm-about-title span { color: var(--cyan); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--muted); }
.check-list li:before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; color: var(--cyan); font-size: 13px;
}
.appt-col { background: var(--navy); padding: 50px 36px; color: #fff; }
.appt-col h3 { color: #fff; font-size: 22px; font-weight: 600; margin-bottom: 8px; text-transform: uppercase; }
.appt-col > p { color: rgba(255,255,255,.8); margin-bottom: 22px; }

/* Forms */
.tm-form-field { position: relative; margin-bottom: 26px; width: 100%; }
.tm-form-field input, .tm-form-field textarea, .tm-form-field select {
  width: 100%; font-size: 14px; display: block; border: none;
  border-bottom: 1px solid rgba(255,255,255,.7); margin: 0; padding: 10px 0;
  color: #fff; background: transparent; outline: none; appearance: none;
}
.tm-form-field input[type="date"] { color-scheme: dark; }
.tm-form-field input[type="checkbox"] { width: auto; display: inline-block; }
.tm-form-field textarea { height: 90px; resize: vertical; }
.tm-form-field label {
  color: rgba(255,255,255,.75); font-size: 14px; position: absolute; left: 0; top: 10px;
  pointer-events: none; transition: .3s ease;
}
.tm-form-field.filled label, .tm-form-field input:focus ~ label,
.tm-form-field textarea:focus ~ label, .tm-form-field select:focus ~ label {
  top: -16px; font-size: 11px; color: #fff; background: var(--navy); padding: 1px 8px; left: 0;
}
.tm-form-field .bar {
  position: absolute; bottom: -1px; left: 0; height: 2px; width: 0; background: var(--cyan); transition: .4s ease;
}
.tm-form-field input:focus ~ .bar, .tm-form-field textarea:focus ~ .bar, .tm-form-field select:focus ~ .bar { width: 100%; }
.tm-form-field .error-text { display: none; color: #ffb4b4; font-size: 12px; margin-top: 6px; }
.tm-form-field.has-error input, .tm-form-field.has-error textarea, .tm-form-field.has-error select { border-bottom-color: #ff6b6b; }
.tm-form-field.has-error .error-text { display: block; }
.light-form .tm-form-field input,
.light-form .tm-form-field textarea,
.light-form .tm-form-field select {
  border: 1px solid var(--border); color: var(--muted); padding: 12px 14px; background: #fff;
}
.light-form .tm-form-field label { left: 12px; color: var(--muted); background: transparent; }
.light-form .tm-form-field.filled label,
.light-form .tm-form-field input:focus ~ label,
.light-form .tm-form-field textarea:focus ~ label,
.light-form .tm-form-field select:focus ~ label {
  background: var(--navy); color: #fff; top: -12px; left: 8px;
}
.light-form .tm-form-field.has-error .error-text { color: var(--danger); }
.form-row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.form-row .tm-form-field { padding: 0 10px; width: 50%; }
.form-row .full { width: 100%; }

/* Departments */
.dept-tabs { display: flex; justify-content: space-between; overflow-x: auto; padding: 6px 0 20px; list-style: none; margin: 0; }
.dept-tabs li {
  min-width: 140px; background: #fff; padding: 22px 12px; margin: 6px 8px; text-align: center;
  font-weight: 700; color: var(--navy); text-transform: uppercase; cursor: pointer;
  transition: .35s ease; display: flex; flex-direction: column; align-items: center; font-size: 13px;
  box-shadow: 0 6px 18px rgba(0,40,86,.06);
}
.dept-tabs li i { font-size: 40px; color: var(--cyan); margin-bottom: 10px; }
.dept-tabs li.current { background: var(--navy); color: #fff; transform: scale(1.08); }
.dept-tabs li.current i { color: #fff; }
.dept-panel { display: none; }
.dept-panel.current { display: block; }
.dept-copy h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.dept-copy h3 span { color: var(--cyan); }
.dept-img { overflow: hidden; }
.dept-img img { width: 100%; height: 360px; object-fit: cover; }

/* Doctors */
.doctors-section { background: var(--navy); position: relative; overflow: hidden; }
.doctors-section:before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat; opacity: .12;
}
.doctor-card { text-align: center; color: #fff; position: relative; z-index: 1; margin-bottom: 30px; }
.doctor-photo {
  width: 200px; height: 200px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden;
  border: 6px solid rgba(255,255,255,.15);
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card h4 { color: #fff; font-size: 20px; margin: 0 0 4px; }
.doctor-card h4 a { color: #fff; }
.doctor-card h4 a:hover { color: var(--cyan); }
.doctor-card span { color: var(--cyan); font-size: 15px; }
.doctor-social { margin-top: 10px; display: flex; justify-content: center; gap: 10px; }
.doctor-social a { color: #fff; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.doctor-social a:hover { background: var(--cyan); border-color: var(--cyan); color: #fff; }

/* Before after / smile */
.smile-wrap { position: relative; overflow: hidden; }
.smile-wrap img { width: 100%; height: 480px; object-fit: cover; }
.smile-caption {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  background: rgba(0,40,86,.85); color: #fff; padding: 14px 28px; text-align: center;
}
.smile-caption h3 { color: #fff; margin: 0; font-size: 22px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.gallery-item { position: relative; overflow: hidden; height: 230px; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { height: 280px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: .45s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: rgba(0,40,86,.0); transition: .35s;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px;
}
.gallery-item:hover .overlay { background: rgba(0,40,86,.45); }
.gallery-item .overlay i { opacity: 0; transform: scale(.4); transition: .35s; }
.gallery-item:hover .overlay i { opacity: 1; transform: scale(1); }

/* Testimonials */
.tm-single-testimonial { display: flex; align-items: center; max-width: 860px; margin: 0 auto; }
.tm-testimonial-thumb { flex: none; width: 210px; height: 210px; position: relative; z-index: 1; overflow: hidden; }
.tm-testimonial-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tm-testimonial-text {
  background: var(--ice); margin-left: -90px; padding: 28px 32px 28px 120px; min-height: 230px;
  display: flex; flex-direction: column; justify-content: center;
}
.tm-testimonial-text i { font-size: 32px; color: var(--cyan); }
.tm-testimonial-text blockquote {
  margin: 12px 0; background: none; border: 0; padding: 0; font-style: italic; color: var(--muted); font-size: 16px; line-height: 26px;
}
.tm-testimonial-meta h3 { font-size: 22px; margin: 0; }
.tm-testimonial-meta span { color: var(--cyan); }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.testimonial-dots button {
  width: 30px; height: 4px; border: 0; background: var(--cyan); padding: 0; position: relative;
}
.testimonial-dots button.active:before {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: var(--navy);
}
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; }

/* Fun facts */
.funfact-section {
  background: url('../images/stats-bg.jpg') center/cover no-repeat fixed; position: relative; padding: 90px 0;
}
.funfact-section:before { content: ''; position: absolute; inset: 0; background: rgba(243,251,253,.88); }
.funfact-section .container { position: relative; z-index: 1; }
.tm-fun-fact { text-align: center; margin-bottom: 20px; }
.tm-fun-fact i { font-size: 48px; color: var(--navy); margin-bottom: 8px; display: block; }
.tm-fun-fact h2 { font-size: 48px; font-weight: 700; margin: 0; color: var(--navy); }
.tm-fun-fact p { font-size: 16px; font-weight: 600; color: var(--cyan); text-transform: uppercase; margin: 6px 0 0; }

/* Pricing */
.price-card {
  background: #fff; border: 1px solid #e8eef2; text-align: center; padding: 36px 24px 40px;
  margin-bottom: 30px; transition: .35s; position: relative;
}
.price-card:hover, .price-card.featured { box-shadow: 0 18px 40px rgba(0,40,86,.12); transform: translateY(-6px); }
.price-card.featured { border-color: var(--cyan); }
.price-card.featured:after {
  content: 'Popular'; position: absolute; top: 16px; right: -8px; background: var(--cyan); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px;
}
.price-card h3 { font-size: 20px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.price-card .amount { font-size: 48px; color: var(--navy); font-weight: 700; line-height: 1; margin: 10px 0; font-family: 'Raleway', sans-serif; }
.price-card .amount small { font-size: 16px; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 28px; }
.price-card ul li { padding: 8px 0; border-bottom: 1px dashed #e6eef3; }
.price-card ul li:last-child { border-bottom: 0; }

/* FAQ */
.single-accordian { background: #fff; border: 1px solid var(--border); margin-bottom: 14px; }
.accordian-head {
  cursor: pointer; margin: 0; font-size: 15px; font-weight: 600; padding: 16px 50px 16px 20px;
  position: relative; font-family: 'Open Sans', sans-serif; color: var(--navy);
}
.accordian-head.active { background: var(--navy); color: #fff; }
.accordian-toggle {
  height: 16px; width: 16px; background: var(--navy); border-radius: 50%; position: absolute; right: 20px; top: 18px;
}
.accordian-head.active .accordian-toggle { background: #fff; }
.accordian-toggle:before, .accordian-toggle:after {
  content: ''; position: absolute; background: #fff;
}
.accordian-toggle:before { height: 2px; width: 8px; left: 4px; top: 7px; }
.accordian-toggle:after { height: 8px; width: 2px; left: 7px; top: 4px; }
.accordian-head.active .accordian-toggle:before { background: var(--muted); }
.accordian-head.active .accordian-toggle:after { opacity: 0; }
.accordian-body { display: none; padding: 22px; }
.accordian-body.open { display: block; }
.faq-photo { min-height: 460px; background-size: cover; background-position: center; height: 100%; }

/* Blog cards */
.blog-card { margin-bottom: 30px; }
.tm-post-thumb { position: relative; overflow: hidden; }
.tm-post-thumb img { width: 100%; height: 230px; object-fit: cover; transition: .4s; }
.tm-post-thumb:hover img { transform: scale(1.08); }
.blog-card h4 { font-size: 20px; font-weight: 600; margin: 16px 0 8px; }
.blog-card h4 a { color: var(--navy); }
.blog-meta { color: var(--cyan-2); font-size: 13px; margin-bottom: 8px; }
.blog-meta i { margin-right: 4px; }
.read-more-btn { font-weight: 600; color: var(--cyan); }

/* Inner banner */
.page-banner {
  height: 340px; display: flex; align-items: center; justify-content: center;
  background: url('../images/page-banner.jpg') center/cover no-repeat; position: relative; padding-top: 90px;
}
.page-banner:before { content: ''; position: absolute; inset: 0; background: rgba(243,251,253,.78); }
.page-banner-inner { position: relative; z-index: 1; text-align: center; }
.page-banner h1 { font-size: 40px; font-weight: 600; margin: 0; }
.tm-breadcrumb { list-style: none; display: flex; justify-content: center; gap: 16px; margin: 10px 0 0; padding: 0; }
.tm-breadcrumb li { font-size: 16px; color: var(--navy); position: relative; }
.tm-breadcrumb li:not(:last-child):after { content: '/'; position: absolute; right: -12px; }
.tm-breadcrumb a:hover { color: var(--cyan); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 70px 0 0; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { width: 48px; height: 48px; border-radius: 50%; background: #fff; }
.footer-logo span { color: #fff; font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: .5px; }
.site-footer h4 { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 18px; text-transform: uppercase; }
.site-footer p { line-height: 26px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.75); }
.footer-links a:hover { color: var(--cyan); }
.social-list { display: flex; gap: 10px; margin-top: 16px; }
.social-list a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); color: #fff;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.social-list a:hover { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.footer-legal { list-style: none; padding: 0; margin: 0; }
.footer-legal li { margin-bottom: 8px; }
.footer-legal a { color: rgba(255,255,255,.75); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 18px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,.7); margin-left: 14px; }
.footer-bottom a:hover { color: var(--cyan); }

/* Doctor find */
.filter-bar {
  background: var(--ice); padding: 22px; margin-bottom: 40px; display: flex; flex-wrap: wrap; gap: 12px;
}
.filter-bar input, .filter-bar select {
  flex: 1; min-width: 180px; border: 1px solid var(--border); padding: 12px 14px; color: var(--navy); background: #fff;
}
.doctor-grid-card {
  background: #fff; border: 1px solid #eef3f6; text-align: center; padding: 28px 18px; margin-bottom: 30px; transition: .3s;
}
.doctor-grid-card:hover { box-shadow: 0 14px 30px rgba(0,40,86,.1); }
.doctor-grid-card .photo { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; }
.doctor-grid-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.badge { display: inline-block; background: var(--ice); color: var(--cyan); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }

/* Blog layout */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.article-hero img { width: 100%; height: 420px; object-fit: cover; }
.article-body { font-size: 16px; line-height: 28px; }
.article-body h2, .article-body h3 { margin-top: 28px; }
.article-body p { margin-bottom: 16px; }
blockquote.pull {
  background: var(--ice); border-left: 3px solid var(--cyan-2); padding: 22px 30px; font-size: 18px; font-style: italic; color: var(--navy);
}
.sidebar-widget { background: var(--ice); padding: 24px; margin-bottom: 24px; }
.sidebar-widget h4 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar-widget li { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed #d7e6ee; }
.recent-post { display: flex; gap: 12px; margin-bottom: 14px; }
.recent-post img { width: 80px; height: 70px; object-fit: cover; }
.recent-post h6 { font-size: 14px; margin: 0 0 4px; line-height: 20px; }
.comment-form, .contact-box { background: #fff; }

/* Legal */
.legal-content h2 { font-size: 24px; font-weight: 600; margin: 32px 0 12px; }
.legal-content h3 { font-size: 18px; font-weight: 600; margin: 22px 0 8px; }
.legal-content p, .legal-content li { line-height: 27px; }
.legal-content li { margin-bottom: 8px; }

/* Subscribe */
.subscribe-card {
  max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid #e8eef2;
  padding: 48px 40px; box-shadow: 0 16px 40px rgba(0,40,86,.08); text-align: center;
}
.subscribe-card .icon-lg { width: 78px; height: 78px; border-radius: 50%; background: var(--ice); color: var(--cyan); display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 18px; }

/* Modal */
.form-modal {
  position: fixed; inset: 0; background: rgba(0,40,86,.55); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.form-modal.open { display: flex; }
.form-modal-card {
  background: #fff; max-width: 480px; width: 100%; padding: 42px 32px; text-align: center; border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.form-modal-card i { font-size: 52px; color: var(--success); margin-bottom: 12px; }
.form-modal-card h3 { margin-bottom: 8px; }

/* Feature intro */
.intro-features { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.feature-mini { flex: 1; min-width: 220px; }

/* Map-less contact boxes */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.info-card { background: var(--ice); padding: 30px 22px; text-align: center; }
.info-card i { font-size: 34px; color: var(--cyan-2); margin-bottom: 10px; animation: tm-info 1s ease-in-out infinite alternate; }
@keyframes tm-info { from { color: var(--navy); } to { color: var(--cyan); } }

/* Clients strip */
.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.client-box {
  border: 1px solid #ccc; height: 90px; min-width: 160px; flex: 1; display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 13px;
}
.client-box:hover { border-color: var(--cyan-2); color: var(--cyan); }

/* About intro */
.about-intro { align-items: flex-start; }
.about-intro-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 18%;
}
.about-intro-copy {
  padding-top: 4px;
}
@media (min-width: 992px) {
  .about-intro-copy { padding-left: 18px; }
}
.about-intro-copy h2 {
  color: var(--cyan);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: .4px;
  margin: 0 0 6px;
  text-align: left;
}
.about-intro-copy p {
  text-align: left;
  line-height: 1.8;
  margin: 0 0 16px;
  color: var(--muted);
}
.about-intro-copy .lead {
  font-size: 16px;
  line-height: 1.85;
  margin-top: 0;
}
.about-copy h2 {
  line-height: 1.35;
  margin-bottom: 16px;
  text-align: left;
}
.about-copy p {
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: left;
}
.two-col-text h3 {
  line-height: 1.35;
  margin: 0 0 8px;
  text-align: left;
}
.two-col-text p {
  line-height: 1.8;
  margin: 0 0 22px;
  text-align: left;
}

/* Content helpers */
.lead { font-size: 17px; line-height: 28px; }
.stat-inline { display: flex; gap: 28px; flex-wrap: wrap; margin: 24px 0; }
.stat-inline div strong { display: block; font-size: 28px; color: var(--navy); font-family: 'Raleway', sans-serif; }
.two-col-text { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,20,40,.88); z-index: 3000; display: none;
  align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 18px; right: 24px; background: none; border: 0; color: #fff; font-size: 32px;
}

/* Hidden doctor cards */
.doctor-grid-card.hide { display: none; }

@media (max-width: 1199px) {
  .slider-text h1 { font-size: 40px; }
  .hero-circle { width: min(560px, 80%); }
  .tm-primary-nav .menu-item { margin-right: 14px; }
  .tm-primary-nav .menu-item > a { font-size: 13px; }
}
@media (max-width: 991px) {
  .m-menu-btn { display: flex; }
  .tm-primary-nav {
    display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff;
    box-shadow: 0 12px 24px rgba(0,0,0,.08); padding: 12px 0;
  }
  .tm-primary-nav.open { display: block; }
  .tm-primary-nav ul { flex-direction: column; align-items: stretch; height: auto; }
  .tm-primary-nav .menu-item { margin: 0; height: auto; }
  .tm-primary-nav .menu-item > a { padding: 12px 20px; }
  .hero { min-height: auto; padding: 140px 0 60px; }
  .hero-photo { position: relative; width: 100%; right: 0; top: 0; margin-top: 30px; }
  .hero-overlay2 { display: none; }
  .hero-circle { width: 320px; margin: 0 auto; }
  .slider-text { max-width: 100%; text-align: center; }
  .slider-text p { margin-left: auto; margin-right: auto; }
  .hero-features { justify-content: center; }
  .tm-half-section-bg { width: 100%; height: 280px; position: relative; }
  .schedule-col, .why-col, .appt-col { padding: 40px 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-single-testimonial { flex-direction: column; }
  .tm-testimonial-text { margin-left: 0; padding: 24px; }
  .blog-layout, .contact-info-grid, .two-col-text { grid-template-columns: 1fr; }
  .form-row .tm-form-field { width: 100%; }
  .faq-photo { min-height: 320px; margin-top: 24px; }
  .tm-site-branding { width: auto; }
  .tm-site-title { font-size: 16px; }
  .about-intro-photo img { height: 340px; }
  .about-intro-copy { padding-left: 0; padding-top: 24px; }
  .about-intro-copy h2 { font-size: 26px; line-height: 1.4; }
}
@media (max-width: 767px) {
  .section { padding: 70px 0 40px; }
  .slider-text h1 { font-size: 30px; line-height: 1.3; }
  .rotating-word { min-width: 0; display: block; }
  .page-banner { height: 260px; }
  .page-banner h1 { font-size: 28px; }
  .gallery-item, .gallery-item.tall { height: 180px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom a { margin: 0 8px; }
  .subscribe-card { padding: 30px 18px; }
  .hero-features { margin-top: 30px; }
  .dept-tabs li { min-width: 110px; }
  .smile-wrap img { height: 280px; }
}
