/* Worldwide Ped — Senior Healthcare
   Colour system matched to the Maxi Health reference theme */

:root {
  --primary: #33a9ee;
  --primary-mid: #2098df;
  --primary-dark: #0f89d1;
  --primary-deeper: #0779bc;
  --primary-deep: #0072b5;
  --primary-hover: #0879bf;
  --accent: #00a0ff;
  --topbar: #f0f2f4;
  --footer: #15191c;
  --footer-bottom: #111416;
  --footer-line: #26292c;
  --text: #555;
  --text-dark: #222;
  --muted: #777;
  --muted-2: #888;
  --light: #f8fbff;
  --light-2: #f1f8ff;
  --white: #fff;
  --container: 1170px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PT Sans", sans-serif;
  font-size: 14px;
  color: #000;
  overflow-x: hidden;
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { outline: 0; text-decoration: none; color: var(--primary-dark); transition: all .35s ease; }
a:hover { color: var(--primary-hover); }
ul { padding-left: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; color: var(--text-dark); font-weight: 700; }
p { margin-top: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { padding: 0 15px; }
.col-12 { width: 100%; }
.col-6 { width: 50%; }
.col-4 { width: 33.333%; }
.col-3 { width: 25%; }
.col-8 { width: 66.666%; }
.col-5 { width: 41.666%; }
.col-7 { width: 58.333%; }
.col-9 { width: 75%; }

.section-padding { padding: 70px 0; }
.no-padding { padding: 0; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.section-header { margin-bottom: 40px; text-align: center; }
.section-header h3,
.section-heading {
  font-family: "Raleway", sans-serif;
  font-size: 22px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2c3e50;
  margin-bottom: 12px;
  font-weight: 700;
}
.section-header .dots,
.section-heading + .dots,
.dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 16px;
}
.dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  display: inline-block;
}
.dots span:nth-child(2) { background: var(--primary-mid); }
.dots span:nth-child(3) { background: var(--primary-dark); }
.section-header p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 14px;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition: background .35s ease;
}
.btn:hover { background: var(--primary-hover); }
.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff !important;
}
.btn-outline:hover { background: #fff; color: var(--primary-dark) !important; }

/* ===== TOP HEADER ===== */
.top-header {
  background: var(--topbar);
  box-shadow: 0 1px 1px rgba(0,0,0,.13);
  padding: 10px 0;
}
.top-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-header p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 30px;
}
.top-header-right { display: flex; align-items: center; }
.top-social { display: flex; align-items: center; }
.top-social li { margin: 0 14px; }
.top-social a { color: #999; font-size: 14px; }
.top-social a:hover { color: #4099ff; }
.book-btn {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 30px 10px 47px;
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 11px;
  position: relative;
  margin-left: 13px;
}
.book-btn span {
  font-family: "Lato", sans-serif;
  margin-right: 18px;
  font-size: 18px;
  position: absolute;
  left: 20px;
  top: 8px;
}
.book-btn:hover { background: var(--primary-hover); }

/* ===== MIDDLE HEADER ===== */
.middle-header {
  padding: 28px 0;
  background: linear-gradient(#fff, #f7fbff);
  position: relative;
}
.middle-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 18px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q30 10 60 30 T120 30 T180 30 T240 30 T300 30 T360 30 T420 30 T480 30 T540 30 T600 30 T660 30 T720 30 T780 30 T840 30 T900 30 T960 30 T1020 30 T1080 30 T1140 30 T1200 30' fill='none' stroke='%23d7ecf8' stroke-width='2'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: .9;
  pointer-events: none;
}
.middle-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  gap: 20px;
}
.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}
.logo-block img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}
.logo-text { line-height: 1.15; }
.logo-text strong {
  display: block;
  font-family: "Raleway", sans-serif;
  font-size: 26px;
  color: #1d2b36;
  letter-spacing: .4px;
}
.logo-text span {
  font-size: 12px;
  color: var(--primary-dark);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
}
.header-info { display: flex; align-items: center; gap: 50px; }
.info-item { display: flex; align-items: flex-start; gap: 12px; text-align: left; }
.info-item i {
  width: 42px; height: 42px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-top: 4px;
}
.info-item h3 {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin: 0 0 2px;
  letter-spacing: .4px;
}
.info-item p { margin: 0; color: #5a5c5d; font-size: 13px; }

/* ===== NAV ===== */
.site-nav {
  background: var(--primary);
  position: relative;
  z-index: 20;
}
.nav-inner { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  width: 100%;
  justify-content: center;
}
.nav-menu > li > a {
  display: block;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 18px 22px;
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  background: var(--primary-dark);
  color: #fff;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  padding: 12px 15px;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 520px;
  background-color: #eaf6fd;
  background-image:
    linear-gradient(90deg, #eaf6fd 0%, #eaf6fd 36%, rgba(234,246,253,.35) 52%, transparent 68%),
    url("../images/hero-doctor.jpg");
  background-repeat: no-repeat;
  background-position: left center, 88% center;
  background-size: auto, cover;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  background: linear-gradient(105deg, var(--primary) 0%, var(--primary) 48%, transparent 48.1%);
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 180px; }
.hero-content { max-width: 480px; color: #1d3344; }
.hero-content h1 {
  font-family: "Raleway", sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #163246;
  margin-bottom: 14px;
  line-height: 1.2;
}
.hero-content p {
  font-family: "Philosopher", serif;
  font-size: 16px;
  font-style: italic;
  color: #4a6272;
  margin-bottom: 26px;
  max-width: 420px;
}
.hero-shape {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 150px;
  z-index: 3;
  pointer-events: none;
}
.hero-shape .left-white {
  position: absolute; left: 0; bottom: 0; width: 52%; height: 100%;
  background: #fff;
  clip-path: polygon(0 55%, 100% 100%, 0 100%);
}
.hero-shape .left-blue {
  position: absolute; left: 0; bottom: 0; width: 54%; height: 110%;
  background: var(--primary-dark);
  clip-path: polygon(0 42%, 100% 100%, 0 100%);
  z-index: -1;
}
.hero-shape .right-white {
  position: absolute; right: 0; bottom: 0; width: 52%; height: 100%;
  background: #fff;
  clip-path: polygon(0 100%, 100% 48%, 100% 100%);
}
.hero-shape .right-blue {
  position: absolute; right: 0; bottom: 0; width: 54%; height: 110%;
  background: var(--primary);
  clip-path: polygon(0 100%, 100% 28%, 100% 100%);
  z-index: -1;
}

.info-strip {
  position: relative;
  z-index: 4;
  margin-top: -90px;
  margin-bottom: 20px;
}
.info-strip .row { align-items: stretch; }
.info-box {
  background: #fff;
  padding: 28px 22px 24px 78px;
  position: relative;
  min-height: 128px;
  box-shadow: 0 8px 24px rgba(15, 137, 209, .08);
}
.info-box:nth-child(even) { background: #f7fbfe; }
.info-box i {
  position: absolute;
  left: 22px; top: 30px;
  font-size: 28px;
  color: var(--primary);
}
.info-box h4 {
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.info-box p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.info-box ul { margin: 0; }
.info-box ul li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  line-height: 1.7;
}

/* ===== WELCOME / FORMS ===== */
.welcome-section { padding: 80px 0 50px; }
.welcome-copy h3,
.form-card h3,
.block-title {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 20px;
}
.welcome-copy p, .body-copy p { color: var(--text); line-height: 1.8; margin-bottom: 16px; }
.feature-mini { display: flex; gap: 14px; margin-bottom: 18px; }
.feature-mini i {
  width: 42px; height: 42px; flex: 0 0 42px;
  border: 1px solid #d9eaf5;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.feature-mini h5 {
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin: 0 0 4px;
}
.feature-mini p { margin: 0; font-size: 13px; color: var(--muted); }

.form-card {
  background: #fff;
  border: 1px solid #e6eef4;
  padding: 28px 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}
.form-card h3 { margin-bottom: 18px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #667;
  margin-bottom: 6px;
}
.form-control,
select.form-control,
textarea.form-control {
  width: 100%;
  border: 1px solid #e2e8ee;
  background: #fbfcfd;
  padding: 11px 12px;
  font-family: "PT Sans", sans-serif;
  font-size: 13px;
  color: #333;
  border-radius: 0;
  outline: none;
  transition: border-color .25s;
}
.form-control:focus { border-color: var(--primary); background: #fff; }
textarea.form-control { min-height: 110px; resize: vertical; }
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }
.form-error {
  display: none;
  color: #c0392b;
  font-size: 12px;
  margin-top: 4px;
}
.form-group.has-error .form-control { border-color: #e74c3c; }
.form-group.has-error .form-error { display: block; }
.form-success {
  display: none;
  background: #e8f7ee;
  border: 1px solid #b7e0c4;
  color: #1e7a3f;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
}
.form-success.show { display: block; }

/* ===== WHAT WE DO ===== */
.what-we-do {
  padding: 0 0 80px;
}
.what-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 520px;
  background: #f4f9fd;
}
.what-photo {
  background: #cfe8f8 center / cover no-repeat;
  min-height: 420px;
}
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #fff;
}
.wwd-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid #eef3f7;
  border-bottom: 1px solid #eef3f7;
}
.wwd-item i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 14px;
  display: block;
}
.wwd-item h5 {
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.wwd-item p { margin: 0; color: var(--muted); font-size: 13px; }
.wwd-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f7fbfe;
}
.wwd-center h3 {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cta-band {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 42px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/stethoscope.jpg") right center / cover no-repeat;
  opacity: .12;
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-band h3 {
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  text-transform: none;
  margin: 0;
  font-weight: 600;
}

/* ===== TEAM ===== */
.team-section { padding: 80px 0 50px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 860px;
  margin: 0 auto 28px;
}
.team-card { text-align: center; }
.team-card img {
  width: 100%;
  max-width: 240px;
  height: 280px;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 16px;
  background: #f4f7fa;
}
.team-card h6 {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  margin: 0 0 4px;
}
.team-card span { color: var(--primary); font-size: 13px; }
.view-all {
  display: inline-block;
  color: var(--primary);
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 10px;
}
.view-all i { margin-left: 6px; }

/* ===== WHY BEST + ACCORDION ===== */
.best-section { padding: 40px 0 70px; }
.best-item { display: flex; gap: 16px; margin-bottom: 22px; }
.best-item i {
  font-size: 28px;
  color: var(--primary);
  width: 40px;
  flex: 0 0 40px;
  margin-top: 4px;
}
.best-item h4 {
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.best-item p { margin: 0; color: var(--muted); font-size: 13px; }

.accordion { border: none; }
.acc-item { margin-bottom: 8px; background: #fff; }
.acc-btn {
  width: 100%;
  text-align: left;
  background: #e9f4fb;
  border: 0;
  padding: 14px 18px;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #2c3e50;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.acc-item.open .acc-btn,
.acc-btn.active {
  background: var(--primary);
  color: #fff;
}
.acc-item.open .acc-btn i:before { content: "\f068"; }
.acc-panel { display: none; padding: 18px; background: #f7fbfe; }
.acc-item.open .acc-panel { display: block; }
.acc-panel img {
  width: 92px; height: 72px; object-fit: cover; float: left; margin: 0 14px 8px 0;
}
.acc-panel p { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.acc-panel::after { content: ""; display: block; clear: both; }

/* ===== STATS ===== */
.stats-band {
  background: linear-gradient(100deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 55px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: center;
}
.stats-copy h3 {
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 18px;
}
.stats-copy p { color: rgba(255,255,255,.9); margin-bottom: 18px; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.stat-box {
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.25);
}
.stat-box i { font-size: 22px; display: block; margin-bottom: 8px; }
.stat-box strong {
  display: block;
  font-family: "Raleway", sans-serif;
  font-size: 28px;
  font-weight: 700;
}
.stat-box span {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .9;
}

/* ===== NEWS CARDS ===== */
.news-section { padding: 80px 0 40px; }
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.news-card { background: #fff; }
.news-card .thumb {
  position: relative;
  overflow: hidden;
}
.news-card .thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.news-meta {
  background: var(--primary);
  color: #fff;
  padding: 22px 24px 28px;
  min-height: 210px;
}
.news-meta .meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  margin-bottom: 14px;
  opacity: .95;
}
.news-meta .meta-links a { color: #fff; }
.news-meta h3 {
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 10px;
}
.news-meta h3 a { color: #fff; }
.news-meta p { color: rgba(255,255,255,.92); font-size: 13px; margin-bottom: 8px; }
.news-meta .byline { font-size: 12px; opacity: .85; }

/* ===== PAGE BANNER ===== */
.page-banner {
  position: relative;
  height: 350px;
  background: #123 center / cover no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.page-banner .container {
  position: relative;
  z-index: 2;
  padding-top: 88px;
}
.page-banner h1,
.page-banner h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 38px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
  padding-bottom: 16px;
  position: relative;
}
.page-banner h1::after,
.page-banner h3::after {
  content: "";
  position: absolute;
  width: 40px; height: 3px;
  background: var(--accent);
  left: 0; right: 0; bottom: 0; margin: 0 auto;
}
.page-banner p {
  font-size: 15px;
  letter-spacing: .4px;
  max-width: 640px;
  margin: 0 auto 16px;
  position: relative;
  z-index: 3;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.breadcrumb li { color: #fff; }
.breadcrumb li + li::before {
  content: "\f105";
  font-family: FontAwesome;
  margin: 0 8px;
}
.breadcrumb a { color: #fff; }
.banner-shape {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 150px;
  z-index: 1;
}
.shape-left, .shape-right { position: absolute; top: 0; bottom: 0; width: 50%; }
.shape-left { left: 0; }
.shape-right { right: 0; }
.left-shape {
  position: absolute; inset: 6px 0 0;
  background: #fff;
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
  z-index: 4;
}
.left-shape-blue {
  position: absolute; inset: 0;
  background: var(--primary-dark);
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
}
.right-shape {
  position: absolute; inset: 6px 0 0;
  background: #fff;
  clip-path: polygon(0% 100%, 100% 100%, 100% 0%);
  z-index: 4;
}
.right-shape-blue {
  position: absolute; inset: 0;
  background: var(--primary);
  clip-path: polygon(0% 84%, 0% 100%, 100% 100%, 100% 0%);
}

.about-banner { background-image: url("../images/banner-about.jpg"); }
.services-banner { background-image: url("../images/banner-services.jpg"); }
.team-banner { background-image: url("../images/banner-team.jpg"); }
.departments-banner { background-image: url("../images/consult.jpg"); }
.blog-banner { background-image: url("../images/banner-blog.jpg"); }
.contact-banner { background-image: url("../images/banner-contact.jpg"); }
.faq-banner { background-image: url("../images/stethoscope.jpg"); }
.appointment-banner { background-image: url("../images/senior-checkup.jpg"); }
.legal-banner { background-image: url("../images/medical-tablet.jpg"); }

/* ===== INNER CONTENT HELPERS ===== */
.who-we-are { padding: 40px 0 20px; text-align: center; }
.who-photo {
  max-width: 760px;
  margin: 24px auto 0;
}
.who-photo img { width: 100%; object-fit: cover; max-height: 380px; object-position: top; }

.icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
}
.icon-grid .feature-mini { margin: 0; }

.dept-mosaic {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  min-height: 520px;
}
.dept-photo { min-height: 480px; background: center / cover no-repeat; }
.dept-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #f7fafc;
}
.dept-tile {
  padding: 32px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid #eef3f7;
}
.dept-tile.feature {
  background: #f7fbfe;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dept-tile i { font-size: 30px; color: var(--primary); margin-bottom: 10px; }
.dept-tile h5 {
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.dept-tile p { margin: 0; color: var(--muted); font-size: 13px; }

.hours-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.hour-box {
  padding: 36px 24px;
  color: #fff;
}
.hour-box h4 {
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hour-box p, .hour-box li { color: rgba(255,255,255,.92); font-size: 13px; margin: 0 0 8px; }
.hour-box a { color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .8px; }
.hour-box:nth-child(1) { background: var(--primary-dark); }
.hour-box:nth-child(2) { background: var(--primary); }
.hour-box:nth-child(3) { background: #f4f8fb; color: #333; }
.hour-box:nth-child(3) h4, .hour-box:nth-child(4) h4 { color: var(--primary-dark); }
.hour-box:nth-child(3) p, .hour-box:nth-child(3) li { color: var(--text); }
.hour-box:nth-child(4) { background: #fff; }
.hour-box:nth-child(4) p, .hour-box:nth-child(4) li { color: var(--text); }

.contact-icons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin: 20px 0 50px;
}
.contact-icon-box {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.contact-icon-box i {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 14px;
}
.contact-icon-box h4 {
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.contact-icon-box p { margin: 0; color: var(--muted); }

.blog-layout {
  display: grid;
  grid-template-columns: 1.7fr .9fr;
  gap: 40px;
}
.blog-list .news-card { margin-bottom: 36px; }
.sidebar-widget {
  background: #fff;
  border: 1px solid #eef2f6;
  padding: 22px;
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.search-row { display: flex; }
.search-row .form-group { flex: 1; margin: 0; }
.search-row input { flex: 1; width: 100%; }
.search-row button {
  width: 46px;
  background: var(--primary);
  color: #fff;
  border: 0;
  cursor: pointer;
}
.cat-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #e6e6e6;
  color: var(--muted);
  font-size: 13px;
}
.cat-list a { color: #444; }
.recent-post {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.recent-post img { width: 70px; height: 58px; object-fit: cover; flex: 0 0 70px; }
.recent-post h5 { font-size: 13px; margin: 0 0 4px; line-height: 1.4; }
.recent-post h5 a { color: #333; }
.recent-post span { font-size: 12px; color: var(--muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  border: 1px solid #e3e8ee;
  padding: 6px 10px;
  font-size: 12px;
  color: #666;
}
.tag-cloud a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination { display: flex; gap: 8px; margin-top: 10px; }
.pagination a, .pagination span {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #e3e8ee;
  color: #555;
}
.pagination .active, .pagination a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.article-body h2, .article-body h3 {
  font-family: "Raleway", sans-serif;
  margin: 28px 0 12px;
  font-size: 20px;
}
.article-body p { color: var(--text); margin-bottom: 16px; line-height: 1.85; }
.article-body ul, .legal-content ul { margin: 0 0 18px 18px; list-style: disc; }
.article-body li, .legal-content li { margin-bottom: 8px; color: var(--text); }
.author-box {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: #f7fbfe;
  margin: 30px 0;
}
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.comment { display: flex; gap: 14px; margin-bottom: 22px; }
.comment img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.comment h5 { margin: 0 0 4px; font-size: 14px; }

.faq-list .acc-item { margin-bottom: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text);
}
.legal-content h2 {
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  margin: 32px 0 12px;
  color: #1d2b36;
}
.legal-content h3 {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  margin: 22px 0 10px;
}
.legal-content p { margin-bottom: 14px; line-height: 1.85; }

.testimonial {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}
.testimonial p {
  font-size: 16px;
  font-style: italic;
  color: #4a5560;
}
.testimonial h4 {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  margin: 0;
}
.testimonial span { color: var(--primary); font-size: 13px; }

.rich-list { margin: 0 0 18px; }
.rich-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--text);
}
.rich-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== FOOTER ===== */
.footer-main {
  background: var(--footer);
  margin-top: 70px;
}
.contact-details {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: -50px;
  margin-bottom: 50px;
  position: relative;
}
.contact-details::before,
.contact-details::after {
  content: "";
  position: absolute;
  top: 0;
  border-bottom: 50px solid var(--primary-deep);
}
.contact-details::before { border-left: 18px solid transparent; left: -18px; }
.contact-details::after { border-right: 18px solid transparent; right: -18px; }
.detail-box {
  padding: 28px 18px 28px 88px;
  background: var(--primary);
  color: #fff;
  position: relative;
  min-height: 110px;
}
.detail-box.mid { background: var(--primary-mid); }
.detail-box.mail { background: var(--primary-dark); }
.detail-box i {
  width: 56px; height: 100%;
  position: absolute;
  left: 0; top: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-mid);
  font-size: 22px;
}
.detail-box.mid i { background: var(--primary-dark); }
.detail-box.mail i { background: var(--primary-deeper); }
.detail-box h4 {
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}
.detail-box p, .detail-box a { color: #fff; font-size: 13px; margin: 0; line-height: 1.5; }

.footer-widgets {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 20px;
}
.footer-main .widget { color: var(--muted-2); }
.widget-about .logo-block { margin-bottom: 22px; }
.widget-about .logo-text strong { color: #fff; font-size: 22px; }
.widget-about p { line-height: 24px; margin-bottom: 0; }
.time-schedule { padding-top: 28px; max-width: 280px; }
.time-schedule p {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--footer-line);
  margin-bottom: 16px;
  line-height: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.widget-title {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  color: #ccc;
  font-size: 14px;
  text-transform: uppercase;
  padding-bottom: 14px;
  position: relative;
  margin: 18px 0 22px;
}
.widget-title::before {
  content: "";
  width: 20px; height: 2px;
  left: 0; bottom: 0;
  position: absolute;
  background: var(--primary);
}
.widget-links ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.widget-links li { margin-bottom: 16px; }
.widget-links a {
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: .4px;
}
.widget-links a::before {
  content: "\f105";
  font-family: FontAwesome;
  margin-right: 8px;
  font-size: 14px;
}
.widget-links a:hover { color: #fff; }
.newsletter-box { position: relative; margin: 18px 0 28px; }
.newsletter-box .form-group { margin: 0; }
.newsletter-box .form-success { margin-bottom: 10px; }
.newsletter-box input {
  width: 100%;
  background: #1a1f22;
  border: 1px solid rgba(140,140,140,.12);
  padding: 16px 78px 16px 15px;
  color: #ddd;
  font-size: 13px;
}
.newsletter-box button {
  position: absolute;
  right: 0; top: 0;
  width: 70px; height: 50px;
  background: var(--primary-dark);
  border: 0;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.social-label {
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--muted-2);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 32px; height: 32px;
  border: 2px solid #9a9a9c;
  color: #b1b1b2;
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: #fff; color: #2d3741; }

.bottom-footer {
  background: var(--footer-bottom);
  padding: 24px 0;
  margin-top: 50px;
  text-align: center;
}
.bottom-footer p {
  margin: 0 0 10px;
  color: #555;
  text-transform: capitalize;
  font-size: 12px;
  font-weight: 600;
  font-family: "Raleway", sans-serif;
}
.legal-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; }
.legal-links a {
  color: #777;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
}
.legal-links a:hover { color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (min-width: 1200px) {
  .container { width: 1170px; }
}

@media (max-width: 1199px) {
  .hero-content h1 { font-size: 32px; }
  .nav-menu > li > a { padding: 18px 12px; font-size: 12px; }
}

.team-grid.four { grid-template-columns: repeat(4, 1fr); max-width: 1100px; }

@media (max-width: 991px) {
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9 { width: 100%; }
  .team-grid.four { grid-template-columns: 1fr 1fr; }
  .top-header-inner, .middle-inner { flex-direction: column; text-align: center; }
  .header-info { flex-direction: column; gap: 16px; }
  .info-item { justify-content: center; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-menu {
    display: none;
    flex-direction: column;
    background: var(--primary-dark);
  }
  .nav-menu.open { display: flex; }
  .hero { background-position: 70% center; min-height: 440px; }
  .hero .container { padding-top: 60px; padding-bottom: 140px; }
  .info-box { margin-bottom: 12px; }
  .what-split, .dept-mosaic, .blog-layout, .stats-inner, .hours-row,
  .footer-widgets, .contact-details, .contact-icons, .news-grid, .team-grid,
  .what-grid, .dept-tiles { grid-template-columns: 1fr; }
  .team-grid.four { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .form-row { flex-direction: column; }
  .page-banner { height: 300px; }
  .page-banner .container { padding-top: 60px; }
  .banner-shape { height: 90px; }
  .contact-details::before, .contact-details::after { display: none; }
}

@media (max-width: 767px) {
  .hero-content h1 { font-size: 26px; }
  .page-banner h1, .page-banner h3 { font-size: 26px; }
  .stats-grid { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: 1fr; }
  .book-btn { margin: 8px 0 0; }
  .top-header-right { flex-direction: column; }
  .info-strip { margin-top: -40px; }
  .section-padding { padding: 50px 0; }
}
